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: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] udev problems due to kernel-headers spell?
  • Date: Sun, 4 Jul 2004 19:15:03 +0200

On Mon, Jul 05, 2004 at 12:58:08AM +0800, Damien Mascord wrote:
> 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...)

Not true. glibc doesn't use those headers at all, it builds against the
real kernel headers. glibc-kernel-headers is only there so userspace
does have some headers that don't break everything like the real kernel
headers 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
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page