From owner-freebsd-questions@FreeBSD.ORG Tue Dec 28 20:19:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C53A16A4CE for ; Tue, 28 Dec 2004 20:19:49 +0000 (GMT) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC56443D54 for ; Tue, 28 Dec 2004 20:19:48 +0000 (GMT) (envelope-from linguae@lycos.com) Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180])68A631800225 for ; Tue, 28 Dec 2004 20:19:48 +0000 (GMT) X-OB-Received: from unknown (208.36.123.34) by wfilter.us4.outblaze.com; 28 Dec 2004 20:19:47 -0000 Received: by ws7-5.us4.outblaze.com (Postfix, from userid 1001) id 0AC3EC610C; Tue, 28 Dec 2004 20:19:47 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [4.246.123.95] by ws7-5.us4.outblaze.com with http for linguae@lycos.com; Tue, 28 Dec 2004 15:19:46 -0500 From: linguae@lycos.com To: freebsd-questions@freebsd.org Date: Tue, 28 Dec 2004 15:19:46 -0500 X-Originating-Ip: 4.246.123.95 X-Originating-Server: ws7-5.us4.outblaze.com Message-Id: <20041228201947.0AC3EC610C@ws7-5.us4.outblaze.com> Subject: FreeBSD 5.1 Kernel Linking Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2004 20:19:49 -0000 Hello. I am using FreeBSD 5.1 on my Compaq Armada 7400. I was trying to r= ecompile my kernel. What happened was during the buildkernel phase (I use = make buildkernel KERNCONF=3DARMADA7400), when it was time to link the kerne= l modules, it ended in an error. Here is my kernel configuration: machine i386 cpu I586_CPU cpu I686_CPU ident ARMADA7400 maxusers 10=09 device npx device loop options INET options INET6 options FFS options UFS_ACL options UFS_DIRHASH options SOFTUPDATES options MSDOSFS options CD9660 options PSEUDOFS options COMPAT_43 options COMPAT_FREEBSD4 options SYSVSHM options SYSVSEM options SYSVMSG options _KPOSIX_PRIORITY_SCHEDULING device isa device eisa device pci device agp device fdc device ata device atadisk device atapicd device atapifd device scbus device da device sa device cd device pass device atkbdc device atkbd device psm device vga device splash device sc device vt device apm device cbb device pcic device pccard device cardbus device sio device ppc device ppbus device lpt device plip device ppi device vpo device miibus device ep device ether device tun device pty device gif device faith device bpf # USB Support device uhci device ohci device ehci device usb device ugen device uhid device umass # Sound Support device pcm device midi device seq Here is my dmesg output: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0689000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 266677191 Hz CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x652 Stepping =3D 2 Features=3D0x183f9ff real memory =3D 67067904 (63 MB) avail memory =3D 58134528 (55 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00f0970 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 0.1 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x7fffe000-0x7fffefff irq 11 at devic= e 12.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x7ffff000-0x7fffffff irq 11 at devic= e 12.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1000-0x100f,0-0x3,0-0x7,0-0x3,0-0x= 7 at device 14.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: mem 0x44080000-0x44080fff irq 11 at = device 14.2 on pci0 usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered eisa0: on motherboard mainboard0: on eisa0 slot 0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: at port 0x3f7= ,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0x200 sio1: port may not be enabled sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounters tick every 10.000 msec ep0: <3Com Megahertz 3CXEM556 B> at port 0x100-0x10f irq 11 function 0 conf= ig 7 on pccard0 ep0: eeprom failed to come ready. device_probe_and_attach: ep0 attach returned 6 sio4: <3Com Megahertz 3CXEM556 B> at port 0x110-0x117 irq 11 function 1 con= fig 39 on pccard0 sio4: type 16550A with a bogus IIR_TXRDY register sio4: unable to activate interrupt in fast mode - using normal mode ad0: 4108MB [8905/15/63] at ata0-master BIOSDMA acd0: CDROM at ata0-slave BIOSPIO Mounting root from ufs:/dev/ad0s2a Here is the kernel's error message (I won't post the entire kernel compilat= ion process because that would result in a 400K message): 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': kern_clock.o(.text+0x6a4): undefined reference to `sched_clock' kern_condvar.o: In function `cv_waitq_add': kern_condvar.o(.text+0x1353): undefined reference to `sched_sleep' kern_exit.o: In function `exit1': kern_exit.o(.text+0x1358): undefined reference to `sched_exit' kern_fork.o: In function `fork1': kern_fork.o(.text+0xc55): undefined reference to `sched_fork' kern_idle.o: In function `idle_proc': kern_idle.o(.text+0x1d6): undefined reference to `sched_runnable' kern_thr.o: In function `thr_exit1': kern_thr.o(.text+0xe8): undefined reference to `sched_exit_kse' kern_thr.o(.text+0x17b): undefined reference to `sched_exit_thread' kern_thr.o: In function `thr_create': kern_thr.o(.text+0x46f): undefined reference to `sched_fork_kse' kern_thr.o(.text+0x481): undefined reference to `sched_fork_thread' 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+0xe3): undefined reference to `sched_sizeof_proc' kern_proc.o: In function `fill_kinfo_proc': kern_proc.o(.text+0x1666): undefined reference to `sched_pctcpu' kern_resource.o: In function `donice': kern_resource.o(.text+0x968): undefined reference to `sched_nice' kern_resource.o: In function `rtp_to_pri': kern_resource.o(.text+0xd25): undefined reference to `sched_class' kern_subr.o: In function `uio_yield': kern_subr.o(.text+0x57e): undefined reference to `sched_prio' kern_switch.o: In function `choosethread': kern_switch.o(.text+0x11): undefined reference to `sched_choose' kern_switch.o: In function `kse_reassign': kern_switch.o(.text+0xea): undefined reference to `sched_add' kern_switch.o: In function `adjustrunqueue': kern_switch.o(.text+0x168): undefined reference to `sched_rem' kern_switch.o(.text+0x170): undefined reference to `sched_add' kern_switch.o(.text+0x19e): undefined reference to `sched_rem' kern_switch.o: In function `setrunqueue': kern_switch.o(.text+0x293): undefined reference to `sched_rem' kern_switch.o(.text+0x34d): undefined reference to `sched_add' kern_synch.o: In function `msleep': kern_synch.o(.text+0x518): undefined reference to `sched_sleep' kern_synch.o: In function `mi_switch': kern_synch.o(.text+0xdf6): undefined reference to `sched_switchout' kern_synch.o(.text+0xe1f): undefined reference to `sched_switchin' kern_synch.o: In function `setrunnable': kern_synch.o(.text+0xf1b): undefined reference to `sched_wakeup' kern_synch.o: In function `yield': kern_synch.o(.text+0x1169): undefined reference to `sched_prio' kern_thread.o: In function `threadinit': kern_thread.o(.text+0x1547): undefined reference to `sched_sizeof_thread' kern_thread.o(.text+0x1591): undefined reference to `sched_sizeof_ksegrp' kern_thread.o(.text+0x15db): undefined reference to `sched_sizeof_kse' subr_trap.o: In function `userret': subr_trap.o(.text+0x12): undefined reference to `sched_userret' subr_trap.o: In function `ast': subr_trap.o(.text+0x67f): 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+0x2d3): undefined reference to `sched_prio' ksched.o(.text+0x3c3): undefined reference to `sched_prio' ffs_snapshot.o: In function `ffs_snapshot': ffs_snapshot.o(.text+0xb4a): undefined reference to `sched_nice' ffs_snapshot.o(.text+0x24f4): undefined reference to `sched_nice' 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+0x1c14): undefined reference to `sched_nice' machdep.o: In function `cpu_idle': machdep.o(.text+0x16ee): undefined reference to `sched_runnable' *** Error code 1 Stop in /usr/obj/usr/src/sys/ARMADA7400. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Thanks in advance. ---------------------------------------------- An Apple a day keeps the doctor away. Proud supporter of UNIX-based operating systems. --=20 _______________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.as= p?SRC=3Dlycos10