* compat-drivers-3.8.3-2-snpu with kernel 2.6.24
@ 2014-10-31 18:40 Renato
2014-10-31 19:03 ` Arend van Spriel
0 siblings, 1 reply; 5+ messages in thread
From: Renato @ 2014-10-31 18:40 UTC (permalink / raw)
To: backports
Hi,
I have and old Linux system built from scratch based on kernel 2.6.24
and I need to add support on it for an Atheros ethernet card that
doesnt have driver for kernel 2.6.24.
Unfortunately we can't update the kernel because my client has a
control hardware that only have binary e propertery driver for 2.6.24.
Because of that, I'm trying to use compat-drivers to do that.
What I did so far was:
Downloaded compat-drivers-3.8.3-2-snpu and extraceted it.
Compiled it using:
./scripts/driver-select alx
make
make install
After rebooting, I loaded the compat driver with:
modprobe compat
I can see the following on dmesg:
Compat-drivers backport release: compat-drivers-v3.8.3-2-snpu
Backport based on linux-stable.git v3.8.3
compat.git: linux-stable.git
Nothing more. And no eth yet.
What I am missing?
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compat-drivers-3.8.3-2-snpu with kernel 2.6.24
2014-10-31 18:40 compat-drivers-3.8.3-2-snpu with kernel 2.6.24 Renato
@ 2014-10-31 19:03 ` Arend van Spriel
[not found] ` <CAG_2TMdhykKiZDKLNVxcYkcZRXTQON6tAZ2SMdf0c4JgAk+Rgg@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Arend van Spriel @ 2014-10-31 19:03 UTC (permalink / raw)
To: Renato; +Cc: backports
On 10/31/14 19:40, Renato wrote:
> Hi,
>
> I have and old Linux system built from scratch based on kernel 2.6.24
> and I need to add support on it for an Atheros ethernet card that
> doesnt have driver for kernel 2.6.24.
>
> Unfortunately we can't update the kernel because my client has a
> control hardware that only have binary e propertery driver for 2.6.24.
>
> Because of that, I'm trying to use compat-drivers to do that.
>
> What I did so far was:
>
> Downloaded compat-drivers-3.8.3-2-snpu and extraceted it.
> Compiled it using:
>
> ./scripts/driver-select alx
> make
> make install
>
> After rebooting, I loaded the compat driver with:
>
> modprobe compat
>
> I can see the following on dmesg:
>
> Compat-drivers backport release: compat-drivers-v3.8.3-2-snpu
> Backport based on linux-stable.git v3.8.3
> compat.git: linux-stable.git
>
> Nothing more. And no eth yet.
>
> What I am missing?
After loading compat you have the glue layer in place to load the actual
3.8.3 drivers on 2.6.24. So your next step would be to modprobe the alx
driver or whatever it is called.
Regards,
Arend
> Thanks
> --
> To unsubscribe from this list: send the line "unsubscribe backports" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compat-drivers-3.8.3-2-snpu with kernel 2.6.24
[not found] ` <CAG_2TMdhykKiZDKLNVxcYkcZRXTQON6tAZ2SMdf0c4JgAk+Rgg@mail.gmail.com>
@ 2014-10-31 19:26 ` Arend van Spriel
2014-11-03 12:21 ` Renato
0 siblings, 1 reply; 5+ messages in thread
From: Arend van Spriel @ 2014-10-31 19:26 UTC (permalink / raw)
To: Renato, backports@vger.kernel.org
+ backport list
Please keep the list in the loop.
On 10/31/14 20:08, Renato wrote:
> Arend,
>
> After doing a make install, only compat.ko and
> compat_firmware_class.ko was generated.
>
> I thought it was an unified driver and because of that no alx.ko was needed.
>
> Searching on source tree for "alx*", only the source code was found on
> ./drivers/net/ethernet/atheros/alx (no kernel module).
>
> Before making, I've called the script driver-select with alx as parameter.
>
> Do you hane any ideia why the alx.ko module was not build them?
It has been a while since I used the "old" compat-drivers stuff. I guess
you need to for 2.6.24 support. You should check
drivers/net/ethernet/atheros/Makefile.
Gr. AvS
> Thanks
>
> 2014-10-31 17:03 GMT-02:00 Arend van Spriel<arend@broadcom.com>:
>> On 10/31/14 19:40, Renato wrote:
>>>
>>> Hi,
>>>
>>> I have and old Linux system built from scratch based on kernel 2.6.24
>>> and I need to add support on it for an Atheros ethernet card that
>>> doesnt have driver for kernel 2.6.24.
>>>
>>> Unfortunately we can't update the kernel because my client has a
>>> control hardware that only have binary e propertery driver for 2.6.24.
>>>
>>> Because of that, I'm trying to use compat-drivers to do that.
>>>
>>> What I did so far was:
>>>
>>> Downloaded compat-drivers-3.8.3-2-snpu and extraceted it.
>>> Compiled it using:
>>>
>>> ./scripts/driver-select alx
>>> make
>>> make install
>>>
>>> After rebooting, I loaded the compat driver with:
>>>
>>> modprobe compat
>>>
>>> I can see the following on dmesg:
>>>
>>> Compat-drivers backport release: compat-drivers-v3.8.3-2-snpu
>>> Backport based on linux-stable.git v3.8.3
>>> compat.git: linux-stable.git
>>>
>>> Nothing more. And no eth yet.
>>>
>>> What I am missing?
>>
>>
>> After loading compat you have the glue layer in place to load the actual
>> 3.8.3 drivers on 2.6.24. So your next step would be to modprobe the alx
>> driver or whatever it is called.
>>
>> Regards,
>> Arend
>>>
>>> Thanks
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe backports" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compat-drivers-3.8.3-2-snpu with kernel 2.6.24
2014-10-31 19:26 ` Arend van Spriel
@ 2014-11-03 12:21 ` Renato
2014-11-03 12:37 ` Arend van Spriel
0 siblings, 1 reply; 5+ messages in thread
From: Renato @ 2014-11-03 12:21 UTC (permalink / raw)
To: Arend van Spriel; +Cc: backports@vger.kernel.org
Hi,
I checked the Makefile and found that it was not getting called.
Looking at ./include/linux/compat_autoconf.h I found the following:
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28))
#ifndef CONFIG_ATL1C
#define CONFIG_ATL1C 1
#endif /* CONFIG_ATL1C */
#ifndef CONFIG_ALX
#define CONFIG_ALX 1
#endif /* CONFIG_ALX */
#ifndef CONFIG_COMPAT_MDIO
#define CONFIG_COMPAT_MDIO 1
#endif /* CONFIG_COMPAT_MDIO */
#endif /* CONFIG_COMPAT_KERNEL_2_6_28 */
Does it means that ALX driver is only supported with kernel 2.6.28 or higher?
Thanks
Renato
2014-10-31 17:26 GMT-02:00 Arend van Spriel <arend@broadcom.com>:
> + backport list
>
> Please keep the list in the loop.
>
> On 10/31/14 20:08, Renato wrote:
>>
>> Arend,
>>
>> After doing a make install, only compat.ko and
>> compat_firmware_class.ko was generated.
>>
>> I thought it was an unified driver and because of that no alx.ko was
>> needed.
>>
>> Searching on source tree for "alx*", only the source code was found on
>> ./drivers/net/ethernet/atheros/alx (no kernel module).
>>
>> Before making, I've called the script driver-select with alx as parameter.
>>
>> Do you hane any ideia why the alx.ko module was not build them?
>
>
> It has been a while since I used the "old" compat-drivers stuff. I guess you
> need to for 2.6.24 support. You should check
> drivers/net/ethernet/atheros/Makefile.
>
> Gr. AvS
>
>
>> Thanks
>>
>> 2014-10-31 17:03 GMT-02:00 Arend van Spriel<arend@broadcom.com>:
>>>
>>> On 10/31/14 19:40, Renato wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> I have and old Linux system built from scratch based on kernel 2.6.24
>>>> and I need to add support on it for an Atheros ethernet card that
>>>> doesnt have driver for kernel 2.6.24.
>>>>
>>>> Unfortunately we can't update the kernel because my client has a
>>>> control hardware that only have binary e propertery driver for 2.6.24.
>>>>
>>>> Because of that, I'm trying to use compat-drivers to do that.
>>>>
>>>> What I did so far was:
>>>>
>>>> Downloaded compat-drivers-3.8.3-2-snpu and extraceted it.
>>>> Compiled it using:
>>>>
>>>> ./scripts/driver-select alx
>>>> make
>>>> make install
>>>>
>>>> After rebooting, I loaded the compat driver with:
>>>>
>>>> modprobe compat
>>>>
>>>> I can see the following on dmesg:
>>>>
>>>> Compat-drivers backport release: compat-drivers-v3.8.3-2-snpu
>>>> Backport based on linux-stable.git v3.8.3
>>>> compat.git: linux-stable.git
>>>>
>>>> Nothing more. And no eth yet.
>>>>
>>>> What I am missing?
>>>
>>>
>>>
>>> After loading compat you have the glue layer in place to load the actual
>>> 3.8.3 drivers on 2.6.24. So your next step would be to modprobe the alx
>>> driver or whatever it is called.
>>>
>>> Regards,
>>> Arend
>>>>
>>>>
>>>> Thanks
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe backports" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>>
>>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: compat-drivers-3.8.3-2-snpu with kernel 2.6.24
2014-11-03 12:21 ` Renato
@ 2014-11-03 12:37 ` Arend van Spriel
0 siblings, 0 replies; 5+ messages in thread
From: Arend van Spriel @ 2014-11-03 12:37 UTC (permalink / raw)
To: Renato; +Cc: backports@vger.kernel.org
On 11/03/14 13:21, Renato wrote:
> Hi,
>
> I checked the Makefile and found that it was not getting called.
>
> Looking at ./include/linux/compat_autoconf.h I found the following:
>
> #if (LINUX_VERSION_CODE>= KERNEL_VERSION(2,6,28))
> #ifndef CONFIG_ATL1C
> #define CONFIG_ATL1C 1
> #endif /* CONFIG_ATL1C */
> #ifndef CONFIG_ALX
> #define CONFIG_ALX 1
> #endif /* CONFIG_ALX */
> #ifndef CONFIG_COMPAT_MDIO
> #define CONFIG_COMPAT_MDIO 1
> #endif /* CONFIG_COMPAT_MDIO */
> #endif /* CONFIG_COMPAT_KERNEL_2_6_28 */
>
> Does it means that ALX driver is only supported with kernel 2.6.28 or higher?
It seems. There is likely a good reason for that. Not sure if the compat
git repos are still somewhere to find the reason. You can look on github
for mcgrof repos [1].
Regards,
Arend
[1] https://github.com/mcgrof
> Thanks
>
> Renato
>
>
>
> 2014-10-31 17:26 GMT-02:00 Arend van Spriel<arend@broadcom.com>:
>> + backport list
>>
>> Please keep the list in the loop.
>>
>> On 10/31/14 20:08, Renato wrote:
>>>
>>> Arend,
>>>
>>> After doing a make install, only compat.ko and
>>> compat_firmware_class.ko was generated.
>>>
>>> I thought it was an unified driver and because of that no alx.ko was
>>> needed.
>>>
>>> Searching on source tree for "alx*", only the source code was found on
>>> ./drivers/net/ethernet/atheros/alx (no kernel module).
>>>
>>> Before making, I've called the script driver-select with alx as parameter.
>>>
>>> Do you hane any ideia why the alx.ko module was not build them?
>>
>>
>> It has been a while since I used the "old" compat-drivers stuff. I guess you
>> need to for 2.6.24 support. You should check
>> drivers/net/ethernet/atheros/Makefile.
>>
>> Gr. AvS
>>
>>
>>> Thanks
>>>
>>> 2014-10-31 17:03 GMT-02:00 Arend van Spriel<arend@broadcom.com>:
>>>>
>>>> On 10/31/14 19:40, Renato wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I have and old Linux system built from scratch based on kernel 2.6.24
>>>>> and I need to add support on it for an Atheros ethernet card that
>>>>> doesnt have driver for kernel 2.6.24.
>>>>>
>>>>> Unfortunately we can't update the kernel because my client has a
>>>>> control hardware that only have binary e propertery driver for 2.6.24.
>>>>>
>>>>> Because of that, I'm trying to use compat-drivers to do that.
>>>>>
>>>>> What I did so far was:
>>>>>
>>>>> Downloaded compat-drivers-3.8.3-2-snpu and extraceted it.
>>>>> Compiled it using:
>>>>>
>>>>> ./scripts/driver-select alx
>>>>> make
>>>>> make install
>>>>>
>>>>> After rebooting, I loaded the compat driver with:
>>>>>
>>>>> modprobe compat
>>>>>
>>>>> I can see the following on dmesg:
>>>>>
>>>>> Compat-drivers backport release: compat-drivers-v3.8.3-2-snpu
>>>>> Backport based on linux-stable.git v3.8.3
>>>>> compat.git: linux-stable.git
>>>>>
>>>>> Nothing more. And no eth yet.
>>>>>
>>>>> What I am missing?
>>>>
>>>>
>>>>
>>>> After loading compat you have the glue layer in place to load the actual
>>>> 3.8.3 drivers on 2.6.24. So your next step would be to modprobe the alx
>>>> driver or whatever it is called.
>>>>
>>>> Regards,
>>>> Arend
>>>>>
>>>>>
>>>>> Thanks
>>>>> --
>>>>> To unsubscribe from this list: send the line "unsubscribe backports" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>
>>>>
>>>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe backports" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-11-03 12:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-31 18:40 compat-drivers-3.8.3-2-snpu with kernel 2.6.24 Renato
2014-10-31 19:03 ` Arend van Spriel
[not found] ` <CAG_2TMdhykKiZDKLNVxcYkcZRXTQON6tAZ2SMdf0c4JgAk+Rgg@mail.gmail.com>
2014-10-31 19:26 ` Arend van Spriel
2014-11-03 12:21 ` Renato
2014-11-03 12:37 ` Arend van Spriel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox