LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   "USB device stops working after a time" 'fix' stops cdrom device mount/readability (http://www.linuxquestions.org/questions/slackware-14/usb-device-stops-working-after-a-time-%27fix%27-stops-cdrom-device-mount-readability-538595/)

adamben 03-18-2007 07:19 PM

"USB device stops working after a time" 'fix' stops cdrom device mount/readability
 
PROBLEM/BACKGROUND: Fix for issue where mouse/usb devices stop working after a time seemingly breaks [audio?]cd readability.
(added these kernel flags: noapic irqpoll pci=routeirq )

Added the flags indicated above to solve the issue of my usb mouse(and other usb devices) operation discontinuation after a random time.(restarting usb kernel module/etc does not work, only a full restart for bringing back usb functionality) Worked beautifully until I tried an audiocd today with amorak/xine ... complete static accross the line. [without the fix, everything works(except for the usb issue)]

Any ideas on some things to try so that I can have the best of both worlds? A different flag set/kernel perhaps?


ADDITIONAL INFORMATION:

Laptop:Toshiba Satellite M50-MX2

Slackware v11

(custom kernel)
Linux peanut 2.6.19.219 #19 SMP Tue Feb 27 23:11:59 AST 2007 i686 i686 i386 GNU/Linux


# lspci
00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 81)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 80)
00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 80)
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
04:02.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
04:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
04:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

# lsusb
Bus 3 Device 1: ID 0000:0000
Bus 2 Device 2: ID 046d:c510 Logitech, Inc.
Bus 2 Device 1: ID 0000:0000
Bus 1 Device 1: ID 0000:0000

H_TeXMeX_H 03-18-2007 07:50 PM

Do you need all of these kernel parameters: 'noapic irqpoll pci=routeirq' ? Have you tried removing some ?

adamben 03-18-2007 08:23 PM

kernel option adjustment.
 
I had attempted a few separate config option configurations, except removing the irqpoll option[not sure why].

append="noapic pci=routeirq"

So far so good, but where the usb issue is "random" will need some time to verify this resolves the problem. Many thanks for the suggestion H_TeXMeX_H. Will test over the next 12 or so hours and see how things go.

adamben 03-19-2007 06:47 AM

think its safe
 
Quote:

Originally Posted by adamben
I had attempted a few separate config option configurations, except removing the irqpoll option[not sure why].

append="noapic pci=routeirq"

So far so good, but where the usb issue is "random" will need some time to verify this resolves the problem. Many thanks for the suggestion H_TeXMeX_H. Will test over the next 12 or so hours and see how things go.


Appears to be ok... tried a few separate things to implement the isse... nothing happened. This works. Thx.

H_TeXMeX_H 03-19-2007 03:22 PM

Great. Just remember to pass as few parameters to the kernel as possible, especially when you don't know exactly what they do. I remember I once had to pass 'noapic noioapic' to the kernel ... it fixed the problem (which was the kernel would not boot), but I could not connect to the internet :( I removed one of the parameters and I could use the internet and boot normally. Really, it was just a badly compiled kernel (from Red Hat).

You might wanna think about compiling a kernel yourself.

asher 04-11-2007 12:24 PM

you can try "noapic irqpoll pci=routeirq"
just like this :

Code:

kernel /vmlinuz-2.6.20-14-generic root=/dev/hda1 ro noapic irqpoll pci=routeirq
initrd /initrd.img-2.6.20-14-generic
quiet
savedefault

I use this solve the mouse (usb) can`t move after no long time .

adamben 04-18-2007 01:18 PM

thx, but this was the original problem.
 
Quote:

Originally Posted by asher
you can try "noapic irqpoll pci=routeirq"
just like this :

Code:

kernel /vmlinuz-2.6.20-14-generic root=/dev/hda1 ro noapic irqpoll pci=routeirq
initrd /initrd.img-2.6.20-14-generic
quiet
savedefault

I use this solve the mouse (usb) can`t move after no long time .


Thanks Asher, but that was actually the original problem. It fixed one issue(as you indicate it also did for you), but caused another(with cdrom audio playback not operating correctly). The solution for this was actually posted above( removing the irqpoll option from my kernel flags). Thanks though, assistance appreciated.


All times are GMT -5. The time now is 05:57 AM.