Bon dia jovent,
Fa un parell de setmanes que he d'arrencar el portàtil amb un live usb, si faig l'arrencada normal, em diu error: out of memory i em fa un kernel panic.
Crec que tot va començar arrel d'una arrencada després d'un upgrade, però no ho tinc clar.
L'equip es un msi Prestige 15 A10SC-007ES amb 32 GB de RAM
Porta dos discs NVME de 512 GB configurats així:
user@debian:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 2,8G 1 loop /usr/lib/live/mount/rootfs/filesystem.squashfs
sda 8:0 1 14,4G 0 disk
├─sda1 8:1 1 3,4G 0 part /usr/lib/live/mount/medium
└─sda2 8:2 1 4,9M 0 part
nvme1n1 259:0 0 476,9G 0 disk
└─nvme1n1p1 259:1 0 476,9G 0 part
└─PC006.VG01-PC006.LV01 254:0 0 725,5G 0 lvm
nvme0n1 259:2 0 476,9G 0 disk
├─nvme0n1p1 259:3 0 1,9G 0 part
├─nvme0n1p2 259:4 0 119,2G 0 part
├─nvme0n1p3 259:5 0 59,6G 0 part
├─nvme0n1p4 259:6 0 31,7G 0 part
├─nvme0n1p5 259:7 0 16G 0 part
└─nvme0n1p6 259:8 0 248,6G 0 part
└─PC006.VG01-PC006.LV01 254:0 0 725,5G 0 lvm
La nvme0n1p1 es boot
La nvme0n1p2 es root
La nvme0n1p3 es var
La nvme0n1p5 es swap
La PC006.VG01-PC006.LV01 (LVM suma de les nvme0n1p5 i la nvme1n1p1), es on hi tinc /home
El disc sda es l'usb amb la live que estic utilitzant per arrencar que es una 11.6 (jo utilitzo la 12, la del menjallibres).
Seguint algunes indicacions que he trobat googlejant faig el següent:
user@debian:~$ sudo mount /dev/nvme0n1p2 /mnt
user@debian:~$ sudo mount /dev/nvme0n1p1 /mnt/boot/efi
user@debian:~$ sudo mount /dev/nvme0n1p3 /mnt/var
user@debian:~$ sudo mount /dev/nvme0n1p4 /mnt/tmp
user@debian:~$ cat /mnt/etc/resolv.conf
# Generated by NetworkManager
nameserver 80.58.61.254
nameserver 80.58.61.250
user@debian:~$ sudo mount --bind /dev /mnt/dev
user@debian:~$ sudo mount --bind /dev/pts /mnt/dev/pts
user@debian:~$ sudo mount --bind /proc /mnt/proc
user@debian:~$ sudo mount --bind /sys /mnt/sys
user@debian:~$
I tot seguit faig un chroot a /mnt.
I comprovo que tinc accés a la xarxa per si calgués:
root@debian:/# ping debian.org
PING debian.org (128.31.0.62) 56(84) bytes of data.
64 bytes from mirror-csail.debian.org (128.31.0.62): icmp_seq=1 ttl=50 time=112 ms
64 bytes from mirror-csail.debian.org (128.31.0.62): icmp_seq=2 ttl=50 time=113 ms
^C
--- debian.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1078ms
rtt min/avg/max/mdev = 112.442/112.879/113.316/0.437 ms
Desprès miro quines imatges tinc instal·lades:
root@debian:/# ls -ahl /boot
total 162M
drwxr-xr-x 4 root root 4,0K 30 de març 11:39 .
drwxr-xr-x 24 root root 4,0K 12 de març 13:03 ..
-rw-r--r-- 1 root root 254K 29 de gen. 13:33 config-6.1.0-3-amd64
-rw-r--r-- 1 root root 254K 15 de febr. 06:56 config-6.1.0-5-amd64
-rw-r--r-- 1 root root 254K 5 de març 16:33 config-6.1.0-6-amd64
drwxr-xr-x 3 root root 4,0K 1 de gen. 1970 efi
drwxr-xr-x 8 root root 4,0K 30 de març 10:35 grub
-rw-r--r-- 1 root root 46M 30 de març 10:35 initrd.img-6.1.0-3-amd64
-rw-r--r-- 1 root root 46M 30 de març 10:35 initrd.img-6.1.0-5-amd64
-rw-r--r-- 1 root root 47M 30 de març 11:39 initrd.img-6.1.0-6-amd64
-rw-r--r-- 1 root root 83 29 de gen. 13:33 System.map-6.1.0-3-amd64
-rw-r--r-- 1 root root 83 15 de febr. 06:56 System.map-6.1.0-5-amd64
-rw-r--r-- 1 root root 83 5 de març 16:33 System.map-6.1.0-6-amd64
-rw-r--r-- 1 root root 8,0M 29 de gen. 13:33 vmlinuz-6.1.0-3-amd64
-rw-r--r-- 1 root root 7,8M 15 de febr. 06:56 vmlinuz-6.1.0-5-amd64
-rw-r--r-- 1 root root 8,0M 5 de març 16:33 vmlinuz-6.1.0-6-amd64
I actualitzo les initramfs:
root@debian:/# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-6.1.0-6-amd64
update-initramfs: Generating /boot/initrd.img-6.1.0-5-amd64
update-initramfs: Generating /boot/initrd.img-6.1.0-3-amd64
Després actualitzo grub:root@debian:/# update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/Breeze/theme.txt
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.1.0-6-amd64
Found initrd image: /boot/initrd.img-6.1.0-6-amd64
Found linux image: /boot/vmlinuz-6.1.0-5-amd64
Found initrd image: /boot/initrd.img-6.1.0-5-amd64
Found linux image: /boot/vmlinuz-6.1.0-3-amd64
Found initrd image: /boot/initrd.img-6.1.0-3-amd64
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.
done
Tot seguit torno a arrencar i ... res de res, torno a obtenir el miserable missatge d'error de la memòria.He arrencat amb un USB amb el memtest86+ i l'hi he deixat donar 10 voltes a la RAM i zero errors.
Hi ha algú que pugui tenir idea de per on van els trets?
Gràcies per aguantar fins aquí
I salut.
Xavier De Yzaguirre
xdeyzaguirre(at)gmail(dot)com
+34 629 953 830
![]()