Subject: Re: 2.1 Kernels do not boot
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Alex Pelts <alexp@broadcom.com>
List: port-cobalt
Date: 11/23/2005 07:07:58
> Okay, it looks there is a problem around console initialization.
> (consinit() called more than once?)
> Please try the attached patch (for netbsd-2) or this kernel:
> http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-cobalt-INSTALL-2.1_STABLE.gz

I will try this kernel tonight.

> 
>>I did use complete 2.1 userland that I downloaded from netbsd torrent. I 
>>downloaded iso image and used that to install 2.1
>>The config crashes like this - when I try to run it with or without 
>>parameters it dumps core with following message:
>>Bus error (core dumped)
> 
> 
> Hmm, does it always crash with the same error?
> What is the kernel version (uname -a)?
> What do ktrace(1)/kdump(1) say on the command?

It always crashes with the same error. I tried using gdb on it and could 
not make sense of it. The kernel version is :

NetBSD restorecd.homeunix.org 2.1 NetBSD 2.1 (SERVER) #1: Fri Nov 11 
06:21:54 UTC 2005 
xxx@restorecd.homeunix.org:/home/xxx/tmp/usr/src/sys/arch/cobalt/compile/SERVER 
cobalt

I built it myself. I can provide config file if you want.

The kdump output is :


    676 ktrace   EMUL  "netbsd"
    676 ktrace   CALL  execve(0x7fffe238,0x7fffe708,0x7fffe710)
    676 ktrace   NAMI  "/home/xxx/bin/config"
    676 ktrace   RET   execve -1 errno 2 No such file or directory
    676 ktrace   CALL  execve(0x7fffe238,0x7fffe708,0x7fffe710)
    676 ktrace   NAMI  "/bin/config"
    676 ktrace   RET   execve -1 errno 2 No such file or directory
    676 ktrace   CALL  execve(0x7fffe238,0x7fffe708,0x7fffe710)
    676 ktrace   NAMI  "/sbin/config"
    676 ktrace   RET   execve -1 errno 2 No such file or directory
    676 ktrace   CALL  execve(0x7fffe238,0x7fffe708,0x7fffe710)
    676 ktrace   NAMI  "/usr/bin/config"
    676 ktrace   NAMI  "/usr/libexec/ld.elf_so"
    676 config   EMUL  "netbsd"
    676 config   RET   execve JUSTRETURN
    676 config   CALL  mmap(0,0x8000,3,0x1002,0xffffffff,0,0,0)
    676 config   RET   mmap 805629952/0x3004f000
    676 config   CALL  open(0x3000c10c,0,0x3000c10c)
    676 config   NAMI  "/etc/ld.so.conf"
    676 config   RET   open -1 errno 2 No such file or directory
    676 config   PSIG  SIGBUS SIG_DFL
    676 config   NAMI  "config.core"

This look strange to me. config does not seem to even execute. Fails 
while loading.


I will try the patch or the kernel that you provided.

Thanks,
Alex