lkml.org 
[lkml]   [2006]   [Jan]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromNeil Brown <>
DateThu, 12 Jan 2006 17:36:42 +1100
SubjectRe: 2.6.15-mm3 hangs during boot (raid related?)
On Thursday January 12, thunder7@xs4all.nl wrote:
> 
> 2.6.15-mm3 hangs during boot for me, after the lines
> 
> ========
> md4: bitmap initialized from disk: read 15/15 pages, set 51 bits, status: 0
> created bitmap (224 pages) for device md4
> ========
> 
> ctrl-alt-del to reboot works sometimes (2 out of 3). Below is complete
> dmesg (from 2.6.15-mm2, ver_linux output, .config and raid details).

Yep, this is probably a known problem with recent changes to the
'barrier' code.

Try to convince md not to use barrier by changing md_super_write in
drivers/md/md.c.  Simply remove

	if (!test_bit(BarriersNotsupp, &rdev->flags)) {
		struct bio *rbio;
		rw |= (1<<BIO_RW_BARRIER);
		rbio = bio_clone(bio, GFP_NOIO);
		rbio->bi_private = bio;
		rbio->bi_end_io = super_written_barrier;
		submit_bio(rw, rbio);
	} else
leaving the
		submit_bio(rw, rbio);

which comes after it.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-12 07:39    [from the cache]
©2003-2008