Bug 207341
Summary: | mkinitrd: Network Driver Detection prior to NFS Mount | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Warren Togami <wtogami> |
Component: | mkinitrd | Assignee: | Peter Jones <pjones> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | cr33dog |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-18 22:31:56 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: | 188611 |
Description
Warren Togami
2006-09-20 19:12:32 UTC
Before mkinitrd can reasonably do that, we need a method of querying the modules to see what we should consider candidates to bring in, rather than having a static list of all "network modules". How do you propose to do that? I've got an implementation that will work for doing this based off of mkinitrd's bash-branch. We just need to merge those changes over early in F9 and this can be done. Doing it for F8 is pretty risky at this stage, though, as it's a pretty big change to how mkinitrd works. # If we have ide devices and module ide, do the right thing ide=/proc/ide/ide* if [ -n "$forceide" -o -n "$ide" -a "x$PROBE" == "xyes" ]; then findmodule -ide-disk fi This code never did work properly. 1) ide=/proc/ide/ide* makes $ide == "/proc/ide/ide*", it never did probe. 2) As a result of that, -n "$ide" always was true. 3) /proc/ide doesn't even exist now. 4) ide-disk module doesn't exist now either. Should we just remove this block, --force-ide-probe and PROBE? http://fedorapeople.org/~wtogami/mkinitrd-bash/ commit e78ceca815fd704f8ae1ae692d08c239287e3c74 Author: Warren Togami <wtogami> Date: Thu Nov 8 00:44:08 2007 -0500 if /sbin/busybox exists, copy it in for debugging it contains many useful debugging commands like openvt, dmesg, lsmod, ifconfig, etc. commit 065fbf53a83355493021c88e24194fee6992491d Author: Warren Togami <wtogami> Date: Thu Nov 8 00:16:10 2007 -0500 s/network/nash network/ commit 125b29316b8c830888dc9a98d97b07d9bec20721 Author: Warren Togami <wtogami> Date: Thu Nov 8 00:02:14 2007 -0500 Make this error check actually work as intended. commit e0bd7adc1b0ba7ee986b2295a476258676fc4319 Author: Warren Togami <wtogami> Date: Wed Nov 7 17:05:40 2007 -0500 seq is needed always, not just during $live DHCPACK from 172.31.100.254 bound to 172.31.100.224 -- renewal in 9674 seconds. mount: wrong fs type, bad option, bad superblock on 172.31.100.254:/opt/ltsp/i386, missing codepage or helper program, or other error In some casees useful info is found in syslog - try dmesg | tail or so qecho Creating root device. nash mkrootdev -t nfs -o defaults,ro 172.31.100.254:/opt/ltsp5/i386 qecho Mounting root filesystem. mount /sysroot The equivalent is working with mkinitrd-6.0.19-4.fc8. Trying more on this tomorrow. git clone http://fedorapeople.org/~wtogami/mkinitrd/ If you want to try my branch... be sure to build the entire package, because nash is incompatible with the standard mkinitrd nash. https://bugzilla.redhat.com/show_bug.cgi?id=424591 Proposed patches for upstream mkinitrd is over at this other bug. The original purpose of this bug is now fixed in mkinitrd for F9. Closing. The NBD part continues in Bug #424591. |