Public bug reported:

This seems to be a kernel bug affecting cifs modules => 2.06.

This might be fixed by the upstream kernel provider but I need it fixed
in the specific kernel version that Ubuntu ships.

root@miguel-test2:~/cifs-bug-xenial# mount -t cifs //157.249.168.181/storeB 
/mnt/ -o ro,guest
root@miguel-test2:~/cifs-bug-xenial# ls -l 
/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VN_minQNH_ZONE_BCD-2017-02-22-06:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/NRKMIDNATT_V-2017-02-22-23:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VVkyst0-1-2017-02-22-12:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/ENHF-ENBJ-2017-02-23-00:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkyst0-1-2017-02-22-12:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkystobs-2017-02-22-12:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNfisk-2017-02-22-12:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VN_Obsvarsel_kansellering-2017-02-22-07:27:04-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkystobs-2017-02-22-18:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNhav-2017-02-22-10:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/METoversikt0-2017-02-22-12:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNhav-2017-02-22-22:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkyst0-2017-02-22-09:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNfisk-2017-02-22-22:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNiga-2017-02-22-06:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNhoydevind_ENNA-2017-02-22-04:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/ENHF-ENBJ-2017-02-22-12:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VVkyst0-1-2017-02-22-18:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNiga-2017-02-22-13:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VVkyst0-1-2017-02-22-18:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/METoversikt1-2017-02-22-18:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/Sigmet_E-2017-02-22-03:45:40-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/METoversikt0-2017-02-23-00:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNhoydevind_ENBO-2017-02-22-04:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkyst0-1-2017-02-22-18:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNhav-2017-02-22-22:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/Airmet_D-2017-02-22-14:00:36-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkystobs-2017-02-22-15:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNhoydevind_ENDU-2017-02-22-04:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/MIradio_V-2017-02-22-20:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/METfare-2017-02-22-21:07:36-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkystobs-2017-02-22-06:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkyst0-1-2017-02-22-18:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNfisk-2017-02-22-15:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkystobs-2017-02-22-09:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkyst0-2017-02-22-09:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/METfare-2017-02-22-07:22:34-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/Sigmet_E-2017-02-22-08:04:12-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VVkyst0-1-2017-02-22-12:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/Sigmet_E-2017-02-22-11:40:38-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VN_minQNH_Tromsoflaket-2017-02-22-06:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNiga-2017-02-22-02:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNhav-2017-02-22-10:00:00-EN.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/METoversikt1-2017-02-22-12:00:00-NB.txt':
 No such file or directory
ls: 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/VNkyst0-1-2017-02-22-12:00:00-EN.txt':
 No such file or directory
total 554
-rw-r--r--  1 starc starc  218 Feb 22 14:04 Airmet_D-2017-02-22-14:00:36-EN.txt
-rw-r--r--  1 starc starc  861 Feb 22 10:46 ENHF-ENBJ-2017-02-22-12:00:00-EN.txt
-rw-r--r--  1 starc starc  914 Feb 22 21:07 ENHF-ENBJ-2017-02-23-00:00:00-EN.txt
-rw-r--r--  1 starc starc 1422 Feb 22 07:24 METfare-2017-02-22-07:22:34-NB.txt
-rw-r--r--  1 starc starc 1263 Feb 22 21:10 METfare-2017-02-22-21:07:36-NB.txt
-rw-r--r--  1 starc starc 2519 Feb 22 11:13 
METoversikt0-2017-02-22-12:00:00-NB.txt
-rw-r--r--  1 starc starc 1912 Feb 22 20:40 
METoversikt0-2017-02-23-00:00:00-NB.txt
-rw-r--r--  1 starc starc 1912 Feb 22 11:05 
METoversikt1-2017-02-22-12:00:00-NB.txt
-rw-r--r--  1 starc starc 1898 Feb 22 15:57 
METoversikt1-2017-02-22-18:00:00-NB.txt
-rw-r--r--  1 starc starc 1689 Feb 22 19:30 MIradio_V-2017-02-22-20:00:00-NB.txt
-rw-r--r--  1 starc starc 1162 Feb 22 20:43 
NRKMIDNATT_V-2017-02-22-23:00:00-NB.txt
-rw-r--r--+ 1 starc starc 2044 Feb 22 01:28 nt012824771804_vniga.txt
-rw-r--r--+ 1 starc starc 2165 Feb 22 06:34 nt063444655101_vniga.txt
-rw-r--r--+ 1 starc starc 2132 Feb 22 13:28 nt132846757661_vniga.txt
-rw-r--r--  1 starc starc  220 Feb 22 03:47 Sigmet_E-2017-02-22-03:45:40-EN.txt
-rw-r--r--  1 starc starc  235 Feb 22 08:05 Sigmet_E-2017-02-22-08:04:12-EN.txt
-rw-r--r--  1 starc starc  236 Feb 22 11:44 Sigmet_E-2017-02-22-11:40:38-EN.txt
-rw-r--r--  1 starc starc 4154 Feb 22 10:03 VNfisk-2017-02-22-12:00:00-NB.txt
-rw-r--r--  1 starc starc 3549 Feb 22 12:27 VNfisk-2017-02-22-15:00:00-NB.txt
-rw-r--r--  1 starc starc 2645 Feb 22 19:40 VNfisk-2017-02-22-22:00:00-NB.txt
-rw-r--r--  1 starc starc 5108 Feb 22 09:48 VNhav-2017-02-22-10:00:00-EN.txt
-rw-r--r--  1 starc starc 4966 Feb 22 09:45 VNhav-2017-02-22-10:00:00-NB.txt
-rw-r--r--  1 starc starc 4154 Feb 22 19:10 VNhav-2017-02-22-22:00:00-EN.txt
-rw-r--r--  1 starc starc 4112 Feb 22 19:11 VNhav-2017-02-22-22:00:00-NB.txt
-rw-r--r--  1 starc starc 1858 Feb 22 04:28 
VNhoydevind_ENBO-2017-02-22-04:00:00-EN.txt
-rw-r--r--  1 starc starc 1882 Feb 22 04:32 
VNhoydevind_ENDU-2017-02-22-04:00:00-EN.txt
-rw-r--r--  1 starc starc 1854 Feb 22 04:36 
VNhoydevind_ENNA-2017-02-22-04:00:00-EN.txt
-rw-r--r--  1 starc starc 1692 Feb 22 01:28 VNiga-2017-02-22-02:00:00-EN.txt
-rw-r--r--  1 starc starc 1765 Feb 22 06:34 VNiga-2017-02-22-06:00:00-EN.txt
-rw-r--r--  1 starc starc 1800 Feb 22 13:28 VNiga-2017-02-22-13:00:00-EN.txt
-rw-r--r--  1 starc starc 1996 Feb 22 11:05 VNkyst0-1-2017-02-22-12:00:00-EN.txt
-rw-r--r--  1 starc starc 2147 Feb 22 11:01 VNkyst0-1-2017-02-22-12:00:00-NB.txt
-rw-r--r--  1 starc starc 2060 Feb 22 17:10 VNkyst0-1-2017-02-22-18:00:00-EN.txt
-rw-r--r--  1 starc starc 2170 Feb 22 17:03 VNkyst0-1-2017-02-22-18:00:00-NB.txt
-rw-r--r--  1 starc starc 1092 Feb 22 07:20 VNkyst0-2017-02-22-09:00:00-EN.txt
-rw-r--r--  1 starc starc 1199 Feb 22 07:16 VNkyst0-2017-02-22-09:00:00-NB.txt
-rw-r--r--  1 starc starc 1021 Feb 22 06:40 VNkystobs-2017-02-22-06:00:00-NB.txt
-rw-r--r--  1 starc starc 1040 Feb 22 09:51 VNkystobs-2017-02-22-09:00:00-NB.txt
-rw-r--r--  1 starc starc 1048 Feb 22 12:30 VNkystobs-2017-02-22-12:00:00-NB.txt
-rw-r--r--  1 starc starc 1051 Feb 22 16:10 VNkystobs-2017-02-22-15:00:00-NB.txt
-rw-r--r--  1 starc starc 1028 Feb 22 18:29 VNkystobs-2017-02-22-18:00:00-NB.txt
-rw-r--r--  1 starc starc  144 Feb 22 06:13 
VN_minQNH_Tromsoflaket-2017-02-22-06:00:00-EN.txt
-rw-r--r--  1 starc starc  318 Feb 22 06:13 
VN_minQNH_ZONE_BCD-2017-02-22-06:00:00-EN.txt
-rw-r--r--  1 starc starc  315 Feb 22 07:27 
VN_Obsvarsel_kansellering-2017-02-22-07:27:04-NB.txt
-rw-r--r--  1 starc starc 1775 Feb 22 10:15 VVkyst0-1-2017-02-22-12:00:00-EN.txt
-rw-r--r--  1 starc starc 1898 Feb 22 10:10 VVkyst0-1-2017-02-22-12:00:00-NB.txt
-rw-r--r--  1 starc starc 1463 Feb 22 16:39 VVkyst0-1-2017-02-22-18:00:00-EN.txt
-rw-r--r--  1 starc starc 1535 Feb 22 16:30 VVkyst0-1-2017-02-22-18:00:00-NB.txt
root@miguel-test2:~/cifs-bug-xenial# stat 
/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/ENHF-ENBJ-2017-02-23-00\:00\:00-EN.txt
stat: cannot stat 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/ENHF-ENBJ-2017-02-23-00:00:00-EN.txt':
 No such file or directory
root@miguel-test2:~/cifs-bug-xenial# ls -l 
/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/ENHF-ENBJ-2017-02-23-00\:00\:00-EN.txt
ls: cannot access 
'/mnt/immutable/short-term-archive/DNMI_VARSLER/2017/02/22/vn/ENHF-ENBJ-2017-02-23-00:00:00-EN.txt':
 No such file or directory
root@miguel-test2:~/cifs-bug-xenial# umount /mnt

DMESG shows:
[  226.235924] Status code returned 0xc0000016 
NT_STATUS_MORE_PROCESSING_REQUIRED
[  226.741027] Status code returned 0xc0000225 NT_STATUS_NOT_FOUND
[  231.620520] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
[  231.621644] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
[  231.622745] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
[  231.623472] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
[  231.624101] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
[  231.624759] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
[  231.625976] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
[  231.626505] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND


This behavior is not reproducible in trusty (see the attached files), nor in 
CentOS 6, and early CentOS 7, I see this behavior on cifs module => 2.06.

The options which are used by default are:

//157.249.168.181/storeB /mnt cifs
ro,relatime,vers=1.0,sec=none,cache=strict,domain=xxxxx,uid=0,noforceuid,gid=0,noforcegid,addr=157.249.168.181,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,actimeo=1
0 0

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-64-generic 4.4.0-64.85
ProcVersionSignature: Ubuntu 4.4.0-64.85-generic 4.4.44
Uname: Linux 4.4.0-64-generic x86_64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116,  1 Feb 27 09:08 seq
 crw-rw---- 1 root audio 116, 33 Feb 27 09:08 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
Date: Mon Feb 27 11:02:17 2017
Ec2AMI: ami-0000005d
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: ares-a
Ec2InstanceType: int-m1.tiny
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Fedora Project OpenStack Nova
PciMultimedia:
 
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcFB:
 
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-64-generic 
root=UUID=86c77828-8f87-49e0-9035-8999018d0bcb ro console=tty1 console=ttyS0
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-64-generic N/A
 linux-backports-modules-4.4.0-64-generic  N/A
 linux-firmware                            N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/01/2011
dmi.bios.vendor: Seabios
dmi.bios.version: 0.5.1
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: 
dmi:bvnSeabios:bvr0.5.1:bd01/01/2011:svnFedoraProject:pnOpenStackNova:pvr12.0.1-1.el7:cvnBochs:ct1:cvr:
dmi.product.name: OpenStack Nova
dmi.product.version: 12.0.1-1.el7
dmi.sys.vendor: Fedora Project

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images xenial

** Attachment added: "Included the commands input to the workstation, a traffic 
capture and the output of dmesg for Xenial and Trusty which is not affected."
   
https://bugs.launchpad.net/bugs/1668230/+attachment/4827618/+files/cifs-bug-evidence.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668230

Title:
  CIFS module =>2.06 shipped with Xenial cannot stat files.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1668230/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to