Subject: kern/8066: StarMax booting from IDE drive hangs at probing wdc1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <makoto@ki.nu>
List: netbsd-bugs
Date: 07/24/1999 19:50:51
>Number:         8066
>Category:       kern
>Synopsis:       StarMax booting from IDE drive hangs at probing wdc1
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 24 19:50:01 1999
>Last-Modified:
>Originator:     Makoto Fujiwara
>Organization:
	
Fujiwara at ki.nu
>Release:        <NetBSD-current source date> 1999/04/02, 1999/06/20
>Environment:
	
System: NetBSD harry 1.3J NetBSD 1.3J (DE-no-WDC1-de-0402) #2: Tue Apr 27 22:03:06 JST 1999 makoto@harry:/usr/src/sys/arch/macppc/compile/DE-no-WDC1-de-0402 macppc

also
NetBSD tomura 1.4D NetBSD 1.4D (GENERIC) #0: Sun Jun 20 15:07:06 EDT 1999     
	dan@frotz:/usr/src/sys/arch/macppc/compile/GENERIC macppc

>Description:
	
--- SCSI OK, IDE NG --
On StarMax (Tanzania machine), either 3000/240 or 3000/200,
I have two booting drives, one SCSI, the other internal IDE.
Both has the same copy of release.  Booting from SCSI runs OK,
but booting from IDE stops while probing wdc1, part of the console
messages reads,
  wdc0 at obio0 offset 0x20000 irq 13
  wd0 at wdc0 channel 0 drive 0: <DSAA-3360>
  wd0: drive supports 32-sector pio transfers, lba addressing
  wd0: 348MB, 929 cyl, 16 head, 48 sec, 512 bytes/sect x 713472 sectors
  wd0: drive supports PIO mode 3, DMA mode 1
  wdc1 at obio0 offset 0x21000 irq 14

---
Booting from fd:0 is also almost OK.
( I got at lease one occation when booting from fd:0, hanging at 
probing wdc1. )

>How-To-Repeat:
	
 Described above
>Fix:
	

If I change the kernel which I did not really duplicate on snapshot version,
it works fine.

(This is totally interim work arround.)
To: port-macppc@netbsd.org
Subject: Re: StarMax4000/200?
From: Makoto Fujiwara <makoto@ki.nu>

--- sys/arch/macppc/conf/DE	Tue Feb 23 23:16:55 1999
+++ sys/arch/macppc/conf/DE-no-WDC1	Wed Mar  3 19:04:05 1999
@@ -154,7 +154,8 @@
 zstty0	at zsc0 channel 0
 zstty1	at zsc0 channel 1
 
-wdc*	at obio0 flags 0x0
+wdc0	at obio0 flags 0x0
+#dc*	at obio0 flags 0x0
 wd*	at wdc? channel ? drive ? flags 0x0000
 
 atapibus* at wdc? channel ?

>Audit-Trail:
>Unformatted: