lkml.org 
[lkml]   [2007]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Linux always started with 9600 8N1
From
From: Jan Engelhardt <jengelh@linux01.gwdg.de>
Date: Sun, 27 May 2007 18:44:18 +0200 (MEST)

>
> On May 26 2007 15:47, David Miller wrote:
> >> I have set the OBP to run at 115200, also set agetty on ttyS0 to do the
> >> same, and also added console=ttyS0,115200 to silo.conf (and also tried
> >> console=ttyS0,115200n8). But! Linux still gives me 9600 8N1. The ominous
> >> double screen blanking (why is that done anyway?) already takes place
> >> with 9600. I smell a bug. What do you think?
> >
> >The code in drivers/serial/suncore.c:sunserial_console_termios()
> >should be parsing your OBP settings, add some tracing and see why it
> >isn't working.
> >
> >Please track the bug down for us, thanks :-)
>
> Just why did no one get a kernel oops? After all, the code tried to
> write to constant memory.
>
> This is the first patch of two. There is yet another section of Linux
> code that runs in 9600-only, and I need to figure out which.

There should not be an OOPS, we don't map any section of the
kernel as read-only or execute-only or anything like that.

The kernel image is mapped with full read/write/execute permission.

So even writes to so-called 'read-only' sections of the kernel image
will work and therefore I don't understand what the bug could be other
than the compiler "optimizing" away the write to the constant string
in which case the compiler should have warned about it.
-
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/

\
 
 \ /
  Last update: 2007-05-27 23:19    [W:0.031 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site