[Bug 681234] New: Live CDs increased 13MB due to firmware
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c0 Summary: Live CDs increased 13MB due to firmware Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Live Medium AssignedTo: ms@novell.com ReportedBy: coolo@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- the new kiwi version added - rather out of the blue - 13MB worth of "kernel-firmware" to the live cd. I'm sure that there are some interestring firmwares, but I think a white list would be more appropriate. E.g. I see no value in having support for wlan cards and sound cards in kiwi initrd. For most things there aren't even modules in the initrd. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c1 --- Comment #1 from Stephan Kulow <coolo@novell.com> 2011-03-21 11:48:51 CET --- find . -name *.ko | xargs modinfo | grep firmware -> those would be reasonable and result in 1.1MB instead of 25MB -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c2 --- Comment #2 from Stephan Kulow <coolo@novell.com> 2011-03-21 12:03:27 CET --- 25MB uncompressed, 13MB compressed btw -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c3 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |sndirsch@novell.com --- Comment #3 from Marcus Schaefer <ms@novell.com> 2011-03-21 11:10:22 UTC --- I got a request to add that firmware stuff by the X people which was the reason why I just added the package. But I agree it's not such a good solution. Stefan can you please confirm that the X requirement would still be complied if I remove all parts of kernel-firmware which doesn't match the name "firmware" in its modinfo information ? Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c4 --- Comment #4 from Marcus Schaefer <ms@novell.com> 2011-03-21 11:35:00 UTC --- Hmm, kernel-firmware installs everything to /lib/firmware, and those files also doesn't look like kernel modules files which you can run modinfo on. So I need a way to find out the relevant graphics related firmware. If that's not possible I will remove the kernel-firmware again and leave it up to the author of the image description to add kernel-firmware if required: <package name="kernel-firmware" bootinclude="true"/> Stefan ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c5 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |sndirsch@novell.com InfoProvider|sndirsch@novell.com | --- Comment #5 from Stefan Dirsch <sndirsch@novell.com> 2011-03-21 11:40:57 UTC --- In theory, yes. But it seems that way we would miss /lib/firmware/radeon/PALM_me.bin /lib/firmware/radeon/PALM_pfp.bin /lib/firmware/radeon/SUMO_rlc.bin These are required for AMD Fusion support. X guys are only interested in radeon firmware files (/lib/firmware/radeon/*). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c6 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |sndirsch@novell.com --- Comment #6 from Stephan Kulow <coolo@novell.com> 2011-03-21 12:43:35 CET --- pseudo code: - install kernel-firmware and kernel-default (already there) - filter kernel modules in /lib/modules (already there) - run modinfo on all kernel modules in /lib/modules left, check their firmware entry - remove everything in /lib/firmware not present in the above list -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c7 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|sndirsch@novell.com | --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2011-03-21 11:45:31 UTC --- (In reply to comment #4)
Hmm, kernel-firmware installs everything to /lib/firmware, and those files also doesn't look like kernel modules files which you can run modinfo on. So I need a way to find out the relevant graphics related firmware.
Coolo's idea was to figure out, which firmware files are necessary by running find . -name *.ko | xargs modinfo | grep firmware on the kernel modules of the kernel package. Then match this list to the ones of kernel-firmware package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c8 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |sndirsch@novell.com --- Comment #8 from Marcus Schaefer <ms@novell.com> 2011-03-21 11:52:14 UTC --- yes, after thinking twice I also figured that out */me stupid* Thanks so I like that idea of matching the firmware required by the modules left in the initrd you said we will loose some relevant firmware information. Why is that the case ? does one firmware load the other ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c9 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|sndirsch@novell.com | --- Comment #9 from Stefan Dirsch <sndirsch@novell.com> 2011-03-21 12:13:24 UTC --- (In reply to comment #8)
you said we will loose some relevant firmware information. Why is that the case ? does one firmware load the other ?
Yes, that's indeed the case. :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c10 --- Comment #10 from Stephan Kulow <coolo@novell.com> 2011-03-21 13:55:07 CET --- That would be a bug in the modinfo of that modules then and should be fixed IMO -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c11 --- Comment #11 from Stephan Kulow <coolo@novell.com> 2011-03-21 13:57:48 CET --- btw: the 3 files in #5 _are_ part of the modinfo kernel/drivers/gpu/drm/radeon/radeon.ko of 2.6.38 (factory) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c12 --- Comment #12 from Stefan Dirsch <sndirsch@novell.com> 2011-03-21 13:22:00 UTC --- (In reply to comment #11)
btw: the 3 files in #5 _are_ part of the modinfo kernel/drivers/gpu/drm/radeon/radeon.ko of 2.6.38 (factory)
Could be. I verified with kernel and kernel-firmware package of openSUSE 11.4. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c13 --- Comment #13 from Stephan Kulow <coolo@novell.com> 2011-03-21 14:53:58 CET --- So let's ignore that -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c14 --- Comment #14 from Marcus Schaefer <ms@novell.com> 2011-03-21 13:57:35 UTC --- I will implement coolo's suggestion -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c15 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #15 from Marcus Schaefer <ms@novell.com> 2011-03-21 14:43:55 UTC --- done -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c16 --- Comment #16 from Stephan Kulow <coolo@novell.com> 2011-03-21 15:56:25 CET --- then I may readd german locale files now -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c17 --- Comment #17 from Stephan Kulow <coolo@novell.com> 2011-03-21 15:57:06 CET --- .. if you submitted to factory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681234 https://bugzilla.novell.com/show_bug.cgi?id=681234#c18 --- Comment #18 from Marcus Schaefer <ms@novell.com> 2011-03-21 15:07:13 UTC --- did that, hope it's better now created request id 64663 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com