* usb mass storage fails in 2.5.18
@ 2002-05-26 18:52 jay
2002-05-26 19:01 ` Joseph Pingenot
0 siblings, 1 reply; 2+ messages in thread
From: jay @ 2002-05-26 18:52 UTC (permalink / raw)
To: linux kernel
I'm trying to set up 2.5.18 to read a digital camera memory stick -
which I can in 2.4.18.
I think I've configured the kernel correctly:
#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_REPORT_LUNS=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
.
.
.
.
#
# USB support
#
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_LONG_TIMEOUT is not set
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
# CONFIG_USB_STORAGE_DATAFAB is not set
..............
And the kernel sees it on bootup. See the dmesg snip below. But there is
nothing in /proc/bus/usb. OTOH /proc/scsi/usb-storage-0 does exist. When
I try to mount /dev/sda1 I get it's not a valid block device.
Can I get this to work? What am I missing?
thanks for any help
jay
cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.5.25
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'ATAPI ' 'CD-R/RW 20X10 ' 'H.PF' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
Here the dmesg snippet:
May 26 14:26:10 daddy kernel: PCI: Sharing IRQ 14 with 00:09.0
May 26 14:26:10 daddy kernel: hcd.c: usb-uhci-hcd @ 00:04.2, Intel Corp.
82371AB PIIX4 USB
May 26 14:26:10 daddy kernel: hcd.c: irq 14, io base 0000d400
May 26 14:26:10 daddy kernel: hcd.c: new USB bus registered, assigned
bus number 1
May 26 14:26:10 daddy kernel: usb-uhci-hcd.c: Detected 2 ports
May 26 14:26:10 daddy kernel: Manufacturer: Linux 2.5.18 usb-uhci-hcd
May 26 14:26:10 daddy kernel: Product: Intel Corp. 82371AB PIIX4 USB
May 26 14:26:10 daddy kernel: SerialNumber: 00:04.2
May 26 14:26:10 daddy kernel: hub.c: USB hub found at /
........
May 26 14:26:10 daddy kernel: hub.c: new USB device 00:04.2-1, assigned
address 2
May 26 14:26:10 daddy kernel: Manufacturer: Sony
May 26 14:26:10 daddy kernel: Product: Sony DSC
May 26 14:26:10 daddy kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
May 26 14:26:10 daddy kernel: usb-uhci-hcd.c: interrupt, status 2,
frame# 820
May 26 14:26:10 daddy kernel: hub.c: new USB device 00:04.2-2, assigned
address 3
May 26 14:26:10 daddy kernel: hub.c: USB hub found at 2
May 26 14:26:10 daddy kernel: hub.c: 4 ports detected
May 26 14:26:10 daddy kernel: hub.c: new USB device 00:04.2-2.4,
assigned address 4
May 26 14:26:10 daddy kernel: usb.c: USB device 4 (vend/prod 0x452/0x51)
is not claimed by any active driver.
May 26 14:26:10 daddy kernel: Length = 18
May 26 14:26:10 daddy kernel: DescriptorType = 01
May 26 14:26:10 daddy kernel: USB version = 1.00
May 26 14:26:10 daddy kernel: Vendor:Product = 0452:0051
May 26 14:26:10 daddy kernel: MaxPacketSize0 = 8
May 26 14:26:10 daddy kernel: NumConfigurations = 1
May 26 14:26:10 daddy kernel: Device version = 2.06
May 26 14:26:10 daddy kernel: Device Class:SubClass:Protocol = 00:00:00
May 26 14:26:10 daddy kernel: Per-interface classes
May 26 14:26:10 daddy kernel: Configuration:
May 26 14:26:10 daddy kernel: bLength = 9
May 26 14:26:10 daddy kernel: bDescriptorType = 02
May 26 14:26:10 daddy kernel: wTotalLength = 0022
May 26 14:26:10 daddy kernel: bNumInterfaces = 01
May 26 14:26:10 daddy kernel: bConfigurationValue = 01
May 26 14:26:10 daddy kernel: iConfiguration = 00
May 26 14:26:10 daddy kernel: bmAttributes = 40
May 26 14:26:10 daddy kernel: MaxPower = 100mA
May 26 14:26:10 daddy kernel:
May 26 14:26:10 daddy kernel: Interface: 0
May 26 14:26:10 daddy kernel: Alternate Setting: 0
May 26 14:26:10 daddy kernel: bLength = 9
May 26 14:26:10 daddy kernel: bDescriptorType = 04
May 26 14:26:10 daddy kernel: bInterfaceNumber = 00
May 26 14:26:10 daddy kernel: bAlternateSetting = 00
May 26 14:26:10 daddy kernel: bNumEndpoints = 01
May 26 14:26:10 daddy kernel: bInterface Class:SubClass:Protocol =
03:00:00
May 26 14:26:10 daddy kernel: iInterface = 00
May 26 14:26:10 daddy kernel: Endpoint:
May 26 14:26:10 daddy kernel: bLength = 7
May 26 14:26:10 daddy kernel: bDescriptorType = 05
May 26 14:26:10 daddy kernel: bEndpointAddress = 81 (in)
May 26 14:26:10 daddy kernel: bmAttributes = 03 (Interrupt)
May 26 14:26:10 daddy kernel: wMaxPacketSize = 0008
May 26 14:26:10 daddy kernel: bInterval = 20
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: usb mass storage fails in 2.5.18
2002-05-26 18:52 usb mass storage fails in 2.5.18 jay
@ 2002-05-26 19:01 ` Joseph Pingenot
0 siblings, 0 replies; 2+ messages in thread
From: Joseph Pingenot @ 2002-05-26 19:01 UTC (permalink / raw)
To: jay; +Cc: linux kernel
I've also had problems with 2.5.17 (haven't tested 2.5.18) and a USB
ZIP drive (Zip 250 USB-powered). It looks like a write operation times
out, and the drive keeps getting reassigned new USB device numbers. I
can provide more info if anyone's interested. I *do* recall that it's
something like bulk_write, and it fails with error -110.
-Joseph
--
Joseph======================================================jap3003@ksu.edu
[While discussing 8 new IIS (Microsoft's webserver) vulnerabilities]
"One workaround we rather like is called Apache, but we digress...."
Greene, The Register, http://www.theregister.co.uk./content/4/24795.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-26 19:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-26 18:52 usb mass storage fails in 2.5.18 jay
2002-05-26 19:01 ` Joseph Pingenot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.