Re: error: out of memory
Be, després de canviar el fitxer initramfs.conf m'ha arrencat sense muntar la partició del /var,, li he fet un fsck i he reniciat i ja l'ha muntada. Ara sembla que el que fa la punyeta es el Python3.11 que diu que a la llista hi te un fitxer sense nom. Però el que es arrencar, ara ja arrenca. Moltes gràcies Jordi. -- Xavier De Yzaguirre xdeyzaguirre(at)gmail(dot)com +34 629 953 830
Re: error: out of memory
Bon dia, sembla que ha d’anar per aquí, jo a mes tinc una partició la nvme0n0p1 vfat, que conte /boot/efi i també l’he de muntar. Bàsicament seri fer el que feia canviant el métode de compressió dels fitxers initramfs. Ara hi torno, ja ho explicaré. A veure si hi ha sort. Salut El dj, 30 març 2023 a les 13:19 Jordi Miguel va escriure: > Hola, > > Em sembla q t'has topat amb aquest bug: > https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1970402 > A l'enllaç [1] trobaràs una solució que et servirà fins que ho arreglin. > > [1] > https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1970402/comments/25 > > > Salutacions, > -- > Para ser realmente grande, hay que estar con la gente, no por encima de > ella. > > > El jue, 30 mar 2023 a las 12:36, Xavier De Yzaguirre i Maura (< > xdeyzagui...@gmail.com>) escribió: > >> 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:00 2,8G 1 loop >> /usr/lib/live/mount/rootfs/filesystem.squashfs >> sda 8:01 14,4G 0 disk >> ├─sda1 8:11 3,4G 0 part >> /usr/lib/live/mount/medium >> └─sda2 8:21 4,9M 0 part >> nvme1n1 259:00 476,9G 0 disk >> └─nvme1n1p1 259:10 476,9G 0 part >> └─PC006.VG01-PC006.LV01 254:00 725,5G 0 lvm >> nvme0n1 259:20 476,9G 0 disk >> ├─nvme0n1p1 259:30 1,9G 0 part >> ├─nvme0n1p2 259:40 119,2G 0 part >> ├─nvme0n1p3 259:50 59,6G 0 part >> ├─nvme0n1p4 259:60 31,7G 0 part >> ├─nvme0n1p5 259:7016G 0 part >> └─nvme0n1p6 259:80 248,6G 0 part >> └─PC006.VG01-PC006.LV01 254:00 725,5G 0 lvm >> La nvme0n1p1 es boot >> La nvme0n1p2 es root >> La nvme0n1p3 es var >> La nvme0n1p4 es tmp >> 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: >>
Re: error: out of memory
Hola, Em sembla q t'has topat amb aquest bug: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1970402 A l'enllaç [1] trobaràs una solució que et servirà fins que ho arreglin. [1] https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1970402/comments/25 Salutacions, -- Para ser realmente grande, hay que estar con la gente, no por encima de ella. El jue, 30 mar 2023 a las 12:36, Xavier De Yzaguirre i Maura (< xdeyzagui...@gmail.com>) escribió: > 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:00 2,8G 1 loop > /usr/lib/live/mount/rootfs/filesystem.squashfs > sda 8:01 14,4G 0 disk > ├─sda1 8:11 3,4G 0 part > /usr/lib/live/mount/medium > └─sda2 8:21 4,9M 0 part > nvme1n1 259:00 476,9G 0 disk > └─nvme1n1p1 259:10 476,9G 0 part > └─PC006.VG01-PC006.LV01 254:00 725,5G 0 lvm > nvme0n1 259:20 476,9G 0 disk > ├─nvme0n1p1 259:30 1,9G 0 part > ├─nvme0n1p2 259:40 119,2G 0 part > ├─nvme0n1p3 259:50 59,6G 0 part > ├─nvme0n1p4 259:60 31,7G 0 part > ├─nvme0n1p5 259:7016G 0 part > └─nvme0n1p6 259:80 248,6G 0 part > └─PC006.VG01-PC006.LV01 254:00 725,5G 0 lvm > La nvme0n1p1 es boot > La nvme0n1p2 es root > La nvme0n1p3 es var > La nvme0n1p4 es tmp > 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:
error: out of memory
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:00 2,8G 1 loop /usr/lib/live/mount/rootfs/filesystem.squashfs sda 8:01 14,4G 0 disk ├─sda1 8:11 3,4G 0 part /usr/lib/live/mount/medium └─sda2 8:21 4,9M 0 part nvme1n1 259:00 476,9G 0 disk └─nvme1n1p1 259:10 476,9G 0 part └─PC006.VG01-PC006.LV01 254:00 725,5G 0 lvm nvme0n1 259:20 476,9G 0 disk ├─nvme0n1p1 259:30 1,9G 0 part ├─nvme0n1p2 259:40 119,2G 0 part ├─nvme0n1p3 259:50 59,6G 0 part ├─nvme0n1p4 259:60 31,7G 0 part ├─nvme0n1p5 259:7016G 0 part └─nvme0n1p6 259:80 248,6G 0 part └─PC006.VG01-PC006.LV01 254:00 725,5G 0 lvm La nvme0n1p1 es boot La nvme0n1p2 es root La nvme0n1p3 es var La nvme0n1p4 es tmp 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