DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st July 2008
jrick jrick is offline
New User
 
Join Date: Jul 2008
Posts: 1
Default Unable to build custom kernel [Wrong configuration?]

I have been able to build other kernels, like when I enabled a high resolution console to fit my 1600x1200 monitor. This time, I wanted to enable the ULE scheduler. I also cut a lot of the unnecessary drivers out of my kernel. Now when building it, I get this error:

http://pastebin.com/m6cec08e9

Here is my kernel configuration:

http://pastebin.com/m1210ffbd

Sorry for the links, but it was too long to fit in this post.

My guess is that if I would remove the "makeoptions DEBUG=-g" line, then it would work, because it failed (line 6 on first link) at "linking kernel.debug".

Any help?

EDIT: Forgot to mention... just csup'ed my src tree, and am running 7.0-RELEASE-p3

Last edited by jrick; 31st July 2008 at 01:56 AM.
Reply With Quote
  #2   (View Single Post)  
Old 31st July 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Code:
# Wireless NIC cards
#device         wlan            # 802.11 support
#device         wlan_wep        # 802.11 WEP support
#device         wlan_ccmp       # 802.11 CCMP support
#device         wlan_tkip       # 802.11 TKIP support
#device         wlan_amrr       # AMRR transmit rate control algorithm
#device         wlan_scan_ap    # 802.11 AP mode scanning
#device         wlan_scan_sta   # 802.11 STA mode scanning
#device         an              # Aironet 4500/4800 802.11 wireless NICs.
device          ath             # Atheros pci/cardbus NIC's
device          ath_hal         # Atheros HAL (Hardware Access Layer)
#device         ath_rate_sample # SampleRate tx rate control for ath
#device         awi             # BayStack 660 and others
#device         ral             # Ralink Technology RT2500 wireless NICs.
#device         wi              # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device         wl              # Older non 802.11 Wavelan wireless NIC.
ath* depends on wlan*. Either comment out the ath* lines and load it all via modules, or uncomment all the wlan* lines.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3   (View Single Post)  
Old 31st July 2008
ivanatora ivanatora is offline
Real Name: Ivan
Fdisk Soldier
 
Join Date: Jul 2008
Location: Bulgaria
Posts: 51
Default

Same thing happened to me. I disabled 'wlan', but I forgot some USB wireless card, which obviously needed 'wlan'. It is silly to feel you wrong after an hour of kernel compilation... There should be a tool available for checking kernel configurations for that kind of mistakes.
Reply With Quote
  #4   (View Single Post)  
Old 31st July 2008
jb_daefo jb_daefo is offline
Spam Deminer
 
Join Date: May 2008
Posts: 303
Default

or even a GENERIC with..
device ath #atheros
.......................# depends on wlan
........................# can/cannot be loaded via .ko instead
.........................# if can, ... if cannot...
.........................# for setup, see ________manpages/handbook/[wiki]
...........................# cofiguration is __________________
__________________
FreeBSD 13-STABLE
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem during kernel-build for a 6.x-to-7 upgrade clevershark FreeBSD Installation and Upgrading 2 1st February 2009 10:45 PM
About Custom Kernels qmemo NetBSD General 2 28th September 2008 03:45 PM
Updating FreeBSD and Building a Custom Kernel bsdforlife FreeBSD Installation and Upgrading 8 16th August 2008 02:45 AM
Kernel configuration file ignored? FWS FreeBSD Installation and Upgrading 16 26th June 2008 10:28 AM
Utility to make FreeBSD custom ISO mtx FreeBSD General 5 9th June 2008 11:13 PM


All times are GMT. The time now is 08:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick