[cfarm-users] gcc21 /scratch/6 device remounted ro after qemu-sparc64 executable run

Pierre Muller muller at sourceware.org
Sat Jul 22 00:12:03 CEST 2017


Hi all,

  we am currently trying to develop sparc64 CPU support
for Free Pascal Compiler.
  To this end, I use an account given to me on stadler.debian.net.

I apparently hit a known kernel problem there,
with a reproducible executable that generates kernel shutdown.

I was hoping that, using qemu-sparc64 on gcc21 with -strace option
on that executable would give the full list of all kernel calls,
without any fear of kernel problems...

  I ran the given executable, but
noticed that the mount drive switched from rw to ro mode...

mount output:
muller at gcc21:~/pas/test$ mount
/dev/sdd on /scratch/6 type ext4 (rw,noatime,errors=remount-ro)
while:
muller at gcc21:~/pas/test$ cat /proc/mounts
/dev/sdd /scratch/6 ext4 ro,noatime,errors=remount-ro,data=ordered 0 0

Is it possible to remount /dev/sdd in rw on that machine,
would that require a reboot?

Sorry for the trouble...

Pierre Muller

PS, for those interested, qemu-sparc64 output follows:
muller at gcc21:~/pas/test$ qemu-sparc64 -strace ./tiorte-kernel-bug
64714 getrlimit(3,274886300480,0,0,0,0) = 0
64714 rt_sigaction(SIGFPE,0x0000004000801278,0x0000000000255e58) = 0
64714 rt_sigaction(SIGSEGV,0x0000004000801278,0x0000000000255e80) = 0
64714 rt_sigaction(7,0x0000004000801278,0x0000000000255ea8) = 0
64714 rt_sigaction(SIGILL,0x0000004000801278,0x0000000000255ed0) = 0
64714 ioctl(1,1076122632,274886299880,0,0,0) = 0
64714 ioctl(2,1076122632,274886299880,0,0,0) = 0
64714 ioctl(1,1076122632,274886299880,0,0,0) = 0
64714 ioctl(2,1076122632,274886299880,0,0,0) = 0
64714 readlink("/proc/self/exe",0x0000000000255d59,255) = 44
64714 write(1,0x2541dc,36)Reading from not opened text file... = 36
64714 write(1,0x2541dc,9) Passed!
 = 9
64714 write(1,0x2541dc,37)Seekeoln from not opened text file... = 37
64714 write(1,0x2541dc,9) Passed!
 = 9
64714 write(1,0x2541dc,36)Seekeof from not opened text file... = 36
64714 write(1,0x2541dc,9) Passed!
 = 9
64714 mmap(NULL,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x0000004000802000
setup_rt_frame: not implemented
Segmentation fault (core dumped)


More information about the cfarm-users mailing list