cant login after installing custom kernel (4.1)

cant login after installing custom kernel (4.1)

Post by Heiko Brau » Sat, 30 Sep 2000 04:00:00



Hi,
first of all, Im an absolute novice to FreeBSD.
My problem is that i have made my own kernel over night (FreeBSD 4.1),
all like said in the handbook (make world, buildkernel , installkernel),
and when i did a reboot this morning, i can do no more login (even as root).
I tried to boot the old kernel, but it's the same there.
So, what did i make wrong (and do i have to do a new install)?

Thanks for any response.
Heiko Braun

 
 
 

1. Building a custom kernel in 4.1

Hello,
I am familiar with the procedure of building a custom kernel under
FreeBSD3.3 but having a lot of difficulty when trying to follow the
procedure for FreeBSD4.1. Can anyone summarize the exact steps to build a
custom kernel under FreeBSD4.1(the documentation is a little confusing)?

I am trying to build a custom kernel with a label module (from NIST) and the
build fails while trying to link with some of the function pointers of that
module. Below are the errors I get:

****************************************************************************
*************************************************

c -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmiss
ing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include  -D_KERNEL -i
nclude opt_global.h -elf  -mpreferred-stack-boundary=2  config.c
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmis
sing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -a
nsi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include  -D_KERNEL -
include opt_global.h -elf  -mpreferred-stack-boundary=2  setdef1.c
touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh MPLS
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmis
sing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -a
nsi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include  -D_KERNEL -
include opt_global.h -elf  -mpreferred-stack-boundary=2  vers.c
linking MPLS
if_ethersubr.o: In function `ether_demux':
if_ethersubr.o(.text+0x666): undefined reference to `lt_find_by_label_ptr'
if_ethersubr.o(.text+0x68c): undefined reference to `lt_find_by_label_ptr'
if_ethersubr.o(.text+0x6fd): undefined reference to `lt_find_by_label_ptr'
rtsock.o: In function `route_output':
rtsock.o(.text+0x8c6): undefined reference to `lt_add_ptr'
rtsock.o(.text+0x8d6): undefined reference to `lt_add_ptr'
rtsock.o(.text+0x8e6): undefined reference to `lt_rm_ptr'
rtsock.o(.text+0x8f6): undefined reference to `lt_rm_ptr'
rtsock.o(.text+0x909): undefined reference to `PrintLabelTable_ptr'
rtsock.o(.text+0x912): undefined reference to `PrintLabelTable_ptr'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MPLS.
*** Error code 1

Stop in /usr/src.
*** Error code 1
****************************************************************************
*************************************************

Any quick help would be really appreciated.

Syed Kamran Raza
Nortel Networks

2. Bash not reading /etc/bashrc

3. Cant install bootloader on Redhat 4.1

4. latest compatibility list for Network card

5. REDHAT 6, cant get custom Kernel 2.2.6 to boot...

6. unixware 1.1.4

7. Red Hat 4.1 Install Program Re-boots PC not Kernel!

8. Call for Papers 8th International "Linux-Kongress" 2001

9. Redhat 4.1, install, build kernel - what the-?!?!?

10. kernel panic in 2.0.27 while installing RedHat 4.1 (LONG)

11. 4.1 4.1 4.1 HELP!

12. cant build motif on freebsd 4.1

13. custom jumpstart drops to interactive install, ignores custom config