Re: Aironet/NEWCARD reinsertion panic

2001-02-04 Thread Warner Losh

In message <[EMAIL PROTECTED]> Jose Gabriel J Marcelino writes:
: 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

Ah, this is a different panic than I've seeing on are removal.  Looks
like a resource conflict (likely unrelated to the resources not
released, but there is a chance).

The 16-bit support is still somewhat fragile in -current...

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Aironet/NEWCARD reinsertion panic

2001-02-04 Thread Warner Losh

In message <[EMAIL PROTECTED]> Jose Gabriel J Marcelino writes:
: 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.

*ALL* cards panic on reinsertion.  At least all of them that I've
tried.  This has been broken in the past 2 or 3 weeks.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Aironet/NEWCARD reinsertion panic

2001-02-04 Thread Jose Gabriel J Marcelino

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 0xf, 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:  movb0(%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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message