From owner-freebsd-current@FreeBSD.ORG Wed Oct 19 17:13:13 2005 Return-Path: X-Original-To: freebsd-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 13D6316A41F for ; Wed, 19 Oct 2005 17:13:13 +0000 (GMT) (envelope-from info@martenvijn.nl) Received: from martenvijn.nl (vijn.xs4all.nl [194.109.254.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33D4B43D53 for ; Wed, 19 Oct 2005 17:13:11 +0000 (GMT) (envelope-from info@martenvijn.nl) Received: from [192.168.1.6] ([192.168.1.6]) by martenvijn.nl (8.13.4/8.13.1) with ESMTP id j9JHDrSl093021; Wed, 19 Oct 2005 19:13:54 +0200 (CEST) (envelope-from info@martenvijn.nl) From: Marten Vijn To: "M. Warner Losh" In-Reply-To: <20051019.092957.122315513.imp@bsdimp.com> References: <1129663158.715.35.camel@localhost.localdomain> <20051018.170403.10821844.imp@bsdimp.com> <1129735927.689.37.camel@localhost.localdomain> <20051019.092957.122315513.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Organization: Marten Vijn Date: Wed, 19 Oct 2005 19:13:17 +0000 Message-Id: <1129749197.689.77.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: cf-card in pccard slot panics kernel 6.0 BETA and rc1 at boottime X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: info@martenvijn.nl List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 17:13:13 -0000 On Wed, 2005-10-19 at 09:29 -0600, M. Warner Losh wrote: > : > Any chance for a trace? Without it, this is impossible to make > : > progress on since it doesn't happen for me here... > Actually you need the following: > kernel with: options KDB options DDB Here is panic + trace, the whole boot is below thanks, Marten Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x28 fault code = supervisor read, page not present instruction pointer = 0x20:0xc052cfc4 stack pointer = 0x28:0xc1020cc8 frame pointer = 0x28:0xc1020cd0 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 = 0 (swapper) [thread pid 0 tid 0 ] Stopped at devclass_sysctl_init+0x8: cmpl $0,0x28(%esi) db> trace Tracing pid 0 tid 0 td 0xc071dfc0 devclass_sysctl_init(0,c2135300,c2103380,0,c1020cfc) at devclass_sysctl_init+0x8 device_sysctl_init(c2135300,c2135300,c2103380,c1020d18,c052efac) at device_sysctl_init+0x1c device_attach(c2135300,c1020d24,c2135300,c2103380,0) at device_attach +0xe device_probe_and_attach(c2135300) at device_probe_and_attach+0xc4 bus_generic_attach(c2103380,c2103380,ffffffff,4,c2135300) at bus_generic_attach+0x16 ata_identify(c2103380) at ata_identify+0x1c8 ata_boot_attach(0) at ata_boot_attach+0x56 run_interrupt_driven_config_hooks(0,101ec00,101e000,0,c0435755) at run_interrupt_driven_config_hooks+0x18 mi_startup() at mi_startup+0x96 begin() at begin+0x2c db> #### whole boot: # tip com1 connected ç/boot.config: -DConsoles: internal video/keyboard serial port BIOS drive C: is disk0 BIOS 638kB/522688kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@, Wed Oct 19 15:03:05 CEST 2005) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x2e2358 data=0x35dc0+0x324e8 syms=[0x4+0x43c40 +0x4+0x546ab] /boot/kernel/linux.ko text=0x12e00 data=0x1694+0x54 syms=[0x4+0x2900+0x4 +0x26d5] /boot/kernel/snd_ich.ko text=0x327c data=0x27c syms=[0x4+0x960+0x4 +0x961] loading required module 'sound' /boot/kernel/sound.ko text=0x13528 data=0x2908+0x10e0 syms=[0x4+0x2a40 +0x4+0x2f98] /boot/modules/nvidia.ko text=0x2925ec data=0xe963c+0x1408 syms=[0x4 +0x25790+0x4+0x1c0f9] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... /boot/kernel/acpi.ko text=0x40c0c data=0x2160+0x1090 syms=[0x4+0x7810 +0x4+0xa292] GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2005 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-RC1 #6: Wed Oct 19 18:38:50 CEST 2005 root@:/usr/obj/usr/src/sys/medion_ktr Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz (3059.21-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400> Hyperthreading: 2 logical CPUs real memory = 536281088 (511 MB) avail memory = 511107072 (487 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard wlan: mac acl policy registered ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: irq 10 on acpi0 pci_link2: irq 11 on acpi0 pci_link3: irq 10 on acpi0 pci_link4: irq 11 on acpi0 pci_link5: irq 0 on acpi0 pci_link6: irq 0 on acpi0 pci_link7: irq 10 on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 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 cpu1: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xd1000000-0xd1ffffff,0xe0000000-0xefffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] uhci0: port 0x1cc0-0x1cdf irq 16 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 0x1ce0-0x1cff irq 19 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 0x2000-0x201f irq 18 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 uhci3: port 0x2020-0x203f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xd0000000-0xd00003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib2: at device 30.0 on pci0 pci3: on pcib2 cbb0: at device 4.0 on pci3 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 4.1 on pci3 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: <1394 Open Host Controller Interface> mem 0xd2015000-0xd20157ff,0xd2010000-0xd2013fff irq 23 at device 4.2 on pci3 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 12:34:56:78:12:34:56:78 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pci3: at device 4.3 (no driver attached) rl0: port 0x3000-0x30ff mem 0xd2015800-0xd20158ff irq 19 at device 5.0 on pci3 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0a:e4:55:3b:8f ath0: mem 0xd2000000-0xd200ffff irq 18 at device 6.0 on pci3 ath0: Ethernet address: 00:0b:6b:34:55:41 ath0: mac 5.9 phy 4.3 radio 3.6 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0x1400-0x14ff,0x1c80-0x1cbf mem 0xd0000c00-0xd0000dff,0xd0000800-0xd00008ff irq 17 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 acpi_button1: 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: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio1 port 0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A battery0: on acpi0 acpi_acad0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xd0000-0xd0fff,0xdc000-0xdffff 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 Timecounters tick every 1.000 msec ata2: <512Meg CFPROV1R1> at port 0x3100-0x310f irq 20 function 0 config 1 on pccard0 ad4: 488MB at ata2-master PIO4 ad0: 76319MB at ata0-master UDMA100 acd0: DVDR at ata1-master UDMA33 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x28 fault code = supervisor read, page not present instruction pointer = 0x20:0xc052cfc4 stack pointer = 0x28:0xc1020cc8 frame pointer = 0x28:0xc1020cd0 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 = 0 (swapper) [thread pid 0 tid 0 ] Stopped at devclass_sysctl_init+0x8: cmpl $0,0x28(%esi) db> trace Tracing pid 0 tid 0 td 0xc071dfc0 devclass_sysctl_init(0,c2135300,c2103380,0,c1020cfc) at devclass_sysctl_init+0x8 device_sysctl_init(c2135300,c2135300,c2103380,c1020d18,c052efac) at device_sysctl_init+0x1c device_attach(c2135300,c1020d24,c2135300,c2103380,0) at device_attach +0xe device_probe_and_attach(c2135300) at device_probe_and_attach+0xc4 bus_generic_attach(c2103380,c2103380,ffffffff,4,c2135300) at bus_generic_attach+0x16 ata_identify(c2103380) at ata_identify+0x1c8 ata_boot_attach(0) at ata_boot_attach+0x56 run_interrupt_driven_config_hooks(0,101ec00,101e000,0,c0435755) at run_interrupt_driven_config_hooks+0x18 mi_startup() at mi_startup+0x96 begin() at begin+0x2c db> > > and when the panic happens, you'll get 'db> ' prompt. Type 'trace' > there and report what comes back. > > Warner > _______________________________________________ > 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"