Subject: Re: i386 - Cannot boot from wd(Promise Ultra100) with infinite
To: None <bouyer@antioche.eu.org>
From: NISHIO Yasuhiro <nishio@hh.iij4u.or.jp>
List: current-users
Date: 10/16/2003 01:26:44
Bouyer san.
Thank you for your reply.

> I think we can do without it

It's good news for me. ;-)

> Can you try the attached patch ?

I try it. And kernel loops on intr.

> It seems it starts looping when RST is asserted. Strange.

The machine has 5 PCI cards(VGA, fxp, wm, Promise IDE and cbb).  I
think that I'll try to test with simple system configuration(VGA and
Promise IDE only) on this weekend.

Is this meeninglee? 

log;

- wdc.c with Bouyer-san's patch
- GENERIC kernel with  options DIAGNOSTIC, DEBUG
  (I got same result original GENERIC with patched wdc.c)

----------------------------------------
> boot netbsd.diag -d
booting hd0a:netbsd.diag (howto 0x40)
8003764+135460+430940 [382144+311053]=0x8d6b24
Loaded initial symtab at 0xc092d540, strtab at 0xc098ac14, # entries 22750
Stopped at      netbsd:breakpoint+0x4:  leave
db> break wdcreset
db> break wdcprobe
db> write wdcdebug_mask 0x7f
netbsd:wdcdebug_mask            0 = 0x7f
db> c
BIOS CFG: Model-SubM-Rev: fc-01-00, 0x70<KBDINT,RTC,IC2>
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    The NetBSD Foundation, Inc.  All rights reserved.

	:

wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
pmsprobe: reset error 5
Breakpoint in pid 0.1 (swapper) at      netbsd:wdcprobe:        pushl   %ebp
db> c
wdcprobe:0: before reset, st0=0xff, st1=0xff
Breakpoint in pid 0.1 (swapper) at      netbsd:wdcprobe:        pushl   %ebp
db> c
wdcprobe:0: before reset, st0=0xff, st1=0xff
lpt0 at isa0 port 0x378-0x37b irq 7

	:

cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 0 device 0
pcmcia1 at cardslot1
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
raidattach: Asked for 8 units
Kernelized RAIDframe activated
pdcide0:0: before reset, st0=0x50, st1=0x0
wdcintr: inactive controller
pdcide0:0: bogus intr
wdcintr: inactive controller
pdcide0:1: bogus intr
wdcintr: inactive controller
pdcide0:0: bogus intr
	:
-----------
If you need full log, Would you please check at

	http://www.hh.iij4u.or.jp/~nishio/netbsd/
		1015-wdcdebug.log

Thanks in advance.
-- 
NISHIO Yasuhiro