* PCI driver
@ 2006-08-27 16:24 Lee Revell
2006-08-28 4:10 ` Lee Revell
0 siblings, 1 reply; 2+ messages in thread
From: Lee Revell @ 2006-08-27 16:24 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: Leonid
Hello,
We have implemented a driver for a PCI sound card and are attempting to
use it on a PPC400 Yosemite board. However, as soon as any port I/O is
attempted, we get a machine check error:
dream/mem/mpu 9 0 1 "w" 10
MIDI message chip 9 mpu_port 0 offset 1 direction 1 16bit 0 data 0x10
outb 0x331
Data machine check in kernel mode.
PLB0: BEAR=0x0000000000000000 ACR= 0x00000000 BESR= 0xffffffff
POB0: BEAR=0xc27e3194ffffffff BESR0=0x00000000 BESR1=0x00000000
OPB0: BEAR=0x0000000000000151 BSTAT=0x00000000
Oops: machine check, sig: 7 [#1]
PREEMPT
NIP: 00000000 LR: C02022B0 SP: CFA7FDC0 REGS: c0343f50 TRAP: 0202 Not
tainted
MSR: 00000000 EE: 0 PR: 0 FP: 0 ME: 0 IR/DR: 00
TASK = cffe80d0[43] 'akadiag' THREAD: cfa7e000
Last syscall: 54
GP
Are we doing something wrong? We use pci_resource_start(pci,0) to get
the BAR which returns 0xFFF0. This also matches what is
in /proc/ioports, but outb/outw/outl all cause the machine check crash.
Lee
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PCI driver
2006-08-27 16:24 PCI driver Lee Revell
@ 2006-08-28 4:10 ` Lee Revell
0 siblings, 0 replies; 2+ messages in thread
From: Lee Revell @ 2006-08-28 4:10 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: Leonid
On Sun, 2006-08-27 at 12:24 -0400, Lee Revell wrote:
> Hello,
>
> We have implemented a driver for a PCI sound card and are attempting to
> use it on a PPC400 Yosemite board. However, as soon as any port I/O is
> attempted, we get a machine check error:
>
Found the problem:
http://ozlabs.org/pipermail/linuxppc-embedded/2006-January/021708.html
Thanks!
Lee
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-28 4:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-27 16:24 PCI driver Lee Revell
2006-08-28 4:10 ` Lee Revell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).