How to determine which /dev/sd* for my digital camera

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Josef Lowder
Date:  
Subject: How to determine which /dev/sd* for my digital camera
Previously, I wrote:
> > I am attempting to connect a digital camera (Toshiba PDR-3310)
> > via USB slot 1, but cannot successfully mount it.
> > What else should I try ...


---------------------------------------------------------------------
Below are all the results of things der.hans suggested that I try.
---------------------------------------------------------------------

On Sunday 17 August 2003 12:51, der.hans wrote:
>
> cat /proc/scsi/scsi
>
> Send in the results from that.
>
> Look in /proc/bus/usb and try lsusb.
>
> Use lsmod to see if you have usb-storage loaded. If not use 'modprobe
> usb-storage' to load it, then use dmesg to look at the output messages
> from loading usb-storage.
>
> ciao,
> der.hans


------------------------------------------------------------
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SONY     Model: CD-RW  CRX140E   Rev: 1.0n
  Type:   CD-ROM                           ANSI SCSI revision: 02
#
------------------------------------------------------------
# modprobe usb-storage
#    (no response) 
------------------------------------------------------------
# lsmod
Module                  Size  Used by
sg                     28624   0  (autoclean)
sd_mod                 11792   0  (autoclean) (unused)
irtty                   6000   0  (unused)
irda                   93568   0  [irtty]
isofs                  18496   0  (autoclean)
sr_mod                 14912   0  (autoclean)
ppp_deflate            42208   0  (autoclean)
bsd_comp                4576   0  (autoclean)
ppp_async               6672   1  (autoclean)
ppp_generic            19616   3  (autoclean) [ppp_deflate bsd_comp 
ppp_async]
slhc                    5136   0  (autoclean) [ppp_generic]
Mvnetd                  9572   0  (unused)
Mvnet                  55648   0  [Mvnetd]
Mvnetint                 320   0  (unused)
Mvw                     4628   1  (unused)
Mvmouse                  776   1  (unused)
Mvkbd                    928   1  (unused)
Mvgic                   3224   0  (unused)
Mvdsp                    976   1  (unused)
Mserial                 6740   0  (unused)
Mmpip                   7124   2  (unused)
Mmerge                134388   0  [Mvnetd Mvnet Mvw Mvmouse Mvkbd Mvgic 
Mvdsp Mserial Mmpip]
mki-adapter            21968   0  [Mvnetd Mvnet Mvnetint Mvw Mvmouse Mvkbd 
Mvgic Mvdsp Mserial Mmpip Mmerge]
via82cxxx_audio        17104   1
uart401                 6352   0  [via82cxxx_audio]
ac97_codec              9312   0  [via82cxxx_audio]
sound                  58400   0  [via82cxxx_audio uart401]
soundcore               4208   4  [via82cxxx_audio sound]
lp                      5808   0
parport_pc             20240   1
parport                24768   1  [lp parport_pc]
af_packet              12560   0  (autoclean)
usb-storage            52528   0
usb-uhci               21232   0  (unused)
usbcore                50752   1  [usb-storage usb-uhci]
8139too                12704   0  (autoclean) (unused)
nls_iso8859-1           2880   1  (autoclean)
nls_cp437               4400   1  (autoclean)
vfat                    9968   1  (autoclean)
fat                    32192   0  (autoclean) [vfat]
ide-scsi                8096   0
scsi_mod               91072   5  [sg sd_mod sr_mod usb-storage ide-scsi]
rtc                     5600   0  (autoclean)
#
------------------------------------------------------------
# dmesg
Linux version 2.4.8-26mdk () (gcc version 2.96 
20000731 (Mandrake Linux 8.1 2.96-0.62mdk)) #1 Tue Mar 5 11:59:33 EST 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ec000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=win4lin ro root=341 devfs=nomount 
hdc=ide-scsi quiet
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 751.725 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1500.77 BogoMIPS
Memory: 254784k/262080k available (1091k kernel code, 6908k reserved, 436k 
data, 712k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0183f9ff c1c7f9ff 00000000, vendor = 2
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After vendor init, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU:     After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU:             Common caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: AMD Athlon(tm) Processor stepping 01
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ()
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfdb71, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PnP: PNP BIOS installation structure at 0xc00f71c0
PnP: PNP BIOS version 1.0, entry at f0000:6004, dseg at f0000
PnP: 13 devices detected total
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)
Starting kswapd v1.8
VFS: Diskquotas version dquot_6.5.0 initialized
devfs: v0.115 (20010827) Richard Gooch ()
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT 
SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
block: queued sectors max/low 169040kB/56346kB, 512 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 5T040H4, ATA DISK drive
hdb: Maxtor 5T030H3, ATA DISK drive
hdc: SONY CD-RW CRX140E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 80043264 sectors (40982 MB) w/2048KiB Cache, CHS=4982/255/63, UDMA(66)
hdb: 60030432 sectors (30736 MB) w/2048KiB Cache, CHS=3736/255/63, UDMA(66)
ide-floppy driver 0.97
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1
 /dev/ide/host0/bus0/target1/lun0: p1 p2 < p5 p6 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ide-floppy driver 0.97
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 712k freed
Real Time Clock Driver v1.10d
Adding Swap: 248968k swap-space (priority -1)
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: SONY      Model: CD-RW  CRX140E    Rev: 1.0n
  Type:   CD-ROM                             ANSI SCSI revision: 02
8139too Fast Ethernet driver 0.9.18a
PCI: Found IRQ 5 for device 00:09.0
eth0: RealTek RTL8139 Fast Ethernet at 0xd0857f00, 00:48:54:1f:55:e4, IRQ 5
eth0:  Identified 8139 chip type 'RTL-8139C'
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.259 $ time 17:30:17 Sep 23 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 9 for device 00:07.3
PCI: Sharing IRQ 9 with 00:07.2
usb-uhci.c: USB UHCI at I/O 0xc000, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:07.2
PCI: Sharing IRQ 9 with 00:07.3
usb-uhci.c: USB UHCI at I/O 0xbc00, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
hub.c: USB new device connect on bus2/2, assigned device number 2
usb.c: USB device 2 (vend/prod 0x482/0x100) is not claimed by any active 
driver.Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
PnPBIOS: Parport found PNPBIOS PNP0401 at io=0378,0778 irq=7 dma=3
0x378: FIFO is 16 bytes
0x378: writeIntrThreshold is 8
0x378: readIntrThreshold is 8
0x378: PWord is 8 bits
0x378: Interrupts are ISA-Pulses
0x378: ECP port cfgA=0x10 cfgB=0x00
0x378: ECP settings irq=<none or set by other means> dma=<none or set by 
other means>
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
parport0: cpp_mux: aa55f00f52ad51(80)
parport0: cpp_daisy: aa5500ff(80)
parport0: assign_addrs: aa5500ff(80)
parport0: cpp_mux: aa55f00f52ad51(80)
parport0: cpp_daisy: aa5500ff(80)
parport0: assign_addrs: aa5500ff(80)
parport_pc: Strange, can't probe Via 686A parallel port: io=0x378, irq=-1, 
dma=-1
PnPBIOS: Parport found PNPBIOS PNP0401 at io=0378,0778 irq=7 dma=3
0x378: FIFO is 16 bytes
0x378: writeIntrThreshold is 8
0x378: readIntrThreshold is 8
0x378: PWord is 8 bits
0x378: Interrupts are ISA-Pulses
0x378: ECP port cfgA=0x10 cfgB=0x00
0x378: ECP settings irq=<none or set by other means> dma=<none or set by 
other means>
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
parport0: cpp_mux: aa55f00f52ad51(80)
parport0: cpp_daisy: aa5500ff(80)
parport0: assign_addrs: aa5500ff(80)
parport0: cpp_mux: aa55f00f52ad51(80)
parport0: cpp_daisy: aa5500ff(80)
parport0: assign_addrs: aa5500ff(80)
parport_pc: Strange, can't probe Via 686A parallel port: io=0x378, irq=-1, 
dma=-1
lp0: using parport0 (interrupt-driven).
Via 686a audio driver 1.1.14b
PCI: Found IRQ 10 for device 00:07.5
PCI: Sharing IRQ 10 with 00:07.6
via82cxxx: Codec rate locked at 48Khz
ac97_codec: AC97 Audio codec, id: 0x8384:0x7600 (SigmaTel STAC????)
via82cxxx: board #1 at 0xCC00, IRQ 10
win4lin: mki_version 3, num_cpus 1, pae 0
win4Lin: preempt_enable 0x00000000
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.1
PPP BSD Compression module registered
PPP Deflate Compression module registered
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
cdrom: open failed.
cdrom: open failed.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
usb.c: USB disconnect on device 2
hub.c: Cannot enable port 2 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/2, assigned device number 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb.c: USB disconnect on device 3
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
hub.c: Cannot enable port 2 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/2, assigned device number 4
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
via_audio: ignoring drain playback error -11
cdrom: open failed.
cdrom: open failed.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
usb.c: USB disconnect on device 4
hub.c: Cannot enable port 2 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/2, assigned device number 5
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 5
usb.c: USB disconnect on device 5
hub.c: Cannot enable port 2 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: Cannot enable port 2 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/2, assigned device number 6
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 6
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
usb.c: USB disconnect on device 6
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/1, assigned device number 7
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 7
usb.c: USB disconnect on device 7
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/1, assigned device number 8
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 8
usb.c: USB disconnect on device 8
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/1, assigned device number 9
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 9
usb.c: USB disconnect on device 9
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/1, assigned device number 10
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 10
usb.c: USB disconnect on device 10
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/1, assigned device number 11
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 11
usb.c: USB disconnect on device 11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/1, assigned device number 12
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 12
usb.c: USB disconnect on device 12
via_audio: ignoring drain playback error -11
lp0 off-line
DMA write timed out
parport0: FIFO is stuck
parport0: BUSY timeout (1) in compat_write_block_pio
hub.c: Cannot enable port 1 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
hub.c: USB new device connect on bus2/1, assigned device number 13
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 13
#
------------------------------------------------------------


== END OF MESSAGE ==