Re: cf-card in pccard slot panics kernel 6.0 BETA and rc1 at boottime

From: Marten Vijn <info_at_martenvijn.nl>
Date: Wed, 19 Oct 2005 19:13:17 +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_at_, 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_at_:/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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
  Hyperthreading: 2 logical CPUs
real memory  = 536281088 (511 MB)
avail memory = 511107072 (487 MB)
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> 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: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 10 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 10 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 0 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 10 on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1c> 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: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce FX Go53xx> mem
0xd1000000-0xd1ffffff,0xe0000000-0xefffffff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x1cc0-0x1cdf
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> 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: <Intel 82801EB (ICH5) USB controller USB-B> port 0x1ce0-0x1cff
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> 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: <Intel 82801EB (ICH5) USB controller USB-C> port 0x2000-0x201f
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> 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: <Intel 82801EB (ICH5) USB controller USB-D> port 0x2020-0x203f
irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib2
cbb0: <PCI-CardBus Bridge> at device 4.0 on pci3
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <PCI-CardBus Bridge> at device 4.1 on pci3
cardbus1: <CardBus bus> 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: <IEEE1394(FireWire) bus> 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: <mass storage> at device 4.3 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem
0xd2015800-0xd20158ff irq 19 at device 5.0 on pci3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0a:e4:55:3b:8f
ath0: <Atheros 5212> 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: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH5 (82801EB)> port 0x1400-0x14ff,0x1c80-0x1cbf mem
0xd0000c00-0xd0000dff,0xd0000800-0xd00008ff irq 17 at device 31.5 on
pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC655 AC97 Codec>
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
acpi_button1: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> 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: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd0fff,0xdc000-0xdffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> 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 <DELKIN DEVICES INC. CFPRO-512 CFCA217D> at ata2-master PIO4
ad0: 76319MB <IC25N080ATMR04 0 MO4OAD4A> at ata0-master UDMA100
acd0: DVDR <HL-DT-ST DVD-RW GWA-4040N/1.01> 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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Oct 19 2005 - 15:13:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC