LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-09-2001, 09:51 PM   #1
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
kernel problem


Has anyone ever has a problem like this. This is a fresh kernel. I can enter the command 'make mrproper' without any problems on a fresh kernel 2.4,

added the 2.4.1 patch - No problems
added the 2.4.2 patch - No Problems
added the 2.4.3 patch and I get the following output

(NOTE: I started from scratch several times in order to track it down to when I add the 2.4.3 patch. I also tried redownlaoding the 2.4.3 patch but it didn't help any.

[root@lockbox /usr/src/kernel/linux]# make mrproper
make: /bin/pwd: Command not found
H$@H$@make[1]: Entering directory `/usr/src/kernel/linux/arch/i386/boot'
rm -f tools/build
rm -f setup bootsect zImage compressed/vmlinux.out
rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
make[2]: Entering directory `/usr/src/kernel/linux/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/kernel/linux/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/kernel/linux/arch/i386/boot'
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
| grep -v lxdialog/ | xargs rm -f
rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map .tmp* drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c drivers/char/conmakehash drivers/char/drm/*-mod.c drivers/pci/devlist.h drivers/pci/classlist.h drivers/pci/gen-devlist drivers/zorro/devlist.h drivers/zorro/gen-devlist drivers/sound/bin2hex drivers/sound/hex2hex drivers/atm/fore200e_mkfirm drivers/atm/{pca,sba}*{.bin,.bin1,.bin2} net/khttpd/make_times_h net/khttpd/times.h submenu*
rm -rf modules
make -C Documentation/DocBook clean
make[1]: Entering directory `/usr/src/kernel/linux/Documentation/DocBook'
Makefile:146: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'. Stop.
make[1]: Leaving directory `/usr/src/kernel/linux/Documentation/DocBook'
make: *** [clean] Error 2


If this problem is caused by a bad downloaded file, could someone tell me how to verify the downloads.


BTW, I don't know what the problem is with 'pwd'. If I enter the command I get my working directory, but I cannot find pwd anywhere on my system.
 
Old 07-10-2001, 12:34 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
pwd is the *nix command to tell what the current directory is.
pwd = print working directory

make is calling pwd to determine where it's compiling from, and therefore, where (relative to itself) it should look for or install libraries, files, ect.

/bin/pwd should be where the file is; i've never seen a distro that had it anywhere else. if it's not there, find out where it is and make a link to it. 'ls -r pwd' should find it, if nothing else works.

it's pretty strange that it wouldn't be there.
 
Old 07-10-2001, 12:45 AM   #3
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Original Poster
Rep: Reputation: 30
I looked into this a little deeper and I think I have come accross a serious problem. I have quite a few files that are missing. (300-400). I think it might be a harddisk failure. I just installed Redhat 7.0 three weeks ago, applied all updates, installed KDE2.1 and browsed the internet.

Sorry to bug you guys, this is a problem that has nothing to do with the kernel, it is something else alltogether that in my opinion can only be fixed with a reinstall.

BTW the pwd command was not to be found anywhere even when using the find command, but when I enter

pwd

I get...

/root/linux

seems like it is working okay but 'pwd' binary is gone.
 
Old 07-10-2001, 05:45 AM   #4
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Hi
Did you update your GCC compiler. RH7.0 came with a dysfunctional one.
Jim
 
Old 07-10-2001, 05:46 AM   #5
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Original Poster
Rep: Reputation: 30
yeah I updated it, but I think I am having a problem a little more serious than that. I am pretty sure it is hardware related. Thanks for your reply.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
kernel 2.6.9 Kernel panic problem salahuddin_66 Slackware 2 08-11-2007 03:17 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM

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

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