I got a problem after upgrading to kernel 2.6.0 from 2.4.22 mounting my
digicam via USB as a mass storage device.
I have to say this works when I boot the system with 2.4.22. I also can say
that the USB bus system basicly works. E.g. my USB mouse works fine, I also
can mount an USB memory stick.
Only this digicam does not mount any more. Hotplug detects the device. All
modules load without any error. The SCSI emulation reports the device without
any problems.
But, when I start the command
mount -t vfat /dev/sda1 /mnt
I always get the error message
mount: No medium found
I searched a long time for some similar problems on the web, but unfortunately
without success. It`s escpecially a strange thing since I do not get any
error message in the log files.
Any help would be greatly appreciated.
Reinhold
Attached you`ll find all relevant log messages.
Mount device:
=============
io:/home/e1l52# LANG=C mount -t vfat /dev/sda1 /mnt
mount: No medium found
/var/log/messages:
==================
Dec 22 22:55:39 io kernel: hub 3-0:1.0: new USB device on port 2, assigned address 3
Dec 22 22:55:40 io kernel: Initializing USB Mass Storage driver...
Dec 22 22:55:40 io kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Dec 22 22:55:40 io scsi.agent[2014]: how to add device type= at
/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host0/0:0:0:0 ??
Dec 22 22:55:40 io kernel: Vendor: LEICA Model: Digilux 1 Rev: 0050
Dec 22 22:55:40 io kernel: Type: Direct-Access ANSI SCSI
revision: 02
Dec 22 22:55:40 io kernel: drivers/usb/core/usb.c: registered new driver usb-storage
Dec 22 22:55:40 io kernel: USB Mass Storage support registered.
Dec 22 22:56:12 io kernel: SCSI device sda: 494081 512-byte hdwr sectors (253 MB)
Dec 22 22:56:12 io kernel: sda: Write Protect is off
Dec 22 22:56:12 io kernel: sda:<7>usb-storage: queuecommand called
Dec 22 22:56:12 io kernel: sda1
Dec 22 22:56:12 io kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0,
lun 0
lspci:
======
io:/home/e1l52# lspci -v
00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 03)
Flags: bus master, fast devsel, latency 0
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] #09 [f104]
Capabilities: [a0] AGP version 2.0
00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 03) (prog-if
00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 32
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fc000000-fdffffff
Prefetchable memory behind bridge: f0000000-f3ffffff
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at bf80 [size=32]
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at bf40 [size=32]
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at bf20 [size=32]
00:1d.7 USB Controller: Intel Corp. 82801DB USB2 (rev 01) (prog-if 20 [EHCI])
Subsystem: Dell Computer Corporation: Unknown device 014e
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at f4fffc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #0a [2080]
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 81) (prog-if 00 [Normal
decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000d000-0000efff
Memory behind bridge: f6000000-fbffffff
00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 01)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corp. 82801DBM Ultra ATA Storage Controller (rev 01)
(prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at bfa0 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio Controller (rev
01)
Subsystem: Dell Computer Corporation: Unknown device 014e
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at b800 [size=256]
I/O ports at bc40 [size=64]
Memory at f4fff800 (32-bit, non-prefetchable) [size=512]
Memory at f4fff400 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
00:1f.6 Modem: Intel Corp. 82801DB AC'97 Modem Controller (rev 01) (prog-if 00
[Generic])
Subsystem: Conexant: Unknown device 5422
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at b400 [size=256]
I/O ports at b080 [size=128]
Capabilities: [50] Power Management version 2
01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 Go AGP
8x] (rev a1) (prog-if 00 [VGA])
Subsystem: Dell Computer Corporation: Unknown device 0179
Flags: bus master, VGA palette snoop, 66Mhz, medium devsel, latency 248, IRQ 11
Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (32-bit, prefetchable) [size=64M]
Expansion ROM at 80000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet
(rev 01)
Subsystem: Dell Computer Corporation: Unknown device 865d
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
Memory at faff0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
02:01.0 CardBus bridge: Texas Instruments: Unknown device ac47 (rev 01)
Subsystem: Dell Computer Corporation: Unknown device 014e
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 20001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 20400000-207ff000 (prefetchable)
Memory window 1: 20800000-20bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001
02:01.1 CardBus bridge: Texas Instruments: Unknown device ac4a (rev 01)
Subsystem: Dell Computer Corporation: Unknown device 014e
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 20002000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
Memory window 0: 20c00000-20fff000 (prefetchable)
Memory window 1: 21000000-213ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 0001
02:01.2 FireWire (IEEE 1394): Texas Instruments: Unknown device 802b (prog-if 10
[OHCI])
Subsystem: Dell Computer Corporation: Unknown device 014e
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at fafef800 (32-bit, non-prefetchable) [size=2K]
Memory at fafe8000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
02:01.3 System peripheral: Texas Instruments: Unknown device 8204
Subsystem: Dell Computer Corporation: Unknown device 014e
Flags: medium devsel
I/O ports at ecf8 [size=8]
Capabilities: [44] Power Management version 2
02:03.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 02)
Subsystem: Dell Computer Corporation: Unknown device 0001
Flags: bus master, fast devsel, latency 32, IRQ 11
Memory at fafec000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
lsusb:
======
io:/home/e1l52# lsusb -v
Bus 004 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.0 uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Bus 003 Device 003: ID 04da:2373 Panasonic (Matsushita)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04da Panasonic (Matsushita)
idProduct 0x2373
bcdDevice 0.10
iManufacturer 1 LEICA
iProduct 2 Digilux 1
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 46
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 bytes 64 once
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 bytes 64 once
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Bus 003 Device 002: ID 04b4:0033 Cypress Semiconductor Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04b4 Cypress Semiconductor Corp.
idProduct 0x0033
bcdDevice 1.00
iManufacturer 2 ARESON
iProduct 1 USB Scroll Mouse
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 bytes 4 three times
bInterval 10
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
Bus 003 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.0 uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.0 uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.0 ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:1d.7
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 12
scsi_info:
==========
io:/home/e1l52# scsi_info /dev/sda
SCSI_ID="0,0,0"
HOST="0"
MODEL="LEICA Digilux 1"
FW_REV="0050"
lsscsi:
=======
io:/home/e1l52# lsscsi -v
sysfsroot: /sys
[0:0:0:0] disk LEICA Digilux 1 0050 /dev/sda
dir: /sys/bus/scsi/devices/0:0:0:0
[/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host0/0:0:0:0]