> I have a Tyan S2881 Thunder K8SR motherboard (Opteron), and wd0 is a
> SATA hard disk (Western Digital), but I want to boot and run off a
> flash card.
>
> I have an Addonics SATA to CF adaptor, Model ADSACF)
>
>
http://www.addonics.com/products/flash_memory_reader/adsacf.asp
>
> The OpenBSD 4.1 installer (booted via PXEboot) seems to have a LOT of
> trouble with the flash drive (recognized as WD1).
>
> How can I make OpenBSD happy with this drive? The actual CF card is a
> SanDisk Ultra II 8Gb.
>
> I had zero problems installing and using a similar SanDisk card in a
> Soekris 4801, so I know that it must be possible to make this work.
>
> How do I make OpenBSD happy with the flash disk? Do I need special
> BIOS settings?
>
> I had very similar problems with another IDE -> Flash adaptor in a
> Pentium machine.
>
> Here is the log from the installer:
>
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>
> The Regents of the University of California. All rights reserved.
>
> Copyright (c) 1995-2007 OpenBSD. All rights reserved.
http://www.OpenBSD.org
>
>
> OpenBSD 4.1-stable (RAMDISK_CD) #1: Sun May 27 13:25:48 PDT 2007
>
> root@obsdbuildamd64.clark-communications.com:/home/openbsd/4.1/src/sys/arch/i386/compile/RAMDISK_CD
>
> cpu0: Dual Core AMD Opteron(tm) Processor 270 ("AuthenticAMD"
> 686-class, 1024KB L2 cache) 2 GHz
>
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3
>
> cpu0: AMD erratum 89 present, BIOS upgrade may be required
>
> real mem = 2146988032 (2096668K)
>
> avail mem = 1953828864 (1908036K)
>
> using 4278 buffers containing 107474944 bytes (104956K) of memory
>
> mainbus0 (root)
>
> bios0 at mainbus0: AT/286+ BIOS, date 05/23/06, BIOS32 rev. 0 @
> 0xf0010, SMBIOS rev. 2.3 @ 0xf9830 (63 entries)
>
> bios0: TYAN S2881 Thunder K8SR Mainboard
>
> apm0 at bios0: Power Management spec V1.2
>
> apm0: flags 30102 dobusy 0 doidle 1
>
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
>
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4d30/208 (11 entries)
>
> pcibios0: no compatible PCI ICU found: ICU vendor 0x1022 product 0x746b
>
> pcibios0: Warning, unable to fix up PCI interrupt routing
>
> pcibios0: PCI bus #3 is the last bus
>
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4800 0xcc800/0x1800
> 0xce000/0x1800 0xcf800/0x1000
>
> acpi at mainbus0 not configured
>
> cpu0 at mainbus0
>
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
>
> ppb0 at pci0 dev 6 function 0 "AMD 8111 PCI-PCI" rev 0x07
>
> pci1 at ppb0 bus 3
>
> ohci0 at pci1 dev 0 function 0 "AMD 8111 USB" rev 0x0b: irq 9, version
> 1.0, legacy support
>
> usb0 at ohci0: USB revision 1.0
>
> uhub0 at usb0
>
> uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1
>
> uhub0: 3 ports with 3 removable, self powered
>
> ohci1 at pci1 dev 0 function 1 "AMD 8111 USB" rev 0x0b: irq 9, version
> 1.0, legacy support
>
> usb1 at ohci1: USB revision 1.0
>
> uhub1 at usb1
>
> uhub1: AMD OHCI root hub, rev 1.00/1.00, addr 1
>
> uhub1: 3 ports with 3 removable, self powered
>
> pciide0 at pci1 dev 5 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA
>
> pciide0: using irq 10 for native-PCI interrupt
>
> pciide0: port 0: device present, speed: 1.5Gb/s
>
> wd0 at pciide0 channel 0 drive 0:
>
> wd0: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
>
> wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
>
> pciide0: port 1: device present, speed: 1.5Gb/s
>
> wd1 at pciide0 channel 1 drive 0:
>
> wd1: 4-sector PIO, LBA, 7815MB, 16007040 sectors
>
> wd1(pciide0:1:0): using BIOS timings, DMA mode 2
>
> vga1 at pci1 dev 6 function 0 "ATI Rage XL" rev 0x27
>
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>
> pcib0 at pci0 dev 7 function 0 "AMD 8111 LPC" rev 0x05
>
> pciide1 at pci0 dev 7 function 1 "AMD 8111 IDE" rev 0x03: DMA, channel
> 0 configured to compatibility, channel 1 configured to compatibility
>
> pciide1: channel 0 disabled (no drives)
>
> pciide1: channel 1 disabled (no drives)
>
> "AMD 8111 SMBus" rev 0x02 at pci0 dev 7 function 2 not configured
>
> "AMD 8111 Power" rev 0x05 at pci0 dev 7 function 3 not configured
>
> ppb1 at pci0 dev 10 function 0 "AMD 8131 PCIX" rev 0x12
>
> pci2 at ppb1 bus 2
>
> bge0 at pci2 dev 9 function 0 "Broadcom BCM5704C" rev 0x03, BCM5704 A3
> (0x2003): irq 5, address 00:e0:81:45:de:28
>
> brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
>
> bge1 at pci2 dev 9 function 1 "Broadcom BCM5704C" rev 0x03, BCM5704 A3
> (0x2003): irq 10, address 00:e0:81:45:de:29
>
> brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
>
> "AMD 8131 PCIX IOAPIC" rev 0x01 at pci0 dev 10 function 1 not configured
>
> ppb2 at pci0 dev 11 function 0 "AMD 8131 PCIX" rev 0x12
>
> pci3 at ppb2 bus 1
>
> "AMD 8131 PCIX IOAPIC" rev 0x01 at pci0 dev 11 function 1 not configured
>
> pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
>
> pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
>
> pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
>
> pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
>
> isa0 at pcib0
>
> isadma0 at isa0
>
> pckbc0 at isa0 port 0x60/5
>
> pckbd0 at pckbc0 (kbd slot)
>
> pckbc0: using irq 1 for kbd slot
>
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
>
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
>
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>
> pccom0: console
>
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
>
> biomask ffc5 netmask ffe5 ttymask ffe7
>
> rd0: fixed, 3800 blocks
>
> dkcsum: wd0 matches BIOS drive 0x80
>
> wd1(pciide0:1:0): timeout
>
> type: ata
>
> c_bcount: 512
>
> c_skip: 0
>
> pciide0:1:0: bus-master DMA error: missing interrupt, status=0x21
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0)
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0)
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
>
> pciide0:1:0: not ready, st=0xd0, err=0x00
>
> pciide0 channel 1: reset failed for drive 0
>
> wd1c: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0)
>
> root on rd0a
>
> rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
>
> erase ^?, werase ^W, kill ^U, intr ^C, status ^T
> (I)nstall, (U)pgrade or (S)hell? i
>
> Welcome to the OpenBSD/i386 4.1 install program.