From: Roland Scheidegger <rscheidegger_lists@hispeed.ch>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] mantis crash...
Date: Fri, 02 May 2008 22:44:51 +0200 [thread overview]
Message-ID: <481B7D43.2050200@hispeed.ch> (raw)
[-- Attachment #1: Type: text/plain, Size: 695 bytes --]
This was reported before, the current mantis driver will cause a page
fault in mantis_dvb_start_feed.
The reason for this is commit f5b1f9d491bfabbd23ec415e647f3d65ea1930eb
"Implement HIF Mem Read/Write operations". I don't know how HIF memory
reads/writes are supposed to work, but there seems to be some mixup
between register contents and register addresses. Clearly, 0xfffffff is
not a valid mmaped reg address and as such writing to it blows up
accordingly.
The attached patch fixes that (reverts part of the above commit). The
same bug also seems to be present in the hif.c file, though I don't know
how it should work there (and it looks like that code won't get touched
here).
Roland
[-- Attachment #2: mantisdma.diff --]
[-- Type: application/mbox, Size: 969 bytes --]
[-- Attachment #3: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
next reply other threads:[~2008-05-02 20:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-02 20:44 Roland Scheidegger [this message]
2008-05-03 21:00 ` [linux-dvb] mantis crash Ruediger Dohmhardt
2008-05-05 14:02 ` Roland Scheidegger
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=481B7D43.2050200@hispeed.ch \
--to=rscheidegger_lists@hispeed.ch \
--cc=linux-dvb@linuxtv.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