From owner-freebsd-mobile Sun Feb 4 17:31: 5 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from devils.maquina.com (devils.maquina.com [62.229.71.43]) by hub.freebsd.org (Postfix) with ESMTP id 1845437B491; Sun, 4 Feb 2001 17:30:41 -0800 (PST) Received: (from gabriel@localhost) by devils.maquina.com (8.9.3/8.9.3) id BAA19123; Mon, 5 Feb 2001 01:30:38 GMT (envelope-from gabriel) Date: Mon, 5 Feb 2001 01:30:38 +0000 From: Jose Gabriel J Marcelino To: freebsd-mobile@FreeBSD.ORG Cc: current@FreeBSD.ORG Subject: Aironet/NEWCARD reinsertion panic Message-ID: <20010205013038.B19069@devils.maquina.com> References: <20010204025751.A16147@devils.maquina.com> <20010204230058.A18603@devils.maquina.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010204230058.A18603@devils.maquina.com>; from gabriel@maquina.com on Sun, Feb 04, 2001 at 11:00:58PM +0000 X-Operating-System: FreeBSD 5.0-CURRENT Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi again, Ok, some people tried to help me find out why does the Aironet driver panic on reinsertion, under NEWCARD with my recent patch (see previous message and PR) however I need additional help to find the problem. I'm including the complete details on the events leading to the panic. My kernel conf is at: http://devils.maquina.com/~gabriel/MINIME Verbose kernel boot dmesgs are at: http://devils.maquina.com/~gabriel/boot.newcard Card attach messages are at: http://devils.maquina.com/~gabriel/boot.an The debug dmesg I get on NEWCARD after removing the card: pccard1: 00 CD 3b cardbus0: Detaching card: no cards to detach! pccbb_pcic_socket_disable pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] pccbb0: WARNING: Resource left allocated! This is a bug... (rid=0, type=3, addr=44001000) pccbb0: WARNING: Resource left allocated! This is a bug... (rid=0, type=1, addr=b) pccbb0: WARNING: Resource left allocated! This is a bug... (rid=0, type=4, addr=100) This is suspicious, however I'm not sure where's the problem. After that, after I reinsert the card I get lots of scrolling lines like this: CISTPL_NONE 00 And after that DDB takes over: Fatal trap 12: page fault while in kernel mode fault virtual address = 0xcaed8000 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01672c0 stack pointer = 0x10:0xc9f43c8c frame pointer = 0x10:0xc9f43e74 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 = 7 (pccbb0) kernel: type 12 trap, code=0 Stopped at pccard_scan_cis+0x120: movb 0(%eax,%edx,1),%al db> trace pccard_scan_cis(c1082680,c0167e0c,c9f43e88,0,0) at pccard_scan_cis+0x120 pccard_read_cis(c1091a00) at pccard_read_cis+0xa9 pccard_attach_card(c1082680) at pccard_attach_card+0xc5 pccbb_insert(c1091c00,c9f43fa8,c1091c00,c9f43f94,c01b659d) at pccbb_insert+0x9e pccbb_event_thread(c1091c00,c9f43fa8) at pcbb_event_thread+0x37 fork_exit(c0287278,c1091c00,c9f43fa8) at fork_exit+0x2d fork_trampoline() at fork_trampoline+0x8 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message