Hey guys, I have installed Freebsd 5.3 Release, and I can't compile my custom kernel. I even tried compile the Generic kernel to see if I had some error in my custom kernel, and that didn't compile either. The Freebsd FAQ pages states one solution would be to "re-fetch the source tree". How is that done? Thanks in advanced for you help.
Hi !
What exactly did you tryed ? It never happend to me to fail compiling the kernel... how did you tryed to compile it ?
I usualy compile it like this:
1. cd /usr/src/sys/i386/conf/
2. cp GENERIC newKernel
3. vi newKernel (and edit to fit my options)
4. config newKernel
5. cd ../compile/newKernel/
6. make depend
7. make
8. make install clean
Try this steps. It's the most easyest way to compile the kernel. If it's not working, post here the errors you get and we'll figure it out ;-)
Good luck !
Bye !
Thanks Sergui-IT. I tried those steps and it failed on step 7 in your previous list, "make". The error was "End of file not found". Can you tell me how to re-fetch the source tree, and what exactly does that mean? Thanks alot.
Hi !
Have you tried to compile a new version of the kernel ? Or the kernel that came with your install CD ? Anyway, the problem seems to be in one of the files... try to reinstall the sources from your install CD. If you are new and you don't want to do something complicate simply try the sysinstall command (as root). It's a very easy-to-use interface for installing packages. The same you used when you installed FreeBSD. You'll have the install menu and select from the packages the kernel sources to install.
Another option, fetching the source tree, it's a little more complicated and... not so good. At least, I don't like it This is how I'm doing this:
1. Create a "supfile" that contains something like this :
2. Create the /usr/ncvs directory
3. Go into the directory where your supfle is and try : cvsup -g -L 2 supfile. This will download (fetch) the last kernel source tree to your computer and will put it in /usr/ncvs. After that, you have to do the normal compilation (config newKernel, make depend, make, make install clean) with your new fetched kernel source.
You should also take a look at this links: http://www.freebsd.org/doc/en_US.ISO...nelconfig.html (for more details on kernel build) http://www.freebsd.org/doc/en_US.ISO...ook/cvsup.html (for using cvsup)
Well... I hope this helps... sorry for my bad english, it's not my native language
Good luck !
Bye-Bye!
Hey, I'm also having a problem with my custom kernel.
After the #cd ../compile/mykernel (some say newkernel) the make depend commando fails. It tells me that it's missing a header file, I think it was called miibus or something. And the installation aborts. Any ideas?
I'm also using the FreeBSD 5.3 release, I tried to reinstall all the packages already.
Hey, I'm also having a problem with my custom kernel.
After the #cd ../compile/mykernel (some say newkernel) the make depend commando fails. It tells me that it's missing a header file, I think it was called miibus or something. And the installation aborts. Any ideas?
I'm also using the FreeBSD 5.3 release, I tried to reinstall all the packages already.
Hi !
Well... I do have an ideea
miibus is required for some network cards to work. On the original GENERIC file you can find something like this:
Probably when you "customized" your kernel for compilation, you deleted the "device miibus" line, but you leaved support for some network card that requires miibus. Try to insert the "device miibus" line in your file. It will probably work without any problems...
Good luck !
Three RH7 servers patched through a satellite and rebooted Sunday. Two of the three experienced issues with kernel 123.20.1 and were reporting logind and systemd errors, org.freedesktop subscription failure. Users ssh'ing into the two servers had to wait 30 seconds to get the password prompt.... (2 Replies)
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Hi everyone I installed OpenSuse 12.3 and many development tools but when i propose build the kernel from the source (the first step make menuconfig) i saw this:
HOSTLD scripts/kconfig/mconf
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: warning: libdl.so.2,... (2 Replies)
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" message comes.
I tried giving acpi=off to the kernel command line but same problem.It shows everything ok and no problem with memory and processors and power supplies.Wt could be the reason?
It has... (1 Reply)
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
hi all!
i have developed a mechanism in system.c to count how many times each kernel call is called. The results are held in an array in system.c . What i want to do is to create a new kernel call which will print this array. I need help in passing the array from system.c to the new kernel call. ... (5 Replies)
ok so I just installed fedora core 6 on my dell inspiron 700m and I go to boot into linux and I get this error. Has anyone seen this before?
I also had XP Pro and Vista installed on this pc prior to putting fedora core 6 on the machine. I'm trying to setup a triple boot system.
Please Help... (2 Replies)
We are installing a PrismII chipset wireless PCMCIA card with a new 2.4.9 linux kernel. The card is a D-Link DWL-650. The 2.4.9 kernel uses the orinoco_cs.o driver.
Anyone running this configuration?
The 2.4.9 Linux kernel has built in PCMCIA support and the README says it supports the... (1 Reply)