Page 38 of 139

Re: New kernels

Posted: Tue Jun 13, 2023 9:32 am
by xeno74
sailorMH wrote: Tue Jun 13, 2023 8:39 am yes, I booted it classic way, no initrd, no label something like:

Code: Select all

setenv bootargs "root=/dev/sdbx rootdelay=10"
boot -elf -noints -fs=ext2 usbdisk0:vmlinux
Is sdbX on a USB drive?

Re: New kernels

Posted: Tue Jun 13, 2023 11:46 am
by musa
Hi
Kernel vmlinux-6.4_rc6 boot with Fienix, Adelie and Debian 64. Debian 64 collapsed with the last update and failed to recover so I have to reinstall now .
No error with kernel boot. No I download and unpack on a second system every time.
Have a nice day
Here is Debian 64 before it breakdown.
Image

Re: New kernels

Posted: Tue Jun 13, 2023 4:12 pm
by xeno74
musa wrote: Tue Jun 13, 2023 11:46 am Here is Debian 64 before it breakdown.
Hi Peter,

Many thanks for testing! :-) I also tried to update Debian PPC64 today but without any success. It doesn't work anymore.

I installed Fienix instead today. :-)

Image

Image

Cheers,
Christian

Re: New kernels

Posted: Tue Jun 13, 2023 5:00 pm
by sailorMH
xeno74 wrote: Tue Jun 13, 2023 9:32 am Is sdbX on a USB drive?
no, it is SATA from X1000 motherboard ( SB600 southbridge )

Re: New kernels

Posted: Wed Jun 14, 2023 6:12 am
by xeno74
sailorMH wrote: Tue Jun 13, 2023 5:00 pm no, it is SATA from X1000 motherboard ( SB600 southbridge )
Sometimes I have the same issues if a CD or DVD in the drive. I‘ll investigate it further.

Re: New kernels

Posted: Wed Jun 14, 2023 6:09 pm
by sailorMH
This case was for sure with empty DVD drive.
And all four SATA are conncted.

Re: New kernels

Posted: Thu Jun 15, 2023 10:05 am
by xeno74
KVM-PR no longer works on an X1000 if the kernel has been compiled with a new GCC.

I changed the GCC from version 12.2.0 to version 9.5.0 because of the issues with KVM on Linux PPC today. (Cross compiling environment on Ubuntu 23.04)
  1. Code: Select all

    sudo apt install gcc-9-powerpc-linux-gnu
  2. Code: Select all

    sudo apt install g++-9-powerpc-linux-gnu
  3. Code: Select all

    sudo update-alternatives --install /usr/bin/powerpc-linux-gnu-gcc powerpc-linux-gnu-gcc /usr/bin/powerpc-linux-gnu-gcc-9 10
  4. Code: Select all

    sudo update-alternatives --install /usr/bin/powerpc-linux-gnu-g++ powerpc-linux-gnu-g++ /usr/bin/powerpc-linux-gnu-g++-9 10
Results:

powerpc-linux-gnu-gcc --version

Code: Select all

powerpc-linux-gnu-gcc (Ubuntu 9.5.0-1ubuntu1) 9.5.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
powerpc-linux-gnu-g++ --version

Code: Select all

powerpc-linux-gnu-g++ (Ubuntu 9.5.0-1ubuntu1) 9.5.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc oldconfig

Code: Select all

#
# Automatically generated file; DO NOT EDIT.
# Linux/powerpc 6.4.0-rc6 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="powerpc-linux-gnu-gcc (Ubuntu 9.5.0-1ubuntu1) 9.5.0"
time make -j16 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux

Code: Select all

real	2m23,661s
user	32m57,396s
sys	2m20,424s
time make -j16 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules

Code: Select all

real	0m55,319s
user	13m8,843s
sys	1m4,819s
I created the kvm kernel modules with the GCC 9.5.0 for the X1000 again.

Download: kvm_6.4-rc6_X1000.tar.gz

Instructions for installing the new kvm kernel modules on the X1000:
  1. Code: Select all

    cd /lib/modules/6.4.0-rc6_A-EON_X1000_Nemo/kernel/arch/powerpc/
  2. Code: Select all

    lsmod | grep kvm
  3. Code: Select all

    sudo modprobe -r kvm-pr
  4. Code: Select all

    sudo modprobe -r kvm
  5. Code: Select all

    lsmod | grep kvm
  6. Code: Select all

    sudo rm -rf kvm
  7. Code: Select all

    sudo wget http://www.xenosoft.de/kvm_6.4-rc6_X1000.tar.gz
  8. Code: Select all

    sudo tar zxvf kvm_6.4-rc6_X1000.tar.gz
  9. Code: Select all

    sudo rm kvm_6.4-rc6_X1000.tar.gz
  10. Code: Select all

    sudo modprobe kvm-pr
  11. Code: Select all

    lsmod | grep kvm
  12. Test:

    Code: Select all

    qemu-system-ppc -M g3beige -enable-kvm -m 2047 -bios openbios-ppc -boot c -hda Lubuntu_14.04_PowerPC_QEMU.img -g 1280x1024x32 -kernel vmlinux -initrd initrd -append "ro root=/dev/sda3" -device pci-ohci,id=newusb -device usb-tablet -nic user,model=e1000
Screenshot:

Image

Re: New kernels

Posted: Fri Jun 16, 2023 7:43 pm
by Hypex
sailorMH wrote: Tue Jun 13, 2023 8:39 am In past I had problems with cfcard, both with fat and ext2. It is very often unreadable from CFE. Maybe I have to exchange my old cfcard.
Is CF more reliable than USB? I cannot get USB working from my case. It only works from my Apple keyboard if it wants to.

Re: New kernels

Posted: Fri Jun 16, 2023 7:46 pm
by Hypex
So tested 6.4-RC6 and boots fine on Fienix. I also tried it with a 5.6 ramdisk I built from Fienix and found that works as well. My Fienix is also due for an update now. :-)

Re: New kernels

Posted: Sat Jun 17, 2023 8:24 am
by xeno74
Hypex wrote: Fri Jun 16, 2023 7:46 pm So tested 6.4-RC6 and boots fine on Fienix. I also tried it with a 5.6 ramdisk I built from Fienix and found that works as well. My Fienix is also due for an update now. :-)
Thank you for testing! :-)