Forum › Forums › News › Announcements › “spectre” and “meltdown” – security kernel upgrades
- This topic has 62 replies, 16 voices, and was last updated Apr 16-8:00 am by Fonsis.
-
AuthorPosts
-
January 16, 2018 at 9:44 pm #5379
Anonymous
::I don’t know if there are differences in the kernels down deep, or what patches have been applied.a (long, exhaustively detailed) human-readable plaintext file config-blahblah-version-blah accompanies each kernel installed on a system.
/boot/config-*To compare (diff) side-by-side, it might be helpful (or downright necessary) to create copies…
and sort-in-place their lines before opening them in meld (or kdiff3-qt, or whatever app)patchesAFAIK, we end users cannot see “list of patches”.
That “list” would only make sense if the reader reviewed the source code, and knew which (mainline kernel? debian-issued kernel? other?) to compare.
Although I intended to link to deb-src packages here, they are absent (or I’m looking in the wrong place)January 16, 2018 at 11:37 pm #5383Moderator
caprea
::entrpyphoe, you know I have a antixsystem running with the 4.14.12-kernel and the nvidia-driver 384.111
But didn’t do this the total normal way.
Firstly its with testing repo, secondly the nvidia-driver is downloaded directly from nvidia and istalled manually.That of course does not fit with your concern, going the safest and most stable way.
On the box with the nvidia-card I have a small Testpartion with antix17.The repo is stable and the nvidiadriver was installed with ddm-mx,the graphics-driver-installer in control-centre.
I havent used it a while and I anyway want to install a melton-patched kernel.
I will boot it up the next days and look what it tells me about the 4.14.12On the other hand,times are changing fast and this was only the first decade of patched kernels plus you have anyway a amd-cpu.
Patched kernels and the new nvidia-driver,also security-hardened, found their way very fast into the stable and backports repo
Maybe its not the worst to give it time . No spectre-fix until now and only this apperently affects amd.
Certainly we will install kernels some more times the next month and it must be frustrating for the kernel-developers to have to spend their time with this ugly story.- This reply was modified 5 years, 3 months ago by caprea.
January 17, 2018 at 8:47 am #5413Member
meurglys
::$ inxi -Fxz
System: Host: ma3a Kernel: 4.14.12-antix.1-686-smp-pae i686 bits: 32 gcc: 6.3.0
Desktop: IceWM 1.4.2 Distro: antiX-17_386-full Heather Heyer 24 October 2017
Machine: Device: laptop System: LENOVO. product: 27463XU v: ThinkPad SL500 serial: N/A
Mobo: LENOVO model: BOXSTER v: LENOVO 6AET41WW serial: N/A
BIOS: LENOVO v: 6AET41WW date: 07/10/2008
Battery BAT0: charge: 39.9 Wh 95.1% condition: 41.9/51.8 Wh (81%)
model: ASUSTEK IBM-42T5233 status: Charging
CPU: Dual core Intel Core2 Duo T5670 (-MCP-) arch: Conroe rev.13 cache: 2048 KB
flags: (lm nx pae sse sse2 sse3 ssse3) bmips: 7182
clock speeds: max: 1801 MHz 1: 1801 MHz 2: 1801 MHz
Graphics: Card: Intel Mobile 4 Series Integrated Graphics Controller bus-ID: 00:02.0
Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1280×800@60.01hz
OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express x86/MMX/SSE2
version: 2.1 Mesa 13.0.6 Direct Render: Yes
Audio: Card Intel 82801I (ICH9 Family) HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.14.12-antix.1-686-smp-pae
Network: Card-1: Intel PRO/Wireless 5100 AGN [Shiloh] Network Connection
driver: iwlwifi bus-ID: 02:00.0
IF: wlan0 state: up mac: <filter>
Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e800 bus-ID: 0c:00.0
IF: eth0 state: down mac: <filter>
Drives: HDD Total Size: 250.1GB (52.4% used)
ID-1: /dev/sda model: FUJITSU_MHZ2250B size: 250.1GB
Partition: ID-1: / size: 227G used: 121G (56%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors: System Temperatures: cpu: 72.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 135 Uptime: 16:02 Memory: 446.9/1982.0MB
Init: SysVinit runlevel: 5 Gcc sys: 6.3.0
Client: Shell (bash 4.4.121) inxi: 2.3.54No issues in running the newer kernel.
January 17, 2018 at 10:34 pm #5430Moderator
caprea
::entrpyphoe
this is what I have now and works$ inxi -zv7 System: Host: antix1 Kernel: 4.14.12-antix.1-amd64-smp x86_64 bits: 64 gcc: 6.3.0 Desktop: IceWM 1.4.2 dm: slim Distro: antiX-17_x64-full Heather Heyer 24 October 2017 Machine: Device: desktop Mobo: Gigabyte model: B85M-HD3 v: x.x serial: N/A BIOS: American Megatrends v: F12 date: 08/13/2015 CPU: Quad core Intel Core i5-4430 (-MCP-) arch: Haswell rev.3 cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 23947 clock speeds: min/max: 800/3001 MHz 1: 800 MHz 2: 1300 MHz 3: 2100 MHz 4: 1700 MHz Memory: Using dmidecode: root required for dmidecode Graphics: Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0 chip-ID: 8086:0412 Card-2: NVIDIA GM206 [GeForce GTX 960] bus-ID: 01:00.0 chip-ID: 10de:1401 Display Server: X.Org 1.19.2 driver: nvidia Resolution: 1920x1080@60.00hz OpenGL: renderer: GeForce GTX 960/PCIe/SSE2 version: 4.5.0 NVIDIA 375.82 Direct Render: Yes Audio: Card-1 Intel 8 Series/C220 Series High Def. Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:8c20 Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0 chip-ID: 8086:0c0c Card-3 NVIDIA Device 0fba driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:0fba Sound: Advanced Linux Sound Architecture v: k4.14.12-antix.1-amd64-smp Network: Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168 IF: eth0 state: down mac: <filter> Card-2: Qualcomm Atheros AR93xx Wireless Network Adapter driver: ath9k bus-ID: 06:00.0 chip-ID: 168c:0030 IF: wlan0 state: up mac: <filter> WAN IP: <filter> IF: eth0 ip-v4: N/A ip-v6-link: N/A IF: wlan0 ip-v4: <filter> ip-v6-link: <filter> Drives: HDD Total Size: 1256.3GB (0.4% used) ID-1: /dev/sda model: TS256GSSD370 size: 256.1GB serial: <filter> ID-2: /dev/sdb model: ST1000DM003 size: 1000.2GB serial: <filter> Optical-1: /dev/sr0 model: PIOR BD-RW BDR-209M rev: 1.10 dev-links: cdrom Features: speed: 125x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running Partition: ID-1: / size: 29G used: 4.9G (19%) fs: ext4 dev: /dev/sda4 label: rootantiXNEU uuid: 7d548176-65f3-4d5a-944f-f619cbdf6e0e RAID: No RAID data /proc/mdstat missing-is md_mod kernel module loaded? Unmounted: ID-1: /dev/sda1 size: 67.04G label: rootantiX-16 uuid: 46eecfd9-920d-45aa-adff-2acb37433a74 ID-2: /dev/sda2 size: 116.51G label: Antix/home uuid: c4ce1a74-121a-4bfd-b25f-82008d41c5ef ID-3: /dev/sda3 size: 35.76G label: ANTIXroot uuid: 4e2bb1a0-f2ad-4b2c-8853-f823d9f83ed6 ID-4: /dev/sdb1 size: 984.20G label: DATEN uuid: 317e7069-048f-4e4d-b770-1b6d883f6aa5 Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:30C Fan Speeds (in rpm): cpu: N/A Info: Processes: 151 Uptime: 27 min Memory: 590.6/7864.3MB Init: SysVinit v: 2.88 runlevel: 5 default: 5 Gcc sys: 6.3.0 Client: Shell (bash 4.4.121 running in lxterminal) inxi: 2.3.54 helga@antix1:~ $Normal stable repo
$ inxi -r Repos: Active apt sources in file: /etc/apt/sources.list.d/antix.list deb http://repo.antixlinux.com/stretch/ stretch main nosystemd Active apt sources in file: /etc/apt/sources.list.d/debian-stable-updates.list deb http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free Active apt sources in file: /etc/apt/sources.list.d/debian.list deb http://ftp.de.debian.org/debian/ stretch main contrib non-free deb http://security.debian.org/ stretch/updates main contrib non-free Active apt sources in file: /etc/apt/sources.list.d/various.list deb http://download.virtualbox.org/virtualbox/debian/ stretch contribWhat I did:
Installed libelf-dev
I dont think this is nessecary.My first aim was to install the 384.111 nvidia-driver with dd-mx, but this ended with a lot of depency errors, not only libelf-dev.
The 384.111 nvidia-dkms from debian has a depency for libelf-dev, but the 375.82 hasn’t. So I think its not requierd, but will do no harm if you do it.Opened dd-mx in control-centre which offered
Führe jetzt /usr/local/bin/ddm-mx -i nvidia aus. Dieser Befehl benötigt die Privilegien von root, um ausgeführt zu werden. Verwende su ... Geben Sie das Passwort von root ein. Passwort: creating lock ... =================================== Install drivers for: nvidia Start at (m/d/y): 01/18/2018 05:20:37 =================================== Candidate is: 375.82-9~bpo9+1 Installed is: 375.82-9~bpo9+1I choosed quit and exited dd-mx here,bc 375.82-9~bpo9+1 is already the latest one.
Maybe this is the reason why it didnt work for you, you have an earlier version.In your last post here it was 375.82-4~bpo9+1Then I installed the 4.14.12-kernel and headers via synaptic update grub and so on and there was no error.Neither for broadcom-sta-dkms, ndiswrapper or virtualbox
$ dkms status broadcom-sta, 6.30.223.271, 4.10.5-antix.3-amd64-smp, x86_64: installed broadcom-sta, 6.30.223.271, 4.14.12-antix.1-amd64-smp, x86_64: installed broadcom-sta, 6.30.223.271, 4.14.2-antix.1-amd64-smp, x86_64: installed broadcom-sta, 6.30.223.271, 4.9.75-antix.2-amd64-smp, x86_64: installed ndiswrapper, 1.61, 4.10.5-antix.3-amd64-smp, x86_64: installed ndiswrapper, 1.61, 4.14.12-antix.1-amd64-smp, x86_64: installed ndiswrapper, 1.61, 4.14.2-antix.1-amd64-smp, x86_64: installed ndiswrapper, 1.61, 4.9.75-antix.2-amd64-smp, x86_64: installed nvidia-current, 375.82, 4.10.5-antix.3-amd64-smp, x86_64: installed nvidia-current, 375.82, 4.14.12-antix.1-amd64-smp, x86_64: installed nvidia-current, 375.82, 4.14.2-antix.1-amd64-smp, x86_64: installed nvidia-current, 375.82, 4.9.75-antix.2-amd64-smp, x86_64: installed nvidia-legacy-340xx, 340.104, 4.10.5-antix.3-amd64-smp, x86_64: installed nvidia-legacy-340xx, 340.104, 4.14.12-antix.1-amd64-smp, x86_64: installed nvidia-legacy-340xx, 340.104, 4.14.2-antix.1-amd64-smp, x86_64: installed nvidia-legacy-340xx, 340.104, 4.9.75-antix.2-amd64-smp, x86_64: installed virtualbox-guest, 5.2.4, 4.10.5-antix.3-amd64-smp, x86_64: installed virtualbox-guest, 5.2.4, 4.14.12-antix.1-amd64-smp, x86_64: installed virtualbox-guest, 5.2.4, 4.14.2-antix.1-amd64-smp, x86_64: installed virtualbox-guest, 5.2.4, 4.9.75-antix.2-amd64-smp, x86_64: installedSo my advice for you is:
Enable the mx-repo, not the test,the normal one.
https://mxlinux.org/wiki/system/repos-mx-17deb http://mxrepo.com/mx/repo/ stretch main non-free
Update the system, only update not upgradeIf you do this the first time on your system you maybe get the Public key not available error
Then look here http://www.mepis.org/docs/en/index.php?title=Public_key_not_available_errorRun the nvidia-graphic-installer from control-centre again and see if it offers you to update.It should normally.
Look also for backports,importand because of the depencies
Dont choose the 384.111You dont have to reinstall the antix-kernels again, the nvidia-dkms will (should) build automatically against your installed kernels.
Why shouldn’t this work on your box ?Dont forget to disable mx-repo afterwards
One last edit:For to make sure what I’m telling you here I tried the whole thing on an fresh installation.The patched 4.9.75-kernel in which I booted for the nvidia-driver installation, worked out of the box with the new driver.I had to reboot into the 4.9,75 and then reinstall the old 4.10.5 and the new 4.14.12-kernel and their suitable headers with synaptic.update-grub. Then they worked, too.It is not nessecary to install libelf-dev.
Edit: The forum security software was triggered by this post, bc of data followed by colone, someone mentioned this already
- This reply was modified 5 years, 3 months ago by caprea.
- This reply was modified 5 years, 3 months ago by caprea.
- This reply was modified 5 years, 3 months ago by caprea.
January 23, 2018 at 5:47 pm #5779Anonymous
::New 4.14.14 kernel works without problems on this old relic.
@dell-optiplex-320:~ $ inxi -Fxz System: Host: dell-optiplex-320 Kernel: 4.14.14-antix.1-amd64-smp x86_64 bits: 64 gcc: 6.3.0 Desktop: IceWM 1.4.2 Distro: antiX-17_x64-base Heather Heyer 24 October 2017 Machine: Device: desktop System: Dell product: OptiPlex 320 serial: N/A Mobo: Dell model: 0TY915 serial: N/A BIOS: Dell v: 1.1.12 date: 06/17/2009 CPU: Dual core Intel Pentium D (-MCP-) arch: Netburst Prescott rev.4 cache: 2048 KB flags: (lm nx sse sse2 sse3 vmx) bmips: 13600 clock speeds: max: 3400 MHz 1: 3400 MHz 2: 3400 MHz Graphics: Card: Advanced Micro Devices [AMD/ATI] RV516 [Radeon X1300/X1550 Series] bus-ID: 01:00.0 Display Server: X.Org 1.19.2 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa) Resolution: 1280x720@60.00hz OpenGL: renderer: Gallium 0.4 on ATI RV515 version: 2.1 Mesa 13.0.6 Direct Render: Yes Audio: Card Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel bus-ID: 00:14.2 Sound: Advanced Linux Sound Architecture v: k4.14.14-antix.1-amd64-smp Network: Card: Broadcom Limited BCM4401-B0 100Base-TX driver: b44 v: 2.0 bus-ID: 02:09.0 IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> Drives: HDD Total Size: 40.0GB (14.4% used) ID-1: /dev/sda model: WDC_WD400JB size: 40.0GB Partition: ID-1: / size: 35G used: 3.5G (11%) fs: ext4 dev: /dev/sda1 ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2 Sensors: None detected - is lm-sensors installed and configured? Info: Processes: 115 Uptime: 23 min Memory: 500.9/1994.8MB Init: SysVinit runlevel: 5 Gcc sys: 6.3.0 Client: Shell (bash 4.4.121) inxi: 2.3.54 @dell-optiplex-320:~February 4, 2018 at 6:22 pm #6136Member
entropyfoe
::caprea, you listed those kernels, all with working nvidia
nvidia-current, 375.82, 4.10.5-antix.3-amd64-smp, x86_64: installed
nvidia-current, 375.82, 4.14.12-antix.1-amd64-smp, x86_64: installed
nvidia-current, 375.82, 4.14.2-antix.1-amd64-smp, x86_64: installed
nvidia-current, 375.82, 4.9.75-antix.2-amd64-smp, x86_64: installedMy question for anticapitalista and you, is that 4.9.75 kernel spectre/meltdown fised/hardened?
Asus Prime 370X-Pro
AMD Ryzen 1600X (6 cores @ 3.6 GHz)
16 Gig DDR4 3200 (G Skill)
Nvidia -MSI GeForce GT 710 fanless
Samsung 960 NVMe SSD nvme0n1 P1,P2, and P3=MX-18, P4=antiX-19 beta
2TB WD sda1= data
on-board ethernet &and soundFebruary 5, 2018 at 5:23 pm #6169Moderator
caprea
::No, it isnt. I was first wondering, why is he asking this again ? It was already mentioned on mx-forum.
But then I saw, I myself have described it wrong in the above topic in the last sentences.
And even in package-installer there’s a Libre antix Kernel 64bit(4.9.75) mentioned as a meltdown-patched.
This is a typo I think. So its no wonder you are confused.
Patched kernels
https://www.antixforum.com/spectre-and-meltdown-security-kernel-upgrades/If I were in your place with this recent hardware I would give the 4.14.14 a try.
But with a nvidia-card, you have to use the appropriate nvidia-driver,which means version 375.829-mx17+1
You can look in synaptic typing nvidia, if you have.It’s neccesary for 4.14-kernels.The post above is already outdated.The 375.82-9mx17+1 is now in the antix-repos and you dont have to enable the mx-repo anymore to install it.
First try the “sudo dpkg-reconfigure nvidia-kernel-dkms” command,if it doesn’t catch your kernels,boot into a working kernel and so on.
Good luck!- This reply was modified 5 years, 3 months ago by caprea.
February 9, 2018 at 5:33 am #6372Anonymous
::Just installed new 4.15.0 kernel using Synaptic Package Manager and all is working well.
$ inxi -Fxz System: Host: dell-optiplex-360 Kernel: 4.15.0-antix.1-amd64-smp x86_64 bits: 64 gcc: 6.3.0 Desktop: IceWM 1.4.2 Distro: antiX-17_x64-full Heather Heyer 24 October 2017 Machine: Device: desktop System: Dell product: OptiPlex 360 serial: N/A Mobo: Dell model: 0T656F v: A02 serial: N/A BIOS: Dell v: A06 date: 08/04/2011 CPU: Dual core Intel Core2 Duo E7500 (-MCP-) arch: Penryn rev.10 cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 11703 clock speeds: max: 2933 MHz 1: 2334 MHz 2: 2454 MHz Graphics: Card: Advanced Micro Devices [AMD/ATI] RV710 [Radeon HD 4550] bus-ID: 01:00.0 Display Server: X.Org 1.19.2 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa) Resolution: 1280x720@60.00hz OpenGL: renderer: Gallium 0.4 on AMD RV710 (DRM 2.50.0 / 4.15.0-antix.1-amd64-smp, LLVM 3.9.1) version: 3.3 Mesa 13.0.6 Direct Render: Yes Audio: Card-1 Advanced Micro Devices [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series] driver: snd_hda_intel bus-ID: 01:00.1 Card-2 Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 Sound: Advanced Linux Sound Architecture v: k4.15.0-antix.1-amd64-smp Network: Card: Broadcom Limited NetLink BCM5784M Gigabit Ethernet PCIe driver: tg3 v: 3.137 bus-ID: 02:00.0 IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> Drives: HDD Total Size: 160.0GB (5.2% used) ID-1: /dev/sda model: Hitachi_HTS54321 size: 160.0GB Partition: ID-1: / size: 144G used: 5.9G (5%) fs: ext4 dev: /dev/sda1 ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2 Sensors: System Temperatures: cpu: 42.0C mobo: N/A gpu: 44.5 Fan Speeds (in rpm): cpu: N/A Info: Processes: 122 Uptime: 12 min Memory: 469.6/3882.3MB Init: SysVinit runlevel: 5 Gcc sys: 6.3.0 Client: Shell (bash 4.4.121) inxi: 2.3.54February 14, 2018 at 8:33 am #6554Member
sleekmason
::Howdy, Installed new kernel 4.14.14 and the module for broadcom-sta will not build!
Building initial module for 4.14.14-antix.1-amd64-smp Error! Bad return status for module build on kernel: 4.14.14-antix.1-amd64-smp (x86_64) Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.here is the dkms log:
DKMS make.log for broadcom-sta-6.30.223.271 for kernel 4.14.14-antix.1-amd64-smp (x86_64) Wed Feb 14 09:23:34 CST 2018 /bin/sh: 1: [: Illegal number: /bin/sh: 1: [: Illegal number: Wireless Extension is the only possible API for this kernel version Using Wireless Extension API KBUILD_NOPEDANTIC=1 make -C /lib/modules/4.14.14-antix.1-amd64-smp/build M=<code>pwd</code> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/usr/src/linux-headers-4.14.14-antix.1-amd64-smp' CFG80211 API is prefered for this kernel version Using CFG80211 API Kernel architecture is X86_64 AR /var/lib/dkms/broadcom-sta/6.30.223.271/build/built-in.o CC [M] /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.o /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c: In function ‘osl_os_get_image_block’: /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:1083:26: warning: passing argument 2 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion] rdlen = kernel_read(fp, fp->f_pos, buf, len); ^~ In file included from ./include/linux/huge_mm.h:7:0, from ./include/linux/mm.h:453, from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:65, from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:25: ./include/linux/fs.h:2823:16: note: expected ‘void *’ but argument is of type ‘loff_t {aka long long int}’ extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); ^~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:1083:37: warning: passing argument 3 of ‘kernel_read’ makes integer from pointer without a cast [-Wint-conversion] rdlen = kernel_read(fp, fp->f_pos, buf, len); ^~~ In file included from ./include/linux/huge_mm.h:7:0, from ./include/linux/mm.h:453, from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:65, from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:25: ./include/linux/fs.h:2823:16: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘char *’ extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); ^~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:1083:42: warning: passing argument 4 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion] rdlen = kernel_read(fp, fp->f_pos, buf, len); ^~~ In file included from ./include/linux/huge_mm.h:7:0, from ./include/linux/mm.h:453, from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:65, from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.c:25: ./include/linux/fs.h:2823:16: note: expected ‘loff_t * {aka long long int *}’ but argument is of type ‘int’ extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); ^~~~~~~~~~~ CC [M] /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’: /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:774:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ((val & 0x0000ff00) != 0) ^~ /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:776:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ bar1_size = pci_resource_len(pdev, 2); ^~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_monitor’: /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:2915:10: error: ‘struct net_device’ has no member named ‘last_rx’ skb->dev->last_rx = jiffies; ^~ scripts/Makefile.build:314: recipe for target '/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o' failed make[2]: *** [/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o] Error 1 Makefile:1518: recipe for target '_module_/var/lib/dkms/broadcom-sta/6.30.223.271/build' failed make[1]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.271/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.14.14-antix.1-amd64-smp' Makefile:177: recipe for target 'all' failed make: *** [all] Error 2Tried rebuilding using:
for i in $(dpkg-query -l |grep "\-dkms" |awk '{print $2'}); do dpkg-reconfigure $i |tee -a /var/log/rebuild-dkms.log; doneGuess I need a bit of help please:)
February 14, 2018 at 9:46 am #6555Moderator
caprea
February 14, 2018 at 10:37 am #6556Member
sleekmason
February 14, 2018 at 2:36 pm #6561Member
sleekmason
::Well, Disregard. In the process of trying to figure the problem out, I lost the Broadcom module for my current kernel. I reinstalled the system. If somebody still has the quick answer, would love to hear it in case of future difficulties. Thanks again!
February 14, 2018 at 3:01 pm #6562Member
sleekmason
::AHHHHHHRRRGGG! Okay, did it again. same problem.
reinstalled amd64 to testing
did a dist-upgrade
installed 4.14.14 headers and image.
Same problem.
Said in the initial error log to install elf-dev < did that.
Tried:
for i in $(dpkg-query -l |grep "\-dkms" |awk '{print $2'}); do dpkg-reconfigure $i |tee -a /var/log/rebuild-dkms.log; done
afterwards and receive same error message as my op.
Am I missing something obvious?February 14, 2018 at 3:11 pm #6563Forum Admin
anticapitalista
::Install libc6-dev as well as libelf-dev.
You might also need a newer version of broadcom-sta-dkms (I just noticed that it is not in Debian testing repo)
I have built newer versions that are waiting to be added to the antiX repo.
- This reply was modified 5 years, 2 months ago by anticapitalista.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 14, 2018 at 3:15 pm #6564Member
sleekmason
-
AuthorPosts
- You must be logged in to reply to this topic.