Subject: Problems booting from SCSI disk
To: None <tech-install@NetBSD.ORG>
From: Dominic J Hulewicz <dom@inta.net>
List: tech-install
Date: 01/27/1998 09:27:19
I have freshly installed NetBSD 1.3/i386, and everything works fine apart
from booting from SCSI disk. I can boot from floppy, interrupt the loader
and then boot from sd0:netbsd, but it won't boot automatically.

This is what I get on bootup:

  Adaptec AHA-2940 BIOS v1.115

  [...]

  SCSI ID #0 - DEC       DSP3107LS        - Drive C: (80h)

  BIOS Installed Sucessfully!

  Missing operating system


How NetBSD sees the disk:

  sd0 at scsibus0 targ 0 lun 0: <DEC, DSP3107LS, 442E> SCSI2 0/direct fixed
  sd0: 1021MB, 3117 cyl, 8 head, 83 sec, 512 bytes/sect x 2091144 sectors


Anything else I think might be useful:

office# /usr/mdec/installboot -v /usr/mdec/biosboot.sym /dev/rsd0a
/usr/mdec/biosboot.sym: entry point 0
proto bootblock size 30208
room for 10 filesystem blocks at 0x4c0
renamed //boot -> //boot.bak
Will load 44 blocks.
dblk: 6576, num: 16
dblk: 10640, num: 16
dblk: 10564, num: 12
BSD partition starts at sector 63
deleting //boot.bak

office# ls -l /boot
-r--r--r--  1 root  users  22528 Jan 27 09:06 /boot

office# fdisk /dev/rsd0d
******* Working on device /dev/rsd0d *******
Warning: BIOS sector numbering starts with sector 1
parameters extracted from in-core disklabel are:
cylinders=961 heads=32 sectors/track=68 (2176 sectors/cylinder)

Figures below won't work with BIOS for partitions not in cylinder 1
parameters to be used for BIOS calculations are:
cylinders=1037 heads=32 sectors/track=63 (2016 sectors/cylinder)

Information from DOS bootblock is:
0: sysid 0 (unused)
    start 0, size 0 (0 MB), flag 0x0
        beg: cylinder    0, head   0, sector  1
        end: cylinder    0, head   0, sector  0
1: sysid 0 (unused)
    start 0, size 0 (0 MB), flag 0x0
        beg: cylinder    0, head   0, sector  1
        end: cylinder    0, head   0, sector  0
2: sysid 0 (unused)
    start 0, size 0 (0 MB), flag 0x0
        beg: cylinder    0, head   0, sector  1
        end: cylinder    0, head   0, sector  0
3: sysid 165 (NetBSD or FreeBSD or 386BSD)
    start 63, size 2064321 (1007 MB), flag 0x80
        beg: cylinder    0, head   1, sector  1
        end: cylinder 1023, head  31, sector 63


Can anyone help ?


	Thanks,
		Dom.
-- 
 Dominic J. Hulewicz - mailto:dom@inta.net - http://www.intanet.com/dom