Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430380 - kernel 3.6-rc1 - creating new files on NTFS fails with ntfs-3g: Invalid arguments. Fixed with linux-3.6.0-rc3.
Summary: kernel 3.6-rc1 - creating new files on NTFS fails with ntfs-3g: Invalid argum...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 03:24 UTC by jospezial
Modified: 2012-08-27 14:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config-3.6.0-rc1 (config-3.6.0-rc1,82.97 KB, text/plain)
2012-08-08 03:24 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2012-08-08 03:24:39 UTC
Created attachment 320662 [details]
config-3.6.0-rc1

With linux-3.6-rc1 I can't create new files on NTFS (NTFS-3G,Fuse).
Creating directories and modifying existing files works.

Even the same as user root.

After trying to create a file with touch i get no errormessages in dmesg but in
/var/log/messages :
Aug  7 03:17:16 jlgentoo ntfs-3g[3221]: Invalid arguments.


With linux-3.5 it works fine.

Have reported this too on https://bugzilla.kernel.org/show_bug.cgi?id=45661

jlgentoo ~ # uname -a
Linux jlgentoo 3.6.0-rc1 #1 SMP Sat Aug 4 19:32:22 CEST 2012 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux
jlgentoo ~ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,noatime,commit=0)
devtmpfs on /dev type devtmpfs (rw,relatime,size=1023880k,nr_inodes=255970,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /home/joerg/winvmpart type fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda4 on /home/joerg/daten type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdb3 on /home/joerg/musik type fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdb4 on /home/joerg/filme type fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096,default_permissions)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
jlgentoo ~ # mkdir /home/joerg/filme/test
jlgentoo ~ # touch /home/joerg/filme/test/x
touch: kann „/home/joerg/filme/test/x“ nicht berühren: Datei oder Verzeichnis nicht gefunden
jlgentoo ~ # whoami
root
jlgentoo ~ # ls -al /home/joerg/filme/test/
insgesamt 20
drwxrwxrwx 1 joerg joerg     0  8. Aug 05:12 .
drwxrwxrwx 1 joerg joerg 20480  8. Aug 05:12 ..

jlgentoo ~ # tail -5 /var/log/messages
Aug  8 05:09:45 jlgentoo ntfs-3g[517]: Invalid arguments.
Aug  8 05:10:01 jlgentoo cron[16580]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Aug  8 05:10:13 jlgentoo ntfs-3g[517]: Invalid arguments.
Aug  8 05:13:48 jlgentoo ntfs-3g[517]: Invalid arguments.
Aug  8 05:20:01 jlgentoo cron[16616]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
jlgentoo ~ #
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-08 10:03:29 UTC
We don't seem to have that version in the tree yet.
Comment 2 jospezial 2012-08-14 15:47:37 UTC
joerg@jlgentoo ~ $ sudo /usr/sbin/mount.ntfs-3g /dev/sdc1 /mnt/sdc1/ -o rw,nosuid,nodev,uhelper=udisks2,debug,no_detach
Passwort: 
FUSE library version: 2.9.1
nullpath_ok: 0
nopath: 0
utime_omit_ok: 1
Version 2012.1.15 external FUSE 29
Mounted /dev/sdc1 (Read-Write, label "8gb_jl", NTFS 3.1)
Cmdline options: rw,nosuid,nodev,uhelper=udisks2,debug,no_detach
Mount options: rw,nosuid,nodev,uhelper=udisks2,allow_other,nonempty,relatime,fsname=/dev/sdc1,blkdev,blksize=4096
Ownership and permissions disabled, configuration type 7
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.19
flags=0x0000047b
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000051
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 1, success, outsize: 40

and after
touch /mnt/sdc1/x
touch: kann „/mnt/sdc1/x“ nicht berühren: Datei oder Verzeichnis nicht gefunden
joerg@jlgentoo ~ $ 

unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 42, pid: 2420
LOOKUP /x
getattr /x
   unique: 2, error: -2 (Datei oder Verzeichnis nicht gefunden), outsize: 16
unique: 3, opcode: CREATE (35), nodeid: 1, insize: 58, pid: 2420
create flags: 0x8841 /x 0666 umask=0022
Invalid arguments.
   unique: 3, error: -2 (Datei oder Verzeichnis nicht gefunden), outsize: 16
unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 42, pid: 2420
LOOKUP /x
getattr /x
   unique: 4, error: -2 (Datei oder Verzeichnis nicht gefunden), outsize: 16


tested vanilla-sources-3.5.1 and there is all ok 
but problem still exists with latest git-sources snapshot.
Tested on two Gentoo linux computers.
Comment 3 Mike Pagano gentoo-dev 2012-08-16 17:15:32 UTC
Bugs for development, unreleased kernels should go upstream at http://bugzilla.kernel.org
Comment 4 jospezial 2012-08-27 14:40:17 UTC
Fixed with linux-3.6.0-rc3.

I looked for the fixing commit but didn't find the right one in kernel git.