|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Kernel Compilation --> Error code 2 --> geom_part_pc98 (FreeBSD 7.0)
Hi,
I have edited the GENERIC Kernel to create my own kernel, but when I do the command make buildkernel KERNCONF=MYKERNEL, I have this error : ===> geom/geom_part/geom_part_pc98 (cleandir) cd: can't cd to /usr/src/sys/modules/geom/geom_part/geom_part_pc98 *** Error code 2 Stop in /usr/src/sys/modules/geom/geom_part. *** Error code 1 Stop in /usr/src/sys/modules/geom. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/TORRUS. *** Error code 1 Stop in /usr/src. *** Error code 1 And when I try with the GENERIC Kernel like that, the error also comes... I miss this source : geom_part_pc98. I do a cvsup to make an update of the sources. But the error is alway here. Do you know how I can delete this error ? Thank's Best regards Fragnière Steve |
|
|||
I have the exact same problem : I miss this source. I just cvsup'd... I first thought it was a kernel configuration problem, but I tried with the GENERIC and same prob. if anyone knows how to fix this...
I just checked, geom_part_pc98 option is NOT in the GENERIC configuration file. Maybe it is an outdated dependency ? How can I force the non-compilation of this ? Thanks |
|
|||
Do
# rm -rf /usr/obj/* and try again
|
|
|||
I tried with rm -rf /usr/obj/* , but nothing changed.
Yes, I am compiling as root. Here is the supfile : Code:
*default host=cvsup2.fr.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all edit : I did make buildworld just before buildkernel. Does it matter ? (I did not install anything; just buildworld.) Sorry if this is a stupid question, I'm new to FreeBSD Last edited by beuiot; 9th September 2008 at 11:51 AM. |
|
||||
dunno if it helps, but try using default line
*default release=cvs delete use-rel-suffix compress I believe that something might not been deleted from old sources, maybe Also you my want to read this... http://www.freebsd.org/doc/en/books/...makeworld.html Especially since you updated all source files |
|
|||
Ok still no luck. Here is exactly what I did.
I used cvsup with the file previously posted. Then I went to /usr/src. I did : Code:
make buildworld then the Code:
make buildkernel Code:
can't cd to /usr/src/sys/modules/geom/geom_part/geom_part_pc98 I installed freebsd with the Freebsd 7.0 release disk 1. It is a fresh install. What did I do wrong ? Thanks |
|
|||
It looks like the french mirrors I used where broken. I used the main site, and now the kernel compiles ! hurray.
One question though : when I boot into single user mode, none of my partitions seem to be mounted (/usr, /home, ...), only / . Is this normal ? Thanks a lot for your help ! |
|
||||
Quote:
To mount all of them, type Code:
$ mount -a |
|
||||
You need to use /rescue/mount, depending on your shell PATH configuration just typing ``mount'' won't work (By default it doesn't).
In addition, the root partition might get mounted as read-only depending on filesystem status, you will need to mount it as read-write in order to write to it, this can be done with: # /rescue/mount -u /
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
Thank you so much ! I was able to successfully build the kernel and boot on it.
What I did on single user mode was : Code:
mount -u / mount -a -t ufs Thanks again ! |
|
||||
Quote:
I think the best advice for some of the issues brought up in this thread is "Read the Handbook." The Rebuilding "world" chapter discusses exactly how to rebuild the system, how to work in single user mode, and explains the -j option. It also wouldn't be a bad idea to run fsck -p before mounting the drives. |
|
|||
Same probleme here , and i m french and was using the same as host as beuiot
|
|
||||
Quote:
Read Rebuilding "world" to the end Last edited by graudeejs; 9th October 2008 at 05:19 PM. |
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error code 1 whie make install gnome | mtm0 | NetBSD General | 3 | 4th September 2009 11:56 AM |
link: `libtheora_la-common.lo' is not a valid libtool object error during compilation | pax | FreeBSD Ports and Packages | 2 | 29th July 2008 11:30 AM |
compile kernel error | mfaridi | FreeBSD Installation and Upgrading | 9 | 14th July 2008 02:26 AM |
slimserver make install *** Error code 1 | alan79 | FreeBSD Ports and Packages | 15 | 28th May 2008 12:35 PM |
Ports installtion error code 1 | seadog109 | FreeBSD General | 1 | 11th May 2008 01:19 AM |