kern/113939: Linux (e.g.) ls hangs on named pipes in 6.2-RELEASE

Konrad Heuer kheuer2 at
Fri Jun 22 08:50:04 UTC 2007

>Number:         113939
>Category:       kern
>Synopsis:       Linux (e.g.) ls hangs on named pipes in 6.2-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 22 08:50:02 GMT 2007
>Originator:     Konrad Heuer
>Release:        6.2-RELEASE-p5
FreeBSD myhost.mydomain 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #3: Tue Jun 12 16:25:12 CEST 2007     kheuer at  i386
Linux binaries scanning directories like ls hang when encountering named pipes, thus backup software like TSM too - backup doesn't work anymore!

In 6.1-RELEASE-p14, everything worked well.

% ktrace -f kd.out /usr/compat/linux/bin/ls -l test-fifo
% kdump -f kd.out | tail -6

 29927 ls       RET   ioctl 0
 29927 ls       CALL  getdirentries(0xbfbfec88,0x805e0d4,0x281c1ff4)
 29927 ls       NAMI  "test-fifo"
 29927 ls       NAMI  "test-fifo"
 29927 ls       RET   getdirentries 0
 29927 ls       PSIG  SIGINT SIG_DFL

% /usr/sbin/pkg_info | grep linux_base
linux_base-fc-4_9   Base set of packages needed in Linux mode (for i386/amd64)

% mkfifo test-fifo

% ls -l test-fifo
prw-r--r--  1 kheuer  wheel  0 Jun 22 10:27 test-fifo

% /usr/compat/linux/bin/ls -l test-fifo



More information about the freebsd-bugs mailing list