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

Notices


Closed Thread
  Search this Thread
Old 03-20-2003, 05:01 AM   #16
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15

On Slackware 8.1 there is both /usr/src/linux/ and /usr/src/linux-2.4.18/

Which of these two is the one to edit? Both directories contents look the same to me [New to linux]


All I want to do is add NTSF Read/Write to my kernel, leaving all else as is. Just adding support for NTSF is all I want to do. Thanks

Last edited by narusegawa; 03-20-2003 at 05:04 AM.
 
Old 03-20-2003, 05:20 AM   #17
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Quote:
Originally posted by narusegawa
On Slackware 8.1 there is both /usr/src/linux/ and /usr/src/linux-2.4.18/

Which of these two is the one to edit? Both directories contents look the same to me [New to linux]
/usr/src/linux is a symbolic link to /usr/src/linux-2.x.xx
Code:
bern@grendel bern$ ll /usr/src/linux
lrwxrwxrwx    1 root     root           12 Mar 20 18:42 /usr/src/linux -> linux-2.4.20
Quote:
Originally posted by narusegawa
All I want to do is add NTSF Read/Write to my kernel, leaving all else as is. Just adding support for NTSF is all I want to do. Thanks
You don't need to recompile in slackware if you want ntfs read-only support, and writing to ntfs is likely to corrupt your data. Do "modprobe ntfs" to load the read-only module, edit /etc/rc.d/rc.modules to load it at boot. If you need to transfer data between linux and windows on ntfs then the best option is to create a small fat32 partition.

Last edited by Aussie; 03-20-2003 at 05:21 AM.
 
Old 03-20-2003, 05:25 AM   #18
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15
I need NTSF Write, I need to access(R/W) the same files in both Windows and Linux, however the files are fixed in C:/Documents and Settings/ and there is no options to change where I can put these files. And I don't want to have to copy the files to a different partition everytime I just want to boot into Linux. And then back again once I boot into windows again.

The files are only ASCII files, less than 50kb each too. I'm not writing large binary files. Just simple plain text ASCII files readable by Vi etc...


-----

If there was a way to do a "Symbolic Link" in windows then that would make things incredibly easier. I'd simply create a small FAT32 partition somewhere with sym links from both O/S's to it.

Last edited by narusegawa; 03-20-2003 at 05:27 AM.
 
Old 03-20-2003, 05:53 AM   #19
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
What the files are is besides the point, you can enable ntfs write support in linux but, and it's a _big_ but, it's buggy and can trash your data.
Even the kernel config has a warning about enabling ntfs write support.
 
Old 03-20-2003, 05:57 AM   #20
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15
Ok, thanks for the advice. I think I'll just enable ntsf-read then and find a way to move files within windows upon shutdown.

Hopefully ntsf-write might be better in the future eh.
 
Old 03-21-2003, 08:03 AM   #21
undershepherd
Member
 
Registered: Feb 2003
Location: Iowa
Distribution: SUSE 9.2
Posts: 69

Rep: Reputation: 15
Could someone explain to a newbie who has never compiled a kernel, what is this all about? The talk of compiling with individual settings, etc. has me confused. I run Mandrake 9, had a go at Red Hat 8, but for some reason it will not install, but MD 9 will. ANyway, I also had the enormously fun time of gettting the NVIDIA drivers installed. I found on another forum step by step for newbies and when I did that, wow, the NVIDIA splash screen appeared, I screamed and whooped, sending my wife into orbit next to me.
Thank you to all who take the time to help out here. I am so much happier with Linux, just still a little behind on the learning curve, such as still having problems trying to install programs that need dependencies, then those need dependencies, etc. But when it works, what joy!!
 
Old 03-21-2003, 09:08 AM   #22
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
When you compile a custom kernel you can build it with support for the hardware it runs on and leave out anything that you don't need, this gives you a small kernel, and a small kernel is a fast kernel.
 
Old 03-24-2003, 09:09 PM   #23
Stalkz
Member
 
Registered: Mar 2003
Location: The 802
Distribution: Arch
Posts: 68

Rep: Reputation: 15
Quote:
Originally posted by SLaCk_KiD
DaOne helped me get my first compile right, he was understanding of my fustration
and very patient with me. I dont think that i have anything to complain
about at all. Everyone here in the slack forum is always willing to help out
That is what I like about Slack, the people who use it are knowledgable
and always seem to lend a hand when it is needed. Thanks to all of you
who try to help us n00b's out!! hopefully one day when I know
the answers to questions that are asked, i can be as helpful as you guys....thnaks again!

Word, this is a pretty sweet forum from what I've read so far, everyone's nice as hell...
 
Old 03-27-2003, 04:23 AM   #24
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15
I'm having problems with the boot kernels on the Slackware 9 CD. No matter which one I choose I get a problem immediately before I'm allowed to type 'root' (I can't because the error disable all my usb connections)

Is there a way to compile a custom kernel to boot the install from?
 
Old 03-27-2003, 05:05 AM   #25
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Slackware 8.1 had a kernel with usb mouse and keyboard support called usb.i, but this is in the 9.0 release notes,
Quote:
Support for USB keyboards is now integrated into the installer. If USB
device detection causes problems (it shouldn't), it may be skipped by
passing the kernel a "nousb" flag at boot.
So try doing "bare.i nousb" at the kernel prompt.
 
Old 03-27-2003, 05:20 AM   #26
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15
If I do that, then what would I choose when it asks me what kernel to install?

And how would I then go about enabling usb once I've installed? Would it just be a simple rc.modules edit or would I need to recompile the kernel in some fashion? Or does passing nousb to the kernel not disable the usb stuff but puts it as modules instead. So that they can be loaded with rc.modules?

Thanks
 
Old 03-27-2003, 06:15 AM   #27
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Quote:
Originally posted by narusegawa
If I do that, then what would I choose when it asks me what kernel to install?
bare.i

Quote:
Originally posted by narusegawa
And how would I then go about enabling usb once I've installed? Would it just be a simple rc.modules edit or would I need to recompile the kernel in some fashion?
Hotplug is doing a sterling job with my pci and usb devices, there is a comment about it in the release notes as well, PV calls it "a major, major step forward", I was surprised when I saw the emu10k1 module load during my post install boot.

Quote:
Originally posted by narusegawa
Or does passing nousb to the kernel not disable the usb stuff but puts it as modules instead. So that they can be loaded with rc.modules?

Thanks
I don't know, give it a try and tell us what happens..and error messages are always welcome :-)

Last edited by Aussie; 03-27-2003 at 06:17 AM.
 
Old 03-28-2003, 08:27 PM   #28
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Ok, I have a fresh install of slackware 9. What arch is this kernel compiled for??

Quote:
When you compile a custom kernel you can build it with support for the hardware it runs on and leave out anything that you don't need, this gives you a small kernel, and a small kernel is a fast kernel.
Do modules slow your kernel down?? When i was using slack 8.1 i just ran a 'make menuconfig' with the stock 2.4.18 kernel, changed the arch, closed out, then ran a 'make oldconfig' , said No to everything and compiled the 2.4.20 kernel.

Now would just changing the arch on the stock 9 kernel show any improvement?? Most of the stuff on here is really compiled into modules anyway.....I just want to get this thing optimzed as quick as it could go. so....

Is it better to have it built in or built as a module?? (like say ppp, sound, i2c, lm_sensors, etc)

Does building modules for stuff you don't have slow it down?? Looking at config for the stock kernel there are ALOT of modules i can scrap out.

Those are the only two questions I have along with the current arch settings. If more performance can be squeezed would be great.

thanks

Last edited by wr3ck3d; 03-28-2003 at 08:29 PM.
 
Old 04-04-2003, 03:09 AM   #29
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15
There are a lot of drivers marked as 'M' in make menuconfig.... and just wondering... if in /etc/rc.d/rc.modules NOTHING has been uncommented at all. Then is it safe to get rid of all the drivers that ARE being built as modules?
 
Old 04-04-2003, 05:05 AM   #30
grub
Member
 
Registered: Mar 2003
Location: Kurnool, India.
Distribution: Redhat 9
Posts: 67

Rep: Reputation: 15
I have a question. How a kernel knows what module to load if it is not built into the kernel.
Will it have an entry in it,
saying this feature(say ntfs support) is selected as a module and needs to be loaded.
Will building unnecessary modules increases the size of the kernel.
(Suppose USB, I dont have any USB devices presently, But my configuration includes module support for USB)
 
  


Closed Thread



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
Newbie Guide To Compiling A Kernel! DrOzz Linux - General 318 08-20-2008 05:21 AM
I'm interested in compiling a 2.6.x kernel, is this is a decent guide? Erik_the_Red Linux - Newbie 7 08-14-2005 06:03 AM
Acid Guide to compiling Kernel 2.6.10 on Slack 10.1 acidjuice Slackware 54 03-11-2005 05:16 PM
Hardware identification guide for newbies ?? massai Linux - Hardware 5 02-03-2004 08:15 AM
: Kernel compiling guide for newbies Question Anibal Slackware 6 08-01-2003 07:06 AM

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

All times are GMT -5. The time now is 12:37 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