|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Quote:
What I'm actually doing right now is this: first of all I didn't change anything yet, as far as networking drivers are concerned (all of the necessary ath stuff is in GENERIC). I only added this: Code:
cpu I686_CPU ident GENERIX ... options VESA options SC_PIXEL_MODE Kernel hang and complete system lock up at: Quote:
|
|
|||
I'm going to
Code:
# make buildworld # make buildkernel |
|
|||
I now tried to simply build a new kernel without changing anything in the GENERIC config file. That results in my system hanging during the boot process at this point:
Quote:
|
|
|||
There is file called /usr/src/UPDATING , which you are supposed to read before
rebuilding your system from updated source code. Compare the steps you have taken with those in http://www.freebsd.org/doc/en_US.ISO...makeworld.html
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
FYI: prior to "make buildworld" I first tried to only rebuild the kernel using an unchanged GENERIC config file.
|
|
|||
I am not sure whether you updated your source code or system..
But in case you did this, either through freebsd-update or by fetching/updating the source code, things could be out of sync.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
In the mean time I have installed a new minimal system and then I updated src and ports. What do want me to try now? Should I install the minimal system once more without updating src and ports and then rebuild the kernel using the GENERIC config file?
|
|
|||
Just read http://www.freebsd.org/doc/en_US.ISO...makeworld.html and follow the steps.
IIRC the last time I recompiled a FreeBSD kernel was for adding in ISDN support on FreeBSD 3.4. In those days I printed out those chapters from the FBSD handbook. You didn't want to reread those pages with a 14k4 modem with phone costs of 15 cents each 45 seconds.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
I already practiced rebuilding world and that went fine but in the mean time I simply installed a new minimal system. Need I rebuild world every time prior to building a new kernel?
Snappen we elkaar wel? Je moet toch src updaten meteen nadat je een "minimal install" hebt uitgevoerd want anders heb je toch geen /usr/src/sys/i386/conf ? |
|
|||
There is a difference between installing the source code and updating.
If you install the source code as part of the minimal install, you will have the exact source code that was used to build your minimal system. Then you simple can compile a custom kernel . If you installed the source code and then updated with c(v)sup or whatever, you will have source code incorporating changes made after the release of your minimal install. In this case you will have to read that UPDATING file and make buildworld before compiling the kernel. I would do the GENERIC kernel first, and just follow the remainder of the steps outlined in chapter 24 of the FreeBSD handbook. This will result in a system where the source code and the binaries are in sync again. That is the moment where you can compile your custom kernel. Capice ? There is no secret knowledge, which only the initiated receive from the FreeBSD high priests. It is all written down in the handbook.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Success!
Ah, I finally succeeded!
I rebuilt my kernel with a completely customized config file but I now used the installed src that is part of the minimal install and that's what I did wrong all previous times. I learned a lot the passed couple of days and I'm beginning to like FreeBSD more and more. I can see why people prefer it to GNU/Linux. I now have a nice 1280 x 800 resolution in text mode with wireless networking. |
|
|||
Working 8-RELEASE laptop kernel config / diff -u
Laptop: Fujitsu Siemens Amilo L 7310 MCN
Diff -u 'GENERIC' 'LAPKERN' Quote:
|
|
|||
Laptop: Fujitsu Siemens Amilo L 7310 MCN
This is diff -u (the other thing I posted earlier was dmesg) Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kernel Compilation --> Error code 2 --> geom_part_pc98 (FreeBSD 7.0) | stou | FreeBSD Installation and Upgrading | 15 | 11th October 2008 04:43 AM |
compile kernel error | mfaridi | FreeBSD Installation and Upgrading | 9 | 14th July 2008 02:26 AM |
Can't load kernel error on PC-BSD / FreeSBIE | lazerbeat | FreeBSD Installation and Upgrading | 3 | 5th July 2008 08:39 PM |
Kernel error with ieee802111 | disappearedng | FreeBSD General | 1 | 29th June 2008 10:56 AM |
Kernel Driver Not accesable error In Virtural Box on Ubntu hardy | FloridaBSD | Other BSD and UNIX/UNIX-like | 8 | 28th May 2008 01:11 AM |