Strange OBP version on Ultra 10
I have a problem booting up an Ultra 10. I get the message:
Strange OBP version `OBP 3.11.6 1997/12/08 10:42'.
And then it terminates with an ok prompt. Looking at the kernel
sources in:
arch/sparc64/prom/init.c
I can't see where the failure is occuring. The buffer string seems to
start with OBP:
if (strncmp (buffer, "OBP ", 4))
goto strange_version;
And the rest of the string seems to be in the correct format:
/* Version field is expected to be 'OBP xx.yy.zz date...' */
So maybe this simple_strtoul but is incorrectly parsing the string somehow?
p = buffer + 4;
while (p && isdigit(*p) && i < 3) {
ints[i++] = simple_strtoul(p, NULL, 0);
if ((p = strchr(p, '.')) != NULL)
p++;
}
if (i != 3)
goto strange_version;
These are the only two places in the code where `goto strange_version'
is called.
Can someone do a quick kernel compile with the `goto strange_version'
bits commented out to see if I can get the machine to boot by ignoring
these checks? I've tried many different tftpboot.img files that I've
found at redhat, vger, and sunsite, but they all yield the same
troubles.
Thanks.
-aaron
p.s. here's a log of the startup process...
Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 300MHz), Keyboard Present
OpenBoot 3.11, 64 MB memory installed, Serial #9999999.
Ethernet address 8:0:20:8e:80:8e, Host ID: 808e808e.
Rebooting with command: boot net
Boot device: /pci@1f,0/pci@1,1/network@1,1 File and args:
275a00
Strange OBP version `OBP 3.11.6 1997/12/08 10:42'.
Program terminated
ok
--
aaron .'. culich (aculich@hampshire.edu)
http://hampshire.edu/~alcF93/
Reply to: