Re: Parallel port printing crashes 7.0 system

From: Nikolay Pavlov <qpadla_at_gmail.com>
Date: Mon, 24 Sep 2007 20:09:59 +0300
On Monday 24 September 2007 19:36:53 P.U.Kruppa wrote:
> On Mon, 24 Sep 2007, Remko Lodder wrote:
> > On Mon, Sep 24, 2007 at 11:50:37AM +0200, P.U.Kruppa wrote:
> >>  On Mon, 24 Sep 2007, Kris Kennaway wrote:
> >>> P.U.Kruppa wrote:
> >>>> Hello,
> >>>> I use a HP Deskjet 990 Cxi via parallel port with cups and hpijs
> >>>> driver on FreeBSD pukruppa.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0:
> >>>> Fri Sep 21 16:52:59 CEST 2007 amd64
> >>>> When I try to print a little bit more complex documents
> >>>> (OpenOffice, pdf) my System will crash.
> >>>> On my root terminal there will be a long list of
> >>>> lpt0: [ITHREAD]
> >>>> lpt0: [GIANT-LOCKED]
> >>>> lpt0: [ITHREAD]
> >>>> [...]
> >>>> lines, then some dumping activity and a reboot.
> >>>> I upgraded to 7.0 last week, so all I can say is: everything was
> >>>> fine with 6.2 .
> >>>> Please tell me if you need more information.
> >>>
> >>> Well yeah, how about e.g. the actual details from the panic?
> >>
> >>  How do I get them?
> >>  Do I have to recompile my kernel (I put off debugging and Witness
> >> Options)?
> >
> > Hello,
> >
> > Check
> > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.ht
> >ml for more information.
> >
> > Thanks
> >
> > --
> > Kind regards,
> >
> >     Remko Lodder               ** remko_at_elvandar.org
>
> Sorry, from developer's handbook I guess I should find a vmcore.N
> file. There isn't any. My parallel printing attempts end up in
> some kind of single user mode on the root terminal with a
>  	db>
> prompt. Can I do anything with that?

You'll find it in /var/crash/ directory right after the panic
Then go to
cd /usr/obj/usr/src/sys/KERNCONF
where KERNCONF is your kernel configuration name (should be GENERIC for 
GENERIC kernel)
Then execute:
kgdb kernel.debug /var/crash/vmcore.0
And you'll get the debugger prompt.

You can find more info here:
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html

-- 
======================================================================  
- Best regards, Nikolay Pavlov. <<<-----------------------------------    
======================================================================  


Received on Mon Sep 24 2007 - 15:10:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC