lkml.org 
[lkml]   [2002]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] "big IRQ lock" removal, 2.5.27-A1

On Sun, 21 Jul 2002, Russell King wrote:

> > (gdb) list *0xc01b1f03
> > 0xc01b1f03 is in serial_in (serial_8250.c:189).
> > 184 return readb(up->port.membase + offset);
> > 185
> > 186 default:
> > 187 return inb(up->port.iobase + offset);
> > 188 }
> > 189 }
> > 190
> > 191 static _INLINE_ void
> > 192 serial_out(struct uart_8250_port *up, int offset, int value)
> > 193 {
> > (gdb)
>
> Interesting. Not had a report of that thus far. Can you send me any
> kernel messages relating to serial devices please, and the bad address
> that caused the oops? (line 189 is obviously a lie...)

i believe it was the inb's dereference.

i dont have the oops around anymore, since serial logging is not working
;-) Had to write it down from screen.

> > when echo-ing into a serial port, which is also set up for kernel serial
> > console. (the kernel serial console produces no output.)
>
> Weird. Currently I've no idea what's causing this; I've been booting
> machines with "console=ttyS0,115200n8" fine here with no noticable
> problems.
>
> Again, any useful kernel messages?

will reproduce and write down the full oops - it was an illegal
dereference on 0xfffffff8 (-8 offset of a NULL pointer) or something like
that.
my serial setup is:

append="console=ttyS1,115200 console=tty0"

old serial driver:

Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A

i'm pretty sure it hung when i echoed to ttyS1 - not 100% sure though.

Ingo

-
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: 2005-03-22 13:27    [from the cache]
©2003-2011 Jasper Spaans