You are not logged in.

#26 2011-05-30 04:39:02

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: Random kernel panics on boot. 2.6.38-ARCH

This issue is happening to me as well, though I wrongly assumed it was my browsers since they'd segfault and stuff, too.

AMD Phenom 2 x6 1090T
8 GB RAM
onboard ATI Radeon HD4250 using xf86-video-ati
stock kernel, everything up to date as of tonight

EDIT: My topic on it can be found here.

Last edited by xelados (2011-05-30 04:42:02)

Offline

#27 2011-05-30 11:06:22

clearloon
Member
Registered: 2009-01-07
Posts: 79

Re: Random kernel panics on boot. 2.6.38-ARCH

[NOT SOLVED] - still happening 1 in 3 boots...

Recent updates to udev 171-1 &  kernel 2.6.38.7-1 seem to have resolved this for me.

Last edited by clearloon (2011-06-07 07:57:35)

Offline

#28 2011-05-30 12:40:02

vinipsmaker
Member
Registered: 2011-04-15
Posts: 34
Website

Re: Random kernel panics on boot. 2.6.38-ARCH

clearloon wrote:

I have udev 168-2 and the issue persists for me. Workarounds for me are either:

1) unplug my external USB drive (not ideal as I use it for back-up)
2) downgrade the number of cores I run from 4 to 3
3) downgrade to kernel 2.6.38.5-1

Currently going with 3)

How can I dowgrade the number of running cores?


Sorry for my bad english

Offline

#29 2011-05-30 13:32:12

clearloon
Member
Registered: 2009-01-07
Posts: 79

Re: Random kernel panics on boot. 2.6.38-ARCH

@vinipsmaker - it's an option (for me) in BIOS

Offline

#30 2011-05-30 16:35:24

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: Random kernel panics on boot. 2.6.38-ARCH

clearloon wrote:

[SOLVED]

Recent updates to udev 171-1 &  kernel 2.6.38.7-1 seem to have resolved this for me.

I'm using those package versions and still get the problem.

EDIT: I tried kernel 2.6.39 from [testing] and still have the problem. I think the issue is either not found yet (and in the kernel) or somewhere in udev.

Last edited by xelados (2011-05-30 17:41:50)

Offline

#31 2011-05-30 18:45:36

vinipsmaker
Member
Registered: 2011-04-15
Posts: 34
Website

Re: Random kernel panics on boot. 2.6.38-ARCH

clearloon wrote:

[SOLVED]

Recent updates to udev 171-1 &  kernel 2.6.38.7-1 seem to have resolved this for me.

Same for me. I'll use hoping not see the kernel panic screen ever again.


Sorry for my bad english

Offline

#32 2011-05-31 15:22:18

PReP
Member
From: Sweden
Registered: 2010-06-13
Posts: 359
Website

Re: Random kernel panics on boot. 2.6.38-ARCH

I wonder if it is the same bug, since it seems resolved for some of us.
The kernel panic, at boot, when usb harddrive is getting detected - right before the init-scripts and daemons start.
Mine was fixed, as written earlier.
Peculiar.

Does your kernel panics happen before the daemons kick in?
If not, it might be something else, what deamons are you starting at boot?
I only have: (syslog-ng network crond alsa).


. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)

Offline

#33 2011-05-31 16:02:55

PReP
Member
From: Sweden
Registered: 2010-06-13
Posts: 359
Website

Re: Random kernel panics on boot. 2.6.38-ARCH

Oh the absolute irony!

I just got back from another of these kernel panic boots, after trying to see (switch from alsa) if oss would detect my new p67 intel motherboard soundcard yet,
it did not, but that is another subject and thread.

The third boot, when returning things to alsa again (not related), i yet again got a kernel panic thanks to my usb-drive.
This time the init-part just got started, where it would mount filesystems and such from fstab, and then kernel paniced.

What i notice, is that the usb drive is not always "whirring up" from it's sleep state when i reboot.
I have already cursed the samsung drive since it has a hard-set sleep after about 15/20 seconds of inactivity, and it takes time for it to come back.

The feeling i get when a boot will fail, is that it does not "clunk, whirr and zzzzwroom" up when the bios posts the connected drives,
and that it is at such times that the kernel panic will happen later when booting arch.

Just as in the mailing list, i read and posted earlier in this thread, it is as if udev or something, does not wait just a millisecond more to be sure that the drives are ready.
But it still was earlier in the boot, before init , it happened before.
This now, is when the init system has started.

Last edited by PReP (2011-05-31 16:04:19)


. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)

Offline

#34 2011-06-03 17:56:05

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Re: Random kernel panics on boot. 2.6.38-ARCH

Hello, I have simillar problems:

Everthing is up, KDE4 etc... and often when I plug in my Voyager GT 16GB usb stick in usb slot, I have kernel panic, my keyboard starts flashing with all the leds and nothing responds. I have to do a hard reset. Also happens with a differend USDB hard drive.

Today i left usb in slot when kernel panic occured, I did a hard reset and during boot, after mounting filesystem, around cups(it doesn't have absolutly anything with cups) I have a kernel panic and my keyboard starts flashing and I have to hard reset.

This happens on kernel 2.6.38.x, when I downgrade to 2.6.37.x everything works... BUT when I downgrade to 2.6.37 my xorg, nvidia are lower version also, its a dependency...

I also upgraded to udev -171-1 and problem is still here...

That is happening on HP 8200 Elite desktop computer with i5-2600 CPU...


EDIT: Anybody tried this? http://aur.archlinux.org/packages.php?ID=48268

I can't till monday...

EDIT2: This is what I get when kernel panics:

BUG: Unable to handle kernel NULL pointer dereference at 0000...04B
IP: elv_queue_empty+0x1b/ox30
PGD PUD PMB 0
Opps: PREEMPT SMP

Last edited by Clouseau (2011-06-06 07:38:20)

Offline

#35 2011-06-05 13:36:39

pingwingg
Member
Registered: 2011-06-05
Posts: 8

Re: Random kernel panics on boot. 2.6.38-ARCH

Hi
I am setting up server with:
Intel i5-2300
Gigabyte ga-q67m-d2h-b3
2 x 2GB Patriot DDR3

I can boot it only with acpi=off, I tried at first CentOS Linux, now I am trying on my favourite Arch Linux.

I get the same kernel panics as posted before, I tried already 2.6.38-ARCH, 2.6.39-1 from testing, 2.6.32-lts, 2.6.18 (stable kernel od CentOS).

Is there any significant BIOS switch I may have misconfigured? Or is there any way to boot with acpi?

Any idea?

Offline

#36 2011-06-12 08:14:27

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

Re: Random kernel panics on boot. 2.6.38-ARCH

Got kernel panic when plugged in my USB mp3 player. Got pretty much the same error which was on the screenshot in the first post.
Before that I had external HD plugged in without any problems.
Rebooted with both player and HD connected - no problems.
Happens very randomly... The same thing as with 2.6.38

Linux pc 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 6 22:37:55 CEST 2011 x86_64 AMD Athlon(tm) II X4 635 Processor AuthenticAMD GNU/Linux
All updates installed.
KDE 4.6.3

Offline

#37 2011-06-12 14:01:06

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

Re: Random kernel panics on boot. 2.6.38-ARCH

nah, happens every time when I try to connect a second usb storage device.
it sucks.

Offline

#38 2011-06-16 13:46:29

Tondu
Member
From: Göttingen
Registered: 2009-08-11
Posts: 22

Re: Random kernel panics on boot. 2.6.38-ARCH

Has anybody submitted a bug report on this problem ?
I encounter something quite similar when I'm playing DVDs. Sometimes (randomly), it leads to a kernel panic.
I have an AMD phenom II X4 processor and an ATI HD4670 graphic card.

Offline

#39 2011-06-17 08:11:52

Technotux
Member
Registered: 2011-04-11
Posts: 9

Re: Random kernel panics on boot. 2.6.38-ARCH

I just googled and this bug comes up for various Linux distributions, such as Gentoo, and Ubuntu, with the same kernel versions. Most of the bug reports have not been resolved, although this one, http://bit.ly/lHI2Yx , for Gentoo, seems like a patch to correct the issue was applied to the 2.6.39 kernel in Gentoo, it claims to be fixed by one of the testers, but still seems unresolved for the bug reporter . I consider this bug a showstopper, as it risks not only unsaved work being lost, but also data corruption. In any case it urgently needs attention.

Last edited by Technotux (2011-06-17 08:13:30)

Offline

#40 2011-06-17 09:15:40

Tondu
Member
From: Göttingen
Registered: 2009-08-11
Posts: 22

Re: Random kernel panics on boot. 2.6.38-ARCH

Thanks for this bug report. But I still wonder if it not related to udev more than the kernel ?
I've tried to downgrade the kernel and I still have random kernel panics when playing DVDs.

Offline

#41 2011-06-17 11:45:58

HTL2001
Member
Registered: 2011-06-16
Posts: 5

Re: Random kernel panics on boot. 2.6.38-ARCH

I think it would be udev also, since I've been on kernel-lts for a while now without this issue

Also, udev had a few strange issues come up recently (that got patched the day after I updated, but caused a bit of a panic when my RAID stopped showing up)

Last edited by HTL2001 (2011-06-17 11:46:54)

Offline

#42 2011-06-18 12:35:45

Technotux
Member
Registered: 2011-04-11
Posts: 9

Re: Random kernel panics on boot. 2.6.38-ARCH

Tondu I'm glad you mentioned having this problem playing DVD's, because it reminded me I have had the same happen to me twice  (although its very rare), simply loading a DVD into my internal IDE drive, during the 'mounting' phase, my system froze completely, kernel panic. So I don't think this kernel panic bug is isolated to just USB mounting.

Last edited by Technotux (2011-06-18 12:36:29)

Offline

#43 2011-06-18 14:20:00

badfish
Member
Registered: 2011-06-16
Posts: 4

Re: Random kernel panics on boot. 2.6.38-ARCH

If this is the same bug as the one in this thread, the solution may be to downgrade to kernel 2.6.38.5.

Offline

#44 2011-06-18 17:50:23

Tondu
Member
From: Göttingen
Registered: 2009-08-11
Posts: 22

Re: Random kernel panics on boot. 2.6.38-ARCH

Well, I don't think so. The problem was already here from the beginning of the 2.6.38 series (at least the random kernel panic when playing DVDs).

Last edited by Tondu (2011-06-18 17:57:03)

Offline

#45 2011-06-19 05:39:40

vinipsmaker
Member
Registered: 2011-04-15
Posts: 34
Website

Re: Random kernel panics on boot. 2.6.38-ARCH

I got another kernel panic here.
Some strange thing made all partitions of my usb hard drive unmount (it's probably the bad cable).
Then I tried to plug the hd randomly in other usb ports and I got another kernel panic exactly after plug the cable in usb port.


Sorry for my bad english

Offline

#46 2011-06-26 03:30:01

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

Re: Random kernel panics on boot. 2.6.38-ARCH

Just to share my experience.
I have rebuilt the stock kernel (kernel.org) with localmodconfig options plus the options that https://bbs.archlinux.org/viewtopic.php … 31#p947131 script gave me. Used -march=native, -mtune=native. No archlinux patches.
Checked 2.6.39.1, 2.6.39.2 - no problems with freezing no matter how many USB devices I connect/disconnect.
By the way, rebuilding the stock kernel with the config taken from 2.6.38-ARCH results in the same random freeze problems.

Offline

#47 2011-06-27 07:17:50

Tondu
Member
From: Göttingen
Registered: 2009-08-11
Posts: 22

Re: Random kernel panics on boot. 2.6.38-ARCH

Thanks aya for your feedback. Seems that the freeze comes from a patch. According to badfish, the patch to scsi_sysfs.c seems to be responsible of the bug.
Aya, could you try to recompile your kernel with only this patch included ? Then, if it is crashing we are sure that everything comes from this file, and therefore we can submit a bug report about it.

Last edited by Tondu (2011-06-27 07:19:24)

Offline

#48 2011-06-27 13:50:40

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

Re: Random kernel panics on boot. 2.6.38-ARCH

Hmm... The problem is that as I mentioned, I did not apply any patches in both cases. Just using the default config from 2.6.38-ARCH gave me the random freeze issues with the stock kernel (no patches). I am not sure if the .config options change in this case because of the patches applied to the archlinux kernel. Maybe it was not right to use .config from the (patched) archlinux kernel when building the stock kernel without any patches.

Offline

#49 2011-06-27 17:29:08

Tondu
Member
From: Göttingen
Registered: 2009-08-11
Posts: 22

Re: Random kernel panics on boot. 2.6.38-ARCH

Ok, so your opinion is that the crash comes from the configuration more than from the additional patch ?
According to badfish, 2.6.38.5 should work but 2.6.38.6 leads to some freeze. Which version did you try ?

Offline

#50 2011-06-28 01:46:13

aya
Member
From: Japan
Registered: 2011-06-12
Posts: 51

Re: Random kernel panics on boot. 2.6.38-ARCH

It is the only thing I can think of for now. Since I did not use any patches at all, nor I see any need for them at the moment.
I tried 2.6.38.8-1 and 2.6.39.1-1 with the default arch .config and had these freezing problems. I am using my custom-built 2.6.39.2 since the day it appeared on kernel.org and there are no problems whatsoever. Maybe I will try arch .config with 2.6.39.2 to see if freezes are still there. I just hope my btrfs would not pass away during the experiments )

Offline

Board footer

Powered by FluxBB