Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 08:27
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Upup Precise 5.3.3.3 with kernel 3.3.2
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 21 of 25 [373 Posts]   Goto page: Previous 1, 2, 3, ..., 19, 20, 21, 22, 23, 24, 25 Next
Author Message
rerwin


Joined: 24 Aug 2005
Posts: 1536
Location: Maine, USA

PostPosted: Wed 02 May 2012, 11:37    Post subject: Re: Braodcom experiment report  

peebee wrote:
Both wl and b43 showed as loaded in lsmod

but netwiz and dmesg showed that wl was being used
Thanks for your thorough test. As for jim3630, this shows that b43 can be present if loaded after wl. All of the advice I have seen about both b43 and bcma/brcmsmac is to blacklist them. We demonstrate, now, that they can be loaded after wl binds to the device.

The significance of this is that multiple Broadcom wifi devices might be supported, even if they use different drivers. That is why a test of a PC with both wifi and ethernet Broadcom devices would be an interesting test. Or even with multiple Broadcom wifi devices.

If anyone has a Broadcom-based USB wifi device, could you please test with it? My new logic apparently works for boot-up time, but might not if a USB device is unplugged and re-plugged in. Or even if plugged in after boot-up. I plan to restore part of the logic to handle that (by unloading "dependers"), expecting that the dependers get loaded automatically without special logic (that is currently in uppup). I also expect to add the preference, "bcma:wl", so that only one of them (wl) will be loaded for dually supported devices.

In all cases, blacklisting of "wl" should cause the open-source drivers to be used.
Richard
Back to top
View user's profile Send private message 
jim3630


Joined: 13 Feb 2011
Posts: 792
Location: Northern Nevada

PostPosted: Wed 02 May 2012, 11:43    Post subject:  

rerwin wrote:

To test the new driver, please blacklist wl in the BootManager, then reboot. I expect things should appear the same, but the diag file should confirm that the new driver is in control. Thanks.
Richard


Richard, et al.

as outlined done. continue not to tell any difference.. diag attached for your review.

noticed some output errors running the diag see below. don't know if significant or not.

# pmodemdiag
cat: /etc/puppyversion: No such file or directory
/usr/sbin/pmodemdiag: line 20: [: -ge: unary operator expected
Running PupScan to get hardware IDs and drivers - please close its window manually.
Collecting various modem-related files into an archive tarball:
pmodemdiag-20120502.tar.gz.
grep: /tmp/pup_event_backend/pup_event_alsa_cnt*: No such file or directory
grep: /tmp/rc_sysinit/*: No such file or directory
Diagnostic file collection complete.
Tarball pmodemdiag-20120502.tar.gz can be attached to a posting or personal
message (PM) in the Puppy forum, for analysis of dialup modem issues.
The content can be found in /tmp/pmodemdiag-20120502/.

hope helps and thanks again everyone for the hard work.
pmodemdiag-20120502.tar.gz
Description 
gz

 Download 
Filename  pmodemdiag-20120502.tar.gz 
Filesize  32.11 KB 
Downloaded  241 Time(s) 
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: Wed 02 May 2012, 12:25    Post subject:  

jim3630. In your second test...the bcma - brcmsmac driver combo was in use. Interesting thing is...that there isnt any indication of firmware loading. I wonder if this new bcma - brcmsmac combo work without previous firmware need.

Hmm...I should check the situation when I have time.

I could drop out those unneeded firmwares if the firmware loading is really out.

Jim3630. You could test it also, by removing /lib/modules/all-firmware/brcm/lib/firmware/brcm/bcm43xx-0.fw and /lib/modules/all-firmware/brcm/lib/firmware/brcm/bcm43xx_hdr-0.fw firmwares and then testing if the broadcom wireless works after rebooting....with wl blacklisted.

It would be interesting test...
Back to top
View user's profile Send private message 
jim3630


Joined: 13 Feb 2011
Posts: 792
Location: Northern Nevada

PostPosted: Wed 02 May 2012, 14:28    Post subject:  

pemasu wrote:
jim3630. In your second test...the bcma - brcmsmac driver combo was in use. Interesting thing is...that there isnt any indication of firmware loading. I wonder if this new bcma - brcmsmac combo work without previous firmware need.

Hmm...I should check the situation when I have time.

I could drop out those unneeded firmwares if the firmware loading is really out.

Jim3630. You could test it also, by removing /lib/modules/all-firmware/brcm/lib/firmware/brcm/bcm43xx-0.fw and /lib/modules/all-firmware/brcm/lib/firmware/brcm/bcm43xx_hdr-0.fw firmwares and then testing if the broadcom wireless works after rebooting....with wl blacklisted.

It would be interesting test...


pemasu

in my early morning haste after reading Richards post booted into 5333 which the previous night did the test.

did not install the test pet again a second time before blacklisting wl and reboot.

do have two 5333 savefiles. should have deleted the first before starting this test. bothhave different names perhaps choose the wrong one this am.

will remove /lib/modules/all-firmware/brcm/lib/firmware/brcm/bcm43xx-0.fw and /lib/modules/all-firmware/brcm/lib/firmware/brcm/bcm43xx_hdr-0.fw firmwares and then testing if the broadcom wireless works after rebooting....with wl blacklisted.

after will delete extra savefile and redo this am test
Back to top
View user's profile Send private message 
jim3630


Joined: 13 Feb 2011
Posts: 792
Location: Northern Nevada

PostPosted: Wed 02 May 2012, 14:40    Post subject:  

pemasu wrote:

It would be interesting test...


pemasu

done as outlined and it worked!

will go back and do this am test over on pfix=ram fresh with wl blacklisted.
pmodemdiag-20120502.tar.gz
Description 
gz

 Download 
Filename  pmodemdiag-20120502.tar.gz 
Filesize  32.04 KB 
Downloaded  239 Time(s) 
Back to top
View user's profile Send private message 
jim3630


Joined: 13 Feb 2011
Posts: 792
Location: Northern Nevada

PostPosted: Wed 02 May 2012, 14:58    Post subject:  

Richard

here is a pfix=ram fresh 5333 with your test pet installed, rebooted with a savefile created then wl blacklisted and rebooted.

wifi detected on wan0! diag attached for your review. deleted the diag file in previous post so this file has same name but is not same file.

thanks
pmodemdiag-20120502.tar.gz
Description 
gz

 Download 
Filename  pmodemdiag-20120502.tar.gz 
Filesize  33.79 KB 
Downloaded  240 Time(s) 
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: Wed 02 May 2012, 15:22    Post subject:  

Quote:
# modinfo brcmsmac
filename: /lib/modules/3.3.2-upup/kernel/drivers/net/wireless/brcm80211/brcmsmac.ko
license: Dual BSD/GPL
description: Broadcom 802.11n wireless LAN driver.
author: Broadcom Corporation
alias: bcma:m04BFid0812rev18cl*
alias: bcma:m04BFid0812rev17cl*
depends: mac80211,brcmutil,cfg80211,cordic,bcma,crc8
intree: Y
vermagic: 3.3.2-upup SMP mod_unload modversions 686

It does not show firmware dependency and jim3630 definitively used brcmsmac after removal of those previously needed firmwares.
Quote:
Broadcom brcmsmac driver
Support for both 32 and 64 bit Linux kernels
Firmware installation
Copy brcm/bcm43xx-0.fw and brcm/bcm43xx_hdr-0.fw to /lib/firmware/brcm (or wherever firmware is normally installed on your system).

http://linuxwireless.org/en/users/Drivers/brcm80211#Broadcom_brcmsmac_driver

So...this is so new setup that linux wireless page is not up to date.
I will remove those firmwares from woof now....
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: Wed 02 May 2012, 15:34    Post subject:  

Quote:
For all USB chips listed: cp brcm/brcmfmac43236b.bin /lib/firmware/brcm/


That firmware has been preinstalled for brcmfmac driver. I think it was Volhout who previously tried to get it working with his usb broadcom wireless....or then I remember the poster wrongly....

EDIT: yep...I remembered right.
http://murga-linux.com/puppy/viewtopic.php?p=621470#621470
Back to top
View user's profile Send private message 
zekebaby


Joined: 17 Nov 2010
Posts: 49

PostPosted: Wed 02 May 2012, 20:24    Post subject: Re: Expanded Broadcom wifi support  

rerwin wrote:
pemasu, jim3630 & Broadcom wifi users,
I have updated the Broadcom-wifi support to include the new brcm open-source driver and logic to select the correct driver for every supported Broadcom device.

Clean frugal install of Precise 5.3.3.3 on my Dell D430 laptop

Installed your experimental pet, the rebooted

1st boot w/savefile

- b43 and wl modules loaded according to lsmod
- Network Wizard sees wlan0 as b43
- dmesg shows first loading wl followed by b43

All subsequent boots show the exact same thing (both modules loaded). No blacklisting was performed.

Wifi works (woohoo!)

Thanks!
Back to top
View user's profile Send private message 
linux28

Joined: 05 Apr 2009
Posts: 211

PostPosted: Thu 03 May 2012, 11:46    Post subject:  

# seamonkey
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
1.jpg
 Description   
 Filesize   15.1 KB
 Viewed   369 Time(s)

1.jpg

Back to top
View user's profile Send private message 
linux28

Joined: 05 Apr 2009
Posts: 211

PostPosted: Thu 03 May 2012, 12:06    Post subject:  

Code:
# xnoise
Using old glib thread api
Using old glib thread api

(xnoise:22903): GStreamer-CRITICAL **: gst_object_ref_sink: assertion `GST_IS_OBJECT (object)' failed

(xnoise:22903): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xnoise:22903): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(xnoise:22903): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xnoise:22903): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(xnoise:22903): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xnoise:22903): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(xnoise:22903): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xnoise:22903): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(xnoise:22903): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xnoise:22903): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(xnoise:22903): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(xnoise:22903): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(xnoise:22903): GStreamer-CRITICAL **: gst_element_get_bus: assertion `GST_IS_ELEMENT (element)' failed
Segmentation fault
#
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1536
Location: Maine, USA

PostPosted: Thu 03 May 2012, 12:59    Post subject: Re: Expanded Broadcom wifi support  

zekebaby wrote:
1st boot w/savefile

- b43 and wl modules loaded according to lsmod
- Network Wizard sees wlan0 as b43
- dmesg shows first loading wl followed by b43

All subsequent boots show the exact same thing (both modules loaded). No blacklisting was performed.
Thanks for your report. Very interesting. If both modules loaded, wl should have been the active driver. This tells me that perhaps the Network Wizard (and possibly SNS & Frisbee) may be impacted by the presence of multiple drivers supporting the same device.

I now have another experimental version that should avoid the duplication for a particular device, but allow in some cases the presence of multiple Broadcom wifi cards. It should handle, say, a card supported by the wl driver plus one using only b43.

My caveat is because of the way the b43 driver is accessed. It can be invoked the normal way via a modalias for the vendor & product IDS. But some that use b43 get to it via an modalias to ssb, which then, apparently, decides which b43(legacy) driver to use. With the ssb route, the preference for wl is ignored. The new package corrects for that in the .conf file for b43. That should prevent b43 from loading with wl for the same device. If two b43 devices are present but only one uses the ssb route, the other will not be supported. That is necessary because there is no way to determine which one does not use the ssb route (but loads ssb as a dependency).

The package adds some preferences, so that three are required: ssb:wl b43:wl bcma:wl. As before, the proprietary driver is preferred, but can be overridden by blacklisting wl in the BootManager. However, for the official release of an ISO, blacklisting it in the ISO might be better, so that the open source drivers are used by default. If a user finds them unacceptable, he/she can un-blacklist wl to activate the proprietary driver.

Please try everything you can think of with this package and provide a pmodemdiag file if you see anything not quite right. (The pmodemdiag script is updated to avoid the reported error messages.) Thanks.
Richard

Package removed for more debugging. Please discontinue testing it. I must be away for a few hours, though. R

Last edited by rerwin on Thu 03 May 2012, 18:20; edited 2 times in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4329
Location: Gatineau (Qc), Canada

PostPosted: Thu 03 May 2012, 14:57    Post subject:  

Hello. Me again. Shocked

1) I prepared an iso of PPr-5.333 with the devx.sfs and LO-x.sfs on it.
Upon shutdown of first boot I requested "save to file" on a half-empty 8Gb usb stick.

a) It took forever.
b) It created a 512 Mb savefile without asking me for the size. This was only a test, 128 Mb would have been enough.
c) It copied the devx sfs and the LibreOffice sfs to the stick, but not its own operational *precise*.sfs. It claimed there was not enough space left, whereas there were over 3Gb left!

2) This is about mtpaint, but may affect other programs.
The default mtpaint in precise is v. 3.31. The localisation provided in esmourguit's French package is for v. 3.4*. The top menu bar was bilingual (one French title, one English title, one French Title, one English title, and so on) and the French entries were dummy entries until I installed mtpaint 3.4.3 (the latest pet, anyway). Then the menu entries appeared ok, in French only, and were fully operational.

I don't know if other localisations, or localized programs, do this. The bigger packages (abiword, gnumeric, LO, for ex.) have their own localisations more or less "embedded", and they work ok, but the smaller programs? We'd have to go through all of them one by one. (hehe)

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Thu 03 May 2012, 15:07    Post subject: Re: Expanded Broadcom wifi support  

rerwin wrote:
Please try everything you can think of with this package and provide a pmodemdiag file if you see anything not quite right. (The pmodemdiag script is updated to avoid the reported error messages.) Thanks.
Richard


Hi Richard

Experiment 2 kills wl for me........

On 1st reboot after installing the pet b43 is in use

Blacklist b43 - reboot - no wifi - no sign of wl

I've attached a pmodemdiag - however this is from the "old" version - the new one just hangs and produces no output in the terminal or anywhere else.

Cheers
peebee
pmodemdiag-20120503.tar.gz
Description 
gz

 Download 
Filename  pmodemdiag-20120503.tar.gz 
Filesize  31.19 KB 
Downloaded  230 Time(s) 

_________________
LxPup-14.10 = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
linux28

Joined: 05 Apr 2009
Posts: 211

PostPosted: Fri 04 May 2012, 07:10    Post subject:  

# beep-media-player-2
** Message: Domain: dbus-glib-error-quark, code: 25, message: Process /usr/lib/beep-media-player-2-bin exited with status 127






dbus-glib-error??? Shocked Shocked
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 21 of 25 [373 Posts]   Goto page: Previous 1, 2, 3, ..., 19, 20, 21, 22, 23, 24, 25 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

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
[ Time: 0.1185s ][ Queries: 13 (0.0121s) ][ GZIP on ]