You are not logged in.

#1 2023-10-03 16:08:48

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Haven't updates for 2 weeks - network and Xorg are broken

Hello everyone.
Just updated my arch after ~ 2 weeks without even turning on my PC.
There's 2 issues I found:
1) startx don't work
2) ping 8.8.8.8 Network Unreachable

USB modem don't work(rtl8193eu driver) and USB tethering from my phone don't work too. Ifconfig don't even recognize my phone, but it recognizes modem as enp4so, but according to `lshw -c network` it using r8169 driver. Also when I'm trying to rebuild rtl8192eu driver with dkms it says: "Error! Bad return status for module build on kernel bla bla.
Consult /blabla/make.log for more information"

Offline

#2 2023-10-03 16:09:44

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

Sorry for these bla bla and bad English. It's really uncomfortable to me to work with all this on my phone

Offline

#3 2023-10-03 16:16:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,808

Re: Haven't updates for 2 weeks - network and Xorg are broken

See the output of uname -a and pacman -Q linux (substitute with different kernel package if you're using a different one).

Offline

#4 2023-10-04 11:48:43

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

Scimmia wrote:

See the output of uname -a and pacman -Q linux (substitute with different kernel package if you're using a different one).

https://imgur.com/a/dfXADJ0
I think it was bad idea to remove default kernel?

Offline

#5 2023-10-04 12:37:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,808

Re: Haven't updates for 2 weeks - network and Xorg are broken

Where did those kernels come from?

Offline

#6 2023-10-04 12:49:50

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

Scimmia wrote:

Where did those kernels come from?

I've compiled https://github.com/Frogging-Family/linux-tkg
And they were fine before this one pacman -Syu

Offline

#7 2023-10-04 12:50:54

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

Maybe I can chroot into my system from archinstall and install linux and linux-headers packages?

Last edited by Bluecross (2023-10-04 12:51:25)

Offline

#8 2023-10-04 13:13:16

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Haven't updates for 2 weeks - network and Xorg are broken

Start by posting the journal of the last bootof the installed system from the install iso, https://wiki.archlinux.org/title/System … al_to_view

Offline

#9 2023-10-04 13:24:39

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

seth wrote:

Start by posting the journal of the last bootof the installed system from the install iso, https://wiki.archlinux.org/title/System … al_to_view

https://imgur.com/a/4fVDt4F

Offline

#10 2023-10-04 13:27:23

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

Bluecross wrote:

Maybe I can chroot into my system from archinstall and install linux and linux-headers packages?

I tried this and now my grub is dead sad
https://imgur.com/a/Mtqe51V

Last edited by Bluecross (2023-10-04 13:27:36)

Offline

#11 2023-10-04 13:37:31

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Haven't updates for 2 weeks - network and Xorg are broken

Stop winging it and post the journal, not some picture.
I assume you've internet access from the iso, so you can use the tip in teh first link below to post it from teh console.

Offline

#12 2023-10-04 14:52:51

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

seth wrote:

Stop winging it and post the journal, not some picture.
I assume you've internet access from the iso, so you can use the tip in teh first link below to post it from teh console.

Thank you, this is useful!
Here's output:

# journalctl -D /mnt/@/var/log/journal -e
Failed to open /mnt/@/var/log/journal: No such file or directory

And also:

# ls /mnt/@/var/log
pacman.log

There's "@" in path and idk why lol.
I just do

mount /dev/sdb2 /mnt

Offline

#13 2023-10-04 15:42:48

loqs
Member
Registered: 2014-03-06
Posts: 17,765

Re: Haven't updates for 2 weeks - network and Xorg are broken

What options are the root file-system with mounted with?  You can check /proc/cmdline from the installed system.  Is the system using btrfs with subvolumes?
How did you install Arch?

Last edited by loqs (2023-10-04 15:43:10)

Offline

#14 2023-10-04 16:01:19

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

loqs wrote:

What options are the root file-system with mounted with?  You can check /proc/cmdline from the installed system.  Is the system using btrfs with subvolumes?
How did you install Arch?

I mouth root with this command:

mount /dev/sdb2 /mnt

I can't check /proc/cmdline because I broke my grub when I tried to install linux and linux-headers from chroot. Is the system uses btrfs? It uses btrfs, and here's volumes:

# fdisk -l
Disk /dev/sda: 3.73 GiB, 4009754624 bytes, 7831552 sectors
Disk model: USB FLASH DRIVE 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb9ba8dda

Device     Boot   Start     End Sectors  Size Id Type
/dev/sda1  *         64 1615871 1615808  789M  0 Empty
/dev/sda2       1615872 1646591   30720   15M ef EFI (FAT-12/16/32)


Disk /dev/sdb: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: T-FORCE 240GB   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb3009284

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdb1  *         6144    415743    409600  200M  c W95 FAT32 (LBA)
/dev/sdb2          421888 457617407 457195520  218G 83 Linux
/dev/sdb3       457617408 468860927  11243520  5.4G 82 Linux swap / Solaris


Disk /dev/loop0: 682.6 MiB, 715755520 bytes, 1397960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

I installed system with archinstall script

P. S.: i really don't know why sdb1 is W95 fat32 lol. I have only linux installation and formatted my disk with archinstall script

Last edited by Bluecross (2023-10-04 16:03:49)

Offline

#15 2023-10-04 16:09:53

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Haven't updates for 2 weeks - network and Xorg are broken

It's not windows 95 but vfat.
The "@" there suggests you're using btrfs and might have /var in a subvolume?
https://wiki.archlinux.org/title/Btrfs# … subvolumes

Offline

#16 2023-10-04 16:30:42

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

seth wrote:

It's not windows 95 but vfat.
The "@" there suggests you're using btrfs and might have /var in a subvolume?
https://wiki.archlinux.org/title/Btrfs# … subvolumes

Yes I guess

# btrfs subvolume list -p /
ID 256 gen 272070 parent 5 top level 5 path @
ID 257 gen 272029 parent 5 top level 5 path @home
ID 258 gen 272029 parent 5 top level 5 path @log
ID 259 gen 272058 parent 5 top level 5 path @pkg
ID 260 gen 272029 parent 5 top level 5 path @.snapshots
ID 261 gen 264278 parent 256 top level 256 path var/lib/portables
ID 262 gen 264278 parent 256 top level 256 path var/lib/machines
ID 263 gen 272030 parent 5 top level 5 path timeshift-btrfs/snapshots/2022-10-13_19-27-58/@

Offline

#17 2023-10-04 18:57:09

c00ter
Member
From: Alaskan in Washington State
Registered: 2014-08-28
Posts: 420

Re: Haven't updates for 2 weeks - network and Xorg are broken

I can't stress enough that Archinstall is not meant as a replacement for following the step-by-step official Installation Guide. Archinstall's target audience is not the inexperienced proto-Archer IMO.


UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Offline

#18 2023-10-04 20:11:17

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Haven't updates for 2 weeks - network and Xorg are broken

The @log subvolume sure sounds interesting, so mount that and see whether your logs are there…

Offline

#19 2023-10-04 21:06:33

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,163
Website

Re: Haven't updates for 2 weeks - network and Xorg are broken

This is unsupportable by the wider community, moving to archinstall subforum.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#20 2023-10-05 09:50:39

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

seth wrote:

The @log subvolume sure sounds interesting, so mount that and see whether your logs are there…

Yes logs are here!

# ls /mnt/@log
Xorg.0.log
Xorg.0.log.old
btmp
journal
lastlog
libvirt
old
pacman.log
private
sssd
swtpm
wtmp

Here's journal: https://bpa.st/CQQQ

Offline

#21 2023-10-05 10:39:45

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

well somehow i booted into my system.
i chrooted into my system from liveusb and installed default linux kernel
then i tried update-grub but it said something isnt mounted
then i googled error, mounted everything, mounted a little bit more, chrooted in system, update-grub, it said something about some folder doesnt exist, then google again, then grub-install /dev/sda (idk why sda but sdb is btrfs so it dont work with it), then update-grub and this worked! tho when i rebooted PC there was only default linux kernel. I booted it:my xorg and network fixed. But i think Xorg and network fixed only in default kernel. also my grub is kinda strange now:
 Grub customizer app
(no kernels detected).
I think rebooting now is bad idea. So im waiting someone to answer what i can do next

P.S. updated-grub again. Now i have default kernel but still havent other ones. tho i have them installed:

➜  ~  pacman -Qe | grep linux
archlinux-keyring 20230918-1
linux 6.5.5.arch1-1.1
linux-firmware 20230804.7be2766d-2
linux-headers 6.5.5.arch1-1.1
linux62-tkg-pds-llvm 6.2.11-273
linux62-tkg-pds-llvm-headers 6.2.11-273
linux63-tkg-cfs-llvm 6.3.7-273
linux63-tkg-cfs-llvm-headers 6.3.7-273
linux64-tkg-pds-llvm 6.4.7-273
linux64-tkg-pds-llvm-headers 6.4.7-273

Last edited by Bluecross (2023-10-05 10:42:17)

Offline

#22 2023-10-05 12:23:02

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Haven't updates for 2 weeks - network and Xorg are broken

The head of the journal is missing, it's not even possible to say what kernel you're booting there.

then i tried update-grub but it said something isnt mounted

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What's likely not mounted in that boot are boot partition and/or ESP

Oct 04 14:16:58 archlinux systemd[1]: Mounting /boot...
Oct 04 14:16:58 archlinux systemd[1]: Mounted /boot.
Oct 04 14:21:44 archlinux systemd[1]: Unmounting /boot...

If you're booting an old kernel, that'll fail because of the missing vfat module.

Offline

#23 2023-10-05 12:44:02

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

seth wrote:

The head of the journal is missing, it's not even possible to say what kernel you're booting there.

then i tried update-grub but it said something isnt mounted

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What's likely not mounted in that boot are boot partition and/or ESP

Oct 04 14:16:58 archlinux systemd[1]: Mounting /boot...
Oct 04 14:16:58 archlinux systemd[1]: Mounted /boot.
Oct 04 14:21:44 archlinux systemd[1]: Unmounting /boot...

If you're booting an old kernel, that'll fail because of the missing vfat module.

can you say exactly which commands i need to run and post?

Offline

#24 2023-10-05 12:55:08

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Haven't updates for 2 weeks - network and Xorg are broken

Well, you were paraphrasing the output of update-grub, were you not?

Did you mount the boot partition?

Offline

#25 2023-10-05 13:09:32

Bluecross
Member
Registered: 2023-06-09
Posts: 14

Re: Haven't updates for 2 weeks - network and Xorg are broken

seth wrote:

Well, you were paraphrasing the output of update-grub, were you not?

Did you mount the boot partition?

i paraphrasing output of update-grub because this error is gone and i cant reproduce it. If you need current output here it is:

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

Yes i mounted boot patrition and it was sda, not sdb. I dont remember exactly but i think it was

sudo mount /dev/sda1 /mnt/@/boot

Last edited by Bluecross (2023-10-05 13:10:11)

Offline

Board footer

Powered by FluxBB