From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 21:56:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 351AF16A41F for ; Sat, 10 Dec 2005 21:56:09 +0000 (GMT) (envelope-from jgrosch@gdead.mooseriver.com) Received: from gdead.mooseriver.com (gdead.mooseriver.com [205.166.121.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12D8343D5A for ; Sat, 10 Dec 2005 21:56:08 +0000 (GMT) (envelope-from jgrosch@gdead.mooseriver.com) Received: from gdead.mooseriver.com (localhost.mooseriver.com [127.0.0.1]) by gdead.mooseriver.com (8.13.1/8.13.3) with ESMTP id jBALu5XC097010 for ; Sat, 10 Dec 2005 13:56:05 -0800 (PST) (envelope-from jgrosch@gdead.mooseriver.com) Received: (from jgrosch@localhost) by gdead.mooseriver.com (8.13.1/8.13.3/Submit) id jBALu5GB097009 for freebsd-questions@freebsd.org; Sat, 10 Dec 2005 13:56:05 -0800 (PST) (envelope-from jgrosch) Date: Sat, 10 Dec 2005 13:56:05 -0800 From: Josef Grosch To: freebsd-questions@freebsd.org Message-ID: <20051210215605.GA96968@gdead.mooseriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: CardBus panics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jgrosch@MooseRiver.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2005 21:56:09 -0000 I have an IBM T22 thinkpad running FreeBSD 5.4-RELEASE-p8. I have the CardBus devices in the current kernel. When I insert a CardBus device, A Xircom RealPort CardBus Ethernet I get a kernel panic like so; Dec 9 18:42:32 paris kernel: cbb alloc res fail Dec 9 18:42:32 paris kernel: cardbus1: Can't get memory for IO ports Dec 9 18:42:32 paris kernel: dc0: port 0-0x7f mem \ 0x88000000-0x880007ff,0x88000800-0x88000fff at device 0.0 on cardbus1 Dec 9 18:42:32 paris kernel: cbb alloc res fail Dec 9 18:42:32 paris kernel: dc0: couldn't map ports/memory Dec 9 18:42:32 paris kernel: Dec 9 18:42:32 paris kernel: Dec 9 18:42:32 paris kernel: Fatal trap 12: page fault while in kernel mode Dec 9 18:42:32 paris kernel: fault virtual address = 0x30 Dec 9 18:42:32 paris kernel: fault code = supervisor write, pag\ e not present Dec 9 18:42:32 paris kernel: instruction pointer = 0x8:0xc07b01f2 Dec 9 18:42:32 paris kernel: stack pointer = 0x10:0xd5428c10 Dec 9 18:42:32 paris kernel: frame pointer = 0x10:0xd5428c14 Dec 9 18:42:32 paris kernel: code segment = base 0x0, limit 0xfff\ ff, type 0x1b Dec 9 18:42:32 paris kernel: = DPL 0, pres 1, def32 1, gran 1 Dec 9 18:42:32 paris kernel: processor eflags = interrupt enabled, resume, IO\ PL = 0 Dec 9 18:42:32 paris kernel: current process = 38 (cbb1) Dec 9 18:42:32 paris kernel: trap number = 12 Dec 9 18:42:32 paris kernel: panic: page fault Dec 9 18:42:32 paris kernel: Uptime: 35s Dec 9 18:42:32 paris kernel: Cannot dump. No dump device defined. Dec 9 18:42:32 paris kernel: Automatic reboot in 15 seconds - press a key on t\ he console to abort Any ideas How I can fix this? The suggested sysctl, hw.pci.allow_unsupported_io_range, does not seem to exist in the kernel. Josef -- Josef Grosch | Another day closer to a | FreeBSD 5.4 jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca.