Big problems with 7.1 locking up :-(

Michel Talon talon at lpthe.jussieu.fr
Sun Jan 18 04:50:52 PST 2009


Tomas Randa wrote:
> Hello,
> 
> I have similar problems. The last "good" kernel I have from stable 
> brach, october the 8. Then in next upgrade, I saw big problems with 
> performance.

I can add a "me too" here. This is on my desktop, very lightly loaded.
This computer never had a single problem under FreeBSD so i don't suspect
a hardware problem. My previous upgrade was FreeBSD 7.0-STABLE #0: Tue
Jul 22, and worked perfectly fine with exactly the same software
configuration. 
Now i have FreeBSD 7.1-STABLE #0: Mon Jan  5 , and the situation is
disastrous. Freshly after boot the machine seems to work normal, but
after a few days it becomes slower and slower, windows takes seconds to
appear, firefox3 begins to have garbled output, etc. Then i had the
following problem, firefox got stuck in kernel, impossible to kill it by
kill -9. Needless to say i inspected everything, dmesg, xsession-errors,
top, etc. without seeing anything suspicious. So i rebooted, and bingo!
the machine paniced, mentioning firefox. But the panic itself get stuck
and i had to push the reset button, so no dump. After reboot, machine
works OK for two or three days, then problems begin again. I am
convinced there is a big problem in the kernel. For reference, here is
top and dmesg:

CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 264M Active, 613M Inact, 485M Wired, 22M Cache, 112M Buf, 116M Free
Swap: 2023M Total, 4K Used, 2023M Free

  PID USERNAME       THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU
COMMAND
62965 michel           1  44    0  3532K  1884K CPU1   1   0:00  0.29%
top
 2327 root             1  44    0   161M 29228K select 1  30:39  0.00%
Xorg
95937 root             1  44    0 24112K 16800K select 1   2:35  0.00%
kdm-bin_gr
 3099 root             1   4    0  3304K  1028K select 0   1:30  0.00%
moused
 2209 news             1   8    0  3464K  1052K wait   0   0:37  0.00%
sh
  884 root             1  44    0  4712K  2028K select 1   0:12  0.00%
ntpd
  453 _pflogd          1 -58    0  3380K  1352K bpf    0   0:11  0.00%
pflogd
 1634 www              1   4    0  6268K  2656K kqread 0   0:10  0.00%
lighttpd
  788 root             1  44    0  3164K  3184K select 0   0:04  0.00%
amd
 2206 news             1  44    0 15208K 12160K select 0   0:03  0.00%
innd
  879 root             9   4    0  5432K  2460K kqread 1   0:02  0.00%
nscd
  955 root             1  44    0  2736K  1216K select 1   0:02  0.00%
master
  758 root             1  44    0  3164K  1340K select 1   0:02  0.00%
ypbind
...........

so no memory problem

Copyright (c) 1992-2009 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.1-STABLE #0: Mon Jan  5 14:29:23 CET 2009
    michel at niobe.lpthe.jussieu.fr:/usr/obj/usr/src/sys/NIOBE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (3073.65-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
  Logical CPUs per core: 2
real memory  = 1610530816 (1535 MB)
avail memory = 1568387072 (1495 MB)
ACPI APIC Table: <ASUS   P4PE    >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
This module (opensolaris) contains code covered by the
Common Development and Distribution License (CDDL)
see http://opensolaris.org/os/licensing/opensolaris_license/
ioapic0 <Version 2.0> irqs 0-23 on motherboard
acpi0: <ASUS P4PE> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 22
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 5ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845G host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xd800-0xd8ff mem 0xe0000000-0xefffffff,0xdf000000-0xdf00ffff irq 16 at device 0.0 on pci1
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xb800-0xb81f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xb400-0xb41f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xb000-0xb01f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xde800000-0xde8003ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xde000000-0xde001fff irq 20 at device 5.0 on pci2
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> PHY 1 on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:0c:6e:04:5d:39
bfe0: [ITHREAD]
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xa800-0xa83f mem 0xdd800000-0xdd800fff,0xdd000000-0xdd0fffff irq 23 at device 11.0 on pci2
miibus1: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> PHY 1 on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:1d:df:8e
fxp0: [ITHREAD]
sym0: <875> port 0xa400-0xa4ff mem 0xdc800000-0xdc8000ff,0xdc000000-0xdc000fff irq 20 at device 12.0 on pci2
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
sym0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pcm0: <Intel ICH4 (82801DB)> port 0x9800-0x98ff,0x9400-0x943f mem 0xdb800000-0xdb8001ff,0xdb000000-0xdb0000ff irq 17 at device 31.5 on pci0
pcm0: [ITHREAD]
pcm0: <Analog Devices AD1980 AC97 Codec>
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xd0000-0xd0fff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
ums0: <vendor 0x04d9 product 0x048e, class 0/0, rev 1.10/8.00, addr 2> on uhub1
ums0: 5 buttons and Z dir.
WARNING: ZFS is considered to be an experimental feature in FreeBSD.
Timecounters tick every 1.000 msec
Waiting 5 seconds for SCSI devices to settle
ZFS filesystem version 6
ZFS storage pool version 6
ad0: 58644MB <Maxtor 6Y060L0 YAR41VW0> at ata0-master UDMA100
acd0: DVDR <TSSTcorpCD/DVDW SH-S182D/SB02> at ata1-master UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
(probe5:sym0:0:5:0): phase change 6-7 6 at 01a0c7a8 resid=4.
(da0:sym0:0:5:0): phase change 6-7 6 at 01a0c7a8 resid=4.
da0 at sym0 bus 0 target 5 lun 0
da0: <IOMEGA ZIP 100 J.03> Removable Direct Access SCSI-2 device 
da0: 3.300MB/s transfers
da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C)
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TSSTcorp CD/DVDW SH-S182D SB02> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
/home: mount pending error: blocks 128 files 10
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 6
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 6
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 6
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 6

-- 

Michel TALON



More information about the freebsd-stable mailing list