rx2600 console output with management card
Hello,
Does anyone know if there is some trick to getting linux console output through the management processor on the rx2600? all the documentation states that the management card processor output mirrors the system console when not it it's managment mode -- which it does until linux starts.
linux console works fine when plugged into the 'normal' serial port (which is labeled 'console'), but when plugged into the console output of the management card (via the provided splitter) I see none of linux's output. same problem via telnet -- everything stops when efi stops.
our hp support guy said he thinks hpux uses special /dev entries to output via the management card, i couldn't verify this.
some extra info :
we boot with console=ttyS0
From the EFI boot maintenance menu I have
* Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100)
* Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100)
* Acpi(HWP0002,700)/Pci(2|0)
selected as output/input/error devices.
from .config
#
# Serial drivers
#CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_ACPI is not setCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_8250_HCDP=y
# CONFIG_SERIAL_8250_EXTENDED is not set
any suggestions appreciated!
Quoted 7 lines · Ian Wienand
Hello,
Does anyone know if there is some trick to getting linux console output through the management processor on the rx2600? all the documentation states that the management card processor output mirrors the system console when not it it's managment mode -- which it does until linux starts.
Which version of firmware do you have installed? When I upgraded the System and BMC firmware to 1.05 (System = 1.82, BMC = 1.40) I suddenly got the same behavior.
Before the upgrade I had ttyS0 through the management processor, afterwards, however, I have the following mapping:
console/serial A: ttyS0 serial B: ttyS1 console/MP: ttyS3 (same as through the mangagement lan) remote/MP: ----- ups/MP: ttyS2
I would like to get the old behaviour back too.
/torkel
Hi Ian
We used the following setting :
In order to get the console output to the management board.
-> Boot option maintenance menu
-> Select active Console Output Device
-> Select the Console Output Device(s)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(PcAnsi)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100+)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(VtUtf8)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(PcAnsi)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100)
* Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100+)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(VtUtf8)
Acpi(HWP0002,700)/Pci(2|0)-> Save Settings to NVRAM
-> Exit
-> Select active Console Input Device
-> Select the Console Input Device(s)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(PcAnsi)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100+)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(VtUtf8)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(PcAnsi)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100)
* Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100+)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(VtUtf8)
-> Save Settings to NVRAM
-> Exit
-> Select active Console Standard Error Device
-> Select the Standard Error Device
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(PcAnsi)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100+)
Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(VtUtf8)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(PcAnsi)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100)
* Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100+)
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(VtUtf8)
Acpi(HWP0002,700)/Pci(2|0)
Save Settings to NVRAM
Exit-> Cold Reset
-----Message d'origine-----
De : Ian Wienand [mailto:[email protected]] Envoyé : jeudi 3 avril 2003 08:37
À : [email protected]; [email protected] Objet : [Linux-ia64] rx2600 console output with management card
Hello,
Does anyone know if there is some trick to getting linux console output through the management processor on the rx2600? all the documentation states that the management card processor output mirrors the system console when not it it's managment mode -- which it does until linux starts.
linux console works fine when plugged into the 'normal' serial port (which is labeled 'console'), but when plugged into the console output of the management card (via the provided splitter) I see none of linux's output. same problem via telnet -- everything stops when efi stops.
our hp support guy said he thinks hpux uses special /dev entries to output via the management card, i couldn't verify this.
some extra info :
we boot with console=ttyS0
From the EFI boot maintenance menu I have
* Acpi(PNP0501,0)/Uart(9600 N81)/VenMsg(Vt100)
* Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100)
* Acpi(HWP0002,700)/Pci(2|0)
selected as output/input/error devices.
from .config
#
# Serial drivers
#CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_ACPI is not setCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_8250_HCDP=y
# CONFIG_SERIAL_8250_EXTENDED is not set
any suggestions appreciated!
-i
[email protected]
http://www.gelato.unsw.edu.au
_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64
Quoted 8 lines · Björn Torkelsson
Quoted 7 lines · Ian Wienand
Hello,
Does anyone know if there is some trick to getting linux console output through the management processor on the rx2600? all the documentation states that the management card processor output mirrors the system console when not it it's managment mode -- which it does until linux starts.
Yes, there's a trick ;-( Here's how it works:
There's three methods for finding serial ports that apply to rx2600 w/ECI card. First, we parse the HCDP table. Second, we search the ACPI namespace for serial ports. Third, we walk the PCI busses looking for serial ports.
The two built-in serial ports are in the ACPI namespace, the ECI card actually contains a PCI bus where we find the serial ports. Firmware determines which port is listed in the HCDP table according to which Console Input & Console Output devices were listed first. Unfortunately, you can't tell which one was selected first, so the safe thing to do is make sure only one is listed.
Quoted 6 lines
Which version of firmware do you have installed? When I upgraded the System and BMC firmware to 1.05 (System = 1.82, BMC = 1.40) I suddenly got the same behavior.
Before the upgrade I had ttyS0 through the management processor, afterwards, however, I have the following mapping:
Yes, after upgrading your firmware, you have to restore your ConIn/ConOut to sane values.
Quoted 5 lines
console/serial A: ttyS0 serial B: ttyS1 console/MP: ttyS3 (same as through the mangagement lan) remote/MP: ----- ups/MP: ttyS2
Mmm.. not exactly. In the instance you quote here, ttyS3 would be the mirrored port. ttyS4 and ttyS5 are the local and remote sessions respectively.
Of course, it should be:
ttyS0 mirrored console
ttyS1 serial A
ttyS2 serial B
ttyS3 UPS
ttyS4 local session
ttyS5 remote session
once you fix your ConIn/ConOut settings.
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Quoted 11 lines · Matthew Wilcox
There's three methods for finding serial ports that apply to rx2600 w/ECI card. First, we parse the HCDP table. Second, we search the ACPI namespace for serial ports. Third, we walk the PCI busses looking for serial ports.
The two built-in serial ports are in the ACPI namespace, the ECI card actually contains a PCI bus where we find the serial ports. Firmware determines which port is listed in the HCDP table according to which Console Input & Console Output devices were listed first. Unfortunately, you can't tell which one was selected first, so the safe thing to do is make sure only one is listed.
Yup, when only:
Acpi(HWP0002,700)/Pci(1|1)/Uart(9600 N81)/VenMsg(Vt100+)
is listed as output then everything works as it should. Pity I can't have both the serial port and the on on the ECI card listed :-(
Thanks for your help!
/torkel