Dell wifi interface not showing after loading module

Kernels & Hardware, configuring network, installing services

Re: Dell wifi interface not showing after loading module

Postby Dylanus » 2018-12-01 00:26

Here's my inxi output: http://paste.debian.net/1053945/
I have wifi working now. The debian package worked.
There are still a few bugs to fix. Can you tell me based on this output if I need any other drivers installed?
There's a stop job when I reboot that times out after 1:30. It's actually 17 jobs, none of which seem to stop, and it fails and then moves on. It would be nice to make that stop happening.
The wifi also doesn't start automatically. I have to kill wpa_supplicant and start it again. It's working now though, so thank you all very much for your help.
Dylanus
 
Posts: 20
Joined: 2018-11-29 18:55

Re: Dell wifi interface not showing after loading module

Postby Head_on_a_Stick » 2018-12-01 11:16

Dylanus wrote:There's a stop job when I reboot that times out after 1:30. It's actually 17 jobs, none of which seem to stop, and it fails and then moves on. It would be nice to make that stop happening.

You can reduce the timeout by setting DefaultTimeoutStopSec= in /etc/systemd/system.conf

Make the journal persistent by creating /var/log/journal, reboot then check the logs:
Code: Select all
journalctl -b -1 -r

^ That shows the log from the last boot in reverse order, the user needs to be in the systemd-journal group (or root) to read the logs.

The wifi also doesn't start automatically. I have to kill wpa_supplicant and start it again.

How exactly are you killing and restarting wpa_supplicant?

Are any units failing at boot?
Code: Select all
systemctl --failed --no-p
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8324
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Dell wifi interface not showing after loading module

Postby Dylanus » 2018-12-01 11:48

The stop job issue hasn't happened again. It does still show a failed message for some login thing, but it doesn't wait.
I tried pasting journal output, but the URL I got back was just paste.debian.net. It only does that for this file and I can't figure out why. Is there a tool I can use aside from pastebinit? Debian doesn't seem to have wgetpaste.
A glance through seems to show that most of the issues are to do with the Nvidia driver. Is there a .deb package for that?
The only failed result from systemctl is loading encrypted swap, which shows up in the output when I'm booting as well. Weird, because /proc/swaps shows that a swap partition is in use. Not sure why it thinks there's a problem.
When I boot, wifi is not connected. I have to run
Code: Select all
sudo killall wpa_supplicant
followed by
Code: Select all
sudo wpa_supplicant -B -i wlp3s0 -c /etc/wpa_supplicant/wpa_supplicant.conf; sudo dhcpcd
. Somehow when it initialises wpa_supplicant it does it wrong. I can probably solve that problem on my own. The driver issue is more challenging. I'll see if I can find another way to paste the journal output tomorrow so you can see what errors I'm getting.
Dylanus
 
Posts: 20
Joined: 2018-11-29 18:55

Re: Dell wifi interface not showing after loading module

Postby Head_on_a_Stick » 2018-12-01 11:55

Dylanus wrote:Is there a tool I can use aside from pastebinit?

https://packages.debian.org/stretch/pnopaste-cli
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8324
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Dell wifi interface not showing after loading module

Postby Dylanus » 2018-12-01 12:02

How does that tool work? I installed it, but I can't figure out what command to run it with.
Dylanus
 
Posts: 20
Joined: 2018-11-29 18:55

Re: Dell wifi interface not showing after loading module

Postby Dylanus » 2018-12-01 12:18

Didn't realise it stood for Perl nopaste.
I had to break it up into three files, as there appears to be a 700 line limit.
https://nopaste.linux-dev.org/?1189730
https://nopaste.linux-dev.org/?1189731
https://nopaste.linux-dev.org/?1189732

Hope that helps.
Thanks
Dylanus
 
Posts: 20
Joined: 2018-11-29 18:55

Re: Dell wifi interface not showing after loading module

Postby Head_on_a_Stick » 2018-12-01 13:32

You have a failure from cryptsetup, put the exact errors in a search engine to pursue that further.

There are also several stack traces from the kernel and sddm, have you tried GNOME or stevepusser's backported siduction kernel?
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8324
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Dell wifi interface not showing after loading module

Postby stevepusser » 2018-12-01 18:58

Inxi output is fairly short, just past it here and put code tags around it. The pastebin looks like it messed up the formatting, could you just do that with the output of "inxi -G"? It looks like both video cards are trying to handle the 3D rendering at one time, which is odd. If the first output with "Gallium" is for your Intel CPU, that means that Mesa is too old--I got the same thing with my Intel Coffee Lake UHD 630 GPU, which I think you also have, so it's expected.

BTW, I put the backported upstream Debian 4.19.5 kernel in my OBS new-hardware repo instead of the Siduction one. After waiting so long for it to appear, it was available right after I did the Siduction. Testers say it works well, despite a lot of firmware warnings for AMD GPU users*, so we're going to test the MX 18 beta with it included.

* Which may be solved with a newer set of firmware packages I did...
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10282
Joined: 2009-10-06 05:53

Re: Dell wifi interface not showing after loading module

Postby Dylanus » 2018-12-02 02:12

I got the wifi working properly at boot time. Just had to configure /etc/network/interfaces. The swap issue just seems to be that it is being mounted and then the system tries to mount it again for some reason. It's all working, so I don't think I'll worry about that issue. I might try creating encrypted swap myself at some point.
I do want to get the drivers sorted out, as that should make a lot of the errors go away.
The output of inxi -G is:
Code: Select all
Graphics:  Card-1: Intel Device 3ea0
           Card-2: NVIDIA Device 1d10
           Display Server: X.Org 1.19.2 drivers: modesetting,nouveau (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits) GLX Version: 3.0 Mesa 13.0.6


Stevepusser, how do I get your kernel? Can you give me a link to your repo? And is that the only thing I'll need to ensure the right drivers are installed?
Thanks
Dylanus
 
Posts: 20
Joined: 2018-11-29 18:55

Re: Dell wifi interface not showing after loading module

Postby stevepusser » 2018-12-02 16:05

OK, now just the Intel card is showing rendering, which is the software-based Gallium instead of the Mesa Dri hardware-accelerated rendering that we want, so you do need the new Mesa. To add and use my repo:

As root (sudo users can become root with "sudo su"), copy and paste the whole command from the code block:

add the repo

Code: Select all
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser:/new-hardware-support/Debian_9.0/ /' > /etc/apt/sources.list.d/home:stevenpusser:new-hardware-support.list


download and install the repo key
Code: Select all
rm -f Release.key && wget -nv https://download.opensuse.org/repositories/home:stevenpusser:new-hardware-support/Debian_9.0/Release.key -O Release.key && apt-key add - < Release.key && rm Release.key


update package database
Code: Select all
apt update


Updates from the repository are now available to your system. To see them, run

Code: Select all
apt list --upgradeable


You're interested in the Mesa-related packages, currently at 18.1.9, which will also bring in some other packages when you upgrade them, which is normal. You don't need to upgrade your kernel if you already have the backports version. If you want to upgrade everything from my repo, that should be safe.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10282
Joined: 2009-10-06 05:53

Re: Dell wifi interface not showing after loading module

Postby Dylanus » 2018-12-02 20:37

Thanks for that. When I ran
Code: Select all
apt list --upgradeable
nothing was listed, but this is the output of running
Code: Select all
apt-get upgrade
:
Code: Select all
The following packages have been kept back:                                                                                         
  libdrm-amdgpu1 libdrm2 libegl1-mesa libgbm1 libgl1-mesa-dri libgl1-mesa-glx                                                       
  libglapi-mesa libgles2-mesa libwayland-egl1-mesa libxatracker2 linux-image-amd64                                                   
  mesa-va-drivers mesa-vdpau-drivers                                                                                                 
The following packages will be upgraded:                                                                                             
  firmware-atheros firmware-iwlwifi libdrm-intel1 libdrm-nouveau2 libdrm-radeon1                                                     
  libwayland-client0 libwayland-cursor0 libwayland-server0 linux-libc-dev                                                           
  va-driver-all xserver-xorg-video-amdgpu xserver-xorg-video-ati                                                                     
  xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-radeon
15 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

When I ran
Code: Select all
apt-get --with-new-pkgs upgrade
, it gave me this output:
Code: Select all
apt-get --with-new-pkgs upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libllvm3.9 libtxc-dxtn-s2tc
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  libdrm-common libegl-mesa0 libegl1 libgl1 libgles2 libglvnd0 libglx-mesa0 libglx0
  libllvm6.0 libva2 libwayland-egl1 linux-image-4.18.0-2-amd64
The following packages will be upgraded:
  libdrm-amdgpu1 libdrm2 libegl1-mesa libgbm1 libgl1-mesa-dri libgl1-mesa-glx
  libglapi-mesa libgles2-mesa libwayland-egl1-mesa libxatracker2 linux-image-amd64
  mesa-va-drivers mesa-vdpau-drivers
13 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.

That doesn't seem like a big problem to me, although I'll find out when I reboot. Is this likely to be a problem?
I'll reboot in a few minutes when it finishes and let you know how it goes.
Dylanus
 
Posts: 20
Joined: 2018-11-29 18:55

Re: Dell wifi interface not showing after loading module

Postby Dylanus » 2018-12-02 21:03

I got all the same errors at boot time. Here's inxi:
Code: Select all
System:    Host: debian Kernel: 4.18.0-2-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: KDE Plasma 5.8.6 (Qt 5.7.1) Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: laptop System: Dell product: Inspiron 7580
           Mobo: Dell model: 050K6P v: A00 UEFI: Dell v: 1.2.1 date: 08/23/2018
Battery    BAT0: charge: 33.1 Wh 89.8% condition: 36.8/36.8 Wh (100%)
           model: LGC-LGC3.553 DELL 8YPRW86 status: Discharging
CPU:       Quad core Intel Core i7-8565U (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15936
           clock speeds: max: 4600 MHz 1: 900 MHz 2: 900 MHz 3: 900 MHz 4: 900 MHz
           5: 900 MHz 6: 900 MHz 7: 900 MHz 8: 900 MHz
Graphics:  Card-1: Intel Device 3ea0 bus-ID: 00:02.0
           Card-2: NVIDIA Device 1d10 bus-ID: 01:00.0
           Display Server: X.Org 1.19.2 drivers: modesetting,nouveau (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel HD Graphics (Coffeelake 3x8 GT2)
           GLX Version: 3.0 Mesa 18.1.9 Direct Rendering: Yes
Audio:     Card Intel Device 9dc8 driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.18.0-2-amd64
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-2: Intel Device 2526 driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: up speed: N/A duplex: N/A mac: <filter>
Drives:    HDD Total Size: NA (-)
           ID-1: /dev/nvme0n1 model: N/A size: 512.1GB
Partition: ID-1: / size: 91G used: 5.2G (6%) fs: ext4 dev: /dev/dm-0
           ID-2: /boot size: 501M used: 98M (22%) fs: ext4 dev: /dev/nvme0n1p8
           ID-3: /home size: 162G used: 1.2G (1%) fs: ext4 dev: /dev/dm-2
           ID-4: swap-1 size: 8.00GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
Sensors:   System Temperatures: cpu: 40.0C mobo: N/A gpu: 38.0                         
           Fan Speeds (in rpm): cpu: 0                                                 
Info:      Processes: 246 Uptime: 8 min Memory: 1389.4/7700.5MB                       
           Init: systemd runlevel: 5 Gcc sys: 6.3.0                                   
           Client: Shell (bash 4.4.121) inxi: 2.3.5     


Here's the journal output:
https://nopaste.linux-dev.org/?1189758
https://nopaste.linux-dev.org/?1189759
https://nopaste.linux-dev.org/?1189760
https://nopaste.linux-dev.org/?1189761

Is something still missing? I might try the new kernel and switching to GNOME as well.
Dylanus
 
Posts: 20
Joined: 2018-11-29 18:55

Re: Dell wifi interface not showing after loading module

Postby stevepusser » 2018-12-03 18:44

Your Intel graphics are working correctly now, which is what the newer Mesa was supposed to do. Gallium is gone.
Code: Select all
           GLX Renderer: Mesa DRI Intel HD Graphics (Coffeelake 3x8 GT2)
           GLX Version: 3.0 Mesa 18.1.9 Direct Rendering: Yes


I really don't want to slog through a thousand lines of log output to guess at whatever errors you are talking about. Can you be more specific about those?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10282
Joined: 2009-10-06 05:53

Re: Dell wifi interface not showing after loading module

Postby Dylanus » 2018-12-04 07:43

Of course, sorry. I took a screenshot of the error messages that show up during boot time. I'll summarise:
I decrypt root and swap, then it displays:
Code: Select all
iTCO_wdt: can't request region for resource [mem 0x00c5f

Then it prompts for my /home decryption password. Then the screen sort of refreshes and a bunch of error messages show up, then it waits for my password with the cursor beneath the messages.
They're all firmware messages.
Code: Select all
failed to load i915/kbl_dmc_ver1_04.bin (-2)
nouveau: failed to load nvidia/gp108/gr/sw_nonctx.bin (-2)
gr: failed to load gr/sw_nonctx
DRM: Pointer to TMDS table invalid
DRM: failed to create kernel channel -22

Are the negative numbers all exit codes? And do I simply need Nvidia drivers? Does your kernel contain those? If I just need to install the kernel from your repo, that would be very simple.
Thanks for your help, and let me know if you need to see any more output.
Dylanus
 
Posts: 20
Joined: 2018-11-29 18:55

Re: Dell wifi interface not showing after loading module

Postby stevepusser » 2018-12-04 19:13

You also need to install "firmware-misc-nonfree" from my repo to get rid of the firmware messages. All sixth-generation and above Intel hardware requires that. The nouveau firmware should also be in that package.

If you want to install the proprietary Nvidia drivers, with the newer kernel you'll need a newer set of those, which are also in my repo. You have an Optimus laptop, so you should follow the Debian procedure for setting up bumblebee-nvidia in the Debian wiki. https://wiki.debian.org/NvidiaGraphicsD ... _Bumblebee

The easy way to set up your system to build kernel drivers (modules) like Nvidia is to install module-assistant and then run as root or with sudo:
Code: Select all
m-a prepare


Dells seem to require some extra tweaks to get Bumblebee to work, however, so that's something we can work on together--I'm interested in finding the secret of that for MX Linux users, too.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10282
Joined: 2009-10-06 05:53

PreviousNext

Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable