* ALSA driver 1.10.0 and Linux 2.4.32 - a few problems
@ 2005-11-21 13:01 Chris Rankin
2005-11-21 13:23 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Chris Rankin @ 2005-11-21 13:01 UTC (permalink / raw)
To: alsa-devel
Hi,
I tried building the ALSA 1.0.10 driver against 2.4.32 over the weekend. Unfortunately the build
broke, saying that it couldn't find the <linux/bitmask.h> header. I'm guessing that this header
file is specific to Linux 2.6.
Also, I noticed that the 1.0.10 version of alsa-lib is prone to seg-fault if the "audio" group is
not defined in /etc/group. (I was using the ALSA sound driver in Wine 0.9.1 at the time, via
winecfg.)
Cheers,
Chris
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ALSA driver 1.10.0 and Linux 2.4.32 - a few problems
2005-11-21 13:01 ALSA driver 1.10.0 and Linux 2.4.32 - a few problems Chris Rankin
@ 2005-11-21 13:23 ` Takashi Iwai
2005-11-21 19:10 ` Chris Rankin
0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2005-11-21 13:23 UTC (permalink / raw)
To: Chris Rankin; +Cc: alsa-devel
At Mon, 21 Nov 2005 13:01:44 +0000 (GMT),
Chris Rankin wrote:
>
> Hi,
>
> I tried building the ALSA 1.0.10 driver against 2.4.32 over the weekend. Unfortunately the build
> broke, saying that it couldn't find the <linux/bitmask.h> header. I'm guessing that this header
> file is specific to Linux 2.6.
Do you mean CVS version?
> Also, I noticed that the 1.0.10 version of alsa-lib is prone to seg-fault if the "audio" group is
> not defined in /etc/group. (I was using the ALSA sound driver in Wine 0.9.1 at the time, via
> winecfg.)
Backtrace please.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ALSA driver 1.10.0 and Linux 2.4.32 - a few problems
2005-11-21 13:23 ` Takashi Iwai
@ 2005-11-21 19:10 ` Chris Rankin
2005-11-21 19:14 ` Takashi Iwai
2005-11-21 19:15 ` ALSA driver 1.10.0 " Lee Revell
0 siblings, 2 replies; 8+ messages in thread
From: Chris Rankin @ 2005-11-21 19:10 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
--- Takashi Iwai <tiwai@suse.de> wrote:
> > saying that it couldn't find the <linux/bitmask.h> header. I'm
> > guessing that this header file is specific to Linux 2.6.
>
> Do you mean CVS version?
Yes.
> > Also, I noticed that the 1.0.10 version of alsa-lib is prone to
> > seg-fault if the "audio" group is
> > not defined in /etc/group. (I was using the ALSA sound driver in
> > Wine 0.9.1 at the time, via winecfg.)
>
> Backtrace please.
$ winecfg
ALSA lib pcm_dmix.c:1101:(_snd_pcm_dmix_open) The field ipc_gid must be a valid group (create
group audio)
wine: Unhandled page fault on read access to 0x00000008 at address 0x7e529c1f (thread 0009),
starting debugger...
The wine code doesn't know anything about "dmix", so I'm assuming that this _snd_pcm_dmix_open()
function is called internally within the library, and the caller isn't handling the error code.
Cheers,
Chris
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ALSA driver 1.10.0 and Linux 2.4.32 - a few problems
2005-11-21 19:10 ` Chris Rankin
@ 2005-11-21 19:14 ` Takashi Iwai
2005-11-26 17:44 ` ALSA driver 1.0.10 " Chris Rankin
2005-11-21 19:15 ` ALSA driver 1.10.0 " Lee Revell
1 sibling, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2005-11-21 19:14 UTC (permalink / raw)
To: Chris Rankin; +Cc: alsa-devel
At Mon, 21 Nov 2005 19:10:31 +0000 (GMT),
Chris Rankin wrote:
>
> --- Takashi Iwai <tiwai@suse.de> wrote:
> > > saying that it couldn't find the <linux/bitmask.h> header. I'm
> > > guessing that this header file is specific to Linux 2.6.
> >
> > Do you mean CVS version?
>
> Yes.
Then it was already fixed (thanks to Clemens).
> > > Also, I noticed that the 1.0.10 version of alsa-lib is prone to
> > > seg-fault if the "audio" group is
> > > not defined in /etc/group. (I was using the ALSA sound driver in
> > > Wine 0.9.1 at the time, via winecfg.)
> >
> > Backtrace please.
>
> $ winecfg
> ALSA lib pcm_dmix.c:1101:(_snd_pcm_dmix_open) The field ipc_gid must be a valid group (create
> group audio)
> wine: Unhandled page fault on read access to 0x00000008 at address 0x7e529c1f (thread 0009),
> starting debugger...
>
> The wine code doesn't know anything about "dmix", so I'm assuming that this _snd_pcm_dmix_open()
> function is called internally within the library, and the caller isn't handling the error code.
... or wine doesn't handle the error case correctly.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ALSA driver 1.10.0 and Linux 2.4.32 - a few problems
2005-11-21 19:10 ` Chris Rankin
2005-11-21 19:14 ` Takashi Iwai
@ 2005-11-21 19:15 ` Lee Revell
2005-11-21 21:33 ` Chris Rankin
1 sibling, 1 reply; 8+ messages in thread
From: Lee Revell @ 2005-11-21 19:15 UTC (permalink / raw)
To: Chris Rankin; +Cc: Takashi Iwai, alsa-devel
On Mon, 2005-11-21 at 19:10 +0000, Chris Rankin wrote:
> $ winecfg
> ALSA lib pcm_dmix.c:1101:(_snd_pcm_dmix_open) The field ipc_gid must be a valid group (create
> group audio)
> wine: Unhandled page fault on read access to 0x00000008 at address 0x7e529c1f (thread 0009),
> starting debugger...
>
> The wine code doesn't know anything about "dmix", so I'm assuming that this _snd_pcm_dmix_open()
> function is called internally within the library, and the caller isn't handling the error code.
This is not a backtrace. Run winecfg under gdb and when it segfaults do
"thread apply all bt".
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ALSA driver 1.10.0 and Linux 2.4.32 - a few problems
2005-11-21 19:15 ` ALSA driver 1.10.0 " Lee Revell
@ 2005-11-21 21:33 ` Chris Rankin
0 siblings, 0 replies; 8+ messages in thread
From: Chris Rankin @ 2005-11-21 21:33 UTC (permalink / raw)
To: Lee Revell; +Cc: Takashi Iwai, alsa-devel
--- Lee Revell <rlrevell@joe-job.com> wrote:
> This is not a backtrace. Run winecfg under gdb and when it segfaults do
> "thread apply all bt".
No it isn't. But wine is more complicated than the average application. winecfg is actually a
shell script that invokes a shared object winecfg.exe.so via the wine executable:
$ gdb wine
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".
(gdb) run winecfg.exe
Starting program: /usr/local/bin/wine winecfg.exe
[Thread debugging using libthread_db enabled]
[New Thread -1209985792 (LWP 12422)]
[New Thread -1209988176 (LWP 12425)]
[Thread -1209988176 (LWP 12425) exited]
Cannot find user-level thread for LWP 12422: generic error
(gdb)
Cheers,
Chris
___________________________________________________________
Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ALSA driver 1.0.10 and Linux 2.4.32 - a few problems
2005-11-21 19:14 ` Takashi Iwai
@ 2005-11-26 17:44 ` Chris Rankin
2005-11-28 11:44 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Chris Rankin @ 2005-11-26 17:44 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Hi,
I'm still having trouble compiling ALSA CVS against Linux 2.4.32. This time, it's complaining that
it doesn't understand __GFP_COMP in alsa-kernel/core/memalloc.c.
Cheers,
Chris
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ALSA driver 1.0.10 and Linux 2.4.32 - a few problems
2005-11-26 17:44 ` ALSA driver 1.0.10 " Chris Rankin
@ 2005-11-28 11:44 ` Takashi Iwai
0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2005-11-28 11:44 UTC (permalink / raw)
To: Chris Rankin; +Cc: alsa-devel
At Sat, 26 Nov 2005 17:44:11 +0000 (GMT),
Chris Rankin wrote:
>
> Hi,
>
> I'm still having trouble compiling ALSA CVS against Linux 2.4.32. This time, it's complaining that
> it doesn't understand __GFP_COMP in alsa-kernel/core/memalloc.c.
Fixed now.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-11-28 11:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 13:01 ALSA driver 1.10.0 and Linux 2.4.32 - a few problems Chris Rankin
2005-11-21 13:23 ` Takashi Iwai
2005-11-21 19:10 ` Chris Rankin
2005-11-21 19:14 ` Takashi Iwai
2005-11-26 17:44 ` ALSA driver 1.0.10 " Chris Rankin
2005-11-28 11:44 ` Takashi Iwai
2005-11-21 19:15 ` ALSA driver 1.10.0 " Lee Revell
2005-11-21 21:33 ` Chris Rankin
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.