Kernel panic in x86_64 with 6Gb memory
I just added 4Gb of memory to my x86_64 machine, running Mandriva 2007.0 x86_64, kernel 2.6.17-5mdv, ASUS motherboard, and was dismayed to find that it would not boot. Instead it gets a kernel panic while booting.
The panic message was "<0>Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing" and the backtrace was: class_device_create+123 snprintf+68 map_vm_area+583 pci_confl_write+204 agp_frontend_initialize+47 pci_device_probe+243 driver_probe_device+101 __driver_attach+0 __driver_attach+96 __driver_attach+0 bus_for_each_dev+73 bus_add_driver+136 __pci_register_driver+87 init+356 [I copied these by hand; my apologies for any garbling.] I have tried suggestions for booting with acpi=off, pci=nommconf, pci=bios, noapic, and nolapic, with no success. I gather there might be a mem=6144M option or something like that, too.... I am able to boot with only 2Gb, the memory is recognized by the BIOS, and I don't see any trouble in the full 6Gb with memtest. Any suggestions? Many thanks, Robert |
Not sure with mandrake.
I have never used mandrake, but I had to recompile my os to support large amounts of ram, might need to check and see if ou need to enable the support and then try adding it.
|
As I understand things, Mandriva/Mandrake used to have a 3GB and up special kernel (I may be misremembering, it may have been 4Gb and up), but they seem to have replaced their old large set of kernels with a single, general one.
If I had a reason to believe it might fix things, I'd be happy (well, ok, willing, if not happy!) to compile my own kernel. I used to do this all the time, but fell out of the habit. What keeps me from doing this is the suspicion that there may be just some thing I should be doing that I'm too dumb to do; some simple configuration option I'm missing. I hate to spend hours and hours on kernel configuration and compilation if it's just a kernel option that would fix things... It would help, of course, if it were easier to test --- having to power down, crack the case open, put in the sticks, restart, and then power down and remove the memory, every time I want to test will be very painful. So if there's some way to "turn off" the memory (kernel option?) so that I could run with the memory in but not messing things up, that would be very helpful. |
Quote:
|
I'm not entirely sure I understand. Why would mem=2048M be right instead of mem=6144M ?
Yes, I think there's a new BIOS to flash for my ASUS board. I'm going to try that, too, and see if that helps. Wish I could do this w/o having to open up the machine, plug in the memory, test, pull out the memory, etc. Wish there was some way to "hide" the extra 4G and boot with only 2G without having to physically unplug it. That would make the test cycle faster... Any way to accomplish this? |
That's the whole point of using mem=2048 - it tells the system to use only 2GB.
Check the available packages for your system; I'm sure you'll find one that fits your needs. I don't know a single distro that offers as many different kernels as Mandriva (dozens). I doubt whether flashing your BIOS will help - at worst, an outdated BIOS will prevent your machine from seeing all of the RAM but it shouldn't lead to kernel panics. Also: be very very careful flashing your BIOS - ASUS recently had a BIOS update that caused absolute mayhem on quite a few systems and there was NO way to undo it without RMAing! |
Quote:
Quote:
Quote:
|
Quote:
Quote:
Some have suggested the mismatch was problematic, but in the past when I've had that problem, the problem manifested in the BIOS, not in the Linux kernel. I have also had it suggested to me that the kernel might not be able to handle more than 4 GB. That seems odd for a 64-bit kernel, but what do I know.... Thanks for your help, Best, R |
Quote:
Quote:
Quote:
Quote:
|
You might also want to try a newer kernel if available 2.6.17 is rather old at this point in time.
|
The PAE kernel is a version designed for intel systems that can handle in excess of 4 gigs. Your mother board must be able to do likewise.
The 64 bit kernel and i386 versions appear, because of chip hardware constraints, limited to 4 gigs. |
I thought PAE was used for 32 bit kernels only?
|
Quote:
Adding the mem=2048 didn't seem to change anything, but I confess that I'm not entirely sure how to pass arguments to the kernel. I have just been doing failsafe mem=2048 and also failsafe mem=2048,noapic,nolapic,pci=nommconf I think this suggests that the problem is from one of two sources:
It's clearly not just a problem of having mismatched sticks (the mismatched sticks might be a problem, but they're clearly not the only problem. I will see about building a newer kernel. I am going to try to stick to one of the Mandriva kernels, recompiled so that I control the options myself, at first, but will then try a newer one from kernel.org. If anyone can suggest anything special I should do about building a kernel for this machine, I'd be very grateful. What's a PAE kernel? |
Quote:
Quote:
Quote:
|
Progress report
Quote:
By the way, when I have the two 1Gb sticks in the first pair of memory slots, I can now boot with mem=2048, which is a considerable relief to me! At least now I can work on this machine while getting it up to speed, and I don't need to be cracking the case open every time I need to test a possible fix! Quote:
I will try to investigate means of getting a more modern kernel with this Mandriva install. If it's not too painful, I will move up to Mandriva 2007.1, but I will first try the kernel-tmb... |
All times are GMT -5. The time now is 08:43 AM. |