Re: Serial console configured ... break to DDB still doesn't work ..

2006-12-27 Thread Jo Rhett
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 sooo close ...





- 
Marc G. Fournier   Hub.Org Networking Services (http:// 
www.hub.org)
Email . [EMAIL PROTECTED]  MSN .  
[EMAIL PROTECTED]

Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFhNbR4QvfyHIvDvMRAixhAJ9e9cCiPwiNKNmG0NMXiu/n4LICYACgjo1u
kxN3oWOD+d4W1cKpAKleexo=
=E40d
-END PGP SIGNATURE-

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


--
Jo Rhett
senior geek
Silicon Valley Colocation




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


Re: Serial console configured ... break to DDB still doesn't work ..

2006-12-18 Thread Vivek Khera


On Dec 17, 2006, at 12:34 AM, Marc G. Fournier wrote:

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 sooo close ...


Definitely use ALT_BREAK_TO_DEBUGGER and turn off the regular  
BREAK_TO_DEBUGGER.  The latter is dangerous depending on your serial  
console server device, or if  you plug in a cable into the port on a  
running system...




Serial console configured ... break to DDB still doesn't work ..

2006-12-16 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


so, I'm still missing a step here somewhere ...

First, this is an HP Proliant Server ... I've tried using ssh and telnet to 
connect to iLO, and used 'vsp' for the virtual serial port ...

Here's what I have so far ...

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 sooo close ...





- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFhNbR4QvfyHIvDvMRAixhAJ9e9cCiPwiNKNmG0NMXiu/n4LICYACgjo1u
kxN3oWOD+d4W1cKpAKleexo=
=E40d
-END PGP SIGNATURE-

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


Re: Serial console configured ... break to DDB still doesn't work ..

2006-12-16 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Got it!

ALT_BREAK_TO_DEBUGGER let's me do it ...

Thanks for your patience ... this has to have been one of the most painful 
serial console configurations I've yet to have to do :(



- --On Sunday, December 17, 2006 01:34:09 -0400 Marc G. Fournier 
[EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 so, I'm still missing a step here somewhere ...

 First, this is an HP Proliant Server ... I've tried using ssh and telnet to
 connect to iLO, and used 'vsp' for the virtual serial port ...

 Here's what I have so far ...

 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 sooo close ...





 - 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (FreeBSD)

 iD8DBQFFhNbR4QvfyHIvDvMRAixhAJ9e9cCiPwiNKNmG0NMXiu/n4LICYACgjo1u
 kxN3oWOD+d4W1cKpAKleexo=
 =E40d
 -END PGP SIGNATURE-



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFhNoE4QvfyHIvDvMRAk+vAJ93DsvXwmN6g0Jtu5tcTdngeKCdQgCgmnMR
UFiTl313myHqRLPHfNaP42E=
=zUOe
-END PGP SIGNATURE-

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