Subject: kern/16427: Lost interrupts with hard disk after turning power on (see kern/12693 also)
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/20/2002 04:12:25
>Number:         16427
>Category:       kern
>Synopsis:       Lost interrupts with hard disk after turning power on (see kern/12693 also)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 20 04:13:01 PDT 2002
>Originator:     Teemu Rinta-aho
>Release:        1.5.3
NetBSD d800 1.5.3 NetBSD 1.5.3 (D800) #0: Sat Apr  6 15:33:14 EEST 2002     root@d800:/usr/src/sys/arch/i386/compile/D800 i386
I have the same hardware as described in kern/12693. The problem is
also almost the same, like the bug had reappeared in 1.5.3. 

Now I get my hard disk detected as "wd2" after I turn on the power on my
machine, and then when the boot progesses, I start getting "lost interrupt while reading" -messages. Sorry I don't have anything left in /var/log/messages or dmesg, as I had to press the reset button to
get the system up and running. 

Now the strange thing is that after pressing the reset button,
during the next boot the hard disk will be correctly detected
as wd0, not wd2, and there will be no problems. It is just the
first boot after the power has been switched on.

I have updated the BIOS of my motherboard to the latest version
but otherwise the hardware configuration is 100% the same as in
bug report #12693.

I guess that the code that caused problems earlier was removed,
and now it, or part of it, or similar type of code, has been added
to pciide.c or somewhere that causes this problem on my hardware.

I can repeat it by turning the power off of my machine and then starting