So, the verdict on this is that CF_2_IDE cards come in two varieties
and that ones with ICs on them to support CF&SD will not work with Sun's 
IDE interface, specifically this card,
Syba SY-IDE2MC-4A IDE to Memory Card Adapter Supports CF/MMC/MS/SD Cards
will not.  

Interestingly, while the sparc's bios will not recognize this
card, it is visible and mountable after OpenBSD has been booted
with another hard disk, but only with the wd driver limited to PIO-4.

On the other hand using a simpler card from the same manufacturer,
a Syba SD-CF-IDE-A IDE to Compact Flash Adapter, yielded better 
that expected results as the card allows me the DMA2/PIO-4 limit
of the CF card's IDE interface (no need to hamstring the driver
with no DMA).  
I'm currently using this machine as a primary nameserver as well
as some other services and the thought of sticking a CF card
(with more than double the MTBF of the hard disk) into the 
system appealed from both a heat perspective and power load
as I don't have exactly the largest UPS attached to this box.
The reduced heat and vibes should also have no ill effect 
on the rest of the box's circuitry.

And yes, I am going to upgrade this to current real soon now...
the 8g hdd was a little tight (crufted up) to build on ;) ...

Following is the dmesg from the system.  
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.5 (GENERIC) #1898: Sat Feb 28 17:42:44 MST 2009
    dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 536870912 (512MB)
avail mem = 507625472 (484MB)
mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 270 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 
b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-3, PCI bus 0
psycho0: dvma map c0000000-dfffffff
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2" rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ivec 0x25
"SUNW,pll" at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: layout 34
wskbd0 at comkbd0: console keyboard
com0 at ebus0 addr 3062f8-3062ff ivec 0x2a: mouse: ns16550a, 16 byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ivec 0x22: polled
clock1 at ebus0 addr 0-1fff: mk48t59
"flashprom" at ebus0 addr 0-fffff not configured
audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 
722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 
08:00:20:a2:f6:94
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
vgafb0 at pci1 dev 2 function 0 "ATI Mach64" rev 0x5c
wsdisplay0 at vgafb0 mux 1: console (std, sun emulation), using wskbd0
pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ELITE PRO CF CARD 16GB>
wd0: 1-sector PIO, LBA, 15279MB, 31293360 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13
pci2 at ppb1 bus 2
ppb2 at pci2 dev 1 function 0 "DEC 21152 PCI-PCI" rev 0x02
pci3 at ppb2 bus 3
"Sun PCIO EBus2" rev 0x01 at pci3 dev 0 function 0 not configured
hme1 at pci3 dev 0 function 1 "Sun HME" rev 0x01: ivec 0x7d1, address 
08:00:20:a3:e8:52
nsphy1 at hme1 phy 1: DP83840 10/100 PHY, rev. 1
isp0 at pci3 dev 4 function 0 "QLogic ISP1020" rev 0x05: ivec 0x7d0
isp0: invalid NVRAM header
scsibus0 at isp0: 16 targets, initiator 7
softraid0 at root
bootpath: /p...@1f,0/p...@1,1/i...@3,0/d...@0,0
root on wd0a swap on wd0b dump on wd0b



Dhu

On Tue, 30 Mar 2010 03:23:57 -0600
Duncan Patton a Campbell <campb...@neotext.ca> wrote:

> I've got a cf card running as a secondary drive on a Sparc Ultra 5 (Sparc64),
> but have not been able to get it to boot.  The cf/ide plug I am using has no
> master/slave/cs sets and a microprocessor on it as well, which leaves me 
> suspicious
> of it because the CF interface is sposed to be a shrunken IDE.  
> 
> The sparc boot diags (probe-ide) show no device other than an ide hdd if it 
> is attached.
> 
> Also, I have experience that IDE disks are addressable after boot if the 
> CS/MS/SL is 
> set wrong (that is they can have mountable file systems) but will still not 
> be bootable
> themselves, which further leads me to believe the CF card 2 IDE plug I have 
> is useless
> for this.  
> 
> But I mebbe barking up the wrong tree altogether here and it is just not 
> doable...  
> 
> Comments/ideas anyone?
> 
> Thanks,
> 
> Dhu
> 
> 
> p.s. 
> 
> # dmesg 
> console is keyboard/display
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org
> 
> OpenBSD 4.5 (GENERIC) #1898: Sat Feb 28 17:42:44 MST 2009
>     dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
> real mem = 536870912 (512MB)
> avail mem = 507625472 (484MB)
> mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz)
> cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 270 MHz
> cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 
> b/l)
> psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
> psycho0: bus range 0-3, PCI bus 0
> psycho0: dvma map c0000000-dfffffff
> pci0 at psycho0
> ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13
> pci1 at ppb0 bus 1
> ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2" rev 0x01
> auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
> 72c000-72c003, 72f000-72f003
> power0 at ebus0 addr 724000-724003 ivec 0x25
> "SUNW,pll" at ebus0 addr 504000-504002 not configured
> sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2
> sabtty0 at sab0 port 0
> sabtty1 at sab0 port 1
> comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: layout 34
> wskbd0 at comkbd0: console keyboard
> com0 at ebus0 addr 3062f8-3062ff ivec 0x2a: mouse: ns16550a, 16 byte fifo
> lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ivec 0x22: 
> polled
> clock1 at ebus0 addr 0-1fff: mk48t59
> "flashprom" at ebus0 addr 0-fffff not configured
> audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 
> 722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
> audio0 at audioce0
> hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address 
> 08:00:20:a2:f6:94
> nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
> vgafb0 at pci1 dev 2 function 0 "ATI Mach64" rev 0x5c
> wsdisplay0 at vgafb0 mux 1: console (std, sun emulation), using wskbd0
> pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA, 
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide0: using ivec 0x7e0 for native-PCI interrupt
> wd0 at pciide0 channel 0 drive 0: <WDC AC28400R>
> wd0: 16-sector PIO, LBA, 8063MB, 16514064 sectors
> wd0(pciide0:0:0): using PIO mode 4
> wd1 at pciide0 channel 1 drive 1: <ELITE PRO CF CARD 16GB>
> wd1: 1-sector PIO, LBA, 15280MB, 31293440 sectors
> wd1(pciide0:1:1): using PIO mode 4
> ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13
> pci2 at ppb1 bus 2
> ppb2 at pci2 dev 1 function 0 "DEC 21152 PCI-PCI" rev 0x02
> pci3 at ppb2 bus 3
> "Sun PCIO EBus2" rev 0x01 at pci3 dev 0 function 0 not configured
> hme1 at pci3 dev 0 function 1 "Sun HME" rev 0x01: ivec 0x7d1, address 
> 08:00:20:a3:e8:52
> nsphy1 at hme1 phy 1: DP83840 10/100 PHY, rev. 1
> isp0 at pci3 dev 4 function 0 "QLogic ISP1020" rev 0x05: ivec 0x7d0
> isp0: invalid NVRAM header
> scsibus0 at isp0: 16 targets, initiator 7
> softraid0 at root
> bootpath: /p...@1f,0/p...@1,1/i...@3,0/d...@0,0
> root on wd0a swap on wd0b dump on wd0b
> 
> # mount
> /dev/wd0a on / type ffs (local)
> /dev/wd1a on /mnt type ffs (local)
> /dev/wd1d on /mnt2 type ffs (local)
> # df
> Filesystem  512-blocks      Used     Avail Capacity  Mounted on
> /dev/wd0a     14444316   2170316  11551788    16%    /
> /dev/wd1a      8251788   2180244   5658956    28%    /mnt
> /dev/wd1d     20471612   2234052  17213980    11%    /mnt2

Reply via email to