Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2007 08:44:06 GMT
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/113939: Linux (e.g.) ls hangs on named pipes in 6.2-RELEASE
Message-ID:  <200706220844.l5M8i6Il059150@www.freebsd.org>
Resent-Message-ID: <200706220850.l5M8o3RF011170@freefall.freebsd.org>

index | next in thread | raw e-mail


>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 22 08:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Konrad Heuer
>Release:        6.2-RELEASE-p5
>Organization:
GWDG
>Environment:
FreeBSD myhost.mydomain 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #3: Tue Jun 12 16:25:12 CEST 2007     kheuer@gwdu111.gwdg.de:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
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
^C
% 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



>How-To-Repeat:
% /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
^C

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706220844.l5M8i6Il059150>