Subject: Re: kern/31245: Adaptec 1460 pcmcia support (aic) broken
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <djb_netbsd@charter.net>
List: netbsd-bugs
Date: 04/12/2006 01:45:01
The following reply was made to PR kern/31245; it has been noted by GNATS.
From: <djb_netbsd@charter.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/31245: Adaptec 1460 pcmcia support (aic) broken
Date: Tue, 11 Apr 2006 18:40:12 -0700
Saw on Martin Husemann's post about wanting to branch 4.0 and wanting to fix some
bugs that they considered "show-stoppers".
The apa1460 aic interface works for me on two systems:
(1) IBM Workpad Z50 running NetBSD/hpcmips version 3.0 -
partial dmesg:
NetBSD 3.0 (DJB) #2: Wed Jan 11 21:04:22 CST 2006
root@djb_mobile:/usr/src/sys/arch/hpcmips/compile/DJB
IBM WorkPad z50 2601 1AU (NEC VR4121 rev0.0 131.072MHz)
...
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0x70000-0x73fff irq 589827
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcmcia at pcic0 controller 1 socket 0 not configured
pcmcia at pcic0 controller 1 socket 1 not configured
...
pcic0: using irq 589827 for socket events
aic0 at pcmcia0 function 0: <Adaptec, Inc., APA-1460 SCSI Host Adapter, Version 0.01>
pcic0: port 0x340-0x35f
pcmcia0: card irq 3
scsibus0 at aic0: 8 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
...
sd0 at scsibus0 target 0 lun 0: <COMPAQPC, ST32430N, 0554> disk fixed
sd1 at scsibus0 target 1 lun 0: <COMPAQPC, ST32430N, 0554> disk fixed
sd2 at scsibus0 target 2 lun 0: <HP, 97560-300, 0B02> disk fixed
cd0 at scsibus0 target 3 lun 0: <TOSHIBA, CD-ROM XM-5301TA, 0925> cdrom removable
cd1 at scsibus0 target 4 lun 0: <DEC, RRD42 (C) DEC, 4.3d> cdrom removable
boot device: sd0
root on sd0a dumps on sd0b
-----------
(2) DEC Multia VX42 running NetBSD/alpha 3.0 -
partial dmesg:
NetBSD 3.0 (2006/01/24 DJB Multia/alpha) #14: Tue Apr 11 19:53:40 CDT 2006
root@anchovy:/usr/NetBSD_src/usr/src/sys/arch/alpha/compile/DJB
DEC AXPpci233 MT, 233MHz, s/n ANCHOVY
...
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff irq
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
...
pcic0: controller 0 detecting irqs with mask 0x5eb8:..5..14
pcic0: using irq 5 for socket events
aic0 at pcmcia0 function 0: <Adaptec, Inc., APA-1460 SCSI Host Adapter, Version 0.01>
scsibus1 at aic0: 8 targets, 8 luns per target
scsibus1: waiting 2 seconds for devices to settle...
...
sd3 at scsibus1 target 4 lun 0: <MATSHITA, PD-1 LF-1000, A105> optical removable
cd2 at scsibus1 target 4 lun 1: <MATSHITA, PD-1 LF-1000, A105> cdrom removable
-----------------
The PCMCIA interface in the Z50 is not an Intel chip - its a NEC VR4171. Just looks like
an Intel chip:)
Both systems are relatively slow by todays standards. I don't normally use the
1460 in my Multia, I just compiled a new kernel to see if the 1460 would work. It's
slow but does work - I could read an old NetBSD install CD via the aic interface.
HTH:)
Dave Barnes