Subject: port-vax/11531: vs3100 fails to boot from CD
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dmcmahill@netbsd.org>
List: netbsd-bugs
Date: 11/20/2000 12:09:20
>Number:         11531
>Category:       port-vax
>Synopsis:       vs3100 fails to boot from CD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 20 12:09:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        1.5_BETA<NetBSD-current source date>
>Organization:

>Environment:
	
System: NetBSD torricelli 1.5_BETA NetBSD 1.5_BETA (TORR) #2: Sat Oct 28 11:37:25 EDT 2000 mcmahill@torricelli:/usr/cvs/syssrc/sys/arch/sparc/compile/TORR sparc


>Description:

My vaxstation 3100 fails to boot from CD-ROM.  I can create a bootable ISO image and use 'dd'
to write the image to a hard drive and the machine will boot from that.  However if I burn the
same image to a CD the machine won't boot.  The message is:

>How-To-Repeat:

mkdir foo

# populate foo with "netbsd.vax, boot.vax, usr/mdec.vax/xxboot"
mkhybrid -v -v -o test.iso  -J -r -a -l -L  foo  2>&1 | tee mkhybrid.log
VAXISOBLK=`egrep "^[0-9]+.*mdec.vax/xxboot" mkhybrid.log | awk '{print $1}'`
/usr/src/sys/arch/vax/stand/installboot/installboot -v -s -i $VAXISOBLK images/$IMG3 $D1/usr/mdec.vax/xxboot

# test on  disk with (in my case the drive is attached to a pmax)
dd if=test.iso of=/dev/rrz2c

# move the drive to the vax and it boots.

# burn a CD and it won't boot on VS3100 but does on VS4000/60.
	
>Fix:
dunno.
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> show dev
  VMS/VMB  ULTRIX    ADDR    DEVTYP  NUMBYTES  RM/FX  WP  DEVNAM  REV
  -------  ------  --------  ------  --------  -----  --  ------  ---
  ESA0     SE0     08-00-2B-0F-0B-A8
 
  DUA2     RX2               DISK               RM        RX23
 
  DKA200   RZ2     A/2/0/00  RODISK    634 MB   RM        CD-ROM 
  DKA300   RZ3     A/3/0/00  DISK      104 MB   FX        RZ23   
  ...HostID....    A/6       INITR
 
 >>> boot dka200
 
 DKBTDRIVER halting at relative address 041A  DKBTDRIVER base addr = 00001754
 REGISTERS   R0: 00000054   R1: 00000003   R2: 2008000F   R3: 00000000
             R4: 00000000   R5: 00000040   R6: 00001774   R7: 200C0080
             R8: 0000000C   R9: 00000000  R10: 00008A00  R11: 00000000
 CMDBUF: 00000800 00000306  SENSE_BUF: 0A000000 00060070
 STATUS_BUF: 02             SENSE_STATUS: 00
 MSG_IN_BUF: 00             SENSE_MSG_IN: 00         SENSE_INDEX: FFFFFFFF
 USER_BUF_ADDR: 00000000    TOTAL_XFER_COUNT: 00000000   BYTES_LEFT: 00000000
 PG_TABLE_PTR: 00000000     BASE_VPN: 00000000       BUFFER_PTR: 00000000
 MAP_MODE: 00000000
 STACK:  00001B55
         00002568
         00000210
         00001C76
         00001ACD
         00001A93
 
  84 FAIL
 >>> show ver
 
 KA42-A  V1.1C6-17A-V6.2-262
         PST: 17A         
         CON: 1C6         
         VMB: V6.2        
         ROM: 262         
 
 
 The CD-ROM drive is a plextor 40x drive with the Block size set to 512 byte blocks.
 
 I _can_ take the same CD and CD-ROM drive, connect to a VAXstation 4000/60 and it boots
 ok.