LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-11-2001, 12:49 PM   #1
rabidundead
Member
 
Registered: Apr 2001
Location: Earth
Distribution: Trying to get GENTOO 2004.2 INSTALLED... Weeeee!!!!
Posts: 67

Rep: Reputation: 15
Unhappy i am so screwd.. kernel, lilo, reiserfs ...


oh yes. very screwed. i have absolutely gotta get help here!









the plethora:









1. i have reisered my second hard drive using: reiserfsprogs-3.x.0k-pre8 set of tools. this went fine. did the reboot to let the kernel know partition changes took place.









i can mount the partition ok, but cannot umount it. i knew about this bug... so i decided to upgrade kernel to 2.4.6, becuz it is said to include all these bug patches plus be generally a leap over the prior 2.4 kernels...









2. meanwhile... before the kernel upgrade... i was having random system hangups... i have ximian gnome's red carpet mgr.... so I used it to remove some of my unused server software that i think was running in the background.






reason is... gkrellm notified me that sendmail had received an error mailing from anacron/crond about initialization probs with tripwire. i don't think i need tripwire (home system) and proceeded to eliminate samba and amanda and most of the individual server components that came with rh 7.1...









3. ok, this did not seem to cause any adverse effects that i could detect. everything still booted and all my user accts can be accessed.... then something went wrong:








4. i don't know how.. but gdm is gone! as in not anywhere! i think it may have been a package dependent on something i removed with red carpet... so it got removed, too. but red carpet is so blatantly against telling you what dependencies packages have, short of the 'necessary install', 'necessary removals' jive. it may have been mixed in with the other mess of files.









5. anyway, after i rebboted, i managed to ctrl-alt-backspace to the shell before xfree86 went into a loop of flashing my monitor for all eternity. there i managed to run xdm and get back to my root desktop... granted i'm stuck in gnome and can't get to root's kde desktop. i tried, but i can't get startkde to work either.. cannot start display ''... i have already edited inittab so that i go to runlevel 3 for a text login... and if i want xfree86 i just startx....









6. whew... at least i can still get into my machine ... ok, so i'm a dolt , but have been pretty successful working around my probelms. .... back to reiserfs.. if i mount my reiser partition the umount will hang the computer both in the terminal window and on shutdown...

which makes me ctrl-alt-del my computer...

which makes me wait for a forced check on 'not cleanly unmounted' partitions on my drives...

which makes me mad ...







7. so i want to install the new kernel. i read the text files that were in the kernel package and i am a little confused about this 'don't compile the Linux directory' stuff. when i gunzip the package in /usr/src it creates /usr/src/linux directory. should i copy the contents to another directory or rename the directory or what?







in my /usr/src directory i have these directories:



./linux



./linux-2.4.2



./linux-2.4.3



./redhat



./lilo-21.7.5 (this is the lilo version i will be referenceing later - it's supposed to read past the 1024 cylinder bios barrier... like grub does for me now!)







8. i have been using GRUB-0.5.96-i386-pc instead of lilo for my system... becuz of the 1024 cylinder jive. i was wanting to go ahead and give lilo a try, but am running into issues here as well: i was able to successfully compile lilo... but when i try to run /sbin/lilo i get the error that lilo does not exist.







this i find horribly funny considering the same terminal admits it is there with the dir command. so does gmc. the only idea i have on this is... is it a shell script? do i need to execute 'sh lilo' or something? or am i goofing up? the results were the same both from compiling by hand and using the QuickInst shell script....







9. ok, about the kernel. i need to install this to fix my reiserfs deal. so, given that redhat 7.1 included only the modules i needed for the kernel when i installed redhat , what special things do i turn on to get the following modules:

1810_audio, ac97_codec, soundcore, sr_mod, agpgart, parport_pc, lp, parport, autofs, 8139too, ipchains, ide-scsi, scsi-mod, ide-cd, cdrom, usb-uhci, and usbcore.

.......... and since i already have them i should be able to reuse them in the new kernel, instead of recompiling them, right? can i leave them alone or should i move them to keep 'em safe?







10. because i am having such a dread nightmare with where stuff is and why... not to mention battling red hat's scripts and relocations of stuff, i am building a linux-from-scratch system on the 2nd drive (why i wanted reiserfs and new kernel/lilo... i want it to be primo! )



.. so out of all of these problems... i think the lilo/kernel/reiserfs parts are most important in getting going.






!!!!!!!!!!!!!!!!!!!!!!! THANX FOR ANY HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



---------



Rabid



'sometimes u just want to :smash: something... there, i feel better now!"

Last edited by rabidundead; 07-11-2001 at 03:29 PM.
 
Old 07-14-2001, 09:32 PM   #2
rabidundead
Member
 
Registered: Apr 2001
Location: Earth
Distribution: Trying to get GENTOO 2004.2 INSTALLED... Weeeee!!!!
Posts: 67

Original Poster
Rep: Reputation: 15
Unhappy does anyone care?

i have sat and waited patiently for days for at least an acknowledgement that someone would try to help me out, even if they didn't know the answer to everything i needed help with. it would be nice if someone would at least give it a go on the kernel configuring stuff.. i'm sure SOMEONE out there has compiled a new kernel at least once... sheesh.





anyway, i'm just frustrated. please help, or give me a starting point, or a nudge in the right direction!





i just need to know what options to select in the kernel config to get the (noted in above post) modules working..





i pretty much figured everything else out myself, by now.





thanx..





later


--------


Rabid





"u know, that rabid guy is a real pain in my @ss, if he was in the same room as me, i'd.." :smash:





"urgh, he irritates me !"
 
Old 07-14-2001, 10:49 PM   #3
Infamous Tim
Member
 
Registered: Mar 2001
Location: Under a Rock
Distribution: Slackware 8.0 with KDE 3.0
Posts: 47

Rep: Reputation: 15
I feel your pain!!
I've managed to pull some really wierd crap, dunno what went wrong. At one time, on another linuxbox, somehow the SMP on my mobo got kicked into gear, and suddenly the puter wouldn't get past the init stage, wouldn't even get THERE. It would run the mips test and pick a type that didn't work ...
You know, on these kinds of long waits and all these problems, there's been a phrase that has sustained me through all of my problems ...

"All your base are belong to us"

and if it's *really* fubar'd ...

"Somebody set up us the bomb"

Hope that helps!

-Infamous-Tim-
 
Old 07-14-2001, 11:33 PM   #4
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
I had a hard time understanding exactly what you were asking, your post was more of a story than a question.

LILO - The only thing I can guess is that it did not compile correctly, or that the permissions are incorrect. Try to recompile and then reinstall. Make sure /etc/lilo.conf is correct before yo go any further.

/usr/src/linux - You do not want to compile the kernel in the /usr/src/linux directory because many distributions use that diretory for kernel-headers. You can rename the directory without any problem.

modules - modules are built from the kernel. So in theory module that you have should be able to be created from the new kernel sources, but if they don't then you don't have to worry, because your old mdules won't be deleted. You kernel modules are stored like this

/lib/modules/<kernel-verion>

where it makes a new directory for each kernel version when you issue the make modules and make modules_install command. So if for some reason you cannot create your old modules then you can just boot your old kernel and be right where you left off.

picking the correct options - This can be a little tricky, but all you really have to do is go through and pick the right options for the right hardware.

The mounting bug that you speak of was in the 2.4.5 kernel version, So if you are currently running the 2.4.3 version then this should NOT be affecting you.
 
  


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
SW10.1 and booting lilo in MD10.2 on reiserfs install John Richard Smith Slackware 8 06-26-2005 11:21 AM
I screwd up my fonts... greenthing SUSE / openSUSE 3 05-29-2005 01:29 PM
ReiserFS and lilo? priller Slackware 11 04-08-2005 10:13 AM
Screwd up my termianl :'[ . Doesnt show my name no more!! OOPS! RHLinuxGUY Linux - General 3 07-30-2004 01:16 AM
ReiserFS and LILO read-write kule Slackware 3 07-12-2004 06:58 AM

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

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