Help Compiling Xanmod Kernel 4.19.29 Slackware -current?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Help Compiling Xanmod Kernel 4.19.29 Slackware -current?
OK so I wanted to build the Xanmod kernel because its patched with aufs which I need for Linux-Live-Kit for Slackware.
First I tried using the huge config which failed at the end no idea why.
Then I used the default Xanmod config and everything built fine.
I booted off it, kernel panic, needs initrd maybe
As suggested by /usr/share/mkinitrd/mkinitrd_command_generator.sh
I then edited lilo.conf, ran lilo, then rebooted.
And got whats in the pic attached.
Now using generic config and building.
So what went wrong??
I got the Xanmod kernel source here https://xanmod.org/
It came with a patch also but is the patch for a vanilla kernel source or what?
I didnt apply patch to xanmod source.
any help appreciated!
Sun Mar 3 22:03:39 UTC 2019
a/mkinitrd-1.4.11-x86_64-12.txz: Rebuilt.
Updated to busybox-1.30.1.
mkinitrd: allow a colon-delimited list of kernel versions with -k
mkinitrd_command_generator.sh: allow a colon-delimited list of kernel
versions with -k
Hey what exactly does this mean- I got this building broadcom-sta for the xanmod kernel
Code:
make: Entering directory '/usr/src/linux-4.19.29-xanmod15'
CFG80211 API is prefered for this kernel version
/tmp/SBo/broadcom-sta-6.30.223.271/Makefile:85: Neither CFG80211 nor Wireless Extension is enabled in kernel
Hey what exactly does this mean- I got this building broadcom-sta for the xanmod kernel
Code:
make: Entering directory '/usr/src/linux-4.19.29-xanmod15'
CFG80211 API is prefered for this kernel version
/tmp/SBo/broadcom-sta-6.30.223.271/Makefile:85: Neither CFG80211 nor Wireless Extension is enabled in kernel
My guess is your kernel doesn't have cfg80211 enabled under Networking Support -> Wireless
When I pull up WICD it says no networks found and entry for wireless is empty
what is my wireless eth1, wlan0, I dont know??
It all worked in my slackware default kernel 4.4.172...
/tmp/SBo/broadcom-sta-6.30.223.271/Makefile:85: Neither CFG80211 nor Wireless Extension is enabled in kernel[/CODE]
Assuming the slackbuild builds successfully, I don't think this is anything to worry about, I get the same warning on stock 14.2 and the module builds and works fine.
From your lsmod listing the Broadcom wl module hasn't been loaded, you could try loading it manually with modprobe wl and see if that tells you anything useful.
modprobe: ERROR: could not insert 'wl': Unknown symbol in module, or unknown parameter (see dmesg)
dmesg says
Code:
[ 18.699269] intel_powerclamp: No package C-state available
[ 27.479355] NET: Registered protocol family 3
[ 27.544218] NET: Registered protocol family 5
[ 33.041751] sky2 0000:09:00.0 eth0: enabling interface
[ 33.042846] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 35.775855] sky2 0000:09:00.0 eth0: Link is up at 100 Mbps, full duplex, flow control both
[ 35.775882] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 38.141366] sky2 0000:09:00.0 eth0: disabling interface
[ 38.151419] sky2 0000:09:00.0 eth0: enabling interface
[ 38.151945] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 38.219607] sky2 0000:09:00.0 eth0: disabling interface
[ 38.236661] sky2 0000:09:00.0 eth0: enabling interface
[ 38.237132] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 40.869473] sky2 0000:09:00.0 eth0: Link is up at 100 Mbps, full duplex, flow control both
[ 40.869499] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
You can check and see if the system recognizes your wifi adapter by running iwconfig.
It would provide you output for the various connections you have and display whether they support wireless or not. As you can see from the below, my wireless is wlan0.
Code:
jbhansen@craven-moorhead:~$ /sbin/iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11 ESSID:"dad-use-this-one"
Mode:Managed Frequency:5.26 GHz Access Point: A0:04:60:XX:XX:XX
Bit Rate=150 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=53/70 Signal level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3138 Invalid misc:63785 Missed beacon:0
tun0 no wireless extensions.
I am not sure how xanmod configures their kernel. If that option is enabled then the error message may be inconsequential.
If that doesn't work, provide us the output of the following command:
Code:
lspci -k | grep -iA3 net
It should let us know what network devices you have and what modules are loaded for them.
enp9s0 no wireless extensions.
lo no wireless extensions.
wlp12s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=200 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Code:
[root@bz-pc bz]# lspci -k | grep -iA3 net
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 13)
Subsystem: Dell 88E8040 PCI-E Fast Ethernet Controller
Kernel driver in use: sky2
Kernel modules: sky2
0c:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4312 802.11b/g LP-PHY (rev 01)
Subsystem: Dell Wireless 1397 WLAN Mini-Card
Kernel driver in use: wl
Kernel modules: ssb, wl
Wow! That is pumping out some crazy device names (at least device names that I'm not used to seeing). It looks like your wireless is wlp12s0 and your ethernet is enp9s0.
yeah bassmadrigal thats what I said lol
I tried using wlp12s0 and no dice
But, I have it all working by default in AntiX and installed same package as antix to my debian install broadcom-dkms...
In slackware I use broadcom-sta from SBo but now it doesnt work either....mmm I have many kernels between my installs of slack 4.4.172, antix, debian 4.9.08 and xanmod 4.19.29 and 5.0.2 in arcolinux...
Oh man not this again-
Apparently on my laptop the f2 button turns wireless on or off and either I hit it or my cat did lol
So now wireless is working lmao I cant believe I forgot about it
Thanks for all help guys
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.