Kernel 5.12

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.12

Post by xeno74 »

Hi Peter,

Many thanks for your nice screenshot! :-)
It’s good to know that the RC6 works on your X1000.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.12

Post by xeno74 »

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: Kernel 5.12

Post by musa »

Hi Christian
I have tried to boot kernel 5.12 rc7 but the kernel can not identify sata 4 (my linux hard drive).
Have new formatted my usbdisk with Fat 16. no luck. When I afterwards start the same partition with kernel 5.11 all errors are gone. Therefore, I believe that it is the kernel that is the problem.
Have a nice day
Peter
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.12

Post by xeno74 »

musa wrote: Mon Apr 12, 2021 6:21 pm Hi Christian
I have tried to boot kernel 5.12 rc7 but the kernel can not identify sata 4 (my linux hard drive).
Does sata 4 work with the RC6?
Could you please post some error messages?

Strange, I don't have sata 4. I have sata 0 - 3. Do you mean sata 3? Maybe you mean ata4 because sata 3 on the Nemo board is ata4 on Linux. I can boot from ata4.

dmesg | grep -i sata

Code: Select all

[    0.066651] pci 0000:05:12.0: set SATA to AHCI mode
[    2.520150] ahci 0000:05:12.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode
[    2.524245] ata1: SATA max UDMA/133 abar m1024@0xa0209000 port 0xa0209100 irq 9
[    2.524741] ata2: SATA max UDMA/133 abar m1024@0xa0209000 port 0xa0209180 irq 9
[    2.525216] ata3: SATA max UDMA/133 abar m1024@0xa0209000 port 0xa0209200 irq 9
[    2.525702] ata4: SATA max UDMA/133 abar m1024@0xa0209000 port 0xa0209280 irq 9
[    2.834800] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.872168] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.910367] ata2: SATA link down (SStatus 0 SControl 300)
[    2.948957] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
I think your Linux partitions are on sdc.

Please post the output of dmesg | grep sdc.

Thanks a lot for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: Kernel 5.12

Post by musa »

xeno74 wrote: Tue Apr 13, 2021 8:05 am

Does sata 4 work with the RC6?
yes
Could you please post some error messages?
Sorry cat inset pic.

Strange, I don't have sata 4. I have sata 0 - 3. Do you mean sata 3? Maybe you mean ata4 because sata 3 on the Nemo board is ata4 on Linux. I can boot from ata4.

yes I mean ata


dmesg | grep -i sata

Code: Select all

[    0.066651] pci 0000:05:12.0: set SATA to AHCI mode
[    2.520150] ahci 0000:05:12.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode
[    2.524245] ata1: SATA max UDMA/133 abar m1024@0xa0209000 port 0xa0209100 irq 9
[    2.524741] ata2: SATA max UDMA/133 abar m1024@0xa0209000 port 0xa0209180 irq 9
[    2.525216] ata3: SATA max UDMA/133 abar m1024@0xa0209000 port 0xa0209200 irq 9
[    2.525702] ata4: SATA max UDMA/133 abar m1024@0xa0209000 port 0xa0209280 irq 9
[    2.834800] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.872168] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.910367] ata2: SATA link down (SStatus 0 SControl 300)
[    2.948957] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
I think your Linux partitions are on sdc.

Please post the output of dmesg | grep sdc.

Thanks a lot for testing!

Code: Select all

 root@debian:~# dmesg | grep sdc
[    0.000000] Kernel command line: root=/dev/sdc5
[    4.334604] sd 3:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    4.354140] sd 3:0:0:0: [sdc] 4096-byte physical blocks
[    4.436481] sd 3:0:0:0: [sdc] Write Protect is off
[    4.553894] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[    4.573968] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.690494]  sdc: RDSK (512) sdc1 ((res 2 spb 2) sdc2 ((res 2 spb 2) sdc3 ((res 2 spb 2) sdc4 ((res 2 spb 2) sdc5 ((res 2 spb 2) sdc6 ((res 2 spb 2) sdc7 (NTFS)(res 2 spb 2) sdc8 (SFS^B)(res 2 spb 1) sdc9 (SFS^B)(res 2 spb 1) sdc10 (SWP^@)(res 2 spb 2)
[    4.791075] sdc: p10 start 18446744073267761040 is beyond EOD, enabling native capacity
[    4.831730]  sdc: RDSK (512) sdc1 ((res 2 spb 2) sdc2 ((res 2 spb 2) sdc3 ((res 2 spb 2) sdc4 ((res 2 spb 2) sdc5 ((res 2 spb 2) sdc6 ((res 2 spb 2) sdc7 (NTFS)(res 2 spb 2) sdc8 (SFS^B)(res 2 spb 1) sdc9 (SFS^B)(res 2 spb 1) sdc10 (SWP^@)(res 2 spb 2)
[    4.874087] sdc: p10 start 18446744073267761040 is beyond EOD, truncated
[    4.913055] sd 3:0:0:0: [sdc] Attached SCSI disk
[    6.778143] EXT4-fs (sdc5): INFO: recovery required on readonly filesystem
[    6.807189] EXT4-fs (sdc5): write access will be enabled during recovery
[    7.231566] EXT4-fs (sdc5): recovery complete
[    7.300683] EXT4-fs (sdc5): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[   14.685793] EXT4-fs (sdc5): re-mounted. Opts: errors=remount-ro. Quota mode: disabled.
root@debian:~# 
Have a nice day
Peter
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.12

Post by xeno74 »

Hi Peter,

Strange because I can boot from sata 3 (ata 4). I need some error messages for solving the issue.

Please boot with the RC7. After that with the RC6.

Please post the outputs of the following commands:

Code: Select all

# grep -i "Linux version" /var/log/kern.log
# grep -i sata /var/log/kern.log
# grep -i sdc /var/log/kern.log
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: Kernel 5.12

Post by musa »

xeno74 wrote: Tue Apr 13, 2021 9:52 am Hi Peter,

Strange because I can boot from sata 3 (ata 4). I need some error messages for solving the issue.

Please boot with the RC7. After that with the RC6.

Please post the outputs of the following commands:

Code: Select all

# grep -i "Linux version" /var/log/kern.log
# grep -i sata /var/log/kern.log
# grep -i sdc /var/log/kern.log
Thanks,
Christian
Hi Christian
Just a question. Is it the disk sdc or the partition sdc5
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.12

Post by xeno74 »

musa wrote: Tue Apr 13, 2021 10:09 am Hi Christian
Just a question. Is it the disk sdc or the partition sdc5
Disk sdc for the grep command. For the boot args you need "root=/dev/sdc5".
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: Kernel 5.12

Post by musa »

Hi Christian
yes right now i am in the strange situation that both mint and fedora boot on 5.12 / rc7 completely without error.
I have some time ago made the discovery that my power cables to my hard drive have periodic problems supplying power.
I have tried to change the cables and have not had those problems since but there could be a connection.
Just weird for the error was not there when I used my kernel 5.11.
But as it is now Mintppc boot and Fedora boot without any problems
Have a nice day
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.12

Post by xeno74 »

musa wrote: Tue Apr 13, 2021 10:47 am Hi Christian
yes right now i am in the strange situation that both mint and fedora boot on 5.12 / rc7 completely without error.
I have some time ago made the discovery that my power cables to my hard drive have periodic problems supplying power.
I have tried to change the cables and have not had those problems since but there could be a connection.
Good to know. What about to buy a new power supply?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply