LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-12-2009, 07:43 AM   #31
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Windows 8.1. Attempting to get Slack 14.1 working.
Posts: 147

Original Poster
Rep: Reputation: 16

I tried the blog post, and I get an error when I do insmod wl.ko. I get:

insmod: error inserting 'wl.ko': -1 Invalid module format

So it is still not working for me....

Last edited by Unr3a164; 09-12-2009 at 07:56 AM.
 
Old 09-12-2009, 07:49 AM   #32
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 417Reputation: 417Reputation: 417Reputation: 417Reputation: 417
Just a suggestion, but you did download the 64 bit driver from Broadcom, didn't you? I've got this driver working on the 32 bit version of Slackware, so it should go.
 
Old 09-12-2009, 07:55 AM   #33
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Windows 8.1. Attempting to get Slack 14.1 working.
Posts: 147

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Hangdog42 View Post
Just a suggestion, but you did download the 64 bit driver from Broadcom, didn't you? I've got this driver working on the 32 bit version of Slackware, so it should go.
Nope... this is the tar.gz file I have...


hybrid-portsrc-x86_32-v5_10_91_9.tar.gz

And this is what is under lspci

05:00.0 Network Controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)


I am getting ready to just give up on the hybrid driver and use ndiswrapper.
 
Old 09-12-2009, 08:11 AM   #34
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Hey UnreaL64 -- if you're running 64bit Slackware, then that filename for the tar.gz looks like the wrong one to me. That looks like the 32bit version.

Where are you downloading this from. Can you provide a link?

Last edited by GrapefruiTgirl; 09-12-2009 at 08:22 AM.
 
Old 09-12-2009, 08:19 AM   #35
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Windows 8.1. Attempting to get Slack 14.1 working.
Posts: 147

Original Poster
Rep: Reputation: 16
yea, I am running 32-bit slackware... It's an intel atom processor. Could probably run the 64 bit, but I dont want to risk it.

EDIT: You know what...? I wonder if I am running the 64-bit or not. I just checked the "Get Slack" mirrors to see if the Slackware13.0-iso folder differentiated between 32-bit or 64-bit, and it doesn't. I wonder of the default option is for 64-bit slackware.... trying the 64-bit hybrid drivers to see if I get any different results...

Last edited by Unr3a164; 09-12-2009 at 08:24 AM.
 
Old 09-12-2009, 08:23 AM   #36
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Ok. Please provide a link to the download page so we can have a look there. (Could the processor type be an issue here guys?)
 
Old 09-12-2009, 08:27 AM   #37
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
the command uname -a should tell you if you're running 64 or 32bit
 
Old 09-12-2009, 08:28 AM   #38
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Windows 8.1. Attempting to get Slack 14.1 working.
Posts: 147

Original Poster
Rep: Reputation: 16
Here is the mirror I got the iso from...

http://slackware.mirrors.tds.net/pub/slackware/

If this is really what the issue is, I am going to /facepalm so hard, i will leave a handprint on my face.
 
Old 09-12-2009, 08:28 AM   #39
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
No, I wanted to see the location where you are getting the wireless driver from
 
Old 09-12-2009, 08:45 AM   #40
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Windows 8.1. Attempting to get Slack 14.1 working.
Posts: 147

Original Poster
Rep: Reputation: 16
Oh, my bad. Here is the link to the drivers:

http://www.broadcom.com/support/802.11/linux_sta.php

Ok, here is what happened when I tried to make the 64-bit drivers:

Code:
make: Entering directory `/usr/src/linux-2.6.29.6'
  LD [M]  /root/hybrid_wl/wl.o
ld: Relocatable linking with relocations from format elf64-x86-64 (/root/hybrid_wl/lib/wlc_hybrid.o_shipped) to format elf32-i386 (/root/hybrid_wl/wl.o) is not supported
make[1]: *** [/root/hybrid_wl/wl.o] Error 1
make: *** [_module_/root/hybrid_wl] Error 2
make: Leaving directory `/usr/src/linux-2.6.29.6'
root@l3n0v0:~/hybrid_wl#
and here is the result of my uname -a

Code:
root@l3n0v0:~# uname -a
Linux l3n0v0 2.6.29.6 #2 Mon Aug 17 01:31:42 CDT 2009 i686 Intel(R) Atom(TM) CPU N270   @ 1.60GHz GenuineIntel GNU/Linux
root@l3n0v0:~#
So no /facepalm for me... I am running 32-bit.
 
Old 09-12-2009, 08:46 AM   #41
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 417Reputation: 417Reputation: 417Reputation: 417Reputation: 417
Quote:
yea, I am running 32-bit slackware... It's an intel atom processor. Could probably run the 64 bit, but I dont want to risk it.
Atom processors are 32 bit, so Slackware64 wouldn't even begin to run. You must have 32 bit installed if you've gotten this far.

Actually, if you're running hugesmp, the b43 module is probably loading on boot. Have a look in lsmod to see if it is. Also run the modinfo command on the wl module (modinfo wl.ko) and see if it is compiling against the right kernel. I have no idea why it wouldn't be, but lets check. Also look in /var/log/messages and /var/log syslog and run dmesg. See if wl is leaving any additional clues in one of the logs.
 
Old 09-12-2009, 08:53 AM   #42
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,225

Rep: Reputation: 5244Reputation: 5244Reputation: 5244Reputation: 5244Reputation: 5244Reputation: 5244Reputation: 5244Reputation: 5244Reputation: 5244Reputation: 5244Reputation: 5244
Quote:
Originally Posted by Unr3a164 View Post
I just checked the "Get Slack" mirrors to see if the Slackware13.0-iso folder differentiated between 32-bit or 64-bit, and it doesn't. I wonder of the default option is for 64-bit slackware...
There is also a slackware64-13.0-iso directory where you'll find 64bit Slackware. The two are completely separate.

Eric
 
Old 09-12-2009, 09:11 AM   #43
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
At this point, I suggest:

Delete all /lib/modules/folders

Then,

using pkgtool to install/reinstall the following:

Slackware huge.s kernel
Slack Kernel modules for that kernel.
Slack Kernel headers for that kernel.

Run LILO to make sure everything looks correct.

Reboot.

Extract the driver tar.gz fresh.

Build module fresh.

move module to /lib/modules/....

execute `depmod` command.

Try modprobe.

------------------

Something is weird here, and/or not installed or configured correctly. There are several others here who have built & are using the Broadcom module(s) fine, so there is *something* misconfigured on that system but I'm out of clues as to exactly what it may be. But something.

Sasha
 
Old 09-12-2009, 09:12 AM   #44
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Windows 8.1. Attempting to get Slack 14.1 working.
Posts: 147

Original Poster
Rep: Reputation: 16
Just FYI, the Atom processor gets registered as having two cores by a lot of OSes, so you can actually run 64-bit OSes on it. A buddy of mine is running the 64-bit version of Windows 7 on his netbook with the Intel Atom processor. So I could probably run Slackware64.

Here are the results of the commands you asked me to try, and I see something interesting in dmesg. But here they all are nonetheless

lsmod:

