Re: 3.0 wishlist Was: Overview of 2.2.x goals?

Miquel van Smoorenburg (miquels@cistron.nl)
20 Jan 1998 19:28:16 +0100


In article <E0xuhch-0002Xl-00@spring.nexus.co.uk>,
Philip Blundell <pb@nexus.co.uk> wrote:
>>A solution for this is called serial console with some logging facility on
>>the other end.
>
>It would be a neat trick for someone to implement to have kernel messages
>optionally copied to the parallel port. Then, with the aid of one of the old
>dot-matrix printers that everybody has lying in their cupboards, you have an
>instant record of any oopses.

With the new generic console code, that would be pretty easy to do.

Just clone lp_char, or add an argument, so that it always uses polling
and never reschedules (but does time out) and register that function
as a console print function.

Then boot with the arguments "console=tty0 console=lp0" and see the
boot messages appear on your printer :)

Mike.

-- 
 Miquel van Smoorenburg |  The dyslexic, agnostic, insomniac lay in his bed
    miquels@cistron.nl  |  awake all night wondering if there is a doG