elmore
April 18th, 2004, 17:51
Just installed OpenBSD 3.5 on my Soekris 4801. Here's the config,

Base install of OpenBSD 3.5, on a SANS 64mb compact flash card
Additional 2.5" 20gb HDD atached to mini IDE interface 1 IBM Travelstar

My /etc/fstab looks like this:

[code:1:84e20be64e]
# cat /etc/fstab
/dev/wd0a / ffs ro 1 1
/dev/wd1a /WIP ffs rw 1 1
/dev/wd1b /Capture ffs rw 1 1
[/code:1:84e20be64e]

When the box loads up I get the following dmesg, my disk wd1 doesn't mount.

[code:1:84e20be64e]

comBIOS ver. 1.20 20030721 Copyright (C) 2000-2003 Soekris Engineering.

net4801

0128 Mbyte Memory CPU Geode 266 Mhz

Pri Mas SanDisk SDCFB-64 LBA 490-8-32 62 Mbyte
Pri Sla IBM-DJSA-220 LBA Xlt 1024-255-63 19535 Mbyte

PXE-M00: BootManage UNDI, PXE-2.0 (build 082)

Slot Vend Dev ClassRev Cmd Stat CL LT HT Base1 Base2 Int
-------------------------------------------------------------------
0:00:0 1078 0001 06000000 0107 0280 00 1F 00 00000000 00000000 00
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:18:2 100B 0502 01018001 0005 0280 00 00 00 00000000 00000000 00
0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0003000 00000000 11

1 Seconds to automatic boot. Press Ctrl-P for entering Monitor.
Using drive 0, partition 3.
Loading......
probing: pc0 com0 com1 pci mem[639K 63M a20=on]
disk: hd0+ hd1+
>> OpenBSD/i386 BOOT 2.06
switching console to com0

[ using 161780 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2004 OpenBSD. All rights reserved. http://www.OpenBSD.org

OpenBSD 3.5-current (PRS-002) #0: Tue Sep 10 23:36:27 EST 2002
root@35dev.sevpn.com:/usr/src/sys/arch/i386/compile/PRS-002
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 = 66695168 (65132K)
avail mem = 59805696 (58404K)
using 839 buffers containing 3436544 bytes (3356K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/30/21, 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/0xa000
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:c1:36:d0
nsphyter0 at sis0 phy 0: DP83815 10/100 integrated, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, address 00:00:24:c1:36:d1
nsphyter1 at sis1 phy 0: DP83815 10/100 integrated, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 10, address 00:00:24:c1:36:d2
nsphyter2 at sis2 phy 0: DP83815 10/100 integrated, rev. 1
pcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
"NS SC1100 SMI/ACPI" 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: <SanDisk SDCFB-64>
wd0: 1-sector PIO, LBA, 61MB, 125440 sectors
wd1 at pciide0 channel 0 drive 1: <IBM-DJSA-220>
wd1: 16-sector PIO, LBA, 19077MB, 39070080 sectors
wd0(pciide0:0:0): using PIO mode 1
wd1(pciide0:0:1): 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 11, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Compaq OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
isa0 at pcib0
isadma0 at isa0
npx0 at isa0 port 0xf0/16: 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 c800 netmask cc00 ttymask cc00
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
/dev/rwd0a: file system is clean; not checking
/dev/rwd1a: file system is clean; not checking
/dev/rwd1b: file system is clean; not checking
mfs: mounting /tmp...
mfs: populating /tmp...
databases: dev
securelevel: kern.securelevel: 0 -> 1
watchdog: kern.watchdog.period: 0 -> 32
watchdog: kern.watchdog.auto: 1 -> 1
hostname: setting hostname to PRS001...
inet: configuring IP on system interfaces...
route: adding default route...
add net default: gateway 10.26.1.1
pf/nat: configuring and enabling...
pf enabled
syslogd: starting log daemon...
ssh: starting daemon...

OpenBSD/i386 (PRS001) (tty00)

login:

[/code:1:84e20be64e]

after login a quick df shows:

[code:1:84e20be64e]
# df
Filesystem 512-blocks Used Avail Capacity Mounted on
root_device 119278 36574 76742 32% /
mfs:30530 16028 144 15084 1% /tmp
#
[/code:1:84e20be64e]

though from here a quick mount -a then shows:

[code:1:84e20be64e]
# mount -a
# df
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/wd0a 119278 36574 76742 32% /
mfs:30530 16028 144 15084 1% /tmp
/dev/wd1a 4126380 4 3920060 0% /WIP
/dev/wd1b 34322860 168 32606552 0% /Capture
#
[/code:1:84e20be64e]

Now this disk is mounted. It works fine and it has no problems, this is just annoying. I'm assuming it has something to do with the DMA mode which is referenced in the dmesg but I don;t know if there's a combios setting to change that or not or if there's some workaround I can alternatively implement.

Any ideas?

frisco
April 19th, 2004, 10:54
pcibios0: pcibios_get_intr_routing - function not supported


I'm guessing something needs to time out before the second disk can be used properly, perhaps related to this message? You could try adding a 'mount -a' to the bottom of /etc/rc.local, or edit /etc/rc to add a -v to the current mount command and see if the verbosity provides any more clues.

molotov
May 15th, 2004, 12:36
http://00f.net/item/35/

not sure if this will help you out or not.