Subject: Re: pciide performance on alpha
To: Charles M. Hannum <root@ihack.net>
From: Andreas Johansson <ajo@wopr.campus.luth.se>
List: port-alpha
Date: 08/13/1999 00:26:51
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-293997136-934496811=:217
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 12 Aug 1999, Charles M. Hannum wrote:
> Could you print out the contents of the bus_space_handle_t's after the
> device is attached? (On the Alpha this is just a 64-bit address.)
> That would help determine whether it's just a subtle truncation bug
> somewhere, or something else.
There seems to be no problem with the handle, but something is still not
working:
Working case
============
pciide2 at pci0 dev 6 function 0: Promise Ultra DMA/ATA Bus Master IDE
Accelerator
pciide2: Changing IO from 0x10230 to 0x8000
pciide2: Changing IO from 0x10250 to 0x8010
pciide2: Changing IO from 0x10238 to 0x8020
pciide2: Changing IO from 0x10254 to 0x8030
pciide2: Changing IO from 0x10200 to 0x8040
pciide2: bus-master DMA support presentMapped dma base =>
0x7ffffe42c008040
pciide2: primary channel configured to native-PCI mode
pciide2: using eb164 irq 11 for native-PCI interrupt
Mapped command base for channel 0 => 0x7ffffe42c008000
Mapped control base for channel 0 => 0x7ffffe42c008010
Not working case
================
pciide2 at pci0 dev 6 function 0: Promise Ultra DMA/ATA Bus Master IDE
Accelerator
pciide2: bus-master DMA support presentMapped dma base =>
0x7ffffe42c010200
pciide2: primary channel configured to native-PCI mode
pciide2: using eb164 irq 11 for native-PCI interrupt
Mapped command base for channel 0 => 0x7ffffe42c010230
Mapped control base for channel 0 => 0x7ffffe42c010250
unexpected machine check:
mces = 0x1
vector = 0x660
param = 0xfffffc0000006068
pc = 0xfffffc0000483844
ra = 0xfffffc0000308ca4
curproc = 0xfffffc0000500148
pid = 0, comm =
panic: machine check
Anybody know more than there is to find about machine checks?
> (The full dmesg output would be kinda nice, too. I'm not sure who
> here has one of these machines, but I'm sure I don't.)
I've attached the full dmesg as the addresses are changed to 0x8000 and
up.
/Andreas
--0-293997136-934496811=:217
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dmesg_0x8000
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.3.96.990813002651.217B@ymer.campus.luth.se>
Content-Description:
WyBwcmVzZXJ2aW5nIDIwMzA5NiBieXRlcyBvZiBuZXRic2QgRUxGIHN5bWJv
bCB0YWJsZSBdDQpDb3B5cmlnaHQgKGMpIDE5OTYsIDE5OTcsIDE5OTgsIDE5
OTkNCiAgICBUaGUgTmV0QlNEIEZvdW5kYXRpb24sIEluYy4gIEFsbCByaWdo
dHMgcmVzZXJ2ZWQuDQpDb3B5cmlnaHQgKGMpIDE5ODIsIDE5ODYsIDE5ODks
IDE5OTEsIDE5OTMNCiAgICBUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0
eSBvZiBDYWxpZm9ybmlhLiAgQWxsIHJpZ2h0cyByZXNlcnZlZC4NCg0KTmV0
QlNEIDEuNEkgKFlNRVIpICMxNjogRnJpIEF1ZyAxMyAwMDoxNjo1MSBDRVNU
IDE5OTkNCiAgICBham9AeW1lcjovdXNyL3NyYy9zeXMvYXJjaC9hbHBoYS9j
b21waWxlL1lNRVINCkRpZ2l0YWwgQWxwaGFQQyAxNjRTWCA1MzMgTUh6DQo4
MTkyIGJ5dGUgcGFnZSBzaXplLCAxIHByb2Nlc3Nvci4NCnRvdGFsIG1lbW9y
eSA9IDEyOCBNQg0KKDE5MTIgS0IgcmVzZXJ2ZWQgZm9yIFBST00sIDEyNiBN
QiB1c2VkIGJ5IE5ldEJTRCkNCmF2YWlsIG1lbW9yeSA9IDExNCBNQg0KdXNp
bmcgODIwIGJ1ZmZlcnMgY29udGFpbmluZyA2NTYwIEtCIG9mIG1lbW9yeQ0K
bWFpbmJ1czAgKHJvb3QpDQpjcHUwIGF0IG1haW5idXMwOiBJRCAwIChwcmlt
YXJ5KSwgUENBNTYtMiAodW5rbm93biBtaW5vciB0eXBlIDIpDQpjaWEwIGF0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