All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions
@ 2011-08-24 13:14 Fabio Tignanelli
  2011-08-24 16:26 ` Mohammed Shafi
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Tignanelli @ 2011-08-24 13:14 UTC (permalink / raw)
  To: ath9k-devel

Hi,
I am trying to use compact-wireless to update the driver for an ath9K.

The reason why I am emailing you is that, despite trying to follow all the guidelines on How To Ask Questions the Smart Way, I have got nowhere ending up in all sort of dead corners.

Current Issue
I need to update the driver for an ath9k device connected to an embedded device. The OS on the device is a Fedora 12 but very cut down version (e.g. no source code, or compiler) for space reasons. It's a 2.6.31.5-127.fc12.686.PAE

I have a Fedora 12 (2.6.32.26-175.fc12.686.PAE) running on a laptop and I compiled the latest version of the ath9k driver using compact-wireless (v 3.1-rc1-1). I have done that using the following command seeing that the kernel version installed on the laptop is different from the one installed on the embedded device but it actually contains also the source for 2.6.31.5-127.fc12.686.PAE:

>make KLIB="lib/modules/2.6.31.5-127.fc12.686.PAE

This has generated a number of .o and .ko files.

Now I cannot copy wireless-compat on the embedded device and do ">make install" because of space reasons and it seems that even this operation requires the source code of the kernel and a compiler.

Question
Ideally I would like to copy across the created .ko modules to the embedded device from the Linux laptop and run "insmod" or "modprobe" to install the new drivers from command prompt.

Is this doable? If yes, which files I should copy across?


Using support from Linux Wireless.
Being new to the Linux world I must say I have found the support section very hard going. I was expecting a common form to fill in with the problem and a preconfigured list of subjects or a easy-to-search archive with existing threads.

I subscribed to the mailing list of ath9k, but I am not sure if the right way to ask for support is emails to ath9k-devel at lists.ath9k.org or directly to digested or undigested member's email addr (whatever digested means).

I tried to configure xchat on my fedora12 with no luck (the server id and the channel do not seem to be sufficient to configure the client).

I searched the Internet at great lengths.

Etc....

Apologies if my email is not what you would expect to receive. But I have run out of options to solve this problem. Any help would be much appreciated.

Thanks

Fabio


* Please consider the environment before printing this e-mail


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110824/6e5b0b44/attachment.htm 

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

* [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions
  2011-08-24 13:14 [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions Fabio Tignanelli
@ 2011-08-24 16:26 ` Mohammed Shafi
  2011-08-30 14:20   ` Fabio Tignanelli
  0 siblings, 1 reply; 4+ messages in thread
From: Mohammed Shafi @ 2011-08-24 16:26 UTC (permalink / raw)
  To: ath9k-devel

On Wed, Aug 24, 2011 at 6:44 PM, Fabio Tignanelli
<Fabio.Tignanelli@paconsulting.com> wrote:
> Hi,
> I am trying to use compact-wireless to update the driver for an ath9K.
>
> The reason why I am emailing you is that, despite trying to follow all the
> guidelines on How To Ask Questions the Smart Way, I have got nowhere ending
> up in all sort of dead corners.
>
> Current Issue
> I need to update the driver for an ath9k device connected to an embedded
> device. The OS on the device is a Fedora 12 but very cut down version (e.g.
> no source code, or compiler) for space reasons. It?s a
> 2.6.31.5-127.fc12.686.PAE
>
> I have a Fedora 12 (2.6.32.26-175.fc12.686.PAE) running on a laptop and I
> compiled the latest version of the ath9k driver using compact-wireless (v
> 3.1-rc1-1). I have done that using the following command seeing that the
> kernel version installed on the laptop is different from the one installed
> on the embedded device but it actually contains also the source for
> 2.6.31.5-127.fc12.686.PAE:


I have little idea about this, as I have not tried cross compiling
ath9k and using it on some embedded device.
i heard that we need tool chains etc.
you might be interested in
https://openwrt.org/
does some one has more info?

>
>>make KLIB="lib/modules/2.6.31.5-127.fc12.686.PAE
>
> This has generated a number of .o and .ko files.
>
> Now I cannot copy wireless-compat on the embedded device and do ">make
> install" because of space reasons and it seems that even this operation
> requires the source code of the kernel and a compiler.
>
> Question
> Ideally I would like to copy across the created .ko modules to the embedded
> device from the Linux laptop and run "insmod" or "modprobe" to install the
> new drivers from command prompt.
>
> Is this doable? If yes, which files I should copy across?
>
>
> Using support from Linux Wireless.
> Being new to the Linux world I must say I have found the support section
> very hard going. I was expecting a common form to fill in with the problem
> and a preconfigured list of subjects or a easy-to-search archive with
> existing threads.
>
> I subscribed to the mailing list of ath9k, but I am not sure if the right
> way to ask for support is emails to ath9k-devel at lists.ath9k.org or directly
> to digested or undigested member's email addr (whatever digested means).
>
> I tried to configure xchat on my fedora12 with no luck (the server id and
> the channel do not seem to be sufficient to configure the client).
>
> I searched the Internet at great lengths.
>
> Etc?.
>
> Apologies if my email is not what you would expect to receive. But I have
> run out of options to solve this problem. Any help would be much
> appreciated.
>
> Thanks
>
> Fabio
>
>
> P Please consider the environment before printing this e-mail
>
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>



-- 
shafi

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

* [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions
  2011-08-24 16:26 ` Mohammed Shafi
