2000-11-26 16:41:49

by Jeff Epler

[permalink] [raw]
Subject: 2.4.0-test11(-ac4)/i386 configure bug

(not affected by the -ac4 patch, the file in question is not touched)

Parallel printer support (CONFIG_PRINTER) [N/m/?] (NEW) m
Support for console on line printer (CONFIG_LP_CONSOLE) [N/y/?] (NEW)

Suggested change:

--- linux-2.4.0-test11/drivers/char/Config.in.orig Sun Nov 26 10:05:10 2000
+++ linux-2.4.0-test11/drivers/char/Config.in Sun Nov 26 10:05:38 2000
@@ -75,7 +75,7 @@
fi
if [ "$CONFIG_PARPORT" != "n" ]; then
dep_tristate 'Parallel printer support' CONFIG_PRINTER $CONFIG_PARPORT
- if [ "$CONFIG_PRINTER" != "n" ]; then
+ if [ "$CONFIG_PRINTER" = "y" ]; then
bool ' Support for console on line printer' CONFIG_LP_CONSOLE
fi
dep_tristate 'Support for user-space parallel port device drivers' CONFIG_PPDEV $CONFIG_PARPORT


2000-11-26 17:08:33

by Tim Waugh

[permalink] [raw]
Subject: Re: 2.4.0-test11(-ac4)/i386 configure bug

On Sun, Nov 26, 2000 at 10:11:15AM -0600, Jeff Epler wrote:

> (not affected by the -ac4 patch, the file in question is not touched)
>
> Parallel printer support (CONFIG_PRINTER) [N/m/?] (NEW) m
> Support for console on line printer (CONFIG_LP_CONSOLE) [N/y/?] (NEW)
>
> Suggested change:

What's wrong with it?

Tim.
*/

2000-11-26 18:38:16

by Jeff Epler

[permalink] [raw]
Subject: Re: 2.4.0-test11(-ac4)/i386 configure bug

On Sun, Nov 26, 2000 at 04:38:01PM +0000, Tim Waugh wrote:
> On Sun, Nov 26, 2000 at 10:11:15AM -0600, Jeff Epler wrote:
>
> > (not affected by the -ac4 patch, the file in question is not touched)
> >
> > Parallel printer support (CONFIG_PRINTER) [N/m/?] (NEW) m
> > Support for console on line printer (CONFIG_LP_CONSOLE) [N/y/?] (NEW)
> >
> > Suggested change:
>
> What's wrong with it?

How can you have the console on a modularized device?

Above, this is correctly forbidden for serial console.

Or can I dynamically change the console device after bootup?

Jeff

2000-11-26 20:11:07

by David Woodhouse

[permalink] [raw]
Subject: Re: 2.4.0-test11(-ac4)/i386 configure bug

On Sun, 26 Nov 2000, Jeff Epler wrote:

> How can you have the console on a modularized device?

You can have more than one console device. Only the primary device needs
to be present at boot time. Actually, I'm not sure even that has to be
present.

Since I added unregister_console() a long time ago, you can dynamically
add and remove console devices.

> Above, this is correctly forbidden for serial console.
>
> Or can I dynamically change the console device after bootup?

Not change. Add a new one. console != preferred_console.

And in this case, it's exactly what you want. You don't want all the
normal bootup cruft, you want to load the driver after the boot is
finished, and only catch oopsen.


--
dwmw2