Code:
Module                  Size  Used by
i915                  150856  1 
drm                   136288  2 i915
snd_seq_dummy           2464  0 
snd_seq_oss            28576  0 
snd_seq_midi_event      5724  1 snd_seq_oss
snd_seq                43984  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6056  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            37504  0 
snd_mixer_oss          14172  1 snd_pcm_oss
ipv6                  234388  12 
pcmcia                 32204  0 
pcmcia_core            31628  1 pcmcia
cpufreq_ondemand        6148  1 
speedstep_lib           3744  0 
acpi_cpufreq            5676  0 
freq_table              3296  2 cpufreq_ondemand,acpi_cpufreq
ppdev                   7168  0 
lp                      9380  0 
parport_pc             23940  0 
parport                29768  3 ppdev,lp,parport_pc
fuse                   52472  5 
joydev                  9184  0 
psmouse                41644  0 
serio_raw               4896  0 
snd_hda_codec_realtek   188608  1 
i2c_i801                8784  0 
sg                     23852  0 
uvcvideo               57928  0 
snd_hda_intel          22952  0 
videodev               38496  1 uvcvideo
snd_hda_codec          53820  2 snd_hda_codec_realtek,snd_hda_intel
v4l1_compat            13184  2 uvcvideo,videodev
snd_hwdep               6720  1 snd_hda_codec
snd_pcm                64996  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              17920  2 snd_seq,snd_pcm
intel_agp              25564  1 
rtc_cmos                9548  0 
rtc_core               15252  1 rtc_cmos
tg3                   106816  0 
snd                    49764  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
video                  16460  0 
agpgart                28716  3 drm,intel_agp
thermal                15064  0 
rtc_lib                 2332  1 rtc_core
processor              33964  3 acpi_cpufreq,thermal
output                  2396  1 video
soundcore               5472  1 snd
libphy                 17724  1 tg3
thermal_sys            10748  3 video,thermal,processor
battery                 9824  0 
snd_page_alloc          7972  2 snd_hda_intel,snd_pcm
button                  5676  0 
ac                      3840  0 
evdev                   8960  12 
hwmon                   1936  1 thermal_sys
lib80211                4924  0
No b43 mod loading.

modinfo of wl.ko

Code:
filename:       wl.ko
alias:          pci:v000014E4d00004357sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004353sv*sd*bc*sc*i*
alias:          pci:v000014E4d0000432Dsv*sd*bc*sc*i*
alias:          pci:v000014E4d0000432Csv*sd*bc*sc*i*
alias:          pci:v000014E4d0000432Bsv*sd*bc*sc*i*
alias:          pci:v000014E4d0000432Asv*sd*bc*sc*i*
alias:          pci:v000014E4d00004329sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004328sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004315sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004313sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004312sv*sd*bc*sc*i*
alias:          pci:v000014E4d00004311sv*sd*bc*sc*i*
depends:        lib80211
vermagic:       2.6.29.6-smp SMP mod_unload 686 
parm:           oneonly:int
parm:           piomode:int
parm:           nompc:int
parm:           name:string
Dmesg: (I omitted all the boot up processes)

Code:
pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:02.0: setting latency timer to 64
[drm] Initialized i915 1.6.0 20080730 on minor 0
wl: version magic '2.6.29.6-smp SMP mod_unload 686 ' should be '2.6.29.6 mod_unload 486 '
What I don't get is why its trying to unload in 2.6.29.6-smp when I follow the instructions, it only ever puts anything in 2.6.29.6? Odd. So what can I do to resolve that wl error?
 
Old 09-12-2009, 09:14 AM   #45
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
I'm curious -- what is the tg3 and libphy modules, in the `lsmod` list??

I saw mention of "tg3" on the Broadcom website. Anyone know why that's in the lsmod list?

And yes, this is interesting:

wl: version magic '2.6.29.6-smp SMP mod_unload 686 ' should be '2.6.29.6 mod_unload 486 '

Sasha

Last edited by GrapefruiTgirl; 09-12-2009 at 09:16 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
broadcom wireless drivers lumak Slackware 1 08-17-2008 05:33 AM
hp tx1410us broadcom 4328 drivers superfly4545 Linux - Hardware 1 03-24-2008 10:17 AM
Broadcom BCM4401 Drivers Veratien Linux - Hardware 8 08-12-2007 01:04 AM
Broadcom/Linksys 64-bit drivers -Olly- Linux - Wireless Networking 13 09-20-2006 04:37 PM
Broadcom WiFi drivers scompa Slackware 10 05-15-2006 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration