Bug 129635
Summary: | kernel 2.6.7-1.503 and later panic on startup | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alex Kiernan <alex.kiernan> |
Component: | mkinitrd | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | byte, jlaska, nobody+pnasrat, streeter, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | powerpc | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-19 11:46:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 121179, 123268 |
Description
Alex Kiernan
2004-08-11 08:08:39 UTC
What version of mkinitrd are you using? Talking with dwmw2 seems to think it's mkinitrd-4.0.0-1 specific. Can you roll back mkinitrd and regenerate the initrd and confirm that it will boot. Rolling back to mkinitrd-3.5.22-1 and rebuilding the initrd does fix the problem. Assign to owner Can you check rebuilding initrd with current rawhide mkinitrd-4.0.2-1 also. Switching to mkinitrd-4.0.2-1.ppc it crashes as before. I think it's something wrong with using root=LABEL=/ commandline option and the new mkinitrd. Can you try it with root= your real root device/partition? That fixed a similar failure for me. Can you also remove quiet from your boot params and give all of the output after "Red Hat nash version 4.... starting"? Moving back to 4.0.2-1, changing yaboot.conf to have root=/dev/sda3, running ybin & rebuilding the initrd, it still panics on startup. Looking a bit more closely, it looks like the filesystem which mkinitrd is generating isn't a filesystem... If I gunzip one generated by 3.5.22 (-501) and one generated by 4.0.2 (-509): initrd-2.6.7-1.501: Linux rev 1.0 ext2 filesystem data initrd-2.6.7-1.509: ASCII cpio archive (SVR4 with no CRC) Looking at initrd-2.6.7-1.509, it does indeed appear to be cpio archive. Yes, they're intentionally cpio archives now and not a filesystem. Technically, it's an initramfs now and not an initrd. Lalala... pay no attention to the man behind the curtain Okay :) I don't actually have any quiets on any of my startup stuff though... If I remove all the `--quiet's from mkinitrd, I get: (running in test mode). Red Hat nash version 4.0.2 starting No module scsi_transport_spi found for kernel 2.6.7-1.509, aborting. But I'm not sure thats the same problem (having hacked it like that, it $? = 1, rather than 0 which is what I get from /sbin/mkinitrd) In fact, I'm sure that error's bogus... I just don't understand why. Its just occurred to me it may not be clear where this is happening in the startup process - nash has been started as init & has got all the way to the end of its script & is trying to switch the root across to the real root - "Switching to new root". Could you try again with mkinitrd 4.0.4 (will be at http://people.redhat.com/~katzj/mkinitrd/ as soon as it's done building)? Will do, though I'm not going to be back near the machine in question for about a week - sorry. 4.0.4-1 doesn't fix it for me. concur with dwmw2's comment#15 ... with 515 kernel still getting panic on can't find init switchroot : mount failed : 22 I can confirm this with mkinitrd-4.0.4-1 and kernel-2.6.7-1.517. Oops, I suck. 4.0.5 is up in the same place and really should fix it (I've tested it as well as erikj this time :) This is working fine for me know w/ mkinitrd-4.0.6-1 |