Pagina 2 di 2

Re: (non)aggiornamento kernel

Inviato: gio 25 lug 2019, 22:35
da rik70
ponce ha scritto:pero' su tutti i desktop ho il 5.2.x e per ora, dando un'abbondante tastata, non riscontro i problemi che citi
Kernel Host = 5.2.2
Guest = Gentoo

Codice: Seleziona tutto

gentoo ~ # emerge -B glibc
[....]
x86_64-pc-linux-gnu-gcc -m32 -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed getsgent_r.c -c -std=gnu11 -fgnu89-inline  -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno    -Wa,-mtune=i686 -fexceptions  -ftls-model=initial-exec   -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/gshadow  -I/var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/i386/i686  -I../sysdeps/i386/i686/nptl  -I../sysdeps/unix/sysv/linux/i386  -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -I../sysdeps/i386/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/i386  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/i386/i686/fpu/multiarch  -I../sysdeps/i386/i686/fpu  -I../sysdeps/i386/i686/multiarch  -I../sysdeps/i386/i686  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../sysdeps/i386  -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include-fixed -isystem /usr/include  -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC     -DTOP_NAMESPACE=glibc -o /var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/gshadow/getsgent_r.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/gshadow/getsgent_r.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/gshadow/getsgent_r.o
In file included from ../include/stdlib.h:6,
                 from ../sysdeps/i386/nptl/tls.h:27,
                 from ../sysdeps/i386/i686/nptl/tls.h:33,
                 from ../include/errno.h:25,
                 from putsgent.c:18:
../stdlib/stdlib.h:22: error: unterminated #ifndef
 #ifndef _STDLIB_H
 
In file included from ../sysdeps/i386/nptl/tls.h:27,
                 from ../sysdeps/i386/i686/nptl/tls.h:33,
                 from ../include/errno.h:25,
                 from putsgent.c:18:
../include/stdlib.h:34:18: error: ‘qsort_r’ undeclared here (not in a function)
 extern __typeof (qsort_r) __qsort_r;
                  ^~~~~~~
make[2]: *** [../o-iterator.mk:9: /var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/gshadow/putsgent.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.29-r2/work/glibc-2.29/gshadow'
make[1]: *** [Makefile:259: gshadow/subdir_lib] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.29-r2/work/glibc-2.29'
make: *** [Makefile:9: all] Error 2
make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl'
 * ERROR: sys-libs/glibc-2.29-r2::gentoo failed (compile phase):
 *   emake failed
 * 

Riavvio host su kernel 5.0.21:

Codice: Seleziona tutto

gentoo ~ # emerge -B glibc
[....]
>>> Completed installing glibc-2.29-r2 into /var/tmp/portage/sys-libs/glibc-2.29-r2/image/

 * Final size of build directory: 609220 KiB (594.9 MiB)
 * Final size of installed tree:   78140 KiB ( 76.3 MiB)

making executable: /usr/lib/libc.so
making executable: /usr/lib64/libc.so
making executable: /usr/lib64/libm.so
>>> Done.


Re: (non)aggiornamento kernel

Inviato: gio 25 lug 2019, 22:42
da rik70
rik70 ha scritto:Kernel Host = 5.2.2
Guest = Gentoo
Altro esempio:

Codice: Seleziona tutto

In file included from /var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses/base/lib_chgat.c:43:
/var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses/curses.priv.h:59:41: warning: ‘Ident’ defined but not used [-Wunused-const-variable=]
 #define MODULE_ID(id) static const char Ident[] = id;
                                         ^~~~~
/var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses/base/lib_chgat.c:45:1: note: in expansion of macro ‘MODULE_ID’
 MODULE_ID("$Id: lib_chgat.c,v 1.12 2017/03/16 23:45:20 tom Exp $")
 ^~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses -I../include -I/var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses/../include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DXTSTRINGDEFINES -DNDEBUG -O2 -march=native -O2 -pipe --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum -c /var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses/base/lib_clear.c -o ../objects/lib_clear.o
Assembler messages:
Internal error (Segmentation fault).
Please report this bug.
In file included from /var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses/base/lib_clear.c:41:
/var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses/curses.priv.h:59:41: warning: ‘Ident’ defined but not used [-Wunused-const-variable=]
 #define MODULE_ID(id) static const char Ident[] = id;
                                         ^~~~~
/var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1/ncurses/base/lib_clear.c:43:1: note: in expansion of macro ‘MODULE_ID’
 MODULE_ID("$Id: lib_clear.c,v 1.8 2009/10/24 22:33:29 tom Exp $")
 ^~~~~~~~~
make[1]: *** [Makefile:2397: ../objects/lib_clear.o] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/ncurses-6.1_p20181020/work/ncurses-6.1-abi_x86_64.amd64/ncursesw/ncurses'
make: *** [Makefile:115: all] Error 2
 * ERROR: sys-libs/ncurses-6.1_p20181020::gentoo failed (compile phase):
 *   emake failed
Mai visto una roba simile.

Si comporta, per quanto ne possa capire, come se la macchina Guest avesse un problema hardware.

Re: (non)aggiornamento kernel

Inviato: ven 26 lug 2019, 12:29
da rik70
rik70 ha scritto:come se la macchina Guest avesse un problema hardware.
Era la CPU dell'host che scaldava troppo :oops:

Pulito il dissipatore, il problema non si ripresenta.

Strano però il comportamento coi diversi kernel.

Re: (non)aggiornamento kernel

Inviato: ven 26 lug 2019, 16:31
da rik70
P.s.

Per non parlare di cose tipo questa:

Codice: Seleziona tutto

WARNING: CPU: 3 PID: 9450 at fs/ext4/inode.c:3941 ext4_set_page_dirty+0x3e/0x50 [ext4]
[10070.932107] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache vhost_net vhost tap xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c tun bridge stp llc fuse ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter msr nct6775 hwmon_vid sunrpc snd_hda_codec_hdmi snd_hda_codec_realtek intel_rapl_msr snd_hda_codec_generic intel_rapl_common ledtrig_audio x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel kvm_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer kvm snd irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel mousedev joydev aes_x86_64 mxm_wmi crypto_simd cryptd glue_helper e1000e wmi intel_cstate mei_hdcp mei_me mei soundcore intel_pch_thermal iTCO_wdt iTCO_vendor_support intel_uncore evdev input_leds i2c_i801 intel_rapl_perf mac_hid loop sg ip_tables x_tables
[10070.932162]  ext4 crc32c_generic crc16 mbcache jbd2 hid_logitech ff_memless hid_generic usbhid hid sd_mod serio_raw atkbd libps2 ahci libahci libata xhci_pci xhci_hcd scsi_mod crc32c_intel i8042 serio i915 intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm agpgart
[10070.932191] CPU: 3 PID: 9450 Comm: kworker/u8:2 Not tainted 5.3.0-rc1 #1
[10070.932194] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z170M Extreme4, BIOS P7.20 12/13/2016
[10070.932272] Workqueue: i915 __i915_gem_free_work [i915]
[10070.932304] RIP: 0010:ext4_set_page_dirty+0x3e/0x50 [ext4]
[10070.932309] Code: 48 8b 00 a8 01 75 16 48 8b 57 08 48 8d 42 ff 83 e2 01 48 0f 44 c7 48 8b 00 a8 08 74 0d 48 8b 07 f6 c4 20 74 0f e9 f2 67 ee c0 <0f> 0b 48 8b 07 f6 c4 20 75 f1 0f 0b e9 e1 67 ee c0 90 0f 1f 44 00
[10070.932311] RSP: 0018:ffffaf0203d1fd98 EFLAGS: 00010246
[10070.932315] RAX: 02ffff0000002036 RBX: ffff92f10a388000 RCX: 0000000000000000
[10070.932318] RDX: 0000000000000000 RSI: 0000000130d79000 RDI: fffff1f2c6846380
[10070.932320] RBP: fffff1f2c6846380 R08: 0000000130d79000 R09: ffffffffc027fe6b
[10070.932322] R10: ffff92f10a05f36c R11: 0000000000000000 R12: 00000000001a118e
[10070.932324] R13: ffff92f13ffa3000 R14: ffff92f0721a5d40 R15: 0000000000000000
[10070.932327] FS:  0000000000000000(0000) GS:ffff92f16eb80000(0000) knlGS:0000000000000000
[10070.932330] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[10070.932332] CR2: 00007f7017e4c528 CR3: 000000026c20a004 CR4: 00000000003606e0
[10070.932334] Call Trace:
[10070.932415]  i915_gem_userptr_put_pages+0x13f/0x1c0 [i915]
[10070.932490]  __i915_gem_object_put_pages+0x5e/0xa0 [i915]
[10070.932559]  __i915_gem_free_objects+0x123/0x230 [i915]
[10070.932628]  __i915_gem_free_work+0x69/0x90 [i915]
[10070.932637]  process_one_work+0x1d1/0x3a0
[10070.932643]  worker_thread+0x4a/0x3d0
[10070.932649]  kthread+0xfb/0x130
[10070.932653]  ? process_one_work+0x3a0/0x3a0
[10070.932657]  ? kthread_park+0x80/0x80
[10070.932663]  ret_from_fork+0x35/0x40
[10070.932670] ---[ end trace dc05a54cbe1f63fe ]---
Bene fa Pat a non stare dietro ai casini che stanno combinando.

Re: (non)aggiornamento kernel

Inviato: ven 26 lug 2019, 16:46
da ponce
vabbe', dai, quella e' la prima rc di un nuovo kernel, e' abbastanza normale...

Re: (non)aggiornamento kernel

Inviato: ven 26 lug 2019, 16:48
da rik70
ponce ha scritto:vabbe', dai, quella e' la prima rc di un nuovo kernel, e' abbastanza normale...
No no, è dal 5.1 che c'è quel problema.
Dicono che sanno ma che non hanno ancora una soluzione.