Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] udev problems due to kernel-headers spell?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Damien Mascord <tusker AT tusker.org>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] udev problems due to kernel-headers spell?
  • Date: Mon, 05 Jul 2004 00:58:08 +0800

Eric Schabell wrote:

>Howdy all,
>
>Strange day today... i lost the udevfs partially... not entirely just
>would not create /dev/hda* nodes. So all booting failed.
>
>Interestingly enough it seems that rebuilding udev (thanks for the help
>alley_cat) did not help.
>
>I had previously updated from stable to test grimoire which resulted in
>a few updates, nothing special except for glibc-kernel-headers. This
>seem to have only one depends - glibc. I rolled the glibc-kernel-headers
>back and it all works again.... is glibc not needing a rebuild when
>headers update maybe? something else? Me and alley_cat (among others on
>irc today) are extremely stumped?
>
>erics
> >
Hi,

Your glibc-kernel-headers and your compiled glibc should always match. Hence if you update glibc-kernel-headers, you will need to rebuild glibc
(except if you don't intend to compile anything at all :) )

Once you compile a new application against the new glibc-kernel-headers,
but you still have the old glibc compiled against the previous
kernel-headers, then you are quite likely going to run into issues where
the structs don't match up, and all hell can break loose. (You will
probably notice that between the kernel-header versions some of the
things related to /dev/hda* nodes would have probably changed... and
hence you see the problem you do...)

If you did in fact recompile glibc after you got the new headers, then
the recompile may have happened after the udev was built against the
wrong kernel headers (if that makes sense at all).

Damien

P.S. Sorry Eric for the dupe posting




Archive powered by MHonArc 2.6.24.

Top of Page