public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: meino.cramer@gmx.de
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] USB Problems
Date: Sun, 12 Jun 2011 16:45:38 +0200	[thread overview]
Message-ID: <20110612144538.GA3061@solfire> (raw)
In-Reply-To: <20110612153012.7b8bf4fa@arcticwolf.myzen.co.uk>

john <jdm@arcticwolf.myzen.co.uk> [11-06-12 16:36]:
> Gents
> 
> Whenever I insert external USB device my machine locks and I have to do
> a hard reset (sys req does not even work). I have tried this in a
> graphical environment and without. Machine boots up fine with USB
> keyboard and mouse but will not boot up with usb storage (memory stick
> - tried several)
> 
> I have recently upgrade kernel to 2.6.38-r6 when this error started
> (approx). Hav also tried 2.6.38-r7 (which according to bugzilla
> should fix an issue similar to this) the error still happens.
> 
> Any suggestions on kernel config options, debugging would be
> appreciated. And how to trap full error message.
> 
> Error message alongs these lines 
> 
> Kernel panic not syncing - fatal exception in iterrupt
> ksoftirqd/1 Not tainted
> 
> 
> 
> 
> -- 
> --------------
> --------------
> John D Maunder
> jdm@arcticwolf.myzen.co.uk
> 

Hi John,

may be this could help to track th eerror more closely:
Recompile the kernel with CONFIG_USB_DEBUG set.
If not already done, enable CONFIG_MAGIC_SYSRQ and
read about the available commands in the according
docs under /usr/src/linux/Documentation/.
This is a overall life saver in many other cases too.
But it may be a security hole also -- you can disable 
it in /proc/ later.
If possible change /etc/fstab to mount the partition
to which logging will go with the "sync" option so
every log entry will go directly onto the bare metal
instead of a RAM buffer.

Reboot into console mode (no X).
cd to the logging directory and
do a tail -f onto the logfile in question

Insert the "USB stick of death" ;) and
see, whether you can see anything in the
tailed log.

If not do the magic sysrq dance to sync hds,
remount readonly and finally reboot.

Take a closer look into the resulting logs.

Good luck!

Nevertheless have a nice weekend!
Best regards,
mcc





  reply	other threads:[~2011-06-12 15:10 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-12 14:30 [gentoo-user] USB Problems john
2011-06-12 14:45 ` meino.cramer [this message]
2011-06-12 18:45   ` john
2011-06-12 19:20     ` meino.cramer
2011-06-12 20:50       ` Dale
2011-06-12 21:32         ` john
2011-06-12 21:57           ` Dale
2011-06-13  5:22             ` john
2011-06-13  5:44               ` Dale
2011-06-14  5:38                 ` john
2011-06-14  6:59                   ` Thanasis
2011-06-13  6:42               ` meino.cramer
2011-06-13 11:00                 ` Volker Armin Hemmann
2011-06-12 21:55         ` Volker Armin Hemmann
2011-06-12 22:04           ` Dale
2011-06-12 21:30       ` john
2011-06-12 23:35         ` Volker Armin Hemmann
2011-06-12 23:56         ` meino.cramer
2011-06-12 21:54 ` Volker Armin Hemmann
2011-06-15 23:34 ` Peter Humphrey
  -- strict thread matches above, loose matches on Subject: below --
2011-06-14  7:18 JDM
2011-06-14 11:52 ` Indi
2011-06-14 15:50   ` Dale
2011-06-14 15:56     ` Thanasis
2011-06-16  7:30 JDM
2014-08-26 20:29 siefke_listen
2014-08-27  5:54 ` Alexander Kapshuk
2014-08-27  6:04 ` Alexander Kapshuk
2014-08-28 18:49 ` siefke_listen
2014-09-03 23:25 ` siefke_listen
2014-09-04  4:58   ` J. Roeleveld
2014-09-06 16:52     ` siefke_listen
2014-09-06 17:38       ` Alexander Kapshuk
2014-09-06 18:35       ` J. Roeleveld
2014-09-06 23:11         ` siefke_listen
2014-09-07  7:42           ` J. Roeleveld
2014-09-07 15:54             ` siefke_listen
2014-09-08 19:03               ` J. Roeleveld
2014-09-08 20:04                 ` Neil Bothwick
2014-09-09  5:04                 ` Stroller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110612144538.GA3061@solfire \
    --to=meino.cramer@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox