2003-01-08 13:56:47

by Bob Tracy

[permalink] [raw]
Subject: XFree86 vs. 2.5.54 - reboot

This probably applies to immediately prior kernels in the 2.5 series
as well. 2.5.54 seemed like a good time to jump in and test the waters,
so to speak...

AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
reboot when I type "startx". In both cases, the initial video state
is "vga=791" as set in /etc/lilo.conf. As far as the crash, there's
no debug output of any kind in the logs to help narrow down the cause.

As best I can remember, the last time I had everything kinda working
with a 2.5.X kernel was prior to the introduction of the new module-init
tools. This isn't a jab at Rusty et. al. I'm merely trying to come up
with an approximate timeframe during which something changed which is
causing the problem. The recent framebuffer driver changes probably
have something to with this issue.

If this is a known problem, would someone be kind enough to summarize
the discussion or let me know approximately when the discussion took
place so I can dig for it in the linux-kernel archives? Thanks!

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------


2003-01-08 14:16:16

by Thomas Schlichter

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

Hi,

I've got the same probelm with my K6-III 450, too...
The last version I tested was 2.5.52 and it worked perfektly...
But now with 2.5.54 (I did not test 2.5.53) when the 'nvidia' module is used
(loading it works with no problems...) the Computer reboots...
If I do not use this module X works...

There seems to be a problem with an other module, too...
'nfsd' is ok to load, but when a remote machine tries to mount a directory a
reboot occures, too...

I do not know if there is a problem with other modules, if I will find any I
will report them here...

Thomas Schlichter


