Subject: Re: Nikon D70
To: Todd Vierling <tv@duh.org>
From: Jukka Marin <jmarin@embedtronics.fi>
List: netbsd-users
Date: 07/22/2004 10:01:16
On Wed, Jul 21, 2004 at 02:31:50PM -0400, Todd Vierling wrote:
> On Wed, 21 Jul 2004, Jukka Marin wrote:
> 
> > Mine, too.. :-I  The dd trick didn't help.  With 1024 MB physical RAM and
> > 16 GB swap, you don't expect to see "no buffer memory" :-I
> 
> Perhaps temporarily changing the definition of UMASS_MAX_TRANSFER_SIZE in
> src/sys/usb/umass/umassvar.h and recompiling the kernel will help.  It's
> currently set to MAXPHYS (64k on i386); try 4096 instead (exactly one page)
> and see what happens.

Unfortunately, this doesn't seem to work:

root@pyy ~ # mount /sd
mount_msdos: /dev/sd0e on /sd: Input/output error

Jul 22 09:58:01 pyy /netbsd: sd0 at scsibus1 target 0 lun 0: <NIKON, D70, 1.02> disk removable
Jul 22 09:58:01 pyy /netbsd: sd0: fabricating a geometry
Jul 22 09:58:01 pyy /netbsd: sd0: 488 MB, 488 cyl, 64 head, 32 sec, 512 bytes/sect x 1000945 sectors
Jul 22 09:59:27 pyy /netbsd: sd0: fabricating a geometry
Jul 22 09:59:27 pyy /netbsd: umass_cmd: large datalen, 65536
Jul 22 09:59:27 pyy /netbsd: sd0(umass0:0:0:0): generic HBA error

*sigh*

  -jm