NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/51585: detaching cardbus adapter causing panic



The following reply was made to PR kern/51585; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/51585: detaching cardbus adapter causing panic
Date: Sun, 30 Oct 2016 06:28:39 +0000 (UTC)

 venture37%geeklan.co.uk@localhost writes:
 
 >Psion, 10-100Mb MF CardBus, 400062-01C, 123456789abc (manufacturer 0x16c, product 0x21) Standard Microsystems 83C175 ("EPIC/100") Fast Ethernet (ethernet network, revision 0x01) at cardbus0 function 0 not configured
 
 >Removing the card causes the system to panic:
 >uvm_fault(0xc0ff0d40, 0, 2) -> 0xe
 >fatal page fault in supervisor mode
 >trap type 6 code 2 eip c097d39e cs 8 eflags 10296 cr2 19c ilevel 8 esp c1026d10
 >curlwp 0xc3c71d40 pid 0 lid 32 lowest kstack 0xdb6df2c0
 >kernel: supervisor trap page fault, code=0
 >stopped in pid 0.32 (system) at netbsd:tty_free+0x2b: movl $0,19c(%eax)
 
 The card matches but doesn't attach. The detach function however
 tries to perform all operations as if the attachment did succeed.
 
 The driver needs to keep an 'attachment state' and detach accordingly.
 
 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index