Subject: cmdide0 causes bogus intr and stops booting on Ultra5
To: None <port-sparc64@NetBSD.org>
From: Ryo Chiba <diebythe_sword666@ybb.ne.jp>
List: port-sparc64
Date: 05/29/2007 01:10:39
Hello, yesterday I installed -current snapshot 20070528
(cross built on WinXP VMware 6; NetBSD/i386-current)
but cmdide0 on Ultra5 shows "bogus intr" and the kernel stop booting.
No more reaction occurs, sending break signal is not useless so
I turned off manually the rear Power Supply's switch.

Of course I exchanged IDE cables of both channel and
changed master/slave matrix but no success.
(Only when disconnected CD-RW drive, it boots w/o prob.)

2 years ago, there was an e-mail concerned with this prob,
but I doubt no fix was made? Should i use SPARC-authenticated
PCI ATA100/133 card?(for exemple Sil0649 of SiliconImage)
http://mail-index.netbsd.org/port-sparc64/2005/03/11/0010.html

However Solaris 10 11/06 installed and booted without prob.

What is the cause of this prob finally?
The boot message and install log follows below.

Regards,
Ryo Chiba

----------
Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 400MHz), No Keyboard
OpenBoot 3.25, 384 MB (50 ns) memory installed, Serial #XXXXXXXX.
Ethernet address 8:0:20:xx:xx:xx, Host ID: XXXXXXXXX.

ok probe-ide
   Device 0  ( Primary Master )
           ATA Model: HDS728080PLAT20

   Device 1  ( Primary Slave )
          Not Present

   Device 2  ( Secondary Master )
          Removable ATAPI Model: CD-W516EB

   Device 3  ( Secondary Slave )
          Not Present

ok boot cdrom


Boot device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0:f  File and args:
NetBSD IEEE 1275 Bootblock
..>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.9
devopen: getdisklabel returned no disk label
devopen: search_label returned no disk label
Loading netbsd:
sparc64_init(0xf0066d2c, 0xfffa9e28, 0x20, 0xf0066d2c, 0xf0066d2c)
sparc64_init: bmagic=44444230, bi=0x1da7b10
console is /pci@1f,0/pci@1,1/ebus@1/se@14,400000:a
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
2005, 2006, 2007
     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 4.99.20 (INSTALL) #4: Mon May 28 23:58:25 UTC 2007
	whom@wherehost:/usr/export/NetBSD-build/obj/sparc64/usr/export/
NetBSD-build/src/sys/arch/sparc64/compile/INSTALL
total memory = 384 MB
avail memory = 359 MB
bootpath: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0:f
mainbus0 (root): SUNW,Ultra-5_10: hostid 80ff787b
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 400 MHz, UPA id 0
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
DVMA map: c0000000 to e0000000
IOTSB: 630000 to 6b0000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems 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 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: console i/o
sabtty1 at sab0 port 1
com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
kbd0 at com0
com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
ms0 at com1
wsmouse0 at ms0 mux 0
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:xx:xx:xx
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage Pro (rev. 0x5c)
machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 0xe2000000
machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
mach64_get_mode: 1152 5304 5432 1528 900 902 938 937
machfb0: initial resolution 1152x864 at 8 bpp
machfb0: attached to /dev/fb0
machfb0: initializing the DSP
wsdisplay1 at machfb0 kbdmux 1
wsdisplay1: screen 0-3 added (default)
cmdide0 at pci1 dev 3 function 0
cmdide0: CMD Technology PCI0646 (rev. 0x03)
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 Simba PCI bridge (rev. 0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
esiop0 at pci2 dev 1 function 0: Symbios Logic 53c875 (ultra-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ivec 1810
scsibus0 at esiop0: 16 targets, 8 luns per target
pcons at mainbus0 not configured
No counter-timer -- using %tick at 400MHz as system clock.
wskbd0 at kbd0 mux 1
kbd0: reset failed
Kernelized RAIDframe activated
md0: internal 5120 KB image area
scsibus0: waiting 2 seconds for devices to settle...
cmdide0:1: bogus intr
wd0 at atabus0 drive 0: <HDS728080PLAT20>
wd0: 78533 MB, 159560 cyl, 16 head, 63 sec, 512 bytes/sect x 160836480 
sectors
atapibus0 at atabus1: 2 targets
cd0 at atapibus0cmdide0:1: bogus intr
  drive 0: <CD-W516EB, , 1.7A> cdrom removable
cmdide0:1: bogus intr
cmdide0:1: bogus intr
FATAL: boot device not found, check your firmware settings!
root on md0a dumps on md0b
root file system type: ffs
erase ^?, werase ^W, kill ^U, intr ^C

If you are using a SUN type 4 keyboard, please enter "sun-type4".
Terminal type (just hit ENTER for 'sun'): vt100

----
installed via serial console.
----
Reboot...

Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
cmdide0:1: bogus intr
wd0 at atabus0 drive 0: <HDS728080PLAT20>
wd0: 78533 MB, 159560 cyl, 16 head, 63 sec, 512 bytes/sect x 160836480 
sectors
atapibus0 at atabus1: 2 targets
cmdide0:1: bogus intr
cd0 at atapibus0 drive 0: <CD-W516EB, , 1.7A> cdrom removable
cmdide0:1: bogus intr

stalles on this point