Am Mittwoch, 8. Januar 2003 15:05 schrieb Bob_Tracy(0000:
> This probably applies to immediately prior kernels in the 2.5 series
> as well. 2.5.54 seemed like a good time to jump in and test the waters,
> so to speak...
>
> AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
> a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
> reboot when I type "startx". In both cases, the initial video state
> is "vga=791" as set in /etc/lilo.conf. As far as the crash, there's
> no debug output of any kind in the logs to help narrow down the cause.
>
> As best I can remember, the last time I had everything kinda working
> with a 2.5.X kernel was prior to the introduction of the new module-init
> tools. This isn't a jab at Rusty et. al. I'm merely trying to come up
> with an approximate timeframe during which something changed which is
> causing the problem. The recent framebuffer driver changes probably
> have something to with this issue.
>
> If this is a known problem, would someone be kind enough to summarize
> the discussion or let me know approximately when the discussion took
> place so I can dig for it in the linux-kernel archives? Thanks!

2003-01-08 20:11:56

by Andrew Morton

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

"Bob_Tracy(0000)" wrote:
>
> This probably applies to immediately prior kernels in the 2.5 series
> as well. 2.5.54 seemed like a good time to jump in and test the waters,
> so to speak...
>
> AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
> a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
> reboot when I type "startx".

I saw exactly the same. In my case it appears to be due to miscompilation
of a particular sysenter patch which went into 2.5.53. If you're using
gcc-2.91.66 (aka `kgcc') then try 2.95.x instead.

2003-01-08 21:26:51

by Bob Tracy

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

Andrew Morton wrote:
> "Bob_Tracy(0000)" wrote:
> > AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
> > a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
> > reboot when I type "startx".
>
> I saw exactly the same. In my case it appears to be due to miscompilation
> of a particular sysenter patch which went into 2.5.53. If you're using
> gcc-2.91.66 (aka `kgcc') then try 2.95.x instead.

I'm running gcc-2.95.3 here. Is that a "sufficiently correct" version
to avoid the miscompilation problem?

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------

2003-01-08 21:43:52

by Andrew Morton

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

"Bob_Tracy(0000)" wrote:
>
> Andrew Morton wrote:
> > "Bob_Tracy(0000)" wrote:
> > > AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
> > > a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
> > > reboot when I type "startx".
> >
> > I saw exactly the same. In my case it appears to be due to miscompilation
> > of a particular sysenter patch which went into 2.5.53. If you're using
> > gcc-2.91.66 (aka `kgcc') then try 2.95.x instead.
>
> I'm running gcc-2.95.3 here. Is that a "sufficiently correct" version
> to avoid the miscompilation problem?
>

Yup. It must be something else then. Perhaps you should try disabling
various DRM/AGP type things in config, see if that helps. If not, it would
help if you could identify the kernel version at which the failure started
to occur.

2003-01-09 05:09:16

by Bob Tracy

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

Andrew Morton wrote:
> Perhaps you should try disabling
> various DRM/AGP type things in config, see if that helps.

All the DRM/AGP stuff was configured as modules, and none of them
were loaded prior to running "startx". If disabling them entirely
is different from not loading them, I'll be happy to give that a try.

> If not, it would
> help if you could identify the kernel version at which the failure started
> to occur.

Wish I knew for certain... The 2.5 series got to be unusable from my
perspective somewhere in the 2.5.50 timeframe. 2.5.51 may have worked:
that was the last 2.5 kernel I built prior to 2.5.54. I didn't run it
as a "production" kernel either because of the X11 problem, or because
the ALSA emu10k1 driver was broken (the latter is fine in 2.5.54 as far
as I can tell).

2.5.55 is out. Maybe I should give that a try.

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------

2003-01-10 13:58:09

by Bob Tracy

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

Andrew Morton wrote:
> > > "Bob_Tracy(0000)" wrote:
> > > > AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
> > > > a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
> > > > reboot when I type "startx".
>
> Yup. It must be something else then. Perhaps you should try disabling
> various DRM/AGP type things in config, see if that helps.

2.5.55 appears to work fine with CONFIG_AGP and CONFIG_DRM undefined.
I'll retry with CONFIG_AGP_MODULE next...

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------

2003-01-10 15:18:15

by Bob Tracy

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

Andrew Morton wrote:
> > > "Bob_Tracy(0000)" wrote:
> > > > AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
> > > > a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
> > > > reboot when I type "startx".
>
> Yup. It must be something else then. Perhaps you should try disabling
> various DRM/AGP type things in config, see if that helps.

I wrote:
> 2.5.55 appears to work fine with CONFIG_AGP and CONFIG_DRM undefined.
> I'll retry with CONFIG_AGP_MODULE next...

CONFIG_AGP_MODULE enabled works fine with CONFIG_AGP_VIA_MODULE. I'll try
turning everything back on (AGP 3.0 compliance, DRM) and see what happens.

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------

2003-01-10 15:27:49

by Dave Jones

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

On Fri, Jan 10, 2003 at 09:26:59AM -0600, Bob_Tracy(0000) wrote:

> > > > > AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
> > > > > a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
> > > > > reboot when I type "startx".
> > Yup. It must be something else then. Perhaps you should try disabling
> > various DRM/AGP type things in config, see if that helps.
>
> I wrote:
> > 2.5.55 appears to work fine with CONFIG_AGP and CONFIG_DRM undefined.
> > I'll retry with CONFIG_AGP_MODULE next...
>
> CONFIG_AGP_MODULE enabled works fine with CONFIG_AGP_VIA_MODULE. I'll try
> turning everything back on (AGP 3.0 compliance, DRM) and see what happens.

Can you send me lspci output, and agp related msgs from dmesg.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2003-01-11 14:42:56

by Bob Tracy

[permalink] [raw]
Subject: Re: XFree86 vs. 2.5.54 - reboot

Andrew Morton wrote:
> > > "Bob_Tracy(0000)" wrote:
> > > > AMD K6-III 450 running a 2.4.19 kernel with vesafb, XFree86 4.1.0, and
> > > > a USB mouse works fine. Same setup with a 2.5.54 kernel does a cold
> > > > reboot when I type "startx".
>
> Yup. It must be something else then. Perhaps you should try disabling
> various DRM/AGP type things in config, see if that helps.

I wrote:
> 2.5.55 appears to work fine with CONFIG_AGP and CONFIG_DRM undefined.
> I'll retry with CONFIG_AGP_MODULE next...

and in a followup, I wrote:
> CONFIG_AGP_MODULE enabled works fine with CONFIG_AGP_VIA_MODULE. I'll try
> turning everything back on (AGP 3.0 compliance, DRM) and see what happens.

Final (?) report: with 2.5.56 and all the AGP/DRM modules configured
and built (that I normally configure and build), no problems that I can
tell. Whatever it was, it probably got fixed in 2.5.55.

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------