Subject: Re: pciide question: wd0 as wd2 (Promise Ultra100)
To: Teemu Rinta-aho <teemu@rinta-aho.org>
From: Michael Graff <explorer@flame.org>
List: port-i386
Date: 12/16/2002 00:55:40
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[I trimmed of tech-kern]

Does anything show up as wd0 or wd1, when wd2 appears?

- --Michael

Teemu Rinta-aho <teemu@rinta-aho.org> writes:

> Hi,
> 
> I am running NetBSD/i386 1.6_STABLE on an Asus A7V
> motherboard which has an integrated Promise Ultra100
> ATA. BIOS has been the latest there is, for months.
> 
> The problem is that everything is working close
> to perfect, but sometimes the disk (Seagate ATA IV)
> which should be recognized as wd0, gets recognized
> as wd2. After that the kernel has hard time trying
> to find the root partition as there is no wd0a.
> And then comes the familiar lost interrupt messages
> on the screen...
> 
> Now, in wdX, where is this variable X mapped to
> a number?
> 
> I should get:
> 
> wd0 at pciide1 channel 0 drive 0: <ST360021A>
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using
> DMA data transfers)
> 
> I *sometimes* get something like this:
> 
> wd2 at pciide1 channel 0 drive 0: <ST360021A>
> wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using
> DMA data transfers)
> 
> I compiled a new kernel yesterday, and everything
> seemed to work fine, after reboots and poweroffs.
> Now this morning when the power had been off for
> a while, the error occurred again. But after that
> I have not been able to reproduce the error although
> I have tried to reboot and poweroff the machine
> several times.
> 
> I know, I could config kernel with "wd0 at pciide1 .."
> etc. but it would leave the mystery unsolved and
> a possible bug unfixed.. :-) I might also be able
> to close a couple of bugreports.
> 
> Please, cc: me as I don't subscribe.
> 
> BR,
> Teemu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
Comment: See http://www.flame.org/~explorer/pgp for my keys

iD8DBQE9/ZUMl6Nz7kJWYWYRAji4AJ4mgtEDxiRIgUNfchARKexZ0pm2egCdGie9
e36rvaL1MTYPsN7LePaP3WE=
=O4Rj
-----END PGP SIGNATURE-----