All of lore.kernel.org
 help / color / mirror / Atom feed
From: "\"Timo T.Hyrsylä\"" <timo.hyrsyla@cc-systems.com>
To: alsa-devel@alsa-project.org
Subject: Bad page state in process 'rmmod' cs4281
Date: Mon, 09 Mar 2009 10:32:02 +0200	[thread overview]
Message-ID: <49B4D402.4050509@cc-systems.com> (raw)

Trying to make Alsa work on our embedded arm system with ixdp425 and CS4281.

kernel is 2.6.20.3 and the Alsas (driver+lib+utils) latest 1.0.19

Other than the two below errors, the system seems to work ok.

When removing the snd_cs4281 module, dmesg reports multiple errors about 
bad page

<0>Bad page state in process 'rmmod'
<0>page:c4007300 flags:0x00004000 mapping:00000000 mapcount:0 count:0
<0>Trying to fix it up, but a reboot is needed
<0>Backtrace:
<0>Bad page state in process 'rmmod'
<0>page:c4007320 flags:0x00004000 mapping:00000000 mapcount:0 count:0
<0>Trying to fix it up, but a reboot is needed
<0>Backtrace:

I've managed to track down the error upto dma_free_coherent.

snd_pcm_free > snd_pcm_lib_preallocate_free_for_all > 
snd_pcm_lib_preallocate_free > snd_pcm_lib_preallocate_dma_free > 
snd_dma_free_pages > snd_free_dev_pages > dma_free_coherent


Another issue, possibly related, is that when running aplay with --mmap 
it will crash with:

Internal error: Oops: f3 [#1]
PC is at snd_pcm_mmap_data_nopage+0x10c/0x148 [snd_pcm]
LR is at __handle_mm_fault+0x16c/0x8ac



any helping ideas?



-- 
Timo TH.

             reply	other threads:[~2009-03-09  8:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09  8:32 "Timo T.Hyrsylä" [this message]
2009-03-09 11:24 ` Bad page state in process 'rmmod' cs4281 Takashi Iwai
     [not found]   ` <s5hsklhn0ou.wl%tiwai@suse.de>
2009-03-18  9:01     ` "Timo T.Hyrsylä"

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=49B4D402.4050509@cc-systems.com \
    --to=timo.hyrsyla@cc-systems.com \
    --cc=alsa-devel@alsa-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.