The time now is Tue 24 Apr 2018, 19:32
All times are UTC - 4 |
Author |
Message |
Whitesnow

Joined: 20 Nov 2007 Posts: 118 Location: Italy
|
Posted: Wed 28 Oct 2009, 17:45 Post subject:
|
|
tempestuous wrote: | you could install the MADWiFi (ath_pci) driver from earlier in this thread. The ath_pci driver supports AP mode, regardless of kernel version. |
I didn't know. Thank you, I'll try.
tempestuous wrote: | Be aware that ad-hoc mode is completely different to AP mode. I will post an ad-hoc HOWTO soon. |
For ad-hoc net I mean two PC linked by wifi without a DHCP server. IPs set manually. If I don't set one of these computers as AP, I can't link.
Formally, I know you right.
OT: I have download 4.3.1, but I have seen that bootmanager, like 4.3.0., can still boot not more than 6 sfs and cannot find kernel src mirrored (virtualbox refuses to run without).
Someone can indicate me where I can find information about these topics?
_________________ *.* Snow *.*
My repo: http://qualapinna.dyndns.org/repo
My blog: http://qualapinna.dyndns.org
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Thu 29 Oct 2009, 06:06 Post subject:
|
|
Whitesnow wrote: | For ad-hoc net I mean two PC linked by wifi without a DHCP server. IPs set manually. If I don't set one of these computers as AP, I can't link. |
That's not ad-hoc. It's a situation where one of your computers is an access point (wifi master mode) and the other computer is a conventional client (wifi station mode).
In ad-hoc mode, both computers are equal peers. I just posted an ad-hoc HOWTO here -
http://www.murga-linux.com/puppy/viewtopic.php?p=159929#159929
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Sun 01 Nov 2009, 22:32 Post subject:
|
|
The 2.6.30.5 kernel has Atheros drivers atl1c and atl1e, but some atheros cards will not work with the default driver, notably the EEE 1005HA, and possibly others. I've attached a pet file of the manufacturer's driver, downloaded from the Atheros site. http://partner.atheros.com/Drivers.aspx
Edit: I've uploaded a new version of 1.0.0.10 and added 1.0.0.11-test. It's been mentioned to me that the test version is required for some newer cards; it seems more stable on my machine as well.
Edit: updated both pets for bug tempestuous found
Edit: 12/29/09 updated both pets to include preflist hotfix
Description |
|

Download |
Filename |
atl1e-1.0.0.11-test.pet |
Filesize |
34.81 KB |
Downloaded |
1195 Time(s) |
Description |
|

