Subject: Re: Another Promise Ultra33 success
To: None <seebs@plethora.net>
From: Andreas Johansson <ajo@wopr.campus.luth.se>
List: current-users
Date: 08/20/1999 10:19:20
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1172552303-935137160=:22001
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 20 Aug 1999 seebs@plethora.net wrote:

> In message <199908170313.UAA16018@lestat.nas.nasa.gov>, Jason Thorpe writes:
> >pciide0 at pci0 dev 13 function 0: Promise Ultra33/ATA Bus Master IDE Accelera
> >to
> >r
> >pciide0: bus-master DMA support present
> >pciide0: primary channel configured to native-PCI mode
> >pciide0: using isa irq 10 for native-PCI interrupt
> 
> Neat!  Doesn't work on a pc164.
> 
> 	unexpected machine check:
> 
> 	    mces    = 0x1
> 	    vector  = 0x660
> 	    param   = 0xfffffc0000006060
> 	    pc      = 0xfffffc00004c52c0
> 	    ra      = 0xfffffc0000318a84
> 	    curproc = 0xfffffc0000550998
> 		pid = 0, comm =
> 
> 	panic: machine check
> 
> This machine is purely scratch hardware, so if anyone can help me debug this,
> I can provide access, etc.

Same as in my 164SX and Noname machines. I've attached a patch that
changes the I/O addresses of the card to 0x8000 and forward (it's
probably initialized to addresses over 0x10000). This is NOT the correct
way to solve this problem, but it works for me.

> -s

/Andreas

--0-1172552303-935137160=:22001
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="promise_ioaddr.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.3.96.990820101920.22001B@ymer.campus.luth.se>
Content-Description: 

LS0tIHBjaWlkZS5jLm9yaWcJU3VuIEF1ZyAgOCAyMjowMzo1NyAxOTk5DQor
KysgcGNpaWRlLmMJRnJpIEF1ZyAyMCAxMDoxNTo0NyAxOTk5DQpAQCAtMjQx
NCwxMiArMjQxNCwzMCBAQA0KIAlpbnQgY2hhbm5lbDsNCiAJcGNpcmVnX3Qg
aW50ZXJmY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