Saturday, March 19, 2011

[Solution] NTFS write support

There are a couple of removable hard drives, which my fiancĂ©e has formatted in Windows. So they have NTFS, and she wants write to them from her usual desktop. From Gentoo.
As it turned out, there is no support for writing NTFS in kernel. Weird, ha?
The solution is simple:
emerge ntfs3g
Don't forget to enable FUSE (CONFIG_FUSE_FS) in kernel. I have compiled it as module, not sure if ntfs3g will work with FUSE built in kernel. Just haven't checked.
I have also enabled NTFS in kernel (CONFIG_NTFS_FS). Again, not sure if it is necessary.

Tuesday, March 15, 2011

[Solution] Blank screen after upgrading xorg-server from 1.7 to 1.9

I could not upgrade my xorg-server from 1.7 to 1.9 for months. The problem was that this upgrades nvidia-drivers too, from 195.smthing to 260.smthing. And with this combination (xorg-server-1.9 and nvidia-drivers-260) I always have a blank screen. And  my monitor says: "No signal".
The solution is: set "ConnectedMonitor" option in the "Screen" section of xorg.conf. To what value? I have checked my Xorg.0.log file for the successfull boot (xorg-server-1.7 and nvidia-drivers-195) and found that nvidia driver found my monitor at CRT-1 output of the card. The relevant line in the log looks like:
(II) NVIDIA(0): Assigned Display Device: CRT-1

So, put the line:
    Option         "ConnectedMonitor" "CRT-1"
in the "Screen" section of xorg.conf. That's it.

It seems that nvidia-drivers-260 can not correctly autodetect the right output to which monitor is connected, while drivers of version 195 could do it. Minus to nvidia's carma.

By the way, on my home computer the right output is named "DFP-0". CRT is for VGA D-SUB connector, while DFP is for DVI connector. Don't know names for the HDMI and other types.

Links which helped me: