From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 05:10:51 2003 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 4867937B401 for ; Mon, 28 Apr 2003 05:10:51 -0700 (PDT) Received: from tomts20-srv.bellnexxia.net (tomts20.bellnexxia.net [209.226.175.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB86643FA3 for ; Mon, 28 Apr 2003 05:10:49 -0700 (PDT) (envelope-from dmagda@magda.ca) Received: from number6.magda.ca ([64.229.177.117]) by tomts20-srv.bellnexxia.netESMTP <20030428121048.MTOQ22383.tomts20-srv.bellnexxia.net@number6.magda.ca>; Mon, 28 Apr 2003 08:10:48 -0400 Received: from number6.magda.ca (localhost.magda.ca [127.0.0.1]) by number6.magda.ca (8.12.9/8.12.7) with ESMTP id h3SCAl0E000279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Apr 2003 08:10:47 -0400 (EDT) (envelope-from dmagda@magda.ca) Received: (from dmagda@localhost) by number6.magda.ca (8.12.9/8.12.7/Submit) id h3SCAkm0000278; Mon, 28 Apr 2003 08:10:46 -0400 (EDT) (envelope-from dmagda) Date: Mon, 28 Apr 2003 08:10:46 -0400 From: David Magda To: "M. Warner Losh" Message-ID: <20030428121045.GA238@number6.magda.ca> References: <20030427232859.GA14757@number6.magda.ca> <20030427.223255.07048352.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030427.223255.07048352.imp@bsdimp.com> User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: kernel paniced: now what? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Magda List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 12:10:51 -0000 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@pilgrim.magda.ca:/usr/obj/usr/src/sys/MYKERNEL5 i386 When I insert the Xircom card I get the following: cardbus0: at device 0.0 (no driver attached) sio4: 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@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 real memory = 134217728 (128 MB) avail memory = 125440000 (119 MB) pnpbios: Bad PnP BIOS data checksum Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 6 entries at 0xc00fdf60 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 pcib0: at pcibus 0 \ on motherboard pci0: on pcib0 agp0: mem \ 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 3.0 (no driver attached) cbb0: at device 4.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci_cfgintr: 0:4 INTA routed to irq 11 cbb1: at device 4.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci_cfgintr: 0:4 INTB routed to irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcd0-0xfcdf at \ device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xfce0-0xfcff \ irq 11 at device 7.2 on pci0 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 intpm0: port \ 0x2180-0x218f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 2180 intpm0: intr IRQ 9 enabled revision 0 intsmb0: on intpm0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 8000 pcm0: port 0xf800-0xf8ff irq 5 at device \ 8.0 on pci0 pcm0: orm0: