Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eudev-3 dropped firmware loader support
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
ayvango
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 118

PostPosted: Sun Apr 12, 2015 9:24 am    Post subject: eudev-3 dropped firmware loader support Reply with quote

And how should I configure the system without it? I can't disable the kernel option for userspace helper, make menuconfig marks it as mandatory.

What kernel tricks or userspace substitute may be used? I've tried linux-firmware ebuild, but it can't take the place of eudev.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42857
Location: 56N 3W

PostPosted: Sun Apr 12, 2015 11:04 am    Post subject: Reply with quote

ayvango,

Firmware loading is a kernel feature. It should be forced on by any modules that require it.
It can be manually selected so you have support for external kernel modules that need firmware to be loaded too.
Code:

  │ Symbol: FW_LOADER [=y]                                                       │ 
  │ Type  : tristate                                                             │ 
  │ Prompt: Userspace firmware loading support
turns on the in kernel firmware loader.

Code:
 │ Symbol: FW_LOADER_USER_HELPER [=n] 
Passes firmware loading to userspace if kernel firmware loading fails.
There is no userspace firmware loadng any more.

In short, everything should just work as you have
Code:
 -*- Userspace firmware loading support

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ayvango
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 118

PostPosted: Sun Apr 12, 2015 7:44 pm    Post subject: Reply with quote

NeddySeagoon wrote:
ayvango,
Code:
 │ Symbol: FW_LOADER_USER_HELPER [=n] 
Passes firmware loading to userspace if kernel firmware loading fails.

I have FW_LOADER_USER_HELPER forced to y by menuconfig. And when I load the kernel with eudev-3 I have all firmware loading failed. Should I fix the kernel configuration or fix something with userspace configuration?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6877
Location: Austria

PostPosted: Sun Apr 12, 2015 8:17 pm    Post subject: Reply with quote

This breaks kernel 3.4, btw, which does not have direct firmware loading. So, same issue as with systemd.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42857
Location: 56N 3W

PostPosted: Sun Apr 12, 2015 8:21 pm    Post subject: Reply with quote

ayvango,

In menuconfig press / for seach and enter FW_LOADER_USER_HELPER

That will show what it deponds on and what selects it. I get

Code:
  │   Depends on: FW_LOADER [=y]                                                                                            │ 
  │   Selects: FW_LOADER_USER_HELPER [=n]                                                                                   │ 
  │   Selected by: DRM_STI [=n] && HAS_IOMEM [=y] && DRM [=y] && (SOC_STIH415 || SOC_STIH416 || ARCH_MULTIPLATFORM)

This shows the settingins in my kernel. Yours will be different.

For this expression to evaluate to true any one or more of (SOC_STIH415 || SOC_STIH416 || ARCH_MULTIPLATFORM) must be true.
I can't find any of them in kernel 3.19.3.

DRM_STI is for
Code:
DRM Support for STMicroelectronics SoC stiH41x Series (DRM_STI)
and its not visible unless you are building a kernel for whatever arch that happens to be, so an amd64 and i686 FW_LOADER_USER_HELPER should not be forced on.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 309

PostPosted: Mon Apr 13, 2015 7:26 am    Post subject: Reply with quote

This is entry for FW_LOADER_USER_HELPER_FALLBACK. The FW_LOADER_USER_HELPER may be forced by DELL_RBU, a DELL BIOS update interface.
NeddySeagoon wrote:
ayvango,
For this expression to evaluate to true any one or more of (SOC_STIH415 || SOC_STIH416 || ARCH_MULTIPLATFORM) must be true.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3793
Location: Dallas area

PostPosted: Mon Apr 13, 2015 9:43 am    Post subject: Reply with quote

I masked eudev 2 and above a while back. System works perfectly fine with eudev-1*
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
ayvango
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 118

PostPosted: Thu Apr 16, 2015 4:49 am    Post subject: Reply with quote

NeddySeagoon,

I mistook menu entry "Userspace firmware loader" with FW_LOADER_USER_HELPER. FW_LOADER_USER_HELPER have no presence in menu. It seems to be activated only by dependencies. I switch off FW_LOADER_USER_HELPER_FALLBACK and FW_LOADER_USER_HELPER become disabled. So I manage to configure kernel without FW_LOADER_USER_HELPER

But doing so does not solve the problem. I've tried new kernel with eudev-3 and the system still misses all firmware.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42857
Location: 56N 3W

PostPosted: Thu Apr 16, 2015 6:30 pm    Post subject: Reply with quote

ayvango,

Please put both your kernel .config file and the dmesg it produces onto a pastebin site and post the links here.
wgetpaste is your friend.

I expect to see some messages about firmware loading failing in dmesg, and maybe why.
Then I can poke about in your kernel to see why.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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