Hello Christian! On Thu, 2023-06-29 at 06:59 +0200, Christian Zigotzky wrote: > The access to partitions on disks with an Amiga partition table (via > the Rigid Disk Block RDB) doesn't work anymore on my Cyrus+ board with a > FSL P50x0 PowerPC SoC [1] and on my P.A. Semi Nemo board [2] after the > block updates 2023-06-23 [3]. > > parted -l > > Model: ATA ST2000DM001-9YN1 (scsi) > Disk /dev/sda: 2000GB > Sector size (logical/physical): 512B/4096B > Partition Table: amiga > Disk Flags: > > Number Start End Size File system Name Flags > 1 1057kB 123MB 122MB affs7 BDH0 hidden > 2 123MB 2274MB 2150MB DH0 boot > 3 2274MB 691GB 689GB DH2 > 4 691GB 1992GB 1301GB ext4 dhx boot What version of AmigaOS is that? > dmesg | grep -i sda > > [ 4.208905] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: > (2.00 TB/1.82 TiB) > [ 4.253995] sd 0:0:0:0: [sda] 4096-byte physical blocks > [ 4.254826] sd 0:0:0:0: [sda] Write Protect is off > [ 4.300069] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 > [ 4.486476] sd 0:0:0:0: [sda] Write cache: enabled, read cache: > enabled, doesn't support DPO or FUA > [ 4.580507] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes > [ 4.712624] Dev sda: unable to read partition block 4294967295 > [ 4.761532] sda: RDSK (512) sda1 (DOS^G)(res 2 spb 2) sda2 > (SFS^B)(res 2 spb 1) sda3 (SFS^B)(res 2 spb 2) sda4 ((res 2 spb 1) > unable to read partition table > [ 4.761892] sda: partition table beyond EOD, > [ 4.861681] Dev sda: unable to read partition block 4294967295 > [ 4.912094] sda: RDSK (512) sda1 (DOS^G)(res 2 spb 2) sda2 > (SFS^B)(res 2 spb 1) sda3 (SFS^B)(res 2 spb 2) sda4 ((res 2 spb 1) > unable to read partition table > [ 4.963387] sda: partition table beyond EOD, > [ 5.014769] sd 0:0:0:0: [sda] Attached SCSI disk Maybe the RDB is corrupted? Did you try on a freshly created RDB? > I created a patch for reverting the commit. [4] That can be done with just "git revert <commit hash>". > The access works again with this patch: > > [ 0.000000] Kernel command line: root=/dev/sda4 > [ 3.987717] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: > (2.00 TB/1.82 TiB) > [ 4.031349] sd 0:0:0:0: [sda] 4096-byte physical blocks > [ 4.123773] sd 0:0:0:0: [sda] Write Protect is off > [ 4.168682] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 > [ 4.279304] sd 0:0:0:0: [sda] Write cache: enabled, read cache: > enabled, doesn't support DPO or FUA > [ 4.463508] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes > [ 4.519477] sda: RDSK (512) sda1 (DOS^G)(res 2 spb 2) sda2 > (SFS^B)(res 2 spb 1) sda3 (SFS^B)(res 2 spb 2) sda4 ((res 2 spb 1) > [ 4.720896] sda: p4 size 18446744071956107760 extends beyond EOD, > [ 4.922550] sda: RDSK (512) sda1 (DOS^G)(res 2 spb 2) sda2 > (SFS^B)(res 2 spb 1) sda3 (SFS^B)(res 2 spb 2) sda4 ((res 2 spb 1) > [ 4.948655] sda: p4 size 18446744071956107760 extends beyond EOD, > truncated Looks like the old code is complaining about your partition table as well. > Could you please check your commit? Please also make sure that your RDB is not corrupted. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913