View previous topic :: View next topic |
Author |
Message |
mnx n00b
Joined: 10 Sep 2002 Posts: 4 Location: kingston
|
Posted: Wed Sep 11, 2002 12:02 am Post subject: Cannot get 2.2.21 kernel to work. |
|
|
Hi I can't get the 2.2.21 kernel to work. I followed the instructions. (I have gentoo=nodevfs,notmpfs in /boot/grub/menu.lst and I made sure to compile ramdisk support in the kernel.
While the system is running the "gentoo startup scripts" beside the ramdisk initialization it says "oops" instead of "ok"... Any ideas?
Matt |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Sep 11, 2002 3:53 am Post subject: |
|
|
Can you find anything descriptive under /var/log? AFAIK, very, very few people have tried using older kernels -- there are few reasons to, so lots of things (such as changes to baselayout) may not be regression-tested on the 2.2 series. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
mnx n00b
Joined: 10 Sep 2002 Posts: 4 Location: kingston
|
Posted: Wed Sep 11, 2002 2:45 pm Post subject: |
|
|
I can't find anything under /var/log... There was no mention of the 2.2 kernel at all under /var/log/kernel/current or var/log/everything/current...
The only reason I need the 2.2 kernel is for a class I'm taking (Operating Systems)... There's a fair bit of programming involved in the class, and we need the 2.2 kernel because we have assignments that involve changing the kernel...
I'd really like to use gentoo because it's straight forward and not bulky... (and portage rocks...)
If you have any other ideas, I'd really (really) appreciate it.
Matt |
|
Back to top |
|
|
mnx n00b
Joined: 10 Sep 2002 Posts: 4 Location: kingston
|
Posted: Wed Sep 11, 2002 6:22 pm Post subject: |
|
|
Alright, I spent several hours on this and this is where I am now...
I finally found where the system made the ramdisk (/sbin/rc script) and found the line where it messes up.
try dd if=/dev/zero of=/dev/ram0 bs=1k count=${svcsize}; \
unfortunatly i don't speak linux yet...
i tried putting a "#" in front of the line but I it still said "[oops]" but the error it came back with wasn't really an error it was just normal output for mke2fs (which is the next command in the rc script..._
PLEASE HELP...
Tia,
Matt |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Sep 11, 2002 7:11 pm Post subject: |
|
|
This line is putting zeroes inside the ramdisk /dev/ram0. Does svcsize has a good value?
In my case (kernel 2.4) it sources /sbin/functions.sh, which sets svcsize with 1024.
mnx wrote: | Alright, I spent several hours on this and this is where I am now...
I finally found where the system made the ramdisk (/sbin/rc script) and found the line where it messes up.
try dd if=/dev/zero of=/dev/ram0 bs=1k count=${svcsize}; \
unfortunatly i don't speak linux yet...
i tried putting a "#" in front of the line but I it still said "[oops]" but the error it came back with wasn't really an error it was just normal output for mke2fs (which is the next command in the rc script..._
PLEASE HELP...
Tia,
Matt |
|
|
Back to top |
|
|
mnx n00b
Joined: 10 Sep 2002 Posts: 4 Location: kingston
|
Posted: Wed Sep 11, 2002 7:26 pm Post subject: |
|
|
[quote="Bloody Bastard"]This line is putting zeroes inside the ramdisk /dev/ram0. Does svcsize has a good value?
In my case (kernel 2.4) it sources /sbin/functions.sh, which sets svcsize with 1024.
I just checked /sbin/functions.sh and svcsize is set for 1024 also.
Matt |
|
Back to top |
|
|
|