Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121337 - linux uevent_helper uevent_seqnum require sysfs
Summary: linux uevent_helper uevent_seqnum require sysfs
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 11:51 UTC by Stefan de Konink
Modified: 2006-02-02 15:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2006-02-02 11:51:29 UTC
It seems without sysfs, the kernel won't compile. Due to absence of uevent_seqnum and uevent_helper. Found the problem by not selecting sysfs, but wonder why it isn't a dependency .

object_uevent.c:(.text+0x1c8): undefined reference to `uevent_seqnum'
kobject_uevent.c:(.text+0x31d): undefined reference to `uevent_helper'

Testen on vanilla-sources-2.6.16_rc1. Should this be reported upstream, or is the same issue present in gentoo-sources?
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-02-02 13:55:47 UTC
How did you not select CONFIG_SYSFS?  That option is only under
the CONFIG_EMBEDDED section, which specifically says, "Do this only if you 
absolutly know what you are doing."

In short, no, this is not a common thing, and don't do it again and expect
udev to work :)
Comment 2 Henrik Brix Andersen 2006-02-02 14:05:01 UTC
Well, it shouldn't result in a linker error...?
Comment 3 Stefan de Konink 2006-02-02 14:19:49 UTC
(In reply to comment #1)
> How did you not select CONFIG_SYSFS?  That option is only under
> the CONFIG_EMBEDDED section, which specifically says, "Do this only if you 
> absolutly know what you are doing."
Yes, I'm actually doing an embedded system and try to get an extremely small 2.6 kernel, I don't need sysfs, and don't need udev. My point, what else requires user events? (Or did I miss something, that still is enabled?)

> In short, no, this is not a common thing, and don't do it again and expect
> udev to work :)
In order to learn you need to make errors ;)

Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-02-02 15:43:35 UTC
yes, there is a upstream report of a linker error here, due to some recent
kernel changes.  it will be fixed up by the time 2.6.16 is out.