View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008421 | Kali Linux | General Bug | public | 2023-08-12 15:04 | 2024-06-14 15:14 |
Reporter | murderousturd | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | open | ||
Product Version | 2023.2 | ||||
Summary | 0008421: Kali 6.3 updrade causes Kernel Panic on reboot | ||||
Description | Upgraded from 6.1 on Parallels (Mac M1 Max) Attempting to boot after upgrade, the system has a kernel panic. I am able to boot back into 6.1 after rebooting the system again and selecting 6.1 in the boot menu. It appears that there is an issue with installing the headers for 6.3. When installing the headers I get: sudo dpkg -i Downloads/linux-headers-6.3.0-kali1-arm64_6.3.7-1kali1_arm64.deb Building module: The make.log is attached | ||||
Steps To Reproduce | sudo apt update reboot | ||||
Additional Information | The source of the issue appears to be in the linux-headers-6.3.0-kali1-arm64_6.3.7-1kali1_arm64.deb package In the make.log file, there looks to be a pointer-type error (line 42), which seems to propagate through the rest of the installation of the headers. | ||||
Attached Files | make.log (16,800 bytes)
DKMS make.log for parallels-tools-1.8.2.23832 for kernel 6.3.0-kali1-arm64 (aarch64) Sat Aug 12 04:39:15 PM CEST 2023 Will use compiler CC="gcc-12". Compiler version "gcc-12 (Debian 12.3.0-6) 12.3.0" cd prl_tg/Toolgate/Guest/Linux/prl_tg && make CC=gcc-12 make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg' 1: /lib/modules/6.3.0-kali1-arm64/build 2: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg 3: 20230812 4: 1.10.2 Start compile prl_tg... make -C /lib/modules/6.3.0-kali1-arm64/build M=/var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg CC=gcc-12 modules make[2]: Entering directory '/usr/src/linux-headers-6.3.0-kali1-arm64' 1: /lib/modules/6.3.0-kali1-arm64/build 2: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg 3: 20230812 4: 1.10.2 CC [M] /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o CC [M] /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o LD [M] /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.o 1: /lib/modules/6.3.0-kali1-arm64/build 2: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg 3: 20230812 4: 1.10.2 MODPOST /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/Module.symvers CC [M] /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.mod.o LD [M] /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko BTF [M] /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko Skipping BTF generation for /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko due to unavailability of vmlinux make[2]: Leaving directory '/usr/src/linux-headers-6.3.0-kali1-arm64' make[1]: Leaving directory '/var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg' cp -f prl_tg/Toolgate/Guest/Linux/prl_tg/*.symvers prl_fs/SharedFolders/Guest/Linux/prl_fs ||: cd prl_fs/SharedFolders/Guest/Linux/prl_fs && make CC=gcc-12 KBUILD_EXTRA_SYMBOLS=/var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_tg/Toolgate/Guest/Linux/prl_tg/Module.symvers make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs' make -C /lib/modules/6.3.0-kali1-arm64/build M=/var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs CC=gcc-12 make[2]: Entering directory '/usr/src/linux-headers-6.3.0-kali1-arm64' CC [M] /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.o CC [M] /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.o /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c: In function ‘prlfs_inode_setattr’: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:49:38: error: passing argument 1 of ‘setattr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types] 49 | #define prlfs_user_ns (init_task.cred->user_ns) | ~~~~~~~~~~~~~~~^~~~~~~~~~ | | | struct user_namespace * /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:51:30: note: in expansion of macro ‘prlfs_user_ns’ 51 | setattr_copy(prlfs_user_ns, inode, attr) | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:415:9: note: in expansion of macro ‘prlfs_setattr_copy’ 415 | prlfs_setattr_copy(inode, attr); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-headers-6.3.0-kali1-common/arch/arm64/include/asm/elf.h:141, from /usr/src/linux-headers-6.3.0-kali1-common/include/linux/elf.h:6, from /usr/src/linux-headers-6.3.0-kali1-common/include/linux/module.h:19, from /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:12: /usr/src/linux-headers-6.3.0-kali1-common/include/linux/fs.h:2949:19: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct user_namespace *’ 2949 | void setattr_copy(struct mnt_idmap *, struct inode *inode, | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c: In function ‘__prlfs_getattr’: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:49:38: error: passing argument 1 of ‘generic_fillattr’ from incompatible pointer type [-Werror=incompatible-pointer-types] 49 | #define prlfs_user_ns (init_task.cred->user_ns) | ~~~~~~~~~~~~~~~^~~~~~~~~~ | | | struct user_namespace * /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:53:34: note: in expansion of macro ‘prlfs_user_ns’ 53 | generic_fillattr(prlfs_user_ns, inode, stat) | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:524:9: note: in expansion of macro ‘prlfs_fillattr’ 524 | prlfs_fillattr(dentry->d_inode, stat); | ^~~~~~~~~~~~~~ /usr/src/linux-headers-6.3.0-kali1-common/include/linux/fs.h:2841:23: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct user_namespace *’ 2841 | void generic_fillattr(struct mnt_idmap *, struct inode *, struct kstat *); | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c: In function ‘prlfs_permission’: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:49:38: error: passing argument 1 of ‘generic_permission’ from incompatible pointer type [-Werror=incompatible-pointer-types] 49 | #define prlfs_user_ns (init_task.cred->user_ns) | ~~~~~~~~~~~~~~~^~~~~~~~~~ | | | struct user_namespace * /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:600:43: note: in expansion of macro ‘prlfs_user_ns’ 600 | return generic_permission(prlfs_user_ns, inode, mask); | ^~~~~~~~~~~~~ /usr/src/linux-headers-6.3.0-kali1-common/include/linux/fs.h:2477:24: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct user_namespace *’ 2477 | int generic_permission(struct mnt_idmap *, struct inode *, int); | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c: At top level: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:710:27: error: initialization of ‘int (*)(struct mnt_idmap *, struct dentry *, struct iattr *)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct dentry *, struct iattr *)’ [-Werror=incompatible-pointer-types] 710 | .setattr = prlfs_setattr, | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:710:27: note: (near initialization for ‘prlfs_file_iops.setattr’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:711:27: error: initialization of ‘int (*)(struct mnt_idmap *, struct inode *, int)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, int)’ [-Werror=incompatible-pointer-types] 711 | .permission = prlfs_permission, | ^~~~~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:711:27: note: (near initialization for ‘prlfs_file_iops.permission’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:712:27: error: initialization of ‘int (*)(struct mnt_idmap *, const struct path *, struct kstat *, u32, unsigned int)’ {aka ‘int (*)(struct mnt_idmap *, const struct path *, struct kstat *, unsigned int, unsigned int)’} from incompatible pointer type ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, u32, unsigned int)’ {aka ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, unsigned int, unsigned int)’} [-Werror=incompatible-pointer-types] 712 | .getattr = prlfs_getattr, | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:712:27: note: (near initialization for ‘prlfs_file_iops.getattr’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:716:27: error: initialization of ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t, bool)’ {aka ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, short unsigned int, _Bool)’} from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, prl_umode_t, bool)’ {aka ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, short unsigned int, _Bool)’} [-Werror=incompatible-pointer-types] 716 | .create = prlfs_create, | ^~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:716:27: note: (near initialization for ‘prlfs_dir_iops.create’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:719:27: error: initialization of ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t)’ {aka ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, short unsigned int)’} from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, prl_umode_t)’ {aka ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, short unsigned int)’} [-Werror=incompatible-pointer-types] 719 | .mkdir = prlfs_mkdir, | ^~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:719:27: note: (near initialization for ‘prlfs_dir_iops.mkdir’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:721:27: error: initialization of ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int)’ [-Werror=incompatible-pointer-types] 721 | .rename = prlfs_rename, | ^~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:721:27: note: (near initialization for ‘prlfs_dir_iops.rename’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:722:27: error: initialization of ‘int (*)(struct mnt_idmap *, struct dentry *, struct iattr *)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct dentry *, struct iattr *)’ [-Werror=incompatible-pointer-types] 722 | .setattr = prlfs_setattr, | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:722:27: note: (near initialization for ‘prlfs_dir_iops.setattr’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:723:27: error: initialization of ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, const char *)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, const char *)’ [-Werror=incompatible-pointer-types] 723 | .symlink = prlfs_symlink, | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:723:27: note: (near initialization for ‘prlfs_dir_iops.symlink’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:724:27: error: initialization of ‘int (*)(struct mnt_idmap *, struct inode *, int)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, int)’ [-Werror=incompatible-pointer-types] 724 | .permission = prlfs_permission, | ^~~~~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:724:27: note: (near initialization for ‘prlfs_dir_iops.permission’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:725:27: error: initialization of ‘int (*)(struct mnt_idmap *, const struct path *, struct kstat *, u32, unsigned int)’ {aka ‘int (*)(struct mnt_idmap *, const struct path *, struct kstat *, unsigned int, unsigned int)’} from incompatible pointer type ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, u32, unsigned int)’ {aka ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, unsigned int, unsigned int)’} [-Werror=incompatible-pointer-types] 725 | .getattr = prlfs_getattr, | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:725:27: note: (near initialization for ‘prlfs_dir_iops.getattr’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:741:21: error: initialization of ‘int (*)(struct mnt_idmap *, struct dentry *, struct iattr *)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct dentry *, struct iattr *)’ [-Werror=incompatible-pointer-types] 741 | .setattr = prlfs_setattr, | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:741:21: note: (near initialization for ‘prlfs_symlink_iops.setattr’) /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:742:21: error: initialization of ‘int (*)(struct mnt_idmap *, const struct path *, struct kstat *, u32, unsigned int)’ {aka ‘int (*)(struct mnt_idmap *, const struct path *, struct kstat *, unsigned int, unsigned int)’} from incompatible pointer type ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, u32, unsigned int)’ {aka ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, unsigned int, unsigned int)’} [-Werror=incompatible-pointer-types] 742 | .getattr = prlfs_getattr, | ^~~~~~~~~~~~~ /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:742:21: note: (near initialization for ‘prlfs_symlink_iops.getattr’) cc1: some warnings being treated as errors make[3]: *** [/usr/src/linux-headers-6.3.0-kali1-common/scripts/Makefile.build:257: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.o] Error 1 make[2]: *** [/usr/src/linux-headers-6.3.0-kali1-common/Makefile:2050: /var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-6.3.0-kali1-arm64' make[1]: *** [Makefile:36: all] Error 2 make[1]: Leaving directory '/var/lib/dkms/parallels-tools/1.8.2.23832/build/prl_fs/SharedFolders/Guest/Linux/prl_fs' make: *** [Makefile.kmods:51: compile] Error 2 | ||||
Which version of Parllels are you on? I cannot reproduce it here, but I am currently using a tech preview. Unfortunately, there isn't much we can do on the Kali side of things as Parallels Tools are provided by Parallels themselves, and not part of the Linux kernel. Additionally, you might want to use |
|
I have tried using 'apt install linux-headers-$(uname -r)' and have the same result. Currently using Parallels version 1.8.2 (23832), the App Store Edition. I'll reach out to Parallels support and see what they can do. Thanks |
|
Unfortunately I had the same issue when upgrading linux kernel 6.3, the package failed to be extracted during apt full-upgrade and I had to rollback to kernel 6.1 I'm using kali in bare metal, no dualboot or VM by the way |
|
Ok, so the answer from Parallels is that Parallels doesn't support Kernel 6.2, so cannot be upgraded to 6.3. Is there a version of the Kali VM I can try downloading, since it looks like it works in tech preview? |
|
We do not provide prebuilt VMs. The tech preview I mention is Parallels, not Kali. |
|
what you can do, or should be able to do, is add the "set default" (I don't recall the exact option name), in the grub config, so it defaults to the 6.1 kernel, until Parallels get around to releasing an update that addresses their addons not supporting newer kernels. 6.4 is already in the pipeline and will be working its way into kali at some point as well. |
|
The kernel 6.4 is in kali-experimental, as can be seen at: http://pkg.kali.org/pkg/linux |
|
This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity. Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)? If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-12 15:04 | murderousturd | New Issue | |
2023-08-12 15:04 | murderousturd | File Added: make.log | |
2023-08-14 17:41 | steev | Note Added: 0018321 | |
2023-08-15 14:37 | murderousturd | Note Added: 0018322 | |
2023-08-15 15:10 |
|
Note Added: 0018323 | |
2023-08-16 10:50 | murderousturd | Note Added: 0018331 | |
2023-08-16 18:59 | steev | Note Added: 0018343 | |
2023-08-17 21:51 | steev | Note Added: 0018345 | |
2023-08-23 08:31 | arnaudr | Note Added: 0018358 | |
2024-06-14 15:14 | g0tmi1k | Note Added: 0019410 | |
2024-06-14 15:14 | g0tmi1k | Status | new => closed |