From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Description of problem: I installed the kernel-2.6.12-1.1370_FC3.i686.rpm and kernel-smp-2.6.12-1.1370_FC3.i686.rpm files (from http://people.redhat.com/davej/kernels/Fedora/FC3/RPMS.kernel/) to test the new kernel for my DVB-S Card. Booting the non-smp one is fine (and my DVB card works great) however if I try to boot the smp kernel I get a kernel panic a little while after an insmod error about mptscsih.ko having an unknown symbol. This is running on an HP ProLiant ML350 G4 Server (info at http://h10010.www1.hp.com/wwpc/uk/en/sm/WF06b/521-525-358265-358265-12083545-11302097-15164387.html) Version-Release number of selected component (if applicable): 2.6.12-1.1370_FC3smp How reproducible: Always Steps to Reproduce: 1. Get an HP ProLiant ML350 G4 2. Install kernel-smp-2.6.12-1.1370_FC3.i686.rpm 3. Boot smp kernel Actual Results: Booting 'Fedora Core (2.6.12-1.1370_FC3smp)' root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /vmlinuz-2.6.12-1.1370_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet [Linux-bzImage, setup=0x1e00, size=0x17e806] initrd /initrd-2.6.12-1.1370_FC3smp.img [Linux-initrd @ 0x1fed9000, 0x109cea bytes] Uncompressing Linux... OK booting the kernel. pnp: Unable to assign resources to device 00:08 Red Hat nash version 4.1.18 starting insmod: error inserting '/lib/mptscsih.ko': -1 Unknown symbol in module Error /bin/insmod exited abnormally! insmod: error inserting '/lib/dm-mirror.ko': -1 Unknown symbol in module Error /bin/insmod exited abnormally! mount: error 6 mounting ext2 mount: error 2 mounting none switchroot: mount failed: 22 umount /initrd/dev failed: 2 kernel panic - not synching: Attempting to kill init! Expected Results: Computer should load drivers correctly and then boot up Additional info: I got this same error message when I tried building 2.6.12.1 kernel from source using kernel.org version. Thought I would try your version to see if it had been fixed.
This could be the same thing as bug 160652 Can't hurt to try upgrading you mkinitrd package and retesting.
Its booting now but I have another problem which is a side effect from this... just to document... I updated to mkinitrd from FC4 and that required that I updated to udev 057-3 though I could only find an rpm for udev 058-1 also for FC4 (both were downloaded from http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/). I then removed the kernel rpm's using -e and then installed them again. The system now boots fine and seemed to be working ok. I assume when you release the new kernel you will create new packages of mkinitrd and udev for FC3 as well to fix this issue. However my dvb drivers no longer work. They aren't creating the device nodes when I load the modules. I downgraded mkinitrd and udev back to their original versions and it works fine now. I assume its a problem with the new version of udev. The output to /var/log/messages looks exactly the same for both versions so maybe its just a configuration issue. Only thing that looks slightly suspect is the line... Jul 11 09:52:22 bloodhound hal.hotplug[4629]: DEVPATH is not set but that appears with both versions of udev... Not sure if I should issue a new bug report or not as I installed an FC4 rpm on FC3... not exactly something you support. Thanks for all your help!
An update has been released for Fedora Core 3 (kernel-2.6.12-1.1372_FC3) which may contain a fix for your problem. Please update to this new kernel, and report whether or not it fixes your problem. If you have updated to Fedora Core 4 since this bug was opened, and the problem still occurs with the latest updates for that release, please change the version field of this bug to 'fc4'. Thank you.
note that mixing and matching bits from different releases can sometimes lead to really obscure bugs, that are particularly awkward to diagnose. It may be in your best interest to reinstall with fc4 at some point.
I just installed the latest FC3 update (kernel-2.6.12-1.1372_FC3) and I'm seeing similar errors: mount: error 6 mounting ext3 mount: error 2 mounting none switchroot: mount failed: 22 umount /initrd/dev failed: 2 kernel panic - not synching: Attempting to kill init! This only happens when I boot the SMP kernel, the non-smp kernel works just fine. The machine is a vanilla FC3.
My experience is similar to Comment #5. Here's a little more info. Booting 2.6.11-1.35_FC3smp (which works fine), a slightly expanded console output looks like this: Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Loading aic79xx.ko module Creating root device Mounting root filesystem etc. Booting 2.6.12-1.1372_FC3smp (broken) looks like this: Loading scsi_mod.ko module Loading sd_mod.ko module SCSI subsystem initialized [note the different order, significant?] Loading aic79xx.ko module Creating root device mkrootdev: label / not found Mounting root filesystem mount: error 2 mounting ext2 mount: error 2 mounting none etc. I've torn the two respective initrds apart (zcat | cpio -idm). The directories are identical. The init files are identical. According to sfdisk, my labels are just fine.
*************************** Disclaimer: I don't work for RedHat *************************** I hate to see you guys banging your heads against the wall. http://www.adras.com/Race-condition-in-module-load-causing-undefined-symbols.t6648-141-3.html > The issue is that David Howells posted a patch that changed the behaviour of > kallsyms/insmod/rmmod sometime ago. The patch *is correct* in what it does, > however, the patch requires that /sbin/sh [in the initrd] must be aware of > pid returns by wait(). So basically, you should just be able to unpack your initrd, insert an updated /bin/sh and package it up again. Probably an easier thing is to just downgrade your kernel until a new mkinitrd package for FC3 is released.
Perhaps Mike D should change the component to mkinitrd, then, which will let whoever covers mkinitrd know there's something to do for fc3 and get this bug out of NEEDINFO status and moving forward. Dan C's comment seems pretty convincing. Anyone disagree?
I just checked the new 2.6.12-1.1372_FC3smp kernel and it didn't fix the problem so I'm gonna do as Allen K says and change the component to mkinitrd. Feel free to change it back if I shouldn't have...
*** This bug has been marked as a duplicate of 163437 ***