2.6 kernel panics and hangs at boot (due to IDE DMA issues?)

2.6 kernel panics and hangs at boot (due to IDE DMA issues?)

Post by Radosw Bal » Wed, 20 Apr 2005 09:10:10


Hello.

I've been trying to run Fedora Core 3 on dual P3 machine (Asus P2B-DS board, Intel BX chipset), but every time I try to boot it, it hangs moments after mounting local filesystems. It doesn't really matter if I boot SMP or non-SMP kernel and I've tried several, from 2.6.9 to latest 2.6.11-1 fresh from yum update. All I can do is boot rescue CD and chroot... Only once I got it to spit something that looked like this (sorry, I did not write it down at that time so it's just what I remember):

kernel panic - not syncing: drivers/ide/pci/piix.c:<something>:spin-lock (drivers/ide/ide.c:<something>) already locked by drivers/ide/dma.c

After few hours of trials and errors (and Google help) I finally got it running by adding ide=nodma to boot command line and by changing USE_DMA to =0 in /etc/sysconfig/harddisks. Now it boots every kernel it didn't before, SMP works fine, gcc recompiled kernel sources several time without single core dump, it's just without DMA disk data transfers are down to few MB/sec. Burning DVDs is short of impossible.

From what I found this is a well-known problem with FC 2 & 3, Suse 9.1 and some other distributions based on recent 2.6 kernels and not-so-new hardware. So far I've failed to properly compile a vanilla 2.6.11.7 kernel (hangs just before INIT) so I can't say anything about that one... If this is a known problem then please don't flame me. I have been looking for possible solutions and posting here is my last resort at getting one. If someone can just point me to some explanation I'll be on my way. And please do CC to me directly as I have not subscribed...

If this is a new problem then I'll be happy to assist and provide with logs and /proc infromations, it's just I wasn't sure I should include all that if this is perhaps some silly mistake on my behalf...

Looking forward to an answer
Radek

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/