problems with sys/dev/md/md.c 1.108 and preloaded images

Luigi Rizzo rizzo at icir.org
Fri Dec 12 06:54:10 PST 2003


Poul,
rev.1.108 of sys/dev/md/md.c somehow prevents proper booting of
picobsd images -- i am seeing that over etherboot, but i believe
it also happens with floppy based kernels.

The symptoms are, with 1.108, the kernel output on the console
stops at the point indicated by ---> below, whereas reverting to
1.107 makes the boot process proceed.

    unknown: <PNP0c01> can't assign resources (port)
    Timecounter "TSC" frequency 3056509784 Hz quality 800
    Timecounters tick every 1.000 msec
    ipfw2 initialized, divert disabled, ...
--->
    g_provider 0xc68c7080 disappeared while tasting
    Mounting root from ufs:/dev/md0
    Loading /etc from MFS:/fd ...

This is with a freshly checked tree.
I tried with older trees (which is how i found out the problem),
and the problem appears between these two releases:

    lcvs update -Pd -D'20031118 10:18 PST' sys	# works
    lcvs update -Pd -D'20031118 10:20 PST' sys	# hangs

The above output was obtained with the following versions:

    lcvs update -Pd -r HEAD sys			# still hangs
    lcvs update -Pd -r 1.107 sys/dev/md/md.c	# works

Is this something easy to fix ? I am not familiar with the geom changes
to tell...

	cheers
	luigi



More information about the freebsd-current mailing list