Port-sparc64 archive

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

Re: sun2/sun3/sun4c/sun4u emulator



On Sat, Nov 27, 2010 at 10:56:34PM +0900, Izumi Tsutsui wrote:
> > But when trying to boot solaris, I get:
> > Program received signal SIGSEGV, Segmentation fault.  
> > 0xba687bf1 in _tme_scsi_bus_cycle () from /usr/pkg/lib/tme/tme_scsi.so.0
> 
> I saw the similar coredump when disk size in disklabel is larger
> than actual disk image file size.
> 
> > Also, I see:
> > Target 0 
> >   Unit 0   Disk     TME     DISK            0000
> >   Unit 1   Device type 60     TME     DISK            0000
> >   Unit 2   Device type 60     TME     DISK            0000
> >   Unit 3   Device type 60     TME     DISK            0000
> >   Unit 4   Device type 60     TME     DISK            0000
> >   Unit 5   Device type 60     TME     DISK            0000
> >   Unit 6   Device type 60     TME     DISK            0000
> >   Unit 7   Device type 60     TME     DISK            0000
> > 
> > (notice the drive respond, but in a strange way, to all 8 luns). This
> > may be related.
> 
> Probably Solaris uses different way to detect LUNs and
> disk emulation doesn't handle it?

this is from a 'probe-scsi' at the openprom level

> Anyway disk access against nonexisting image might causes
> the above SEGV.

Yes, I expanded the disk image a bit and got past this segv.
Now tme aborts when solaris probes the CPU:
#0  0xbad5c1e7 in _lwp_kill () from /usr/lib/libc.so.12
#1  0xbad5c1a4 in raise () from /usr/lib/libc.so.12
#2  0xbad5ba56 in abort () from /usr/lib/libc.so.12
#3  0xbac47657 in _tme_stp103x_ls_asi_ecache ()
   from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#4  0xbac373ba in tme_sparc64_ls () from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#5  0xbac3a6e1 in tme_sparc64_ldxa () from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#6  0xbac497a6 in _tme_sparc_execute_stp103x ()
   from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#7  0xbac3c04f in tme_sparc_thread () from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#8  0xbb7d57c9 in tme_sjlj_dispatch () from /usr/pkg/lib/libtme.so.0
#9  0xbb7d5f7a in tme_sjlj_threads_run () from /usr/pkg/lib/libtme.so.0

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index