From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 00:39:00 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0CB71065672 for ; Wed, 26 Nov 2008 00:39:00 +0000 (UTC) (envelope-from akberos@math.berkeley.edu) Received: from smtp124.sbc.mail.sp1.yahoo.com (smtp124.sbc.mail.sp1.yahoo.com [69.147.64.97]) by mx1.freebsd.org (Postfix) with SMTP id 8FF458FC0C for ; Wed, 26 Nov 2008 00:39:00 +0000 (UTC) (envelope-from akberos@math.berkeley.edu) Received: (qmail 22977 invoked from network); 26 Nov 2008 00:12:20 -0000 Received: from unknown (HELO Prometheus) (akberos@99.189.172.65 with login) by smtp124.sbc.mail.sp1.yahoo.com with SMTP; 26 Nov 2008 00:12:19 -0000 X-YMail-OSG: RWdgDvkVM1nTyI.rXZjInfCONEskWdtHBC0h7W4c_G8zQ5zBbl3kSscf1JnhqxKISH2vSPUPVT_0MYcjQ_OXVoDQ1S8mmuyrFo94stmrz.8qu2iMC0wyIcRXw3HSUZdOhDM- X-Yahoo-Newman-Property: ymail-3 From: "Alexander K. Beros" To: Date: Tue, 25 Nov 2008 16:12:19 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: "Alexander K. Beros" Subject: GIANT_LOCK in release7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: akberos@math.berkeley.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2008 00:39:00 -0000 I have not been able to find any discussion of the following issue. Ever since I upgraded to release 7.0, whenever I print to my network printer (I am using Samba) I get the following output to ttyv0: lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] lpt0: [GIANT-LOCKED] lpt0: [ITHREAD] ... this can continue for a very long time depending on the size of the queue The actual printing is fine, and since I am rarely at the terminal it isn't a serious problem. In fact, if I am working at the server and someone else is sending jobs to the printer I switch over to ttyv1, so there is really no inconvenience. On the other hand, I thought that release 7 is GIANT_LOCK free, so this is rather unexpected. I would appreciate any information or explanation. In the printout below, you will note SMALLKERNEL7, this is just a paring down of the generic kernel to tailor it to my system. The behaviour I discuss above occurs with the default kernel as well. Thanks in advance and best regards, Alex Beros Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Wed Nov 12 14:10:45 PST 2008 z_9-hodjA@hephaestus.TheForge:/usr/obj/usr/src/sys/SMALLKERNEL7 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (730.90-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 469499904 (447 MB) avail memory = 449888256 (429 MB) kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 1bf00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci2: on pcib1