From: Takashi Iwai <tiwai@suse.de>
To: Sergey Vlasov <vsu@altlinux.ru>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: 1.0.0pre1: au88x0 driver locks up kernel
Date: Thu, 20 Nov 2003 14:05:27 +0100 [thread overview]
Message-ID: <s5hsmkjyyug.wl@alsa2.suse.de> (raw)
In-Reply-To: <20031120121731.GB6046@master.mivlgu.local>
At Thu, 20 Nov 2003 15:17:31 +0300,
Sergey Vlasov wrote:
>
> [1 <text/plain; us-ascii (7bit)>]
> On Thu, Nov 20, 2003 at 11:21:43AM +0100, Takashi Iwai wrote:
> > At Thu, 20 Nov 2003 00:42:33 -0500,
> > Carolyn and Eric Hathaway wrote:
> > >
> > > I'm running RedHat 7.3 (RH kernel 2.4.20-20.7, gcc 2.96-113), and have a
> > > generic Aureal Vortex 1 card (au8820 chipset). Compiling and installing
> > > the 1.0.0pre1 ALSA driver works fine, but if I do a 'modprobe
> > > snd-au8820', the computer locks up instantly (can't even ssh in from
> > > another computer).
> > >
> > > Going back through recent CVS commits, I found that the problem is
> > > caused by the changes described in the following alsa-cvslog message:
> > >
> > > http://sourceforge.net/mailarchive/message.php?msg_id=6552838
> > >
> > > Specifically, the problem is caused by the changes Takashi made to
> > > au88x0.h and au88x0.c to eliminate calls to pci_request_regions() and
> > > pci_release_regions(). If I revert those two files to their previous
> > > versions, the driver compiles and works fine. I'm not an ALSA driver
> > > guru, but I didn't see anything immediately wrong with the changes
> > > introduced by the above CVS commit that would cause such a drastic
> > > kernel error. Perhaps someone more familiar with the code in question
> > > could take another look at those changes?
> >
> > hmm, i don't see where hits the bug, but if the older version really
> > works, i'm willing to revert to it. it'd be anyway better to add two
> > wrapper functions for 2.2.
>
> Probably this part had broken it (all addresses in hwread()/hwwrite()
> became wrong):
>
> - unsigned long *mmio;
> + unsigned long mmio;
yes, i understand now. the calculation of offset value had to be
changed, too.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
prev parent reply other threads:[~2003-11-20 13:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 5:42 1.0.0pre1: au88x0 driver locks up kernel Carolyn and Eric Hathaway
2003-11-20 10:21 ` Takashi Iwai
2003-11-20 12:17 ` Sergey Vlasov
2003-11-20 13:05 ` Takashi Iwai [this message]
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=s5hsmkjyyug.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=vsu@altlinux.ru \
/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