Le 09/07/2019 à 17:09, John Paul Adrian Glaubitz a écrit : > On 7/9/19 4:01 PM, Laurent Vivier wrote: >> What is the content of: >> >> /etc/binfmt.d/qemu-m68k.conf >> /proc/sys/fs/binfmt_misc/qemu-m68k > > root@nofan:~> cat /etc/binfmt.d/qemu-m68k.conf > :qemu-m68k:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x04:\xff\xff\xff\xff\xff\xff\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-m68k-static:P > root@nofan:~> cat /proc/sys/fs/binfmt_misc/qemu-m68k > enabled > interpreter /usr/bin/qemu-m68k-static > flags: OCF > offset 0 > magic 7f454c4601020100000000000000000000020004 > mask ffffffffffffff00fffffffffffffffffffeffff
This is not consistent: you have 'P' in /etc/binfmt.d/qemu-m68k.conf but 'OCF' in /proc/sys/fs/binfmt_misc/qemu-m68k.
Check "systemctl status binfmt-support.service"
With 'P' when you change the binary you must reload the configuration because the binary is loaded in memory once when the configuration is updated.
Thanks, Laurent
Le 09/07/2019 à 17:09, John Paul Adrian Glaubitz a écrit : d/qemu- m68k.conf fs/binfmt_ misc/qemu- m68k d/qemu- m68k.conf M::\x7fELF\ x01\x02\ x01\x00\ x00\x00\ x00\x00\ x00\x00\ x00\x00\ x00\x02\ x00\x04: \xff\xff\ xff\xff\ xff\xff\ xfe\x00\ xff\xff\ xff\xff\ xff\xff\ xff\xff\ xff\xfe\ xff\xff: /usr/bin/ qemu-m68k- static: P fs/binfmt_ misc/qemu- m68k qemu-m68k- static 000000000000000 0000020004 0ffffffffffffff fffffeffff
> On 7/9/19 4:01 PM, Laurent Vivier wrote:
>> What is the content of:
>>
>> /etc/binfmt.
>> /proc/sys/
>
> root@nofan:~> cat /etc/binfmt.
> :qemu-m68k:
> root@nofan:~> cat /proc/sys/
> enabled
> interpreter /usr/bin/
> flags: OCF
> offset 0
> magic 7f454c460102010
> mask ffffffffffffff0
This is not consistent: you have 'P' in /etc/binfmt. d/qemu- m68k.conf but fs/binfmt_ misc/qemu- m68k.
'OCF' in /proc/sys/
Check "systemctl status binfmt- support. service"
With 'P' when you change the binary you must reload the configuration
because the binary is loaded in memory once when the configuration is
updated.
Thanks,
Laurent