[Soekris] hitachi 4GB microdrive in net4801 problem
Jolan Luff
jolan at protection.cx
Sun Nov 19 23:17:21 UTC 2006
Hi,
I recently acquired a net4801 and put a hitachi 4GB microdrive (CF) into
it. I have two problems relating to the use of the microdrive:
1) The bios doesn't seem to think the microdrive is bootable:
comBIOS ver. 1.28 20050529 Copyright (C) 2000-2005 Soekris
Engineering.
net4801
0128 Mbyte Memory CPU Geode 266 Mhz
Pri Mas HMS360604D5CF00 LBA Xlt 992-128-63 3999 Mbyte
Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int
-------------------------------------------------------------------
0:00:0 1078 0001 06000000 0107 0280 00 00 00 00000000 00000000
0:06:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0000000 10
0:07:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0001000 10
0:08:0 100B 0020 02000000 0107 0290 00 3F 00 0000E301 A0002000 10
0:14:0 1260 3873 02800001 0117 0290 08 3C 00 A0003008 00000000 11
0:18:2 100B 0502 01018001 0005 0280 00 00 00 00000000 00000000
0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0004000 00000000 05
1 Seconds to automatic boot. Press Ctrl-P for entering Monitor.
No Boot device available, enter monitor.
comBIOS Monitor. Press ? for help.
>
And yet it works fine:
> boot 80
Using drive 0, partition 3.
Loading...
probing: pc0 com0 com1 pci mem[639K 127M a20=on]
disk: hd0+
>> OpenBSD/i386 BOOT 2.12
switching console to com0
>> OpenBSD/i386 BOOT 2.12
com0: changing speed to 19200 baud in 5 seconds, change your terminal to
match!
com0: 19200 baud
boot>
booting hd0a:/bsd: 5501408+868688 [52+279008+259893]=0x696df0
entry point at 0x200120
...
2) I have to wait a bit for OpenBSD to downgrade to PIO mode:
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying
wd0: soft error (corrected)
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd0a: device timeout reading fsbn 16 of 16-0 (wd0 bn 79; cn 0 tn 1 sn 16), retrying
wd0: soft error (corrected)
Now, I've read the page at http://www.soekris.com/Issue0003.htm which
says:
The SC1100 built in busmaster IDE controller is pretty standard, but
have two bugs: data transfers need to be dword aligned and it cannot do
an exact 64Kbyte data transfer. Those bugs do not affect Compactflash
modules as they per definition cannot do busmaster transfers"
Does this mean that the CompactFlash *microdrives* support bus-master
but CompactFlash memory doesn't?
I also tried a Hitach 2GB MicroDrive and that has the same problem as
the 4GB one that I am currently using. Both the 2GB and 4GB microdrives
work fine in a net4521. I do also have a 512MB CF memory card and that
works fine in the 4801 without any timeouts.
Any ideas on how to fix #1 or #2? I'm more interested in the boot
problem since I can't boot automatically. #2 is just an annoyance.
Thanks,
- Jolan
OpenBSD 4.0-current (GENERIC) #1225: Sat Nov 18 10:52:16 MST 2006
deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC" 586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem = 133787648 (130652K)
avail mem = 114622464 (111936K)
using 1663 buffers containing 6811648 bytes (6652K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/29, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c2:47:b4
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c2:47:b5
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c2:47:b6
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
wi0 at pci0 dev 14 function 0 "Intersil PRISM2.5" rev 0x01: irq 11
wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.1.0 (primary), 1.4.9 (station), address 00:02:6f:3a:60:e9
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HMS360604D5CF00>
wd0: 32-sector PIO, LBA, 3906MB, 7999488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6 revision 3 wdstatus 0
ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 5, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Compaq OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
isa0 at gscpcib0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
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 f3e5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
wd0a: device timeout reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying
wd0: soft error (corrected)
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 8192
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd0a: device timeout reading fsbn 16 of 16-0 (wd0 bn 79; cn 0 tn 1 sn 16), retrying
wd0: soft error (corrected)
More information about the Soekris-tech
mailing list