here is my .config
I think I got it for you!
Your config:
Code:
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_AHCI_DWC is not set
# CONFIG_SATA_ACARD_AHCI is not set
These are all "
m
" for PVE.here is my .config
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_AHCI_DWC is not set
# CONFIG_SATA_ACARD_AHCI is not set
m
" for PVE.No it would not return anything, but after you run it, if you then run lsmod again, it would show you ahci loaded and you can lvscan etc...on "bad" kernel
modprobe ahci returns nothig
I am able to run it on Ubuntu but not on Proxmox.
No it would not return anything, but after you run it, if you then run lsmod again, it would show you ahci loaded and you can lvscan etc...
I'm running VM on proxmox with ubuntu 24.04 on virtIO hdd
/boot/config-
.... otherwise you might find yourself rebuilding it all the time and experiencing weird issues only to find some other options are not tweaked for PVE.with .config from generic ubuntu
Looks like for some reason flags where disabled and I dont have expierience with building kernels.
... otherwise you might find yourself rebuilding it all the time and experiencing weird issues only to find some other options are not tweaked for PVE.
diff -u -b config-6.8.12-1-pve config.txt
(yours) - attached.-
.I was also trying to build custom kernel directly on Proxmox using gcc and .confing file from proxmox 6.8 kernel with the same error.
My 6.8 generic pve kernel don't boot. 6.5 works good on my old HW.
I was able to boot new clang based kernel but for some reason my network card was not working.
I will build kernel based on proxmox .config (config-6.8.8-3-pve) and check tomorrow.
Good night and thanks a lot.
I was trying to build pve kernel like was in this thread (https://github.com/proxmox/pve-kernel)but looks like there is some problem with mirror repo
root@ubuntusrv:/home/pawel/pve/pve-kernel# make CC=clang-18 build-dir-fresh
make clean
make[1]: Entering directory '/home/pawel/pve/pve-kernel'
rm -rf *~ proxmox-kernel-[0-9]*/ *.prepared config-6.8.12.org
rm -f *.deb *.dsc *.changes *.buildinfo *.build proxmox-kernel*.tar.*
make[1]: Leaving directory '/home/pawel/pve/pve-kernel'
make proxmox-kernel-6.8.12.prepared
make[1]: Entering directory '/home/pawel/pve/pve-kernel'
test -f "submodules/ubuntu-kernel/README" || git submodule update --init submodules/ubuntu-kernel
Cloning into '/home/pawel/pve/pve-kernel/submodules/ubuntu-kernel'...
Username for 'https://github.com': pderen79
Password for 'https://pderen79@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/proxmox/mirror_ubuntu-kernels/' not found
fatal: clone of 'https://github.com/proxmox/mirror_ubuntu-kernels' into submodule path '/home/pawel/pve/pve-kernel/submodules/ubuntu-kernel' failed
Failed to clone 'submodules/ubuntu-kernel'. Retry scheduled
Cloning into '/home/pawel/pve/pve-kernel/submodules/ubuntu-kernel'...
Username for 'https://github.com':
I have problem with zfs module sources. Where is correct repo for proxmox kernel 6.8 ?
Is this correct one with branch zfs-2.0.6-bullseye => https://git.proxmox.com/?p=zfsonlinux.git;a=summary
I see there is no branch for bookworm.
pawel@ubuntusrv:~/pve/pve-kernel$ sudo CC=clang-18 make build-dir-fresh
[sudo] password for pawel:
make clean
make[1]: Entering directory '/home/pawel/pve/pve-kernel'
rm -rf *~ proxmox-kernel-[0-9]*/ *.prepared config-6.8.12.org
rm -f *.deb *.dsc *.changes *.buildinfo *.build proxmox-kernel*.tar.*
make[1]: Leaving directory '/home/pawel/pve/pve-kernel'
make proxmox-kernel-6.8.12.prepared
make[1]: Entering directory '/home/pawel/pve/pve-kernel'
test -f "submodules/ubuntu-kernel/README" || git submodule update --init submodules/ubuntu-kernel
test -f "submodules/zfsonlinux/Makefile" || git submodule update --init --recursive submodules/zfsonlinux
fatal: remote error: upload-pack: not our ref f5c9e3a9a85e73ef96f02375a745b10115a319b3
fatal: Fetched in submodule path 'submodules/zfsonlinux', but it did not contain f5c9e3a9a85e73ef96f02375a745b10115a319b3. Direct fetching of that commit failed.
make[1]: *** [Makefile:147: submodule] Error 128
make[1]: Leaving directory '/home/pawel/pve/pve-kernel'
make: *** [Makefile:86: build-dir-fresh] Error 2