[flashboot] Booting time for the soekris net4501

Russell Sutherland russ at quist.ca
Thu Jun 14 01:17:33 EST 2007


On 08/06/07, Russell Sutherland <russ at quist.ca> wrote:
> Is it normal, that booting a flashboot image on a Soekris net4501
> takes upwards of 5 minutes?

I've done a little more investigation on the slow booting problem using
flashboot and my new soekris net4501 box.

I created an flashboot image on a SanDisk 128 MB CF card.
I built it using:

build-largekernel.sh SOEKRIS4501

When I run the CF on my NEW net4501 booting takes over 5 minutes
and runtime performance is very very slow. It's as if the CPU is going
very slow.

When I run the same CF image on an older net4501 all is well and  nornal,
the system boots up after about 40 seconds.

I have attached the two booting process outputs as well as the soekris BIOS
settings.

I am wondering if the SOEKRIS4501 kernel file needs to be changed.

Thanks in advance for an help anyone can give me.

Russell




-- 
Russell Sutherland
russ AT madhaus . cns . utoronto . ca
+1.416.978.0470 [ voice ]
+1.416.978.6620 [ fax ]
-------------- next part --------------
omBIOS ver. 1.23  20031119  Copyright (C) 2000-2003 Soekris Engineering.

net45xx

0064 Mbyte Memory                        CPU 80486 135 Mhz

Pri Mas  SanDisk SDCFH-128               LBA 980-8-32  125 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 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000 00
0:16:0 1260 3873 02800001 0117 0290 10 3C 00 A0000008 00000000 10
0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E001 A0001000 11
0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0002000 05
0:20:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0003000 09

 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+
>> OpenBSD/i386 BOOT 2.13
-
com0: 19200 baud
switching console to com0

[ using 206632 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-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.1-stable (SOEKRIS4501.LARGE) #0: Tue Jun 12 17:35:27 EDT 2007
    root at bureau10.utcc.utoronto.ca:/usr/local/src/flashboot/obj/SOEKRIS4501.LARGE
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem  = 66678784 (65116K)
avail mem = 38608896 (37704K)
using 168 buffers containing 688128 bytes (672K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 20/31/19, 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
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 stepping 1.1, CPU clock 133MHz, reset 1<PWRGOOD>
gpio0 at elansc0: 32 pins
wi0 at pci0 dev 16 function 0 "Intersil PRISM2.5" rev 0x01: irq 10
wi0: PRISM2.5 ISL3874A(Mini-PCI) (0x8013), Firmware 1.1.0 (primary), 1.4.9 (station), address 00:02:6f:06:6c:3b
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 11, address 00:00:24:c1:bb:c4
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 5, address 00:00:24:c1:bb:c5
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 9, address 00:00:24:c1:bb:c6
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFH-128>
wd0: 1-sector PIO, LBA, 122MB, 250880 sectors
wd0(wdc0:0:0): using BIOS timings
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 f1c5 netmask ffe5 ttymask ffe7
rd0: fixed, 40960 blocks
dkcsum: wd0 matches BIOS drive 0x80
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
********* flashboot
/dev/rwd0a: file system is clean; not checking
Copying additional configuration files from flash to ramdisk
building ps databases: dev.
net.inet.ip.forwarding: 0 -> 1
net.inet.ipcomp.enable: 0 -> 1
net.inet.tcp.ecn: 0 -> 1
ddb.panic: 1 -> 0
ddb.console: 0 -> 1
kern.splassert: 0 -> 2
pf enabled
starting network
Daemons: starting system logger
 sshd cron.
********* executing /etc/rc.pkg
Creating /usr/local filesystem...
Unpacking packages...
Unpacking package /flash/pkg/lzo-1.08p1.tgz from flash... done
Unpacking package /flash/pkg/openvpn-2.0.6.tgz from flash... done
********* finished /etc/rc.pkg
********* finished /etc/rc
Mar 20 14:18:06 soekris init: kernel security level changed from 0 to 1

OpenBSD/i386 (soekris) (tty00)

login: root
Password:
Mar 20 14:18:15 soekris login: ROOT LOGIN (root) ON tty00
Mar 20 14:18:15 soekris login: ROOT LOGIN (root) ON tty00
Terminal type? [unknown] vt100
[root at soekris root]#
[root at soekris root]# time openvpn --help > /dev/null
    0m0.43s real     0m0.15s user     0m0.25s system
[root at soekris root]# time openvpn --help > /dev/null
    0m0.37s real     0m0.18s user     0m0.17s system
[root at soekris root]#

comBIOS ver. 1.23  20031119  Copyright (C) 2000-2003 Soekris Engineering.

net45xx

0064 Mbyte Memory                        CPU 80486 135 Mhz

Pri Mas  SanDisk SDCFH-128               LBA 980-8-32  125 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 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000 00
0:16:0 1260 3873 02800001 0117 0290 10 3C 00 A0000008 00000000 10
0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E001 A0001000 11
0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0002000 05
0:20:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0003000 09


comBIOS Monitor.   Press ? for help.

> ?
comBIOS Monitor Commands

boot [drive][:partition] INT19 Boot
reboot                   cold boot
download                 download a file using XMODEM/CRC
flashupdate              update flash BIOS with downloaded file
time [HH:MM:SS]          show or set time
date [YYYY/MM/DD]        show or set date
d[b|w|d] [adr]           dump memory bytes/words/dwords
e[b|w|d] adr value [...] enter bytes/words/dwords
i[b|w|d] port            input from 8/16/32-bit port
o[b|w|d] port value      output to 8/16/32-bit port
cmosread [adr]           read CMOS RAM data
cmoswrite adr byte [...] write CMOS RAM data
cmoschecksum             update CMOS RAM Checksum
set parameter=value      set system parameter to value
show [parameter]         show one or all system parameters
?/help                   show this help

> show

ConSpeed = 19200
ConLock = Enabled
ConMute = Disabled
BIOSentry = Enabled
PCIROMS = Enabled
PXEBoot = Enabled
FLASH = Primary
BootDelay = 5
BootPartition = Disabled
ShowPCI = Enabled
Reset = Hard

>
-------------- next part --------------
comBIOS ver. 1.31  20070408  Copyright (C) 2000-2007 Soekris Engineering.

net45xx

0064 Mbyte Memory                        CPU Elan SC520 133 Mhz

Pri Mas  SanDisk SDCFH-128               LBA 980-8-32  125 Mbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
-------------------------------------------------------------------
0:00:0 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000
0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E001 A0000000 10
0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0001000 11
0:20:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0002000 05

 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+
>> OpenBSD/i386 BOOT 2.13
-
com0: 19200 baud
switching console to com0

[ using 206632 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-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.1-stable (SOEKRIS4501.LARGE) #0: Tue Jun 12 17:35:27 EDT 2007
    root at bureau10.utcc.utoronto.ca:/usr/local/src/flashboot/obj/SOEKRIS4501.LARGE
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem  = 66678784 (65116K)
avail mem = 38608896 (37704K)
using 168 buffers containing 688128 bytes (672K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 20/70/08, 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)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 stepping 1.1, CPU clock 133MHz, reset 0
gpio0 at elansc0: 32 pins
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c8:7b:d8
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 11, address 00:00:24:c8:7b:d9
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 5, address 00:00:24:c8:7b:da
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFH-128>
wd0: 1-sector PIO, LBA, 122MB, 250880 sectors
wd0(wdc0:0:0): using BIOS timings
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 f3c5 netmask ffe5 ttymask ffe7
rd0: fixed, 40960 blocks
dkcsum: wd0 matches BIOS drive 0x80
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
********* flashboot
/dev/rwd0a: file system is clean; not checking
Copying additional configuration files from flash to ramdisk
building ps databases: dev.
net.inet.ip.forwarding: 0 -> 1
net.inet.ipcomp.enable: 0 -> 1
net.inet.tcp.ecn: 0 -> 1
ddb.panic: 1 -> 0
ddb.console: 0 -> 1
kern.splassert: 0 -> 2
pf enabled
starting network
Daemons: starting system logger
 sshd cron.
********* executing /etc/rc.pkg
Creating /usr/local filesystem...
Unpacking packages...
Unpacking package /flash/pkg/lzo-1.08p1.tgz from flash... done
Unpacking package /flash/pkg/openvpn-2.0.6.tgz from flash... done
********* finished /etc/rc.pkg
********* finished /etc/rc
Jun 13 13:55:42 soekris init: kernel security level changed from 0 to 1

OpenBSD/i386 (soekris) (tty00)

login: root
Password:
Jun 13 13:56:23 soekris login: ROOT LOGIN (root) ON tty00
Jun 13 13:56:23 soekris login: ROOT LOGIN (root) ON tty00
Terminal type? [unknown] vt100
[root at soekris root]# openvpn --help > /dev/null
[root at soekris root]# time openvpn --help > /dev/null
    0m2.27s real     0m1.13s user     0m1.05s system
[root at soekris root]#

comBIOS ver. 1.31  20070408  Copyright (C) 2000-2007 Soekris Engineering.

net45xx

0064 Mbyte Memory                        CPU Elan SC520 133 Mhz

Pri Mas  SanDisk SDCFH-128               LBA 980-8-32  125 Mbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
-------------------------------------------------------------------
0:00:0 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000
0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E001 A0000000 10
0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0001000 11
0:20:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0002000 05

 4 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.

comBIOS Monitor.   Press ? for help.

> ?
comBIOS Monitor Commands

boot [drive][:partition] INT19 Boot
reboot                   cold boot
download                 download a file using XMODEM/CRC
flashupdate              update flash BIOS with downloaded file
time [HH:MM:SS]          show or set time
date [YYYY/MM/DD]        show or set date
d[b|w|d] [adr]           dump memory bytes/words/dwords
e[b|w|d] adr value [...] enter bytes/words/dwords
i[b|w|d] port            input from 8/16/32-bit port
o[b|w|d] port value      output to 8/16/32-bit port
run adr                  execute code at adr
cmosread [adr]           read CMOS RAM data
cmoswrite adr byte [...] write CMOS RAM data
cmoschecksum             update CMOS RAM Checksum
set parameter=value      set system parameter to value
show [parameter]         show one or all system parameters
?/help                   show this help

> show

ConSpeed = 19200
ConLock = Enabled
ConMute = Disabled
BIOSentry = Enabled
PCIROMS = Enabled
PXEBoot = Enabled
FLASH = Primary
BootDelay = 5
FastBoot = Disabled
BootPartition = Disabled
BootDrive = 80 81 F0 FF
ShowPCI = Enabled
Reset = Hard


More information about the flashboot mailing list