LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-18-2007, 08:19 PM   #1
adamben
Member
 
Registered: Feb 2007
Distribution: slackware,gentoo,ubuntu
Posts: 50

Rep: Reputation: 17
"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
 
Old 03-18-2007, 08:50 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Do you need all of these kernel parameters: 'noapic irqpoll pci=routeirq' ? Have you tried removing some ?
 
Old 03-18-2007, 09:23 PM   #3
adamben
Member
 
Registered: Feb 2007
Distribution: slackware,gentoo,ubuntu
Posts: 50

Original Poster
Rep: Reputation: 17
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.

Last edited by adamben; 03-18-2007 at 09:34 PM.
 
Old 03-19-2007, 07:47 AM   #4
adamben
Member
 
Registered: Feb 2007
Distribution: slackware,gentoo,ubuntu
Posts: 50

Original Poster
Rep: Reputation: 17
Cool 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.
 
Old 03-19-2007, 04:22 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.

Last edited by H_TeXMeX_H; 03-19-2007 at 04:23 PM.
 
Old 04-11-2007, 01:24 PM   #6
asher
LQ Newbie
 
Registered: Jun 2006
Location: beijing
Distribution: administrator of network&system
Posts: 13

Rep: Reputation: 0
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 .

Last edited by XavierP; 04-11-2007 at 02:01 PM.
 
Old 04-18-2007, 02:18 PM   #7
adamben
Member
 
Registered: Feb 2007
Distribution: slackware,gentoo,ubuntu
Posts: 50

Original Poster
Rep: Reputation: 17
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.
 
  


Reply

Tags
cdrom, hardware, kernel, noapic, options, usb


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
usb hdd "device not ready" on write after short idle time human_blip Linux - Hardware 7 10-13-2006 03:31 AM
Help please - "#exec cmd" stops working after downloading to Windows crabjoe Linux - Newbie 3 02-15-2006 02:08 PM
usb device stops working when acpi=off michal017 Linux - Hardware 0 10-08-2004 10:56 AM
"Unable to open USB device "usb://hp/LaserJet%201000": No such device" lordshipmayhem Mandriva 2 08-08-2004 05:56 PM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 12:13 PM


All times are GMT -5. The time now is 08:44 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration