Subject: port-hpcarm/37227: cf card no longer detected after vmlocking merge
To: None <port-hpcarm-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Peter Postma <peter@pointless.nl>
List: netbsd-bugs
Date: 10/26/2007 20:20:00
>Number:         37227
>Category:       port-hpcarm
>Synopsis:       cf card no longer detected after vmlocking merge
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-hpcarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 26 20:20:00 +0000 2007
>Originator:     Peter Postma
>Release:        NetBSD 4.99.14
>Organization:
>Environment:
System: NetBSD jupiter.pointless.nl 4.99.14 NetBSD 4.99.14 (GENERIC) #6: Sun Oct 7 16:15:10 CEST 2007 peter@jupiter.pointless.nl:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
After the first merge of vmlocking changes [1], the CF card in
the jornada 720 is no longer detected.


The dmesg used to be:

sacpcic0 at sacc0
pcmcia0 at sacpcic0
pcmcia1 at sacpcic0
[other messages]
sacpcic0: card present
sacpcic_socket_enable: wait ready 1
wdc0 at pcmcia1 function 0: <SanDisk, SDP, 5/3 0.6


It's now:

sacpcic0 at sacc0
pcmcia0 at sacpcic0
pcmcia1 at sacpcic0
sacpcic0: card present
sacpcic_socket_enable: wait ready 100
pcmcia1: card appears to have bogus CIS


It appears that the card gets attached earlier in the boot process but
for some reason fails to attach.


Last working kernel: 2007-07-09 20:00 GMT
First non-working kernel: 2007-07-10 00:00 GMT


[1] http://mail-index.netbsd.org/source-changes/2007/07/09/0022.html
    http://mail-index.netbsd.org/source-changes/2007/07/09/0023.html
    http://mail-index.netbsd.org/source-changes/2007/07/09/0024.html
>How-To-Repeat:
>Fix: