Subject: 1.6: scsi probe fails to find drive
To: None <port-macppc@netbsd.org>
From: Kyle Jones <kyle_jones@wonderworks.com>
List: port-macppc
Date: 09/30/2002 23:32:35
I'm trying to install NetBSD 1.6 on a Power Computing Power Tower
180.  I'm booting off a floppy boot image and see two problems.

The first problem is that the kernel only sees 32MB of memory and
there's 128MB installed.  MacOS sees the full 128MB.

The more serious problem is that the SCSI probe fails to find
the disk at target 0.  The kernel finds the external Jaz drive at
target 2 and the internal SCSI drive at target 3.

Boot output appears below, along with "printenv" and "dev scsi"
followed by "show-children" which shows the SCSI devices that the
firmware is able to find.  Any help appreciated.

------start boot output------
Open Firmware, 1.0.5
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot fd:0 -
OF_open bootpath=fd
read stage 2 blocks: 01234567. done!
starting stage 2...

>> NetBSD/macppc OpenFirmware Boot, Revision 1.6
>> (autobuild@tgm.daemon.org, Sun Sep  8 21:53:46 UTC 2002)
3720996+128848=0x3ac088
 start=0x800000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6 (INSTALL) #0: Sun Sep  8 22:07:39 UTC 2002
    autobuild@tgm.daemon.org:/autobuild/macppc/OBJ/autobuild/src/sys/arch/macppc/compile/INSTALL
total memory = 32768 KB
avail memory = 23992 KB
using 435 buffers containing 1740 KB of memory
no active packagemainbus0 (root)
cpu0 at mainbus0: 604 (Revision 3.5), ID 0 (primary)
cpu0: HID0 8000c084<EMCP,ICE,DCE,SGE,BHT>
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: vendor 0x106b product 0x0001 (rev. 0x03)
obio0 at pci0 dev 16 function 0: addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:a0:59:01:79:ed
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0 (console)
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 2 targets
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0 (mux ignored)
adb0 addr 3: relative positioning device (1) not configured
nvram0 at obio0 offset 0x1d000
scsibus0: waiting 2 seconds for devices to settle...
esp0: illegal command: 0xc2 (state 2, phase 3, prevphase 1)
esp0: SCSI bus reset
esp0: illegal command: 0xc2 (state 2, phase 3, prevphase 1)
esp0: SCSI bus reset
esp0: illegal command: 0xc2 (state 2, phase 3, prevphase 1)
esp0: SCSI bus reset
sd0 at scsibus0 target 2 lun 0: <iomega, jaz 2GB, E.17> SCSI2 0/direct removable
sd0: drive offline
sd0: sync (160.0ns offset 15), 8-bit (6.250MB/s) transfers
cd0 at scsibus0 target 3 lun 0: <TOSHIBA, CD-ROM XM-5401TA, 3605> SCSI2 5/cdrom removable
cd0: sync (240.0ns offset 15), 8-bit (4.166MB/s) transfers
md0: internal 2048 KB image area
boot device: <unknown>
root on md0a dumps on md0b
root file system type: ffs
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
Terminal type? [vt100] 
Erase is backspace.                                                     
(I)nstall, (S)hell or (H)alt ? h
Sep  8 23:33:23 halt: halted by root
syncing disks... done
halted

EXIT called ok
0 > printenv 

little-endian?      false               false
real-mode?          false               false
auto-boot?          false               true
diag-switch?        false               false
fcode-debug?        false               false
oem-banner?         false               false
oem-logo?           false               false
use-nvramrc?        true                false
real-base           F00000              -1 
real-size           100000              100000 
virt-base           -1                  -1 
virt-size           100000              100000 
load-base           600000              4000 
pci-probe-list      -1                  -1 
screen-#columns     64                  64 
screen-#rows        28                  28 
selftest-#megs      0                   0 
boot-device         enet                /AAPL,ROM
boot-file           ofwboot.xcf         
diag-device         fd:diags            fd:diags
diag-file                               
input-device        ttya                ttya
output-device       ttya                ttya
oem-banner                              
oem-logo                                
  z 2C + 8CC '& 8 + BRpatchyn then ;;l-method else $call-parent then ;
boot-command        boot                boot
 ok
0 > dev scsi  ok
0 > show-children 
Target 0 
  Unit 0  Disk     MICROP  4221-09 1128RAAVRAAV
Target 2 
  Unit 0  Removable Disk     iomega  jaz 2GB         E.17
Target 3 
  Unit 0  Removable Read Only device    TOSHIBA CD-ROM XM-5401TA3605
 ok
0 >