Skip to contentSkip to conversation

ttyS00 reported twice

parisc-linux Richard Hirst 6 participants 7 messages May 31, 2000 – Jun 10, 2000

lore
Share & tools
lore
#0 lore raw

There was some discussion on irc yesterday about bootup messages reporting something like:

Found serial #0 at 0xf0823000, IRQ 538 ttyS00 at iomem 0xf0823800 (irq = 538) is a 16550A Found serial #1 at 0xf0822000, IRQ 537 ttyS00 at iomem 0xf0822800 (irq = 537) is a 16550A

i.e. both ports reported as ttyS00. This seems to be a consequence of us calling register_serial() before rs_init() is called. In addition there is a chunk of initialisation in rs_init() that is #ifndef CONFIG_GSC; that would need to be enabled so that rs_table[].line is initialised, before we would report ttyS01.

The solution might be to make register_serial() aware of whether rs_init() has yet been called. If it hasn't, register_serial() just queues the struct_serial that was passed in and returns success. At the end of rs_init() we call register_serial() again for each item in the queue. This is similar to what happens with the net devices.

Richard

#1 lore raw

Richard Hirst wrote:
...

Quoted 5 lines

The solution might be to make register_serial() aware of whether rs_init() has yet been called. If it hasn't, register_serial() just queues the struct_serial that was passed in and returns success. At the end of rs_init() we call register_serial() again for each item in the queue. This is similar to what happens with the net devices.

Richard,
For lack of visible discussion, I'd say just do it.

This sounds like a reasonable approach. Error recovery is the only potential pitfall.

thanks,
grant

#2 lore raw
Quoted 10 lines · Grant Grundler

Richard Hirst wrote:
...

Quoted 5 lines

The solution might be to make register_serial() aware of whether rs_init() has yet been called. If it hasn't, register_serial() just queues the struct_serial that was passed in and returns success. At the end of rs_init() we call register_serial() again for each item in the queue. This is similar to what happens with the net devices.

Richard,
For lack of visible discussion, I'd say just do it.

I have taken a different approach, and made rs_init() call probe_serial_gsc() after calling probe_serial_pci(). We no longer attempt to register serial drivers from busdevices_init(). I also removed a few gsc specific hacks from serial.c, as they don't appear to be necessary any more.

Richard

#3 lore raw

[parisc-linux] Bootable CD image

In reply to Grant Grundler

Hi guys,

Our company bought HP9000/800/H30 from auction. Hardware is ok, it boots HP-UX 9 fine, but there is not much to do without root password and CDs. The only chance I can see to make it functional is to install Linux. Unfortunately I could not find anything to start with. Could somebody tell me where from I can download bootable CD image and basic development utilities (gcc, glibc, etc) for pa-risc linux. Thanks a lot.

Paulius

#4 lore raw

Re: [parisc-linux] Bootable CD image

"Paulius Pazera" writes...

Quoted 2 lines

Our company bought HP9000/800/H30 from auction. Hardware is ok, it boots HP-UX 9 fine, but there is not much to do without root password and CDs. The

You *could* boot it single user and change the root password.

Quoted 4 lines

only chance I can see to make it functional is to install Linux. Unfortunately I could not find anything to start with. Could somebody tell me where from I can download bootable CD image and basic development utilities (gcc, glibc, etc) for pa-risc linux. Thanks a lot.

The port is still in progress, so there are no "bootable CD image"s yet. Right now the kernel builds and boots and there are drivers for some older devices. There is also a cross-toolchain(static) and some static userspace apps. There is a hardware database at,

http://216.208.98.4/

with entries for H20 and H50. Perhaps you could submit an entry for H30?

If you want to try the kernel on your H30 you can follow the recipe at,

http://www.thepuffingroup.com/parisc/recipe.html

Signature · 2 lines
Matt Taggart
[email protected]
#5 lore raw

Re: [parisc-linux] Bootable CD image

Quoted 4 lines · Matt Taggart

There is also a cross-toolchain(static) and some static userspace apps. There is a hardware database at,

http://216.208.98.4/

Please don't reference 216.208.98.4, as the hardware database will be moving shortly, and the address will be deprecated. Instead, please use http://www.thepuffingroup.com/parisc/hw.html when referring to the hardware database.

Thanks--

-Phil

#6 lore raw

Re: [parisc-linux] Bootable CD image

In reply to Paulius Pazera

Paulis,
I had the same prob,
hardboot the thing it will ask you to fsk the drives (y/n) say no it might drop you into root console then just passwd root and your HP-Unix 9.xx should accessable after fscking the drives.
BUT it is not y2k compliant, it's a minor error on my 715's.

catfish: icq #20116127

Quoted 19 lines · Paulius Pazera

Hi guys,

Our company bought HP9000/800/H30 from auction. Hardware is ok, it boots HP-UX 9 fine, but there is not much to do without root password and CDs. The only chance I can see to make it functional is to install Linux. Unfortunately I could not find anything to start with. Could somebody tell me where from I can download bootable CD image and basic development utilities (gcc, glibc, etc) for pa-risc linux. Thanks a lot.

Paulius

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.