View previous topic :: View next topic |
Author |
Message |
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 10:08 am Post subject: New Laptop, can't find what wireless drivers I need |
|
|
I followed this: https://wiki.gentoo.org/wiki/Wifi and updated a bunch of kernel bits, but I'm not getting any wireless network showing up.
Relevant stuff:
Code: | # lspci
[...]
04:00.0 Network Controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
# lspci -n
[...]
04:00.0 0280: 8086:24fd (rev 78)
|
This doesn't show up on debian's list, what should I do to find out how to make this work? |
|
Back to top |
|
|
Blind_Sniper Guru
Joined: 20 Apr 2018 Posts: 340
|
Posted: Mon Apr 30, 2018 10:22 am Post subject: |
|
|
It should be iwl-8000
Try to run "lspci -k" for 8086:24fd module/driver name. |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 11:43 am Post subject: |
|
|
I don't see any iwl-8000 in menuconfig, even searching for it (and substrings) turned up nothing. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 12:30 pm Post subject: |
|
|
My kernel is 4.9.76-gentoo-r1, and I had already turned on iwlwifi in the kernel.
I've already installed sys-kernel/linux-firmware, but that was before I added the wifi drivers. Do I need to re-emerge it afterwards? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Mon Apr 30, 2018 12:42 pm Post subject: |
|
|
You can check dmesg if is a firmware problem dmesg | grep firmware _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 1:11 pm Post subject: |
|
|
Code: | # dmesg | grep firmware
[ 0.351156] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
[ 0.351164] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
[ 0.366779] [drm] GuC firmware load skipped
|
I don't think that's a firmware issue for the wifi stuff, but I should probably fix it as well. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Mon Apr 30, 2018 1:41 pm Post subject: |
|
|
Jaglover wrote: | https://cateee.net/lkddb/web-lkddb/WLAN_VENDOR_INTEL.html
Some versions of 24fd require kernel 4.15. |
You did not look at the web page I linked to, nor did you provide the subsystem ID so we could do it for you.
Jaglover wrote: | Look at your dmesg. |
You did not tell us whether there are any iwlwifi related errors. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 1:49 pm Post subject: |
|
|
"dmesg | grep iwlwifi" gives no output, as does "dmesg | grep iwl"
I don't *understand* the page you linked to.
Does this provide enough info for you to know what I need to do?
Code: | # lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
Subsystem: CLEVO/KAPOK Computer Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
Subsystem: CLEVO/KAPOK Computer Device 850a
Kernel driver in use: i915
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H USB 3.0 xHCI Controller
Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H Thermal subsystem
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H CSME HECI
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SATA Controller [AHCI mode]
Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H PMC
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
Subsystem: CLEVO/KAPOK Computer CM238 HD Audio Controller
Kernel driver in use: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SMBus
Kernel driver in use: i801_smbus
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
Subsystem: CLEVO/KAPOK Computer GP107M [GeForce GTX 1050 Mobile]
Kernel driver in use: nvidia
Kernel modules: nvidia_drm, nvidia
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
Subsystem: CLEVO/KAPOK Computer RTL8411B PCI Express Card Reader
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Kernel driver in use: r8169
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
Subsystem: Intel Corporation Dual Band Wireless-AC 8265
# lspci -n
00:00.0 0600: 8086:5910 (rev 05)
00:01.0 0604: 8086:1901 (rev 05)
00:02.0 0300: 8086:591b (rev 04)
00:14.0 0c03: 8086:a12f (rev 31)
00:14.2 1180: 8086:a131 (rev 31)
00:16.0 0780: 8086:a13a (rev 31)
00:17.0 0106: 8086:a103 (rev 31)
00:1c.0 0604: 8086:a110 (rev f1)
00:1c.4 0604: 8086:a114 (rev f1)
00:1c.6 0604: 8086:a116 (rev f1)
00:1f.0 0601: 8086:a152 (rev 31)
00:1f.2 0580: 8086:a121 (rev 31)
00:1f.3 0403: 8086:a171 (rev 31)
00:1f.4 0c05: 8086:a123 (rev 31)
01:00.0 0302: 10de:1c8d (rev a1)
03:00.0 ff00: 10ec:5287 (rev 01)
03:00.1 0200: 10ec:8168 (rev 12)
04:00.0 0280: 8086:24fd (rev 78)
|
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Mon Apr 30, 2018 2:05 pm Post subject: |
|
|
Code: | 03:00.0 Network controller [0280]: Intel Corporation Centrino Ultimate-N 6300 [8086:4238] (rev 35)
Subsystem: Intel Corporation Centrino Ultimate-N 6300 3x3 AGN [8086:1111]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
|
Example. The device is 8086:4238, subsytem is 8086:1111, when I go to the page I linked to I can see my card requires kernel 4.5 or newer. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Mon Apr 30, 2018 2:25 pm Post subject: |
|
|
Probably,as Jaglover say, you need kernel 4.12 or 4.15 depend on subsystem because other subsystem works with kernel <=4.9 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 2:30 pm Post subject: |
|
|
Am I getting massively confused because I keep thinking that 4.9>4.15? |
|
Back to top |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
Posted: Mon Apr 30, 2018 2:38 pm Post subject: |
|
|
No 9<15. |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 3:12 pm Post subject: |
|
|
P.Kosunen wrote: | No 9<15. |
Only for version numbering. And now I get to have the <s>fun</s> of finding out why the kernel I need is masked for amd64 processors... |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Mon Apr 30, 2018 3:43 pm Post subject: |
|
|
Because in gentoo is maked stable only LTS kernel.
For 4.14 mainline there is a bug (but not all encounter this bug) and is yet masked _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 5:33 pm Post subject: |
|
|
Got all that done, new kernel is sitting in /boot with everything set up, and grub is refusing to use it.
I tried removing the EFI stuff from my boot partition, and now it's refusing to boot at all.
I'm going to go back to the liveCD, chroot back in, re-install grub from scratch, and see how that goes.
---
Edit:
Well, I have kernel 4.16.2 booting (latest when I last synced, I guess), but I'm getting a kernel panic.
How do I get any form of useful information to fix this?
Last edited by Illiander on Mon Apr 30, 2018 6:23 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Mon Apr 30, 2018 6:18 pm Post subject: |
|
|
Illiander wrote: | Got all that done, new kernel is sitting in /boot with everything set up, and grub is refusing to use it. |
You runned grub-mkconfig? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Mon Apr 30, 2018 6:26 pm Post subject: |
|
|
fedeliallalinea wrote: | Illiander wrote: | Got all that done, new kernel is sitting in /boot with everything set up, and grub is refusing to use it. |
You runned grub-mkconfig? |
Yes... First thing I did.
Turns out I have a bunch of UEFI/secure boot nonsense messing things up. But I can make it boot using efibootmgr, skipping grub completely somehow.
Maybe that's why I'm getting the kernel panic? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21602
|
Posted: Tue May 01, 2018 2:03 am Post subject: |
|
|
The kernel panic message should tell you why you are getting a kernel panic. It may require some interpretation, but it should be more helpful than the Windows standard of "Something went wrong." If you need help interpreting it, post the last 15-20 lines of kernel panic text. |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Tue May 01, 2018 9:10 am Post subject: |
|
|
Probably most relevant line of the kernel panic:
Code: | vfs: unable to mount root fs on unknown block (0,0) |
Went and found https://wiki.gentoo.org/wiki/Knowledge_Base:Unable_to_mount_root_fs
I'm assuming that the issue is:
Quote: | The panic informs that the Linux kernel is unable to:
Detect the controller for the hard disk (a likely candidate if the message says unknown-block(0,0));
Ensure that the controller chipset has been configured in the Linux kernel (and in-kernel, not as a module); |
Is there an easy way to get the appropriate bits to build into the kernel, or is it going to be trial and error? |
|
Back to top |
|
|
Blind_Sniper Guru
Joined: 20 Apr 2018 Posts: 340
|
Posted: Tue May 01, 2018 10:02 am Post subject: |
|
|
Your kernel lacks of sata controller driver, or it built as a separate module, when it should be built-in
Boot in any previous kernel (or live system) which works for you (without kernel panic) and run "lspci -k" command. Check a "kernel driver in use" for SATA controller - it's a driver you need. Then reconfigure your new kernel so it would include that driver and recompile it. It should be configured as built-in <*>, not just as module <M>. |
|
Back to top |
|
|
Illiander Apprentice
Joined: 22 Feb 2011 Posts: 252
|
Posted: Tue May 01, 2018 12:58 pm Post subject: |
|
|
This seems to be the relevant bit of info, but when I went and looked in device-drivers I couldn't find anything that looked like it was relevant that wasn't already built-in.
Code: | # lspci -k
[...]
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SATA Controller [AHCI mode]
Kernel driver in use: ahci
Kernel modules: ahci
[...]
|
Menuconfig search for "ahci" didn't give me anything useful (as far as I could tell) either.
I tried turning on a few more options, but that didn't help, I need a more "aimed" way to find what I need to turn on. |
|
Back to top |
|
|
|