From owner-freebsd-current@FreeBSD.ORG Wed Nov 17 11:07:10 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 DF3B316A4CE for ; Wed, 17 Nov 2004 11:07:09 +0000 (GMT) Received: from av3-2-sn3.vrr.skanova.net (av3-2-sn3.vrr.skanova.net [81.228.9.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF09743D54 for ; Wed, 17 Nov 2004 11:07:08 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av3-2-sn3.vrr.skanova.net (Postfix, from userid 502) id DA08F37F62; Wed, 17 Nov 2004 12:07:07 +0100 (CET) Received: from smtp1-2-sn3.vrr.skanova.net (smtp1-2-sn3.vrr.skanova.net [81.228.9.178]) by av3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 585B337F61 for ; Wed, 17 Nov 2004 12:07:07 +0100 (CET) Received: from sentinel (h130n1fls11o822.telia.com [213.64.66.130]) by smtp1-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 2C1A93800D for ; Wed, 17 Nov 2004 12:07:07 +0100 (CET) From: "Daniel Eriksson" To: Date: Wed, 17 Nov 2004 12:06:52 +0100 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcTMlYq7bsZgjuZ/Qn2QnvJiCjO8Ng== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: uma_zfree_internal crash, if_em related? 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: Wed, 17 Nov 2004 11:07:10 -0000 After upgrading my 6-CURRENT box to 2004.11.14.16.00.00 (and also 2004.11.16.19.15.00), I have encountered this crash twice in 24 hours. A system built from sources dated 2004.11.07.07.00.00 stayed up a week straight without a hitch. The system is a dual AthlonMP system. The dmesg from the last boot is attached at the bottom (ACPI disabled). The first crash came with ACPI enabled, the second with it disabled. I do have a dump from the first crash in case someone needs further info. Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 01 fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x8:0xc06c57ac stack pointer = 0x10:0xe32bbbf0 frame pointer = 0x10:0xe32bbc18 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 26 (irq16: em0 atapci1+) [thread 100000] Stopped at uma_zfree_internal+0xcc: movl %edx,0(%eax) db> tr uma_zfree_internal(0,1,0,c2388800,e32bbc4c,0,1,c227a3c0) at uma_zfree_internal+0xcc uma_zfree_arg(c10469a0,c3de8a00,0,c239e950,e32bbc8c) at uma_zfree_arg+0x3d6 m_freem(c3de8a00,0,0,c26a5ca8,a5) at m_freem+0x49 em_clean_transmit_interrupts(c2388800,c3b2a900,6b35f445,ffc03014,c2285000) at em_clean_transmit_interrupts+0xb7 em_intr(c2388800,0,0,0,0) at em_intr+0x376 ithread_loop(c2272780,e32bbd48,0,0,0) at ithread_loop+0xb3 fork_exit(c054e5e0,c2272780,e32bbd48) at fork_exit+0x62 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe32bbd7c, ebp = 0 --- Here's a few system options and the dmesg: ------------------------------------------ * SCHED_4BSD, PREEMPTION, HZ=2000, ZERO_COPY_SOCKETS, AHC_ALLOW_MEMIO, GEOM_BDE, SMP, apic * CFLAGS= -O2 -pipe, COPTFLAGS= -O2 -pipe, CPUTYPE?=athlon-xp * debug.mpsafenet=1, vfs.devfs.fops=1, kern.ipc.nmbclusters=32768, kern.ipc.nsfbufs=16384 * net.inet.tcp.sendspace=524288, net.inet.tcp.recvspace=524288, kern.ipc.maxsockbuf=2097152, kern.ipc.somaxconn=512, net.inet.tcp.rfc3390=1, net.inet.ip.intr_queue_maxlen=200, net.inet.tcp.sack.enable=1, net.isr.enable=0, vfs.hirunningspace=16777216 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 6.0-CURRENT #0: Tue Nov 16 22:26:50 CET 2004 daniel@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2600+ (2000.08-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0480000 real memory = 1073217536 (1023 MB) avail memory = 1041547264 (993 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pci0: on pcib0 agp0: port 0x1490-0x1493 mem 0xea100000-0xea100fff,0xec000000-0xedffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.3 (no driver attached) em0: port 0x1400-0x143f mem 0xe8000000-0xe803ffff,0xe8080000-0xe809ffff irq 16 at device 8.0 on pci0 em0: Ethernet address: 00:04:23:ac:20:8a em0: Speed:N/A Duplex:N/A em1: port 0x1440-0x147f mem 0xe8040000-0xe807ffff,0xe80a0000-0xe80bffff irq 17 at device 8.1 on pci0 em1: Ethernet address: 00:04:23:ac:20:8b em1: Speed:N/A Duplex:N/A ahc0: port 0x1000-0x10ff mem 0xe80c0000-0xe80c0fff irq 17 at device 9.0 on pci0 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs pcib2: at device 16.0 on pci0 pci2: on pcib2 atapci1: port 0x2000-0x20ff,0x30d0-0x30d3,0x30d8-0x30df,0x30d4-0x30d7,0x30e0-0x30e7 irq 16 at device 4.0 on pci2 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 atapci2: port 0x2400-0x24ff,0x30e8-0x30eb,0x30f0-0x30f7,0x30ec-0x30ef,0x30f8-0x30ff irq 16 at device 4.1 on pci2 ata4: channel #0 on atapci2 ata5: channel #1 on atapci2 atapci3: port 0x3000-0x307f,0x30c0-0x30cf,0x3080-0x30bf mem 0xea000000-0xea01ffff,0xea021000-0xea021fff irq 18 at device 6.0 on pci2 atapci3: failed: rid 0x20 is memory, requested 4 ata6: channel #0 on atapci3 ata7: channel #1 on atapci3 ata8: channel #2 on atapci3 ata9: channel #3 on atapci3 atapci4: port 0x2800-0x28ff,0x3400-0x3403,0x3408-0x340f,0x3404-0x3407,0x3410-0x3417 irq 19 at device 7.0 on pci2 ata10: channel #0 on atapci4 ata11: channel #1 on atapci4 atapci5: port 0x2c00-0x2cff,0x3418-0x341b,0x3420-0x3427,0x341c-0x341f,0x3428-0x342f irq 19 at device 7.1 on pci2 ata12: channel #0 on atapci5 ata13: channel #1 on atapci5 cpu0 on motherboard cpu1 on motherboard orm0: at iomem 0xe0000-0xe3fff,0xc0000-0xcafff 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 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled 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) Timecounters tick every 1.000 msec ipfw2 initialized, divert loadable, rule-based forwarding disabled, default to accept, logging unlimited ad0: 117800MB [239340/16/63] at ata0-master UDMA100 ad1: 117800MB [239340/16/63] at ata0-slave UDMA100 ad2: 117800MB [239340/16/63] at ata1-master UDMA100 ad3: 117800MB [239340/16/63] at ata1-slave UDMA100 ad4: 238475MB [484521/16/63] at ata2-master UDMA100 ad5: 238475MB [484521/16/63] at ata2-slave UDMA100 ad6: 239372MB [486344/16/63] at ata3-master UDMA133 ad7: 239372MB [486344/16/63] at ata3-slave UDMA133 ad8: 194481MB [395136/16/63] at ata4-master UDMA133 ad9: 194481MB [395136/16/63] at ata4-slave UDMA133 ad10: 194481MB [395136/16/63] at ata5-master UDMA133 ad11: 239372MB [486344/16/63] at ata5-slave UDMA133 ad12: 239372MB [486344/16/63] at ata6-master SATA150 ad14: 238475MB [484521/16/63] at ata7-master SATA150 ad16: 239372MB [486344/16/63] at ata8-master SATA150 ad20: 114473MB [232581/16/63] at ata10-master UDMA100 ad21: 114473MB [232581/16/63] at ata10-slave UDMA100 ad22: 117246MB [238216/16/63] at ata11-master UDMA133 ad23: 117246MB [238216/16/63] at ata11-slave UDMA133 ad24: 114473MB [232581/16/63] at ata12-master UDMA100 ad25: 117800MB [239340/16/63] at ata12-slave UDMA100 ad26: 239372MB [486344/16/63] at ata13-master UDMA133 ar0: 476950MB [60802/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad5 at ata2-slave ar1: 478744MB [61031/255/63] status: READY subdisks: disk0 READY on ad6 at ata3-master disk1 READY on ad7 at ata3-slave ar2: 583443MB [74378/255/63] status: READY subdisks: disk0 READY on ad8 at ata4-master disk1 READY on ad9 at ata4-slave disk2 READY on ad10 at ata5-master ar3: 234493MB [29893/255/63] status: READY subdisks: disk0 READY on ad22 at ata11-master disk1 READY on ad25 at ata12-slave ar4: 228946MB [29186/255/63] status: READY subdisks: disk0 READY on ad23 at ata11-slave disk1 READY on ad24 at ata12-master Waiting 5 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 8759MB (17938986 512 byte sectors: 255H 63S/T 1116C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 8759MB (17938986 512 byte sectors: 255H 63S/T 1116C) da2 at ahc0 bus 0 target 10 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da3 at ahc0 bus 0 target 11 lun 0 da3: Fixed Direct Access SCSI-3 device da3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da3: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da4 at ahc0 bus 0 target 12 lun 0 da4: Fixed Direct Access SCSI-3 device da4: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da4: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da5 at ahc0 bus 0 target 13 lun 0 da5: Fixed Direct Access SCSI-3 device da5: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da5: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da0s1a WARNING: DEVFS uses fops