Download |
Filename |
atl1e-1.0.0.10.pet |
Filesize |
34.63 KB |
Downloaded |
1186 Time(s) |
Last edited by jemimah on Tue 29 Dec 2009, 11:41; edited 3 times in total
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Sun 29 Nov 2009, 22:13 Post subject:
|
|
EDIT November 17 2010
Latest Atheros/Attansic atl1e ethernet driver now available later in this thread -
http://www.murga-linux.com/puppy/viewtopic.php?p=467846#467846
EDIT Dec 30 2009
jemimah's atl1e dotpets in the previous post compete with the standard atl1c driver in Puppy 4.3.x
so you must also install the modules-preference fix from here -
http://www.murga-linux.com/puppy/viewtopic.php?p=371659#371659
(as mentioned in the first post in this thread)
Last edited by tempestuous on Tue 16 Nov 2010, 20:58; edited 2 times in total
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Mon 30 Nov 2009, 00:09 Post subject:
|
|
Thanks, I had been meaning to update that pet as some people had troubles with it. There's also a newer 1.0.0.11-test version should probably be packaged. I'll post a new pet when I get a chance.
Although, the atl1c driver will try to load on my ethernet card, so adding it to the preflist will probably prevent the correct atl1e driver from loading.
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Mon 30 Nov 2009, 00:39 Post subject:
|
|
jemimah wrote: | the atl1c driver will try to load on my ethernet card, so adding it to the preflist will probably prevent the correct atl1e driver from loading. |
When configured properly, the PREFLIST (which is referenced by Puppy's version of udev) sets the preference/priority of one module over another.
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Mon 30 Nov 2009, 01:22 Post subject:
|
|
Ok, I just did a test with the standard kernel. On my hardware, the old atl1c driver loads, but it's the wrong driver and will not work; dhcp fails to obtain an IP. When I install the new atl1e driver pet, the old atl1c driver continues to load. If I add atl1c:atl1e to the preflist, atl1c still loads. If I blacklist atl1c, then neither driver loads. So the only way it works is if if I add atl1e to the whitelist and add atl1c to the blacklist. Hope that clarifies things. YMMV on different hardware.
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Mon 30 Nov 2009, 02:09 Post subject:
|
|
jemimah wrote: | If I add atl1c:atl1e to the preflist, atl1c still loads. |
Then PREFLIST (or udev/pup_event) is not working as designed. This, then, is a bug and should probably be reported to Barry.
This situation might explain a few other problems reported on the forum involving conflicting modules.
EDIT:
I just reported this in the "Puppy 4.3.1 -- bug reports and suggestions" thread.
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Mon 30 Nov 2009, 10:38 Post subject:
|
|
Interestingly, it works fine in Puppeee 4.31 (the only relevant difference being the lightweight kernel build) .
|
Back to top
|
|
 |
rerwin

Joined: 24 Aug 2005 Posts: 1884 Location: Maine, USA
|
Posted: Thu 03 Dec 2009, 12:16 Post subject:
|
|
tempestuous, jemimah,
Quote: | Then PREFLIST (or udev/pup_event) is not working as designed. This, then, is a bug and should probably be reported to Barry. | Since I am already modifying pup_event_backend_modprobe, I would like to include a fix for this problem in my updated version.
Could you re-run your original attempt to set the preference (with no atl1? added or blacklist entries)? But please do not edit any files for this -- use the BootManager to set the preference and be sure the two names are separated only by a colon and no spaces. Once rebooted, please tell me which atl1? lsmod shows as loaded, what the /etc/rc.d/MODULESCONFIG file has for the PREFLIST= data, and whether the /etc/modprobe.conf file contains an entry: "blacklist atl1c" near the end. Also, please save and then attach file /tmp/udevtrace.log to your posting. Then reboot again to see if the preference is fulfilled. (The idea is that maybe the blacklist entry is only added on the first reboot, so is not effective the first time; when present, there might be different behavior.) The udevtrace file might be interesting at that point, too.
To address your concern that by setting the preference you would be unable to use another NIC that takes the old atl!c module, there is a way to specify the preference for only certain hardware IDs. That fix would be to edit-add two items to the "PCI_OVERRIDES=" variable in /etc/rc.d/MODULESCONFIG, as:
atl1e 0x00001969 0x00001062
atl1e 0x00001969 0x00001063
This assumes that the NIC is not USB and that the override will always be valid for those NICs -- at least until the drivers change further.
But I am really concerned about the appearance that the preference listing in not effective. If the information I requested above is indeed present/correct, I will need to provide a "wired" version of the pup_event script to see where things go wrong. But first we need to verify that the preference was entered correctly when it failed.
Richard
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Thu 03 Dec 2009, 15:47 Post subject:
|
|
I retested with the same result. Rebooted twice. Still atl1c loads. I think the blacklist entry is not being added to modprobe.conf.
Description |
|

Download |
Filename |
MODULESCONFIG.gz |
Filesize |
1.39 KB |
Downloaded |
1060 Time(s) |
Description |
|

Download |
Filename |
modprobe.conf.gz |
Filesize |
1.34 KB |
Downloaded |
1078 Time(s) |
Description |
|

Download |
Filename |
udevtrace.log.gz |
Filesize |
2.21 KB |
Downloaded |
1022 Time(s) |
|
Back to top
|
|
 |
rerwin

Joined: 24 Aug 2005 Posts: 1884 Location: Maine, USA
|
Posted: Fri 04 Dec 2009, 23:22 Post subject:
|
|
jemimah,
Thanks for the files. I have a confession to make: I jumped to the wrong conclusion about where the "blacklist atl1c" goes. It goes to /tmp/pup_event_prefhit_blacklist and is used immediately in attempting to load the alternative module. Now I have looked deeper into how the preference function works.
The main requirement for a preference to "take" is that multiple modules must claim to support the same device. You can't just tell puppy to use just any module. The /lib/modules/2.6.30.5/modules.alias file contains that information. The released 4.3.1 file contains this: Code: | alias pci:v00001969d00001048sv*sd*bc*sc*i* atl1
alias pci:v00001969d00001026sv*sd*bc*sc*i* atl1e
alias pci:v00001969d00001066sv*sd*bc*sc*i* atl1e
alias pci:v00001969d00001063sv*sd*bc*sc*i* atl1c
alias pci:v00001969d00001062sv*sd*bc*sc*i* atl1c | There is no duplication of coverage between -c and -e. Since you are using your own version of atl1e, after you install it -- it should overwrite puppy's (or also delete puppy's) -- you must then enter the command:
depmod
to update that file. If you see similar entries for both modules, the preference setting should be effective; if no duplicates for your modem, the preference won't work.
Please try the "depmod" and then check the modules.alias file, by entering the command:
grep ' atl1' /lib/modules/2.6.30.5/modules.alias
If you find you have the duplication of coverage and the preference still doesn't work, I will need you to try a "wired" modprober, to see what is happening internally. If there is no duplicate, you will need to use your workaround or edit the MODULESCONFIG file PCI_OVERRIDES variable.
Richard
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Sat 05 Dec 2009, 01:20 Post subject:
|
|
To start with, there are some problems with jemimah's atl1e-1.0.0.11-test.pet:
The post-install script contains this -
Code: | mv /lib/modules/2.6.30.5/kernel/drivers/net/atl1e/atl1e.ko /lib/modules/save |
which will actually rename the old module as "save". I suspect the intention was to keep its original name, but relocate it to /lib/modules/save
Also there's a significant typo -
this command is unrecognised ... so the new module fails to be registered.
Once I run the correct command -
my updated modules.alias file then contains this -
Code: | alias pci:v00001969d00002060sv*sd*bc*sc*i* atl1e
alias pci:v00001969d00001062sv*sd*bc*sc*i* atl1e
alias pci:v00001969d00001063sv*sd*bc*sc*i* atl1e
alias pci:v00001969d00001066sv*sd*bc*sc*i* atl1e
alias pci:v00001969d00001067sv*sd*bc*sc*i* atl1e
alias pci:v00001969d00001026sv*sd*bc*sc*i* atl1e
alias pci:v00001969d00001062sv*sd*bc*sc*i* atl1c
alias pci:v00001969d00001063sv*sd*bc*sc*i* atl1c |
As you can see, there's a direct overlap for devices 1969:1062 and 1969:1063.
|
Back to top
|
|
 |
davesurrey
Joined: 05 Aug 2008 Posts: 1201 Location: UK
|
Posted: Sat 05 Dec 2009, 07:11 Post subject:
|
|
@rerwin,
Richard, sorry for butting into a puppy 431 thread but tempestuous has kindly pointed me here as I have wifi problems in both puppy 412 and 421 which he believes are due to faulty PREFLIST mechanism in these distros. Similar to what is happening here.
see http://www.murga-linux.com/puppy/viewtopic.php?p=368542#368542
My question, will your modifications to pup_event_backend_modprobe be applicable to kernel 2.6.25.16 also ?
Thanks for all your efforts.
Dave
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Sat 05 Dec 2009, 13:19 Post subject:
|
|
I've fixed the typo tempestuous found and uploaded new versions. Sorry about that!
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|