Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 15:13:29 +0100
From:      Philip Paeps <philip@paeps.cx>
To:        FreeBSD current users <current@FreeBSD.ORG>
Cc:        Julian Elischer <julian@elischer.org>
Subject:   Re: last KSE changes
Message-ID:  <20030131141329.GE2200@juno.home.paeps.cx>
In-Reply-To: <Pine.BSF.4.21.0301281117230.6521-100000@InterJet.elischer.org>
References:  <Pine.BSF.4.21.0301281117230.6521-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--bCsyhTFzCvuiizWE
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

On 2003-01-28 11:24:41 (-0800), Julian Elischer <julian@elischer.org> wrote:
> The rumour mill has been running wild on this but **AS FAR AS I KNOW** the
> breakages have been fixed, since no-one has told me directl of any current
> breakages. If you have any breakage from this commit, PLEASE TELL ME!

Is this the sort of breakage you were expecting:

On an Alpha:

 | linking kernel
 | init_main.o: In function `proc0_init':
 | init_main.o(.text+0x428): undefined reference to `kse0_sched'
 | init_main.o(.text+0x434): undefined reference to `ksegrp0_sched'
 | init_main.o(.text+0x440): undefined reference to `proc0_sched'
 | init_main.o(.text+0x44c): undefined reference to `thread0_sched'
 | *** Error code 1
 | 
 | Stop in /usr/obj/usr/src/sys/PROSPERINA.
 | *** Error code 1
 | 
 | Stop in /usr/src.
 | *** Error code 1
 | 
 | Stop in /usr/src.

On an i386:

 | linking kernel
 | init_main.o: In function `proc0_init':
 | init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
 | init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
 | init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
 | init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
 | kern_clock.o: In function `statclock_process':
 | kern_clock.o(.text+0x704): undefined reference to `sched_clock'
 | kern_condvar.o: In function `cv_wait':
 | kern_condvar.o(.text+0x18f): undefined reference to `sched_sleep'
 | kern_condvar.o: In function `cv_wait_sig':
 | kern_condvar.o(.text+0x3fa): undefined reference to `sched_sleep'
 | kern_condvar.o: In function `cv_timedwait':
 | kern_condvar.o(.text+0x738): undefined reference to `sched_sleep'
 | kern_condvar.o: In function `cv_timedwait_sig':
 | kern_condvar.o(.text+0xa3a): undefined reference to `sched_sleep'
 | kern_exit.o: In function `wait1':
 | kern_exit.o(.text+0x14aa): undefined reference to `sched_exit'
 | kern_fork.o: In function `fork1':
 | kern_fork.o(.text+0xece): undefined reference to `sched_fork'
 | kern_idle.o: In function `idle_proc':
 | kern_idle.o(.text+0xb6): undefined reference to `sched_runnable'
 | kern_mutex.o: In function `propagate_priority':
 | kern_mutex.o(.text+0x7a): undefined reference to `sched_prio'
 | kern_proc.o: In function `procinit':
 | kern_proc.o(.text+0xe9): undefined reference to `sched_sizeof_proc'
 | kern_proc.o: In function `fill_kinfo_proc':
 | kern_proc.o(.text+0x149b): undefined reference to `sched_pctcpu'
 | kern_resource.o: In function `donice':
 | kern_resource.o(.text+0x9f8): undefined reference to `sched_nice'
 | kern_subr.o: In function `uio_yield':
 | kern_subr.o(.text+0x59e): undefined reference to `sched_prio'
 | kern_switch.o: In function `choosethread':
 | kern_switch.o(.text+0x9): undefined reference to `sched_choose'
 | kern_switch.o: In function `kse_reassign':
 | kern_switch.o(.text+0x147): undefined reference to `sched_add'
 | kern_switch.o: In function `adjustrunqueue':
 | kern_switch.o(.text+0x1dc): undefined reference to `sched_rem'
 | kern_switch.o(.text+0x1e4): undefined reference to `sched_add'
 | kern_switch.o(.text+0x218): undefined reference to `sched_rem'
 | kern_switch.o: In function `setrunqueue':
 | kern_switch.o(.text+0x313): undefined reference to `sched_rem'
 | kern_switch.o(.text+0x3cd): undefined reference to `sched_add'
 | kern_synch.o: In function `msleep':
 | kern_synch.o(.text+0x43b): undefined reference to `sched_sleep'
 | kern_synch.o: In function `mi_switch':
 | kern_synch.o(.text+0xc4a): undefined reference to `sched_switchout'
 | kern_synch.o(.text+0xc66): undefined reference to `sched_switchin'
 | kern_synch.o: In function `setrunnable':
 | kern_synch.o(.text+0xd6b): undefined reference to `sched_wakeup'
 | kern_synch.o: In function `yield':
 | kern_synch.o(.text+0xfb9): undefined reference to `sched_prio'
 | kern_thread.o: In function `threadinit':
 | kern_thread.o(.text+0x1287): undefined reference to `sched_sizeof_thread'
 | kern_thread.o(.text+0x12d1): undefined reference to `sched_sizeof_ksegrp'
 | kern_thread.o(.text+0x131b): undefined reference to `sched_sizeof_kse'
 | subr_trap.o: In function `userret':
 | subr_trap.o(.text+0x1b): undefined reference to `sched_userret'
 | subr_trap.o: In function `ast':
 | subr_trap.o(.text+0x5ef): undefined reference to `sched_prio'
 | ksched.o: In function `ksched_attach':
 | ksched.o(.text+0x2e): undefined reference to `sched_rr_interval'
 | ksched.o: In function `ksched_setscheduler':
 | ksched.o(.text+0x2d6): undefined reference to `sched_prio'
 | ksched.o(.text+0x3c6): undefined reference to `sched_prio'
 | vm_zeroidle.o: In function `vm_pagezero':
 | vm_zeroidle.o(.text+0x40d): undefined reference to `sched_runnable'
 | vm_pageout.o: In function `vm_pageout_scan':
 | vm_pageout.o(.text+0x199c): undefined reference to `sched_nice'
 | machdep.o: In function `cpu_idle':
 | machdep.o(.text+0x166e): undefined reference to `sched_runnable'
 | *** Error code 1
 | 
 | Stop in /usr/obj/usr/src/sys/JUNO.
 | *** Error code 1
 | 
 | Stop in /usr/src.
 | *** Error code 1
 | 
 | Stop in /usr/src.

Haven't been able to build a kernel for about two/three days, and your commit
looks like the one that might be the culprit... :-)

There's nothing particularly exciting in my config files, I don't think, but
I've attached them anyway, just in case.

Any ideas, or am I barking up the wrong tree?

 - Philip

-- 
Philip Paeps                                          Please don't CC me, I am
philip@paeps.cx                                       subscribed to the list.

  In a hierarchical system, the rate of pay varies
  inversely with the unpleasantness and difficulty
  of the task.

--bCsyhTFzCvuiizWE
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename=PROSPERINA

# vim: tw=0 ts=8

#
# PROSPERINA -- Kernel config for prosperina.home.paeps.cx (FreeBSD/alpha)
#

machine		alpha
cpu		EV5
ident		PROSPERINA
maxusers	64

# Platforms supported
options 	DEC_ST550		# Personal Workstation 433, 500, 600

options 	INET			#InterNETworking
options		INET6
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 	NFSCLIENT		#Network Filesystem Client
options 	NFSSERVER		#Network Filesystem Server
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=5000	#Delay (in ms) before probing SCSI 
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores

# Include config file
options		INCLUDE_CONFIG_FILE

# Standard busses
device		isa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atapicam	# ATAPI CAM subsystem
device		atapicd		# ATAPI CDROM drives

# SCSI Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices
device		isp		# Qlogic family

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

# syscons is the default console driver, resembling an SCO console
device		sc

options         SC_DISABLE_REBOOT
options         SC_DISABLE_DDBKEY
options         SC_KERNEL_CONS_ATTR=(FG_LIGHTGREEN|BG_BLACK)
options         SC_KERNEL_CONS_REV_ATTR=(FG_WHITE|BG_GREEN)
options         SC_NORM_REV_ATTR=(FG_WHITE|BG_BLUE)
options         SC_PIXEL_MODE

device		mcclock		# MC146818 real time clock device

# Serial (COM) ports (required)
device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device
 
# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support
device		dc		# DEC/Intel 21143 and workalikes

# Pseudo devices - the number indicates how many units to allocated.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		snp		# Snoop device

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		#Berkeley packet filter


--bCsyhTFzCvuiizWE
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename=JUNO

# vim: tw=0 ts=8

#
# JUNO -- Kernel configuration for juno.home.paeps.cx (i386)
#

machine		i386
cpu		I686_CPU
ident		JUNO
maxusers	256

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 	NFSCLIENT		#Network Filesystem Client
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=10000	#Delay (in ms) before probing SCSI
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

# Include this config in the binary
options		INCLUDE_CONFIG_FILE

# Standard Busses
device		isa
device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicam		# ATAPI CAM emulation
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		# Static device numbering

# SCSI controller
device		ahc		# Adaptec 2930CU

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver
device		agp		# support several AGP chipsets
device		mgadrm		# DRM for Matrox

# syscons is the default console driver, resembling an SCO console
device		sc

# Options for sc
options         SC_DISABLE_REBOOT
options         SC_DISABLE_DDBKEY
options         SC_KERNEL_CONS_ATTR=(FG_LIGHTGREEN|BG_BLACK)
options         SC_KERNEL_CONS_REV_ATTR=(FG_WHITE|BG_GREEN)
options         SC_NORM_REV_ATTR=(FG_WHITE|BG_BLUE)

# Support for big console
options         SC_PIXEL_MODE
options         VESA

# Floating point support - do not disable.
device		npx

# Add suspend/resume support for the i8254.
device		pmtimer

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		rl		# RealTek 8129/8139

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		snp		# Snoop device
device		md		# Memory device

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ucom		# Serial devices
device		uvisor		# Palm m505


--bCsyhTFzCvuiizWE--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030131141329.GE2200>