Subject: Re: panic for umass0/scsibus/sd
To: Wolfgang Rupprecht <wolfgang+gnus20020926T163639@wsrcc.com>
From: Thomas Runge <coto@core.de>
List: current-users
Date: 09/27/2002 21:59:05
On 26 Sep 2002, Wolfgang Rupprecht wrote:
> I just got another panic when I tried to plug a Nikon 995 (usb, umass,
> scsibus, sd) into a current i386 kernel. Of note is that the machine
> doesn't normally have any scsi's of any sort in it. When I plugged
> the camera into the usb I got the first lines of the kprintf where the
> umass is identified. The next scsibus0 and sd0 lines never occurred.
fietje ~> umass0 at uhub1 port 1 configuration 1 interface 0
umass0: PQI Travel Flash, rev 1.10/2.05, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 3 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <General, Flash Disk Drive, 2.05> SCSI2 0/direct
removable
sd0: could not mode sense (4/5); using fictitious geometry
sd0: 122 MB, 122 cyl, 64 head, 32 sec, 512 bytes/sect x 250880 sectors
sd1 at scsibus0 target 1 lun 1: <General, Flash Disk Drive, 2.05> SCSI2 0/direct
removable
sd1: could not mode sense (4/5); using fictitious geometry
sd1(umass0:0:1:1): not ready, data = 00 00 00 00 3a 00 00 00 00 00 00 00
sd1(umass0:0:1:1): could not get size
sd1: 0, 0 cyl, 64 head, 32 sec, 512 bytes/sect x 0 sectors
sd2 at scsibus0 target 1 lun 2: <General, Flash Disk Drive, 2.05> SCSI2 0/direct
removable
sd2: could not mode sense (4/5); using fictitious geometry
sd2(umass0:0:1:2): not ready, data = 00 00 00 00 3a 00 00 00 00 00 00 00
sd2(umass0:0:1:2): could not get size
sd2: 0, 0 cyl, 64 head, 32 sec, 512 bytes/sect x 0 sectors
fietje ~> su
Password:
fietje# mount_msdos /dev/sd0e /mnt
sd0: could not mode sense (4/5); using fictitious geometry
sd0: no disk label
fietje# cp /mnt/dcim/186canon/^D
img_8601.jpg* img_8604.jpg* img_8607.jpg* img_8610.jpg* img_8613.jpg*
img_8602.jpg* img_8605.jpg* img_8608.jpg* img_8611.jpg* img_8614.jpg*
img_8603.jpg* img_8606.jpg* img_8609.jpg* img_8612.jpg*
fietje# cp /mnt/dcim/186canon/img_8601.jpg ~
fietje# umount /mnt
fietje# umass0: at uhub1 port 1 (addr 3) disconnected
sd0 detached
sd1 detached
sd2 detached
scsibus0 detached
umass0 detached
fietje#exit
fietje ~> uname -a
NetBSD fietje 1.6 NetBSD 1.6 (FIETJE) #1: Thu Sep 19 00:18:30 CEST 2002 root@fietje:/usr/src/sys/arch/i386/compile/FIETJE i386
fietje ~>
So, this is a PQI TravelFlash equipped with a CompactFlash card from
my PowerShot Pro90IS. Just plug in, mount, copy, unmount, remove.
Works like a charm for me.
In contrast to gphoto2, which does not detect my camera :-(
Kernel config:
# USB Mass Storage
umass* at uhub? port ? configuration ? interface ?
scsibus* at umass? channel ?
sd* at scsibus? target ? lun ?
--
Tom