How to provide good information in your posts

forum
journal

#1

When asking questions in the forum, it would be most helpful to all members if you provide some basic information.

When you provide info from the terminal, usually from your logs, you have to format it so the content is easy to read.
First copy and paste your text/terminal/code into the post
Then select the text/code and click the post edit toolbar button </> .
Another handy way is to use 3 backticks ` at the start and 3 more at the end of the text like this:

```

Paste text or code here

```

Please open a terminal and type the commands as below. (do not type the $)

First no matter what the problem, provide the hardware and software with inxi -Fxxxz.

$ inxi -Fxxxz

Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
System:    Host: linux-6y72 Kernel: 4.12.14-lp150.12.4-default x86_64 bits: 64 gcc: 7.3.1
           Desktop: Gnome 3.26.2 (Gtk 3.22.30) info: gnome-shell dm: gdm Distro: openSUSE Leap 15.0
Machine:   Device: laptop System: Notebook product: W740SU serial: N/A  Chassis: type: 9 serial: N/A
           Mobo: Notebook model: W740SU serial: N/A BIOS: American Megatrends v: 4.6.5 date: 09/11/2014
Battery    BAT0: charge: 32.7 Wh 100.0% condition: 32.7/53.3 Wh (61%) volts: 12.3/11.1
           model: Notebook BAT Li-ion serial: <filter>status: Full cycles: 0
CPU:       Quad core Intel Core i7-4770HQ (-HT-MCP-) arch: Haswell rev.1 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 17557
           clock speeds: min/max: 800/3400 MHz 1: 2194 MHz 2: 2194 MHz 3: 2194 MHz 4: 2194 MHz 5: 2194 MHz
           6: 2194 MHz 7: 2194 MHz 8: 2194 MHz
Graphics:  Card: Intel Crystal Well Integrated Graphics Controller bus-ID: 00:02.0 chip-ID: 8086:0d26
           Display Server: wayland (X.org 1.19.6 ) driver: i915 tty size: 171x45
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:8c20
           Card-2 Intel Crystal Well HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0 chip-ID: 8086:0d0c
           Sound: Advanced Linux Sound Architecture v: k4.12.14-lp150.12.4-default
Network:   Card-1: Intel Ethernet Connection I217-V
           driver: e1000e v: 3.2.6-k port: f080 bus-ID: 00:19.0 chip-ID: 8086:153b
           IF: eth0 state: down mac: <filter>
           Card-2: Intel Wireless 3160 driver: iwlwifi bus-ID: 03:00.0 chip-ID: 8086:08b3
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 360.1GB (22.7% used)
           ID-1: /dev/sda model: OCZ size: 240.1GB serial: <filter>
           ID-2: /dev/sdb model: Samsung_SSD_850 size: 120.0GB serial: <filter>
Partition: ID-1: / size: 40G used: 12G (28%) fs: btrfs dev: /dev/sdb2
           ID-2: /home size: 156G used: 39G (25%) fs: xfs dev: /dev/sda2
           ID-3: /var size: 40G used: 12G (28%) fs: btrfs dev: /dev/sdb2
           ID-4: /tmp size: 40G used: 12G (28%) fs: btrfs dev: /dev/sdb2
           ID-5: /opt size: 40G used: 12G (28%) fs: btrfs dev: /dev/sdb2
           ID-6: swap-1 size: 16.73GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
Sensors:   System Temperatures: cpu: 43.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 427 Uptime: 2 days 22:31 Memory: 5352.3/15953.5MB
           Init: systemd v: 234 runlevel: 5 default: graphical.target Gcc sys: N/A
           Client: Shell (bash 4.4.191 running in gnome-terminal-) inxi: 2.3.40 


Two basic commands used to find errors

$ dmesg

This command is used to get hardware boot stopping errors and some other things.

$ journalctl

This command is used for all kinds of errors and for trouble shooting.

Non-booting sort of errors , this means the user never gets to a login prompt or a prompt of any kind.
** If this is not your situation then skip this and start with Trouble Shooting below. **

If you end up in a non boot situation you still need to get to a command prompt and do some trouble shooting.
Here are three things to try.

  1. First try to get to another TTY (command terminal) with the key combination. CTLALT+F2. You can try any of several combinations from F1 to F6. If you get a login prompt then good for you and you can start to troubleshoot your situation, login with your user name and password.

  2. You can also use the Grub prompt to try to get to a TTY, see my General Notes at the bottom.

  3. If the above does not work then >> Using the chroot method.
    For this method, You can use chroot from a live Manjaro usb stick.
    Boot Manjaro with live usb and then open a terminal and type
    $ manjaro-chroot -a

You have just logged into your Manjaro install and can now change or repair anything within your Manjaro system.

With all of these methods of logging in you are now in control of your Manjaro install.
You can now copy or look at logs as they exist on your normal Manjaro system and do other rescue type things.

Trouble Shooting and finding Errors comands

First dmesg

$ dmesg will show any hardware problems and should be run first, look for the words Error, Failed or sometimes even different color lines. Look the whole thing over to get a sense of how it works, basically all your hardware gets checked by the linux kernel from most primitive like your CPU (important) to other things like your sound card etc…
To make dmesg more convenient use
$ dmesg | less
and then the arrow keys to move up and down (if you are chroot in GUI you do not need this).
To get hardware info use some of these examples:

$ dmesg | grep sd

get info on sata drives

$ dmesg | grep usb

get info on usb devices

$ dmesg | grep eth

I think you get the idea.

Now journalctl.

$ journalctl will show all kinds of stuff as documented here Link
The most useful in a no boot situation is the previous boot or current boot so use the command as below.
$ journalctl -p3 -b -1
the numbers in the command are important as you have read on the linked wiki :wink:.
p3 picks up all non-critical errors from the boot probably not what we want in a non-boot, so use p2 and then p1 and finally p0 is used to pick up emergency errors like a kernel dump.
-b -1 conveys the boot log that is being searched, in this case the boot previous to our current boot.
So to get critical boot errors from current boot use
$ journalctl -p2 -b -0

It may also be important to look at the xserver logs in a non-booting situation (not on Wayland). Use the cat command to have a look just enter (cat /var/log/Xorg.0.log). Do not include “> the current session” in your commands.
$ cat /var/log/Xorg.0.log > the current session
$ cat /var/log/Xorg.0.log.old > or the previous successful session
$ cat /var/log/Xorg.1.log > after the last suspend

No GUI errors , this means the boot completes but you are left with a non-starting desktop environment sometimes with just a mouse cursor. In these situations you are already booted but the GUI is not working and you can almost always use CTLALT+F2 to get to a prompt.
You can use almost the same commands as above to track down the problems.
With journalctl just look for errors with $ journalctl -p3

What to do with the error you find?

Now that you have this information post the critical things using the code tags in the forum software depicted with the </> symbol in the post editor toolbar.

General Notes

Booting to command prompt from Grub

At Manjaro Grub menu use the keyboard to hit E to edit the kernel boot line.
In the grub editor look for the line beginning with linux, it should look like this.
linux /boot/vmlinuz-4.11-x86_64 root=UUID=0a01099a-1e33-489a-a2de-10104e8492f5 rw quiet
Go to the end of the line and backspace (delete) the word quiet and add systemd.unit=multi-user.target like below.
linux /boot/vmlinuz-4.11-x86_64 root=UUID=0a01099a-1e33-489a-a2de-10104e8492f5 rw systemd.unit=multi-user.target
Or you can also just add “3” in place of the “systemd.unit=multi-user.target”

Now boot the system with F10 key
You should be offered to login. Login with your user account.
At this point you should have a working system with an Internet connection.

Find Sleep errors in journalctl
journalctl -b0 | grep Suspend
journalctl -b0 | grep Resume

Follow journalctl live
journalctl -f
The above command is really pretty useful so lets use it. For example, open a terminal and type the command and then plug in a usb device or close and then open the lid on your laptop, put your computer to sleep etc… You should see what the linux kernel and the desktop thinks about your actions and what may be wrong or happening right. :grinning:
Very useful.

If you get recurring errors follow these steps to get a clean log with the problems.

Clean the log and paste errors
Please make sure your system is up to date with the command,
sudo pacman -Syyu
Then clean your journalctl with
sudo journalctl --vacuum-time=1d
and then after that the command
sudo journalctl --vacuum-size=250M
Now log out and log back in. Do not skip this step.
Then wait for the problem and look at the errors with,
journalctl -p3

You may find you can google the errors and get an idea of what is going on or report the errors as described above.
Please PM anika200 before making edits to this post, Thank you.
If you do not get a reply in 365 days then go for it.


Clean install freezes after login
Attempting to install Manjaro Gnome on a Windows UEFI Machine, It gets stuck at Starting User Manger for UID 1000
Cant boot fresh install 17.1
Manjaro stuck after Grub
Ethernet Network (Intel 82567L-3) [Not Working]
HUION Kamvas Pro 22 drivers not available on DIGImend list
[SOLVED] Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem
[SOLVED] Wifi issue during installation
Bluetooth enabled and active but can't connect any device [SOLVED]
MacBook Air won't turn on without USB Wifi inserted?
Manjaro xfce don't connect to wifi
Difficulty Installing Realtek rtl8812au Driver for USB Wifi Adapter; Please Advise!
Unable to maximize windows with multiple screens
Dual monitors Nvidia graphics (not Nouveau)
Problem with the disk
Kernel 4.20 Slowed ethernet more than 1/3
Manjaro boot stuck at 'started Network Manager script dispatcher service'
Unable to View Wireless Interface
Indicator-powersave i can't
New to the forum, introduce yourself
Lost status connection Xfce - plugin
Installing manjaro xfce in old windows tablet "wintab"
Can't boot into my into my Manjaro Gnome installation
Wifi Issue after suspend mode and more
[Solved]Internet Connectivity Issues
Failed to boot from hibernation
After fresh installation of Manjaro XFCE Windows 10 doesn't open
Can only access certain websites
How to switch my GPU
Could not satisfy dependencies: removing gnome-shell breaks dependency 'gnome-shell>=3.18' required by gnome-shell-extension-manjaro-update
Can't boot anymore; amdgpu fatal error
When I try to switch GPUs, I end up with a black screen (or a black screen with only a blinking cursor)
[Stable Update] 2018-12-14 - Kernels, Nvidia, Deepin, Cinnamon, Pamac, Browsers, Thunderbird, Wine
Touchpad not working in manjaro xfce
Laptop won't suspend
KDE + NVidia lag and jankiness (Solved)
How to change video drivers or configuration and troubleshoot
Can't boot after installing Nvidia drivers
Can't install from xfce iso, screen driver problems [AMD Radeon R6?]
No sound (ubuntu ok / manjaro problem)
Manjaro KDE and Cinnamon auto login delay
Error 777 and 755
NVIDIA GeForce GTX 1060 not starting on Dell G5 laptop
A couple of errors in systemd startprocess
Dell Optiplex 990 random freezing
Dual-boot alongside Linux Mint
Latest Manjaro KDE, wifi stuck at configuring interface/setting network address
Logout on lid closed and wrong monitor settings on boot up
Ideapad 130 - 15IKB. Touchpad not working
System boots but freezes on login (no keyboard, no mouse)
Newbie here. Computer won't boot after latest update
System wide stuttering
Manjaro-settings-manager freezes when accessing the hardware section
Bumblebee not working, PRIME broke my setup
"Failed to load kernel modules" message on startup after system update
Nvidia prime leads to black screen
Wired network get a lot slow with big transfers
Can't move mouse or type in login screen after reboot
USB Wireless adapter not connecting to a specific wireless network
WiFi is detected then automatically disappears
Bluetooth headset no sound and video freezes
Dell XPS 15 9570 with PRIME -> OS Freezes on wake up
[SOLVED] Network problems - rtl8723be and r8168 adapters
Unable to Install Manjaro - Stuck at partitions screen
Increasing size of menubar/icons/font permanently
[SOLVED] AIO topic: 1. Cannot connect to home wifi. 2. Latest kernel - no wifi adapter found. 3. NM shows two WIFI modules
Video/Display Glitch on All Kernels above 4.14
Lightdm.service & lm_sensors.service
Intermittent freezes with graphics-heavy situations
Monitor refresh rates out of sync
After upgrading kernel driver (Linux 4.14.81-1 to 4.19.2-1) Freeze or Stuck System
Ethernet Realtek PHY RTL8201EL problems
Manjaro (Gnome) 18.0 - random boot problems (Dell Inspiron 15-5559 and Crucial MX500 SSD)
Keyboard blocked with kernel 4.19
Dell G7 i7 w GTX1060 6gb
Cannot install KDE 17.0.1
Graphics Upgrade from intel to nvidia
Surface Pro 1796 Wifi not resuming after suspend
Gnome crashes 3.30.2 after unlocking (it happens sometimes)
Nvidia proprietary drivers not installable
GRUB error - no such partition
Black screen after following the [HowTo] PRIME whit NVidia proprietary drivers
Error during boot
Rtl8723be WiFi card issues
Rtl8723be WiFi card issues
Windows 10 and Linux Mint 19 are on my main SSD boot drive and I would like to add Manjaro to my other SSD
Wakeup from suspend using USB devices (wireless keyboard, Infrared remote)
No internet after install
Essentials to getting started
4.19 Black screen
Started TLP system startup/shutdow
Manjaro Boot Fails
System boot failure after installing basic cinnamon enviroment on manjaro kde 18.0
Gnome Opening folders in mpv
Error while installing
My manjaro install is freaking out
Endless boot loops
I can not install Manjaro on my laptop lenovo v330-15ikb 81AX!
Grub cannot find kernel
Manjaro KDE on MacBook Pro mid 2014
WiFi adapter is missing - not recognized
Audio "pop" with any audio source or application
Manjaro stuck on booting, ACPI Error: Namespace lookup failure, AE_NOT_FOUND
KDE not started
Manjaro freezes on splash page
Manjaro live USB crash dual boot Windows 10 eufi
Flickering when opening windows in KDE
Enter the password and then black screen
How to restore win10 in grub menu
Tutorials Table Of Contents
New to Linux, need some pointers
Bspwm install won't go live
Be careful with edits in "Tutorial" or wiki mode Posts
Internet working slower than on Windows 10, definitely not bias!
Can someone help me :'(
Mate+BSPWM
I’m new to the whole Linux thing
Desktop notification
[Solved] Manjaro Xfce post-installation problem: black screen on reboot
Massive file-browser related crashes
Cannot upgrade kernel beyond 414
Eclipse IDE appearance
Problem installin on laptop - it hangs after loggin in
"enter" key did not work correctly in terminal after install zsh
KDE Not Seeing Networks
[SOLVED] XMonad + Xfce : Could not get owner of name 'org.xfce.SessionManager'
Systemctl: Refusing to operate on linked unit file bumblebeed.service
Video tearing on even basic videos
No graphical interface after installing 17.1.11 Xfce edition
Graphical distortions on freshly installed Manjaro
Ethernet randomly disconnects, PC freezes, have to hard reboot
Manjaro bootet nach der Installation nicht
Unable revert back to the right mouse click context menu
Nothing is showing!
Can no longer boot into manjaro 17
KDE on Dell XPS 9570 - stuck trying to boot from USB
Manjaro doesnt boot after installing
Kernel Panic Post-Update
Black screen after installing a second distro
Can we add more than one new Resolutions by Xrandr?
Help installing alfa drivers and virtualbox
Linux Breakout 2
Refresh data basis - infinite loop?
System freezes within seconds of booting after fresh install
Black screen after GRUB and before log-in screen [SOLVED]
Game studders & very low FPS while youtube is playing
Memory count
Dell XPS 15 9570 - Unable to install manjaro (Paritions: Efi partitions is completely blank)
Xfce Panel reset twice in one day
SOLVED (kinda) Can't boot on fresh install
Old desktop (6 years) and nvidia GeForce GT 730
Can't boot after update can't access login screen
[MSI GS63VR 6RF] Manjaro doesn't boot after install
No Signal After Boot Loader [OpenBox]
Accidental mistake
Cant boot fresh install 17.1
Have to restart pc to connect to a different wifi network!
Xinput not detected touchpad driver
Hello how do i post without starting a new topic
Help editing $PATH
Random blank screens on boot after grub
Screen is pushed over, black number
MSI Laptop w Nvidia K2000m - External 4K Mon. Not Recognized
I can't install Manjaro with Optimus mode enabled
How can I improve FHD monitor appearance in Plasma?
Attempting to install graphics card
[XFCE] Multiple bugs since july updates
Green Screen Gnome
Lan network button goes off automatically after 5-8 mins
Got a foktech wifi usb adapter but it isnt being picked up, any way to install the correct drivers?
Stuck at "starting version 239"
Latest manjaro kde not running on pc
“Failed to start Simple Desktop Manager.See ‘systemctl status sddm.service’ for details” (SDDM core dump)
W7 and Manjaro partitioning issue
Blurred icons on task bar
Desktop Display
Trouble installing Manjaro on emachines W3623 computer
Need help computer freezes on live cd and on install
Display Terminals require manual intervention after changing "TearFree on" flag
Problem configuring touchpad and two monitors
Manjaro crashes after installation
System freezes one minute after login
Manjaro mate first installation
Manjaro mate first installation
Manjaro hangs in the installed version, but not in the Live USB
Please Help! Either won't boot or no video out after clean install (Manjaro 17.1.12 XFCE)
When i reboot Manjaro KDE it goes to a black screen
ACPI Error clevo
Graphic driver trouble - Quadro P600 on Manjaro Gnome
I cannot install manjaro, Stuck at 75%
Uhd630 graphic card can't enter desktop
Installing Manjaro on hp omen 2018
How to disable ALL logs except system ones?
Live usb wi-fi issue
Finalizing Manjaro Gnome 18.0 installation - help a Linux newbie pls :)
Files (Nautilus) takes a long time to open
Graphics (and other) issues
Nautilus File Manager Crashing
I'm having a few issues, I'm new I read several things but
Epson EPL 6200L via USB not detected
[SOLVED] No network devices available
Backlight problem at startup
Partition OS drive for another OS?
How do I check the logs?
Installing apps on Manjaro Deepin. I can't install
System asks for ctrl+d after grub selection at boot; why?
Error Message, No System Commands Work, Can't Find Partitions
No mobile broadbands card detected
Dell Vostro 3546 wifi card not detected
#2

Great post. One thing which could/should be added is this:
when using a terminal make it wide so lines which are output from the instructions will not be chopped and therefore will be easier to read.


#3

So useful, thanks!
I never heard of gist before


#4

Me either, :laughing: I have to check it out too. I think @petsam made that suggestion. :relaxed:


#5

gist or http://sprunge.us (no login, no package)

cat /var/log/Xorg.0.log |curl -F 'sprunge=<-' http://sprunge.us

#6

Server down?

$ cat /var/log/Xorg.0.log | curl -F 'sprunge=<-' http://sprunge.us
<html>
 <head>
  <title>500 Internal Server Error</title>
 </head>
 <body>
  <h1>500 Internal Server Error</h1>
  The server has either erred or is incapable of performing the requested operation.<br /><br />



 </body>
</html>

#7

oops :nauseated_face:

now use http://ix.io


#8

and wgetpaste is nice. I 'll add them when available, or you can do it. :wink:


#9

Moar likes for @anika200!


#10

hahaha, yes more likes. :joy:

For some reason they were all wiped out, sob sob sniffles.

I do enjoy the likes though, thanks all. Hopefully it helps someone besides me though :laughing:


#11

I suspect they reached an integer overflow.


#12

Of course it was :grin:


#13

This is great. Is there some way to pin this to the top of the forum? Most posts these days are requests for troubleshooting.


#15

Ones I also tend to use for troubleshooting

lsusb -v |grep blue
If I can’t find the Bluetooth card, I tell them to post lsusb -v
(For people with Bluetooth issues)

If you would like, add that everyone should mark their issue as :white_check_mark: solved if someone’s issue is resolved.


#16

Great suggestion in general and about the solved button, I will work it in sometime. A list of more commands somewhere might be helpful, I will see what I can do. Maybe someone else already has one I could link too?

I have also started using hwinfo --bluetooth or hwinfo --gfxcard , which even works within vm if need be. See hwinfo --help for the list of options.


#17

Wow! I didn’t even know about hwinfo. A lot easier to use than lsusb -v |grep blue


#18

Try this hwinfo command I dreamed up if you want information about all your network components:

hwinfo --netcard --wlan --bluetooth | grep -Ei "model\:|driver\:|status\:|cmd\:|file\:|detected\:" | grep -v "Config Status" 

#19

Ooh, I like that! Great helper for your “area of expertise.”

No, not that one. The other one. :wink:


#20

Alright I admit it looks cool :sunglasses: but does’nt hwinfo --network do the same thing? I think it would work for regular trouble shooting anyway but maybe not for total infiltration.


#21

Yes, hwinfo does exactly the same thing. but it outputs too much information that is not essential for troubleshooting. It also outputs sensitive information that really shouldn’t be posted on a public forum. That is why I removed all the non-essential and sensitive information from the command output. The full hwifo output is not really what you want posted on a troubleshooting thread, best to be selective for those purposes I think.