All of lore.kernel.org
 help / color / mirror / Atom feed
* console handover: boot [ttyB0] -> real [ttyS0]
@ 2009-12-12  9:31 Michal Ludvig
  2009-12-12 20:47 ` Thibaut VARENE
  0 siblings, 1 reply; 6+ messages in thread
From: Michal Ludvig @ 2009-12-12  9:31 UTC (permalink / raw)
  To: linux-parisc

Hi,

it is the first time I'm trying to install Linux on HP9000 rp3410
machine. I'm booting off Debian 5.0.3 CD, PALO selects 64bit kernel,
later on the kernel detects ttyS0 but the console output stops at:

PDC Stable Storage facility v0.30
STI GSC/PCI core graphics driver Version 0.9a
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
0000:e0:01.0: ttyS0 at MMIO 0xfffffffff4051000 (irq = 74) is a 16550A
console handover: boot [ttyB0] -> real [ttyS0]
<that's it>

I tried to pass serial=ttyS0 to the kernel but then the output stops a
wee while later as well:

STI GSC/PCI core graphics driver Version 0.9a
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
0000:e0:01.0: ttyS0 at MMIO 0xfffffffff4051000 (irq = 74) is a 16550A
0000:e0:01.1: ttyS1 at MMIO 0xfffffffff4050000 (irq = 74) is a 16550A
0000:e0:01.1: ttyS2 at MMIO 0xfffffffff4050010 (irq = 74) is a 16550A
0000:e0:01.1: ttyS3 at MMIO 0xfffffffff4050038 (irq = 74) is a 16550A
brd: module loaded
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 17
turn off boot console ttyB0
<that's it>

I'm connected over serial to MP and using COnsole from there.

What am I doing wrong / how to make it work?

Thanks!

Michal



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

* Re: console handover: boot [ttyB0] -> real [ttyS0]
  2009-12-12  9:31 console handover: boot [ttyB0] -> real [ttyS0] Michal Ludvig
@ 2009-12-12 20:47 ` Thibaut VARENE
  2009-12-14 23:39   ` Michal Ludvig
  0 siblings, 1 reply; 6+ messages in thread
From: Thibaut VARENE @ 2009-12-12 20:47 UTC (permalink / raw)
  To: Michal Ludvig; +Cc: linux-parisc

On Sat, Dec 12, 2009 at 10:31 AM, Michal Ludvig <mludvig@logix.net.nz> wrote:
> Hi,

Hi,

> I tried to pass serial=ttyS0 to the kernel but then the output stops a
> wee while later as well:

Try ttyS1

HTH

-- 
Thibaut VARENE
http://www.parisc-linux.org/~varenet/

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

* Re: console handover: boot [ttyB0] -> real [ttyS0]
  2009-12-12 20:47 ` Thibaut VARENE
@ 2009-12-14 23:39   ` Michal Ludvig
  2009-12-14 23:52     ` Thibaut VARENE
  2009-12-15  5:52     ` Grant Grundler
  0 siblings, 2 replies; 6+ messages in thread
From: Michal Ludvig @ 2009-12-14 23:39 UTC (permalink / raw)
  To: Thibaut VARENE; +Cc: linux-parisc

On 12/13/2009 09:47 AM, Thibaut VARENE wrote:
> On Sat, Dec 12, 2009 at 10:31 AM, Michal Ludvig <mludvig@logix.net.nz> wrote:
>> I tried to pass serial=ttyS0 to the kernel but then the output stops a
>> wee while later as well:
> 
> Try ttyS1

That's it, thanks!

Now I'm a bit confused - where are all the serial ports? I've got
'remote', 'console' and 'ups' pigtails hanging off the back of the
server. Are they all usable as ttySx? Is there one more port hidden
somewhere?

Is it configurable which one of ttyS0 - ttyS3 turns the ttyB0 boot
console to?

Michal



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

* Re: console handover: boot [ttyB0] -> real [ttyS0]
  2009-12-14 23:39   ` Michal Ludvig
@ 2009-12-14 23:52     ` Thibaut VARENE
  2009-12-15  5:52     ` Grant Grundler
  1 sibling, 0 replies; 6+ messages in thread
From: Thibaut VARENE @ 2009-12-14 23:52 UTC (permalink / raw)
  To: Michal Ludvig; +Cc: linux-parisc

On Tue, Dec 15, 2009 at 12:39 AM, Michal Ludvig <mludvig@logix.net.nz> wrote:
> On 12/13/2009 09:47 AM, Thibaut VARENE wrote:
>> On Sat, Dec 12, 2009 at 10:31 AM, Michal Ludvig <mludvig@logix.net.nz> wrote:
>>> I tried to pass serial=ttyS0 to the kernel but then the output stops a
>>> wee while later as well:
>>
>> Try ttyS1
>
> That's it, thanks!
>
> Now I'm a bit confused - where are all the serial ports? I've got
> 'remote', 'console' and 'ups' pigtails hanging off the back of the
> server. Are they all usable as ttySx? Is there one more port hidden
> somewhere?

This should answer your question:
http://wiki.parisc-linux.org/GuardianServiceProcessor

> Is it configurable which one of ttyS0 - ttyS3 turns the ttyB0 boot
> console to?

I'm not sure I can make sense of that question. At boot time you can
choose which physical port you want to hook your cable to (provided
it's a console port, see the above link) and it's then up to you to
make sure that you tell the kernel which UART you're connected to.

rp34xx machines' first ("default") console port is detected by the
linux kernel as ttyS1, this is due to inner workings of the kernel and
you have no control over that.


-- 
Thibaut VARENE
http://www.parisc-linux.org/~varenet/

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

* Re: console handover: boot [ttyB0] -> real [ttyS0]
  2009-12-14 23:39   ` Michal Ludvig
  2009-12-14 23:52     ` Thibaut VARENE
@ 2009-12-15  5:52     ` Grant Grundler
  2009-12-15  8:13       ` Michal Ludvig
  1 sibling, 1 reply; 6+ messages in thread
From: Grant Grundler @ 2009-12-15  5:52 UTC (permalink / raw)
  To: Michal Ludvig; +Cc: Thibaut VARENE, linux-parisc

On Tue, Dec 15, 2009 at 12:39:06PM +1300, Michal Ludvig wrote:
...
> Is it configurable which one of ttyS0 - ttyS3 turns the ttyB0 boot
> console to?

ttyB0 is the "PDC Console" device name - linux kernel is using PDC
to push characters to the device defined in PDC (aka BIOS) to be console.
Interrupt the autoboot process and look at "in all".

ttyS0-ttyS3 are enumerations of Serial devices that the linux kernel
discovers when respective drivers are loaded. ttyB0 and ttyS<n> are
just different drivers accessing the same HW - preferably not at the
same time and that's why the kernel stops using ttyB0 later.

That make more sense?

grant

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

* Re: console handover: boot [ttyB0] -> real [ttyS0]
  2009-12-15  5:52     ` Grant Grundler
@ 2009-12-15  8:13       ` Michal Ludvig
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Ludvig @ 2009-12-15  8:13 UTC (permalink / raw)
  To: Grant Grundler; +Cc: linux-parisc

Grant Grundler wrote:
> On Tue, Dec 15, 2009 at 12:39:06PM +1300, Michal Ludvig wrote:
> ...
>> Is it configurable which one of ttyS0 - ttyS3 turns the ttyB0 boot
>> console to?
> 
> ttyB0 is the "PDC Console" device name - linux kernel is using PDC
> to push characters to the device defined in PDC (aka BIOS) to be console.
> Interrupt the autoboot process and look at "in all".
> 
> ttyS0-ttyS3 are enumerations of Serial devices that the linux kernel
> discovers when respective drivers are loaded. ttyB0 and ttyS<n> are
> just different drivers accessing the same HW - preferably not at the
> same time and that's why the kernel stops using ttyB0 later.
> 
> That make more sense?

Yes it does :-) Thanks!

Michal

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

end of thread, other threads:[~2009-12-15  8:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-12  9:31 console handover: boot [ttyB0] -> real [ttyS0] Michal Ludvig
2009-12-12 20:47 ` Thibaut VARENE
2009-12-14 23:39   ` Michal Ludvig
2009-12-14 23:52     ` Thibaut VARENE
2009-12-15  5:52     ` Grant Grundler
2009-12-15  8:13       ` Michal Ludvig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.