"Timothy Legge" <tl...@ro...> writes:
> > Well I can reproduce the problem on my old 486 when attempting
> > to boot from a floppy. Though I have to be careful to not
> > select CONFIG_TSC_CURRTICKS, which causes an entirely
> > different set of failures.
> >
> Any thoughts on what may be causing the issue?
It looks like this bit of code in start32.S
/* Save the stack pointer */
cs
movw %sp, RADDR(real_sp)
Which when modified to say:
/* Reload %ds */
movw %cs, %ax
movw %ax, %ds
/* Save the stack pointer */
movw %sp, RADDR(real_sp)
Works. So it looks like I have found a 486 bug with respect to segment
prefixes. I don't think the architecture was extended to be more liberal
after the 486.
Hopefully I can get the fix committed later today. I have not setup a DHCP
server at home yet so I don't know if I can boot the 486 yet but:
ROM segment 0x0800 length 0x6600 reloc 0x00020000
Etherboot 5.1.6pre6 (GPL) Tagged ELF64 ELF for [NE*000]
Boot from (N)etwork (D)isk (F)loppy or from (L)ocal?
Probing pci nic...
pci_init: no BIOS32 detected
Probing isa nic...
[NE*000]
NE2000 base 0x0300, addr 00:50:BA:A4:78:8F
Searching for server (DHCP)...
......
Eric
|