MK-5 SD Card capacity Using Linux

Post all questions and information about the CF-18 in here.
Message
Author
User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Re: MK-5 SD Card capacity Using Linux

#11 Post by SHEEPMAN! »

So this is the 64?

Good show, thanks for reporting back.

It seems you like navigatrix. :)
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

plateaugame
Posts: 17
Joined: Tue Aug 26, 2014 6:09 pm

Re: MK-5 SD Card capacity Using Linux

#12 Post by plateaugame »

Yep, the 64GB.

As far as Navigatrix, I don't have a lot to compare it to, but yeah it does everything I need it to.
Two CF-18NJHZEBM, SSD, Navigatrix 0.5
One CF-18NDHZXVM, Navigatrix 0.5

User avatar
Azrial
Posts: 540
Joined: Sun Nov 29, 2009 1:52 pm
Location: Hotlanta, GA, USA!
Contact:

Re: MK-5 SD Card capacity Using Linux

#13 Post by Azrial »

plateaugame wrote:Got it working. All I needed to do is format the SDXC card as ext4 using the Navigatrix/linux GParted utility.
My CF-30 dual boots Win7 and Ubuntu and the 64GB SDXC card is readable by either. I formatted the card with exFAT using the program I referenced earlier.
I am what I am, somebody has to be.
Call me for free from anywhere in the USA from my homepage! http://www.azrial.com/
CF-31JEGAX1M Mk2 Intel i5-2520M 2.50 GHz, Win7x64 & Ubuntu x64 14.04LTS Dual Boot, 16GB RAM, Samsung 250GB SSD, 2x64GB USB FD, 64GB SDHC, GOBI 4000, BUGPS, IBM AC/DC Supply #22P9003

plateaugame
Posts: 17
Joined: Tue Aug 26, 2014 6:09 pm

Re: MK-5 SD Card capacity Using Linux

#14 Post by plateaugame »

Just ran across this thread/post, should be helpful too.
http://www.toughbooktalk.com/viewtopic. ... =10#p14752
Two CF-18NJHZEBM, SSD, Navigatrix 0.5
One CF-18NDHZXVM, Navigatrix 0.5

plateaugame
Posts: 17
Joined: Tue Aug 26, 2014 6:09 pm

Re: MK-5 SD Card capacity Using Linux

#15 Post by plateaugame »

Azrial wrote:Well it is not a limitation of the OS, I am running Ubuntu 14.04 x64 on a CF-30 Mk2 and I have a 64GB XCHD card in it. I am using FUSE/ ExFAT with it. See: https://code.google.com/p/exfat/
ok, I'm still messing with this. Do you have any instructional links that don't require a google login?

And here's a newby question.... how do I change permissions so that the SD/media device is open for writing all the time?
Two CF-18NJHZEBM, SSD, Navigatrix 0.5
One CF-18NDHZXVM, Navigatrix 0.5

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Re: MK-5 SD Card capacity Using Linux

#16 Post by SHEEPMAN! »

Yell Kodeniner at the top of your lungs.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

User avatar
Shawn
Posts: 2960
Joined: Fri Jan 18, 2013 11:35 am

Re: MK-5 SD Card capacity Using Linux

#17 Post by Shawn »

Life will beat you into submission.

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: MK-5 SD Card capacity Using Linux

#18 Post by kode-niner »

I heard some yelling! :D
plateaugame wrote:
And here's a newby question.... how do I change permissions so that the SD/media device is open for writing all the time?
That depends, and it's not such a newby question since I consider this problem a bug or a distribution flaw in configuration. I see you're using Navigatrix which I believe is based on Ubuntu. Is your vfat sdcard or USB drive automatically mounting when you plug it in? If so, type these to see if your distro is using polkit for automounting and show us the output of each command.

Code: Select all

ps -ef | grep polkitd
sudo ls -l /etc/polkit-1/*
grep plugdev /etc/group
I'd have to look up how it's done on your distro but this is more or less how it used to be done on mine, before they fixed it:
https://www.ab9il.net/linux/pcmanfm-usb-mount.html
Daily drives a CF-31

plateaugame
Posts: 17
Joined: Tue Aug 26, 2014 6:09 pm

Re: MK-5 SD Card capacity Using Linux

#19 Post by plateaugame »

Yes I believe it is automounting, if I understand the term correctly. But the device/media is never open for write access. I have to open it up at the command line with sudo chmod 777 . And that is _all the time_. If I unplug the SC card and plug it back in the write access is gone.

Before your response came in I found this documentation:
https://wiki.archlinux.org/index.php/Ud ... figuration

I added my user to the "backup" group.
Created this file:
/etc/polkit-1/localauthority.conf.d/50-udisks.rules

..with this content:

trav@traveler:/etc/polkit-1/localauthority.conf.d$ cat 50-udisks.rules
polkit.addRule(function(action, subject) {
var YES = polkit.Result.YES;
var permission = {
// only required for udisks1:
"org.freedesktop.udisks.filesystem-mount": YES,
"org.freedesktop.udisks.filesystem-mount-system-internal": YES,
"org.freedesktop.udisks.luks-unlock": YES,
"org.freedesktop.udisks.drive-eject": YES,
"org.freedesktop.udisks.drive-detach": YES,
// only required for udisks2:
"org.freedesktop.udisks2.filesystem-mount": YES,
"org.freedesktop.udisks2.filesystem-mount-system": YES,
"org.freedesktop.udisks2.encrypted-unlock": YES,
"org.freedesktop.udisks2.eject-media": YES,
"org.freedesktop.udisks2.power-off-drive": YES
};
if (subject.isInGroup("backup")) {
return permission[action.id];
}
});

I then observed no change in behavior at all, and that I really had no idea what I was doing, and decided to give up (keep chmod 777 constantly) until I got more information.

So in that context...

$ ps -ef | grep polkitd
root 1085 1 0 11:40 ? 00:00:00 /usr/lib/policykit-1/polkitd --no-debug
trav 3475 2677 0 12:40 pts/1 00:00:00 grep --color=auto polkitd

$ sudo ls -l /etc/polkit-1/*
/etc/polkit-1/localauthority:
total 20
drwxr-xr-x 2 root root 4096 Nov 5 2012 10-vendor.d
drwxr-xr-x 2 root root 4096 Nov 5 2012 20-org.d
drwxr-xr-x 2 root root 4096 Nov 5 2012 30-site.d
drwxr-xr-x 2 root root 4096 Nov 5 2012 50-local.d
drwxr-xr-x 2 root root 4096 Nov 5 2012 90-mandatory.d

/etc/polkit-1/localauthority.conf.d:
total 12
-rw-r--r-- 1 root root 267 Nov 5 2012 50-localauthority.conf
-rw-rw-r-- 1 trav trav 774 Oct 10 14:27 50-udisks.rules
-rw-r--r-- 1 root root 65 Nov 5 2012 51-ubuntu-admin.conf

/etc/polkit-1/nullbackend.conf.d:
total 4
-rw-r--r-- 1 root root 455 Nov 5 2012 50-nullbackend.conf


$ grep plugdev /etc/group
plugdev:x:46:trav
Last edited by plateaugame on Mon Oct 13, 2014 12:35 pm, edited 2 times in total.
Two CF-18NJHZEBM, SSD, Navigatrix 0.5
One CF-18NDHZXVM, Navigatrix 0.5

User avatar
Azrial
Posts: 540
Joined: Sun Nov 29, 2009 1:52 pm
Location: Hotlanta, GA, USA!
Contact:

Re: MK-5 SD Card capacity Using Linux

#20 Post by Azrial »

The Automount is a small problem. Every time I boot in Ubuntu it will start in it's own widow. I just close it and all is good, like I said, a small problem.
I am what I am, somebody has to be.
Call me for free from anywhere in the USA from my homepage! http://www.azrial.com/
CF-31JEGAX1M Mk2 Intel i5-2520M 2.50 GHz, Win7x64 & Ubuntu x64 14.04LTS Dual Boot, 16GB RAM, Samsung 250GB SSD, 2x64GB USB FD, 64GB SDHC, GOBI 4000, BUGPS, IBM AC/DC Supply #22P9003

Post Reply

Return to “CF-18 Talk (Discontinued Model)”