Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 05:01:40 -0800
From:      Julian Elischer <julian@elischer.org>
To:        current@freebsd.org
Subject:   Re: Lpt driver broken?
Message-ID:  <3A87DEB4.E6D203E6@elischer.org>
References:  <3A87CDB0.402113D6@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <ECP parallel printer port> 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: <Printer> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A87DEB4.E6D203E6>