LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-04-2005, 04:55 AM   #1
eco2geek
Member
 
Registered: Feb 2003
Location: Portland, OR
Distribution: openSUSE 10.3, among others
Posts: 141
Blog Entries: 1

Rep: Reputation: 15
Captive-NTFS for FC3? and kernel source question


Is there anyone who's managed to get Captive successfully working on FC3? Or does anyone know of someone who has an rpm available that works? (Its author has apparently given up working on it.)

(It won't compile the LUFS kernel module for some reason. "captive-cmdline" does work; accessing one's hard drive as though it were an FTP site is rather odd.)

And now for a (dumb) kernel source question that's been bugging me: What is the difference between the "kernel source" and "kernel headers"?

And could someone please explain the purpose of the "/lib/modules/2.6.10-1.766_FC3/build/" directory tree? Seems to be a bunch of makefiles.
 
Old 03-04-2005, 05:29 AM   #2
just_dan
Member
 
Registered: Jul 2004
Location: Sunny south wales (cwmbranistan)
Distribution: Colbalt/fedora 6
Posts: 71

Rep: Reputation: 15
I haven't tried the program you are using

however i have got NTFS working on my system with a relativly RPM install

i found this site (http://linux-ntfs.sourceforge.net/rpm/fedora3.html) with full instructions and the RPM's for NTFS

hope this helps

Dan
 
Old 03-05-2005, 01:04 AM   #3
eco2geek
Member
 
Registered: Feb 2003
Location: Portland, OR
Distribution: openSUSE 10.3, among others
Posts: 141

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks, but that wasn't what I was looking for (I'd already installed that read-only ntfs module, and it worked fine).

What I ended up doing was following these instructions to compile my own kernel, first patching the "plain-vanilla" 2.6.10 source code file "/usr/src/linux-2.6.10/kernel/signal.c" with this tiny patch (the error message I was getting from captive was the same "Warning: "kill_proc_info" undefined" error mentioned in the post).

(Plus I told "xconfig" to include ntfs support in the kernel, so there was no need to install the read-only module again.)

Scarily enough, the compiled kernel and captive work.
 
Old 03-10-2005, 07:33 AM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Hey eco2geek would you mind sharing more descriptively what steps you took to get captive to work? I'm more interested in the captive part, compiling the kernel is easy enough.

I'd like to document these steps and publish them on my website if you don't mind.
 
Old 03-11-2005, 12:56 AM   #5
eco2geek
Member
 
Registered: Feb 2003
Location: Portland, OR
Distribution: openSUSE 10.3, among others
Posts: 141

Original Poster
Blog Entries: 1

Rep: Reputation: 15
The thing you must realize is that no one can guarantee that captive-ntfs won't mess up your hard drive. And I haven't used it a lot on FC3, so I can't vouch for it (but on Debian/Kanotix, where the distro maintainer used this patch, so far, so good).

That said, say you've got your vanilla kernel source in /usr/src/linux/ (in other words, the makefile is at /usr/src/linux/Makefile). Then copy the code out of this message on the Captive users support forum:
Code:
diff -Naur kernel/signal.c.orig kernel/signal.c
--- kernel/signal.c.orig        2004-12-28 13:23:06.000000000 +0100
+++ kernel/signal.c     2004-12-28 13:24:59.000000000 +0100
@@ -1939,6 +1939,7 @@
 EXPORT_SYMBOL(sigprocmask);
 EXPORT_SYMBOL(block_all_signals);
 EXPORT_SYMBOL(unblock_all_signals);
+EXPORT_SYMBOL(kill_proc_info);  /* hcz */


 /*
Save it as /usr/src/linux/whatever-name-you-chose.patch and then cd to /usr/src/linux and run the command

patch -p0 < whatever-name-you-chose.patch

(erm, substituting whatever you named it, of course; it doesn't matter), and you're done.

Then again, as you can see from the line with the "+" in front of it, it's just a one-line addition to "signal.c" so you could do it with a text editor.

Then compile as usual.

<edit>No blank lines before or after that code</edit>

Last edited by eco2geek; 03-11-2005 at 01:14 AM.
 
Old 03-12-2005, 03:41 AM   #6
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
Wow! That project looks really interesting! I shall try it next time I boot FC3/Gentoo/SuSE/Whatever I boot. I guess I'll be cautious and only write to my Longhorn NTFS partition though.

Quote:
Then again, as you can see from the line with the "+" in front of it, it's just a one-line addition to "signal.c" so you could do it with a text editor.
You could, but where's the fun in that? Creating your own patches is so much more fun then writing one line in vi. And, it gives my ego a boost
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone use captive-ntfs? bosewicht Linux - Newbie 1 06-03-2005 05:16 AM
Captive NTFS How to!!! Let Make it here! I will post the first question homa2001 Linux - Hardware 1 02-16-2005 06:19 PM
Writing to an NTFS volume using captive-ntfs (repairing boot.ini) macskeeball Linux - General 3 02-06-2005 09:28 PM
Captive-NTFS and LUFS with kernel >= 2.6.8 DaneM Linux - Software 5 02-02-2005 03:21 PM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration