kirei / flashboot

OpenBSD Flashboot
http://www.mindrot.org/projects/flashboot/
Other
73 stars 26 forks source link

Kernel for Soekris net4501 hangs during boot #13

Closed jryberg closed 10 years ago

jryberg commented 12 years ago

There seems to be a problem with the kernel for Soekris 4501. The kernel hangs during boot.

The following dmesg is reported

+462784 [61+128624+120370]=0x33add34 entry point at 0x200120

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

OpenBSD 5.1 (SOEKRIS4501) #0: Thu May 3 16:09:19 MDT 2012 root@builder.i386:/obj/SOEKRIS4501 cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class) cpu0: FPU real mem = 66646016 (63MB) avail mem = 12099584 (11MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 20/80/03, 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: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 stepping 0.1, CPU clock 133MHz, reset 0 gpio0 at elansc0: 32 pins sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83815D: irq 10, address 00:00:24:c0:38:f4 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 11, address 00:00:24:c0:38:f5 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 5, address 00:00:24:c0:38:f6 nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1 isa0 at mainbus0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo 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: <CF Card 128MB> wd0: 1-sector PIO, LBA, 123MB, 253440 sectors wd0(wdc0:0:0): using BIOS timings npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16

another dmesg Using drive 0, partition 3. Loading... probing: pc0 com0 com1 pci mem[639K 63M a20=on] disk: hd0+ > > OpenBSD/i386 BOOT 3.17 > > OpenBSD/i386 BOOT 3.17 > > boot> > > booting hd0a:/bsd: 53477108+462784 [61+128624+120370]=0x33add34 > > entry point at 0x200120 [ using 249472 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-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.1 (SOEKRIS4501) #0: Thu May 3 16:09:19 MDT 2012 root@builder.i386:/obj/SOEKRIS4501 cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class) cpu0: FPU real mem = 66646016 (63MB) avail mem = 12099584 (11MB) mainbus0 at 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 #1 is the last bus bios0: ROM list: 0xc8000/0xa000 cpu0 at mainbus0: (uniprocessor) 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 100MHz, reset 1 gpio0 at elansc0: 32 pins "TI PCI1410 CardBus" rev 0x02 at pci0 dev 9 function 0 not configured sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 11, address 00:00:24:c1:f3:58 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 5, address 00:00:24:c1:f3:59 nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1 isa0 at mainbus0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo 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: wd0: 4-sector PIO, LBA, 1953MB, 4001760 sectors wd0(wdc0:0:0): using BIOS timings npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 Could it be something with the tty rate?
sthen commented 12 years ago

On 2012/05/08 12:36, Johan Ryberg wrote:

Could it be something with the tty rate?

Possibly (or some other problem with /etc/ttys). Or it could simply be out of RAM (11MB free after the kernel is getting rather tight)

FWIW I can confirm that a GENERIC OpenBSD kernel (non flashboot) boots and runs OK on a net4526 (basically same as a 4501 with one fewer network port but a PCMCIA bridge added), but I don't have serial on that box at the moment so I can't test a kernel which is expected to not work correctly ;)

jschlyter commented 11 years ago

Please retest with latest release.

arnobroekhof commented 11 years ago

Still no luck with the new release,

OpenBSD/i386 BOOT 3.21 boot> booting hd0a:/bsd: 53567572+476672 [52+132992+125456]=0x33c998c entry point at 0x200120