Re: Are there still machines with PAGE_SHIFT 16 or larger ?
On Wed, Nov 11, 2020 at 3:26 PM Thomas Schmitt <scdbackup@gmx.net> wrote:
>
> Hi,
>
> Anatoly Pugachev wrote:
> > mator@chubaka:~$ getconf PAGESIZE
> > 65536
> > mator@chubaka:~$ uname -a
> > Linux chubaka 5.9.0-1-powerpc64 #1 SMP Debian 5.9.1-1 (2020-10-17)
> > ppc64 GNU/Linux
> > [...]
> > mator@chubaka:~$ md5sum /mnt/1mb
> > md5sum: /mnt/1mb: Input/output error
>
> Does it deliver any bytes before erroring out ?
>
> dd if=/mnt/1mb bs=1 | wc -c
nothing, i.e. read fails immediately
mator@chubaka:~$ dd if=/mnt/1mb bs=1 | wc -c
dd: error reading '/mnt/1mb': Input/output error
0+0 records in
0+0 records out
0 bytes copied, 9.0447e-05 s, 0.0 kB/s
0
> Just to be sure, can you copy the ISO to a Linux machine with <= 32 KiB
> page size and verify that the file "1mb" is readable without i/o error
> and yields the due checksum ?
> (I am not aware how xorriso could have spoiled it, but ...)
copied to my local x86 VM:
mator@u164:~> scp chubaka:/tmp/test.iso .
test.iso 100% 68KB 960.4KB/s 00:00
mator@u164:~> getconf PAGESIZE
4096
mator@u164:~> ls /mnt
mator@u164:~> sudo mount -o loop,ro test.iso /mnt
mator@u164:~> md5sum /mnt/1mb
md5sum: /mnt/1mb: Input/output error
mator@u164:~> dd if=/mnt/1mb bs=1 | wc -c
dd: error reading '/mnt/1mb': Input/output error
0+0 records in
0+0 records out
0 bytes copied, 0.000153856 s, 0.0 kB/s
0
probably xorriso wrote a wrong iso on ppc64 ?
Reply to: