2009-02-11 22:45:06

by Hin-Tak Leung

[permalink] [raw]
Subject: Re: rtl8187 in Toshiba L300 linux troubles

On Wed, Feb 11, 2009 at 10:12 PM, Jorge Munoz <[email protected]> wrote:
> It's all right. I have followed all the steps written in compat-wireless
> (http://linuxwireless.org/en/users/Download#Buildingandinstalling) and it
> works!
> First of all I have had to install build-essential and
> linux-headers-2.6.27-11-generic in my ubuntu based distro
> (http://www.molinux.info) compilation has done without any error (very clean).
> This is a key improvement, now the signal level is better and wireless
> traffic isn't interrupted. Good job. Thank you.
>
> In order to help my colleagues I would like you to advice me about next
> issue. Ubuntu has a linux-backports-modules-2.6.27-11-generic but your
> improvement isn't on it yet. The problem is that this package includes
> others modules for Toshiba L300 hardware support (webcam, ...) and should be
> necessary install it. My question is if I can install the rtl8187.ko file
> directly (without compilation process) in another L300 laptop after
> upgrading the system with linux-backports-modules-2.6.27-11-generic.
> Thanks again

Kernel modules are matched to the specific kernel version (and
archtecture). I am not familiar with Ubuntu,
but in fact any of your colleague could just
1) copy your /lib/modules/<kver>/updates/ recursively
2) run "depmod -a"
3) either reboot or unload and reload the kernel module with "modprobe
-r rtl8187" then "modprobe -v rtl8187"

In fact step two is probably not necessary if you choose to reboot,
since depmod is often run just based on time-stamp at boot up.

I assume your question is just whether step 1) would work - the answer
is yes, provided you run depmod afterwards, or equivalent. You
actually don't need to copy the whole of that 40+ modules from
compar-wireless, just 4:
rtl8187
mac80211
eeprom_93cx6
cfg80211

(lsmod would tell you this).


2009-02-17 00:13:08

by Hin-Tak Leung

[permalink] [raw]
Subject: Re: rtl8187 in Toshiba L300 linux troubles

On Mon, Feb 16, 2009 at 11:33 AM, Jorge Mu=F1oz <[email protected]> =
wrote:
> Thanks Hin-Tak, I haven't checked your answer yet. When I have got an
> answer I' ll post here. But I have to say that I' ve compiled (Ubuntu
> 8.10 distro based) compat-wireless without uninstalling
> linux-backports-modules-2.6.27-11-generic and rtl8187 works correctly=
=2E
>
> In order to installing compat-wireless rtl8187 driver I' ve done a
> shell script to automate compilation process but next
> step should be create a .deb package to include this in a repository
> tree. Do you know if is there one with stable rtl8187 driver yet
> (2.6.27-11)?
>

If you just want to distribute your build of kernel modules, you could
just tar up
/lib/modules/*/updates from your machine and untar that on the target m=
achine.

As I said, kernel modules are kernel-version specific, so I am afraid
for each kernel you want to boot you need to build a deb package, if
that's your direction. Something like dkms or equivalent may help you.

2009-02-16 11:34:01

by Jorge Muñoz

[permalink] [raw]
Subject: Re: rtl8187 in Toshiba L300 linux troubles

Thanks Hin-Tak, I haven't checked your answer yet. When I have got an
answer I' ll post here. But I have to say that I' ve compiled (Ubuntu
8.10 distro based) compat-wireless without uninstalling
linux-backports-modules-2.6.27-11-generic and rtl8187 works correctly.

In order to installing compat-wireless rtl8187 driver I' ve done a
shell script to automate compilation process but next
step should be create a .deb package to include this in a repository
tree. Do you know if is there one with stable rtl8187 driver yet
(2.6.27-11)?


On 2/11/09, Hin-Tak Leung <[email protected]> wrote:
> On Wed, Feb 11, 2009 at 10:12 PM, Jorge Munoz <[email protected]> wrote:
>> It's all right. I have followed all the steps written in compat-wireless
>> (http://linuxwireless.org/en/users/Download#Buildingandinstalling) and it
>> works!
>> First of all I have had to install build-essential and
>> linux-headers-2.6.27-11-generic in my ubuntu based distro
>> (http://www.molinux.info) compilation has done without any error (very clean).
>> This is a key improvement, now the signal level is better and wireless
>> traffic isn't interrupted. Good job. Thank you.
>>
>> In order to help my colleagues I would like you to advice me about next
>> issue. Ubuntu has a linux-backports-modules-2.6.27-11-generic but your
>> improvement isn't on it yet. The problem is that this package includes
>> others modules for Toshiba L300 hardware support (webcam, ...) and should
>> be
>> necessary install it. My question is if I can install the rtl8187.ko file
>> directly (without compilation process) in another L300 laptop after
>> upgrading the system with linux-backports-modules-2.6.27-11-generic.
>> Thanks again
>
> Kernel modules are matched to the specific kernel version (and
> archtecture). I am not familiar with Ubuntu,
> but in fact any of your colleague could just
> 1) copy your /lib/modules/<kver>/updates/ recursively
> 2) run "depmod -a"
> 3) either reboot or unload and reload the kernel module with "modprobe
> -r rtl8187" then "modprobe -v rtl8187"
>
> In fact step two is probably not necessary if you choose to reboot,
> since depmod is often run just based on time-stamp at boot up.
>
> I assume your question is just whether step 1) would work - the answer
> is yes, provided you run depmod afterwards, or equivalent. You
> actually don't need to copy the whole of that 40+ modules from
> compar-wireless, just 4:
> rtl8187
> mac80211
> eeprom_93cx6
> cfg80211
>
> (lsmod would tell you this).
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>


--
http://www.jorgeroden.blogspot.com
FSF member 5687