kern/104406 on 8.0-RELEASE-p2 ?

Cleber Alves Nascimento cleber at bsd.com.br
Wed Mar 31 10:27:10 UTC 2010


2010/3/31 Victor Sudakov
<sudakov+freebsd at sibptus.tomsk.ru<sudakov%2Bfreebsd at sibptus.tomsk.ru>
>

> Colleagues,
>
> I seem to have symptoms of kern/104406 on a 8.0-RELEASE-p2 system.
> After an uptime of several days, many processes get stuck in the "ufs"
> state.  The processes which had already opened some files before the
> deadlock continue working all right, e.g. my old login sessions are
> functional but I cannot start a new ssh session to the box.
>
> Can you advise me a workaround?
>
> The box is being used as a BGP (quagga) router with two full views.
> Hardware configuration is below:
>
>
> 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 8.0-RELEASE-p2 #0: Tue Jan  5 16:02:27 UTC 2010
>    root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) III CPU family      1133MHz (1129.43-MHz 686-class
> CPU)
>  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
>
>  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 1073741824 (1024 MB)
> avail memory = 1036312576 (988 MB)
> ACPI APIC Table: <AMIINT >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> FreeBSD/SMP: 2 package(s) x 1 core(s)
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ioapic0 <Version 1.1> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> acpi0: <AMIINT > on motherboard
> acpi0: [ITHREAD]
> acpi0: Power Button (fixed)
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b 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: <VIA 82C691 (Apollo Pro) host to PCI bridge> on hostb0
> agp0: aperture size is 256M
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> vgapci0: <VGA-compatible display> port 0xa800-0xa8ff mem
> 0xde000000-0xdeffffff,0xdf8ff000-0xdf8fffff irq 17 at device 0.0 on pci1
> isab0: <PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C686B UDMA100 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0
> ata0: <ATA channel 0> on atapci0
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci0
> ata1: [ITHREAD]
> uhci0: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 11 at device 7.2
> on pci0
> uhci0: [ITHREAD]
> uhci0: LegSup = 0x0030
> usbus0: <VIA 83C572 USB controller> on uhci0
> uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 11 at device 7.3
> on pci0
> uhci1: [ITHREAD]
> uhci1: LegSup = 0x0030
> usbus1: <VIA 83C572 USB controller> on uhci1
> pci0: <serial bus, SMBus> at device 7.4 (no driver attached)
> fxp0: <Intel 82559ER Pro/100 Ethernet> port 0xd400-0xd43f mem
> 0xdfffb000-0xdfffbfff,0xdffc0000-0xdffdffff irq 18 at device 10.0 on pci0
> miibus0: <MII bus> on fxp0
> inphy0: <i82555 10/100 media interface> PHY 1 on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp0: Ethernet address: 00:02:55:90:64:b6
> fxp0: [ITHREAD]
> skc0: <Marvell Gigabit Ethernet> port 0xd800-0xd8ff mem
> 0xdfffc000-0xdfffffff irq 16 at device 12.0 on pci0
> skc0: Marvell Yukon Gigabit Ethernet rev. (0x1)
> sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
> sk0: Ethernet address: 00:80:48:27:18:be
> miibus1: <MII bus> on sk0
> e1000phy0: <Marvell 88E1011 Gigabit PHY> PHY 0 on miibus1
> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
> skc0: [ITHREAD]
> fxp1: <Intel 82559 Pro/100 Ethernet> port 0xdc00-0xdc3f mem
> 0xdffbf000-0xdffbffff,0xdfe00000-0xdfefffff irq 18 at device 14.0 on pci0
> miibus2: <MII bus> on fxp1
> inphy1: <i82555 10/100 media interface> PHY 1 on miibus2
> inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp1: Ethernet address: 00:20:ed:20:72:be
> fxp1: [ITHREAD]
> acpi_tz0: <Thermal Zone> on acpi0
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> 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]
> fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
> fdc0: [FILTER]
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> uart0: [FILTER]
> uart0: console (9600,n,8,1)
> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
> uart1: [FILTER]
> ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> ppc0: [ITHREAD]
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> plip0: [ITHREAD]
> lpt0: <Printer> on ppbus0
> lpt0: [ITHREAD]
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> cpu0: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> on acpi0
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem
> 0xc0000-0xc7fff,0xc8000-0xd2fff,0xd3000-0xd6fff 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
> Timecounters tick every 1.000 msec
> usbus0: 12Mbps Full Speed USB v1.0
> usbus1: 12Mbps Full Speed USB v1.0
> ad0: 8063MB <FUJITSU MPC3084AT 6018> at ata0-master UDMA33
> ugen0.1: <VIA> at usbus0
> uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
> ugen1.1: <VIA> at usbus1
> uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> SMP: AP CPU #1 Launched!
> uhub0: 2 ports with 2 removable, self powered
> uhub1: 2 ports with 2 removable, self powered
> Trying to mount root from ufs:/dev/ad0s2a
> WARNING: / was not properly dismounted
> sk0: link state changed to UP
>
> --
> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> sip:sudakov at sibptus.tomsk.ru <sip%3Asudakov at sibptus.tomsk.ru>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>

Do you have disable the flowtable options?

# sysctl net.inet.flowtable.enable=0
net.inet.flowtable.enable: 1 -> 0

  This feature is default since 8 release, but is not good for bgp full
routing.

Cleber Alves
-- 
.ılı..ılı.
"Observe as estrelas e aprenda com elas." Albert Einstein


More information about the freebsd-hackers mailing list