Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2001 01:30:38 +0000
From:      Jose Gabriel J Marcelino <gabriel@maquina.com>
To:        freebsd-mobile@FreeBSD.ORG
Cc:        current@FreeBSD.ORG
Subject:   Aironet/NEWCARD reinsertion panic
Message-ID:  <20010205013038.B19069@devils.maquina.com>
In-Reply-To: <20010204230058.A18603@devils.maquina.com>; from gabriel@maquina.com on Sun, Feb 04, 2001 at 11:00:58PM %2B0000
References:  <20010204025751.A16147@devils.maquina.com> <20010204230058.A18603@devils.maquina.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010205013038.B19069>