Port-evbmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd-7 LOONGSON kernel doesn't work



On Thu, 5 Feb 2015, John D. Baker wrote:

> and if not, start bisecting...

So far, a 6.99.43 kernel works, a 6.99.45 kernel panics in the manner
described earlier.

My custom YEELOONG kernel config has a curious problem.  With all
framebuffers except "lynxfb" disabled, the kernel fails linking with:

[...]
--- netbsd_dsk ---
#      link  YEELOONG/netbsd_dsk
/d0/build/nbsd-tst/tools/i386/bin/mips64el--netbsd-ld -Map netbsd_dsk.map --cref -m elf64ltsmip -T /x/nbsd-tst/src/sys/arch/mips/conf/kern.ldscript -Ttext 0xFFFFFFFF80200000 -e start -G 0 -X -o netbsd_dsk ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
lynxfb.o: In function `lynxfb_attach':
/x/nbsd-tst/src/sys/dev/pci/lynxfb.c:340: undefined reference to `vcons_init'
/x/nbsd-tst/src/sys/dev/pci/lynxfb.c:345: undefined reference to `vcons_init_screen'
/x/nbsd-tst/src/sys/dev/pci/lynxfb.c:353: undefined reference to `vcons_replay_msgbuf'
*** [netbsd_dsk] Error code 1

nbmake: stopped in /d0/build/nbsd-tst/obj/mips64el/sys/arch/evbmips/compile/YEELOONG
1 error


If I include "genfb" (normally commented out of LOONGSON config), the
kernel links, but panics at boot with "cnopen: no console device".

If I include at least one other non-genfb framebuffer ("sisfb" in
my most recent build), the kernel links without error and provides
a working console.

I'm going to build a full 6.99.43 release to update on my SD card
rootfs and then roll forward to 6.99.44 to test next.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index