Page 1 of 1

HOW TO allow normal users to write on NTFS external drives?

Posted: 4. Dec 2010, 13:06
by xirtyllo
hello,
i have installed Salix 13.1 LXDE version.

I must use various external hard disks which are formatted with NTFS.
The hard disks are recognized and mounted with PCmanFM file manager,
but only user root can write on them.

How can I allow normal users to write on automounted external ntfs drives?

EDIT: I also tried to give the following as root:

Code: Select all

chmod -R ugo+rwx /media/EXTERNAL1/

and i tried to install xfce package to use thunar, but with thunar not even root is able to write on the drive.
I have two different computers with the same version of Salix installed and i have the same problem..
I think that maybe i need to modify some HAL rule...

Thank You!
Tommaso

PS: I catch the occasion to say thank you to all Salix developers, it's a great distro!

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 5. Dec 2010, 13:18
by gapan
This is weird. It should work out of the box. Could it be that your ntfs drives have not been cleanly unmounted previously and are being mounted read-only?

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 5. Dec 2010, 21:36
by xirtyllo
i tried to check for errors one of the drives using Windows XP, it seems all fine there, but still same problem in Salix...

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 5. Dec 2010, 21:49
by gapan
What does mount report when the drive is mounted? What does dmesg report when you are attaching the drive? And what are the contents of your /etc/fstab?

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 6. Dec 2010, 08:12
by xirtyllo
they are external usb hard disks, so i simply connect them and an icon appears on PCmanFM.. then i simply click on them and they are mounted.
so i don't think that mount is involved.?
i tried to give the following as root: (messages translated from italian)

Code: Select all

root[alien]# mkdir /media/x
root[alien]# chmod ugo+rwx /media/x
root[alien]# mount -v /dev/sdb1 /media/x
mount: you didn't specify a filesystem type for /dev/sdb1
     Trying with ntfs type
/dev/sdb1 on /media/x type ntfs (rw)
after this the drive is mounted on /media/x, but normal users still can't write on it.


here's my fstab:

Code: Select all

/dev/sda4        swap             swap        defaults         0   0
/dev/sda2        /                ext4        noatime,defaults 1   1
/dev/sda3        /home            ext4        noatime,defaults 1   2
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
#/dev/fd0         /mnt/floppy      auto        noauto,users,rw,umask=00 0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0

/dev/sda1        /windowsXP   ntfs       umask=077,defaults,nouser,noauto  0   0
I wasn't sure what to look for in dmesg, so i rebooted with the external disk connected (usb). I attach the whole dmesg:

Code: Select all

        
BOOTMEM
  #12 [00016b4c80 - 00016b4ca5]         BOOTMEM
  #13 [00016b4d00 - 00016b4d27]         BOOTMEM
  #14 [00016b4d80 - 00016b4f08]         BOOTMEM
  #15 [00016b4f80 - 00016b4fc0]         BOOTMEM
  #16 [0001dbf100 - 0001dbf140]         BOOTMEM
  #17 [0001dbf180 - 0001dbf1c0]         BOOTMEM
  #18 [0001dbf200 - 0001dbf240]         BOOTMEM
  #19 [0001dbf280 - 0001dbf2c0]         BOOTMEM
  #20 [0001dbf300 - 0001dbf340]         BOOTMEM
  #21 [0001dbf380 - 0001dbf3c0]         BOOTMEM
  #22 [0001dbf400 - 0001dbf440]         BOOTMEM
  #23 [0001dbf480 - 0001dbf4c0]         BOOTMEM
  #24 [0001dbf500 - 0001dbf540]         BOOTMEM
  #25 [0001dbf580 - 0001dbf5c0]         BOOTMEM
  #26 [0001dbf600 - 0001dbf640]         BOOTMEM
  #27 [0001dbf680 - 0001dbf6c0]         BOOTMEM
  #28 [0001dbf700 - 0001dbf73c]         BOOTMEM
  #29 [0001dbf780 - 0001dbf7bc]         BOOTMEM
  #30 [0002000000 - 000200f000]         BOOTMEM
  #31 [0002200000 - 000220f000]         BOOTMEM
  #32 [0001dc1800 - 0001dc1804]         BOOTMEM
  #33 [0001dc1880 - 0001dc1884]         BOOTMEM
  #34 [0001dc1900 - 0001dc1908]         BOOTMEM
  #35 [0001dc1980 - 0001dc1988]         BOOTMEM
  #36 [0001dc1a00 - 0001dc1aa8]         BOOTMEM
  #37 [0001dc1b00 - 0001dc1b68]         BOOTMEM
  #38 [0001dc1b80 - 0001dc5b80]         BOOTMEM
  #39 [0001dc5b80 - 0001e45b80]         BOOTMEM
  #40 [0001e45b80 - 0001e85b80]         BOOTMEM
Memory: 901652k/917044k available (4076k kernel code, 15000k reserved, 2192k data, 388k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff8f000 - 0xfffff000   ( 448 kB)
    vmalloc : 0xf878d000 - 0xfff8d000   ( 120 MB)
    lowmem  : 0xc0000000 - 0xf7f8d000   ( 895 MB)
      .init : 0xc1620000 - 0xc1681000   ( 388 kB)
      .data : 0xc13fb3d9 - 0xc161f454   (2192 kB)
      .text : 0xc1000000 - 0xc13fb3d9   (4076 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
	RCU-based detection of stalled CPUs is disabled.
	Verbose stalled-CPUs detection is disabled.
NR_IRQS:320
CPU 0 irqstacks, hard=c2000000 soft=c2001000
Console: colour VGA+ 80x25
console [tty0] enabled
hpet clockevent registered
Fast TSC calibration using PIT
Detected 1595.733 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 3191.46 BogoMIPS (lpj=1595733)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
mce: CPU supports 6 MCE banks
CPU0: Thermal monitoring enabled (TM1)
using mwait in idle threads.
Performance Events: Core events, core PMU driver.
... version:                1
... bit width:              40
... generic registers:      2
... value mask:             000000ffffffffff
... max period:             000000007fffffff
... fixed-purpose events:   0
... event mask:             0000000000000003
Freeing SMP alternatives: 20k freed
ACPI: Core revision 20100702
Enabling APIC mode:  Flat.  Using 1 I/O APICs
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Genuine Intel(R) CPU           T2060  @ 1.60GHz stepping 0c
CPU 1 irqstacks, hard=c2200000 soft=c2201000
Booting Node   0, Processors  #1 Ok.
Initializing CPU#1
Brought up 2 CPUs
Total of 2 processors activated (6383.42 BogoMIPS).
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
PCI: Using MMCONFIG for extended config space
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: BIOS _OSI(Linux) query ignored
ACPI: SSDT 3f685f02 00238 (v01  PmRef  Cpu0Ist 00003000 INTL 20050228)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT (null) 00238 (v01  PmRef  Cpu0Ist 00003000 INTL 20050228)
ACPI: SSDT 3f6859bb 004C2 (v01  PmRef  Cpu0Cst 00003001 INTL 20050228)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT (null) 004C2 (v01  PmRef  Cpu0Cst 00003001 INTL 20050228)
ACPI: SSDT 3f68613a 000C8 (v01  PmRef  Cpu1Ist 00003000 INTL 20050228)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT (null) 000C8 (v01  PmRef  Cpu1Ist 00003000 INTL 20050228)
ACPI: SSDT 3f685e7d 00085 (v01  PmRef  Cpu1Cst 00003000 INTL 20050228)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT (null) 00085 (v01  PmRef  Cpu1Cst 00003000 INTL 20050228)
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: EC: GPE = 0x19, I/O: command/status = 0x66, data = 0x62
PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
pci_root PNP0A08:00: host bridge window [io  0x0000-0x0cf7]
pci_root PNP0A08:00: host bridge window [io  0x0d00-0xffff]
pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
pci_root PNP0A08:00: host bridge window [mem 0x000d0000-0x000d3fff]
pci_root PNP0A08:00: host bridge window [mem 0x000d4000-0x000d7fff]
pci_root PNP0A08:00: host bridge window [mem 0x000d8000-0x000dbfff]
pci_root PNP0A08:00: host bridge window [mem 0x000dc000-0x000dffff]
pci_root PNP0A08:00: host bridge window [mem 0x40000000-0xfebfffff]
pci 0000:00:02.0: reg 10: [mem 0xf0000000-0xf007ffff]
pci 0000:00:02.0: reg 14: [io  0x5088-0x508f]
pci 0000:00:02.0: reg 18: [mem 0xd0000000-0xdfffffff pref]
pci 0000:00:02.0: reg 1c: [mem 0xf0200000-0xf023ffff]
pci 0000:00:02.1: reg 10: [mem 0xf0080000-0xf00fffff]
pci 0000:00:1b.0: reg 10: [mem 0xf0240000-0xf0243fff 64bit]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.1: PME# disabled
pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.2: PME# disabled
pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.3: PME# disabled
pci 0000:00:1d.0: reg 20: [io  0x50a0-0x50bf]
pci 0000:00:1d.1: reg 20: [io  0x50c0-0x50df]
pci 0000:00:1d.2: reg 20: [io  0x50e0-0x50ff]
pci 0000:00:1d.3: reg 20: [io  0x5400-0x541f]
pci 0000:00:1d.7: reg 10: [mem 0xf0444000-0xf04443ff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.0: quirk: [io  0x1000-0x107f] claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: [io  0x1180-0x11bf] claimed by ICH6 GPIO
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0230 (mask 000f)
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at ff20 (mask 000f)
pci 0000:00:1f.2: reg 10: [io  0x0000-0x0007]
pci 0000:00:1f.2: reg 14: [io  0x0000-0x0003]
pci 0000:00:1f.2: reg 18: [io  0x0000-0x0007]
pci 0000:00:1f.2: reg 1c: [io  0x0000-0x0003]
pci 0000:00:1f.2: reg 20: [io  0x5440-0x544f]
pci 0000:00:1f.2: PME# supported from D3hot
pci 0000:00:1f.2: PME# disabled
pci 0000:00:1f.3: reg 20: [io  0x5420-0x543f]
pci 0000:00:1c.0: PCI bridge to [bus 02-02]
pci 0000:00:1c.0:   bridge window [io  0x0000-0x0000] (disabled)
pci 0000:00:1c.0:   bridge window [mem 0x00000000-0x000fffff] (disabled)
pci 0000:00:1c.0:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:00:1c.1: PCI bridge to [bus 03-03]
pci 0000:00:1c.1:   bridge window [io  0xf000-0x0000] (disabled)
pci 0000:00:1c.1:   bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:1c.1:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:00:1c.2: PCI bridge to [bus 04-04]
pci 0000:00:1c.2:   bridge window [io  0xf000-0x0000] (disabled)
pci 0000:00:1c.2:   bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:1c.2:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:00:1c.3: PCI bridge to [bus 05-05]
pci 0000:00:1c.3:   bridge window [io  0xf000-0x0000] (disabled)
pci 0000:00:1c.3:   bridge window [mem 0xfff00000-0x000fffff] (disabled)
pci 0000:00:1c.3:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:06:01.0: reg 10: [mem 0xf0100000-0xf0101fff]
pci 0000:06:01.0: supports D1 D2
pci 0000:06:01.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:06:01.0: PME# disabled
pci 0000:06:02.0: reg 10: [mem 0xf0110000-0xf011ffff]
pci 0000:06:04.0: reg 10: [mem 0x00000000-0x00000fff]
pci 0000:06:04.0: supports D1 D2
pci 0000:06:04.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:06:04.0: PME# disabled
pci 0000:06:04.1: reg 10: [mem 0xf0103000-0xf010307f]
pci 0000:06:04.1: supports D1 D2
pci 0000:06:04.1: PME# supported from D0 D1 D2 D3hot
pci 0000:06:04.1: PME# disabled
pci 0000:06:04.2: reg 10: [mem 0xf0103400-0xf01034ff]
pci 0000:06:04.2: supports D1 D2
pci 0000:06:04.2: PME# supported from D0 D1 D2 D3hot
pci 0000:06:04.2: PME# disabled
pci 0000:06:04.3: reg 10: [mem 0xf0103800-0xf010387f]
pci 0000:06:04.3: supports D1 D2
pci 0000:06:04.3: PME# supported from D0 D1 D2 D3hot
pci 0000:06:04.3: PME# disabled
pci 0000:06:04.4: reg 10: [mem 0x00000000-0x000000ff]
pci 0000:06:04.4: supports D1 D2
pci 0000:06:04.4: PME# supported from D0 D1 D2 D3hot
pci 0000:06:04.4: PME# disabled
pci 0000:00:1e.0: PCI bridge to [bus 06-07] (subtractive decode)
pci 0000:00:1e.0:   bridge window [io  0xf000-0x0000] (disabled)
pci 0000:00:1e.0:   bridge window [mem 0xf0100000-0xf01fffff]
pci 0000:00:1e.0:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
pci 0000:00:1e.0:   bridge window [io  0x0000-0x0cf7] (subtractive decode)
pci 0000:00:1e.0:   bridge window [io  0x0d00-0xffff] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x000d0000-0x000d3fff] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x000d4000-0x000d7fff] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x000d8000-0x000dbfff] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x000dc000-0x000dffff] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x40000000-0xfebfffff] (subtractive decode)
pci_bus 0000:07: [bus 07-0a] partially hidden behind transparent bridge 0000:06 [bus 06-07]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP04._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 5 *6 10 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 5 6 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 5 6 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 5 6 11 12 14 15) *10
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 5 6 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 5 6 11 12 14 15) *10
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 5 6 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 1 *5 6 11 12 14 15)
vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ACPI: WMI: Mapper loaded
Advanced Linux Sound Architecture Driver Version 1.0.23.
PCI: Using ACPI for IRQ routing
PCI: pci_cache_line_size set to 64 bytes
reserve RAM buffer: 000000000009f800 - 000000000009ffff 
reserve RAM buffer: 000000003f680000 - 000000003fffffff 
cfg80211: Calling CRDA to update world regulatory domain
HPET: 3 timers in total, 0 timers will be used for per-cpu timer
Switching to clocksource tsc
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
system 00:01: [mem 0xe0000000-0xefffffff] has been reserved
system 00:01: [mem 0xfed14000-0xfed17fff] has been reserved
system 00:01: [mem 0xfed18000-0xfed18fff] has been reserved
system 00:01: [mem 0xfed19000-0xfed19fff] has been reserved
system 00:01: [mem 0xfed1c000-0xfed1ffff] has been reserved
system 00:01: [mem 0xfed20000-0xfed3ffff] has been reserved
system 00:04: [mem 0xfed00000-0xfed003ff] has been reserved
system 00:06: [io  0x0800-0x080f] has been reserved
system 00:06: [io  0x1000-0x107f] has been reserved
system 00:06: [io  0x1180-0x11bf] has been reserved
system 00:06: [io  0x1640-0x164f] has been reserved
system 00:06: [io  0xfe00-0xfefe] has been reserved
system 00:06: [io  0xff2c-0xff2f] has been reserved
pci 0000:00:1e.0: BAR 9: assigned [mem 0x40000000-0x43ffffff pref]
pci 0000:00:1c.0: BAR 8: assigned [mem 0x44000000-0x441fffff]
pci 0000:00:1c.0: BAR 9: assigned [mem 0x44200000-0x443fffff 64bit pref]
pci 0000:00:1c.1: BAR 8: assigned [mem 0x44400000-0x445fffff]
pci 0000:00:1c.1: BAR 9: assigned [mem 0x44600000-0x447fffff 64bit pref]
pci 0000:00:1c.2: BAR 8: assigned [mem 0x44800000-0x449fffff]
pci 0000:00:1c.2: BAR 9: assigned [mem 0x44a00000-0x44bfffff 64bit pref]
pci 0000:00:1c.3: BAR 8: assigned [mem 0x44c00000-0x44dfffff]
pci 0000:00:1c.3: BAR 9: assigned [mem 0x44e00000-0x44ffffff 64bit pref]
pci 0000:00:1c.0: BAR 7: assigned [io  0x2000-0x2fff]
pci 0000:00:1c.1: BAR 7: assigned [io  0x3000-0x3fff]
pci 0000:00:1c.2: BAR 7: assigned [io  0x4000-0x4fff]
pci 0000:00:1c.3: BAR 7: assigned [io  0x6000-0x6fff]
pci 0000:00:1e.0: BAR 7: assigned [io  0x7000-0x7fff]
pci 0000:00:1c.0: PCI bridge to [bus 02-02]
pci 0000:00:1c.0:   bridge window [io  0x2000-0x2fff]
pci 0000:00:1c.0:   bridge window [mem 0x44000000-0x441fffff]
pci 0000:00:1c.0:   bridge window [mem 0x44200000-0x443fffff 64bit pref]
pci 0000:00:1c.1: PCI bridge to [bus 03-03]
pci 0000:00:1c.1:   bridge window [io  0x3000-0x3fff]
pci 0000:00:1c.1:   bridge window [mem 0x44400000-0x445fffff]
pci 0000:00:1c.1:   bridge window [mem 0x44600000-0x447fffff 64bit pref]
pci 0000:00:1c.2: PCI bridge to [bus 04-04]
pci 0000:00:1c.2:   bridge window [io  0x4000-0x4fff]
pci 0000:00:1c.2:   bridge window [mem 0x44800000-0x449fffff]
pci 0000:00:1c.2:   bridge window [mem 0x44a00000-0x44bfffff 64bit pref]
pci 0000:00:1c.3: PCI bridge to [bus 05-05]
pci 0000:00:1c.3:   bridge window [io  0x6000-0x6fff]
pci 0000:00:1c.3:   bridge window [mem 0x44c00000-0x44dfffff]
pci 0000:00:1c.3:   bridge window [mem 0x44e00000-0x44ffffff 64bit pref]
pci 0000:06:04.0: BAR 9: assigned [mem 0x40000000-0x43ffffff pref]
pci 0000:06:04.0: BAR 10: assigned [mem 0x48000000-0x4bffffff]
pci 0000:06:04.0: BAR 0: assigned [mem 0xf0102000-0xf0102fff]
pci 0000:06:04.0: BAR 0: set to [mem 0xf0102000-0xf0102fff] (PCI address [0xf0102000-0xf0102fff]
pci 0000:06:04.0: BAR 7: assigned [io  0x7000-0x70ff]
pci 0000:06:04.0: BAR 8: assigned [io  0x7400-0x74ff]
pci 0000:06:04.4: BAR 0: assigned [mem 0xf0103100-0xf01031ff]
pci 0000:06:04.4: BAR 0: set to [mem 0xf0103100-0xf01031ff] (PCI address [0xf0103100-0xf01031ff]
pci 0000:06:04.0: CardBus bridge to [bus 07-0a]
pci 0000:06:04.0:   bridge window [io  0x7000-0x70ff]
pci 0000:06:04.0:   bridge window [io  0x7400-0x74ff]
pci 0000:06:04.0:   bridge window [mem 0x40000000-0x43ffffff pref]
pci 0000:06:04.0:   bridge window [mem 0x48000000-0x4bffffff]
pci 0000:00:1e.0: PCI bridge to [bus 06-07]
pci 0000:00:1e.0:   bridge window [io  0x7000-0x7fff]
pci 0000:00:1e.0:   bridge window [mem 0xf0100000-0xf01fffff]
pci 0000:00:1e.0:   bridge window [mem 0x40000000-0x43ffffff pref]
pci 0000:00:1c.0: enabling device (0100 -> 0103)
pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.1: PCI INT B -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.1: setting latency timer to 64
pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
pci 0000:00:1c.2: setting latency timer to 64
pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
pci 0000:00:1c.3: setting latency timer to 64
pci 0000:00:1e.0: enabling device (0004 -> 0007)
pci 0000:00:1e.0: setting latency timer to 64
pci 0000:06:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7]
pci_bus 0000:00: resource 5 [io  0x0d00-0xffff]
pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:00: resource 7 [mem 0x000d0000-0x000d3fff]
pci_bus 0000:00: resource 8 [mem 0x000d4000-0x000d7fff]
pci_bus 0000:00: resource 9 [mem 0x000d8000-0x000dbfff]
pci_bus 0000:00: resource 10 [mem 0x000dc000-0x000dffff]
pci_bus 0000:00: resource 11 [mem 0x40000000-0xfebfffff]
pci_bus 0000:02: resource 0 [io  0x2000-0x2fff]
pci_bus 0000:02: resource 1 [mem 0x44000000-0x441fffff]
pci_bus 0000:02: resource 2 [mem 0x44200000-0x443fffff 64bit pref]
pci_bus 0000:03: resource 0 [io  0x3000-0x3fff]
pci_bus 0000:03: resource 1 [mem 0x44400000-0x445fffff]
pci_bus 0000:03: resource 2 [mem 0x44600000-0x447fffff 64bit pref]
pci_bus 0000:04: resource 0 [io  0x4000-0x4fff]
pci_bus 0000:04: resource 1 [mem 0x44800000-0x449fffff]
pci_bus 0000:04: resource 2 [mem 0x44a00000-0x44bfffff 64bit pref]
pci_bus 0000:05: resource 0 [io  0x6000-0x6fff]
pci_bus 0000:05: resource 1 [mem 0x44c00000-0x44dfffff]
pci_bus 0000:05: resource 2 [mem 0x44e00000-0x44ffffff 64bit pref]
pci_bus 0000:06: resource 0 [io  0x7000-0x7fff]
pci_bus 0000:06: resource 1 [mem 0xf0100000-0xf01fffff]
pci_bus 0000:06: resource 2 [mem 0x40000000-0x43ffffff pref]
pci_bus 0000:06: resource 4 [io  0x0000-0x0cf7]
pci_bus 0000:06: resource 5 [io  0x0d00-0xffff]
pci_bus 0000:06: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:06: resource 7 [mem 0x000d0000-0x000d3fff]
pci_bus 0000:06: resource 8 [mem 0x000d4000-0x000d7fff]
pci_bus 0000:06: resource 9 [mem 0x000d8000-0x000dbfff]
pci_bus 0000:06: resource 10 [mem 0x000dc000-0x000dffff]
pci_bus 0000:06: resource 11 [mem 0x40000000-0xfebfffff]
pci_bus 0000:07: resource 0 [io  0x7000-0x70ff]
pci_bus 0000:07: resource 1 [io  0x7400-0x74ff]
pci_bus 0000:07: resource 2 [mem 0x40000000-0x43ffffff pref]
pci_bus 0000:07: resource 3 [mem 0x48000000-0x4bffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:00:02.0: Boot video device
PCI: CLS mismatch (64 != 32), using 64 bytes
Simple Boot Flag at 0x36 set to 0x1
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.15)
msgmni has been set to 1761
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler cfq registered (default)
intel_idle: MWAIT substates: 0x1110
intel_idle: does not run on family 6 model 14
ACPI: AC Adapter [ACAD] (on-line)
input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
ACPI: Lid Switch [LID]
input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
ACPI: Sleep Button [SLPB]
input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
ACPI: Power Button [PWRB]
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
ACPI: Power Button [PWRF]
input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input4
ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
ACPI: acpi_idle registered with cpuidle
Marking TSC unstable due to TSC halts in idle
Switching to clocksource hpet
thermal LNXTHERM:01: registered as thermal_zone0
ACPI: Thermal Zone [TZ00] (50 C)
thermal LNXTHERM:02: registered as thermal_zone1
ACPI: Thermal Zone [TZ01] (50 C)
Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel 945GM Chipset
agpgart-intel 0000:00:00.0: detected 7932K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
[drm] set up 7M of stolen space
ACPI: EC: GPE storm detected, transactions will use polling mode
vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[drm] initialized overlay support
ACPI: Battery Slot [BAT1] (battery present)
Console: switching to colour frame buffer device 160x50
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
loop: module loaded
Loading iSCSI transport class v2.0-870.
ata_piix 0000:00:1f.2: version 2.13
ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
ata_piix 0000:00:1f.2: setting latency timer to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x5440 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x5448 irq 15
b44 0000:06:01.0: enabling device (0000 -> 0002)
b44 0000:06:01.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
b44 0000:06:01.0: setting latency timer to 64
ssb: Core 0 found: Fast Ethernet (cc 0x806, rev 0x07, vendor 0x4243)
ssb: Core 1 found: V90 (cc 0x807, rev 0x03, vendor 0x4243)
ssb: Core 2 found: PCI (cc 0x804, rev 0x0A, vendor 0x4243)
ssb: Sonics Silicon Backplane found on PCI device 0000:06:01.0
b44: b44.c:v2.0
b44 ssb0:0: eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:16:d4:a9:3a:db
PPP generic driver version 2.4.2
ath5k 0000:06:02.0: enabling device (0000 -> 0002)
ath5k 0000:06:02.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
ath5k 0000:06:02.0: registered as 'phy0'
ata1.00: ATA-7: Hitachi HTS541612J9SA00, SBDOC70P, max UDMA/100
ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS54161 SBDO PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/111 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: Attached scsi generic sg0 type 0
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
ata2.00: ATAPI: Slimtype DVDRW SSM-8515S, GRS6, max UDMA/33
ata2.00: configured for UDMA/33
scsi 1:0:0:0: CD-ROM            Slimtype DVDRW SSM-8515S  GRS6 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
sr 1:0:0:0: Attached scsi generic sg1 type 5
ath: EEPROM regdomain: 0x63
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x63
phy0: Selected rate control algorithm 'minstrel_ht'
ath5k phy0: Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45)
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: using broken periodic workaround
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 64 is not supported
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf0444000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.36.1 ehci_hcd
usb usb1: SerialNumber: 0000:00:1d.7
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 23, io base 0x000050a0
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.36.1 uhci_hcd
usb usb2: SerialNumber: 0000:00:1d.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x000050c0
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.36.1 uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.1
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 18, io base 0x000050e0
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.36.1 uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.2
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1d.3: setting latency timer to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 16, io base 0x00005400
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.36.1 uhci_hcd
usb usb5: SerialNumber: 0000:00:1d.3
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:MSS0] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
I2O subsystem v1.325
i2o: max drivers = 8
I2O Configuration OSM v1.323
I2O Bus Adapter OSM v1.317
I2O Block Device OSM v1.325
I2O SCSI Peripheral OSM v1.316
I2O ProcFS OSM v1.316
i2c /dev entries driver
i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
ACPI: resource 0000:00:1f.3 [io  0x5420-0x543f] conflicts with ACPI region SMBI [??? 0x00005420-0x0000542f flags 0x49]
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
cpuidle: using governor ladder
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pci 0000:06:04.2: SDHCI controller found [1524:0550] (rev 1)
sdhci-pci 0000:06:04.2: enabling device (0000 -> 0002)
sdhci-pci 0000:06:04.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
Registered led device: mmc0::
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
mmc0: SDHCI controller on PCI [0000:06:04.2] using PIO
sdhci-pci 0000:06:04.4: SDHCI controller found [1524:0551] (rev 1)
sdhci-pci 0000:06:04.4: enabling device (0000 -> 0002)
sdhci-pci 0000:06:04.4: PCI INT B -> GSI 17 (level, low) -> IRQ 17
Registered led device: mmc1::
mmc1: SDHCI controller on PCI [0000:06:04.4] using PIO
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
acer-wmi: Acer Laptop ACPI-WMI Extras
Registered led device: acer-wmi::mail
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 40 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
ALSA device list:
  #0: HDA Intel at 0xf0240000 irq 40
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Using IPI Shortcut mode
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: New USB device found, idVendor=152d, idProduct=2339
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
usb 1-1: Product: USB to ATA/ATAPI Bridge
usb 1-1: Manufacturer: JMicron
usb 1-1: SerialNumber: 7C2FFFFFFFFF
scsi2 : usb-storage 1-1:1.0
usb 1-4: new high speed USB device using ehci_hcd and address 4
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x1280b1, caps: 0xa04713/0x204000/0x0
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input6
EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
Freeing unused kernel memory: 388k freed
usb 1-4: New USB device found, idVendor=046d, idProduct=0896
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-4: Product: Camera
usb 1-4: Manufacturer: OEM
usb 3-1: new low speed USB device using uhci_hcd and address 2
usb 3-1: New USB device found, idVendor=093a, idProduct=2510
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: USB OPTICAL MOUSE
usb 3-1: Manufacturer: PIXART
input: PIXART USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input7
generic-usb 0003:093A:2510.0001: input,hidraw0: USB HID v1.11 Mouse [PIXART USB OPTICAL MOUSE] on usb-0000:00:1d.1-1/input0
scsi 2:0:0:0: Direct-Access     TOSHIBA  MK2035GSS             PQ: 0 ANSI: 2 CCS
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] 390721968 512-byte logical blocks: (200 GB/186 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 38 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI disk
udevd (918): /proc/918/oom_adj is deprecated, please use /proc/918/oom_score_adj instead.
Adding 5566516k swap on /dev/sda4.  Priority:-1 extents:1 across:5566516k 
EXT4-fs (sda2): re-mounted. Opts: (null)
EXT4-fs (sda2): re-mounted. Opts: (null)
EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
i noticed these lines:
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.15)


and this is the external hard disk:
scsi 2:0:0:0: Direct-Access TOSHIBA MK2035GSS PQ: 0 ANSI: 2 CCS
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] 390721968 512-byte logical blocks: (200 GB/186 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 38 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI disk

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 6. Dec 2010, 14:11
by JRD
Just a hint: ntfs-3g will not mount the disk read/write if you have unmounted it incorrectly or if you have run hibernation under Windows. There are also other cases. See the documentation of ntfs-3g for more info.

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 6. Dec 2010, 15:00
by gapan
Try to mount manually with:

Code: Select all

mount -v -t ntfs-3g /dev/sdb1 /media/x
what do you get?

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 9. Dec 2010, 14:44
by xirtyllo
I didn't have occasion to work on that computer yet,
but my father told me that one of those external hard disks now works in write mode.
I guess it might be unclean NTFS filesystem issue after all...

I'm trying to convince my father to move in linux for good and format the drives in EXT4,
but he still wants NTFS to be able to get files from his friends who use windows when he travels...
I was thinking to suggest him to keep an external drive partitioned in 2 parts, one with FAT32 to receive files from windows and one with EXT4 to store them.
What do you think?

Tommaso

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 9. Dec 2010, 14:50
by ax
As Told by Gapan the best way to mount a drive for writing and reading is to use NTFS file system as ntfs-3g ... there should be no problems with that.

The solution EXT4 + fat32 is obviously more convenient but at present is not very different from ntfs. Now the system is perfectly capable of handling ad fat32 :)

There is no need to change ...

Re: HOW TO allow normal users to write on NTFS external driv

Posted: 22. Dec 2010, 16:39
by mandog
install Disk manager, from the repro if you are not sure how to edit the fstab and tick the boxes