Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2012 15:53:44 -0400
From:      Brian McCann <bjmccann@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Booting from ZFS with serial console
Message-ID:  <CAE1yjPZL7eXt_q_HkOtrNq0=3sXOrvD4Oc5PTA42=B%2B_5_r32A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all.  I am in desperate need of some help with ZFS (maybe GPT) and
serial consoles.  I use 19200 for my console speed for everything, so I
recompiled the boot blocks using "BOOT_COMCONSOLE_SPEED="19200" " in
/etc/make.conf.  I then ran this to install new blocks to my two drives in
the mirror pair:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad4
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad6

If the keyboard is plugged in when the machine starts up, all is good.
 With the keyboard unplugged, I get a small error "dump" followed by "BTX
Halted".

I tried this with the files from the install DVD, and the same thing
happens..."BTX Halted" without a keyboard plugged in.

In both cases, /boot.config has : "-P -S19200".  I tried changing it to
"-Dh -S19200", and I get the "BTX Halted" on every boot now.

Can someone please shed some light on why it's crashing like this?  I'm
fairly confident this behavior is a bug and not "by design"...but I can't
believe that this bug would not be noticed up until now.

Thanks!
--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

"I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me."
                -- Bill Murray, "Ghostbusters"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE1yjPZL7eXt_q_HkOtrNq0=3sXOrvD4Oc5PTA42=B%2B_5_r32A>