alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* alsa-driver-1.0.14rc3 won't compile with kernel 2.6.20.3 when Processor family is Core2
@ 2007-05-10  4:28 Chris Pemberton
  2007-05-10  9:07 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Pemberton @ 2007-05-10  4:28 UTC (permalink / raw)
  To: alsa-devel

Laptop has Pentium Dual Core and Intel HD Audio
Kernel is 2.6.20.3 compiled for Processor family Core2.
In-kernel alsa drivers are 1.0.14rc3 (cat /proc/asound/version) and 
compile ok.
In-kernel drivers do not work for this sound card.

Downloaded 1.0.14rc3 and applied patch_realtek.c
./configure --prefix=/usr --with-cards=hda-intel
"make" gives the following error:

make[1]: Entering directory `/usr/src/linux-2.6.20.3'
> /usr/src/linux-2.6.20.3/Makefile:491: 
> /usr/src/linux-2.6.20.3/arch//Makefile: No such file or directory


If the kernel is compiled with Processor family = Pentium M, the 
external alsa drivers compile clean and the soundcard works.

So, Processor family = Core2 cannot be selected when using external 
alsa-driver-1.0.14rc3.

Chris Pemberton

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

* Re: alsa-driver-1.0.14rc3 won't compile with kernel 2.6.20.3 when Processor family is Core2
  2007-05-10  4:28 alsa-driver-1.0.14rc3 won't compile with kernel 2.6.20.3 when Processor family is Core2 Chris Pemberton
@ 2007-05-10  9:07 ` Takashi Iwai
  2007-05-10 16:17   ` Chris Pemberton
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2007-05-10  9:07 UTC (permalink / raw)
  To: Chris Pemberton; +Cc: alsa-devel

At Wed, 09 May 2007 23:28:16 -0500,
Chris Pemberton wrote:
> 
> Laptop has Pentium Dual Core and Intel HD Audio
> Kernel is 2.6.20.3 compiled for Processor family Core2.
> In-kernel alsa drivers are 1.0.14rc3 (cat /proc/asound/version) and 
> compile ok.
> In-kernel drivers do not work for this sound card.
> 
> Downloaded 1.0.14rc3 and applied patch_realtek.c
> ./configure --prefix=/usr --with-cards=hda-intel
> "make" gives the following error:
> 
> make[1]: Entering directory `/usr/src/linux-2.6.20.3'
> > /usr/src/linux-2.6.20.3/Makefile:491: 
> > /usr/src/linux-2.6.20.3/arch//Makefile: No such file or directory
> 
> 
> If the kernel is compiled with Processor family = Pentium M, the 
> external alsa drivers compile clean and the soundcard works.
> 
> So, Processor family = Core2 cannot be selected when using external 
> alsa-driver-1.0.14rc3.

This should have been fixed on 1.0.14rc4.  Give it a try.


Takashi

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

* Re: alsa-driver-1.0.14rc3 won't compile with kernel 2.6.20.3 when Processor family is Core2
  2007-05-10  9:07 ` Takashi Iwai
@ 2007-05-10 16:17   ` Chris Pemberton
  2007-05-10 16:34     ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Pemberton @ 2007-05-10 16:17 UTC (permalink / raw)
  Cc: alsa-devel

Takashi Iwai wrote:
> At Wed, 09 May 2007 23:28:16 -0500,
> Chris Pemberton wrote:
>   
>> Laptop has Pentium Dual Core and Intel HD Audio
>> Kernel is 2.6.20.3 compiled for Processor family Core2.
>> In-kernel alsa drivers are 1.0.14rc3 (cat /proc/asound/version) and 
>> compile ok.
>> In-kernel drivers do not work for this sound card.
>>
>> Downloaded 1.0.14rc3 and applied patch_realtek.c
>> ./configure --prefix=/usr --with-cards=hda-intel
>> "make" gives the following error:
>>
>> make[1]: Entering directory `/usr/src/linux-2.6.20.3'
>>     
>>> /usr/src/linux-2.6.20.3/Makefile:491: 
>>> /usr/src/linux-2.6.20.3/arch//Makefile: No such file or directory
>>>       
>> If the kernel is compiled with Processor family = Pentium M, the 
>> external alsa drivers compile clean and the soundcard works.
>>
>> So, Processor family = Core2 cannot be selected when using external 
>> alsa-driver-1.0.14rc3.
>>     
>
> This should have been fixed on 1.0.14rc4.  Give it a try.
>
>
> Takashi
>
>   
Does 1.0.14rc4 contain the patch_realtek.c?  Or will I have to apply the 
patch there too?

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

* Re: alsa-driver-1.0.14rc3 won't compile with kernel 2.6.20.3 when Processor family is Core2
  2007-05-10 16:17   ` Chris Pemberton
