Hello.  I am using FreeBSD 5.1 on my Compaq Armada 7400.  I was trying to 
recompile my kernel.  What happened was during the buildkernel phase (I use 
make buildkernel KERNCONF=ARMADA7400), when it was time to link the kernel 
modules, it ended in an error.

Here is my kernel configuration:

machine         i386
cpu             I586_CPU
cpu             I686_CPU
ident           ARMADA7400
maxusers        10      
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
    [EMAIL PROTECTED]:/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 = "GenuineIntel"  Id = 0x652  Stepping = 2
  
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67067904 (63 MB)
avail memory = 58134528 (55 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00f0970
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 0.1 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
cbb0: <TI1250 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 11 at device 
12.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1250 PCI-CardBus Bridge> mem 0x7ffff000-0x7fffffff irq 11 at device 
12.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
isab0: <PCI-ISA bridge> at device 14.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <GENERIC ATA controller> port 0x1000-0x100f,0-0x3,0-0x7,0-0x3,0-0x7 at 
device 14.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0x44080000-0x44080fff irq 11 at 
device 14.2 on pci0
usb0: OHCI version 1.0
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> 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: <EISA bus> on motherboard
mainboard0: <D@@0000 (System Board)> on eisa0 slot 0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <SMCf010> can't assign resources (port)
Timecounters tick every 10.000 msec
ep0: <3Com Megahertz 3CXEM556 B> at port 0x100-0x10f irq 11 function 0 config 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 config 
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 <IBM-DKLA-24320> [8905/15/63] at ata0-master BIOSDMA
acd0: CDROM <COMPAQ CD-ROM CDRU241> at ata0-slave BIOSPIO
Mounting root from ufs:/dev/ad0s2a

Here is the kernel's error message (I won't post the entire kernel compilation 
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.

-- 
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

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

Reply via email to