All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Alsa-user] alsa cvs, redhat9, kernel 2-4-20-8
       [not found] ` <20030405120028.6812ba7e.matthias@rpmforge.net>
@ 2003-04-07 10:19   ` Takashi Iwai
  2003-04-07 10:27     ` Matthias Saou
  2003-04-09  4:58     ` Lance A. Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Takashi Iwai @ 2003-04-07 10:19 UTC (permalink / raw)
  To: Matthias Saou; +Cc: Jeremy Sanders, jason, alsa-user, alsa-devel, matthias.saou

At Sat, 5 Apr 2003 12:00:28 +0200,
Matthias Saou wrote:
> 
> "Jeremy Sanders" <jsanders@teklinks.com> wrote :
> 
> > Maybe matthias.saou@est.une.marmotte.net is the one to ask. He's the one
> > who built the freshrpm package that works with the redhat 9 kernel.
> > Maybe he can shed some light on what he had to do.
> > 
> > Matthias,
> > 
> > Do you have any ideas about this?
> 
> Yes I have :-)
> I didn't think of it myself though, someone had suggested me this solution
> a while back for the latest Rawhide kernels. Take a look at my spec file if
> you like: http://freshrpms.net/packages/builds/index.html?build=alsa-driver
> 
> The part that "fixes" the schedule_work problem is:
> 
> # Temporary Rawhide kernel workaround - Disable ALSA workqueue wrapper
> touch include/linux/workqueue.h
> 
> I don't really know the implications of doing this, but I'm open to any
> suggestions or better ways of getting the kernel modules to work.

the current alsa code checks the existence of __WORK_INITIALIZER
macro.  if it's defined, no wrapper function is used.
in rh's include/linux/workqueue.h, is this macro defined?


btw, alsa-devel is the suitable place for such a problem.
i added a cc.


ciao,

Takashi


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Alsa-user] alsa cvs, redhat9, kernel 2-4-20-8
  2003-04-07 10:19   ` [Alsa-user] alsa cvs, redhat9, kernel 2-4-20-8 Takashi Iwai
@ 2003-04-07 10:27     ` Matthias Saou
  2003-04-07 15:44       ` Takashi Iwai
  2003-04-09  4:58     ` Lance A. Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Matthias Saou @ 2003-04-07 10:27 UTC (permalink / raw)
  To: alsa-devel; +Cc: jsanders, jason

Takashi Iwai <tiwai@suse.de> wrote :

> the current alsa code checks the existence of __WORK_INITIALIZER
> macro.  if it's defined, no wrapper function is used.
> in rh's include/linux/workqueue.h, is this macro defined?

Yes, it is... from /usr/src/linux-2.4.20-x/include/linux/workqueue.h:

#define __WORK_INITIALIZER(n, f, d) {                           \
        .entry  = { &(n).entry, &(n).entry },                   \
        .func = (f),                                            \
        .data = (d) }

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Linux release 8.0.9x (Phoebe) running Linux kernel 2.4.20-2.54
Load : 0.61 0.29 0.18, AC on-line, battery charging: 100% (5:37)


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: [Alsa-user] alsa cvs, redhat9, kernel 2-4-20-8
  2003-04-07 10:27     ` Matthias Saou
@ 2003-04-07 15:44       ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2003-04-07 15:44 UTC (permalink / raw)
  To: Matthias Saou; +Cc: alsa-devel, jsanders, jason

At Mon, 7 Apr 2003 12:27:53 +0200,
Matthias Saou wrote:
> 
> Takashi Iwai <tiwai@suse.de> wrote :
> 
> > the current alsa code checks the existence of __WORK_INITIALIZER
> > macro.  if it's defined, no wrapper function is used.
> > in rh's include/linux/workqueue.h, is this macro defined?
> 
> Yes, it is... from /usr/src/linux-2.4.20-x/include/linux/workqueue.h:
> 
> #define __WORK_INITIALIZER(n, f, d) {                           \
>         .entry  = { &(n).entry, &(n).entry },                   \
>         .func = (f),                                            \
>         .data = (d) }

hmm, then it should be ok.  the configure and make should work without
any patches.

did anyone build successfully with RH9 and RH's kernel?


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: alsa cvs, redhat9, kernel 2-4-20-8
  2003-04-07 10:19   ` [Alsa-user] alsa cvs, redhat9, kernel 2-4-20-8 Takashi Iwai
  2003-04-07 10:27     ` Matthias Saou
@ 2003-04-09  4:58     ` Lance A. Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Lance A. Brown @ 2003-04-09  4:58 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Matthias Saou, Jeremy Sanders, jason, alsa-user, alsa-devel,
	matthias.saou

On Mon, 2003-04-07 at 06:19, Takashi Iwai wrote:
> At Sat, 5 Apr 2003 12:00:28 +0200,
> Matthias Saou wrote:
> > 
> > "Jeremy Sanders" <jsanders@teklinks.com> wrote :
> > 
> > > Maybe matthias.saou@est.une.marmotte.net is the one to ask. He's the one
> > > who built the freshrpm package that works with the redhat 9 kernel.
> > > Maybe he can shed some light on what he had to do.
> > > 
> > > Matthias,
> > > 
> > > Do you have any ideas about this?
> > 
> > Yes I have :-)
> > I didn't think of it myself though, someone had suggested me this solution
> > a while back for the latest Rawhide kernels. Take a look at my spec file if
> > you like: http://freshrpms.net/packages/builds/index.html?build=alsa-driver
> > 
> > The part that "fixes" the schedule_work problem is:
> > 
> > # Temporary Rawhide kernel workaround - Disable ALSA workqueue wrapper
> > touch include/linux/workqueue.h

This trick worked for me like a treat!

--[Lance]

-- 
  Carolina Spirit Quest:  http://www.carolinaspiritquest.org/
  Celebrate The Circle: http://www.angelfire.com/nc/celebratethecircle/
  My LiveJournal: http://www.livejournal.com/users/labrown/



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-09  4:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <se8e13a5.075@mail.teklinks.com>
     [not found] ` <20030405120028.6812ba7e.matthias@rpmforge.net>
2003-04-07 10:19   ` [Alsa-user] alsa cvs, redhat9, kernel 2-4-20-8 Takashi Iwai
2003-04-07 10:27     ` Matthias Saou
2003-04-07 15:44       ` Takashi Iwai
2003-04-09  4:58     ` Lance A. Brown

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.