Date: Mon, 21 May 2007 16:42:00 -0400 From: Robert Huff <roberthuff@rcn.com> To: questions@freebsd.org Subject: [long] panic: corrupt spinlock Message-ID: <46520418.8070205@rcn.com>
next in thread | raw e-mail | index | archive | help
(This is happening on a -CURRENT box. Before I bother the folks there, hopefully someone can see what I screwed up.) Attempting to update from -CURRENT/nid-March to -CURRENT/today (sources updated at midnight EST), the buildworld, buildkernel, and installkernel phases are sucessful. (buildworld log available on request) However: upon reboot the kernel panics and drops into KDB. (Whereupon the console freezes ... but that's an old problem.) The specific context: kbd0 at ukbd0 panic: corrupt spinlock KDB: enter: panic [threat pid 0 tid 0] stopped at kdb_enter+0x32: leave db> There's nothing in the logs or in dmesg.today. "loader.conf", an old dmesg for the exact same hardware configuration, and the kernel config file are appended. (In that order.) Any ideas? Thanks, Robert Huff ************************************************* loader_color="YES" accf_http_load="YES" if_re_load="YES" if_de_load="YES" loader_logo=beastie debug.mpsafenet=1 nvidia_load="YES" linux_load="YES" ************************************************* Copyright (c) 1992-2007 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-CURRENT #0: Tue Mar 13 22:38:20 EST 2007 huff@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.26GHz (2266.76-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff<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> real memory = 536854528 (511 MB) avail memory = 515866624 (491 MB) acpi0: <ASUS P4S533> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <SiS 645DX 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> mem 0xfc000000-0xfdffffff,0xf3800000-0xf3803fff,0xf3000000-0xf37fffff irq 11 at device 0.0 on pci1 drm0: <Matrox G400/G450 (AGP)> on vgapci0 info: [drm] AGP at 0xf4000000 64MB info: [drm] Initialized mga 3.2.2 20060319 isab0: <PCI-ISA bridge> at device 2.0 on pci0 isa0: <ISA bus> on isab0 ohci0: <SiS 5571 USB controller> mem 0xf2800000-0xf2800fff irq 5 at device 2.2 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: <SiS 5571 USB controller> on ohci0 usb0: USB revision 1.0 uhub0: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 3 ports with 3 removable, self powered ohci1: <SiS 5571 USB controller> mem 0xf2000000-0xf2000fff irq 9 at device 2.3 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: <SiS 5571 USB controller> on ohci1 usb1: USB revision 1.0 uhub1: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 3 ports with 3 removable, self powered pci0: <mass storage, ATA> at device 2.5 (no driver attached) pcm0: <CMedia CMI8738> port 0xa800-0xa8ff irq 10 at device 5.0 on pci0 pcm0: [ITHREAD] ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xa400-0xa4ff mem 0xf1000000-0xf1000fff irq 11 at device 8.0 on pci0 ahc0: [GIANT-LOCKED] ahc0: [ITHREAD] aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs ohci2: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xf0800000-0xf0800fff irq 14 at device 10.0 on pci0 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci2 usb2: USB revision 1.0 uhub2: <AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: <ALi M5239 USB 2.0 controller> mem 0xf0000000-0xf00000ff irq 15 at device 10.3 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controller, 2 ports each: usb2 usb3: <ALi M5239 USB 2.0 controller> on ehci0 usb3: USB revision 2.0 uhub3: <AcerLabs EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3 uhub3: 6 ports with 6 removable, self powered umass0: <Addonics Addonics USB Drive, class 0/0, rev 2.00/0.15, addr 2> on uhub3 de0: <Digital 21140 Fast Ethernet> port 0xa000-0xa07f mem 0xef800000-0xef80007f irq 14 at device 11.0 on pci0 de0: ZNYX ZX34X 21140 [10-100Mb/s] pass 1.1 de0: using obsoleted if_watchdog interface de0: Ethernet address: 00:c0:95:f8:17:af de0: [ITHREAD] re0: <Linksys EG1032 (RTL8169S) Gigabit Ethernet> port 0x9800-0x98ff mem 0xef000000-0xef0000ff irq 11 at device 12.0 on pci0 miibus0: <MII bus> on re0 rgephy0: <RTL8169S/8110S media interface> PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:12:17:5c:41:cc re0: [FILTER] 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] orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xd17ff pnpid ORM0000 on isa0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: <Parallel port bus> on ppc0 ppi0: <Parallel I/O> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] 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 uhub4: <vendor 0x0451 product 0x2046, class 9/0, rev 1.10/1.25, addr 2> on uhub0 uhub4: 4 ports with 4 removable, bus powered ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/22.00, addr 3> on uhub4 ums0: 8 buttons and Z dir. ukbd0: <Logitech Logitech USB Keyboard, class 0/0, rev 1.10/15.00, addr 4> on uhub4 kbd0 at ukbd0 ugen0: <American Power Conversion Back-UPS RS 1500 FW:8.g8 .D USB FW:g8, class 0/0, rev 1.10/1.06, addr 5> on uhub0 Timecounter "TSC" frequency 2266759284 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default da3 at umass-sim0 bus 0 target 0 lun 0 da3: <Maxtor 6 L100P0 0000> Fixed Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 95611MB (195813072 512 byte sectors: 255H 63S/T 12188C) cd0 at ahc0 bus 0 target 3 lun 0 cd0: <TOSHIBA DVD-ROM SD-M1711 1005> Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present da1 at ahc0 bus 0 target 4 lun 0 da1: <SEAGATE SX150176LC BA11> Fixed Direct Access SCSI-2 device da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit) da1: Command Queueing Enabled da1: 47702MB (97693755 512 byte sectors: 255H 63S/T 6081C) da2 at ahc0 bus 0 target 11 lun 0 da2: <IBM DNES-309170W SAH0> Fixed Direct Access SCSI-3 device da2: 80.000MB/s transfers (40.000MHz, offset 30, 16bit) da2: Command Queueing Enabled da2: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) da0 at ahc0 bus 0 target 0 lun 0 da0: <IBM DDRS-34560D DC1B> Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit) da0: Command Queueing Enabled da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C) ************************************************* # # JERUSALEM # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # <URL:http://www.FreeBSD.ORG/> # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.125 1998/10/16 01:30:11 obrien Exp $ machine i386 #cpu "I386_CPU" #cpu "I486_CPU" #cpu "I586_CPU" cpu I686_CPU ident JERUSALEM maxusers 0 options SCHED_4BSD options PREEMPTION options INET #InterNETworking options INET6 #IPv6 communications protocols options MAXDSIZ="(1024*1024*1024)" options MAXSSIZ="(256*1024*1024)" options FFS #Berkeley Fast Filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 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 SCSI_DELAY=100 #Be pessimistic about Joe SCSI # note: value is in milliseconds #options SAFETY # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB #Enable the kernel debugger makeoptions DEBUG=-g 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 #options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] #options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options COMPAT_AOUT # see java/62837 #options COMPAT_LINUX #options LINPROCFS options PROCFS options PSEUDOFS # For StarOffice #options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING #options _KPOSIX_VERSION=199309L #options MD5 # # #config kernel root on da0 device isa device eisa device pci device fdc # Unless you know very well what you're doing, leave ft0 at drive 2, or # remove the line entirely if you don't need it. Trying to configure # it on another unit might cause surprises, see PR kern/7176. # A single entry for any of these controllers (ncr, ahb, ahc, amd) is # sufficient for any number of installed devices. device ahc device scbus device da # SCSI disk device sa # SCSI tape device pass # added 2006/11/14 for USB external drive system replacing tape drive device umass # device cd # Only need one of these, the code dynamically grows # syscons is the default console driver, resembling an SCO console device sc # at isa? port "IO_KBD" conflicts tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver ## 2/3/1999: new model console stuff #device atkbdc #device atkbd #device vt device vga device drm device mgadrm device agp #options XSERVER # support for X server device sio # Parallel-Port Bus # # Parallel port bus support is provided by the `ppbus' device. # Multiple devices may be attached to the parallel port, devices # are automatically probed and attached when found. # # Supported devices: # vpo Iomega Zip Drive # Requires SCSI disk support ('scbus' and 'da'), best # performance is achieved with ports in EPP 1.9 mode. # nlpt Parallel Printer, use _instead_ of lpt0 # plip Parallel network interface # ppi General-purpose I/O ("Geek Port") # pps Pulse per second Timing Interface # lpbb Philips official parallel port I2C bit-banging interface # # Supported interfaces: # ppc ISA-bus parallel port interfaces. # device ppc device ppbus device lpt device ppi ############ # USB support device uhci device ohci device ehci device usb device ugen #device uhid device ukbd options KBD_INSTALL_CDEV device ums # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. #device de # # necessary for device sk # device miibus # MII bus support #device de0 #device de1 #device fxp0 #device tl0 #device tx0 #device vx0 #device xl0 # # see /usr/src/UPDATING # device mem # Memory and kernel memory devices device io # I/O device #device null # Null and zero devices device random device bpf device loop # Network loopback device ether #device sl 1 #device ppp 0 device tun device gif device pty # # for IPFW/natd # # IPFIREWALL_NAT + LIBALIAS added 2007/01/21 per e-mail with Paolo Pisati # options IPFIREWALL #firewall options IPFIREWALL_NAT options LIBALIAS options IPFIREWALL_VERBOSE #print information about # dropped packets #options IPFIREWALL_FORWARD #enable xparent proxy support options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPDIVERT #divert sockets # # sound driver # device sound device snd_cmi *************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46520418.8070205>