Subject: Re: success with netbsd-2-0?
To: None <port-cobalt@NetBSD.org>
From: Jamie Heilman <jamie@audible.transient.net>
List: port-cobalt
Date: 12/11/2004 16:39:49
dieter wrote:
> I just copied /usr/mdec/boot to <ext2-partition>/boot/vmlinux and then 
> gzipped it. (and of course install a kernel as /netbsd). I see there's 
> also a boot(8).

OK, got around to building a 2.0 kernel, installed the bootloader this
time, and indeed, the serial console works just fine once I'm using
the netbsd bootloader.  Kernel still crashes when I try to ftp a file
though.  Here are the details:

trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2403, cause=0x8008, epc=0x8015e6f4, vaddr=0xc523b000
pid=459 cmd=ftpd usp=0x7fffda80 ksp=0xc508fb38
Stopped in pid 459.1 (ftpd) at  netbsd:r5k_pdcache_wb_range_32+0xc0:    cache   
0   
x19,0x0(a0)
db> show reg
at          0
v0          0x1
v1          0xffffffe0
a0          0xc523b000
a1          0xc523b060
a2          0x5ea
a3          0x5ea
t0          0x80163760  _bus_dmamap_sync
t1          0
t2          0x4
t3          0x3f
t4          0xd44e
t5          0x484f796d
t6          0x1
t7          0
s0          0xc523aaa8
s1          0x5a8
s2          0x4
s3          0xc004da00
s4          0xc004da0c
s5          0x5a8
s6          0x1
s7          0
t8          0x28
t9          0x301b7530
k0          0
k1          0
gp          0x801c12b0  fpu_id+0x7fe8
sp          0xc508fbb8
fp          0x295
ra          0x80163944  _bus_dmamap_sync+0x1e4
sr          0x2403
mdlo        0
mdhi        0
bad         0
cs          0
pc          0x8015e6f4  r5k_pdcache_wb_range_32+0xc0
netbsd:r5k_pdcache_wb_range_32+0xc0:    cache   0x19,0x0(a0)
db> trace
r5k_pdcache_wb_range_32+c0 (c523b000,c523b060,5ea,5ea) ra 80163944 sz 0
80163894+b0 (c523b000,c523b060,5ea,5ea) ra 0 sz 0
User-level: pid 459.1

-- 
Jamie Heilman                     http://audible.transient.net/~jamie/
"You came all this way, without saying squat, and now you're trying
 to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile?
 I liked you better when you weren't saying squat kid." -Buddy