Page 37 of 145
					
				Re: New kernels
				Posted: Wed Jun 07, 2023 7:45 pm
				by musa
				xeno74 wrote: Wed Jun 07, 2023 11:15 am
Have you seen any error messages in the kernel panic?
/dev/root: cannot open blockdev
vfs: cannot open root device "sdc4"  or unknow-block (0,0): error -6
How many hard disks/SSDs are installed in your X1000? 
3
Are they connected to the SATA ports? 
yes
Is one connected to the IDE port?
no There is a catweasel on the ide port
Maybe you need to add "
rootdelay=5" to the boot arguments.
Dont work and rootdelay=10 dont work
Only "bootargs" or "setenv bootargs"?
setenv bootargs
Void PPC and Debian Sid PPC64 boot with the RC5 on my X1000.
On my x1000 there booting with 5.11 with no errrors . some of the 6.4 kernel work but not all 
 
 
			
					
				Re: New kernels
				Posted: Thu Jun 08, 2023 5:08 pm
				by sailorMH
				musa wrote: Wed Jun 07, 2023 7:45 pm
vfs: cannot open root device "sdc4"  or unknow-block (0,0): error -6
 
exactly this error I had if I tested PCIe x8 -> 2x PCIe x4 switch.
That was strange, because I not changed harddisk configuration, only config change  was this:
linux gfx card HD6xxx was removed from 2.slot x8, into this slot I put PCIe switch and graphic card connect to one connector of switch.
I have some photos of screen. I stoped with switch testing due to little importance and very few time. But if Musa has the same error ( with different configuration ), it should be investigated. I hope I will do it on weekend.
P.S. are there debug version of kernel? Or are there some kernel command line parameters debug to serial? 
Will work for us some of these?  
https://www.kernel.org/doc/html/v4.14/a ... eters.html
P.P.S. these: 
https://wiki.ubuntu.com/Kernel/KernelDe ... al_Console 
			
					
				Re: New kernels
				Posted: Fri Jun 09, 2023 12:27 pm
				by xeno74
				Peter,
Thanks a lot for your answers. Currently, I don't have any ideas to solve the issues with your X1000. 
I always test every new kernel very intensiv with Void PPC and Debian Sid PPC64 on my X1000.
Test steps:
-  Boot with the vmlinux image from the internal CF card (including reboot)
-  Boot with the zImage from the internal CF card (including reboot)
-  Check CPU usage and network traffic
-  Hardware check (HardInfo, lscpu, dmesg etc)
-  Check hardware 3D acceleration (SuperTuxKart, Pangea games, videos with ViewTube etc)
-  Test QEMU with KVM PR
-  Test web browsing
-  Check sound with the SB600 HD audio and with Bluetooth
-  Access to other volumes (Hard disk, SSD, floppy disk, internal CF card, DVD drive etc)
-  New: Check temperatures via the SMBus/I2C connected sensors (Thanks to sailorMH)
Sometimes, I boot with a LABEL. Maybe this is a solution for you.
You can also try to load the kernels from the internal CF card.
Cheers,
Christian
 
			
					
				Re: New kernels
				Posted: Sun Jun 11, 2023 11:08 pm
				by musa
				Hi Christian
I have tried booting 6.4_rc5 several times with no success.
 I'm thinking about whether it's possible that the kernel package gets corrupted during download? 
I have downloaded the file several times and sometimes I get this error when unpacking. ( gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now)
 I was wondering if you could just  pack in a different way one time , for example as a zip. Just to test that it is not my extracted file that is the problem.
Regards, Peter
			 
			
					
				Re: New kernels
				Posted: Sun Jun 11, 2023 11:41 pm
				by musa
				Hi Christian.
i have tried downloading 6.4_rc5 on another computer (my pi4) and extracted kernel vmlinix-6.4_rc5 there. Then copied it onto my USB drive.
 This time debian 64 boot on vmlinux-6.4_rc5. I think it is quite certain that my problems with some 6.4 kernels is due to  corrupting during download on my main computer with ubuntu 22.4. I dont now why.
Have a nice day

 
			
					
				Re: New kernels
				Posted: Mon Jun 12, 2023 5:51 am
				by xeno74
				musa wrote: Sun Jun 11, 2023 11:41 pm
Hi Christian.
i have tried downloading 6.4_rc5 on another computer (my pi4) and extracted kernel vmlinix-6.4_rc5 there. Then copied it onto my USB drive.
 This time debian 64 boot on vmlinux-6.4_rc5. I think it is quite certain that my problems with some 6.4 kernels is due to  corrupting during download on my main computer with ubuntu 22.4. I dont now why.
Have a nice day
 
Hi Peter,
Good to know and thanks a lot for testing! 
 
Have a nice day too,
Christian
 
			
					
				Re: New kernels
				Posted: Mon Jun 12, 2023 6:36 am
				by xeno74
				Hi All,
I 
cross compiled the 
RC6 of kernel 
6.4 for the X1000 and X5000 with Ubuntu 23.04 x86_64 on a PC with an Intel Xeon W-3223 (8 cores/16 
[email protected]) today.
New:
Download: 
linux-image-6.4-rc6-X1000_X5000.tar.gz
Result: 
16
X1000 Linux kernel compiling time:
Code: Select all
time make -j16 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc vmlinux
Code: Select all
real	2m39,487s
user	36m38,095s
sys	2m28,181s
For comparison: Intel Xeon D-1527 (4 
[email protected]):
Code: Select all
real    6m32.027s
user    46m31.326s
sys     2m20.941s
Code: Select all
time make -j16 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
Code: Select all
real	1m1,039s
user	14m37,619s
sys	1m7,690s
For comparison: Intel Xeon D-1527 (4 
[email protected]):
Code: Select all
real    2m44.396s
user    19m48.324s
sys     1m11.883s
X5000 Linux kernel compiling time:
Code: Select all
time make -j16 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage
Code: Select all
real	2m37,555s
user	34m40,007s
sys	2m34,064s
For comparison: Intel Xeon D-1527 (4 
[email protected]):
Code: Select all
real    6m17.786s
user    43m36.072s
sys     2m27.547s
Code: Select all
time make -j16 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc modules
Code: Select all
real	1m22,004s
user	19m43,215s
sys	1m34,050s
For comparison: Intel Xeon D-1527 (4 
[email protected]):
Code: Select all
real    3m35.010s
user    26m3.404s
sys     1m38.056s
Please test the kernels.
Thanks,
Christian
 
			
					
				Re: New kernels
				Posted: Mon Jun 12, 2023 6:38 pm
				by sailorMH
				Thanks, it works!
Byt I have to increase rootdelay to 10. Attempt with 5 ends with:
"Kernel panic - not syncing: VFS: Unable to mount rootfsom unknown-block (8,21)"

 
			
					
				Re: New kernels
				Posted: Tue Jun 13, 2023 8:19 am
				by xeno74
				sailorMH wrote: Mon Jun 12, 2023 6:38 pm
Thanks, it works!
 
Great! 
 
sailorMH wrote: Mon Jun 12, 2023 6:38 pm
Byt I have to increase rootdelay to 10. Attempt with 5 ends with:
"Kernel panic - not syncing: VFS: Unable to mount rootfsom unknown-block (8,21)"
 
Have you booted the Linux userland from a USB stick/drive?
 
			
					
				Re: New kernels
				Posted: Tue Jun 13, 2023 8:39 am
				by sailorMH
				xeno74 wrote: Tue Jun 13, 2023 8:19 am
Have you booted the Linux userland from a USB stick/drive?
 
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
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.