Project

General

Profile

Actions

Bug #2908

closed

ls: .: Socket is not connected

Added by tkusumi over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/01/2016
Due date:
% Done:

0%

Estimated time:

Description

Weird ls behavior on cache_resolve().
stat(".",0x7fffffffee70) ERR#57 'Socket is not connected'
lstat(".",0x7fffffffee70) ERR#57 'Socket is not connected'
open(".",0x20000,00) ERR#57 'Socket is not connected'

This is namei lookup issue.
This has existed since at least 4.0 or 4.2.

hammer
[root@]~# mount_hammer /dev/da1:/dev/da2:/dev/da3 /mnt
[root@]~# cd /mnt
[root@]/mnt# umount /mnt
umount: unmount of /mnt failed: Device busy
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# cd
[root@]~# ls /mnt
[root@]~# umount /mnt

tmpfs
[root@]~# mount_tmpfs none /mnt
[root@]~# cd /mnt
[root@]/mnt# umount /mnt
umount: unmount of /mnt failed: Device busy
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# ls
ls: .: Socket is not connected
[root@]/mnt# cd
[root@]~# ls /mnt
[root@]~# umount /mnt

warnings in dmesg
[root@]~# dmesg | tail -6
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked
Warning: cache_resolve: ncp '(null)' was unlinked

On FreeBSD
[root@]~# uname -r
11.0-CURRENT
[root@]~# mount -t tmpfs none /mnt
[root@]~# cd /mnt
[root@]/mnt# umount /mnt
umount: unmount of /mnt failed: Device busy
[root@]/mnt# ls
[root@]/mnt# ls
[root@]/mnt# ls
[root@]/mnt# cd
[root@]~# ls /mnt
[root@]~# umount /mnt

Actions #1

Updated by tkusumi over 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF