From owner-cvs-all@FreeBSD.ORG Tue Mar 8 00:24:36 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A49616A4CE; Tue, 8 Mar 2005 00:24:36 +0000 (GMT) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id A170A43D3F; Tue, 8 Mar 2005 00:24:35 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id 485052DE667; Tue, 8 Mar 2005 00:06:03 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 109DC407C; Tue, 8 Mar 2005 00:05:15 +0100 (CET) Date: Tue, 8 Mar 2005 00:05:15 +0100 From: Jeremie Le Hen To: "M. Warner Losh" Message-ID: <20050307230515.GD94451@obiwan.tataz.chchile.org> References: <200502280127.j1S1ROkh066282@repoman.freebsd.org> <20050306050505.GA71191@obiwan.tataz.chchile.org> <20050305.221600.35662653.imp@bsdimp.com> <20050306174714.GC74191@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050306174714.GC74191@obiwan.tataz.chchile.org> User-Agent: Mutt/1.5.8i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: jeremie@le-hen.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/cardbus cardbus.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 00:24:36 -0000 Hi Warner, > > Attaching how? On kldload or in general? What kind of card do you > > have? What messages are involved? > > I have two PCMCIA rl(4) adapters. Both don't work with rev 1.49 of > cardbus.c. I attached my kernel configuration file. Inserting the > card before or after booting doesn't change anything. I manage to get a PCMCIA network card with another chipset. It uses the dc(4) driver. This time, with rev 1.49 of cardbus.c, the system panices whereas it works quite well with rev 1.48. Having dc(4) compiled in kernel or as a kld doesn't change anything. Here is the end of dmesg (the box was booting), the panic message and the backtrace (hand-written) : %%% cardbus1: Resource not specified in CIS: id=14, size=400 dc0: port 0x1000-0x10ff mem 0x88000000-0x-880003ff irq 11 ar device 0.0 on cardbus1 dc0: requested interrupt 6-6,count = 1 not supported by cbb dc0: couldn't map interrupt Fatal trap 12: page fault while in kernel mode fault virtual address = 0x30 fault code = supervisor write, page not present instruction pointer = 0x8:0xc06ac1c3 stack pointer = 0x10:0xd1062b8c frame pointer = 0x10:0xd1062b98 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 = 36 (cbb1) [thread pid 36 tid 100049 ] Stopped at bus_dmamap_destroy+0x33: decl 0x30(ebx) db> trace Tracing pid 36 tod 100049 td 0xc17e0e10 bus_dmamap_destroy(0,0,10,c1846680,c1805180) at bus_dmamap_destroy+0x33 dc_detach(c18b5900,0,d1062c14,0,ffffffff) at dc_detach+0x189 dc_attach(c18b5900,c178904c,c0737738,c18b5900,c18b5900) at dc_attach+0x11af device_attach(c18b5900,c18b5900,c0708950,8dc,24) at device_attach+0x6a device_probe_and_attach(c18b5900,c18e2a00,0,0,c18e2a08) at device_probe_and_attach+0x111 cardbus_attach_card(c1805180,c17ac890,c073331c,c17de7f0,30000920) at cardbus_attach_card+0x24e cbb_insert(c17d6000,0,c06fe79e,1d3,c17d63f0) at cbb_insert+0xf8 cbb_event_thread(c17d6000,d1062d48,c0704752,30e,0) at cbb_event_thread+0x14f fork_exit(c04d0a10,c17d6000,d1062d48) at fork_exit+0xc6 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xd1062d7c, ebp = 0 --- %%% I got a dump. Please contact me off-list if you want it. Here are the card info: %%% none3@pci5:0:0: class=0x020000 card=0x511a1385 chip=0x19851317 rev=0x11 hdr=0x00 vendor = 'ADMtek Inc' device = 'AN985 FastNIC CardBus 10/100 Fast Ethernet Adapter' class = network subclass = ethernet I hope this will help. Best regards, PS: Note there seems to be a whitespace typo on the following line, just after the first comma, a space seems to be missing : dc0: requested interrupt 6-6,count = 1 not supported by cbb -- Jeremie Le Hen jeremie at le-hen dot org