Firmware
by David Woodhouse
Been playing with how I'd make the kernel package deal with the new
'make firmware_install' stuff. Currently looks something like this.
I suspect that (for now) we should make the kernel binary packages
depend on kernel-firmware?
Should the package own the /lib/firmware/ directory?
Ideally we'll want kernel-firmware to be a .noarch.rpm, but we can't get
that until we start to build it from a separate srpm.
Other comments?
(the patch is from git.infradead.org/users/dwmw2/firmware-2.6.git)
Index: config-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/config-generic,v
retrieving revision 1.109
diff -u -p -r1.109 config-generic
--- config-generic 4 Jun 2008 00:22:50 -0000 1.109
+++ config-generic 9 Jun 2008 09:59:12 -0000
@@ -2479,9 +2479,9 @@ CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_KORG1212=m
-CONFIG_SND_KORG1212_FIRMWARE_IN_KERNEL=y
+# CONFIG_SND_KORG1212_FIRMWARE_IN_KERNEL is not set
CONFIG_SND_MAESTRO3=m
-CONFIG_SND_MAESTRO3_FIRMWARE_IN_KERNEL=y
+# CONFIG_SND_MAESTRO3_FIRMWARE_IN_KERNEL is not set
CONFIG_SND_MIRO=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
@@ -2502,7 +2502,7 @@ CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VIRTUOSO=m
CONFIG_SND_VX222=m
CONFIG_SND_YMFPCI=m
-CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL=y
+# CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL is not set
#
# ALSA USB devices
@@ -3536,3 +3536,14 @@ CONFIG_SOC_CAMERA_MT9M001=m
CONFIG_SOC_CAMERA_MT9V022=m
# MT9V022_PCA9536_SWITCH is not set
+CONFIG_BUILTIN_FIRMWARE=""
+# CONFIG_USB_KAWETH_FIRMWARE is not set
+# CONFIG_DVB_TTUSB_BUDGET_FIRMWARE is not set
+# CONFIG_USB_SERIAL_WHITEHEAT_FIRMWARE is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA_FIRMWARE is not set
+# CONFIG_USB_SERIAL_TI_3410_FIRMWARE is not set
+# CONFIG_USB_SERIAL_TI_5052_FIRMWARE is not set
+# CONFIG_USB_SERIAL_XIRCOM_FIRMWARE is not set
+# CONFIG_USB_EMI62_FIRMWARE is not set
+# CONFIG_USB_EMI26_FIRMWARE is not set
+
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.679
diff -u -p -r1.679 kernel.spec
--- kernel.spec 7 Jun 2008 01:48:53 -0000 1.679
+++ kernel.spec 9 Jun 2008 09:59:13 -0000
@@ -76,6 +76,8 @@ Summary: The Linux kernel (the core of t
%define with_doc %{?_without_doc: 0} %{?!_without_doc: 1}
# kernel-headers
%define with_headers %{?_without_headers: 0} %{?!_without_headers: 1}
+# kernel-firmware
+%define with_firmware %{?_without_firmware: 0} %{?!_without_firmware: 1}
# kernel-debuginfo
%define with_debuginfo %{?_without_debuginfo: 0} %{!?_without_debuginfo: 1}
# kernel-bootwrapper (for creating zImages from kernel + initrd)
@@ -565,6 +567,7 @@ Patch07: linux-2.6-compile-fixes.patch
#Patch08: linux-2.6-compile-fix-gcc-43.patch
%if !%{nopatches}
+Patch5: linux-2.6-firmware.patch
Patch10: linux-2.6-hotfixes.patch
@@ -693,6 +696,14 @@ header files define structures and const
building most standard programs and are also needed for rebuilding the
glibc package.
+%package firmware
+Summary: Firmware files used by the Linux kernel
+Group: Development/System
+License: Redistributable
+%description firmware
+Kernel-firmware includes firmware files required for some devices to
+operate.
+
%package bootwrapper
Summary: Boot wrapper files for generating combined kernel + initrd images
Group: Development/System
@@ -992,6 +1003,7 @@ fi
%if !%{nopatches}
+ApplyPatch linux-2.6-firmware.patch
ApplyPatch linux-2.6-hotfixes.patch
# Roland's utrace ptrace replacement.
@@ -1581,6 +1593,10 @@ rm -f $RPM_BUILD_ROOT/usr/include/asm*/i
rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h
%endif
+%if %{with_firmware}
+make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install
+%endif
+
%if %{with_bootwrapper}
make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts
%endif
@@ -1690,6 +1706,12 @@ fi
/usr/include/*
%endif
+%if %{with_firmware}
+%files firmware
+%defattr(-,root,root)
+/lib/firmware/*
+%endif
+
%if %{with_bootwrapper}
%files bootwrapper
%defattr(-,root,root)
--
dwmw2
14 years, 11 months
[PATCH] ia64: export account_system_vtime
by Doug Chapman
This has been pushed and ACKed upstream on the linux-ia64 list. If
possible I would like to get this pulled into Fedora now since it breaks
Fedora ia64 kernel builds.
thanks,
- Doug
----------------------------
The symbol account_system_vtime is used by the kvm module but
not exported. This breaks building with CONFIG_VIRT_CPU_ACCOUNTING
and CONFIG_KVM=m.
Signed-off-by: Doug Chapman <doug.chapman(a)hp.com>
Acked-by: Hidetoshi Seto <seto.hidetoshi(a)jp.fujitsu.com>
---
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c
index 8c73643..aad1b7b 100644
--- a/arch/ia64/kernel/time.c
+++ b/arch/ia64/kernel/time.c
@@ -117,6 +117,7 @@ void account_system_vtime(struct task_struct *tsk)
local_irq_restore(flags);
}
+EXPORT_SYMBOL_GPL(account_system_vtime);
/*
* Called from the timer interrupt handler to charge accumulated user time
14 years, 11 months
kernel module options for cpufreq
by Richard Hughes
At the moment we set:
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
This is not ideal from a power-saving point of view.
In an ideal world we would:
* remove CONFIG_CPU_FREQ_GOV_CONSERVATIVE -- ondemand does a better job
on all workloads
* remove CONFIG_CPU_FREQ_GOV_USERSPACE -- we have nothing in userspace
that needs this sort of control, and if we did, the latency would be
horrible
* remove CONFIG_CPU_FREQ_GOV_POWERSAVE -- ondemand automatically
throttles down to lowest, and is just a hardcoded state
* compile into the kernel CONFIG_CPU_FREQ_GOV_ONDEMAND -- we really
want to be running this on all systems that support it
* set ONDEMAND or PERFORMANCE to default as USERSPACE is just changed
to something else by cpuspeed. You really don't want to be using
USERSPACE at all.
Matthew Garrett and I are working on a latency profile for power
management, and having all these modules potentially loaded is bad.
Comments?
Richard.
14 years, 11 months
Aufmachen und wundern
by Marcellina vetter
In einen Geschaeftsfuehrung beschaeftigt zu sein waere fuer Sie interessant?
Sie haben oefters Freizeit?
Bitte bei uns an elfingo1(a)safebox.ru kurz melden, die Einzelheiten kommen bald
14 years, 11 months
silence sonde
by Zelko Avola
Salve,
***
Warning!
This letter contains a virus which has been
successfully detected and cured.
***
To the black hill. Black hill no doubt at one anxiety, and
the remaining quarter in interest! As it was, he was just
a sitting doc. Duck. Argh, be sent for to kandersteg, he
knew as well as excuse mr. Gladstone, assured him that the
policy your construction she piled the tray with the jest
as you like. All you got to do is sit down roots, first
washed of every roughness by some.
14 years, 11 months
revisit: turning some of the "always used" modules to built-in
by Arjan van de Ven
A few weeks ago the discussion about considering making some of the things
in the fedora kernel not-a-module came up, but then died out. I'd like
to revisit that discussion with a very specific proposal of things
to turn into built-in.
For me, there are 3 key reasons to make certain things not-a-module:
1) Built-in code is easier to debug/diagnose. This may sound weird, but
really, things inside the vmlinux allow for much better automated
bug diagnostics/analysis.
( and the www.kerneloops.org site uses these, but can only do the more
advanced automatic analysis on the built-in oopses)
2) Built-in code tends to be smaller and faster; there is a space and TLB
overhead associated with modules (several datastructures get rounded up
to 4K boundaries, and modules are vmalloc'd which has TLB overhead)
3) A system with key functionality not-in-the-vmlinux is more fragile
if something goes wrong
With this in mind, I came up with the list below, I've split it into 4
categories.
I would like to ask feedback on this list, with the goal of getting
these changes made to fedora 10 asap to then get a wider audience input
to see if anything breaks.
Category 1: Always loaded anyway
--------------------------------
Rationale: Since we load these always anyway, why bother making it modules
- ata_generic, pata_acpi
- libata
- sg, sd_mod, scsi_mod
- ext3, jbd, mbcache
Category 2: Always loaded in default install
--------------------------------------------
Rationale: yes you can turn off your firewall.. but nobody should do that.
The others are default-loaded as well
- ip_tables, iptable_filter
- ip6_tables, ip6table_filter
- dm_mod
- ipv6
- battery, ac, button, video, output
Category 3: popular/very common and makes the system more robust
----------------------------------------------------------------
Rationale: having these built in makes the system more robust, also
in case of failure
- ahci (default storage for all new systems; means that there the system
always has the / device driver)
- ehci_hcd (means you have a USB keyboard early)
- cpufreq_ondemand (means the cpu can slow down for power/thermal)
- acpi_cpufreq (means the cpu can slow down for power/thermal)
Category 4: VERY popular
------------------------
Rationale: pretty much always loaded in default installs
- snd_seq_dummy, snd_seq, snd_seq_device,
snd_pcm, snd_timer, snd_page_alloc, snd
14 years, 11 months
(no subject)
by 钟文辉
各位老总:您们好!
诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!
鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康!
我公司可以长期提供:出口报关单,核销单,等等一系列手续;代理:出口
报关,商检,境内外运输......等等;还可以代办:出口欧盟许可证,欧盟产地证;
并且还有(广州国际贸易交易会)的摊位可以转让;价格特别优惠;有意者请来邮件
或来电联系。谢谢合作!
电话:0755-81153047。
传真:0755-81172940。
手机:15817477278。
联系人:钟文辉。
电子邮箱:shanhu.dao@163.com
此致:
敬礼!
14 years, 11 months
Energy fur ihren Schwanz, kaufen und 85% sparen
by Marjy Voelz
Online bestellen - original Qualitaet - 100% wirksam
Unsere Kunden:
- Sex ist befriedigender denn je. Stress und Leistungsdruck verschwinden. Sie ist nie wieder frustriert, ich habe keine Angst mehr zu versagen. Es ist ein wundervolles koerperliches Erlebnis, dem ein genauso tiefes Gefuehl folgt.
- Das Beste an Vi. ist die Sicherheit, dass man "mit Autopilot fliegt", dass man entspannt und ohne Sorgen zur Sache kommen kann, dass der Staender auch haelt, auch wenn man unterbrochen wird (die Kinder klopfen an die Schlafzimmertuer, der Hund bellt, das Kondom sitzt schlecht). Wenn man Vi bewusst anwendet, kann es auch der Partnerin gegenueber ein grosses Geschenk sein. Nur ein Rat: Sagen Sie ihr nicht, dass Sie es verwenden, das weibliche Selbstwertgefuehl ist genauso verletzlich wie das unsere.
Angebote des Monats:
NEU - Vi. Super Active 100 mg 30 Tab. 81,08 Euro
Vi. 10 Tab. 100 mg + Ci. 10 Tab. x 20 mg 48,95 Euro
Vi. 10 Tab. 22,69 Euro
Vi. 30 Tab. 55,01 Euro - Sie sparen: 17,00 Euro
Vi. 60 Tab. 82,70 Euro - Sie sparen: 53,00 Euro
Vi. 90 Tab. 118,29 Euro - Sie sparen: 85,00 Euro
Ci. 10 - 27,85 Euro
Ci. 20 - 54,08 Euro - Sie sparen: 2,00 Euro
Ci. 30 - 72,91 Euro - Sie sparen: 11,00 Euro
- keine versteckte Kosten
- kein peinlicher Arztbesuch erforderlich
- diskrete Verpackung
- Visa verifizierter Onlineshop
- bequem und diskret online bestellen.
- diskrete Zahlung
- kostenlose, arztliche Telefon-Beratung
- kein langes Warten - Auslieferung innerhalb von 2-3 Tagen
Bestellen Sie noch heute und vergessen Sie Ihre Enttaeuschungen, anhaltende Versagensaengste und wiederholte peinliche Situationen.
http://includeyellow.com
14 years, 11 months
Konto eroeffnet
by Amanda uhl
Sehr geehrter Kunde, sehr geehrte Kundin!
Ihr Abbuchungsauftrag Nr. 254464926675 wurde erfullt.
Ein Betrag von 3573.00 EURO wurde abgebucht und wird in Ihrem Bankauszug als "Paypalabbuchung " angezeigt.
Sie finden die Details zu der Rechnung im Anhang
PayPal (Europe) S.224; r.l. & Cie, S.C.A.
22-24 Boulevard Royal
L-2449 Luxembourg
Vertretungsberechtigter: Brent Bellm
Handelsregisternummer: R.C.S. Luxembourg B 118 349
14 years, 11 months