• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

FreeBSD 8.2 and Broadcom (Dell Vostro 3500)

valsorym

Well-Known Member

Thanks: 20
Messages: 419

#26
Hello,

richardpl
What version of FreeBSD kernel source do you have?
I did so:
Code:
# mkdir /etc/csup
# cat /etc/csup/src-all
*default host=cvsup3.ua.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress src-all

# csup -g -L 2 /etc/csup/src-all
We have tag=. - the latest available source code, as I understand.
I also updated the ports
Code:
# cat /etc/csup/ports-all
...
...
*default compress ports-all

# csup -g -L 2 /etc/csup/ports-all
Which team can learn the version of the kernel source?

---

richardpl
Stop promoting linux software on this forum, please use linux if you want to use ndiswrapper.
I don't want to use Linux! I installed Linux Gentoo (Calculate Linux 13.03- Gentoo overlay) and Ubuntu Linux 11.04, Fedora 14|15, CentOS 5, Slackware 13, OpenSuse 11.4, Debian, Linux Mint. Iron work from the box. Except Fedora 14, CentOs 5, Debina, Mandriva 2011. But I do not want to use Linux.
---
wblock
Another option is to remove the Broadcom card, smash it with a hammer, and replace with an Atheros or Intel card.
I am confident that I can find a solution without the use of physical force. :)
---
wblock
While all this is going on, you could post to the freebsd-wireless mailing list, where the guys who actually work on the wireless drivers read and respond.
Yes, it is good variant.
You gave me the link: http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
I take it after several attempts.
---
I realized that [man=]ndisgen[/man] and ndiswrapper are two different things. Sorry for my stupidity.
 

richardpl

Aspiring Daemon

Thanks: 68
Messages: 841

#27
doorways said:
We have tag=. - the latest available source code, as I understand.
That is for FreeBSD CURRENT, while you are using 8.2, already guessed.

Fetch correct source and use ndisgen again.
 

wblock@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 3,558
Messages: 13,856

#28
doorways said:
I did so:
Code:
# mkdir /etc/csup
# cat /etc/csup/src-all
*default host=cvsup3.ua.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress src-all

# csup -g -L 2 /etc/csup/src-all
We have tag=. - the latest available source code, as I understand.
The latest (9-CURRENT), but not the version you have, 8.2-RELEASE. That would be
Code:
*default release=cvs tag=RELENG_8_2
I also updated the ports
Code:
# cat /etc/csup/ports-all
...
...
*default compress ports-all

# csup -g -L 2 /etc/csup/ports-all
Don't mix source and ports supfiles, use a separate supfile for each.

Incidentally, the "-g -L 2" options are not necessary.
 

valsorym

Well-Known Member

Thanks: 20
Messages: 419

#29
O, ok. I have directory /etc/csup. It has 5 files:

Code:
# cat /etc/csup/src-sys
*default host=cvsup3.ua.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_2
*default delete use-rel-suffix
*default compress src-sys
Code:
# cat /etc/csup/src-all
*default host=cvsup3.ua.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_2
*default delete use-rel-suffix
*default compress src-all
Code:
# cat /etc/csup/ports-all
*default host=cvsup3.ua.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_2
*default delete use-rel-suffix
*default compress ports-all
Code:
# cat /etc/csup/doc-all
*default host=cvsup3.ua.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_2
*default delete use-rel-suffix
*default compress doc-all
Code:
# cat /etc/csup/csup-run-list
#!/bin/sh
csup /etc/csup/src-sys
csup /etc/csup/doc-all
csup /etc/csup/ports-all
csup /etc/csup/src-all

# If I go sleep.
#shutdown -p now
And I work again:
Code:
# cd /etc/csup
# sh csup-run-list
Thank you.

--
wblock
Don't mix source and ports supfiles, use a separate supfile for each.
I don't understand what is at stake. Explain to me, please.
 

wblock@

Administrator
Staff member
Administrator
Moderator
Developer

Thanks: 3,558
Messages: 13,856

#30
Ports aren't branched. There is no 8.2 version of ports, there is only the current version. Kind of a Zen thing. The same ports are used for all versions of FreeBSD. Likewise for doc.

src-sys is a subset of source, so it is not needed.

For source, the tag and collection are
Code:
*default release=cvs tag=RELENG_8_2
src-all
For ports and doc,
Code:
*default release=cvs tag=.
ports-all
Now for the bad news... Using a tag that doesn't exist in ports probably means your ports tree was deleted. Easy enough to fix with the right tag.
 

valsorym

Well-Known Member

Thanks: 20
Messages: 419

#31
wblock
Using a tag that doesn't exist in ports probably means your ports tree was deleted.
Yes. The ports tree has been removed.
I was frightened and reinstalled the system again. :stud
In time installing I found a reason for removing the ports - yes, you're right.
 

valsorym

Well-Known Member

Thanks: 20
Messages: 419

#32
Hi all,

I took the advice (post #11)

wblock
For #2 and #3, please post to the freebsd-wireless mailing list.
(http://lists.freebsd.org/mailman/listinfo/freebsd-wireless)
After much deliberation, I received this answer:
Code:
Right, it's a new chip, supported by the broadcom binary 'wl' driver
or the brcm80211 code.

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

There's currently no support in FreeBSD for this.

Someone would have to port it, or you'd have to use the NDIS module to
load the Windows driver.

Sorry,

...
Now I will make every effort to experiment with ndisgen(8). The results (successful or not successful) I will write later.
 

valsorym

Well-Known Member

Thanks: 20
Messages: 419

#33
I. Download this driver: http://ixbt.radarsync.com/Download.aspx?locid=1260142

II. Necessary files (bcmwl6.inf and bcmwl6.sys) copy them into the system with FreeBSD. Copy in /usr/ndis/.

III.
Code:
# cd /usr/ndis
# ndisgen bcmwl6.inf bcmwl6.sys
# ls
bcmwl6.inf	bcmwl6.sys	bcmwl6_sys.ko
IV.
Code:
# cd /usr/ndis
# cp bcmwl6_sys.ko /boot/modules
# echo 'bcmwl6_sys_load="YES"' >> /boot/loader.conf

# reboot now
V.
Code:
# kldstat
Id Refs Address    Size     Name
 ...
 6    1 0xc1a75000 317bd8   bcmwl6_sys.ko
 7    3 0xc1d8d000 1f8f8    ndis.ko
 8    2 0xc1dad000 f578     if_ndis.ko
 ...


# pciconf -lv
...
none3@pci0:18:0:0:	class=0x028000 card=0x00101028 chip=0x472714e4 rev=0x01 hdr=0x00
    vendor     = 'Broadcom Corporation'
    class      = network
...
While that did not happen. I'll try again.
 

avilla@

Well-Known Member
Developer

Thanks: 57
Messages: 258

#35
  1. Do not use a Windows Vista/Seven driver (i.e., find a driver with the "5" in the name instead of the "6").
  2. Do not load it via loader.conf, do it manually after the boot.
 

Nicholas

Member

Thanks: 6
Messages: 59

#36
Here I am with the same problem with this Broadcom in Samsung RV511.

For both bcmwl5.sys and bcmwl564.sys (on i386 and amd64 respectively) ndisgen produces module that causes panic.

BTW, is there, possibly, any firmware file to use it with ndisgen?