Subject: Re: sparc and gcc4?
To: Martin Husemann <martin@NetBSD.org>
From: Michael <macallan1888@gmail.com>
List: port-sparc
Date: 06/29/2006 14:36:38
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

>> FWIW, my crashing kernel was (cross-)built with
>>
>> makeoptions     COPTS="-mcpu=supersparc -O2 -pipe"
>
> So there are probably multiple problems. Could you retry with a 
> -current
> kernel? I fixed ddb, so you will get a meaningfull backtrace now, 
> hopefully.

tmpfs is still hosed but now the kernel drops into ddb and the longjmp 
botch panic is gone.
Instead it borks here:
trap type 0x7: pc=0xf0060274 npc=0xf0060278 psr=48001c3<S,PS>
kernel: alignment fault trap
stopped in pid 41.1 (cp) at netbsd:tmpfs_vptofh+0x14:
std %g2, [%o1 + 8]
db> bt
tmpfs_vptofh(0x2d, 0xf44d5be4, 0xf3a20478, 0xf3a2c3b8, 0x0, 0xf3a2ee70) 
at netbsd:nqsrv_getlease+0x288

this happened when I tried to copy a file into a mounted tmpfs.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRKQdtspnzkX8Yg2nAQL/mwgAu6vhKTU/wZL6ht8P8ponHyWzlRoc3iD3
/QEYe8n3rxTYgz+c06bJz1hD/UYfNMhAh79IJ56+XIrIs3ncgwCDEbZQrB60fjUE
olqAYTxVja1GHbD99B6D66EmlKT+9wQHKHKRoxkU3X8EdwDXflNE+HhQXHJNpwd5
BJWNl9ZC69lhOFVh6hFS4t4zIpNzNVDTF/fimQ3mnRErFdm6ukVogMtrtpRZfZSK
0EueDXGlVbz1rPx+fxFm4tiSRW41yh2DpkKh4orL3GCdBfDxeSRhwkJrtZNLlv7g
km5wsf634iBbGqmBQlTjROIe7ByK7wk4bgJPoo57ADwp65NM7JRULg==
=jeYZ
-----END PGP SIGNATURE-----