Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-firmware is blocking ueagle-atm (and vice versa)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sasq
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 221
Location: Poland

PostPosted: Sat Jan 04, 2014 11:50 pm    Post subject: linux-firmware is blocking ueagle-atm (and vice versa) Reply with quote

I tried to install drivers for my ADSL modem (Sagem F@st 800, with Eagle2 chipset).
It uses the net-dialup/ueagle-atm ebuild, so I tried to emerge it.
But it turned out that it is being blocked by some other package I had installed on my system: linux-firmware.
Not remembering why this package is needed and what requires it, I unmerged it, since it was the only way to install ueagle-atm I need for my Internet connection.

But after reboot it turned out that my hardware acceleration doesn't work for my video card (Radeon X1200 series, RS690M to be exact).
Looking up through Xorg logs I figured out that this video card needs some firmware, and it couldn't be loaded because of the missing linux-firmware package ;-/ So I needed to unmerge ueagle-atm and merge back the linux-firmware, because otherwise it is still blocked by ueagle-atm

But now there is a problem: How can I use both as I need?
I don't want to choose between video acceleration and Internet connection, so why am I forced to choose?
I don't remember such problems happening in the past.
Is there any way to install both? And why is one blocking the other?
_________________
SasQ
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1655
Location: United Kingdom

PostPosted: Sun Jan 05, 2014 12:04 am    Post subject: Reply with quote

The linux-firmware ebuild downloads the ueagle-atm firmware, which is why one ebuild blocks the other. You don't need to merge net-dialup/ueagle-atm, just merge sys-kernel/linux-firmware and it will install both the uEagle-ATM firmware and the Radeon firmware, as well as a whole lot of other firmware files:

http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/

If you don't want all the unecessary firmware files cluttering up your HDD, see: How to install the linux-firmware package in Gentoo.
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
sasq
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 221
Location: Poland

PostPosted: Sun Jan 05, 2014 12:21 am    Post subject: Reply with quote

Oh, so that's how it works now... :roll:
Thanks for your quick explanation.

Now I'm fighting with emerging back the linux-firmware package, because it just hangs at the end of the process, after displaying the message:
Code:
* Your configuration for sys-kernel/linux-firmware-20130728 has been saved in
 * /etc/portage/savedconfig/sys-kernel/linux-firmware-20130728 for your editing pleasure.
 * You can edit these files by hand and remerge this package with
 * USE=savedconfig to customise the configuration.
 * You can rename this file/directory to one of the following for
 * its configuration to apply to multiple versions:
 * ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
 * [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]


I need to break it with Ctrl+C to get the console back, but it also breaks the installation and leaves it unfinished :-/
I thought that this is done on purpose, that the user need to edit the mentioned file and re-emerge the package with the "savedconfig" USE flag.
But when I tried to find the mentioned file, it wasn't there (yet, I guess, due to the unfinished emerge).

Can I just create that file, copy-paste the content from your website, adjust it to my needs, and re-emerge linux-firmware package with the "savedconfig" USE flag? Or there's some more tricky wizardry required to install this package?
_________________
SasQ
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1655
Location: United Kingdom

PostPosted: Sun Jan 05, 2014 12:51 am    Post subject: Reply with quote

sasq wrote:
Now I'm fighting with emerging back the linux-firmware package, because it just hangs at the end of the process, after displaying the message:
Code:
* Your configuration for sys-kernel/linux-firmware-20130728 has been saved in
 * /etc/portage/savedconfig/sys-kernel/linux-firmware-20130728 for your editing pleasure.
 * You can edit these files by hand and remerge this package with
 * USE=savedconfig to customise the configuration.
 * You can rename this file/directory to one of the following for
 * its configuration to apply to multiple versions:
 * ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
 * [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]

I need to break it with Ctrl+C to get the console back, but it also breaks the installation and leaves it unfinished :-/
I thought that this is done on purpose, that the user need to edit the mentioned file and re-emerge the package with the "savedconfig" USE flag.
But when I tried to find the mentioned file, it wasn't there (yet, I guess, due to the unfinished emerge).

No, it isn't done on purpose; it shouldn't hang like that, the ebuild/merge should run to completion. I'm not sure what's going on there. :?

sasq wrote:
Can I just create that file, copy-paste the content from your website, adjust it to my needs, and re-emerge linux-firmware package with the "savedconfig" USE flag?

Yes, you can just create the file with the few entries you require. See the kernel git link I gave in my previous post to check the current list for the linux-firmware-20130728 package.

sasq wrote:
Or there's some more tricky wizardry required to install this package?

No, there isn't. It should just install easily. In essence, all the ebuild does is download the tarball, unpack it and copy all the firmware (and associated) files to the /lib/firmware/ directory and then delete the files not specified in the config file (/etc/portage/savedconfig/sys-kernel/linux-firmware-20130728 is the name of the config file in the case of the current version of the ebuild).
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum