Subject: Re: [New to NetBSD] USB mass-storage hotplug?
To: Jukka Salmi <j+nbsd@2005.salmi.ch>
From: Carl Brewer <carl@bl.echidna.id.au>
List: netbsd-users
Date: 07/14/2005 12:04:11
Carl Brewer wrote:
> Jukka Salmi wrote:
>
>> Carl Brewer --> netbsd-users (2005-06-30 13:28:05 +1000):
>>
>>> Except maybe patch the kernel! umass has known problems
>>> with removable storage (it's broken in 2.0.2 at least)
>>> that AFAIK (please tell me someone has fixed it!) means
>>> that after a "while" you can't mount removable disks, due to :
>>>
>>> umass0: using SCSI over Bulk-Only
>>> umass0: no buffer memory
>>>
>>> which seems to happen after a while (days? hours? I'm not
>>> sure yet)
>>
>>
>>
>> AFAICT this is fixed for HEAD, netbsd-3 and netbsd-2, but not for
>> netbsd-2-0. Search for USB_MEM_RESERVE.
>
>
> I pulled my kernel up to the netbsd-2 version, and will report back
> with how it goes
So far so good - I'm seeing this every time it mounts :
sd0: fabricating a geometry
/dev/sd0a: file system not clean (fs_clean=40); please fsck(8)
/dev/sd0a: lost blocks 0 files 0
I remount it daily on a moderatly busy LAN/mail server to do
dumps and misc backups to it.
It seems to be working just fine anyway:
/dev/sd0a 145G 41G 103G 28% /mnt/usbdrive
This is with 2.0_STABLE NetBSD 2.0_STABLE (GENERIC) (pulled up
using cvs up -Pd -r netbsd-2)
Carl