From owner-freebsd-current Mon Feb 12 5: 1:58 2001 Delivered-To: freebsd-current@freebsd.org Received: from syncopation-01.iinet.net.au (syncopation-01.iinet.net.au [203.59.24.37]) by hub.freebsd.org (Postfix) with SMTP id 7DEB037B401 for ; Mon, 12 Feb 2001 05:01:52 -0800 (PST) Received: (qmail 27624 invoked by uid 666); 12 Feb 2001 13:08:16 -0000 Received: from reggae-16-119.nv.iinet.net.au (HELO elischer.org) (203.59.76.119) by mail.m.iinet.net.au with SMTP; 12 Feb 2001 13:08:16 -0000 Message-ID: <3A87DEB4.E6D203E6@elischer.org> Date: Mon, 12 Feb 2001 05:01:40 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: current@freebsd.org Subject: Re: Lpt driver broken? References: <3A87CDB0.402113D6@elischer.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer wrote: > > I have been trying to talk to a laserprinter but whenever I try > cat file >/dev/lpt0 > > the system panics > (if the printer is online) > Feb 12 02:36:56 jules /boot/kernel/kernel: kernel trap 9 with interrupts disable > d > Feb 12 02:36:56 jules /boot/kernel/kernel: > Feb 12 02:36:56 jules /boot/kernel/kernel: > Feb 12 02:36:56 jules /boot/kernel/kernel: Fatal trap 9: general protection faul > t while in kernel mode > Feb 12 02:36:56 jules /boot/kernel/kernel: instruction pointer = 0x8:0xc0252ebc > Feb 12 02:36:56 jules /boot/kernel/kernel: stack pointer = 0x10:0 > xccca4f50 > Feb 12 02:36:56 jules /boot/kernel/kernel: frame pointer = 0x10:0 > xccca4f64 > Feb 12 02:36:56 jules /boot/kernel/kernel: code segment = base 0x0, limi > t 0xfffff, type 0x1b > Feb 12 02:36:56 jules /boot/kernel/kernel: = DPL 0, pres 1, def32 1, gran 1 > Feb 12 02:36:56 jules /boot/kernel/kernel: processor eflags = resume, IOPL = > 0 > Feb 12 02:36:56 jules /boot/kernel/kernel: current process = 288 (i > rq7: lpt0) > > it seems to be in the fork trampoline code when it crashes. > > This was with kernels from Feb 1 and Feb 6. > > following up to myself: the dmesg shows: ppc0: at port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port and the config has; # parallel port device ppc device ppbus device lpt The hints have no entry.. -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message