From: Lee Revell <rlrevell@joe-job.com>
To: linuxppc-embedded@ozlabs.org
Cc: Leonid <Leonid@a-k-a.net>
Subject: PCI driver
Date: Sun, 27 Aug 2006 12:24:09 -0400 [thread overview]
Message-ID: <1156695850.6010.70.camel@mindpipe> (raw)
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
next reply other threads:[~2006-08-27 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-27 16:24 Lee Revell [this message]
2006-08-28 4:10 ` PCI driver Lee Revell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1156695850.6010.70.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=Leonid@a-k-a.net \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).