public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] rx2600 console output with management card
@ 2003-04-03  6:36 Ian Wienand
  2003-04-03  6:53 ` Björn Torkelsson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ian Wienand @ 2003-04-03  6:36 UTC (permalink / raw)
  To: linux-ia64

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 set
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_HCDP=y
# CONFIG_SERIAL_8250_EXTENDED is not set

any suggestions appreciated!

-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Linux-ia64] rx2600 console output with management card
  2003-04-03  6:36 [Linux-ia64] rx2600 console output with management card Ian Wienand
@ 2003-04-03  6:53 ` Björn Torkelsson
  2003-04-03  7:34 ` Carron, Thierry
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Björn Torkelsson @ 2003-04-03  6:53 UTC (permalink / raw)
  To: linux-ia64

On Thu, 2003-04-03 at 08:36, Ian Wienand wrote:
> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [Linux-ia64] rx2600 console output with management card
  2003-04-03  6:36 [Linux-ia64] rx2600 console output with management card Ian Wienand
  2003-04-03  6:53 ` Björn Torkelsson
@ 2003-04-03  7:34 ` Carron, Thierry
  2003-04-03 12:30 ` Matthew Wilcox
  2003-04-03 14:35 ` Björn Torkelsson
  3 siblings, 0 replies; 5+ messages in thread
From: Carron, Thierry @ 2003-04-03  7:34 UTC (permalink / raw)
  To: linux-ia64

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:ianw@gelato.unsw.edu.au]
Envoyé : jeudi 3 avril 2003 08:37
À : linux-ia64@linuxia64.org; debian-ia64@lists.debian.org
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 set
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_HCDP=y
# CONFIG_SERIAL_8250_EXTENDED is not set

any suggestions appreciated!

-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au



_______________________________________________
Linux-IA64 mailing list
Linux-IA64@linuxia64.org
http://lists.linuxia64.org/lists/listinfo/linux-ia64


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Linux-ia64] rx2600 console output with management card
  2003-04-03  6:36 [Linux-ia64] rx2600 console output with management card Ian Wienand
  2003-04-03  6:53 ` Björn Torkelsson
  2003-04-03  7:34 ` Carron, Thierry
@ 2003-04-03 12:30 ` Matthew Wilcox
  2003-04-03 14:35 ` Björn Torkelsson
  3 siblings, 0 replies; 5+ messages in thread
From: Matthew Wilcox @ 2003-04-03 12:30 UTC (permalink / raw)
  To: linux-ia64

On Thu, Apr 03, 2003 at 08:53:03AM +0200, Björn Torkelsson wrote:
> On Thu, 2003-04-03 at 08:36, Ian Wienand wrote:
> > 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.

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

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

-- 
"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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Linux-ia64] rx2600 console output with management card
  2003-04-03  6:36 [Linux-ia64] rx2600 console output with management card Ian Wienand
                   ` (2 preceding siblings ...)
  2003-04-03 12:30 ` Matthew Wilcox
@ 2003-04-03 14:35 ` Björn Torkelsson
  3 siblings, 0 replies; 5+ messages in thread
From: Björn Torkelsson @ 2003-04-03 14:35 UTC (permalink / raw)
  To: linux-ia64

On Thu, 2003-04-03 at 14:30, Matthew Wilcox wrote:

> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-04-03 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-03  6:36 [Linux-ia64] rx2600 console output with management card Ian Wienand
2003-04-03  6:53 ` Björn Torkelsson
2003-04-03  7:34 ` Carron, Thierry
2003-04-03 12:30 ` Matthew Wilcox
2003-04-03 14:35 ` Björn Torkelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox