Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 12:32:20 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        "P.U.Kruppa" <ulrich@pukruppa.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Parallel port printing crashes 7.0 system 
Message-ID:  <20070924193220.F00F445012@ptavv.es.net>
In-Reply-To: Your message of "Mon, 24 Sep 2007 11:50:37 %2B0200." <20070924114923.C10251@small> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1190662340_32699P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> Date: Mon, 24 Sep 2007 11:50:37 +0200 (CEST)
> From: "P.U.Kruppa" <ulrich@pukruppa.net>
> Sender: owner-freebsd-current@freebsd.org
> 
> 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)?

You probably should look at the section on debug in the handbook.

At a minimum, you need a kernel built with "makeoptions DEBUG=-g". Other
than a bit of disk space and a few seconds while building the kernel,
this costs nothing and should always be in the kernel config; not just
when you want to look at a problem.

You also want the KDB, DDB, and GDB options in the config. These also
have no impact on performance, but do eat some memory.

Since this looks locking related, WITNESS is probably a good idea, but
it is a big performance hit. I'd also add INVARIANTS and
INVARIANT_SUPPORT. The cost of this is much lower than WITNESS, but
it's not free, either.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1190662340_32699P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFG+BDEkn3rs5h7N1ERAu6jAJ42/5dvtmKfwbV97iggMTMX3ddsAwCgrd68
wcK6lO9Ko28Hi3/qMhuJN44=
=Fdcu
-----END PGP SIGNATURE-----

--==_Exmh_1190662340_32699P--



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