Subject: Re: U5, SCSI HA, trouble booting
To: None <port-sparc64@netbsd.org>
From: Eric Benoit <eric@oddity.ca>
List: port-sparc64
Date: 08/09/2005 18:54:23
This is a multi-part message in MIME format.
--------------020704070803000608040105
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

> You said the installation went fine but it hangs when it tries to boot
> from harddisk? That's certainly odd. What happens when you boot from the
> NetBSD CD again? Can you mount the filesystems on the harddisk and get
> the network running? This would be enough to try other kernels.

I just tried installing to a whopper 522M IDE HD, which seems to boot to 
multiuser just fine. From there, I can mount /dev/sd0a, not a single 
problem. This seems to eliminate issues accessing the HD from the OF 
POV, and the isp driver POV.

If I try to boot (sd@3,0) now I've this drive going, it still stops at 
the same spot. This blows the theory it's looking at wd0, as it at least 
now exists. Worst case I can just use this as the boot drive.. though 
this shouldn't be necessary. :(

Might this at all have anything to do with the SCSI HD being at ID 3, 
instead of the usual 0? Maybe I'll try this tomorrow..

I've dmesg output as an attachment, after setting output-device to ttyb 
and hooking 'er up. Nothing radically bizarre from the looks of it.

Thanks







--------------020704070803000608040105
Content-Type: text/plain;
 name="dmesg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg.txt"

Boot device: disk  File and args:                                     
NetBSD IEEE 1275 Bootblock
..>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.7
>> (builds@works.netbsd.org, Wed Mar 23 01:17:12 UTC 2005)
loadfile: reading header
elf64_exec: Booting /pci@1f,0/pci@1/pci@3/SUNW,isptwo@4/sd@3,0:a/netbsd
5018032@0x1000000+163792@0x1800000+4030512@0x1827fd0 
symbols @ 0xfef6a400 149+383136+228718 start=0x1000000
chain: calling OF_chain(800000, cbc0, 1000000, fffa9a80, 18)
console is keyboard/display
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    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 2.0.2 (GENERIC) #0: Wed Mar 23 01:40:44 UTC 2005
        builds@works.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/sparc64/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/sparc64/compile/GENERIC
total memory = 256 MB
avail memory = 240 MB
bootpath: /pci@1f,0/pci@1,0/pci@3,0/SUNW,isptwo@4,0/sd@3,0
mainbus0 (root): SUNW,Ultra-5_10: hostid 80b614e8
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 360 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 3; PCI bus 0
DVMA map: c0000000 to e0000000
IOTSB: 1072a000 to 107aa000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems, Inc. Simba PCI bridge (rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 1 function 0
ebus0: Sun Microsystems, Inc. PCIO Ebus2, revision 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003
power at ebus0 addr 724000-724003 ipl 37 not configured
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port : console output
com0 at ebus0 addr 3083f8-3083ff ipl 411: ns16550a, working fifo
com0: console
kbd0 at com0 (console input)
com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
ms0 at com1
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39 not configured
clock0 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-fffff not configured
audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 35 ipl 36: CS4231A
audio0 at audiocs0: full duplex
hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3021
hme0: Ethernet address 08:00:20:b6:14:e8
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ATI Technologies 3D Rage Pro (VGA display, revision 0x5c) at pci1 dev 2 function 0 not configured
cmdide0 at pci1 dev 3 function 0
cmdide0: CMD Technology PCI0646 (rev. 0x03)
cmdide0: bus-master DMA support present
cmdide0: primary channel configured to native-PCI mode
cmdide0: using ivec 1820 for native-PCI interrupt
atabus0 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus1 at cmdide0 channel 1
ppb1 at pci0 dev 1 function 0: Sun Microsystems, Inc. Simba PCI bridge (rev. 0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ppb2 at pci2 dev 3 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x02)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) at pci3 dev 0 function 0 not configured
hme1 at pci3 dev 0 function 1: Sun Happy Meal Ethernet, rev. 1
hme1: interrupting at ivec 3019
hme1: Ethernet address 08:00:20:b6:14:e8
nsphy1 at hme1 phy 1: DP83840 10/100 media interface, rev. 1
nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isp0 at pci3 dev 4 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at ivec 1818
isp0: invalid NVRAM header
scsibus0 at isp0: 16 targets, 8 luns per target
pcons at mainbus0 not configured
No counter-timer -- using %tick at 360MHz as system clock.
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <CRD-8322B, 1998/09/24, 1.05> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(cmdide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
sd0 at scsibus0 target 3 lun 0: <SEAGATE, ST39102LCSUN9.0G, 0828> disk fixed
sd0: 8637 MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sect x 17689267 sectors
sd0: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
root device: 
--------------020704070803000608040105--