LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ntfs problem with Slackware 14.0 (https://www.linuxquestions.org/questions/slackware-14/ntfs-problem-with-slackware-14-0-a-4175432912/)

allend 10-21-2012 02:24 AM

This is the output on my system
Quote:

bash-4.2$ ls -l /var/log/packages |grep ntfs
-rw-r--r-- 1 root root 3230 Jul 18 21:59 ntfs-3g-2012.1.15-i486-2
There is a discrepancy in the file sizes. Try reinstalling the ntfs-3g package.

SlackInstalled 10-21-2012 01:53 PM

Ok , Here are som things I found out.
Looking at the syslog of Slackware 14.0 revealed the following :

Oct 21 16:48:45 darkstar org.kde.powerdevil.backlighthelper: QDBusConnection: system D-Bus connection created before QCoreApplication. Application may misbehave.
Oct 21 16:48:53 darkstar kernel: [ 68.296738] ata2.00: failed to read SCR 1 (Emask=0x40)
Oct 21 16:48:53 darkstar kernel: [ 68.296742] ata2.01: failed to read SCR 1 (Emask=0x40)
Oct 21 16:48:53 darkstar kernel: [ 68.296748] ata2.15: exception Emask 0x50 SAct 0x0 SErr 0x800 action 0x6 frozen
Oct 21 16:48:53 darkstar kernel: [ 68.296750] ata2.15: irq_stat 0x08000000, interface fatal error
Oct 21 16:48:53 darkstar kernel: [ 68.296752] ata2.15: SError: { HostInt }
Oct 21 16:48:53 darkstar kernel: [ 68.296755] ata2.00: exception Emask 0x100 SAct 0x1 SErr 0x0 action 0x6 frozen
Oct 21 16:48:53 darkstar kernel: [ 68.296758] ata2.00: failed command: READ FPDMA QUEUED
Oct 21 16:48:53 darkstar kernel: [ 68.296762] ata2.00: cmd 60/20:00:0f:34:54/00:00:57:00:00/40 tag 0 ncq 16384 in
Oct 21 16:48:53 darkstar kernel: [ 68.296763] res 50/00:00:00:00:00/00:00:00:00:00/00 Emask 0x100 (unknown error)
Oct 21 16:48:53 darkstar kernel: [ 68.296765] ata2.00: status: { DRDY }
etc

The line about "QDBusConnection: system D-Bus connection created before QCoreApplication. Application may misbehave" is followed by errors on my ata2 connection which is possibly the cause of the misbehavior of my ntfs partition.
If you Google on this then it turns out to be also an assigned bug in KDE.

Further Googling on a Gentoo forum revealed that this problem probably is related to dev-libs/libdbusmenu-qt as well as qt-dbus. This indeed looks to be a d-bus related issue. Someone seems to have solved it by rebuilding qt first and then rebuilding KDE.
Since Xfce uses also qt (at least for applications like Dolphin) it explains why it has the same bug.

I don't know if all the above statements are true and if so if they are the real cause of my problem, but would like to keep everyone updated

SlackInstalled

SlackInstalled 10-21-2012 02:02 PM

This is the output on my system
Quote:
bash-4.2$ ls -l /var/log/packages |grep ntfs
-rw-r--r-- 1 root root 3230 Jul 18 21:59 ntfs-3g-2012.1.15-i486-2
There is a discrepancy in the file sizes. Try reinstalling the ntfs-3g package.

I don't think the difference in reported seizes is the issue since as I reported earlier I have the same problem with the stock ntfs kernel driver

SlackInstalled

foodown 10-27-2012 08:32 PM

This may be a stupid question ...

Why dolphin? Why not just switch over to thunar (at least until the bug gets fixed) and call it a day?

SlackInstalled 10-28-2012 01:51 PM

Why dolphin? Why not just switch over to thunar (at least until the bug gets fixed) and call it a day?

Unluckily Thunar in Xfce gives the same problem
I don't know why, since it is (if I am right) GTK based and not QT
Maybe the underlying problem is a dbus problem and not qdbus (which uses dbus I suppose)

To make sure I tested again with Slackware 13.1 and that version is giving me no problems at all
Also I upgraded My Slackware 14.0 QT to version 4.8.3, but that did not solve the problem either.

SlackInstalled 11-17-2012 04:23 AM

ISSUE SOLVED

IT WAS NOT AN NTFS PROBLEM

The "drive" with the ntfs partiton I have is in fact a hardware raid 1 array.
(Dawicontrol DC-5200)
As such the operating system sees just the "drive" and can access it. No driver is needed.
(It is not a software raid or fake array)
However the raid controller is using the SATA port multiplier functionality.
The port multiplier functionality is used for an application program under Windows to be able to monitor the raid status. As such there are three sub ports on this
controller, Sub-port 0 is the normal raid access port. In addition to that is uses also sub ports 1 and 15.
When the kernel starts, it sees the multiplier functionality, but does not do anything with it. So when accessing the drive from the console it only uses port 0.
However when trying to access the "disk" from the windows manager it tries to open all three ports as disks (so also sub ports 1 and 15) and it fails on those.
I don't know why the windows manager tries to do this different from the console, but it is causing my problems.
I also don't know why this functionality of the windows manager has changed between releases 13.1 and 13.37.

To solve the problem I recompiled the kernel with the kernel configuration parameter CONFIG_SATA_PMP=n (instead of y) in order to disable the port multiplier functionality.
After that change I can now access my ntfs partition from the windows manager without any problems

So the problem for me is solved, however there seems to be a bug in the windows manager chain.

BW-userx 10-01-2013 11:12 AM

Quote:

Originally Posted by Alien Bob (Post 4810987)
During Slackware installation, you are giving a selection of choices in the way you are going to make your NTFS partition accessible.

Code:

SET SECURITY FOR NTFS PARTITION /xxxxxx

Because users could go snooping through (or destroy, depending on
the settings) your Windows partition, you should choose how much access would you
like your non-root users to have to partition /xxxxxx.  The access level can
range from no access at all, to read-only for everyone, to read-write access
for every user on the machine.  A reasonable default (read-write for root only)
is chosen, but you may set this any way that you like.

You get the following choices, note that the driver which is going to be used is mentioned at the end. The mount options which are going to be added to "/etc/fstab" are shown at the beginning of the below lines.
You do not see that in the setup dialog while you are installing, but I left them in for informational purposes:
Code:

"fmask=177,dmask=077" "Root has read/write access, users have no access (ntfs-3g)"
"fmask=333,dmask=222" "Everyone has read only access (built-in kernel ntfs driver)"
"fmask=133,dmask=022" "Everyone has read access, but only root can write (ntfs-3g)"
"fmask=111,dmask=000" "All users can read/write to any file (ntfs-3g)"

Can you post the line in /etc/fstab which you had for that NTFS partition while your were experiencing these issues? I run Slackware 14 on this computer in the living room which has a Windows7 partition for the rest of the family and I can browse, read and write to the NTFS partition, even from a graphical filemanager like Dolphin (I run KDE) without problems.

Please give more details about your installation. What Desktop Environment are you using, do you have a full Slackware installation, are you booting in runlevel 3 or 4?

Eric


I did all that and I am in runlevel 4 in 3 even and I cannot see them in my file manager this is my fstab --

/dev/sda3 swap swap defaults 0 0
/dev/sda2 / ext4 defaults 1 1
/dev/sda1 /ntfs ntfs-3g fmask=133,dmask=022 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 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


I can cd to in in a terminal though and see the files and such but how does one cd into Documents and Settings ?


All times are GMT -5. The time now is 01:46 PM.