Kernel panic - not syncing: Fatal exception in interrupt


45 posts   Page 1 of 2   1, 2
by neomaximus2k » Wed May 30, 2012 9:15 pm
Get the above message every time anything is plugged in to the USB ports. At first I thought it was a power issue, so I have an new PSU with the below specifications but that hasn't solved the issue.

Input AC 100-240V 50/60Hz
Output Voltage DC 5v
Output Current 2.1A Max
Output Power 10.5W Max
Socket type USB A Socket x2

The description states the power is distributed as 2.1A from one socket or 1.05A from two sockets, i've tried it with something plugged into both, and the Pi plugged in just by itself and still get the same issue.

So any suggestions?

I have got a little further with this, it now no longer dies when I plug any USB device in, if I connect the mouse (100mA) it works and the light on the mouse comes on, plug in the multi-media keyboard (50mA) and it crashes everytime, its looking more like a compatability between the keyboard and hte PI
Posts: 3
Joined: Tue May 29, 2012 9:11 pm
by Broonie » Fri Jun 01, 2012 12:09 pm
Also having this error - have checked power supply
Posts: 20
Joined: Fri Jun 01, 2012 12:07 pm
by Broonie » Fri Jun 01, 2012 12:12 pm
Now getting further - unplug all USB devices :)
Posts: 20
Joined: Fri Jun 01, 2012 12:07 pm
by neomaximus2k » Fri Jun 01, 2012 7:41 pm
It appears certain keyboards are not compatible with the Pi, in general any cheap multimedia keyboard will not work. However wireless keyboard and mice sets do work!
Posts: 3
Joined: Tue May 29, 2012 9:11 pm
by bigsi111 » Fri Jun 01, 2012 8:19 pm
The Tesco £5 multi media keyboard works like a charm...
User avatar
Posts: 66
Joined: Thu Apr 19, 2012 8:50 am
by iswoolley » Sat Jun 02, 2012 10:16 am
I went for the Currys/PCWorld Essentials Wired Multimedia Keyboard and Mouse set (PDSMW11), which gives me the Kernel panic message. I can boot the Pi to login without the keyboard and mouse attached, but if I plug in the keyboard I get the Kernel panic message straight away. I've tried this with and without wired Ethernet connected and get the same results.

(I'm using a 5V 2.1A USB travel adaptor as my power source.)

:(

Iain
Posts: 1
Joined: Sat Jun 02, 2012 9:54 am
by rurwin » Sat Jun 02, 2012 10:19 pm
I wish I had seen this before I bought a Currys Essentials at 6pm today :(

It isn't just the multimedia keyboard either; mine is the basic one.
This is the second keyboard in a row that panics the kernel; I bought Wilkinson's finest on Friday.

The ASDA one and the Cherry work perfectly, so it isn't user error, and it almost certainly isn't power; this one is only 50mA.
It isn't necessarily the cheap ones; ASDA's is half the price and it works.

I Wanna Play With My Pi!

ETA: The Satzuma.com Roll-Up keyboard does the same. At least that was a Christmas present.

And I've tried them on a powered hub now. It is not power.

Thanks bigsi111, I see a Tesco's in my future.
User avatar
Moderator
Posts: 2888
Joined: Mon Jan 09, 2012 3:16 pm
by drgeoff » Tue Jun 12, 2012 12:24 am
I've just found this topic after several fruitless hours with a pair of LK-890 keyboards that give the error message in the topic title. Tried 2 keyboards (both OK on 'proper' computers), 2 RPis, 2 different PSUs, 2 different powered USB hubs (as well as keyboard direct into the RPi) and the Debian, Arch and Qt flavours of OS. Always the same result.

Is this a driver issue that somebody can fix or do I need to fork out for replacement keyboards?
Posts: 2038
Joined: Wed Jan 25, 2012 6:39 pm
by rurwin » Tue Jun 12, 2012 9:36 am
I hope this is a bug in the GPU firmware or the Linux driver. If so it should get fixed at some time. However I have not so far seen any official recognition of any bug, so you might be waiting a long time.

At least it isn't expensive to get a test system and prove there is a problem: £5.30 from Wilko's.

And just for reassurance, after having kernel panics on the first three keyboards I tried, two of which I bought especially, I bought a Logitech K300 and it works perfectly.

The wiki has a long list of working and non-working keyboards.
User avatar
Moderator
Posts: 2888
Joined: Mon Jan 09, 2012 3:16 pm
by hermann.kerr » Wed Jun 13, 2012 1:20 am
Broonie wrote:Now getting further - unplug all USB devices :)

I had the same kernel panic problem. So, I unplugged my keyboard and mouse and the Raspberry Pi went right through the initialisation and then rebooted and went all the way to the login prompt. No Keyboard, So I plug in the keyboard - Go to "Kernel panic - not syncing".
Posts: 4
Joined: Tue Jun 12, 2012 10:34 pm
by hermann.kerr » Wed Jun 13, 2012 1:29 am
neomaximus2k wrote:It appears certain keyboards are not compatible with the Pi, in general any cheap multimedia keyboard will not work. However wireless keyboard and mice sets do work!


My lucky day - My Logitech wireless keyboard and mouse worked - thanks for the suggestion.
Posts: 4
Joined: Tue Jun 12, 2012 10:34 pm
by secretagent » Wed Jun 13, 2012 6:09 pm
Can somebody who has the problem with keyboards crashing the kernel post a stack trace and/or a usbmon dump?
Posts: 36
Joined: Wed Mar 07, 2012 10:09 am
by alexandru.cucu » Wed Jun 13, 2012 8:14 pm
@secretagent, I would gladly post it if I knew how to save everything to a file :)
https://launchpad.net/~alexandru.cucu
User avatar
Posts: 75
Joined: Mon Sep 05, 2011 6:07 pm
by rurwin » Wed Jun 13, 2012 8:45 pm
Unfortunately I returned both bad keyboards to the shops.

The stack trace is what appears on the screen. A camera may be the only way to grab it.

BTW, just noticed my working keyboard is a K200, not a K300 as I posted above.
User avatar
Moderator
Posts: 2888
Joined: Mon Jan 09, 2012 3:16 pm
by alexandru.cucu » Wed Jun 13, 2012 8:55 pm
Know what data I need to capture, the problem is how to do it.

Tried with kdump and kexec, but can't load the kernel. I've never used these tools before and it is almost midnight. Living this for the weekend, there are some things to study.

Another solution could be a serial console, but I don't have the right cables to try it. :cry:
https://launchpad.net/~alexandru.cucu
User avatar
Posts: 75
Joined: Mon Sep 05, 2011 6:07 pm
by nickgb » Wed Jun 13, 2012 9:14 pm
Similar problem with the NOVATECH own brand NOV-KEY2 both direct connection and through a powered hub, connected during boot or after. Sometimes kernel panic and sometimes an as yet unidentified error with lots of scrolling text. The keyboard itself is sound on both w*****s and an Intel based Ubuntu box.
Posts: 1
Joined: Wed Jun 13, 2012 9:05 pm
by secretagent » Fri Jun 15, 2012 4:54 am
Yes, if anybody has access to the serial console (with a 3.3v to usb serial cable or a rs232 level shifter and a rs232 serial port) it would be the easiest way to get the stack trace in text form. If not, then a (good quality) picture may help too.

kdump is technically ideal since it would capture the whole kernel memory but the default kernels do not support ktrace, so the kernel will need to be rebuilt for it and the userspace tools need to be installed and configured.
Posts: 36
Joined: Wed Mar 07, 2012 10:09 am
by msemtd » Fri Jun 15, 2012 7:59 am
I encountered this kernel panic when using a Microsoft multimedia keyboard. I have switched to a simpler Dell keyboard for now and we'll see what happens!
Posts: 10
Joined: Wed Jun 13, 2012 8:09 am
by thegreenelk » Thu Jun 21, 2012 6:03 pm
Add another to the list (though this was already intimated by previous post)

PC World ESSENTIALS PKBW11 Keyboard also suffers from the same issue
Posts: 3
Joined: Thu Jun 14, 2012 9:35 pm
Location: Hayling Island, Hampshire, UK
by rurwin » Thu Jun 21, 2012 10:52 pm
Please will anyone who has this problem, please take a (readable) picture of the screen and post it here.
User avatar
Moderator
Posts: 2888
Joined: Mon Jan 09, 2012 3:16 pm
by dwilkin » Fri Jun 22, 2012 10:19 am
Kernel-Panic.png
Screenshot of Kernel Panic with USB Keyboard
Kernel-Panic.png (55.45 KiB) Viewed 4574 times

One image, as requested - hope it's legible, as I've had to reduce the quality horrendously to get it down to 64k... Email me or something for a better quality version.

This was with a PC World essentials model PKBW11 attached. I also get the same problem with a PC World Essentials PDSMW11 - I'm wondering if the 'W11' in both model numbers indicates a chipset of some type?
Posts: 4
Joined: Fri Jun 22, 2012 9:58 am
by rurwin » Fri Jun 22, 2012 2:34 pm
Thanks. That should give the kernel guys something to chew over.

Check out the Wiki for known good keyboards.
User avatar
Moderator
Posts: 2888
Joined: Mon Jan 09, 2012 3:16 pm
by dom » Fri Jun 22, 2012 2:38 pm
@dwilkin
Newer kernels give function names in stack traces (and also may have relevant bug fixes). Can you try repeating this test after a firmware update:
http://elinux.org/R-Pi_Troubleshooting# ... g_firmware
Moderator
Posts: 3857
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by dwilkin » Fri Jun 22, 2012 4:33 pm
Kernel-Panic-II.png
Kernel-Panic-II.png (60.15 KiB) Viewed 4552 times


Hi Dom

After a successful update (which was an adventure in itself!) I've obtained this image for you - hope it's OK.

Darren
Posts: 4
Joined: Fri Jun 22, 2012 9:58 am
by secretagent » Sat Jun 23, 2012 8:01 am
Thanks dwilkin. It looks like more information will be required. If I give you a modified kernel that logs some debugging information from the USB driver to a file on the SD card will you be willing to run it and then send me the log file?
Posts: 36
Joined: Wed Mar 07, 2012 10:09 am