Bug 133796
Summary: | Error message at boot time | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alan Cox <alan> |
Component: | mkinitrd | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | notting |
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: | 2004-10-26 13:41:03 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: |
Description
Alan Cox
2004-09-27 14:57:18 UTC
This error is from nash. Which is ENODEV. Bill -- what's the "raidautorun /dev/md0" sitting on line 219 of rc.sysinit there for? To start up any automatic raid arrays after loading all storage adapters. It's really hard to conditionalize on the presence of an array at that point. Note that running 'echo "raidautorun /dev/md0" | nash --quiet' on the commandline doesn't produce this error for me. Alan -- what version of udev do you have installed? Stock test2 or a later one? Stock test2 - still battling overloaded mirror sites to get to current Still present and I dont understand why it's assigned to mkinitrd. If I build a custom kernel with no initrd it -still- does this. nash produces the error, and it's in mkinitrd. It's coming from the call to nash in rc.sysinit, but it's not real obvious why, as I can't reproduce it. If you run: echo "raidautorun /dev/md0" | nash --quiet post-boot, does it print the error? If so, an strace of the nash end would be helpful. Are there any AVC messages on bootup? Post boot it does print the error if I do this. The strace is tiny - brk(), brk(), getppid(), getppid() then read(0, "raidauto...", 32767) = 21 access("/dev/md0", F_OK) = 0 open("/dev/md0", O_RDWR) = 3 ioctl(3, 0x914, 0) = -1 ENODEV fstat(1, ... } = 0 mmap(NULL .. [memory alloc]) write(1, "raidautorun: RAID_AUTORUN failed..., close(3) close(0) munmap([memory free]) exit_group No AVC What is the major/minor of your /dev/md0? 9, 0 Wait -- custom kernel? Does your custom kernel not have RAID built in? If so, that's why it's happening. Doh sorry - yes it is a custom kernel the RH kernel doesnt boot on that box (known fixed issue). It has raid modular. Does that mean it needs closing with "Alan is an idiot" ? Yeah, base RAID needs to be built-in so that we can do raid autorun. I just went through this exact same problem. Is there some reason mkinitrd can't include the md module on the boot disk and have nash modprobe it before raidautorun? It has no problem loading the raid1 module. |