GIANT_LOCK in release7.0
Alexander K. Beros
akberos at math.berkeley.edu
Tue Nov 25 16:39:00 PST 2008
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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMO
V,PAT,PSE36,MMX,FXSR,SSE>
real memory = 469499904 (447 MB)
avail memory = 449888256 (429 MB)
kbd1 at kbdmux0
acpi0: <GATEWA EA81510A> 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: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> on hostb0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci2: <PCI bus> on pcib1
More information about the freebsd-questions
mailing list