From owner-freebsd-current@FreeBSD.ORG Sun Jan 25 12:52:20 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 AE86916A4CF for ; Sun, 25 Jan 2004 12:52:20 -0800 (PST) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E86E43D5D for ; Sun, 25 Jan 2004 12:51:30 -0800 (PST) (envelope-from conardcox@earthlink.net) Received: from rocket.leaguetrax.com. ([66.56.143.0])i0PKpRTe001212 for ; Sun, 25 Jan 2004 15:51:28 -0500 (EST) From: Richard Cox To: freebsd-current@freebsd.org Date: Sun, 25 Jan 2004 15:19:19 -0500 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401251519.19925.conardcox@earthlink.net> X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: devfs kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conardcox@earthlink.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 20:52:20 -0000 I was trying to get xine going on 5.2 Current and ran into a kernel panic. After a bit of investigating, I discovered I could reproduce the panic consistently just by trying to stat /dev/dsp1 (i.e., just an 'ls /dev/dsp1' will cause the kernel to panic). Here are the particulars, please let me know if there is any more information you would need to track this down: rocket:/usr/src/sys/fs/devfs]# kldstat Id Refs Address Size Name 1 11 0xc0400000 3a3d08 kernel 2 1 0xc07a4000 1ceac linux.ko 3 1 0xc07c1000 8744 snd_emu10k1.ko 4 2 0xc07ca000 1d5d8 snd_pcm.ko 5 1 0xc07e8000 1af00 radeon.ko 6 1 0xc0803000 4da2c acpi.ko gdb traceback: (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc04ff58c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372 #2 0xc04ff8ff in poweroff_wait (junk=0xc06b5e99, howto=821) at /usr/src/sys/kern/kern_shutdown.c:550 #3 0xc0668d4d in trap_fatal (frame=0xc06ae406, eva=0) at /usr/src/sys/i386/i386/trap.c:821 #4 0xc0668a5c in trap_pfault (frame=0xe54769d8, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:735 #5 0xc066863c in trap (frame= {tf_fs = -448331752, tf_es = -1067253744, tf_ds = 16, tf_edi = 3, tf_esi = -448304353, tf_ebp = -448304552, tf_isp = -448304636, tf_ebx = 1, tf_edx = 0, tf_ecx = 1, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -969554095, tf_cs = 8, tf_eflags = 66118, tf_esp = -971754816, tf_ss = 1}) at /usr/src/sys/i386/i386/trap.c:420 #6 0xc065b408 in calltrap () at {standard input}:94 #7 0xc04b2f94 in devfs_lookupx (ap=0x0) at /usr/src/sys/fs/devfs/devfs_vnops.c:386 #8 0xc04b32f3 in devfs_lookup (ap=0xe5476b88) at /usr/src/sys/fs/devfs/devfs_vnops.c:455 #9 0xc0551dac in lookup (ndp=0xe5476c28) at vnode_if.h:52 #10 0xc05517d4 in namei (ndp=0xe5476c28) at /usr/src/sys/kern/vfs_lookup.c:183 #11 0xc055f9a7 in lstat (td=0xc60febd0, uap=0xe5476d14) at /usr/src/sys/kern/vfs_syscalls.c:2036 #12 0xc06690c2 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134542080, tf_esi = 134542152, tf_ebp = -1077942680, tf_isp = -448303756, tf_ebx = 672751904, tf_edx = 134557824, tf_ecx = 0, tf_eax = 190, tf_trapno = 12, tf_err = 2, tf_eip = 672244687, tf_cs = 31, tf_eflags = 582, tf_esp = -1077942836, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1010 #13 0xc065b45d in Xint0x80_syscall () at {standard input}:136 dmesg output: 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 #1: Sat Jan 24 13:06:57 EST 2004 root@rocket.leaguetrax.com:/usr/obj/usr/src/sys/ROCKET Preloaded elf kernel "/boot/kernel/kernel" at 0xc0852000. Preloaded elf module "/boot/kernel/linux.ko" at 0xc0852294. Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc0852340. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc08523f0. Preloaded elf module "/boot/kernel/radeon.ko" at 0xc085249c. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0852548. module_register: module pci/DRIVER_NAME already exists! Module pci/DRIVER_NAME failed to register: 17 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.20GHz (2193.35-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff real memory = 1073479680 (1023 MB) avail memory = 1040945152 (992 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 13 entries at 0xc00f2aa0 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.MDET] (Node 0xc224a180), AE_AML_REGION_LIMIT ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0._CRS] (Node 0xc224a280), AE_AML_REGION_LIMIT ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0._CRS] (Node 0xc224a280), AE_AML_REGION_LIMIT can't fetch resources for \\_SB_.PCI0 - AE_AML_REGION_LIMIT ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.MDET] (Node 0xc224a180), AE_AML_REGION_LIMIT ACPI-1287: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 0xc226d400), AE_AML_REGION_LIMIT ACPI-0175: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 0xc226d400), AE_AML_REGION_LIMIT can't fetch resources for \\_SB_.MEM_ - AE_AML_REGION_LIMIT acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 acpi_button0: on acpi0 pcib0: on acpi0 pci0: on pcib0 pcib0: slot 31 INTD is routed to irq 5 pcib0: slot 31 INTB is routed to irq 10 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib0: slot 1 INTA is routed to irq 11 pcib1: slot 0 INTA is routed to irq 11 drm0: port 0xc800-0xc8ff mem 0xff8f0000-0xff8fffff,0xe0000000-0xe7ffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xf8000000 64MB info: [drm] Initialized radeon 1.10.0 20020828 on minor 0 pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 1 INTA is routed to irq 5 pcib2: slot 1 INTB is routed to irq 3 pcib2: slot 1 INTC is routed to irq 9 pcib2: slot 8 INTA is routed to irq 11 pcib2: slot 10 INTA is routed to irq 11 pcib2: slot 11 INTA is routed to irq 9 pcib2: slot 12 INTA is routed to irq 10 pcib2: slot 13 INTA is routed to irq 11 ohci0: mem 0xff9fd000-0xff9fdfff irq 5 at device 1.0 on pci2 usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB Optical Mouse, rev 1.10/21.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ohci1: mem 0xff9fe000-0xff9fefff irq 3 at device 1.1 on pci2 usb1: OHCI version 1.0 usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci2: at device 1.2 (no driver attached) fxp0: port 0xdf00-0xdf3f mem 0xff9fc000-0xff9fcfff irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:03:47:d3:fb:ac miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: at device 10.0 (no driver attached) fwohci0: mem 0xff9f8000-0xff9fbfff,0xff9ff000-0xff9ff7ff irq 9 at device 11.0 on pci2 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:05:3f:52:00:00:16:14 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:05:3f:00:16:14 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pcm0: port 0xdf80-0xdf9f irq 10 at device 12.0 on pci2 pcm0: pci2: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xef80-0xef9f irq 5 at device 31.2 on pci0 usb2: on uhci0 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 31.3 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 acpi_cpu1: on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 pmtimer0 on isa0 orm0: