Debian stable randomly shut down

Kernels & Hardware, configuring network, installing services

Debian stable randomly shut down

Postby Stian1979 » 2018-01-24 00:49

I'm not sure what I'm working with.
My Intel powered gigabyte laptop has had a history of locking up with an half minute delay before shutdown.
A failed upgrade to the new stable branch triggered a fresh install and I thought it would cure my problems as well, but it's the same.
Somehow I have just ignored this, but now it also started refuse to connect to the Wi-Fi so it's time to spend a few hours to sort out this problems.
Where do I start? I honestly got no idea. Please?
Image
Stian1979
 
Posts: 300
Joined: 2007-07-29 14:57

Re: Debian stable randomly shut down

Postby stevepusser » 2018-01-24 02:36

There have been some reports of systemd waiting 90 seconds to kill some process at shutdown; perhaps it's related to this. Do you have a text mode startup and shutdown, or is this delay occurring while the GUI is still up?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Debian stable randomly shut down

Postby Head_on_a_Stick » 2018-01-24 06:36

Stian1979 wrote:Where do I start?

First, enable persistent logging for systemd's journal:
Code: Select all
# mkdir -p /var/log/journal

(Remove that directory to revert to non-persistent logs.)

Then use `journalctl` to investigate said logs after the next lock up.

https://www.digitalocean.com/community/ ... stemd-logs
I suffer from depression and may lash out occasionally, try not to take it personally.
User avatar
Head_on_a_Stick
 
Posts: 8172
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian stable randomly shut down

Postby Stian1979 » 2018-01-24 07:33

Thanks. Been looking for a way to log this event, but seams I been searching for the wrong keywords. Thought getting the wireless back up would be a easy, but turned out to be quite a problem. Removed the network manager since I thought it might conflict with wicd, but no change.
The card is RTL8723BE and has been working even I needed some reboots in order to find the wireless at times.
Image
Stian1979
 
Posts: 300
Joined: 2007-07-29 14:57

Re: Debian stable randomly shut down

Postby Stian1979 » 2018-01-24 11:30

Connected my wired connection to get my laptop on net so that posting errors would become easier. However I got nothing. Lspci | grep network returns nothing.
Image
Stian1979
 
Posts: 300
Joined: 2007-07-29 14:57

Re: Debian stable randomly shut down

Postby Thorny » 2018-01-24 11:44

Stian1979 wrote:... However I got nothing. Lspci | grep network returns nothing.

What does
Code: Select all
lspci|grep -i network
return?
Perhaps have a look at man lspci.
User avatar
Thorny
 
Posts: 542
Joined: 2011-02-27 13:40

Re: Debian stable randomly shut down

Postby Stian1979 » 2018-01-24 12:02

Thorny wrote:
Stian1979 wrote:... However I got nothing. Lspci | grep network returns nothing.

What does
Code: Select all
lspci|grep -i network
return?
Perhaps have a look at man lspci.


02:00.0 network controller: realtek semiconductor Co., Ltd. Etc8723be pcie wireless network adapter.

Kan see the kernel modules are in use by lspci -K
Image
Stian1979
 
Posts: 300
Joined: 2007-07-29 14:57

Re: Debian stable randomly shut down

Postby Wheelerof4te » 2018-01-24 12:43

Did you install firmware-realtek? Debian separates non-free firmware from the kernel.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Debian stable randomly shut down

Postby Stian1979 » 2018-01-24 13:51

Wheelerof4te wrote:Did you install firmware-realtek? Debian separates non-free firmware from the kernel.


It's been working the whole time until yesterday. I accepted to enable nonfree at install. Have not run a update of the kernel either. And the wired connection is not working either.
Image
Stian1979
 
Posts: 300
Joined: 2007-07-29 14:57

Re: Debian stable randomly shut down

Postby Thorny » 2018-01-24 14:31

Stian1979 wrote:
Thorny wrote:
Stian1979 wrote:... However I got nothing. Lspci | grep network returns nothing.

What does
Code: Select all
lspci|grep -i network
return?
Perhaps have a look at man lspci.


02:00.0 network controller: realtek semiconductor Co., Ltd. Etc8723be pcie wireless network adapter.

Kan see the kernel modules are in use by lspci -K

Well, letter case (capitol or lowercase) makes a difference.

When you first used the grep command your interface wasn't found because you looked for a lowercase word but it is listed as uppercase(capitol) word. I suggested the argument(switch), -i because then grep returns either word, ignoring letter case.

Then you wrote that lspci -K returned something when it would have told you that -K was an invalid option because, -k lowercase is what identifies kernel drivers in use.

Is your keybord working correctly?
User avatar
Thorny
 
Posts: 542
Joined: 2011-02-27 13:40

Re: Debian stable randomly shut down

Postby Stian1979 » 2018-01-24 18:47

Thorny wrote:Well, letter case (capitol or lowercase) makes a difference.

When you first used the grep command your interface wasn't found because you looked for a lowercase word but it is listed as uppercase(capitol) word. I suggested the argument(switch), -i because then grep returns either word, ignoring letter case.

Then you wrote that lspci -K returned something when it would have told you that -K was an invalid option because, -k lowercase is what identifies kernel drivers in use.

Is your keybord working correctly?


It's working like it should. The computer is not so posting go trough a HTC that corrects everything I type in its own liking.
Image
Stian1979
 
Posts: 300
Joined: 2007-07-29 14:57

Re: Debian stable randomly shut down

Postby Thorny » 2018-01-25 08:46

I'm sorry, I can't try to help you any further because I can't understand what you are trying to say, I only see bits and pieces that I understand.

You mentioned that you removed Network Manager and if it is what was managing the network, that might be why there isn't a network any longer.

All I can suggest is to follow the procedure in the Debian Wiki for the wireless you identified, RTL8723BE.
https://wiki.debian.org/rtl819x#rtl8723be

Maybe someone else will see this and have further ideas, if not maybe there is a local Linux User Group where you could get help in person.
https://www.tldp.org/HOWTO/User-Group-HOWTO-3.html
User avatar
Thorny
 
Posts: 542
Joined: 2011-02-27 13:40

Re: Debian stable randomly shut down

Postby Wheelerof4te » 2018-01-25 13:14

https://wiki.debian.org/NetworkManager# ... _Unmanaged
This saved my skin too, maybe it will save yours next time.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Debian stable randomly shut down

Postby Stian1979 » 2018-01-25 16:19

Noticed something funny I not seen before.

When the kernel initialize I get.
ffff8908bf0c26f0) AE_NO_MEMORY (20160831/psparse-543) [ 1.464064] r8169 0000:01:00.2 (unnamed net_device) (initialized): rtl_chip cmd_cond == 1 (loop: 100, delay: 100).
[ 1.479828] r8169 0000:01:00.2 etc0........
Image
Stian1979
 
Posts: 300
Joined: 2007-07-29 14:57

Re: Debian stable randomly shut down

Postby Stian1979 » 2018-01-27 00:28

Downloaded the latest kernel and firmware.
And improvements are zero.
Blacklisted the kernels driver and got rid of the messages at kernel initialization.
Tried to modprobe modules, but command won't work.
Been downloading all files by Android and transferred with USB so still no wireless and no cable witch was both working just a week ago.
What can I show to get help? I will just need to get the outputs in a text document from the laptop and into the phone to get it posted.

Output from all I can think off.
Code: Select all
   root@debian:/home/stian# lsmod           Module                  Size  Used by uas                    24576  0 usb_storage            73728  1 uas fuse                   98304  5 appletalk              36864  0 ax25                   57344  0 ipx                    28672  0 p8023                  16384  1 ipx p8022                  16384  1 ipx psnap                  16384  2 appletalk,ipx llc                    16384  2 p8022,psnap cmac                   16384  1 bnep                   20480  2 snd_hda_codec_hdmi     49152  1 snd_hda_codec_via      24576  1 snd_hda_codec_generic    69632  1 snd_hda_codec_via intel_rapl             20480  0 arc4                   16384  2 rtl8723be              90112  0 intel_soc_dts_iosf     16384  0 intel_powerclamp       16384  0 coretemp               16384  0 btcoexist              53248  1 rtl8723be iTCO_wdt               16384  0 uvcvideo               90112  0 rtl8723_common         24576  1 rtl8723be                                                                                         kvm_intel             192512  0                                                                                                   iTCO_vendor_support    16384  1 iTCO_wdt                                                                                          rtl_pci                28672  1 rtl8723be videobuf2_vmalloc      16384  1 uvcvideo kvm                   589824  1 kvm_intel rtlwifi                77824  2 rtl_pci,rtl8723be videobuf2_memops       16384  1 videobuf2_vmalloc videobuf2_v4l2         24576  1 uvcvideo videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2 mac80211              671744  3 rtl_pci,rtlwifi,rtl8723be videodev              176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2 i915                 1232896  4 btusb                  45056  0 media                  40960  2 uvcvideo,videodev btrtl                  16384  1 btusb irqbypass              16384  1 kvm btbcm                  16384  1 btusb btintel                16384  1 btusb bluetooth             552960  26 btrtl,btintel,bnep,btbcm,btusb cfg80211              589824  2 mac80211,rtlwifi intel_cstate           16384  0 evdev                  24576  12 joydev                 20480  0 pcspkr                 16384  0 serio_raw              16384  0 snd_intel_sst_acpi     16384  0 rfkill                 24576  4 bluetooth,cfg80211 drm_kms_helper        155648  1 i915 snd_hda_intel          36864  3 snd_intel_sst_core     77824  1 snd_intel_sst_acpi snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_via drm                   360448  5 i915,drm_kms_helper snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_via snd_soc_sst_mfld_platform   102400  1 snd_intel_sst_core snd_soc_sst_match      16384  1 snd_intel_sst_acpi i2c_algo_bit           16384  1 i915 snd_hwdep              16384  1 snd_hda_codec sg                     32768  0 lpc_ich                24576  0 shpchp                 36864  0 wmi                    16384  0 battery                20480  0 snd_soc_core          212992  1 snd_soc_sst_mfld_platform snd_compress           20480  1 snd_soc_core snd_pcm               110592  6 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi,snd_soc_sst_mfld_platform,snd_soc_co re button                 16384  1 i915 snd_timer              32768  1 snd_pcm snd                    86016  17 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_g eneric,snd_soc_sst_mfld_platform,snd_soc_core,snd_pcm,snd_hda_codec_via video                  40960  1 i915 soundcore              16384  1 snd ac                     16384  0 parport_pc             28672  0 ppdev                  20480  0 lp                     20480  0 parport                49152  3 lp,parport_pc,ppdev ip_tables              24576  0 x_tables               36864  1 ip_tables autofs4                40960  2 ext4                  585728  3 crc16                  16384  2 bluetooth,ext4 jbd2                  106496  1 ext4 crc32c_generic         16384  0 fscrypto               28672  1 ext4 ecb                    16384  0 lrw                    16384  0 glue_helper            16384  0 ablk_helper            16384  0 aes_x86_64             20480  2 mbcache                16384  4 ext4 xts                    16384  3 gf128mul               16384  2 lrw,xts algif_skcipher         20480  0 af_alg                 16384  1 algif_skcipher dm_crypt               24576  1 dm_mod                118784  12 dm_crypt sr_mod                 24576  0 cdrom                  61440  1 sr_mod sd_mod                 45056  3 crct10dif_pclmul       16384  0 crc32_pclmul           16384  0 crc32c_intel           24576  4 ghash_clmulni_intel    16384  0 cryptd                 24576  2 ablk_helper,ghash_clmulni_intel psmouse               135168  0 ehci_pci               16384  0 ehci_hcd               81920  1 ehci_pci ahci                   36864  2 libahci                32768  1 ahci i2c_i801               24576  0 i2c_smbus              16384  1 i2c_i801 xhci_pci               16384  0 xhci_hcd              188416  1 xhci_pci libata                249856  2 ahci,libahci rtsx_pci               57344  0 mfd_core               16384  2 lpc_ich,rtsx_pci usbcore               249856  8 uvcvideo,usb_storage,ehci_hcd,xhci_pci,btusb,uas,xhci_hcd,ehci_pci scsi_mod              225280  6 sd_mod,usb_storage,libata,uas,sr_mod,sg usb_common             16384  1 usbcore thermal                20480  0 root@debian:/home/stian# lspci -k        00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register        Kernel driver in use: iosf_mbi_pci 00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor Z36xxx/Z37xxx Series Graphics & Display        Kernel driver in use: i915        Kernel modules: i915 00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor E3800 Series SATA AHCI Controller        Kernel driver in use: ahci        Kernel modules: ahci 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI        Kernel driver in use: xhci_hcd        Kernel modules: xhci_pci 00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller        Kernel driver in use: snd_hda_intel        Kernel modules: snd_hda_intel 00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)        Kernel driver in use: pcieport        Kernel modules: shpchp 00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)        Kernel driver in use: pcieport        Kernel modules: shpchp 00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0e)        Kernel driver in use: pcieport        Kernel modules: shpchp 00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)        Kernel driver in use: pcieport        Kernel modules: shpchp 00:1d.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB EHCI (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor Z36xxx/Z37xxx Series USB EHCI        Kernel driver in use: ehci-pci        Kernel modules: ehci_pci 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor Z36xxx/Z37xxx Series Power Control Unit        Kernel driver in use: lpc_ich        Kernel modules: lpc_ich 00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)        Subsystem: CLEVO/KAPOK Computer Atom Processor E3800 Series SMBus Controller        Kernel driver in use: i801_smbus        Kernel modules: i2c_i801 01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5286 PCI Express Card Reader (rev 01)        Subsystem: CLEVO/KAPOK Computer RTS5286 PCI Express Card Reader        Kernel modules: rtsx_pci 01:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 06)        Subsystem: CLEVO/KAPOK Computer RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller        Kernel modules: r8169 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter        Subsystem: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter        Kernel driver in use: rtl8723be        Kernel modules: rtl8723be root@debian:/home/stian# ifconfig -a       lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536        inet 127.0.0.1  netmask 255.0.0.0        inet6 ::1  prefixlen 128  scopeid 0x10<host>        loop  txqueuelen 1  (Local Loopback)        RX packets 11844  bytes 959280 (936.7 KiB)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 11844  bytes 959280 (936.7 KiB)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 wls1: flags=4098<BROADCAST,MULTICAST>  mtu 1500        ether 00:e0:4c:81:92:87  txqueuelen 1000  (Ethernet)        RX packets 0  bytes 0 (0.0 B)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 0  bytes 0 (0.0 B)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 root@debian:/home/stian# dmidecode | grep 'System Info' -A2 System Information        Manufacturer: GIGABYTE        Product Name: Q2550M root@debian:/home/stian# lspci | grep -i network                               02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter root@debian:/home/stian#  



Output from dmesg
Code: Select all
. 0.145307] ---[ end trace 537f228fe45a275a ]--- [    0.145310] ACPI Error: Method parse/execution failed [\_PR.CPU0.GCAP] (Node ffff8acdbf1cbf50), AE_NO_MEMORY (20160831/pspars e-543)                                                                                                                            [    0.145626] ACPI Error: Method parse/execution failed [\_PR.CPU0._PDC] (Node ffff8acdbf1cb938), AE_NO_MEMORY (20160831/pspars e-543)                                                                                                                            [    0.146364] ACPI Error: Method parse/execution failed [\_PR.CPU1.APPT] (Node ffff8acdbf1cb960), AE_NO_MEMORY (20160831/pspars e-543)                                                                                                                            [    0.146617] ACPI Error: Method parse/execution failed [\_PR.CPU1.GCAP] (Node ffff8acdbf1cb078), AE_NO_MEMORY (20160831/pspars e-543)                                                                                                                            [    0.146858] ACPI Error: Method parse/execution failed [\_PR.CPU1._PDC] (Node ffff8acdbf1cb550), AE_NO_MEMORY (20160831/pspars e-543)                                                                                                                            [    0.147628] ACPI Error: Method parse/execution failed [\_PR.CPU2.APCT] (Node ffff8acdbf1cbeb0), AE_NO_MEMORY (20160831/pspars e-543)                                                                                                                            [    0.147880] ACPI Error: Method parse/execution failed [\_PR.CPU2.GCAP] (Node ffff8acdbf1cbc30), AE_NO_MEMORY (20160831/pspars e-543)                                                                                                                            [    0.148121] ACPI Error: Method parse/execution failed [\_PR.CPU2._PDC] (Node ffff8acdbf1cbc80), AE_NO_MEMORY (20160831/pspars e-543)                                       
Image
Stian1979
 
Posts: 300
Joined: 2007-07-29 14:57

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable