NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/58677: netbsd-10 linux emulation breaks sysutils/tsm8



>Number:         58677
>Category:       kern
>Synopsis:       netbsd-10 linux emulation breaks sysutils/tsm8
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 18 12:10:00 +0000 2024
>Originator:     Hauke Fath
>Release:        NetBSD 10.0_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD Gstoder 10.0_STABLE NetBSD 10.0_STABLE (THRIP-$Revision$) #0: Tue Jul 2 07:07:25 CEST 2024 hf4kh@Hochstuhl:/var/obj/netbsd-builds/10/amd64/sys/arch/amd64/compile/THRIP amd64
Architecture: x86_64
Machine: amd64
>Description:

	The advent of netbsd-10 broke sysutils/tsm8, a linux binary
	that we have been running on NetBSD since NetBSD 2.

	A backup run will send a few dozen files, then stall until
	interrupted.

	After the last successfully submitted file, the ktrace has a
	lot of recvfrom and sendto calls, each followed by

  3873   3873 dsmc     RET   gettimeofday 0
  3873   3873 dsmc     CALL  futex(0x13fab14,FUTEX_WAIT_BITSET_PRIVATEFUTEX_CLOCK_REALTIME,0x183,0x7f7fffff24f0,0x13fc4c0,0xffffffff)
  3873  11319 dsmc     RET   futex -1 errno -110 Operation timed out
  3873  11319 dsmc     CALL  futex(0x142ed30,FUTEX_WAKE_PRIVATE,1,0x7f7ff2212bd0,0,0x142ed30)
  3873  11319 dsmc     RET   futex 0
  3873  11319 dsmc     CALL  futex(0x7f7fdc03d93c,FUTEX_WAKE_OP_PRIVATE,1,1,0x7f7fdc03d938,0x4000001)
  3873  23543 dsmc     RET   futex 0
  3873  23543 dsmc     CALL  futex(0x7f7fdc0413e0,FUTEX_WAIT_PRIVATE,2,0,0x7f7fdc0413e0,0xb4)
  3873  11319 dsmc     RET   futex 1
  3873  11319 dsmc     CALL  futex(0x7f7fdc0413e0,FUTEX_WAKE_PRIVATE,1,1,0,0x7f7fdc0413e0)
  3873  23543 dsmc     RET   futex 0
  3873  23543 dsmc     CALL  gettimeofday(0x1117310,0)
  3873  23543 dsmc     RET   gettimeofday 0

	(I can provide the entire humongous ktrace file on request)
	and I understand netbsd-10 brought changes to the linux compat
	system call.

	The tsm package works fine in emulation under netbsd-9 and
	(ftfoi) freebsd13.

	I am setting priority "high" since this bug stops a handful of
	servers here from an upgrade to netbsd-10.

	
>How-To-Repeat:

	Install sysutils/tsm8, attempt to backup a filesystem. The
	backup run will stall eventually.

	
>Fix:
	
	Yes, please.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index