* [9fans] fresh compiled kernels no longer boot..?
@ 2004-01-25 22:05 Axel Belinfante
2004-01-25 22:37 ` David Presotto
0 siblings, 1 reply; 10+ messages in thread
From: Axel Belinfante @ 2004-01-25 22:05 UTC (permalink / raw)
To: 9fans
I updated today from sources; somehow the kernels I now
compile no longer boot, i.e. at the end of the printing .gz......
the machine reboots, without printing anything, as far as I can see.
Last time I compiled a kernel (and then it worked)
was (at least) several months ago.
The /386/9pcdisk kernel from sources (from nov) boots fine.
When I boot an old kernel I see as first messages
entry: 80100020
cpu0: 334 MHz AuthenticAMD AMD-K6-2 (cpuid: AX 0x058c DX 0x8021BF)
ELCR: 1400
I found recent messages on the list where lucio
mentioned a similar problem with a 486 and jmk mentioned
relaltively recent (correct?)fixes afecting devarch.c, fns.h and l.s.
Is the same problem biting me?
My versions of those files are identical to those on sources.
Help?
Axel.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [9fans] fresh compiled kernels no longer boot..?
2004-01-25 22:05 [9fans] fresh compiled kernels no longer boot..? Axel Belinfante
@ 2004-01-25 22:37 ` David Presotto
2004-01-25 23:02 ` jmk
0 siblings, 1 reply; 10+ messages in thread
From: David Presotto @ 2004-01-25 22:37 UTC (permalink / raw)
To: 9fans
The 486 problems shouldn't bother a K6 which is a pentium comnpatible machine.
However, jmk has already fixed that for 486's. If you want, you could comment
out lines 900 and 901 in 9/pc/devarch.c and see if it helps.
Unfortinately, I don't have a matching processor. I did make a cpu kernel from
the distribution and it worked on a Xeon but that doesn't tell you much I guess.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [9fans] fresh compiled kernels no longer boot..?
2004-01-25 22:37 ` David Presotto
@ 2004-01-25 23:02 ` jmk
2004-01-25 23:12 ` Axel Belinfante
0 siblings, 1 reply; 10+ messages in thread
From: jmk @ 2004-01-25 23:02 UTC (permalink / raw)
To: 9fans
On Sun Jan 25 17:38:41 EST 2004, presotto@closedmind.org wrote:
> The 486 problems shouldn't bother a K6 which is a pentium comnpatible machine.
> However, jmk has already fixed that for 486's. If you want, you could comment
> out lines 900 and 901 in 9/pc/devarch.c and see if it helps.
>
> Unfortinately, I don't have a matching processor. I did make a cpu kernel from
> the distribution and it worked on a Xeon but that doesn't tell you much I guess.
The DX value from the cpuid instruction shows the processor has the capabilities
which were missing on Lucio's SiS processor and causing it to reboot, so that shouldn't
be the problem.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [9fans] fresh compiled kernels no longer boot..?
2004-01-25 23:02 ` jmk
@ 2004-01-25 23:12 ` Axel Belinfante
2004-01-25 23:43 ` Axel Belinfante
0 siblings, 1 reply; 10+ messages in thread
From: Axel Belinfante @ 2004-01-25 23:12 UTC (permalink / raw)
To: 9fans
jmk wrote:
> On Sun Jan 25 17:38:41 EST 2004, presotto@closedmind.org wrote:
> > The 486 problems shouldn't bother a K6 which is a pentium comnpatible machine.
> > However, jmk has already fixed that for 486's. If you want, you could comment
> > out lines 900 and 901 in 9/pc/devarch.c and see if it helps.
> >
> > Unfortinately, I don't have a matching processor. I did make a cpu kernel from
> > the distribution and it worked on a Xeon but that doesn't tell you much I guess.
>
> The DX value from the cpuid instruction shows the processor has the capabilities
> which were missing on Lucio's SiS processor and causing it to reboot, so that shouldn't
> be the problem.
i commented out those lines, without result.
got my serial cable and added some print statements to main.c;
it seems to die in cpuidentify().
I'll try adding some more print statements and see what I learn.
Axel.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [9fans] fresh compiled kernels no longer boot..?
2004-01-25 23:12 ` Axel Belinfante
@ 2004-01-25 23:43 ` Axel Belinfante
2004-01-25 23:52 ` jmk
0 siblings, 1 reply; 10+ messages in thread
From: Axel Belinfante @ 2004-01-25 23:43 UTC (permalink / raw)
To: 9fans
i wrote:
> jmk wrote:
> > On Sun Jan 25 17:38:41 EST 2004, presotto@closedmind.org wrote:
> > > The 486 problems shouldn't bother a K6 which is a pentium comnpatible machine.
> > > However, jmk has already fixed that for 486's. If you want, you could comment
> > > out lines 900 and 901 in 9/pc/devarch.c and see if it helps.
> > >
> > > Unfortinately, I don't have a matching processor. I did make a cpu kernel from
> > > the distribution and it worked on a Xeon but that doesn't tell you much I guess.
> >
> > The DX value from the cpuid instruction shows the processor has the capabilities
> > which were missing on Lucio's SiS processor and causing it to reboot, so that shouldn't
> > be the problem.
>
> i commented out those lines, without result.
> got my serial cable and added some print statements to main.c;
> it seems to die in cpuidentify().
> I'll try adding some more print statements and see what I learn.
It seems that my machine did not like the line (guarded by an if statement):
rdmsr(0x1B, &apicbase);
near the end of cpuidentify().
Now that I'm looking at sources, that piece of code seems to be gone... :-)
Axel.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [9fans] fresh compiled kernels no longer boot..?
2004-01-25 23:43 ` Axel Belinfante
@ 2004-01-25 23:52 ` jmk
2004-01-26 0:13 ` Axel Belinfante
0 siblings, 1 reply; 10+ messages in thread
From: jmk @ 2004-01-25 23:52 UTC (permalink / raw)
To: 9fans
On Sun Jan 25 18:45:41 EST 2004, Axel.Belinfante@cs.utwente.nl wrote:
> i wrote:
> > jmk wrote:
> > > On Sun Jan 25 17:38:41 EST 2004, presotto@closedmind.org wrote:
> > > > The 486 problems shouldn't bother a K6 which is a pentium comnpatible machine.
> > > > However, jmk has already fixed that for 486's. If you want, you could comment
> > > > out lines 900 and 901 in 9/pc/devarch.c and see if it helps.
> > > >
> > > > Unfortinately, I don't have a matching processor. I did make a cpu kernel from
> > > > the distribution and it worked on a Xeon but that doesn't tell you much I guess.
> > >
> > > The DX value from the cpuid instruction shows the processor has the capabilities
> > > which were missing on Lucio's SiS processor and causing it to reboot, so that shouldn't
> > > be the problem.
> >
> > i commented out those lines, without result.
> > got my serial cable and added some print statements to main.c;
> > it seems to die in cpuidentify().
> > I'll try adding some more print statements and see what I learn.
>
> It seems that my machine did not like the line (guarded by an if statement):
>
> rdmsr(0x1B, &apicbase);
>
> near the end of cpuidentify().
>
> Now that I'm looking at sources, that piece of code seems to be gone... :-)
>
> Axel.
My fault. That code was in my private copy and I updated the main tree before
taking it out. I took it when looking at your problem when I realised is shouldn't
have been there.
Sorry.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [9fans] fresh compiled kernels no longer boot..?
2004-01-25 23:52 ` jmk
@ 2004-01-26 0:13 ` Axel Belinfante
2004-01-26 0:52 ` boyd, rounin
0 siblings, 1 reply; 10+ messages in thread
From: Axel Belinfante @ 2004-01-26 0:13 UTC (permalink / raw)
To: 9fans
Ok. glad it turned out to be as easy to fix as it was. (i was a bit worried)
(and I'm pleasantly surprised that just adding some print statements
and taking the serial cable was sufficient to locate the problem -
though I'm sure in this sense it will not be representative)
Axel.
> My fault. That code was in my private copy and I updated the main tree before
> taking it out. I took it when looking at your problem when I realised is shouldn't
> have been there.
>
> Sorry.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-02-12 2:54 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-25 22:05 [9fans] fresh compiled kernels no longer boot..? Axel Belinfante
2004-01-25 22:37 ` David Presotto
2004-01-25 23:02 ` jmk
2004-01-25 23:12 ` Axel Belinfante
2004-01-25 23:43 ` Axel Belinfante
2004-01-25 23:52 ` jmk
2004-01-26 0:13 ` Axel Belinfante
2004-01-26 0:52 ` boyd, rounin
2004-02-11 23:30 ` matt
2004-02-12 2:54 ` boyd, rounin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).