Messages in this thread | | | From | "Miquel van Smoorenburg" <> | Subject | Re: serial console (was Re: [patch] printk from userspace) | Date | Thu, 15 Aug 2002 12:43:23 +0000 (UTC) |
| |
In article <87eld1s9l7.fsf_-_@arm.t19.ds.pwr.wroc.pl>, Arkadiusz Miskiewicz <misiek@pld.ORG.PL> wrote: >btw. is there any reason to not display initscripts messages >on all consoles in such setup: >append="console=tty0 console=ttyS0,57600n8" >serial=0,57600n8 >?
Yes. It is not implemented in the kernel and it would not be trivial to do so (or even wanted)
>kernel messages are available on both - tty0 and ttyS0 while >userspace messages (from initscripts) only on last specified >- in such case ttyS0.
That's because printk() in the kernel uses a very different codepath than the userland write(console, "hello")
Mike.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |