You are not logged in.

#1 2009-06-04 21:33:52

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

First Kernel Compile -> Error

So after spending a good couple hours on the wiki I figured I knew enough to give it a shot.
I am just gonna reuse this thread.

I got the .pkg.tar.gz and I tried to install it with pacman but I get some errors:

[phil@Arch kernel2.6.29.4]$ sudo pacman -U kernel26294-ARCH-2.6.29.4-phil-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts                   [#####################] 100%
error: failed to prepare transaction (conflicting files)
kernel26294-ARCH: /lib/firmware/acenic/tg1.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/acenic/tg2.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/adaptec/starfire_rx.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/adaptec/starfire_tx.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/atmsar11.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/cpia2/stv0672_vp4.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/cxgb3/t3b_psram-1.1.0.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/cxgb3/t3c_psram-1.1.0.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/cxgb3/t3fw-7.0.0.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/dabusb/bitstream.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/dabusb/firmware.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/e100/d101m_ucode.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/e100/d101s_ucode.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/e100/d102e_ucode.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/edgeport/boot.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/edgeport/boot2.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/edgeport/down.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/edgeport/down2.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/edgeport/down3.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/emi26/bitstream.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/emi26/firmware.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/emi26/loader.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/emi62/bitstream.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/emi62/loader.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/emi62/midi.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/emi62/spdif.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/ess/maestro3_assp_kernel.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/ess/maestro3_assp_minisrc.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/kaweth/new_code.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/kaweth/new_code_fix.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/kaweth/trigger_code.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/kaweth/trigger_code_fix.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/keyspan_pda/keyspan_pda.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/keyspan_pda/xircom_pgs.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/korg/k1212.dsp exists in filesystem
kernel26294-ARCH: /lib/firmware/mts_cdma.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/mts_edge.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/mts_gsm.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/sun/cassini.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/ti_3410.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/ti_5052.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/tigon/tg3.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/tigon/tg3_tso.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/tigon/tg3_tso5.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/ttusb-budget/dspbootcode.bin exists in filesystem
kernel26294-ARCH: /lib/firmware/vicam/firmware.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/whiteheat.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/whiteheat_loader.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/yamaha/ds1_ctrl.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/yamaha/ds1_dsp.fw exists in filesystem
kernel26294-ARCH: /lib/firmware/yamaha/ds1e_ctrl.fw exists in filesystem

errors occurred, no packages were upgraded.
[phil@Arch kernel2.6.29.4]$

Last edited by Dethredic (2009-06-04 23:30:12)

Offline

#2 2009-06-04 23:43:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: First Kernel Compile -> Error

See if you can work it out from this: http://bbs.archlinux.org/viewtopic.php?id=56373

N.B. do not file a bug report, despite what it says in the first post. This here is one of the exceptions.

Offline

#3 2009-06-04 23:53:52

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: First Kernel Compile -> Error

Ok, well I found out all of those belong to my current kernel, so I would rather not delete them in case everything breaks.

I am not sure if forcing it would be safe.

Offline

#4 2009-06-04 23:59:07

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: First Kernel Compile -> Error

Wasn't the firmware split out with recent kernels?

core/kernel26 2.6.29.4-1 (base)
    The Linux Kernel and modules
core/kernel26-firmware 2.6.29-1 (base)
    The included firmware files of the Linux Kernel

Throw out the last package and you should be good. Or rebuild your kernel and disable the option to build the firmware:

zgrep -i firmware /proc/config.gz 
CONFIG_PREVENT_FIRMWARE_BUILD=y

You can decide to put the firmware in the kernel itself (like I did), then you won't have anything in /lib/firmware (I have only non-kernel firmware blobs there, like my wireless card's and my webcam's).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2009-06-05 03:54:17

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: First Kernel Compile -> Error

Hmm, ok. So I rebuilt my kernel and unchecked the one firmware option there was but that didn't help.

I tried a pacman -R kernel26-firmware:

[phil@Arch ~]$ sudo pacman -R kernel26-firmware
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: kernel26: requires kernel26-firmware>=2.6.29
[phil@Arch ~]$

again I didn't want to force cause I don't want to break my existing kernel.

Offline

#6 2009-06-05 14:26:11

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: First Kernel Compile -> Error

If your new kernel provides those files, there is no problem. Just trash the firmware package and carry on. Check the pacman manual for the option to ignore dependencies, so you can remove it without pacman complaining smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2009-06-05 18:17:02

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: First Kernel Compile -> Error

The kernel26parallel PKGBUILD used to have this part written at the very bottom to remove the /lib/firmware that the default kernel26 already has: http://aur.archlinux.org/packages/kerne … l/PKGBUILD


Or if you don't use any hardware that would ever need any of those firmware blobs then you can build the kernel without any of if and there will be no /lib/firmware folder created at all.


Another easy way is to just replace all of that firmware since it's all the same or the newest version (I try not to use the -Uf 'force' command too often, but for the kernel I'm pretty sure all it would do is rewrite the /lib/firmware folder files that already exist):

pacman -Uf

Last edited by methuselah (2009-06-05 18:19:41)

Offline

Board footer

Powered by FluxBB