Fixed the problem. The answer was changing the interrupt mode from APIC to PIC in the system BIOS. I had some difficulty finding this information on the web or any linux-usb site...any chance of adding this pointer to the linux-usb howto?
-dwild On Thu, 17 Jul 2003 [EMAIL PROTECTED] wrote: > Date: Thu, 17 Jul 2003 11:27:05 -0400 (EDT) > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [Linux-usb-users] Via KT400 USB2.0 controller problem > > I just tried this with 2.6.0-test1. In this case, the card reader is > never assigned a device ID, the driver just keeps saying the device is > refusing the ID, and trying a new one. > > Still the same story with USB1.1, it works fine, just USB2.0 has this > problem. > > > On Mon, 14 Jul 2003 [EMAIL PROTECTED] wrote: > > > Date: Mon, 14 Jul 2003 21:29:15 -0400 (EDT) > > From: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Subject: [Linux-usb-users] Via KT400 USB2.0 controller problem > > > > Kernel: 2.4.21-xfs (also tried 2.5.75 with the same results. I can't try > > -pre kernels at this time because the system is all xfs > > filesystems) > > > > Mainboard: Gigabyte GA-7VAXP > > > > Chipset: VIA KT400 > > > > PCI Info: > > > > 00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI]) > > Subsystem: Giga-byte Technology GA-7VAX Mainboard > > Flags: bus master, medium devsel, latency 32, IRQ 19 > > Memory at de006000 (32-bit, non-prefetchable) [size=256] > > Capabilities: [80] Power Management version 2 > > > > > > (IRQ 19 is also used by the Promise RAID/ATA controller, but there is no > > way to change the USB2.0 or the PDC20276 interrupt) > > > > Device with problem: > > PNY 3-slot multi card reader. This device functions flawlessly under > > USB1.1 without the ehci-hcd module loaded. Shows up as 1 device with 4 > > LUNs under usb-storage. > > > > The problem: > > While initializing the PNY reader, the kernel seems to have some trouble > > assigning an ID to the device. the four scsi LUNs appear as expected in > > /proc/scsi/scsi, and the 4 devices are enabled. OK, so far so good...but > > when a device is accessed I get a hang (process stuck in disk wait) until > > I unplug the reader and "modprobe -r ehci-hcd". Nothing appears in > > the logs from the time of the hang until I unplug the reader, then I see > > the disconnect messages. Here is the kernel output (This is with the usb > > 1.1 printer, scanner and visor disconnected, which work fine). > > CONFIG_USB_DEBUG and CONFIG_USB_STORAGE_DEBUG are both set to "y". The > > output from "lsusb -v" follows the syslog output. > > > > (after further evaluation, it seems the first access works "ok", ie i can > > do "fdisk -l /dev/sdc" with or without a card exactly once after > > connecting the device. The second time fails and hangs) > > > > --- > > Jul 14 20:26:31 argo kernel: usb.c: registered new driver usbdevfs > > Jul 14 20:26:31 argo kernel: usb.c: registered new driver hub > > Jul 14 20:26:31 argo kernel: usb-uhci.c: $Revision: 1.275 $ time 20:22:16 Jul 13 > > 2003 > > Jul 14 20:26:31 argo kernel: usb-uhci.c: High bandwidth mode enabled > > Jul 14 20:26:31 argo kernel: usb-uhci.c: USB UHCI at I/O 0xb400, IRQ 21 > > Jul 14 20:26:31 argo kernel: usb-uhci.c: Detected 2 ports > > Jul 14 20:26:32 argo kernel: usb.c: new USB bus registered, assigned bus number 1 > > Jul 14 20:26:32 argo kernel: hub.c: USB hub found > > Jul 14 20:26:32 argo kernel: hub.c: 2 ports detected > > Jul 14 20:26:32 argo kernel: usb-uhci.c: USB UHCI at I/O 0xb800, IRQ 21 > > Jul 14 20:26:32 argo kernel: usb-uhci.c: Detected 2 ports > > Jul 14 20:26:32 argo kernel: usb.c: new USB bus registered, assigned bus number 2 > > Jul 14 20:26:32 argo kernel: hub.c: USB hub found > > Jul 14 20:26:32 argo kernel: hub.c: 2 ports detected > > Jul 14 20:26:32 argo kernel: usb-uhci.c: USB UHCI at I/O 0xbc00, IRQ 21 > > Jul 14 20:26:32 argo kernel: usb-uhci.c: Detected 2 ports > > Jul 14 20:26:32 argo kernel: usb.c: new USB bus registered, assigned bus number 3 > > Jul 14 20:26:32 argo kernel: hub.c: USB hub found > > Jul 14 20:26:32 argo kernel: hub.c: 2 ports detected > > Jul 14 20:26:32 argo kernel: usb-uhci.c: v1.275:USB Universal Host Controller > > Interface driver > > Jul 14 20:26:32 argo usb: Initializing USB controller (usb-uhci): succeeded > > Jul 14 20:26:32 argo kernel: ehci_hcd 00:10.3: VIA Technologies, Inc. USB 2.0 > > Jul 14 20:26:32 argo kernel: ehci_hcd 00:10.3: irq 19, pci mem f884f000 > > Jul 14 20:26:32 argo kernel: usb.c: new USB bus registered, assigned bus number 4 > > Jul 14 20:26:32 argo kernel: ehci_hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver > > 2003-Jun-19/2.4 > > Jul 14 20:26:32 argo kernel: hub.c: USB hub found > > Jul 14 20:26:32 argo kernel: hub.c: 6 ports detected > > Jul 14 20:26:32 argo usb: Initializing USB controller (ehci-hcd): succeeded > > Jul 14 20:26:32 argo kernel: usbdevfs: remount parameter error > > Jul 14 20:26:32 argo usb: Mount USB filesystem succeeded > > Jul 14 20:26:32 argo kernel: Initializing USB Mass Storage driver... > > Jul 14 20:26:32 argo kernel: usb.c: registered new driver usb-storage > > Jul 14 20:26:32 argo kernel: USB Mass Storage support registered. > > Jul 14 20:26:32 argo usb: Loading USB storage succeeded > > Jul 14 20:28:39 argo kernel: hub.c: new USB device 00:10.3-1, assigned address 2 > > Jul 14 20:28:42 argo kernel: scsi1 : SCSI emulation for USB Mass Storage devices > > Jul 14 20:28:42 argo kernel: Vendor: Generic Model: STORAGE DEVICE Rev: 0119 > > Jul 14 20:28:42 argo kernel: Type: Direct-Access ANSI > > SCSI revision: 02 > > Jul 14 20:28:42 argo kernel: Vendor: Generic Model: STORAGE DEVICE Rev: 0119 > > Jul 14 20:28:42 argo kernel: Type: Direct-Access ANSI > > SCSI revision: 02 > > Jul 14 20:28:42 argo kernel: Vendor: Generic Model: STORAGE DEVICE Rev: 0119 > > Jul 14 20:28:42 argo kernel: Type: Direct-Access ANSI > > SCSI revision: 02 > > Jul 14 20:28:42 argo kernel: Vendor: Generic Model: STORAGE DEVICE Rev: 0119 > > Jul 14 20:28:42 argo kernel: Type: Direct-Access ANSI > > SCSI revision: 02 > > Jul 14 20:28:42 argo kernel: Attached scsi removable disk sdb at scsi1, channel 0, > > id 0, lun 0 > > Jul 14 20:28:42 argo kernel: Attached scsi removable disk sdc at scsi1, channel 0, > > id 0, lun 1 > > Jul 14 20:28:42 argo kernel: Attached scsi removable disk sdd at scsi1, channel 0, > > id 0, lun 2 > > Jul 14 20:28:42 argo kernel: Attached scsi removable disk sde at scsi1, channel 0, > > id 0, lun 3 > > Jul 14 20:28:43 argo kernel: sdb : READ CAPACITY failed. > > Jul 14 20:28:43 argo kernel: sdb : status = 1, message = 00, host = 0, driver = 08 > > Jul 14 20:28:43 argo kernel: Current sd00:00: sense key Not Ready > > Jul 14 20:28:43 argo kernel: Additional sense indicates Medium not present > > Jul 14 20:28:43 argo kernel: sdb : block size assumed to be 512 bytes, disk size > > 1GB. > > Jul 14 20:28:43 argo kernel: sdb: test WP failed, assume Write Enabled > > Jul 14 20:28:43 argo kernel: /dev/scsi/host1/bus0/target0/lun0: I/O error: dev > > 08:10, sector 0 > > Jul 14 20:28:43 argo kernel: I/O error: dev 08:10, sector 0 > > Jul 14 20:28:43 argo kernel: ldm_validate_partition_table(): Disk read failed. > > Jul 14 20:28:43 argo kernel: I/O error: dev 08:10, sector 0 > > Jul 14 20:28:43 argo kernel: unable to read partition table > > Jul 14 20:28:43 argo kernel: sdc : READ CAPACITY failed. > > Jul 14 20:28:43 argo kernel: sdc : status = 1, message = 00, host = 0, driver = 08 > > Jul 14 20:28:43 argo kernel: Current sd00:00: sense key Not Ready > > Jul 14 20:28:43 argo kernel: Additional sense indicates Medium not present > > Jul 14 20:28:43 argo kernel: sdc : block size assumed to be 512 bytes, disk size > > 1GB. > > Jul 14 20:28:43 argo kernel: /dev/scsi/host1/bus0/target0/lun1: I/O error: dev > > 08:20, sector 0 > > Jul 14 20:28:43 argo kernel: I/O error: dev 08:20, sector 0 > > Jul 14 20:28:43 argo kernel: ldm_validate_partition_table(): Disk read failed. > > Jul 14 20:28:43 argo kernel: I/O error: dev 08:20, sector 0 > > Jul 14 20:28:43 argo kernel: unable to read partition table > > Jul 14 20:28:44 argo kernel: sdd : READ CAPACITY failed. > > Jul 14 20:28:44 argo kernel: sdd : status = 1, message = 00, host = 0, driver = 08 > > Jul 14 20:28:44 argo kernel: Current sd00:00: sense key Not Ready > > Jul 14 20:28:44 argo kernel: Additional sense indicates Medium not present > > Jul 14 20:28:44 argo kernel: sdd : block size assumed to be 512 bytes, disk size > > 1GB. > > Jul 14 20:28:44 argo kernel: sdd: test WP failed, assume Write Enabled > > Jul 14 20:28:44 argo kernel: /dev/scsi/host1/bus0/target0/lun2: I/O error: dev > > 08:30, sector 0 > > Jul 14 20:28:44 argo kernel: I/O error: dev 08:30, sector 0 > > Jul 14 20:28:44 argo kernel: ldm_validate_partition_table(): Disk read failed. > > Jul 14 20:28:44 argo kernel: I/O error: dev 08:30, sector 0 > > Jul 14 20:28:44 argo kernel: unable to read partition table > > Jul 14 20:28:44 argo kernel: sde : READ CAPACITY failed. > > Jul 14 20:28:44 argo kernel: sde : status = 1, message = 00, host = 0, driver = 08 > > Jul 14 20:28:44 argo kernel: Current sd00:00: sense key Not Ready > > Jul 14 20:28:44 argo kernel: Additional sense indicates Medium not present > > Jul 14 20:28:44 argo kernel: sde : block size assumed to be 512 bytes, disk size > > 1GB. > > Jul 14 20:28:44 argo kernel: sde: test WP failed, assume Write Enabled > > Jul 14 20:28:44 argo kernel: /dev/scsi/host1/bus0/target0/lun3: I/O error: dev > > 08:40, sector 0 > > Jul 14 20:28:44 argo kernel: I/O error: dev 08:40, sector 0 > > Jul 14 20:28:44 argo kernel: ldm_validate_partition_table(): Disk read failed. > > Jul 14 20:28:44 argo kernel: I/O error: dev 08:40, sector 0 > > Jul 14 20:28:44 argo kernel: unable to read partition table > > Jul 14 20:28:44 argo kernel: WARNING: USB Mass Storage data integrity not assured > > Jul 14 20:28:44 argo kernel: USB Mass Storage device found at 2 > > > > <fdisk -l /dev/sdc with no card in reader> > > > > Jul 14 20:30:23 argo kernel: sdc : READ CAPACITY failed. > > Jul 14 20:30:23 argo kernel: sdc : status = 1, message = 00, host = 0, driver = 08 > > Jul 14 20:30:23 argo kernel: Current sd00:00: sense key Not Ready > > Jul 14 20:30:23 argo kernel: Additional sense indicates Medium not present > > Jul 14 20:30:23 argo kernel: sdc : block size assumed to be 512 bytes, disk size > > 1GB. > > Jul 14 20:30:23 argo kernel: sdc: test WP failed, assume Write Enabled > > Jul 14 20:30:23 argo kernel: /dev/scsi/host1/bus0/target0/lun1: I/O error: dev > > 08:20, sector 0 > > Jul 14 20:30:23 argo kernel: I/O error: dev 08:20, sector 0 > > Jul 14 20:30:23 argo kernel: ldm_validate_partition_table(): Disk read failed. > > Jul 14 20:30:23 argo kernel: I/O error: dev 08:20, sector 0 > > Jul 14 20:30:23 argo kernel: unable to read partition table > > Jul 14 20:30:23 argo kernel: Device not ready. Make sure there is a disc in the > > drive. > > Jul 14 20:30:23 argo kernel: sdc : READ CAPACITY failed. > > Jul 14 20:30:23 argo kernel: sdc : status = 1, message = 00, host = 0, driver = 08 > > Jul 14 20:30:23 argo kernel: Current sd00:00: sense key Not Ready > > Jul 14 20:30:23 argo kernel: Additional sense indicates Medium not present > > Jul 14 20:30:23 argo kernel: sdc : block size assumed to be 512 bytes, disk size > > 1GB. > > Jul 14 20:30:23 argo kernel: sdc: test WP failed, assume Write Enabled > > Jul 14 20:30:23 argo kernel: /dev/scsi/host1/bus0/target0/lun1: I/O error: dev > > 08:20, sector 0 > > Jul 14 20:30:23 argo kernel: I/O error: dev 08:20, sector 0 > > Jul 14 20:30:23 argo kernel: ldm_validate_partition_table(): Disk read failed. > > Jul 14 20:30:23 argo kernel: I/O error: dev 08:20, sector 0 > > Jul 14 20:30:23 argo kernel: unable to read partition table > > Jul 14 20:30:23 argo kernel: I/O error: dev 08:20, sector 0 > > Jul 14 20:30:23 argo kernel: Device not ready. Make sure there is a disc in the > > drive. > > > > <fdisk -l /dev/sdc with card in reader hangs until ~30s after reader is > > unplugged> > > > > ---- > > lsusb -v > > ---- > > Bus 004 Device 001: ID 0000:0000 > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass 9 Hub > > bDeviceSubClass 0 Root Hub > > bDeviceProtocol 1 > > bMaxPacketSize0 8 > > idVendor 0x0000 > > idProduct 0x0000 > > bcdDevice 2.04 > > iManufacturer 3 Linux 2.4.21-xfs-ipsec ehci_hcd > > iProduct 2 VIA Technologies, Inc. USB 2.0 > > iSerial 1 00:10.3 > > 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 Root Hub > > bInterfaceProtocol 0 > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type none > > wMaxPacketSize 2 > > bInterval 12 > > Language IDs: (length=4) > > 0000 (null)((null)) > > > > Bus 004 Device 002: ID 3538:0009 Power Quotient International Co., Ltd. > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass 0 Interface > > bDeviceSubClass 0 > > bDeviceProtocol 0 > > bMaxPacketSize0 64 > > idVendor 0x3538 Power Quotient International Co., Ltd. > > idProduct 0x0009 > > bcdDevice 1.19 > > iManufacturer 2 GENERIC > > iProduct 3 Flash Reader > > iSerial 4 SN000PQI009 > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 32 > > bNumInterfaces 1 > > bConfigurationValue 1 > > iConfiguration 0 > > bmAttributes 0x80 > > MaxPower 196mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 8 Mass Storage > > bInterfaceSubClass 6 SCSI > > bInterfaceProtocol 80 Bulk (Zip) > > iInterface 5 bulk only > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type none > > wMaxPacketSize 512 > > bInterval 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x02 EP 2 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type none > > wMaxPacketSize 512 > > bInterval 0 > > Language IDs: (length=4) > > 0409 English(US) > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps1 > > _______________________________________________ > > [EMAIL PROTECTED] > > To unsubscribe, use the last form field at: > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
