Serial console configured ... break to DDB still doesn't work ..
Jo Rhett
jrhett at svcolo.com
Wed Dec 27 15:54:43 PST 2006
Just FYI, "hints" aren't. Er, acpi ignores them. We found that if
ACPI wants 2F8 on a given sio port, it was better ... er, only
worked ;-) if we configured device.hints to match what ACPI expected.
FYI, you might find "-dH" in /boot.config to be more useful that the
console setting in loader.conf. It sets console=comconsole by
default, but leaves you able to override it from the vid console if
you are at the keyboard when it boots. Very useful.
On Dec 16, 2006, at 9:34 PM, Marc G. Fournier wrote:
> kernel is built so that it uses COM2 (0x2F8) as comconsole, and I
> have the
> following in my /boot/loader.conf:
>
> hint.sio.0.flags="0x30"
> hint.sio.0.port="0x2F8"
> hint.sio.0.irq="3"
> console="comconsole vidconsole"
> comconsole_speed="115200"
> boot_multicons="yes"
>
> Now, I had missed a step from the handbook, and that was to
> configure my boot
> blocks for the change in com port ... or, rather, I added the
> settings to
> /etc/make.conf, 'cd /sys/boot; ...' and installed them, just forgot
> to do the
> bsdlabel ... type'd reboot, slap'd my forehead for not remembering,
> but,
> everything came up as expected ... so, does the hint.sio stuff
> above override
> the requirement to set things in /etc/make.conf and do bsdlabel?
> The handbook
> instructions seem to be from pre-6.x days as it is, as it still
> talks about
> configuring sio via the kernle config ...
>
> So, I reboot, on my VSP, I get all of the normal device probe stuff
> that one
> would expect, and, thanks to my getty on port ttyd0,I get a login
> prompt ...
> all great.
>
> Now, through telnet to ilo, I do:
>
> ^]send break
>
> nadda, doesn't drop me to the debugger ... so, I suspect that ilo
> is trapping
> the break and not passing it to the backend / DDB?
>
> Now, funny thing ... I did do a reset of iLO, which proceeded to
> drop the
> system into DDB ... so, somehow, I have to get iLO to send that
> break ... ?
>
> I'm double checking with ALT_BREAK_TO_DEBUGGER set, to see if I can
> get *that*
> to work ... but, if anyone has any thoughts on this, please, I'm
> all ears ...
> I'm sooooooo close ...
>
>
>
>
>
> - ----
> Marc G. Fournier Hub.Org Networking Services (http://
> www.hub.org)
> Email . scrappy at hub.org MSN .
> scrappy at hub.org
> Yahoo . yscrappy Skype: hub.org ICQ . 7615664
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (FreeBSD)
>
> iD8DBQFFhNbR4QvfyHIvDvMRAixhAJ9e9cCiPwiNKNmG0NMXiu/n4LICYACgjo1u
> kxN3oWOD+d4W1cKpAKleexo=
> =E40d
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-
> unsubscribe at freebsd.org"
--
Jo Rhett
senior geek
Silicon Valley Colocation
More information about the freebsd-stable
mailing list