LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-28-2001, 01:07 PM   #1
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Rep: Reputation: 30

Well, I am trying to upgrade my Kernel (Red Hat 7, kernel 2.2 to kernel 2.4) because I am led to believe that then I might be able to get Linux to recognize my printer and modem.
-
So I surfed around and found an article at http://www.linuxnewbie.org/nhf/intel...4upgrade.html. The author upgraded to Linux 2.4 on Red Hat 7 and his platform was an AMD 700 MHZ. That is close to what I have (850 MHZ AMD), so it looked like a close match. Anyway, I get to the part where I am supposed to install util-linux-2.10o.tar.gz. The guy says "7. Next I ...grabbed util-linux-2,10o. I installed it
'./configure
'make'
'make install'
-
Here's the problem: I don't know if this ./configure thing even exists. I cannot find it anywhere in any directories and bash tells me that it does not exist. I don't understand what the author is doing here.
-
I looked at http://www.lunuxquestions.org/questi...?threadid=2821, which seems to be a fairly authoritative How To. This is good, but it doesn't tell me how to install the packages that the "changes" file recommends. As yet, I don't understand how to do this. It seems that just unpacking a package is only the first step. Then it is necessary to install it. That's where I am stuck.
-
I also have printed the document from http://linuxdocs.org/HOWTOs/Kernel-HOWTO.html and have, yet another, approach which differs from the other stuff I have read. It appears that generic linux and Red Hat linux don't use the same directories for many of the executable programs required for upgrading.
-
I think I can muddle through configuring the kernel. Where I am stuck is how to install all these packages that the "changes" file says I need.
Here's what I am working with as recommended by the "changes" file:
-
Gnu C V 2.96 (I have this installed...I think)
-
Gnu make 3.79.1 (ditto)
-
binutils 2.10.90 (ditto)
-
modutils - have 2.4.0 and have downloade V 2.4.2 but can't
install
-
e2fsprogs - have 1.18 and have downloaded 1.19 but can't install
-
reiserfsprogs - no idea what to do with this. "changes" file says to use 'reiserfsck2.1 | grep reisersprogs' to query what version is installed, but it doesn't work and I can't install.

pcmcia-cs have 3.1.19 and have downloaded 3.1.21 but can't install.
-
PPP have 2.3.11 and have downloaded 2.4.0. "changes" file says to use pppd --version, but this doesn't work and I can't install the upgrade.
-
isdn4k-utils-have 2.3.11 and have downloaded 3.1prel from a slackware site (will this work?)no idea what to do with this. "changes" file says to use isdncntrl>&1 | grep version' to query what version is installed, but it doesn't work and I can't install.

Lots of problems here. Would appreciate any help I can get.
 
Old 05-28-2001, 05:27 PM   #2
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
I don't really understand what you are doing with the file util-linux-2.10o.tar.gz, but the command ./configure has to be executed in the directory of the file you untarred and unzipped. Once you have gone:
Code:
tar xvzf util-linux-2.10o.tar.gz
you should have a directory looking like util-linux-2.10o

Once you:
Code:
cd util-linux-2.10o
then you can
Code:
./configure
make
make install
 
Old 05-28-2001, 11:33 PM   #3
DarkHorse
LQ Newbie
 
Registered: May 2001
Posts: 5

Rep: Reputation: 0
Talking radaves.........

I think we are both on the same (wrong) page.......

I have the same modem problem as you. BTW, I think the "symbolic link" scenario worked for me.

Now my problem is, I don't have the PPPd (daemon?) installed. Everytime I take a step forward, I take another back! It's very frutstrating!

I was playing with Linux for Windows (LNX4WIN) but I think that it does not serve any usefull purpose other than just brining a KDE or gnome shell. I bought it just for a learning tool so I guess it was good for that.

I ended up buying RH7.1 that includes the 2.4 kernel. (I know lazy way out!)

BTW, I was the guy that emailed you last week. Thanks for the reply.... Good Luck!
 
Old 05-29-2001, 10:06 PM   #4
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
Angry Message for CragStar

The reason I am working with util-linux-2.10o.tar.gz is that I was told by the /Linux/Documentation/Changes file that this was one of the software items I needed to have when upgrading the kernel from 2.2 to 2.4.
-
I have managed to 'tar' util-linux-2.10o.tar.gz (per the "changes" file).
-
Next step, as I understand it, is to:
1. cd to /util-linux-2.10o
2. type './configure'.
3. type 'make'.
4. type 'make install'.
-
I got to step 2. I saw several lines informing that "you have..." and "you don't have..." and "you need"
-
here are the "don't have's" and "needs":
You don't have inet_aton()
You don't have <linux/blkpg.h>
You don't have <linux/kd.h>
You don't have --NR_pivot_root
You need <linux/tqueue.h>
-
Also, there was a message"Assuming that you want to enable nls support, (Otherwise, edit defines.h and remove the line with ENABLE_NLS")
-
And another message: "Your rpcgen output does not compile".

Can you tell me what this all means?
Should I continue with steps 3 and 4, or should I go looking for something?
What is nls support?
What is the problem with rpcgen compile?
Where can I find these files that I don't have?
I am STUCK, STUCK, STUCK
 
Old 05-30-2001, 10:54 AM   #5
#!
Member
 
Registered: May 2001
Distribution: RedHat, 'drake, suse, slack, gentoo, beehive, lfs...
Posts: 43

Rep: Reputation: 15
Hi,

I'm 'njcajun' at the Linuxnewbie site - the guy who wrote the article you refer to in your original post.

I've gotten a TON of emails about problems people had with their upgrade - none, however, that resembled the messages you are getting (sorry).

When I was compiling my first few kernels (a good time before 2.4), I got messages all the time about crap that I had no idea about. What I generally did was try to make a note of it somewhere on paper, and move on to the next step. If this isn't a production box and you're just learning, I actually recommend this practice, because it teaches you quite a bit. However, it's always better to have it work the first time!

Another thing you might consider doing is figuring out what version of this software your system currently has. Maybe you can't move from that version directly to the current version?

Another thing to keep in mind is that I find most of my screwups in Linux are a direct result of me being to lazy to read the documentation THOROUGHLY and follow it STEP BY STEP. At this point, I can work around some stuff, but kernel compiles demand precision.

When all else fails, walk away from it for a day or two, go back in, and start it all over from scratch. No sense in getting frustrated - you'll only fog your brain and screw things up even worse.

Good Luck.
 
Old 05-31-2001, 04:03 PM   #6
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
I wouldn't bother carrying on with steps 3 and 4 until you have all the files you need. Otherwise it wont work as intended.

To get those files either perfrom searches at you distro site or on google to findout where you download them.

The kernel is really hard to explain to get right, but the docs at http://www.linuxdoc.org are really good, so I would read that How-to.
 
Old 06-02-2001, 09:08 AM   #7
Martin
LQ Newbie
 
Registered: Apr 2001
Location: Australia
Posts: 6

Rep: Reputation: 0
Lightbulb

Just wondering here, someone might be able to add to this, could it be that you don't have the kernel headers package installed? I am looking at doing a kernel compilation and Ive noticed some funny things going on and the limited research i have done so far seems to point to a kernel headers RPM that also needs installing, along with the source. Could someone more experienced help here?

cheers Martin
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
synaptic upgrade-now start up is stuck-root@tty1[~]# whoszed Linux - Newbie 2 11-27-2005 05:09 PM
Framebuffer stuck at 640x480 after upgrade to radeon slackwarefan Slackware 2 07-17-2004 01:20 PM
installation- stuck at kernel chash Linux - Software 2 04-10-2004 10:42 PM
Stuck at installing 2.6.4 kernel Morbid Linux - General 13 03-16-2004 04:15 PM
Stuck in kernel vcheah Linux - Software 2 12-22-2001 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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