@ 2007-05-10 16:34     ` Takashi Iwai
  2007-05-10 18:26       ` Chris Pemberton
  2007-05-10 18:54       ` Chris Pemberton
  0 siblings, 2 replies; 6+ messages in thread
From: Takashi Iwai @ 2007-05-10 16:34 UTC (permalink / raw)
  To: Chris Pemberton; +Cc: alsa-devel

At Thu, 10 May 2007 11:17:22 -0500,
Chris Pemberton wrote:
> 
> Takashi Iwai wrote:
> > At Wed, 09 May 2007 23:28:16 -0500,
> > Chris Pemberton wrote:
> >   
> >> Laptop has Pentium Dual Core and Intel HD Audio
> >> Kernel is 2.6.20.3 compiled for Processor family Core2.
> >> In-kernel alsa drivers are 1.0.14rc3 (cat /proc/asound/version) and 
> >> compile ok.
> >> In-kernel drivers do not work for this sound card.
> >>
> >> Downloaded 1.0.14rc3 and applied patch_realtek.c
> >> ./configure --prefix=/usr --with-cards=hda-intel
> >> "make" gives the following error:
> >>
> >> make[1]: Entering directory `/usr/src/linux-2.6.20.3'
> >>     
> >>> /usr/src/linux-2.6.20.3/Makefile:491: 
> >>> /usr/src/linux-2.6.20.3/arch//Makefile: No such file or directory
> >>>       
> >> If the kernel is compiled with Processor family = Pentium M, the 
> >> external alsa drivers compile clean and the soundcard works.
> >>
> >> So, Processor family = Core2 cannot be selected when using external 
> >> alsa-driver-1.0.14rc3.
> >>     
> >
> > This should have been fixed on 1.0.14rc4.  Give it a try.
> >
> >
> > Takashi
> >
> >   
> Does 1.0.14rc4 contain the patch_realtek.c?  Or will I have to apply the 
> patch there too?

It has since a few years ago.  I don't know which patch you're
referring, but most of patches have been already merged in 1.0.14rc4.


Takashi

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

* Re: alsa-driver-1.0.14rc3 won't compile with kernel 2.6.20.3 when Processor family is Core2
  2007-05-10 16:34     ` Takashi Iwai
@ 2007-05-10 18:26       ` Chris Pemberton
  2007-05-10 18:54       ` Chris Pemberton
  1 sibling, 0 replies; 6+ messages in thread
From: Chris Pemberton @ 2007-05-10 18:26 UTC (permalink / raw)
  Cc: alsa-devel

Takashi Iwai wrote:
> At Thu, 10 May 2007 11:17:22 -0500,
> Chris Pemberton wrote:
>   
>> Takashi Iwai wrote:
>>     
>>> At Wed, 09 May 2007 23:28:16 -0500,
>>> Chris Pemberton wrote:
>>>   
>>>       
>>>> Laptop has Pentium Dual Core and Intel HD Audio
>>>> Kernel is 2.6.20.3 compiled for Processor family Core2.
>>>> In-kernel alsa drivers are 1.0.14rc3 (cat /proc/asound/version) and 
>>>> compile ok.
>>>> In-kernel drivers do not work for this sound card.
>>>>
>>>> Downloaded 1.0.14rc3 and applied patch_realtek.c
>>>> ./configure --prefix=/usr --with-cards=hda-intel
>>>> "make" gives the following error:
>>>>
>>>> make[1]: Entering directory `/usr/src/linux-2.6.20.3'
>>>>     
>>>>         
>>>>> /usr/src/linux-2.6.20.3/Makefile:491: 
>>>>> /usr/src/linux-2.6.20.3/arch//Makefile: No such file or directory
>>>>>       
>>>>>           
>>>> If the kernel is compiled with Processor family = Pentium M, the 
>>>> external alsa drivers compile clean and the soundcard works.
>>>>
>>>> So, Processor family = Core2 cannot be selected when using external 
>>>> alsa-driver-1.0.14rc3.
>>>>     
>>>>         
>>> This should have been fixed on 1.0.14rc4.  Give it a try.
>>>
>>>
>>> Takashi
>>>
>>>   
>>>       
>> Does 1.0.14rc4 contain the patch_realtek.c?  Or will I have to apply the 
>> patch there too?
>>     
>
> It has since a few years ago.  I don't know which patch you're
> referring, but most of patches have been already merged in 1.0.14rc4.
>
>
> Takashi
>
>   
I was referring to this patch (version6)
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2725

I am recompiling kernel for core2 and will let you know if 1.0.14rc4 works

Chris

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

* Re: alsa-driver-1.0.14rc3 won't compile with kernel 2.6.20.3 when Processor family is Core2
  2007-05-10 16:34     ` Takashi Iwai
  2007-05-10 18:26       ` Chris Pemberton
@ 2007-05-10 18:54       ` Chris Pemberton
  1 sibling, 0 replies; 6+ messages in thread
From: Chris Pemberton @ 2007-05-10 18:54 UTC (permalink / raw)
  Cc: alsa-devel

Takashi Iwai wrote:
> At Thu, 10 May 2007 11:17:22 -0500,
> Chris Pemberton wrote:
>   
>> Takashi Iwai wrote:
>>     
>>> At Wed, 09 May 2007 23:28:16 -0500,
>>> Chris Pemberton wrote:
>>>   
>>>       
>>>> Laptop has Pentium Dual Core and Intel HD Audio
>>>> Kernel is 2.6.20.3 compiled for Processor family Core2.
>>>> In-kernel alsa drivers are 1.0.14rc3 (cat /proc/asound/version) and 
>>>> compile ok.
>>>> In-kernel drivers do not work for this sound card.
>>>>
>>>> Downloaded 1.0.14rc3 and applied patch_realtek.c
>>>> ./configure --prefix=/usr --with-cards=hda-intel
>>>> "make" gives the following error:
>>>>
>>>> make[1]: Entering directory `/usr/src/linux-2.6.20.3'
>>>>     
>>>>         
>>>>> /usr/src/linux-2.6.20.3/Makefile:491: 
>>>>> /usr/src/linux-2.6.20.3/arch//Makefile: No such file or directory
>>>>>       
>>>>>           
>>>> If the kernel is compiled with Processor family = Pentium M, the 
>>>> external alsa drivers compile clean and the soundcard works.
>>>>
>>>> So, Processor family = Core2 cannot be selected when using external 
>>>> alsa-driver-1.0.14rc3.
>>>>     
>>>>         
>>> This should have been fixed on 1.0.14rc4.  Give it a try.
>>>
>>>
>>> Takashi
>>>
>>>   
>>>       
>> Does 1.0.14rc4 contain the patch_realtek.c?  Or will I have to apply the 
>> patch there too?
>>     
>
> It has since a few years ago.  I don't know which patch you're
> referring, but most of patches have been already merged in 1.0.14rc4.
>
>
> Takashi
>
>   
I recompiled my 2.6.20.3 kernel for core2, and tried alsa 1.0.14rc4 as 
you suggested:

make[1]: Entering directory `/usr/src/linux-2.6.20.3'
  CC [M]  /usr/src/alsa-driver-1.0.14rc4/acore/memalloc.o
In file included from /usr/src/alsa-driver-1.0.14rc4/acore/memalloc.inc:13,
                 from /usr/src/alsa-driver-1.0.14rc4/acore/memalloc.c:1:
/usr/src/alsa-driver-1.0.14rc4/include/adriver.h: In function 
'snd_pci_orig_save_state':
/usr/src/alsa-driver-1.0.14rc4/include/adriver.h:1168: error: too many 
arguments to function 'pci_save_state'
/usr/src/alsa-driver-1.0.14rc4/include/adriver.h: In function 
'snd_pci_orig_restore_state':
/usr/src/alsa-driver-1.0.14rc4/include/adriver.h:1172: error: too many 
arguments to function 'pci_restore_state'
make[4]: *** [/usr/src/alsa-driver-1.0.14rc4/acore/memalloc.o] Error 1
make[3]: *** [/usr/src/alsa-driver-1.0.14rc4/acore] Error 2
make[2]: *** [_module_/usr/src/alsa-driver-1.0.14rc4] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20.3'
make: *** [compile] Error 2

Then I tried again it with the patch_realtek.c patch copied in 1.0.14rc4 
and got the exact same error.

I've tried when newer kernels as well: no good with core2 in kernel.

Chris

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

end of thread, other threads:[~2007-05-10 18:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10  4:28 alsa-driver-1.0.14rc3 won't compile with kernel 2.6.20.3 when Processor family is Core2 Chris Pemberton
2007-05-10  9:07 ` Takashi Iwai
2007-05-10 16:17   ` Chris Pemberton
2007-05-10 16:34     ` Takashi Iwai
2007-05-10 18:26       ` Chris Pemberton
2007-05-10 18:54       ` Chris Pemberton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).