Subject: Re: CF-IDE adapter
To: None <netbsd-users@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: netbsd-users
Date: 02/24/2005 15:26:40
On Thursday 24 February 2005 09:52, Steven M. Bellovin wrote:
> A friend just pointed me at
> http://www.shopaddonics.com/itemdesc.asp?ic=ADIDECF I wonder if it would be
> possible to hot-swap the CF card on NetBSD.
Mmm.. through ATA interface? I guess this is a tricky thing.
One i can ack is USB-CompactFlash adapters work very well on NetBSD. I'm
flashing CF cards on "8 in 1" Apacer MG820 adapter without any problems. Of
course no problems with card hot-swap too.
By the way:
$ dmesg
umass0 at uhub3 port 2 configuration 1 interface 0
umass0: Genesys Logic USB2.0 card Reader, rev 2.00/91.44, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 5 luns per target
sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 9144> disk removable
sd0: drive offline
sd1 at scsibus0 target 0 lun 1: <Generic, STORAGE DEVICE, 9144> disk removable
sd1: drive offline
sd2 at scsibus0 target 0 lun 2: <Generic, STORAGE DEVICE, 9144> disk removable
sd2: drive offline
sd3 at scsibus0 target 0 lun 3: <Generic, STORAGE DEVICE, 9144> disk removable
sd3: drive offline
sd4 at scsibus0 target 0 lun 4: <Generic, STORAGE DEVICE, 9144> disk removable
sd4: drive offline
$ ls -l /dev/sd*d
brw-r----- 1 root operator 4, 3 Jan 28 13:37 /dev/sd0d
brw-r----- 1 root operator 4, 11 Jan 20 2004 /dev/sd1d
brw-r----- 1 root operator 4, 19 Jan 20 2004 /dev/sd2d
brw-r----- 1 root operator 4, 27 Jan 20 2004 /dev/sd3d
brw-r----- 1 root operator 4, 35 Jan 20 2004 /dev/sd4d
-> so if i connect two adapters at the same time [my case] default system
installation goes out of /dev/sd* entries.
// wbr