Re: 5.5 release schedule?

2005-09-13 Thread David Clear

Thanks for the update guys.

Regards,
David.

--- Colin Percival <[EMAIL PROTECTED]> wrote:

> David Clear wrote:
> > Does anyone know the status of 5.5-RELEASE?  The
> > schedule on the website shows it due in September,
> but
> > another note had it following 6.0.
> 
> FreeBSD 5.5 is definitely going to be after 6.0. 
> The exact time
> will depend upon when 6.0 is finished -- the release
> engineering
> team can only handle one release at once -- but
> since it is the
> last release from RELENG_5 there is no reason to
> expect that the
> process for 5.5 will be at all problematic.
> 
> Based on a guess of mid-October for 6.0, I'd guess
> that 5.5 will
> probably happen just in time for Christmas (and it
> would then be
> supported by the security team until the end of
> 2007).
> 
> Colin Percival
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.5 release schedule?

2005-09-13 Thread David Clear

Hi,

Does anyone know the status of 5.5-RELEASE?  The
schedule on the website shows it due in September, but
another note had it following 6.0.

Any updates on this?

Regards,
David.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Step-by-step instructions for MD_ROOT embedded, please?

2005-03-25 Thread David Clear

Here you go (found on the web):

1. Create a filesystem image:

# dd if=/dev/zero of=mdimage -bs=1024 count=4096
# mdconfig -a -t vnode -f mdimage -s 4096k -u 4
# disklabel -r -w md4 auto
# newfs /dev/md4c
# mount /dev/md4c /mnt
 .
 . put stuff on it
 .
# umount /mnt
# mdconfig -d -u 4

2. Make sure you have the kernel options:
options MD_ROOT
options MD_ROOT_SIZE=4096

...and rebuild.

3. As you said, compiling
/usr/src/release/write_mfs_in_kernel.c from
FreeBSD-4.11 with SBOFF set to 64K will work.  You'll
also need to #include  prior to
fs.h.

4. Set vfs.root.mountfrom to "ufs:md0" in
/boot/loader.conf.

Works for me on 5.3-RELEASE.

Good luck.

Regards,
David.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD-4.11 - Need help with booting with an MD_ROOT

2005-03-10 Thread David Clear
I have been trying, unsuccessfully, to boot a
kernel with an embedded root filesystem.  I've
searched the mailing lists and the web without finding
an answer.  I hope someone here can help.

Here's the procedure I have used:

1. My kernel is built with options: MFS, MD_ROOT and
MD_ROOT_SIZE=32768.

2. A disk image is produced using:

cd /
dd if=/dev/zero bs=1024 count=32768 of=mdimg
vnconfig -s labels -c vn0 mdimg
disklabel -rw vn0 auto
disklabel -e vn0
copy the c: to a: and change the FS type to 4.2BSD
newfs -b 8192 -f 1024 -U /dev/vn0a
mount /dev/vn0a /mnt
tar cf - bin etc sbin | ( cd /mnt && tar xpf - )
umount /mnt
vnconfig -u vn0

The filesystem contents aren't supposed to be useful
at this point - I just want to get it to mount

3. I install the filesystem image into the kernel
using:

/usr/src/release/write_mfs_in_kernel kernel mdimg

4. In /boot/loader.conf I add:

vfs.root.mountfrom="ufs:/dev/md0a"

Now I reboot with the kernel, and I get:

Mounting root from ufs:/dev/md0a
Root mount failed: 22
Mounting root from ufs:/dev/md0c
Root mount failed: 22

... and then it prompts for a root filesystem.


The EINVAL (error 22) is coming from
kern/subr_diskslice.c:806:

if (part != RAW_PART
&& (sp->ds_label == NULL || part >= sp->ds_label))
  return (EINVAL);/* XXX needs translation */

Specifically, part = 0 (!= RAW_PART) and sp->ds_label
= NULL.


I hope it's a trivial step I am missing, but right now
I am stuck.

Sage advice is appreciated.

Regards,
David.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"