[arch-general] Cannot boot since latest -Syu
Hi, Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized. I have checked that the mdadm hook is still present in /etc/mkinitcpio.conf I have tried re-running mkinitcpio -p linux -> no change. I have tried downgrading mkinitcpio to the previous version -> mkinitcpio complains about a missing file: /lib/modprobe.d/usb-load-ehci-first.conf then neither image works. I have tried downgrading the kernel -> no change. Is there something that I need to change in my configuration or should I file a bug? Thanks, Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
Have you also upgraded the mkinitcpio package to 0.8.6 (see https://bugs.archlinux.org/task/29229 for details on why)? Also, consider using the mdadm_udev hook. 2012/4/7, "Jérôme M. Berger" <jeberger@free.fr>:
Hi,
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized.
I have checked that the mdadm hook is still present in /etc/mkinitcpio.conf
I have tried re-running mkinitcpio -p linux -> no change.
I have tried downgrading mkinitcpio to the previous version -> mkinitcpio complains about a missing file: /lib/modprobe.d/usb-load-ehci-first.conf then neither image works.
I have tried downgrading the kernel -> no change.
Is there something that I need to change in my configuration or should I file a bug?
Thanks, Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
Thanks for your reply, Jochen Maes (Gcool) wrote:
Have you also upgraded the mkinitcpio package to 0.8.6 (see https://bugs.archlinux.org/task/29229 for details on why)?
Yes, mkinitcpio is at 0.8.6-2. I only tried downgrading to see if that solved my RAID problem, but it makes it worse.
Also, consider using the mdadm_udev hook.
Is that in addition to or instead of the mdadm hook? "mkinitcpio -H mdadm_udev" does not give much information. Jerome
2012/4/7, "Jérôme M. Berger" <jeberger@free.fr>:
Hi,
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized.
I have checked that the mdadm hook is still present in /etc/mkinitcpio.conf
I have tried re-running mkinitcpio -p linux -> no change.
I have tried downgrading mkinitcpio to the previous version -> mkinitcpio complains about a missing file: /lib/modprobe.d/usb-load-ehci-first.conf then neither image works.
I have tried downgrading the kernel -> no change.
Is there something that I need to change in my configuration or should I file a bug?
Thanks, Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
-- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
mdadm_udev supports assembling the array via udev. The idea is to replace mdadm with mdadm_udev. 2012/4/7, "Jérôme M. Berger" <jeberger@free.fr>:
Thanks for your reply,
Jochen Maes (Gcool) wrote:
Have you also upgraded the mkinitcpio package to 0.8.6 (see https://bugs.archlinux.org/task/29229 for details on why)?
Yes, mkinitcpio is at 0.8.6-2. I only tried downgrading to see if that solved my RAID problem, but it makes it worse.
Also, consider using the mdadm_udev hook.
Is that in addition to or instead of the mdadm hook? "mkinitcpio -H mdadm_udev" does not give much information.
Jerome
2012/4/7, "Jérôme M. Berger" <jeberger@free.fr>:
Hi,
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized.
I have checked that the mdadm hook is still present in /etc/mkinitcpio.conf
I have tried re-running mkinitcpio -p linux -> no change.
I have tried downgrading mkinitcpio to the previous version -> mkinitcpio complains about a missing file: /lib/modprobe.d/usb-load-ehci-first.conf then neither image works.
I have tried downgrading the kernel -> no change.
Is there something that I need to change in my configuration or should I file a bug?
Thanks, Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
-- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
Jochen Maes (Gcool) wrote:
mdadm_udev supports assembling the array via udev. The idea is to replace mdadm with mdadm_udev.
Thanks, but I get the same result with mdadm_udev as with mdadm (and same with the latests kernel update for what it's worth). Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
On Sat, 07 Apr 2012 09:22:15 +0200 "Jérôme M. Berger" <jeberger@free.fr> wrote:
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized.
I had similar/same problem after recent upgrade and, after trying downgrading kernel etc., noticed that, somehow, my mkinitcpio.conf got messed during upgrade and was missing some of the required hooks. My conf looks like: HOOKS="base udev mdadm_udev autodetect lvm2 pata scsi sata usb filesystems usbinput" I've raid-1 setup with everything under lvm2. Sincerely, Gour -- There are principles to regulate attachment and aversion pertaining to the senses and their objects. One should not come under the control of such attachment and aversion, because they are stumbling blocks on the path of self-realization. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Gour wrote:
On Sat, 07 Apr 2012 09:22:15 +0200 "Jérôme M. Berger" <jeberger@free.fr> wrote:
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized.
I had similar/same problem after recent upgrade and, after trying downgrading kernel etc., noticed that, somehow, my mkinitcpio.conf got messed during upgrade and was missing some of the required hooks.
My conf looks like:
HOOKS="base udev mdadm_udev autodetect lvm2 pata scsi sata usb filesystems usbinput"
I've raid-1 setup with everything under lvm2.
My conf looks like this: HOOKS="base udev fsck autodetect pata scsi sata mdadm filesystems usbinput shutdown" RAID-1 or 5 depending on the partitions, no lvm. Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
On Tue, 10 Apr 2012 20:16:20 +0200 "Jérôme M. Berger" <jeberger@free.fr> wrote:
HOOKS="base udev fsck autodetect pata scsi sata mdadm filesystems usbinput shutdown"
Are you sure your HOOKS line is not commented? In my case, it was not, after update. Sincerely, Gour -- The working senses are superior to dull matter; mind is higher than the senses; intelligence is still higher than the mind; and he [the soul] is even higher than the intelligence. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
On Sat, 07 Apr 2012 09:22:15 +0200 "Jérôme M. Berger" <jeberger@free.fr> wrote:
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized.
Have you tried to boot with liveCd, chroot, rebuild your images? (don't forget to mount /boot). Can you access your RAID arrays from within liveCD? Sincerely, Gour -- Even if you are considered to be the most sinful of all sinners, when you are situated in the boat of transcendental knowledge you will be able to cross over the ocean of miseries. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Gour wrote:
On Sat, 07 Apr 2012 09:22:15 +0200 "Jérôme M. Berger" <jeberger@free.fr> wrote:
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized.
Have you tried to boot with liveCd, chroot, rebuild your images? (don't forget to mount /boot).
Well, the fallback image works so I don't need a livecd to rebuild the images. However I have made some tests that caused the fallback image to fail too and in that case I did rebuild the image from a livecd.
Can you access your RAID arrays from within liveCD?
Yes, as well as with the fallback image. Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
Jérôme M. Berger wrote:
Gour wrote:
On Sat, 07 Apr 2012 09:22:15 +0200 "Jérôme M. Berger" <jeberger@free.fr> wrote:
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized. Have you tried to boot with liveCd, chroot, rebuild your images? (don't forget to mount /boot).
Well, the fallback image works so I don't need a livecd to rebuild the images. However I have made some tests that caused the fallback image to fail too and in that case I did rebuild the image from a livecd.
Can you access your RAID arrays from within liveCD?
Yes, as well as with the fallback image.
I believe I have progressed: when listing the contents of the initramfs, the md_mod and raid456 modules are not included. And since my root partition uses RAID-5... I'll try to add md_mod manually and see if that helps. Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
Jérôme M. Berger wrote:
Jérôme M. Berger wrote:
Gour wrote:
On Sat, 07 Apr 2012 09:22:15 +0200 "Jérôme M. Berger" <jeberger@free.fr> wrote:
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized. Have you tried to boot with liveCd, chroot, rebuild your images? (don't forget to mount /boot).
Well, the fallback image works so I don't need a livecd to rebuild the images. However I have made some tests that caused the fallback image to fail too and in that case I did rebuild the image from a livecd.
Can you access your RAID arrays from within liveCD?
Yes, as well as with the fallback image.
I believe I have progressed: when listing the contents of the initramfs, the md_mod and raid456 modules are not included. And since my root partition uses RAID-5... I'll try to add md_mod manually and see if that helps.
It is confirmed: I don't know where md_mod comes from (it appears in lsmod but I can't find it on the disk), but adding raid456 manually to MODULES fixes the issue. Anybody know why it suddenly stopped being included in my initramfs? Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
Jérôme M. Berger wrote:
Jérôme M. Berger wrote:
Jérôme M. Berger wrote:
Gour wrote:
On Sat, 07 Apr 2012 09:22:15 +0200 "Jérôme M. Berger" <jeberger@free.fr> wrote:
Since yesterday's upgrade, I cannot boot using the "normal" image. The fallback image still works. The issue is that my RAID arrays are not recognized. Have you tried to boot with liveCd, chroot, rebuild your images? (don't forget to mount /boot).
Well, the fallback image works so I don't need a livecd to rebuild the images. However I have made some tests that caused the fallback image to fail too and in that case I did rebuild the image from a livecd.
Can you access your RAID arrays from within liveCD?
Yes, as well as with the fallback image.
I believe I have progressed: when listing the contents of the initramfs, the md_mod and raid456 modules are not included. And since my root partition uses RAID-5... I'll try to add md_mod manually and see if that helps.
It is confirmed: I don't know where md_mod comes from (it appears in lsmod but I can't find it on the disk), but adding raid456 manually to MODULES fixes the issue. Anybody know why it suddenly stopped being included in my initramfs?
Same again, since the latest -Syu the "normal" image fails to mount my RAID arrays but the "fallback" image works. This is even with "raid456" in MODULES... Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
"Jérôme M. Berger" [2012.04.19 0757 +0200]:
Same again, since the latest -Syu the "normal" image fails to mount my RAID arrays but the "fallback" image works. This is even with "raid456" in MODULES...
This is just a shot in the dark, but which MODULES line are you referring to, the one in rc.conf or the one in mkinitcpio.conf? For the module to be loaded as part of your ramfs, it should probably be included in the latter. Cheers, Norbert
Norbert Zeh wrote:
"Jérôme M. Berger" [2012.04.19 0757 +0200]:
Same again, since the latest -Syu the "normal" image fails to mount my RAID arrays but the "fallback" image works. This is even with "raid456" in MODULES...
This is just a shot in the dark, but which MODULES line are you referring to, the one in rc.conf or the one in mkinitcpio.conf? For the module to be loaded as part of your ramfs, it should probably be included in the latter.
The latter. If you read the whole thread, you'll see that I had the same symptoms last week and solved the issue by adding raid456 to MODULES in mkinitcpio.conf. Then this morning the issue appeared again: although raid456 was in the initramfs (as evidenced by running lsmod when the boot failed) the RAID arrays were not found (as evidenced by cat /proc/mdstat). Funny thing is: tonight it worked although I hadn't changed anything (no updates, no config changes, nothing). Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
participants (4)
-
"Jérôme M. Berger"
-
Gour
-
Jochen Maes (Gcool)
-
Norbert Zeh