I have a usb storage device (a casio digital camera).  When I plug the
camera into my (just updated) cooker box, everything right seems to
happen except that I don't get actual device nodes for the partitions
(or the "whole disc" device) under /dev/scsi/....

Here is what my messages log showed when I plugged the device into the
usb port:

Sep 22 17:50:54 pc kernel: hub.c: USB new device connect on bus1/2, assigned device 
number 2
Sep 22 17:50:54 pc kernel: usb.c: USB device 2 (vend/prod 0x7cf/0x1001) is not claimed 
by any active driver.
Sep 22 17:50:54 pc /sbin/hotplug: arguments (usb) env (PWD=/etc/hotplug HOSTNAME=pc 
DEVICE=/proc/bus/usb/001/002 INTERFACE=8/6/0 ACTION=add DEBUG=yes 
MACHTYPE=i586-mandrake-linux-gnu OLDPWD=/ DEVFS=/proc/bus/usb TYPE=0/0/0 SHLVL=1 
SHELL=/bin/bash HOSTTYPE=i586 OSTYPE=linux-gnu HOME=/ TERM=dumb 
PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=7cf/1001/9009 _=/usr/bin/env)
Sep 22 17:50:54 pc /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
Sep 22 17:50:54 pc /etc/hotplug/usb.agent: Modprobe and setup usb-storage for USB 
product 7cf/1001/9009
Sep 22 17:50:54 pc kernel: Initializing USB Mass Storage driver...
Sep 22 17:50:54 pc kernel: usb.c: registered new driver usb-storage
Sep 22 17:50:54 pc kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Sep 22 17:50:54 pc kernel:   Vendor: Casio     Model: QV DigitalCamera Rev: 9009
Sep 22 17:50:54 pc kernel:   Type:   Direct-Access ANSI SCSI revision: 02
Sep 22 17:50:54 pc kernel: USB Mass Storage support registered.

The third line is in there because I enabled DEBUG in /sbin/hotplug.

Notice also:

[brian@pc brian]$ find /dev/scsi
/dev/scsi
/dev/scsi/host0
/dev/scsi/host0/bus0
/dev/scsi/host0/bus0/target0
/dev/scsi/host0/bus0/target0/lun0
/dev/scsi/host0/bus0/target0/lun0/cd
/dev/scsi/host1
/dev/scsi/host1/bus0
/dev/scsi/host1/bus0/target0
/dev/scsi/host1/bus0/target0/lun0

The /dev/scsi/host1 entries appeared after the device was plugged in.
There are no "disc" or "part..." entries however.  This is my problem.
I cannot mount partitions on the usb storage device without those
nodes.

I am booting with kernel options:

auto BOOT_IMAGE=linux ro root=2108 hda=ide-scsi devfs=mount

Any ideas?

b.

BTW:  Mounting partitions from this device has most definately worked
in the past.  I cannot poinpoint exactly where it went awry however.


-- 
Brian J. Murrell

Reply via email to