Subject: Re: kern/26909: many PCMCIA devices stopped working
To: None <nakayama@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: netbsd-bugs
Date: 09/11/2005 17:35:24
# Fixed Subject: to address correct PR.
# Old subject was "Re: kern/31245: Adaptec 1460 pcmcia support (aic) broken on"
nakayama@netbsd.org writes:
> >>> itohy@netbsd.org (ITOH Yasufumi) wrote
>
> > hauke@Espresso.Rhein-Neckar.DE writes:
> >
> > > The Adaptec 1460 pcmcia SCSI adapter that works nicely on netbsd-2
> > > fails on netnsd-3 and current with
> >
> > See kern/26909 for more broken drivers.
>
> How about this change for ne and ep drivers? I guess aic have
> another problem since submitter says it fails on -current.
>
> | Module Name: src
> | Committed By: christos
> | Date: Mon Aug 15 18:58:24 UTC 2005
> |
> | Modified Files:
> | src/sys/dev/pcmcia: pcmcia.c
> |
> | Log Message:
> | PR/30995: Wada Keiji: pcmcia interface can't use ne2000 compatible card
> | Call pcmcia_socket_settype sooner. I removed the later call, so the submitter
> | should test the final code before I close the PR.
> |
> | To generate a diff of this commit:
> | cvs rdiff -r1.73 -r1.74 src/sys/dev/pcmcia/pcmcia.c
>
> The following cards stopped working when I upgrade my six years old
> note PC from netbsd-2 to netbsd-3.
>
> com1 at pcmcia0 function 0: <HONDA ELECTRON, AH-H407P>
>
> mhzc0 at pcmcia0 function 0: <MEGAHERTZ, CC/XJEM3336,
> DATA/FAX/CELL ETHERNET MODEM>
> com1 at mhzc0
> sm0 at mhzc0
>
> ep0 at pcmcia0 function 0: <3Com Corporation, 3C589D,
> TP/BNC LAN Card Ver. 2a, 000002>
>
> But applying the above changes to netbsd-3 seems to solve this
> problem, then cards works again.
I tested on newer kernel (3.99.8 at Sept. 10, 2005)
and ep and ne seems working.
I don't see any related changes in if_{ep,ne}_pcmcia.c,
so the problems were in the pcmcia subsystem?
I also tested with pcmcia com card (Megahertz 56k MODEM).
It is detected and attached correctly, but the I/O operation
doesn't work (tip(1)ing the device gets no response).
http://mail-index.netbsd.org/tech-kern/2005/06/02/0003.html
seems the same problem.
Current status:
card driver status
-------------------- ------ ------
TDK CompactFlash wdc&wd works
ACCTON NE2000 compat ne fixed pcmcia.c:1.74 ?
TDK 10BASE-T mbe fails "device timeout"
Intersil PRISM II wi works
3Com 3C589 ep fixed pcmcia.c:1.74 ?
Adaptec APA-1460 aic fails "unable to detect chip!"
RATOC SCSI esp fails (kernel panics)
Megahertz 56k com fails no response
Regards,
--
ITOH Yasufumi