Re: Make fails: when compiling kernel

2003-02-19 Thread taxman
On Monday 17 February 2003 12:50 am, Kris Kennaway wrote:
> On Fri, Jan 01, 1999 at 02:54:41AM +0100, Christian Johansson wrote:
> > I'm completely new to freebsd and tried to get my Soundblaster Live to 
work
> > I sure tried to take away stuff that I know I didn't have,, but when I 
make 
> > the kernel I got the following error:
> 
> a) Your clock is wrong
> 
> b) You have omitted a required option in your kernel configuration.
> This is a FAQ.

Yes, but it's surprisingly not *in* the FAQ
I suppose it is already well documented where it is most likely to be seen.

Tim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Make fails: when compiling kernel

2003-02-16 Thread Kris Kennaway
On Fri, Jan 01, 1999 at 02:54:41AM +0100, Christian Johansson wrote:
> I'm completely new to freebsd and tried to get my Soundblaster Live to work
> I sure tried to take away stuff that I know I didn't have,, but when I make 
> the kernel I got the following error:

a) Your clock is wrong

b) You have omitted a required option in your kernel configuration.
This is a FAQ.

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

Kris



msg19603/pgp0.pgp
Description: PGP signature


Re: Make fails: when compiling kernel

2003-02-16 Thread Bill Moran
Date: Fri, 1 Jan 1999 02:54:41 +0100

[You need to fix the date on your computer]

Christian Johansson wrote:

I'm completely new to freebsd and tried to get my Soundblaster Live to work
I sure tried to take away stuff that I know I didn't have,, but when I make 
the kernel I got the following error:




# SCSI peripherals
#cj device		scbus		# SCSI bus (required)





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

   ^

You either need to add back in the SCSI support to make USB disk
support work, or remove USB disk support.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Make fails: when compiling kernel

2003-02-16 Thread taxman
On Friday 01 January 1999 02:54 am, Christian Johansson wrote:
> I'm completely new to freebsd and tried to get my Soundblaster Live to work
> I sure tried to take away stuff that I know I didn't have,, but when I make 
> the kernel I got the following error:
> 
> linking kernel
> umass.o: In function `umass_cam_attach_sim':
> umass.o(.text+0x1851): undefined reference to `cam_simq_alloc'
> umass.o(.text+0x189c): undefined reference to `cam_sim_alloc'
...
> *** Error code 1

Jens is correct if not terribly polite.  Configuring a kernel you have to be 
fairly careful.  Read up on the handbook chapter on the kernel config
www.freebsd.org/handbook
and the config file itself closely.  If you're on 4.x series an attempt at 
reading LINT can be educational if not critical.

your question is also a FAQ, so try reading that too when you have a question.

Welcome, and have fun, experimenting and making mistakes is a great way to 
learn, just make sure to read some docs too :)

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Make fails: when compiling kernel

2003-02-16 Thread Evan Dower
Under USB, you have umass enabled. The note next to it says that it requires 
scbus and da (which live under scsi peripherals) which you do not have 
enabled. Enabling these should get you up and running. Also, for a sound 
blaster card, I think you'll need device sbc as well.
Good luck,
Evan Dower

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Make fails: when compiling kernel

2003-02-16 Thread Jens Rehsack
Christian Johansson wrote:

I'm completely new to freebsd and tried to get my Soundblaster Live to work
I sure tried to take away stuff that I know I didn't have,, but when I make 
the kernel I got the following error:

linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x1851): undefined reference to `cam_simq_alloc'
[...]


*** Error code 1


Look that you haven't read the comments in the config file not very 
carefully.




[...]


# SCSI peripherals
#cj device		scbus		# SCSI bus (required)
#cj device		ch		# SCSI media changers
#cj device		da		# Direct Access (disks)
#cj device		sa		# Sequential Access (tape etc)
#cj device		cd		# CD
#cj device		pass		# Passthrough device (direct SCSI access)
#cj device		ses		# SCSI Environmental Services (and SAF-TE)


[...]


# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
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

Please read above line very carefully again :-)


device		ums		# Mouse
#cj device		urio		# Diamond Rio 500 MP3 player
#cj device		uscanner	# Scanners
# USB Ethernet, requires mii
device		aue		# ADMtek USB ethernet
device		cue		# CATC USB ethernet
device		kue		# Kawasaki LSI USB ethernet




--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: <[EMAIL PROTECTED]>
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Make fails: when compiling kernel

2003-02-16 Thread Christian Johansson
I'm completely new to freebsd and tried to get my Soundblaster Live to work
I sure tried to take away stuff that I know I didn't have,, but when I make 
the kernel I got the following error:

linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x1851): undefined reference to `cam_simq_alloc'
umass.o(.text+0x189c): undefined reference to `cam_sim_alloc'
umass.o(.text+0x18ad): undefined reference to `cam_simq_free'
umass.o(.text+0x18c9): undefined reference to `xpt_bus_register'
umass.o: In function `umass_cam_rescan_callback':
umass.o(.text+0x1903): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_rescan':
umass.o(.text+0x1975): undefined reference to `xpt_periph'
umass.o(.text+0x1984): undefined reference to `xpt_create_path'
umass.o(.text+0x19a0): undefined reference to `xpt_setup_ccb'
umass.o(.text+0x19bd): undefined reference to `xpt_action'
umass.o: In function `umass_cam_detach_sim':
umass.o(.text+0x1b0b): undefined reference to `xpt_bus_deregister'
umass.o(.text+0x1b29): undefined reference to `cam_sim_free'
umass.o: In function `umass_cam_detach':
umass.o(.text+0x1b94): undefined reference to `xpt_create_path'
umass.o(.text+0x1bb9): undefined reference to `xpt_async'
umass.o(.text+0x1bc4): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_action':
umass.o(.text+0x1f70): undefined reference to `xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x20bc): undefined reference to `xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x2221): undefined reference to `xpt_done'
umass.o: In function `umass_cam_quirk_cb':
umass.o(.text+0x2244): undefined reference to `xpt_done'
*** Error code 1

#
# 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.369.2.2 2002/12/31 05:35:45 scottl Exp $

machine i386
#cj cpu I486_CPU
#cj cpu I586_CPU
cpu I686_CPU
ident   MYKERNEL
maxusers0

#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 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 root device, requires NFSCLIENT
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
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 AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.

# Debugging for use in -current
#optionsDDB #Enable the kernel debugger
#optionsINVARIANTS  #Enable calls of extra sanity checking
options INVARIANT_SU