Subject: pkg/34900: TME sun3 emulator segfaults when attempting to format emulated drive
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sigmfsk@aol.com>
List: pkgsrc-bugs
Date: 10/24/2006 16:55:01
>Number:         34900
>Category:       pkg
>Synopsis:       TME sun3 emulator segfaults when attempting to format emulated drive
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 24 16:55:00 +0000 2006
>Originator:     arthur townsend
>Release:        3.0
>Organization:
>Environment:
3.0 for i386
>Description:
Inside TME, when loading SunOS 4.1.1 from tape, TME exits when attempting to format/label the disk.

What would you like to do:
1 - install SunOS mini-root
2 - exit to single user shell

select 1

Do you want to format and/or label disk "sd0"?
1 - yes, run format
2 - no, continue with loading miniroot
3 - no, exit to single user shell

select 1

The console reports:
Searching for disks...

Then TME exits with:

Program received signal SIGSEGV, Segmentation fault.
0xbd6408f1 in _tme_scsi_bus_cycle (conn_scsi=0xa650f00, control=9, data=0, 
    events_asker=0, actions_asker=512, dma_asker=0xbfbfe200) at scsi-bus.c:788
788               dma_target->tme_scsi_connection_int_data

>How-To-Repeat:

>Fix:
Workaround:

I was able to use a drive inside TME that was formatted/labeled on a real sun3 then DD'd to a file.

I was able to label a drive when loading NetBSD inside TME.