LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-25-2004, 05:36 PM   #1
tutwabee
Member
 
Registered: Jan 2004
Location: California
Distribution: Ubuntu 10.04
Posts: 145

Rep: Reputation: 15
USB not working after compiling 2.6.10


I compiled the linux 2.6.10 kernel a few times yesterday. The first few times my ethernet port wouldn't work and my NVIDIA drivers wouldn't install. Although my internet didn't work my new iriver h140 worked. My iriver hadn't worked in my old 2.4.x kernel which complained about SCSI support or something similar.

I got the network working but at the same time I managed to disable support for my USB flash stick and iriver. They are not recognized as valid devices. When I run file -Ls /dev/sda I get /dev/sda: cannot open (/dev/sda)

The last lines of dmesg after pluging in flash stick:
usb 1-6: new high speed USB device using ehci_hcd and address 33
usb 1-6: khubd timed out on ep0in
usb 1-6: khubd timed out on ep0out


dmesg after pluging in iriver:
usb 1-6: khubd timed out on ep0out
usb 1-6: device not accepting address 85, error -110
usb 1-6: new high speed USB device using ehci_hcd and address 86
usb 1-6: khubd timed out on ep0in
usb 1-6: khubd timed out on ep0out
usb 1-6: khubd timed out on ep0out
usb 1-6: device not accepting address 86, error -110
usb 1-6: new high speed USB device using ehci_hcd and address 87
usb 1-6: khubd timed out on ep0in
usb 1-6: khubd timed out on ep0out


Here is the USB section of my .config file for my newly compiled kernel:
Quote:
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_RW_DETECT is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set

#
# USB Input Devices
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
CONFIG_USB_EGALAX=m
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
CONFIG_USB_CYTHERM=m
# CONFIG_USB_PHIDGETKIT is not set
CONFIG_USB_PHIDGETSERVO=m
# CONFIG_USB_TEST is not set

#
# USB ATM/DSL drivers
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# MMC/SD Card support
#
# CONFIG_MMC is not set
 
Old 12-25-2004, 06:12 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Code:
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
It's not a good idea to enable support of both ohci and uhci. You either have one or the other. Your error message above mentions ehci so I would suggest you say no to ohci and try again.
 
Old 12-26-2004, 03:51 PM   #3
tutwabee
Member
 
Registered: Jan 2004
Location: California
Distribution: Ubuntu 10.04
Posts: 145

Original Poster
Rep: Reputation: 15
I fixed the ohci/uhci problem. I still get this in dmesg when plugging in my USB flash drive:
irq 9: nobody cared!
[<c01340ea>] __report_bad_irq+0x2a/0x90
[<c0133aa0>] handle_IRQ_event+0x30/0x70
[<c01341dc>] note_interrupt+0x6c/0xd0
[<c0133c10>] __do_IRQ+0x130/0x160
[<c0104cde>] do_IRQ+0x3e/0x60
=======================
[<c01032da>] common_interrupt+0x1a/0x20
[<c011ad70>] __do_softirq+0x30/0x90
[<c0104de1>] do_softirq+0x41/0x50
=======================
[<c0133a64>] irq_exit+0x34/0x40
[<c0104ce5>] do_IRQ+0x45/0x60
[<c01032da>] common_interrupt+0x1a/0x20
[<c0258f8b>] acpi_processor_idle+0xf3/0x1f9
[<c01010ca>] cpu_idle+0x3a/0x60
[<c0533742>] start_kernel+0x142/0x160
[<c0533340>] unknown_bootoption+0x0/0x1b0
handlers:
[<c023de78>] (acpi_irq+0x0/0x16)
Disabling IRQ #9
usb 1-6: new high speed USB device using ehci_hcd and address 2
ehci_hcd 0000:00:10.3: Unlink after no-IRQ? Different ACPI or APIC settings may help.
usb 1-6: khubd timed out on ep0in


It seems like nothing fixes this problem. I even tried getting my friend's .config file and basing mine off of his. Same problem.
 
Old 12-26-2004, 04:26 PM   #4
tutwabee
Member
 
Registered: Jan 2004
Location: California
Distribution: Ubuntu 10.04
Posts: 145

Original Poster
Rep: Reputation: 15
The problem is bigger than I thought before. I cannot mount my cd drive either. dmesg contains:
Buffer I/O error on device hdb, logical block 11
hdb: command error: status=0x51 { DriveReady SeekComplete Error }
hdb: command error: error=0x54
ide: failed opcode was 100
end_request: I/O error, dev hdb, sector 96
Buffer I/O error on device hdb, logical block 12
hdb: command error: status=0x51 { DriveReady SeekComplete Error }
hdb: command error: error=0x54
ide: failed opcode was 100
end_request: I/O error, dev hdb, sector 104
Buffer I/O error on device hdb, logical block 13
hdb: command error: status=0x51 { DriveReady SeekComplete Error }
hdb: command error: error=0x54
ide: failed opcode was 100
end_request: I/O error, dev hdb, sector 112


This makes more sense to me now. I realize that the problem isn't in the USB section of the kernel.. what a relief. Now I need to find where the problem does lie. Maybe a disk drive guru could help?
 
Old 12-27-2004, 01:21 AM   #5
tutwabee
Member
 
Registered: Jan 2004
Location: California
Distribution: Ubuntu 10.04
Posts: 145

Original Poster
Rep: Reputation: 15
I recompiled my 2.4 kernel with the .config file that was used to compile it the first time. I made sure SCSI support was enabled. I can use my USB flash stick now but my iriver does not work. Here is what was in dmesg:
Quote:
hub.c: new USB device 00:10.3-6, assigned address 3
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: TOSHIBA Model: MK4004GAH Rev: JC00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
SCSI device sdb: 78126048 512-byte hdwr sectors (40001 MB)
sdb: sdb1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device busy for revalidation (usage=1)
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
FAT: unable to read boot sector
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device busy for revalidation (usage=1)
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
FAT: unable to read boot sector
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel sound not working, usb modem not working. siriusb Linux - Hardware 8 03-04-2006 10:16 PM
usb 2.0 hdd working through usb 2.0 pcmcia card full speed in 2.4, but slow in 2.6 chilly_willy2 Linux - Hardware 11 02-02-2006 06:16 PM
pilot-link not working with USB Serial-USB Converter with m105 calmofthestorm Linux - Laptop and Netbook 0 09-03-2005 02:03 PM
Usb pen not working in additional usb port ago.homer Linux - Hardware 3 07-26-2005 09:51 AM
ps/2-mouse via usb-adaptor not working - usb error=-110 mule Fedora 0 01-30-2004 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration