LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-16-2007, 05:12 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
USB dies after a while (Debian Lenny)


Hya,

I need to troubleshoot, but I do not know how.

Problem is: My Debian Lenny, (on laptop, Xfce4), USB dies after several (20-100) window focus. Mouse dies, disks through USB cannot be accessed, power stays on (mouse LED stays on).

With this hardware, I have following trouble. http://www.linuxquestions.org/questi...d.php?t=584747
So that I cannot check other OS.

I am not quite sure if this is hardware related or software problem.

http://www.linuxquestions.org/questi...d.php?t=549174
https://answers.launchpad.net/ubuntu/+question/2217

Overall, there are several other threads about dead USB, while something seems to be wrong with my hardware.

I will appreciate any suggestion.

Happy Penguins!
 
Old 09-21-2007, 12:40 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

update.

It looks like that ohci_hcd module chokes. (Most of the other modules can be removed. This is the only one which is not used by other modules and unloadable.)

USB mouse does not die with WidNoes. So, hardware may not be a problem.

So far, this trouble happens only when X is on.

Happy Penguins!

Last edited by kaz2100; 09-21-2007 at 06:48 PM. Reason: Add info
 
Old 09-24-2007, 09:00 AM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

Update.

I did clean install (lenny), and problem looks like gone. So, my guess is irqconflict or something.

Happy Penguins!

Edit: Problem happens. it is not gone.

Last edited by kaz2100; 10-15-2007 at 08:32 PM. Reason: correction
 
Old 09-28-2007, 07:16 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

Update:

1: when glxgears is interrupted by ctl-c, the content of the window (gears) stays on desktop and only window frame goes away. When it is closed by closed button on window title bar, it is ok. fgl_glxgears looks ok.

2: As suggested by http://ubuntuforums.org/showthread.php?p=1840698 "noapic irqpoll pci=routeirq" looked ok, (and at least survival time was much longer). However, at the end I got completely frozen system (which is frozen screen saver). Also, cpufreqd is compromised, only works two frequencies, and slow response.

3: When mouse is connected through USB2 hub, which uses ehci driver, symptom is different. Average survival time is longer; when things go wrong, mouse gets lousy (cursor jumping all over the place, like too much acceleration.); and other USB ports on the hub die.

4. This one has also problem, I am not sure if these two are related. http://www.linuxquestions.org/questi...=492159&page=2

Happy Penguins!

Last edited by kaz2100; 09-28-2007 at 07:20 PM. Reason: added #4.
 
Old 10-02-2007, 09:55 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

Update:
kernel parameters - noapic pci=routeirq solve mouse problem. However, with these parameters, wireless (madwifi, ath0) does not work correct, (it is very very very slow.)

Happy Penguins!
 
Old 10-10-2007, 11:21 AM   #6
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

Update:

Following kernel parameters do not work,
pci=usepirqmask, pci=assign-busses, pci=biosirq, pci=nobios

At this moment, penguin lives happy with
pci=bios

Happy Penguins!

Edit: with pci=bios, penguin lives longer, but eventually dies.

Last edited by kaz2100; 10-11-2007 at 01:22 PM. Reason: correction
 
Old 10-12-2007, 06:07 PM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya.

Update:

Now I know how to kill USB.

Without ATI drivers installed, kick in glxgears while USB disk I/O.

So far, almost all kernel parameters have been checked. Either non-boot or dead USB. No luck yet.

Happy Penguins!
 
Old 10-17-2007, 02:53 PM   #8
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

Update:

Following kernel boot parameters work:
Code:
noapic pci=noacpi
noapic noacpi looked good, but did not shutdown.

It took almost a month to figure out. After knowing how to reproduce dead mouse (USB), I could try combination of parameters.

Happy Penguins!
 
  


Reply

Tags
debug, usb, xfce4



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
debian lenny glibc_2.4 missing Gerard_2009 Debian 5 06-01-2008 07:14 AM
LXer: Debian Lenny & initng LXer Syndicated Linux News 0 08-22-2007 08:00 AM
Problems installing Debian Lenny. ghostofsin Debian 4 08-10-2007 06:32 PM
Debian Lenny ugly fonts arnuld Debian 16 06-23-2007 02:40 AM
Need basic router help (Debian Lenny) Nathan1993 Linux - Server 3 04-21-2007 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:41 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
Open Source Consulting | Domain Registration