Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rebuild the kernel problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
5th_Horseman
n00b
n00b


Joined: 06 Oct 2004
Posts: 48

PostPosted: Fri Jan 21, 2005 4:17 pm    Post subject: Rebuild the kernel problem Reply with quote

I am a noob at building kernels and it is just asking weird to me.


I have created a new ultra2 off of the livecd 2004.3.

I got to the step to build the kernel and did everything I was supposed to except make reiserfs part of the kernel (I built it as a module).

I get the message on reboot that VFS: unable to mount root filesystem.

now I went back and booted the livecd and remounted everything and did a change root to get back in to the build.

I go back in to /usr/src/linux do a make menuconfig, load my alternate file that I copied to /boot and change the reiserfs to an Astric.

I save and copy by config file and issue the command that I built the kernel with

make dep && make clean vmlinux image modules modules_install

but it does not produce a vmlinux file in the /usr/src/linux directory.

What am I doing wrong?

Oh btw this is sparc-sources kernel and it is 2.4.28-sparc-r6
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Fri Jan 21, 2005 4:23 pm    Post subject: Reply with quote

try it without "image"

Code:
make dep && make clean && make vmlinux && make modules modules_install


btw - do you mean Ronnie aka the Fith Horseman?
Back to top
View user's profile Send private message
5th_Horseman
n00b
n00b


Joined: 06 Oct 2004
Posts: 48

PostPosted: Fri Jan 21, 2005 5:46 pm    Post subject: Reply with quote

That Got it!


Why did it work correctly on the first build but not the retries?


BTW who is ronnie?
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Fri Jan 21, 2005 9:12 pm    Post subject: Reply with quote

Are you sure that you've used "make vmlinux image" the first time?

Ronnie is a character of Terry Pratchett's "Thief of Time" - he is the fith horseman
Back to top
View user's profile Send private message
5th_Horseman
n00b
n00b


Joined: 06 Oct 2004
Posts: 48

PostPosted: Fri Jan 21, 2005 9:46 pm    Post subject: Reply with quote

nope just thought it would be kewl to be the 5th horsman of the apocolypse



I just up arrowed and edited my cmd line so yes I did.
(Documented in the install docs and worked the first time)
make dep && make clean vmlinux image modules modules_install

I changed it to your suggestion of
make dep && make clean && make vmlinux && make modules && make modules_install

and it worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
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