Re: kernel make fails

2007-02-16 Thread Jeffrey Goldberg

On Feb 15, 2007, at 11:45 PM, Gary Schenk wrote:

After editing and successfully running "make cleandepend" and "make  
depend",

my custom kernel failed during "make" with this output:



: undefined reference to `ieee80211_next_scan'
*** Error code 1


If you have removed all Wireless LAN stuff your kernel, then also  
comment out ural (USB wireless).


This isn't properly documented in the NOTES or GENERIC comments, and  
the Handbook doesn't even mention ural.


Like you, I discovered this the hard way.

Here are excerpts from my kernel configuration file.

# 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 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.

# USB support
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  ehci# EHCI PCI->USB interface (USB 2.0)
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# "Human Interface Devices"
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus  
and da

device  ums # Mouse
# ural requires WLAN support
#device ural# Ralink Technology RT2500USB  
wireless NICs

device  urio# Diamond Rio 500 MP3 player
device  uscanner# Scanners




Re: kernel make fails

2007-02-15 Thread Garrett Cooper

Gary Schenk wrote:
After editing and successfully running "make cleandepend" and "make depend", 
my custom kernel failed during "make" with this output:


babo# make
linking kernel
if_ural.o(.text+0x66): In function `ural_free_tx_list':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x2d3): In function `ural_rxeof':
: undefined reference to `ieee80211_find_rxnode'
if_ural.o(.text+0x2eb): In function `ural_rxeof':
: undefined reference to `ieee80211_input'
if_ural.o(.text+0x2f1): In function `ural_rxeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x893): In function `ural_start':
: undefined reference to `ieee80211_find_txnode'
if_ural.o(.text+0x8b9): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa0a): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa3f): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa53): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa65): In function `ural_start':
: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0xe47): In function `ural_txeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xeee): In function `ural_watchdog':
: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1188): In function `ural_detach':
: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x16f3): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1719): In function `ural_attach':
: undefined reference to `ieee80211_ifattach'
if_ural.o(.text+0x1754): In function `ural_attach':
: undefined reference to `ieee80211_media_status'
if_ural.o(.text+0x175f): In function `ural_attach':
: undefined reference to `ieee80211_media_init'
if_ural.o(.text+0x182b): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x185f): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1894): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x18e6): In function `ural_attach':
: undefined reference to `ieee80211_announce'
if_ural.o(.text+0x1b8e): In function `ural_set_chan':
: undefined reference to `ieee80211_chan2ieee'
if_ural.o(.text+0x21c3): In function `ural_task':
: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0x2be0): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2c3e): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2cf7): In function `ural_ioctl':
: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0xe5): In function `ural_next_scan':
: undefined reference to `ieee80211_next_scan'
*** Error code 1

Stop in /usr/src/sys/i386/compile/BABO.

I searched on the Google and looked in the handbook, but to no avail.

Here is the kernel file:
#
# BABO -- my custom kernel configuration file for FreeBSD/i386
# Feb. 15, 2007
# Edited to include sound, DVD burner, and USB support
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon 
Exp $


machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   BABO

# To statically compile in device wiring instead of /boot/device.hints

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug 
symbols


options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big 
directories

options MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem

kernel make fails

2007-02-15 Thread Gary Schenk
After editing and successfully running "make cleandepend" and "make depend", 
my custom kernel failed during "make" with this output:

babo# make
linking kernel
if_ural.o(.text+0x66): In function `ural_free_tx_list':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x2d3): In function `ural_rxeof':
: undefined reference to `ieee80211_find_rxnode'
if_ural.o(.text+0x2eb): In function `ural_rxeof':
: undefined reference to `ieee80211_input'
if_ural.o(.text+0x2f1): In function `ural_rxeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x893): In function `ural_start':
: undefined reference to `ieee80211_find_txnode'
if_ural.o(.text+0x8b9): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa0a): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa3f): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa53): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa65): In function `ural_start':
: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0xe47): In function `ural_txeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xeee): In function `ural_watchdog':
: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1188): In function `ural_detach':
: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x16f3): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1719): In function `ural_attach':
: undefined reference to `ieee80211_ifattach'
if_ural.o(.text+0x1754): In function `ural_attach':
: undefined reference to `ieee80211_media_status'
if_ural.o(.text+0x175f): In function `ural_attach':
: undefined reference to `ieee80211_media_init'
if_ural.o(.text+0x182b): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x185f): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1894): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x18e6): In function `ural_attach':
: undefined reference to `ieee80211_announce'
if_ural.o(.text+0x1b8e): In function `ural_set_chan':
: undefined reference to `ieee80211_chan2ieee'
if_ural.o(.text+0x21c3): In function `ural_task':
: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0x2be0): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2c3e): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2cf7): In function `ural_ioctl':
: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0xe5): In function `ural_next_scan':
: undefined reference to `ieee80211_next_scan'
*** Error code 1

Stop in /usr/src/sys/i386/compile/BABO.

I searched on the Google and looked in the handbook, but to no avail.

Here is the kernel file:
#
# BABO -- my custom kernel configuration file for FreeBSD/i386
# Feb. 15, 2007
# Edited to include sound, DVD burner, and USB support
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon 
Exp $

machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   BABO

# To statically compile in device wiring instead of /boot/device.hints

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug 
symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big 
directories
options MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem Client
#optionsN

Re: Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Fred Patmore
Fred Patmore wrote:
>Guess this is why some say 99% of users are users :-)
Oops, meant to say "99% of users are lusers".. darn, guess I am one of them
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Fred Patmore
Miguel Mendez wrote:
Miguel Mendez wrote:
On Wed, 15 Dec 2004 17:14:48 +0100
Fred Patmore <[EMAIL PROTECTED]> wrote:
Hi,

but I get the following error messages when doing 'make'
[EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make
linking kernel
[...]
: undefined reference to `xpt_done'
umass.o(.text+0x233f): more undefined references to `xpt_done' follow
*** Error code 1

Yes, it's explained in the GENERIC config file:
device  umass   # Disks/Mass storage - Requires scbus and da
^^^
Cheers,
On Wed, 15 Dec 2004 17:14:48 +0100
Fred Patmore <[EMAIL PROTECTED]> wrote:
Hi,
 

but I get the following error messages when doing 'make'
[EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make
linking kernel
   

[...]
 

: undefined reference to `xpt_done'
umass.o(.text+0x233f): more undefined references to `xpt_done' follow
*** Error code 1
   

Yes, it's explained in the GENERIC config file:
device  umass   # Disks/Mass storage - Requires scbus and da
^^^
Cheers,
 

Ack !
I eyeballed areas where Ive made some changes several times and 
completely ignore the others due to "I didnt touch it so they should be 
trouble-free" mentality. Should have just searched for 'umass' :-(
Guess this is why some say 99% of users are users :-)

Thanks for your help, its compiling neatly this time !
Fred P.
<[EMAIL PROTECTED]>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Miguel Mendez
On Wed, 15 Dec 2004 17:14:48 +0100
Fred Patmore <[EMAIL PROTECTED]> wrote:

Hi,

> but I get the following error messages when doing 'make'
> 
> [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make
> linking kernel
[...]
> : undefined reference to `xpt_done'
> umass.o(.text+0x233f): more undefined references to `xpt_done' follow
> *** Error code 1

Yes, it's explained in the GENERIC config file:

device  umass   # Disks/Mass storage - Requires scbus and da
 ^^^

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]> | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
Note: All HTML mail goes to /dev/null| jsr -552(a6)



pgpUiExIjMUYL.pgp
Description: PGP signature


Re: Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Erik Trulsson
On Wed, Dec 15, 2004 at 05:14:48PM +0100, Fred Patmore wrote:
> Hi,
> I've just installed FreeBSD (after removing it due to portupgrade gone 
> awry), did CVSup and now trying to build a custom kernel.
> 
> make depend was successful
> 
> but I get the following error messages when doing 'make'
> 
> [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make
> linking kernel
> umass.o(.text+0x1ab3): In function `umass_cam_attach_sim':
> : undefined reference to `cam_simq_alloc'
> umass.o(.text+0x1b04): In function `umass_cam_attach_sim':
> : undefined reference to `cam_sim_alloc'

[snip]

> 
> 'make'
> 
> Stop in /usr/src/sys/i386/compile/C-KERNEL.
> [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#]
> --
> 
> This is my kernel conf
> 
> #
> # GENERIC -- Generic kernel configuration file for FreeBSD/i386
> #
> # For more information on this file, please read the handbook section on
> # Kernel Configuration Files:
> #
> # 
> http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
> #
> # The handbook is also available locally in /usr/share/doc/handbook
> # if you've installed the doc distribution, otherwise always see the
> # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
> # latest information.
> #
> # An exhaustive list of options and more detailed explanations of the
> # device lines is also present in the ../../conf/NOTES and NOTES files.
> # If you are in doubt as to the purpose or necessity of a line, check first
> # in NOTES.
> #
> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 
> 18:02:52 scottl Exp $
> 
> machine i386
> #cpu I486_CPU
> #cpu I586_CPU
> cpu I686_CPU
> ident C-KERNEL

[snip]

> device ugen # Generic
> #device uhid # "Human Interface Devices"
> device ukbd # Keyboard
> #device ulpt # Printer
> device umass # Disks/Mass storage - Requires scbus and da

You see that part about 'Requires scbus and da' ?
They do mean it.

> device ums # Mouse
> #device urio # Diamond Rio 500 MP3 player
> #device uscanner # Scanners
> # USB Ethernet, requires mii
> #device aue # ADMtek USB Ethernet
> #device axe # ASIX Electronics USB Ethernet
> #device cue # CATC USB Ethernet
> #device kue # Kawasaki LSI USB Ethernet
> #device rue # RealTek RTL8150 USB Ethernet
> 
> # FireWire support
> #device firewire # FireWire bus code
> #device sbp # SCSI over FireWire (Requires scbus and da)
> #device fwe # Ethernet over FireWire (non-standard!)
> 
> --
> Since I have no SCSI devices, I've removed anything that has something 
> to do with SCSI from the conf files. Could that be it ? (if you cant 
> tell by now, I am fairly new to this :-)

That is it. 


-- 

Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Fred Patmore
Hi,
I've just installed FreeBSD (after removing it due to portupgrade gone 
awry), did CVSup and now trying to build a custom kernel.

make depend was successful
but I get the following error messages when doing 'make'
[EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make
linking kernel
umass.o(.text+0x1ab3): In function `umass_cam_attach_sim':
: undefined reference to `cam_simq_alloc'
umass.o(.text+0x1b04): In function `umass_cam_attach_sim':
: undefined reference to `cam_sim_alloc'
umass.o(.text+0x1b13): In function `umass_cam_attach_sim':
: undefined reference to `cam_simq_free'
umass.o(.text+0x1b35): In function `umass_cam_attach_sim':
: undefined reference to `xpt_bus_register'
umass.o(.text+0x1b61): In function `umass_cam_rescan_callback':
: undefined reference to `xpt_free_path'
umass.o(.text+0x1bd4): In function `umass_cam_rescan':
: undefined reference to `xpt_periph'
umass.o(.text+0x1be3): In function `umass_cam_rescan':
: undefined reference to `xpt_create_path'
umass.o(.text+0x1bff): In function `umass_cam_rescan':
: undefined reference to `xpt_setup_ccb'
umass.o(.text+0x1c1c): In function `umass_cam_rescan':
: undefined reference to `xpt_action'
umass.o(.text+0x1cfa): In function `umass_cam_detach_sim':
: undefined reference to `xpt_bus_deregister'
umass.o(.text+0x1d16): In function `umass_cam_detach_sim':
: undefined reference to `cam_sim_free'
umass.o(.text+0x1d5d): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1dd6): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1df5): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1e9d): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1f71): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1fbf): more undefined references to `xpt_done' follow
umass.o(.text+0x2185): In function `umass_cam_action':
: undefined reference to `cam_calc_geometry'
umass.o(.text+0x218d): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x219e): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x21af): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x2221): In function `umass_cam_cb':
: undefined reference to `xpt_done'
umass.o(.text+0x231b): In function `umass_cam_cb':
: undefined reference to `xpt_done'
umass.o(.text+0x233f): more undefined references to `xpt_done' follow
*** Error code 1
'make'
Stop in /usr/src/sys/i386/compile/C-KERNEL.
[EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#]
--
This is my kernel conf
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# 
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 
18:02:52 scottl Exp $

machine i386
#cpu I486_CPU
#cpu I586_CPU
cpu I686_CPU
ident C-KERNEL
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
options SCHED_4BSD # 4BSD scheduler
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
#options NFSCLIENT # Network Filesystem Client
#options NFSSERVER # Network Filesystem Server
#options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
#options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options

Re: recompile kernel -- make fails

2003-09-10 Thread Jonathan Chen
On Wed, Sep 10, 2003 at 08:28:11PM -0700, daniel meg wrote:

[...]
> # SCSI peripherals
> #device   scbus   # SCSI bus (required)
> #device   da  # Direct Access (disks)

[...]

> deviceumass   # Disks/Mass storage - Requires scbus and da

You've commented out required stuff in your kernel config, as shown
above.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


recompile kernel -- make fails

2003-09-10 Thread daniel meg

I am running FreeBSD 4.8 RELEASE, and intended to recompile kernel for apm support and 
minize the kernel size.

When I run make against the ../../compile/HACKEDKERNEL, it return bunch of errors and 
I just can't copy the errors(I don't know why my system can't and I enabled the mouse 
daemon already ?) 

The make fails and display a lot of unreference to xpt_***(a_lot_of_option_goes_here) 
any lines goes by..

Does anyone know what was that? I included the kernel config file as an attachment, 
please feel free to help me..




-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25 23:35:15 jhb Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   HACKEDKERNEL
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
#optionsNFS #Network Filesystem
#optionsNFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

# To support HyperThreading, HTT is needed in addition to SMP and APIC_IO
#optionsHTT # HyperThreading Technology

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
device  fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Sta