5.2-CURRENT crashes everyday
Scott Long
scottl at samsco.org
Tue Aug 10 06:35:59 PDT 2004
Hi,
I'm pretty sure that this is a known, harmless bug. It might even have
been fixed in the last few weeks, but I can't remember for sure. You
can avoid the panics by removing INVARIANTS from your kernel config.
Scott
Andrew A. Leikand wrote:
> Hello all
>
> well i have a real big problem it is the server with 5.2-current.
> Harware is IBM eServer 345 Dual Xeon with serveRAID 6i, raid controller
> has no support under STABLE thus i had no choice :(
> There are apache and sendmail on the server, load averages about 0.01,
> but it crashes everyday and i have no idea how to force it work.
> The only messages before it goes down is
>
> lock order reversal
> 1st 0xc6574738 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1311
> 2nd 0xc0673ae0 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1797
> 3rd 0xc0c43a50 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:925
> Stack backtrace:
> backtrace(0,1,c064cf90,c064e0c0,c06194dc) at backtrace+0x12
> witness_checkorder(c0c43a50,9,c05fe7bf,39d) at witness_checkorder+0x53b
> _mtx_lock_flags(c0c43a50,0,c05fe7bf,39d,c350b288) at _mtx_lock_flags+0x57
> obj_alloc(c3502dc0,1000,de086a2b,101,de086a38) at obj_alloc+0x31
> slab_zalloc(c3502dc0,1,c3502dc0,c3502dc0,c350b280) at slab_zalloc+0x87
> uma_zone_slab(c3502dc0,1,c350b288,0,c05fe7bf,79c) at uma_zone_slab+0xb0
> uma_zalloc_internal(c3502dc0,0,1,c350b288,0) at uma_zalloc_internal+0x29
> uma_zalloc_arg(c3502dc0,0,1) at uma_zalloc_arg+0x2a2
> swp_pager_meta_build(c6574738,5e,0,2,0) at swp_pager_meta_build+0x108
> swap_pager_putpages(c6574738,de086bf0,1,0,de086b60) at swap_pager_putpages+0x2a8
> default_pager_putpages(c6574738,de086bf0,1,0,de086b60) at default_pager_putpages+0x18
> vm_pageout_flush(de086bf0,1,0,c064c6e0,2ff) at vm_pageout_flush+0x112
> vm_pageout_clean(c2ca1f88) at vm_pageout_clean+0x2a5
> vm_pageout_scan(0,c0673fe0,0,c05fe55f,5a7) at vm_pageout_scan+0x543
> vm_pageout(0,de086d48,0,c057f0e4,0) at vm_pageout+0x2cf
> fork_exit(c057f0e4,0,de086d48) at fork_exit+0x98
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xde086d7c, ebp = 0 ---
>
> Kernel config and dmesg are attached.
>
> Appreciate any comments or feedback on this.
>
> --
> BR, Andrew
>
>
> ------------------------------------------------------------------------
>
> machine i386
> cpu I686_CPU
> options CPU_ENABLE_SSE
> options MPTABLE_FORCE_HTT # Enable HTT CPUs with the MP Table
>
> ident TUNED
>
> # To statically compile in device wiring instead of /boot/device.hints
> #hints "GENERIC.hints" # Default places to look for devices.
>
> #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
>
> options SCHED_ULE # ULE scheduler
> options INET # InterNETworking
> options FFS # Berkeley Fast Filesystem
> options SOFTUPDATES # Enable FFS soft updates support
> options UFS_ACL # Support for access control lists
> options UFS_DIRHASH # Improve performance on big directories
> options MD_ROOT # MD is a potential root device
> options MSDOSFS # MSDOS Filesystem
> options CD9660 # ISO 9660 Filesystem
> options PROCFS # Process filesystem (requires PSEUDOFS)
> options PSEUDOFS # Pseudo-filesystem framework
> options UNIONFS
> options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
> options COMPAT_FREEBSD4 # Compatible with FreeBSD4
> options COMPAT_LINUX # Enable Linux ABI emulation
>
> options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI
> options KTRACE # ktrace(1) support
> options SYSVSHM # SYSV-style shared memory
> options SYSVMSG # SYSV-style message queues
> options SYSVSEM # SYSV-style semaphores
> options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
> options KBD_INSTALL_CDEV # install a CDEV entry in /dev
> options QUOTA
>
>
> # Debugging for use in -current
> # options DDB # Enable the kernel debugger
> # options INVARIANTS # Enable calls of extra sanity checking
> # options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
> # options WITNESS # Enable checks to detect deadlocks and cycles
> # options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
>
> # To make an SMP kernel, the next two are needed
> options SMP # Symmetric MultiProcessor Kernel
> device apic # I/O APIC
>
> device isa
> device pci
>
> # Floppy drives
> device fdc
>
> # ATA and ATAPI devices
> device ata
> device atadisk # ATA disk drives
> device atapicd # ATAPI CDROM drives
> options ATA_STATIC_ID # Static device numbering
>
> # SCSI peripherals
> device scbus # SCSI bus (required for SCSI)
> device ch # SCSI media changers
> device da # Direct Access (disks)
> device sa # Sequential Access (tape etc)
> device cd # CD
> device pass # Passthrough device (direct SCSI access)
> device ses # SCSI Environmental Services (and SAF-TE)
>
> # RAID controllers interfaced to the SCSI subsystem
> device ips # IBM (Adaptec) ServeRAID
>
>
> # atkbdc0 controls both the keyboard and the PS/2 mouse
> device atkbdc # AT keyboard controller
> device atkbd # AT keyboard
> device psm # PS/2 mouse
>
> device vga # VGA video card driver
>
> device splash # Splash screen and screen saver support
>
> # syscons is the default console driver, resembling an SCO console
> device sc
>
> device agp # support several AGP chipsets
>
> # Floating point support - do not disable.
> device npx
>
> # Power management support (see NOTES for more options)
> #device apm
> # Add suspend/resume support for the i8254.
> #device pmtimer
>
> # Serial (COM) ports
> device sio # 8250, 16[45]50 based serial ports
>
> # Parallel port
> #device ppc
> #device ppbus # Parallel port bus (required)
> #device lpt # Printer
> #device plip # TCP/IP over parallel
> #device ppi # Parallel port interface device
> #device vpo # Requires scbus and da
>
> # If you've got a "dumb" serial or parallel PCI card that is
> # supported by the puc(4) glue driver, uncomment the following
> # line to enable it (connects to the sio and/or ppc drivers):
> #device puc
>
> # PCI Ethernet NICs.
> device em # Intel PRO/1000 adapter Gigabit Ethernet Card
>
> # Pseudo devices - the number indicates how many units to allocate.
> device random # Entropy device
> device loop # Network loopback
> device ether # Ethernet support
> #device vlan
> #device sl # Kernel SLIP
> #device ppp # Kernel PPP
> device tun # Packet tunnel.
> device pty # Pseudo-ttys (telnet etc)
> device md # Memory "disks"
> # device pf
> # device pflog
> # device pfsync
>
>
> # The `bpf' device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> device bpf # Berkeley packet filter
>
> #
> options PFIL_HOOKS # pfil(9) framework
> options IPFILTER
> options IPFILTER_LOG
> options IPFILTER_DEFAULT_BLOCK
> #options IPSTEALTH
> options RANDOM_IP_ID
> options TCP_DROP_SYNFIN
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current
mailing list