@ 2011-08-30 14:20   ` Fabio Tignanelli
  2011-08-30 15:01     ` Jack Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Tignanelli @ 2011-08-30 14:20 UTC (permalink / raw)
  To: ath9k-devel

Hi,
Thanks for your reply.

My problem is not the cross compilation as both the target device and the control pc have exactly the same Fedora distribution. The only difference is that the target device cannot hold the kernel source code because of the small disk space it has.

As result I would like to install the drivers using simple procedure\commands like "insmod drivername.ko" as opposed to using the "make install" command in wireless-compat.

Any idea?

Fabio


-----Original Message-----
From: Mohammed Shafi [mailto:shafi.wireless at gmail.com] 
Sent: 24 August 2011 17:26
To: Fabio Tignanelli
Cc: ath9k-devel at lists.ath9k.org; Felix Fietkau; Adrian Chadd; Adrian Chadd
Subject: Re: [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions

On Wed, Aug 24, 2011 at 6:44 PM, Fabio Tignanelli
<Fabio.Tignanelli@paconsulting.com> wrote:
> Hi,
> I am trying to use compact-wireless to update the driver for an ath9K.
>
> The reason why I am emailing you is that, despite trying to follow all the
> guidelines on How To Ask Questions the Smart Way, I have got nowhere ending
> up in all sort of dead corners.
>
> Current Issue
> I need to update the driver for an ath9k device connected to an embedded
> device. The OS on the device is a Fedora 12 but very cut down version (e.g.
> no source code, or compiler) for space reasons. It's a
> 2.6.31.5-127.fc12.686.PAE
>
> I have a Fedora 12 (2.6.32.26-175.fc12.686.PAE) running on a laptop and I
> compiled the latest version of the ath9k driver using compact-wireless (v
> 3.1-rc1-1). I have done that using the following command seeing that the
> kernel version installed on the laptop is different from the one installed
> on the embedded device but it actually contains also the source for
> 2.6.31.5-127.fc12.686.PAE:


I have little idea about this, as I have not tried cross compiling
ath9k and using it on some embedded device.
i heard that we need tool chains etc.
you might be interested in
https://openwrt.org/
does some one has more info?

>
>>make KLIB="lib/modules/2.6.31.5-127.fc12.686.PAE
>
> This has generated a number of .o and .ko files.
>
> Now I cannot copy wireless-compat on the embedded device and do ">make
> install" because of space reasons and it seems that even this operation
> requires the source code of the kernel and a compiler.
>
> Question
> Ideally I would like to copy across the created .ko modules to the embedded
> device from the Linux laptop and run "insmod" or "modprobe" to install the
> new drivers from command prompt.
>
> Is this doable? If yes, which files I should copy across?
>
>
> Using support from Linux Wireless.
> Being new to the Linux world I must say I have found the support section
> very hard going. I was expecting a common form to fill in with the problem
> and a preconfigured list of subjects or a easy-to-search archive with
> existing threads.
>
> I subscribed to the mailing list of ath9k, but I am not sure if the right
> way to ask for support is emails to ath9k-devel at lists.ath9k.org or directly
> to digested or undigested member's email addr (whatever digested means).
>
> I tried to configure xchat on my fedora12 with no luck (the server id and
> the channel do not seem to be sufficient to configure the client).
>
> I searched the Internet at great lengths.
>
> Etc....
>
> Apologies if my email is not what you would expect to receive. But I have
> run out of options to solve this problem. Any help would be much
> appreciated.
>
> Thanks
>
> Fabio
>
>
> P Please consider the environment before printing this e-mail
>
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>



-- 
shafi

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

* [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions
  2011-08-30 14:20   ` Fabio Tignanelli
@ 2011-08-30 15:01     ` Jack Mitchell
  0 siblings, 0 replies; 4+ messages in thread
From: Jack Mitchell @ 2011-08-30 15:01 UTC (permalink / raw)
  To: ath9k-devel

Could you look in the Make file to see the install procedure?

Jack.

On 30/08/2011 15:20, Fabio Tignanelli wrote:
> Hi,
> Thanks for your reply.
>
> My problem is not the cross compilation as both the target device and the control pc have exactly the same Fedora distribution. The only difference is that the target device cannot hold the kernel source code because of the small disk space it has.
>
> As result I would like to install the drivers using simple procedure\commands like "insmod drivername.ko" as opposed to using the "make install" command in wireless-compat.
>
> Any idea?
>
> Fabio
>
>
> -----Original Message-----
> From: Mohammed Shafi [mailto:shafi.wireless at gmail.com]
> Sent: 24 August 2011 17:26
> To: Fabio Tignanelli
> Cc: ath9k-devel at lists.ath9k.org; Felix Fietkau; Adrian Chadd; Adrian Chadd
> Subject: Re: [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions
>
> On Wed, Aug 24, 2011 at 6:44 PM, Fabio Tignanelli
> <Fabio.Tignanelli@paconsulting.com>  wrote:
>> Hi,
>> I am trying to use compact-wireless to update the driver for an ath9K.
>>
>> The reason why I am emailing you is that, despite trying to follow all the
>> guidelines on How To Ask Questions the Smart Way, I have got nowhere ending
>> up in all sort of dead corners.
>>
>> Current Issue
>> I need to update the driver for an ath9k device connected to an embedded
>> device. The OS on the device is a Fedora 12 but very cut down version (e.g.
>> no source code, or compiler) for space reasons. It's a
>> 2.6.31.5-127.fc12.686.PAE
>>
>> I have a Fedora 12 (2.6.32.26-175.fc12.686.PAE) running on a laptop and I
>> compiled the latest version of the ath9k driver using compact-wireless (v
>> 3.1-rc1-1). I have done that using the following command seeing that the
>> kernel version installed on the laptop is different from the one installed
>> on the embedded device but it actually contains also the source for
>> 2.6.31.5-127.fc12.686.PAE:
>
> I have little idea about this, as I have not tried cross compiling
> ath9k and using it on some embedded device.
> i heard that we need tool chains etc.
> you might be interested in
> https://openwrt.org/
> does some one has more info?
>
>>> make KLIB="lib/modules/2.6.31.5-127.fc12.686.PAE
>> This has generated a number of .o and .ko files.
>>
>> Now I cannot copy wireless-compat on the embedded device and do ">make
>> install" because of space reasons and it seems that even this operation
>> requires the source code of the kernel and a compiler.
>>
>> Question
>> Ideally I would like to copy across the created .ko modules to the embedded
>> device from the Linux laptop and run "insmod" or "modprobe" to install the
>> new drivers from command prompt.
>>
>> Is this doable? If yes, which files I should copy across?
>>
>>
>> Using support from Linux Wireless.
>> Being new to the Linux world I must say I have found the support section
>> very hard going. I was expecting a common form to fill in with the problem
>> and a preconfigured list of subjects or a easy-to-search archive with
>> existing threads.
>>
>> I subscribed to the mailing list of ath9k, but I am not sure if the right
>> way to ask for support is emails to ath9k-devel at lists.ath9k.org or directly
>> to digested or undigested member's email addr (whatever digested means).
>>
>> I tried to configure xchat on my fedora12 with no luck (the server id and
>> the channel do not seem to be sufficient to configure the client).
>>
>> I searched the Internet at great lengths.
>>
>> Etc....
>>
>> Apologies if my email is not what you would expect to receive. But I have
>> run out of options to solve this problem. Any help would be much
>> appreciated.
>>
>> Thanks
>>
>> Fabio
>>
>>
>> P Please consider the environment before printing this e-mail
>>
>>
>>
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>>
>
>

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

end of thread, other threads:[~2011-08-30 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-24 13:14 [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions Fabio Tignanelli
2011-08-24 16:26 ` Mohammed Shafi
2011-08-30 14:20   ` Fabio Tignanelli
2011-08-30 15:01     ` Jack Mitchell

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.