Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 18:55:59 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jordan Hubbard <jkh@winston.osd.bsdi.com>
Cc:        current@FreeBSD.org
Subject:   RE: Anybody else seeing a broken /dev/lpt with SMP on -current?
Message-ID:  <XFMail.010112185559.jhb@FreeBSD.org>
In-Reply-To: <18670.979354005@winston.osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 13-Jan-01 Jordan Hubbard wrote:
> I've actually been seeing this for about 2 months now but only just
> now got motivated enough to enable crashdumps and get some information
> on what happens whenver I try to use the printer attached to my (sadly :)
> -current SMP box:
> 
> IdlePTD 3682304
> initial pcb at 2e70e0
> panicstr: page fault
> panic messages:
> ---
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; lapic.id = 00000000
> fault virtual address   = 0xffff8640
> fault code              = supervisor write, page not present
> instruction pointer     = 0x8:0xc8dc8676
> stack pointer           = 0x10:0xc8280f88
> frame pointer           = 0x10:0xc8280f9c
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 12322 (irq7: lpt0)
> trap number             = 12
> panic: page fault
> cpuid = 0; lapic.id = 00000000
> boot() called on cpu#0
> 
> If anybody wants a fuller traceback then I'll compile up a kernel with
> debugging symbols, but it's going to be pretty sparse anyway since it
> basically only shows the trap() from the page fault and the subsequent
> panic.

All the other traces show the kerenl having returned to an address that is
beyongd the end of the kernel (which causes the page fault) meaning that the
stack is fubar'd, so the trace isn't meaningful anyways. :(  Knowing how and
why the lpd interrupt handler trashes the stack is the useful info, and with
teh stack already trashed, I don't know of an easy way to figure that out. 
Suggestions welcome.

> - Jordan

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010112185559.jhb>