Subject: kern/16235: Argument list too long error when mounting Windows 2000 NTFS partition
To: None <gnats-bugs@gnats.netbsd.org>
From: None <teemu@rinta-aho.org>
List: netbsd-bugs
Date: 04/07/2002 11:25:10
>Number: 16235
>Category: kern
>Synopsis: Argument list too long error when mounting Windows 2000 NTFS partition
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 07 11:25:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Teemu Rinta-aho
>Release: 1.5.3
>Organization:
>Environment:
NetBSD d800 1.5.3 NetBSD 1.5.3 (D800) #0: Sat Apr 6 15:33:14 EEST 2002 root@d800:/usr/src/sys/arch/i386/compile/D800 i386
>Description:
I can't mount Windows 2000 created NTFS partitions.
I get the following error from mount_ntfs:
mount_ntfs: /dev/wd0e on /c: Argument list too long
This is from kernel:
ntfs_readntvattr_plain: POSSIBLE RUN ERROR
ntfs_readattr_plain: ntfs_readntvattr_plain failed: o: 0, s: 320048
ntfs_readattr_plain: attrib: 0 - 78
Here are some more details:
[root@d800 root]# dmesg|grep wd0
wd0 at pciide1 channel 0 drive 0: <IBM-DTLA-307030>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 29314 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 60036480 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (using DMA data transfers)
[root@d800 root]# fdisk
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
BIOS disk geometry:
cylinders: 1023 heads: 255 sectors/track: 63 (16065 sectors/cylinder)
Partition table:
0: sysid 7 (OS/2 HPFS or NTFS or QNX2 or Advanced UNIX)
start 63, size 20482812 (10001 MB), flag 0x80
beg: cylinder 0, head 1, sector 1
end: cylinder 1023, head 254, sector 63
1: sysid 7 (OS/2 HPFS or NTFS or QNX2 or Advanced UNIX)
start 20482875, size 21013020 (10260 MB), flag 0x0
beg: cylinder 1023, head 0, sector 1
end: cylinder 1023, head 254, sector 63
2: sysid 169 (NetBSD)
start 41495895, size 18539010 (9052 MB), flag 0x0
beg: cylinder 1023, head 0, sector 1
end: cylinder 1023, head 254, sector 63
3: <UNUSED>
[root@d800 root]#
[root@d800 root]# disklabel wd0
# /dev/rwd0d:
type: unknown
disk: netbsd
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 60036480
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 18011385 41495895 4.2BSD 1024 8192 16 # (Cyl. 41166*- 59034)
b: 527625 59507280 swap # (Cyl. 59035 - 59558*)
c: 18539010 41495895 unused 0 0 # (Cyl. 41166*- 59558*)
d: 60036480 0 unused 0 0 # (Cyl. 0 - 59559)
e: 20482812 63 NTFS # (Cyl. 0*- 20320*)
f: 21013020 20482875 NTFS # (Cyl. 20320*- 41166*)
>How-To-Repeat:
Just create an NTFS partition under Windows 2000 and try to mount it
under NetBSD 1.5.3.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: