LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2019, 05:19 AM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
Code:
mkinitrd -c -k 4.19.29-xanmod -c -k 4.19.29-xanmod15 -f ext4 -r /dev/sda6 -m usb-storage:ums-realtek:ehci-hcd:ehci-pci:uhci-hcd:jbd2:mbcache:crc32c-intel:ext4:aufs -u -o /boot/initrd.gz
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!
Attached Thumbnails
Click image for larger version

Name:	20190319_052957_HDR.jpg
Views:	57
Size:	271.3 KB
ID:	30140  
 
Old 03-19-2019, 08:26 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
From the ChangeLog for -current
Quote:
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
Perhaps
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh -k 4.19.29-xanmod:4.19.29-xanmod15
 
2 members found this post helpful.
Old 03-19-2019, 06:22 PM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Hell yes thank you allend!
I had to change it to
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh -k 4.19.29-xanmod15:4.19.29-xanmod15
And then I put it, modules etc on my 14.2 install and it works great!
Just made a rc1 live build of my 14.2 install!
see attached pic
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-03-19_19-21-45.jpg
Views:	49
Size:	113.8 KB
ID:	30148  
 
Old 03-19-2019, 07:22 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
 
Old 03-20-2019, 12:00 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by linus72 View Post
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
 
1 members found this post helpful.
Old 03-20-2019, 03:48 PM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
hey bassmadrigal, I reinstalled SBo pkg b43fcutter, b43firmware, and broadcom-sta
Doing lsmod shows this
Code:
bash-4.3# lsmod
Module                  Size  Used by
appletalk              40960  0
psnap                  16384  1 appletalk
llc                    16384  1 psnap
ax25                   73728  0
i915                 2101248  6
kvmgt                  28672  0
vfio_mdev              16384  0
mdev                   20480  2 kvmgt,vfio_mdev
vfio_iommu_type1       28672  0
vfio                   32768  3 kvmgt,vfio_mdev,vfio_iommu_type1
kvm                   729088  1 kvmgt
irqbypass              16384  1 kvm
drm_kms_helper        208896  1 i915
drm                   532480  8 drm_kms_helper,i915
i2c_algo_bit           16384  1 i915
fb_sys_fops            16384  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
dell_wmi               16384  0
gpio_ich               16384  0
sparse_keymap          16384  1 dell_wmi
joydev                 24576  0
hid_generic            16384  0
wmi_bmof               16384  0
uas                    28672  0
sky2                   69632  0
cfg80211              774144  0
dell_laptop            24576  0
dell_smbios            28672  2 dell_wmi,dell_laptop
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
dcdbas                 16384  1 dell_smbios
dell_smm_hwmon         16384  0
coretemp               16384  0
snd_pcsp               16384  1
psmouse               172032  0
usbmouse               16384  0
usbhid                 57344  0
hid                   139264  2 usbhid,hid_generic
input_leds             16384  0
serio_raw              16384  0
i2c_i801               32768  0
lpc_ich                28672  0
wmi                    28672  4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
snd_hda_codec_idt      61440  1
snd_hda_codec_generic    86016  1 snd_hda_codec_idt
video                  45056  3 dell_wmi,dell_laptop,i915
snd_hda_intel          45056  3
snd_hda_codec         151552  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_idt
snd_hda_core           94208  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               114688  4 snd_hda_intel,snd_hda_codec,snd_pcsp,snd_hda_core
snd_timer              36864  1 snd_pcm
snd                    90112  16 snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcsp,snd_pcm,snd_hda_codec_idt
soundcore              16384  1 snd
mac_hid                16384  0
aufs                  290816  0
ahci                   40960  3
libahci                40960  1 ahci
ums_realtek            20480  0
usb_storage            73728  2 uas,ums_realtek
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...
 
Old 03-20-2019, 04:21 PM   #7
Ian M
Member
 
Registered: Oct 2017
Location: UK
Distribution: Slackware 15
Posts: 39

Rep: Reputation: Disabled
Quote:
Originally Posted by linus72 View Post
/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.
 
Old 03-20-2019, 05:00 PM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
ok thanks I got same warning with 4.4.172

modprobe wl gives this with 4.19.29-xanmod15
Code:
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
Not sure what else in dmesg to look for?
 
Old 03-20-2019, 05:22 PM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
In my AntiX and Arcolinux installs where it works I get this from lsmod
Code:
wl                   6463488  0
cfg80211              798720  1 wl
sky2                   73728  0
Ceni in antix says wlan0 is my wireless connection. But others like Arcolinux call it wlp12s0?
Any help appreciated!
 
Old 03-20-2019, 09:42 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
Old 03-21-2019, 05:39 AM   #11
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK thanks very much!
iwconfig
Code:
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
 
Old 03-21-2019, 11:19 AM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
Old 03-21-2019, 01:00 PM   #13
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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...
 
Old 03-21-2019, 06:41 PM   #14
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Buster/Sid LXDE Linux-Live-Kit with Xanmod 5.0.2 Kernel RC1 for testing linus72 Debian 5 04-22-2019 09:03 PM
[SOLVED] Slackware 14.2 glibc-2.23 vs Slackware Current glibc-2.24 and the Current 4.4.17 Kernel kjhambrick Slackware 10 08-13-2016 01:00 AM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
Slackware64 -current vs Slackware -current or Slackware onebuck Slackware 16 06-23-2009 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration