Skip to contentSkip to conversation

Show module version sysfs file for built-in modules?

DISCUSSION [email protected] 1 participant 1 message Jul 29, 2009

lore
Share & tools
lore
#0 lore raw

pardon - that was dumb.
must have read over that built-in.

indeed, this is a missing feature.
there are even modules/drivers which donŽt spit any line in dmesg when they are initialized - builtin or not.
there is a LOT of different behaviour in module load/init and id welcome if module initialization messages including version information would follow a more standard way. many modules dont even have a version.

regards
roland

Quoted 23 lines

-----Ursprüngliche Nachricht-----
Von: "Alan Jenkins" <[email protected]>
Gesendet: 29.07.09 21:10:24
An: [email protected]
CC: Tomas Carnecky <[email protected]>, [email protected]
Betreff: Re: Show module version sysfs file for built-in modules?

Quoted 14 lines · On 7/29/09, [email protected] <[email protected]> wrote:

what about this ?

neoware:/sys/module/8139too # cat /sys/module/8139too/version 0.9.28

neoware:/sys/module/8139too # modinfo 8139too |grep "^version:"
version: 0.9.28

the latter should work completely without consulting the kernel for that information.

regards
roland

Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
List:       linux-kernel
Subject:    Show module version sysfs file for built-in modules?

modinfo clearly won't work for *built in* drivers. Apparently /sys/module/$MODULE/version doesn't work for built in modules either. Hence this proposal.

Alan

______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de