2003-11-20 18:27:09

by Brian D. McGrew

[permalink] [raw]
Subject: Upgrading Kernel kills X ...

Good morning,

I have here a very weird situation which I'm hoping that someone can help me
resolve. I'm running RedHat 9.0 on a Dell Poweredge 1600 server. Now the
stock install of RedHat 9.0 gives me the 2.4.20-8(smp) kernels accordingly.
Now if I run RedHat's up2date and pull a new kernel from there, I'm fine.

Where I run into problems, is two fold and this is where it gets confusing.
I have tried manually upgrading my kernel in a couple different ways. The
first is that our company develops software for Linux (RedHat 7.3) and
therefor, we have a custom kernel package that we install as an RPM. Works
great on RedHat 7.3 with this Dell PE1600. The second method is installing
kernel source and building it myself (2.4-20 as well as 2.6.0-test9). If I
build and install a kernel myself or add our typical rpm kernel, my X server
is toast. Someone told me to double check that I have framebuffer support
turned on, so I did and that did not resolve the problem.

This box has an ATI Rage XL onboard video card, which typically uses the ATI
Mach64 driver. Life is good with RedHat 7.3. I can put our custom kernel
on the box or build and install new kernels all day long with no problems.
It's just that under RedHat 9.0, a non-RedHat kernel upgrade kills my
Xserver. When it tries to start X, I get a signal 11. Also, if I connect
to the machine from another host, set my display and try and run X with gdb
attached, even though there is no debug compiled in, I can see that
apperantly, X is dying in a function that looks like it's trying to probe
the PCI bus.

Any help would be great here. If I have to call someone and pay for
support, just tell me who to call. I need to get this fixed, hopefully by
the end of the day.

Thanks, best regards,


-brian

Brian D. McGrew {[email protected] || [email protected] }
--
> My job is so secret ... I don't know what I do!


2003-11-21 00:51:32

by john stultz

[permalink] [raw]
Subject: Re: Upgrading Kernel kills X ...

On Thu, 2003-11-20 at 10:25, Brian McGrew wrote:
> I have here a very weird situation which I'm hoping that someone can help me
> resolve. I'm running RedHat 9.0 on a Dell Poweredge 1600 server. Now the
> stock install of RedHat 9.0 gives me the 2.4.20-8(smp) kernels accordingly.
> Now if I run RedHat's up2date and pull a new kernel from there, I'm fine.
>
> Where I run into problems, is two fold and this is where it gets confusing.
> I have tried manually upgrading my kernel in a couple different ways. The
> first is that our company develops software for Linux (RedHat 7.3) and
> therefor, we have a custom kernel package that we install as an RPM. Works
> great on RedHat 7.3 with this Dell PE1600. The second method is installing
> kernel source and building it myself (2.4-20 as well as 2.6.0-test9). If I
> build and install a kernel myself or add our typical rpm kernel, my X server
> is toast. Someone told me to double check that I have framebuffer support
> turned on, so I did and that did not resolve the problem.

I've not found the cause of this, but I've seen a similar issue w/ RHEL
3.0. It seems to have to do w/ glibc being compiled to use some feature
(futexes?) which is not available in self-compiled kernels. I found
replacing the i686 compiled glibc w/ the i386 compiled package solved
the issue for me. Your mileage may vary.

I'd be interested to hear the real cause.

thanks
-john