Re: kernel paniced: now what?

From: David Magda <dmagda+fcurrent_at_magda.ca>
Date: Mon, 28 Apr 2003 08:10:46 -0400
On Sun, Apr 27, 2003 at 10:32:55PM -0600, M. Warner Losh wrote:
> 'trace' would be good.

Posted in another message shortly after my first one.

> I've made some improvements in this area lately.  How old is the
> kernel you are using?  Can you send me more of the 'dmesg' before this
> panic?

Quite recent. I just updated it the other day (Friday/Saturday),
here's a 'uname -a':

FreeBSD pilgrim.magda.ca 5.0-CURRENT FreeBSD 5.0-CURRENT #0: \
	Sat Apr 26 00:02:46 EDT 2003     \
	dave_at_pilgrim.magda.ca:/usr/obj/usr/src/sys/MYKERNEL5  i386

When I insert the Xircom card I get the following:

  cardbus0: <network, ethernet> at device 0.0 (no driver attached)
  sio4: <Xircom Cardbus modem> port 0x1000-0x1007 \
    mem 0x88002000-0x880027ff,0x88002800-0x88002fff \
    irq 11 at device 0.1 on cardbus0
   sio4: type 16550A
  cbb alloc res fail

Investigating further, it seems a little while ago I took out the
dc(4) driver from a kernel config file. Since I usually use my
wireless network card (wi(4)) I didn't notice.

If I load the if_dc.ko module I get another interface listed when I
run 'ifconfig'. However, even if the module is loaded, when I pull
the card it still panics.

If I install the if_dc.ko module (and miibus) then the Ethernet card
is recongized for what it is. I do still get the line "cbb alloc res
fail". A 'trace' produces similiar output to the one I've aleady
posted.

Dmesg(8) output:

Copyright (c) 1992-2003 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.0-CURRENT #0: Sat Apr 26 00:02:46 EDT 2003
    dave_at_pilgrim.magda.ca:/usr/obj/usr/src/sys/MYKERNEL5
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0483000.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (300.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134217728 (128 MB)
avail memory = 125440000 (119 MB)
pnpbios: Bad PnP BIOS data checksum
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00fdf60
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 \
    on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem \
    0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <multimedia, video> at device 3.0 (no driver attached)
cbb0: <TI1220 PCI-CardBus Bridge> at device 4.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci_cfgintr: 0:4 INTA routed to irq 11
cbb1: <TI1220 PCI-CardBus Bridge> at device 4.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci_cfgintr: 0:4 INTB routed to irq 11
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xfcd0-0xfcdf at \
    device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff \
    irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
intpm0: <Intel 82371AB Power management controller> port \
    0x2180-0x218f irq 9 at device 7.3 on pci0
intpm0: I/O mapped 2180
intpm0: intr IRQ 9 enabled revision 0
intsmb0: <Intel PIIX4 SMBUS Interface> on intpm0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus0
intpm0: PM I/O mapped 8000 
pcm0: <ESS Technology Maestro-2> port 0xf800-0xf8ff irq 5 at device \
    8.0 on pci0
pcm0: <Analog Devices AD1819 AC97 Codec>
orm0: <Option ROM> at iomem 0xc0000-0xcefff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at \
    port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff \
    on isa0
Timecounters tick every 10.000 msec
ata1-slave: timeout waiting for interrupt
ata1-slave: ATAPI identify failed
ad0: 9590MB <FUJITSU MHG2102AT> [19485/16/63] at ata0-master UDMA33
acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2202> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
wi0: <Instant Wireless   Network PC CARD> at port 0x100-0x13f irq \
    11 function 0 config 1 on pccard1
wi0: 802.11 address: 00:06:25:52:2f:4e
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.0)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

The wi0 was loaded after boot so I could transfer over the output of
dmesg.
Received on Mon Apr 28 2003 - 03:10:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:05 UTC