Skip to contentSkip to conversation

Bug in kernel: console support STI/serial

parisc-linux Christoph Plattner 1 participant 2 messages Apr 25, 2001 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello PA-RISCers !

I tried the STI console for the first time on a 712/60 workstation but found a problem in handling console devices.

I compiled the kernel with SUPPORT for both consoles, the serial and the STI.

Per definition:
---------------
If no console=xxx' the default is tty0', and the "current" virtual console is used.

The user can also select the console via command line parameter for kernel: `console=ttyS0' for example for the serial console.

Problem:
--------
On the current kernel, if I do not use the `console=' parameter, the kernel does following:

Boot,...
Output:
Switching from PDC console ...

And now on the serial line !!!!! the output:
Switching to STI console ....

Here is the error: Linux know's, it must use the STI but uses the serial console.

I have not analysed the code fully, yet. Dependent on my spare time, I can deliver a bug fix or point out the position of the wrong code.

------

By the way: How can I set the 712/60 to use serial PCD console (command `path' does not work for console !)

Cheers
Christoph P.

------------------------------------------------------------

private:  [email protected]
company:  [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello,
thanks for the prompt answer.

First of all Linux supports more than one console, (defined with commans behind `console='), but this is not the toppic here.

In a normal (iX86) linux kernel many console supports can be activated (per config), but only one (!) of these consoles are used !

So I compiled in support for serial and support for STI, but I only use STI (default, no `console=' parameter used).

The output shows the usage of STI, too. So Linux decide to use STI, but the output (and input) is done on the serial console driver. This is really a bug.

The HELP button in for serial console support definitly "says", that this only activates the support, but the serial console is only used, if `console=ttyS0' is specified.

-----

BTW: Is there anyone who knows how to activate serial console on the 712/60 in the PDC console. Normally "path console" or "path keyboard" can be used. But not on 712/60 !!

-------

With friendly regards
Christph Plattner

Quoted 14 lines · Thomas Marteau

Hi Christoph

As far as I know, the kernel is not capable to manage two consoles. But, if you
want to specify one precisely, you can try to give a console parameter to the kernel with "console=tty"

Quoted 6 lines

By the way: How can I set the 712/60 to use serial PCD console (command `path' does not work for console !)

Cheers
Christoph P.

Good Luck, Thomas
ESIEE Team

Signature · 4 lines
  +--------V--------+	[email protected]
  |  A L C A T E L  |	-----------------------------
  +-----------------+	Phone: +43 1 27722 3706	
         T A S		Fax:   +43 1 27722 3955