Kernel Bug Tracker – Bug 11460
2.6.27-rc3 to -rc4 regression: init 0 hangs in halt
Last modified: 2008-09-01 02:29:56 UTC
Latest working kernel version:
Earliest failing kernel version:
Desktop machine root fs on /dev/md0
boot to kdm splash. No login
Hangs in halt.
netconsole stops after nfsd shutdown.
I've taken some photos and will upload/link later.
Steps to reproduce:
init 0 from multiuser (single user is OK)
On Sunday, 31 of August 2008, David Greaves wrote:
> Rafael J. Wysocki wrote:
> > This message has been generated automatically as a part of a report
> > of recent regressions.
> > The following bug entry is on the current list of known regressions
> > from 2.6.26. Please verify if it still should be listed and let me know
> > (either way).
> > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11460
> > Subject : 2.6.27-rc3 to -rc4 regression: init 0 hangs in halt
> > Submitter : David Greaves <firstname.lastname@example.org>
> > Date : 2008-08-30 04:07 (1 days old)
> I'm trying to bisect it but came across a bug/problem in git doing bisects.
> (see message subject "setlocalversion wasn't producing git labels for bisect")
Restore force switch of md array to readonly at reboot time.
Neil's patch fixes it for me when applied to 2.6.27-rc5
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 8cfadc5..4790c83 100644
@@ -3841,8 +3841,6 @@ static int do_md_stop(mddev_t * mddev, int mode, int is_open)
- invalidate_partition(disk, 0);
case 1: /* readonly */
err = -ENXIO;