From owner-freebsd-current@FreeBSD.ORG Sun Jul 18 23:13:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3FEE16A4CE for ; Sun, 18 Jul 2004 23:13:47 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id C995943D3F for ; Sun, 18 Jul 2004 23:13:46 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 5518FACADB; Mon, 19 Jul 2004 01:13:45 +0200 (CEST) Date: Mon, 19 Jul 2004 01:13:45 +0200 From: Pawel Jakub Dawidek To: freebsd-current@freebsd.org Message-ID: <20040718231345.GE57678@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rgf3q3z9SdmXC6oT" Content-Disposition: inline User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 Subject: ADAPTIVE_MUTEXES panic. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 23:13:47 -0000 --Rgf3q3z9SdmXC6oT Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. Here is copied by hand backtrace from panic on boot: panic: Assertion ts !=3D NULL failed at /usr/src/sys/kern/kern_mutex.c:646 db> tr panic() _mtx_unlock_sleep()+0x58 _mtx_unlock_flags()+0x94 slab_zalloc()+0x2b uma_zone_slab()+0x2b uma_zalloc_bucket()+0x124 uma_zalloc_arg()+0x25f malloc()+0xb2 eventhandler_register()+0x16c vnlru_proc()+0x43 fork_exit() fork_trampoline() Dmesg and kernel config below. BTW. I'm able to reproduce it with 4BSD scheduler as well. =3D=3D=3D> Dmesg: Copyright (c) 1992-2004 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 5.2-CURRENT #5: Sun Jul 18 14:35:10 CEST 2004 root@slayer.hell.invalid:/usr/obj/usr/src/sys/RAGE WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (534.55-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x665 Stepping =3D 5 Features=3D0x183fbff real memory =3D 67108864 (64 MB) avail memory =3D 60248064 (57 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0x376,0x170-0x1= 77,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.2 (no driver attached) piix0: port 0x5000-0x500f at device 7.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 atapci1: port 0xc400-0xc43f,0xc000-0xc= 003,0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407 mem 0xd8200000-0xd821ffff irq= 19 at device 9.0 on pci0 ata2: at 0xb400 on atapci1 ata3: at 0xbc00 on atapci1 fxp0: port 0xc800-0xc83f mem 0xd8000000-0xd8= 0fffff,0xd8221000-0xd8221fff irq 18 at device 11.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:d0:b7:25:86:ee fxp0: [GIANT-LOCKED] fxp1: port 0xcc00-0xcc3f mem 0xd8100000-0xd8= 1fffff,0xd8220000-0xd8220fff irq 17 at device 13.0 on pci0 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:03:47:af:3a:0b fxp1: [GIANT-LOCKED] tl0: port 0xd000-0xd00f irq 16 at device 15.= 0 on pci0 miibus2: on tl0 mlphy0: on miibus2 mlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy0: on miibus2 tlphy0: 10base2/BNC, 10base5/AUI tl0: [GIANT-LOCKED] atapci2: port 0xdc00-0xdcff,0xd800-0xd= 803,0xd400-0xd407 irq 18 at device 19.0 on pci0 ata4: at 0xd400 on atapci2 atapci3: port 0xe800-0xe8ff,0xe400-0xe= 403,0xe000-0xe007 irq 18 at device 19.1 on pci0 ata5: at 0xe000 on atapci3 cpu0 on motherboard cpu1 on motherboard orm0: at iomem 0xef000-0xeffff,0xcc000-0xccfff,0xca000-0x= cb7ff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f7= ,0x3f0-0x3f5 irq 6 drq 2 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounters tick every 10.000 msec ad4: 1033MB [2100/16/63] at ata2-master WDMA2 ad5: 1033MB [2100/16/63] at ata2-slave WDMA2 ad8: 19092MB [38792/16/63] at ata4-master UDMA66 SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ad8s1a =3D=3D=3D> Kernel config: machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident RAGE maxusers 0 #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. makeoptions DEBUG=3D-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 COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=3D15000 #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 AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Enable the kernel debugger options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, re= quired 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 device isa #device eisa 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 # 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 # Floating point support - do not disable. device npx # 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) # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter options MAC --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --Rgf3q3z9SdmXC6oT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA+wQpForvXbEpPzQRArjNAKCmu6GIAMSQFb8x6QGH7vqp19KztwCfcrux k73rVZigQdbbiYSUYhtsF6k= =j8NA -----END PGP SIGNATURE----- --Rgf3q3z9SdmXC6oT--