View previous topic :: View next topic |
Author |
Message |
HippieJoe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Aug 2003 Posts: 67
|
Posted: Tue Oct 03, 2006 1:04 am Post subject: Boot Hangs...New Kernel Compile Hangs... |
|
|
I am stumped...
This all started with a simple reboot...there wasn't even an update before break. It is a server up for long periods, no keyboard or monitor. I did a reboot, and the system never came back up...so I hooked up a monitor and keyboard to find the system hung indefinitely at: Starting local ...
There were also errors that no modules could be loaded for my nets, and ssh (so I am without a network while troubleshooting). The machine runs Linux sw raid1/5, lvm2, all reiserfs, no cdroms or floppys. I removed my nets, and ssh from the defaults run level...and the system continued to hang at starting local ... . So I removed local from the defaults and it just stopped at vixi-cron. I suspected a pattern so stopped removing things.
I can get to the maintenance login via ctrl-c as long as I get it before runlevel 3 (I think - or just into 3). I do have access to my entire filesystem. However, when I try to reboot from maintenance...it begins to unmount filesystems, but gets thrown into a very fast scrolling screen with tons of errors saying something about udev, unable to clear it??? It is real fast, and does this forever as well. Also, on boot, it replays my reiserfs volumes' journals saying they are not clean.
While researching this (boot hang) I found references to udev causing similar problems. The help suggested...removing the /dev/.udev folder. Adding udev to my kernel line in grub.conf. Recompiling the kernel. The first two had no affect at all. So I tried to recompile the same kernel I was using 2.6.17-r7. It hangs indefinitely at "CHK include/compile.h" Also I can not boot older kernels that used to work fine (why did I ever upgrade from these - I don't know???)
So I decided to try a newer version of the kernel 2.6.17-r8. I manually got the ebuild, the genpatches, and the extras file...put them all in their places, manually upgraded portage...and bam...same problem. So I tried the make with no previous .config file (hoping it was just some driver I had selected) - no go...same hang at compile.h. So I tried my make with a -d to dump the debug info. It is hung on compile.h (which I think this one file pretty much dictates the entire compile process). So I posted below the last ~25 lines from the debug before it hangs forever.
Quote: | Trying pattern rule with stem `version.w'.
Trying implicit prerequisite `init/RCS/version.w'.
Trying pattern rule with stem `version.w'.
Trying implicit prerequisite `init/s.version.w'.
Trying pattern rule with stem `version.w'.
Trying implicit prerequisite `init/SCCS/s.version.w'.
Trying pattern rule with stem `version'.
Rejecting impossible implicit prerequisite `init/version.w'.
No implicit rule found for `init/version.c'.
Finished prerequisites of target file `init/version.c'.
No need to remake target `init/version.c'.
Pruning file `FORCE'.
Considering target file `include/linux/compile.h'.
File `include/linux/compile.h' does not exist.
Pruning file `FORCE'.
Finished prerequisites of target file `include/linux/compile.h'.
Must remake target `include/linux/compile.h'.
CHK include/linux/compile.h
Got a SIGCHLD; 1 unreaped children.
Putting child 0x080b2060 (include/linux/compile.h) PID 12687 on the chain.
Live child 0x080b2060 (include/linux/compile.h) PID 12687
Reaping winning child 0x080b2060 PID 12687
Live child 0x080b2060 (include/linux/compile.h) PID 12688
Got a SIGCHLD; 1 unreaped children.
Live child 0x080b2060 (include/linux/compile.h) PID 12688
Live child 0x080b2060 (include/linux/compile.h) PID 12688
Live child 0x08130048 (init) PID 12686
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x08130048 PID 12686
Removing child 0x08130048 PID 12686 from chain.
|
Any ideas pleaseeeeeeee.
Hippie Joe
PS. Here is a download link to the entire debug dump: www.rockngrass.com/hi.txt
PPS. Sorry for the long post, I normally like when people get right to the point, but I'm ramblin I guess. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54847 Location: 56N 3W
|
Posted: Tue Oct 03, 2006 10:02 am Post subject: |
|
|
HippieJoe,
It sounds very much like you did an update, then failed to run etc-update, so you have a set of new services with old/incompatible config files. It would all continue to work until services needed to be restarted. e.g. a reboot.
Run etc-update, look at each proposed change and consider the effect it will have.
Accepting all the updates can be as bad as not updating at all.
If you threw all the updates away, emerge baselayout to get essential system servoces onces again. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
HippieJoe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Aug 2003 Posts: 67
|
Posted: Wed Oct 04, 2006 4:08 am Post subject: |
|
|
Wow...thank you so much!!!
etc-update = 26 out dated files
That must have been accumulating for a while. Sure is a lesson learned for me. For 20 of the files, the replace old with update was fine. However, for the other 6 (ex, lvm.conf a big one) I couldn't quite grasb how the interactive merge worked. So I just made my own backups...and nano and I edited the updated ones to keep specific changes.
However, it is working now!!!
One other thing I got was on boot a warrning message: checkroot and checkroot.merged have circular dependenncies.
I think I can figure that out...seems self explanitory, but is that normal or was that an error on my part?
Well...thanks again!
HippieJoe |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|