From owner-freebsd-current@FreeBSD.ORG Fri Jan 13 03:05:19 2006 Return-Path: X-Original-To: current@freebsd.org 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 E99D616A41F for ; Fri, 13 Jan 2006 03:05:19 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E53E43D45 for ; Fri, 13 Jan 2006 03:05:19 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.146]) ([10.251.23.146]) by a50.ironport.com with ESMTP; 12 Jan 2006 19:05:19 -0800 X-IronPort-Anti-Spam-Filtered: true Message-ID: <43C718EF.9050301@elischer.org> Date: Thu, 12 Jan 2006 19:05:19 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Huang wen hui References: <43C712A7.1050805@gddsn.org.cn> In-Reply-To: <43C712A7.1050805@gddsn.org.cn> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: if_em panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 13 Jan 2006 03:05:20 -0000 Huang wen hui wrote: >hi, >when I load if_em on TP42P got this panic: > > looks like the first interrupt occurs before the driver has finished setting itself up.. (just a first impression). Scott'll probably nail it. I'm guessing it works fine if compiled in.. >#kldload if_em >[thread pid 1300 tid 100060 ] >Stopped at em_intr_fast+0xb: movl 0x4(%eax),%edx >db> >db> bt >Tracing pid 1300 tid 100060 td 0xc673b340 >em_intr_fast(c6b07800) at em_intr_fast+0xb >intr_execute_handlers(c096d718,e8d338b8,c673b340,c096d514,c096d718) at >intr_execute_handlers+0xe1 >atpic_handle_intr(b) at atpic_handle_intr+0x96 >Xatpic_intr11() at Xatpic_intr11+0x20 >--- interrupt, eip = 0xc0853d23, esp = 0xe8d338f8, ebp = 0xe8d338fc --- >spinlock_exit(c096d718,0,c6b07948,e8d3392c,c085067d) at spinlock_exit+0x27 >atpic_enable_source(c096d718,c096d718,c096d718) at atpic_enable_source+0x7f >intr_add_handler(c64d83c0,b,c6c55418,c6b07800,84) at intr_add_handler+0x59 >nexus_setup_intr(c6390780,c6505480,c6afdd00,84,c6c55418,c6b07800,c6b07948) >at nexus_setup_intr+0x66 >bus_generic_setup_intr(c6484200,c6505480,c6afdd00,84,c6c55418,c6b07800,c6b07948) >at bus_generic_setup_intr+0x76 >bus_generic_setup_intr(c6484880,c6505480,c6afdd00,84,c6c55418,c6b07800,c6b07948) >at bus_generic_setup_intr+0x76 >bus_generic_setup_intr(c64d0100,c6505480,c6afdd00,84,c6c55418,c6b07800,c6b07948) >at bus_generic_setup_intr+0x76 >bus_generic_setup_intr(c64d1000,c6505480,c6afdd00,84,c6c55418,c6b07800,c6b07948) >at bus_generic_setup_intr+0x76 >bus_generic_setup_intr(c6505800,c6505480,c6afdd00,84,c6c55418,c6b07800,c6b07948)t >bus_generic_setup_intr+0x76 >bus_setup_intr(c6505480,c6afdd00,84,c6c55418,c6b07800) at >bus_setup_intr+0x99 >em_attach(c6505480) at em_attach+0x787 >device_attach(c6505480,c6505480,c6505480,2,c64f5000) at device_attach+0x58 >device_probe_and_attach(c6505480,c6505480,c64f5000) at >device_probe_and_attach+0xc4 >pci_driver_added(c6505800,c6c63b08) at pci_driver_added+0xd1 >devclass_add_driver(c6387e40,c6c63b08,c6aa9700,c6c63ae8,c6863cc0) at >devclass_add_driver+0xb7 >driver_module_handler(c6aa9700,0,c6c63af4,c0991040,0) at >driver_module_handler+0x59 >module_register_init(c6c63ae8) at module_register_init+0x4b >linker_file_sysinit(c6b94200,c6b94200,1,c6b94200,c6863cc0) at >linker_file_sysinit+0x7d >linker_load_file(c6863cc0,e8d33c50,400,0,c64e7c00) at linker_load_file+0xce >linker_load_module(0,c64e7c00,0,0,e8d33c7c) at linker_load_module+0xa3 >kldload(c673b340,e8d33d04,1,1,296) at kldload+0xe7 >syscall(3b,3b,3b,0,bfbfed54) at syscall+0x2ee >Xint0x80_syscall() at Xint0x80_syscall+0x1f >--- syscall (304, FreeBSD ELF32, kldload), eip = 0x280c41cb, esp = >0xbfbfeccc, ebp = 0xbfbfed08 --- > >#dmesg >Copyright (c) 1992-2006 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 7.0-CURRENT #27: Thu Jan 12 23:40:06 CST 2006 >root@tp.gddsn.org.cn:/usr/obj/usr/src/sys/IBM01 >Timecounter "i8254" frequency 1193182 Hz quality 0 >CPU: Intel(R) Pentium(R) M processor 1.80GHz (598.06-MHz 686-class CPU) >Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 >Features=0xafe9f9bfLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE> >Features2=0x180 >real memory = 2146828288 (2047 MB) >avail memory = 2095865856 (1998 MB) >ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) >npx0: [FAST] >npx0: on motherboard >npx0: INT 16 interface >acpi0: on motherboard >acpi_ec0: port 0x62,0x66 on acpi0 >acpi0: Power Button (fixed) >Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 >cpu0: on acpi0 >acpi_perf0: on cpu0 >acpi_throttle0: on cpu0 >acpi_lid0: on acpi0 >acpi_button0: on acpi0 >pcib0: port 0xcf8-0xcff on acpi0 >pci0: on pcib0 >agp0: on hostb0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >vgapci0: port 0x3000-0x30ff mem >0xe0000000-0xe7ffffff,0 xc0100000-0xc010ffff irq 11 at device 0.0 on pci1 >uhci0: port 0x1800-0x181f >irq 11 at device 29.0 on pci0 >uhci0: [GIANT-LOCKED] >usb0: on uhci0 >usb0: USB revision 1.0 >uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub0: 2 ports with 2 removable, self powered >uhci1: port 0x1820-0x183f >irq 11 at device 29.1 on pci0 >uhci1: [GIANT-LOCKED] >usb1: on uhci1 >usb1: USB revision 1.0 >uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub1: 2 ports with 2 removable, self powered >uhci2: port 0x1840-0x185f >irq 11 at device 29.2 on pci0 >uhci2: [GIANT-LOCKED] >usb2: on uhci2 >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 >ehci0: mem >0xc0000000-0xc00003ff i rq 11 at device 29.7 on pci0 >ehci0: [GIANT-LOCKED] >usb3: EHCI version 1.0 >usb3: companion controllers, 2 ports each: usb0 usb1 usb2 >usb3: on ehci0 >usb3: USB revision 2.0 >uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 >uhub3: 6 ports with 6 removable, self powered >pcib2: at device 30.0 on pci0 >pci2: on pcib2 >cbb0: mem 0xb0000000-0xb0000fff irq 11 at device >0.0 on pci 2 >cardbus0: on cbb0 >pccard0: <16-bit PCCard bus> on cbb0 >cbb1: mem 0xb1000000-0xb1000fff irq 11 at device >0.1 on pci 2 >cardbus1: on cbb1 >pccard1: <16-bit PCCard bus> on cbb1 >pci2: at device 1.0 (no driver attached) >ath0: mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on pci2 >ath0: Ethernet address: 00:05:4e:4d:2a:7b >ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 >isab0: at device 31.0 on pci0 >isa0: on isab0 >atapci0: port >0x1f0-0x1f7,0x3f6,0x170-0x177,0x37 6,0x1860-0x186f at device 31.1 on pci0 >ata0: on atapci0 >ata1: on atapci0 >ichsmb0: port 0x1880-0x189f irq >11 at de vice 31.3 on pci0 >ichsmb0: [GIANT-LOCKED] >smbus0: on ichsmb0 >smb0: on smbus0 >pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem >0xc0000c00-0xc 0000dff,0xc0000800-0xc00008ff irq 11 at device 31.5 on pci0 >pcm0: >pci0: at device 31.6 (no driver attached) >acpi_tz0: on acpi0 >atkbdc0: port 0x60,0x64 irq 1 on acpi0 >atkbd0: irq 1 on atkbdc0 >kbd0 at atkbd0 >atkbd0: [GIANT-LOCKED] >psm0: irq 12 on atkbdc0 >psm0: [GIANT-LOCKED] >psm0: model Generic PS/2 mouse, device ID 0 >sio0: configured irq 4 not in bitmap of probed irqs 0 >sio0: port may not be enabled >sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on >acpi0 >sio0: type 8250 or not responding >ppc0: port 0x378-0x37f irq 7 on acpi0 >ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode >ppbus0: on ppc0 >plip0: on ppbus0 >lpt0: on ppbus0 >lpt0: Interrupt-driven port >ppi0: on ppbus0 >sio1: configured irq 3 not in bitmap of probed irqs 0 >sio1: port may not be enabled >battery0: on acpi0 >acpi_acad0: on acpi0 >sio1: configured irq 3 not in bitmap of probed irqs 0 >sio1: port may not be enabled >pmtimer0 on isa0 >orm0: at iomem >0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff pnpid ORM0000 on isa0 >sc0: at flags 0x100 on isa0 >sc0: VGA <16 virtual consoles, flags=0x300> >vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >sio1: configured irq 3 not in bitmap of probed irqs 0 >sio1: port may not be enabled >ugen0: vendor 0x1668 product 0x2441, rev 1.10/5.46, addr 2 >Timecounter "TSC" frequency 598061766 Hz quality 800 >Timecounters tick every 1.000 msec >ad0: 57231MB at ata0-master UDMA100 >cardbus1: CIS pointer is 0! >fwohci0: mem >0xc0240000-0xc02407ff,0xc0244000-0xc0 247fff at device 0.0 on cardbus1 >fwohci0: OHCI version 1.10 (ROM=1) >fwohci0: No. of Isochronous channels is 4. >fwohci0: EUI64 00:00:30:bd:00:00:00:00 >fwohci0: Phy 1394a available S400, 3 ports. >fwohci0: Link S400, max_rec 2048 bytes. >firewire0: on fwohci0 >dcons_crom0: on firewire0 >dcons_crom0: bus_addr 0x7d7b0000 >fwip0: on firewire0 >fwip0: Firewire address: 00:00:30:bd:00:00:00:00 @ 0xfffe00000000, S400, >maxrec 2048 >sbp0: on firewire0 >fwohci0: Initiate bus reset >fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode >firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) >firewire0: bus manager 0 (me) >fwohci0: BUS reset >fwohci0: BUS reset >fwohci0: node_id=0x8000ffc0, gen=2, non CYCLEMASTER mode >firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 >firewire0: bus manager 1 >firewire0: New S400 device ID:0001b700000104a8 >acd0: DVDR at ata1-master UDMA33 >Trying to mount root from ufs:/dev/ad0s1a >WARNING: / was not properly dismounted >WARNING: /tmp was not properly dismounted >/tmp: mount pending error: blocks 16 files 4 >WARNING: /var was not properly dismounted >/var: mount pending error: blocks 140 files 14 >WARNING: /usr was not properly dismounted >/usr: mount pending error: blocks 4 files 1 >WARNING: /home was not properly dismounted >fwohci0: BUS reset >fwohci0: node_id=0xc000ffc0, gen=3, CYCLEMASTER mode >firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) >firewire0: bus manager 0 (me) >drm0: on vgapci0 >info: [drm] AGP at 0xd0000000 256MB >info: [drm] Initialized radeon 1.19.0 20050911 >info: [drm] Loading R300 Microcode >fwohci0: device physically ejected? >dcons_crom0: detached >fwip0: detached >sbp0: detached >firewire0: detached >fwohci0: detached >ath0: link state changed to UP >info: [drm] Loading R300 Microcode > > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >