Summary: | sys-kernel/gentoo-sources-3.2.11 / 3.3.0 doesn't interact with sys-fs/udev-182 correctly (???) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marco Napetti <marco.napetti> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | krinpaus, mgierok, teidakankan, udev-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
backported patch for brcmsmac
config-3.2.11-gentoo config-3.3.0-gentoo |
Description
Marco Napetti
2012-03-19 21:59:39 UTC
What happens if you upgrade to udev-182? I'm not sure, but I sovled a similar problem by recompiling the kernel with my rtl8192se firmware in it. It seems that >=udev-177 has trouble dealing with some firmwares. Compiling them within your kernel / pack them in the initramfs can be a workaround. The problem is still here with sys-fs/udev-182 and sys-kernel/gentoo-sources-3.2.11, but is solved with sys-fs/udev-182 and sys-kernel/gentoo-sources-3.3.0 I have to correct myself: actually using sys-kernel/gentoo-sources-3.3.0 my WiFi card (brcmfmac based) doesn't work, with sys-kernel/gentoo-sources-3.2.11 it works. Have I to open another bug report because it isn't related to sys-fs/udev? This bug would need a lot more information than is provided right now. There isn't much to go on. In the current state this is on, it will likely just get closed with 'NEEDINFO'. No kernel config, emerge -pv udev, dmesg, or anything like that attached... Can we try this: Run gentoo-sources-3.2.11 and udevd 182 as I think it has a fix for firmware loading bugs. Compile rtl8192se as a module and do *not* load it. Also install rlt8192se-firmware. Without the module being loaded, do you get the udevd error messages? If not, modprobe rtl8192se and tell me what happens. btw, if you can't get wireless working with 3.3.0, that should be a separate bug. Created attachment 306057 [details, diff]
backported patch for brcmsmac
Can you apply this patch to your gentoo-sources-3.2.11 and let me know if it helps. Use udev 182 and load your driver module as you were when it was failing.
Thanks.
Created attachment 306079 [details]
config-3.2.11-gentoo
Created attachment 306081 [details]
config-3.3.0-gentoo
(In reply to comment #5) > This bug would need a lot more information than is provided right now. > There isn't much to go on. In the current state this is on, it will likely > just get closed with 'NEEDINFO'. > No kernel config, emerge -pv udev, dmesg, or anything like that attached... You're right, it's my fault. I've attached the configs files, udes is merged with those use flags: [ebuild R ] sys-fs/udev-182 USE="gudev openrc rule_generator -build -debug -doc -floppy -hwdb -introspection -keymap (-selinux) -static-libs" 0 kB Now I notice that, in another gentoo box with different hardware, the static-libs flag was needed... (In reply to comment #6) > Can we try this: > > Run gentoo-sources-3.2.11 and udevd 182 as I think it has a fix for firmware > loading bugs. > > Compile rtl8192se as a module and do *not* load it. Also install > rlt8192se-firmware. > > Without the module being loaded, do you get the udevd error messages? > If not, modprobe rtl8192se and tell me what happens. > > btw, if you can't get wireless working with 3.3.0, that should be a separate > bug. Actually I don't use rtl8192se module, it was cited by Tong Ju in Comment #2, I use brcmfmac and I already tried to make it builtin into kernel, but the problem persists. When I try to start /etc/init.d/net.wlan0 I obtain this: * Caching service dependencies ... [ ok ] * Bringing up interface wlan0 * ERROR: interface wlan0 does not exist * Ensure that you have loaded the correct kernel module for your hardware * ERROR: net.wlan0 failed to start (In reply to comment #7) > Created attachment 306057 [details, diff] [details, diff] > backported patch for brcmsmac > > Can you apply this patch to your gentoo-sources-3.2.11 and let me know if it > helps. Use udev 182 and load your driver module as you were when it was > failing. > > Thanks. Wait a moment, maybe I didn't understand the goal of your patch, but, with gentoo-sources-3.2.11, brcmsmac works fine, but I have a strange error at boot time (and I don't know wich module the error is related to). Instead, with gentoo-sources-3.3.0, brcmsmac doesn't works (loads, doesn't give any error but the device isn't created). What are the results from the steps of comment #7? (In reply to comment #13) > What are the results from the steps of comment #7? Applying the patch to gentoo-sources-3.2.11 results on a compilation error: CC [M] drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.o drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c: In function ‘brcms_driver_init’: drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c:1276:5: error: implicit declaration of function ‘bcma_driver_register’ drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c:1276:35: error: ‘brcms_bcma_driver’ undeclared (first use in this function) drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c:1276:35: note: each undeclared identifier is reported only once for each function it appears in make[5]: *** [drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.o] Errore 1 make[4]: *** [drivers/net/wireless/brcm80211/brcmsmac] Errore 2 make[3]: *** [drivers/net/wireless/brcm80211] Errore 2 make[2]: *** [drivers/net/wireless] Errore 2 make[1]: *** [drivers/net] Errore 2 make: *** [drivers] Errore 2 Thanks, let me see what I can come up with. A whole set of patches that might address this issue are now in Linus's upstream development tree. As soon as he tags a version, I will ask you to test. (In reply to comment #16) > A whole set of patches that might address this issue are now in Linus's > upstream development tree. As soon as he tags a version, I will ask you to > test. Ok, no problem, let me know... To enable CONFIG_BRCMSMAC on kernel 3.3.0 you need to enable CONFIG_BCMA first. BRCMSMAC != BRCMFMAC Even that, my wifi connection doesn't work on both kernel (3.3.0 and 3.2.11) with >=udev-182. I must downgrade it. (In reply to comment #18) > To enable CONFIG_BRCMSMAC on kernel 3.3.0 you need to enable CONFIG_BCMA > first. > BRCMSMAC != BRCMFMAC > > Even that, my wifi connection doesn't work on both kernel (3.3.0 and 3.2.11) > with >=udev-182. I must downgrade it. Yes, you're right, enabling BCMA i had BRCMSMAC back and now my WiFi works. Thank you very much! I think you are ok now? Reopen if not. |