LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-11-2006, 06:10 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
can ReiserFS on / mix with 2.4 kernels on a 386?


I have an old pc that is running low on memory and I would like to see if a kernel 2.4.32 compiled for an i386 would help me. I compiled the kernel but it won't boot now...complains on reboot that it cannot find my / on an ext2 partition (the .config shows that Reiser is built in). My / is on a ReiserFS. Can the 2.4 kernels compiled for a 386 work with the ReiserFS?
 
Old 07-12-2006, 02:17 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I don't see why it wouldn't work, but I can't say I have ever tried.
 
Old 07-12-2006, 02:30 AM   #3
Daga
Member
 
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
Yes. And so should ext2/3 if you compiled them in.
 
Old 07-12-2006, 02:35 AM   #4
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
Did you create a initial ramdisk? You need one for Reiserfs. Run the command:

$ mkinitrd -c -k 2.4.32 -m reiserfs

It'll create a /boot/initrd.gz file. You then need to edit /etc/fstab ("joe /etc/fstab") and add the following line under the section for your kernel:

$ initrd = /boot/initrd.gz

Save (Control + K + X). Then run lilo:

$ lilo

It should update successfully. If you get an error message make sure you didn't type something incorrectly. After a successful update then reboot.
 
Old 07-12-2006, 04:52 AM   #5
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Quote:
Originally Posted by pxumsgdxpcvjm
Did you create a initial ramdisk? You need one for Reiserfs.
I don't think this is right.
Pat compiled reiserfs (not a module!)into the stock 2.4.32 series and I have installed this kernel on machines with only a single / partition, formatted with reiserfs3.
The mkinitrd ramdisk is necesary for the 2.6.22 kernel in testing as reiserfs is a module.
 
Old 07-12-2006, 04:58 AM   #6
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
It don't sound like he is using Pat's kernel.
 
Old 07-12-2006, 05:15 AM   #7
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
You're both right-I'm using Pat's config for the 2.4.31 and building my own 2.4.32 kernel with CPU changed to 386. I tried the initrd command and got an error about Reiser module not found. Perhaps I should recompile the kernel and pick Reiser as a module and then try the initrd command?

EDIT: also, I noticed that most of the packages in Slack 10.2 are compiled for a 486-would that effect the boot of a 386 kernel?

Last edited by linuxhippy; 07-12-2006 at 05:41 AM.
 
Old 07-12-2006, 06:07 AM   #8
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
Quote:
Originally Posted by linuxhippy
EDIT: also, I noticed that most of the packages in Slack 10.2 are compiled for a 486-would that effect the boot of a 386 kernel?
Seems we forgot that detail. You're gonna have to use an older version of Slackware. 386 was dropped in 9.1.

My solution assumed that you were getting a VFS syncing error. Since you have reiser built-in then that shouldn't be exact issue.
 
Old 07-12-2006, 06:45 AM   #9
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
could I just rebuild certain packages in Slack 10.2 for a 386? If so, which ones?
 
Old 07-12-2006, 06:54 AM   #10
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
I think that would mean building most of the packages again. Cause mainly all are built for i486 or higher arch. What you should do, like davidsrsb said is try a lower version of Slack where packages wore built for i386, or you can try rebuilding the packages from a series for i386, maybe the first ones would be e2fsprogs and reiserfsprogs !? Your choice.
 
Old 07-12-2006, 08:12 PM   #11
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
I think I should just try to add some SDRAM to my server...it has 1 open bay but the mobo is 9 years old (1997) and I don't know how much RAM it can take. It has 128 MB RAM, 200 MHz CPU Pentium in a Gateway 2000 box. I couldn't find any info on it on the web.
 
Old 07-13-2006, 12:51 AM   #12
Daga
Member
 
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
Quote:
Originally Posted by linuxhippy
I think I should just try to add some SDRAM to my server...it has 1 open bay but the mobo is 9 years old (1997) and I don't know how much RAM it can take. It has 128 MB RAM, 200 MHz CPU Pentium in a Gateway 2000 box. I couldn't find any info on it on the web.
I _could_ be wrong, but I'm pretty sure were talking about an i486 here... 200 Mhz?

http://en.wikipedia.org/wiki/Intel_80486
 
Old 07-13-2006, 01:27 AM   #13
Voltar
Member
 
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83

Rep: Reputation: 15
The original Pentium processors were i586 afaik. I've installed Slack 10.2 on a fair amount of old machines for testing, the oldest was a 233 Mhz Pentium (Can't remember if it was a I/II or Pro).

Edit: Also thought I'd add that I use ReiserFS for all my file systems and I use a 2.6.16.20 kernel that I compiled myself. ReiserFS is built into the kernel and I never make a ramdisk.

Last edited by Voltar; 07-13-2006 at 01:30 AM.
 
Old 07-13-2006, 03:18 AM   #14
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
A P1 200 (- MMX ISTR) is a 586 and all of the standard Slackware packages should be fine.
In particular the 2.4.32 bare.i kernel and modules in "current" should boot without any modifications.
Try burning a memtest86 iso file onto a cd (or an Ubuntu install disc memtest) to check that your hardware is OK.
 
Old 07-13-2006, 05:31 AM   #15
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
thanks for all the info. My current setup of a 486 kernel on a P1 works fine....I just don't like how most of my memory is being used according to top. I was told that a 386 kernel would use less memory. I do have a memtest program on a live system rescue cd that I'll use to see if alls ok if I put in another RAM chip.

Could I mess up my pc permanently if I put in too much RAM?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Oignon routing: Mix and mix cascades xpucto Linux - Networking 6 07-05-2006 01:01 PM
An odd reiserfs booting problem in a special situation may be about SUSE10's reiserfs ayal Linux - Newbie 7 11-15-2005 08:36 AM
15 yr old + linux DO mix qalimas LinuxQuestions.org Member Success Stories 14 10-14-2004 01:31 AM
Add ReiserFS package destroys non-ReiserFS partitions smirk Mandriva 0 03-24-2004 08:20 PM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 11:46 PM

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

All times are GMT -5. The time now is 06:35 PM.

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