Re: if_ndis for Marvell

2006-06-24 Thread Patrick Bowen

Patrick Bowen wrote:


Scot Hetzel wrote:


On 6/20/06, Patrick Bowen [EMAIL PROTECTED] wrote:


Pyun YongHyeon wrote:

On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote:
  Hello:
 
 I have two questions.
 
 The first regards support for the Broadcom BCM94318 wireless LAN
  adapter. When trying to compile the module for if_ndis using 
bcmwl5.inf

  and bcmwl5.sys, I get the following error;
 
 In file included from
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66:
 @/sys/bus.h:461:23: device_if.h: No such file or directory
 @/sys/bus.h:462:20: bus_if.h: No such file or directory
 In file included from
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75:
 @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or 
directory

 
  Have these three files been removed from the source tree?
 
Thanks! That takes care of the wired connection. Now all I have to 
do is

get the wireless to work.

Regarding the original subject line, the ndis was, of course, for the
Broadcom device. I tried a different .inf file after googling some more
(bcmwl5a.inf), and this time I was able to produce an if_ndis.ko 
file. I

loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip,
zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be
doing something wrong...



Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from
the windows driver?

bcmwl5_sys.ko is what you need to load to get your wireless card to
work with the NDIS module.

Scot



Here's an interesting data point. I used ndisgen on Windows drivers 
from HP, and it produced module BCMWL5_SYS.ko. (my machine is a 
Gateway MX6121).


Unfortunately, after loading the module, the device didn't show up in 
dmesg or ifconfig. Now I'm wondering if the card isn't ferschimmeled...


Patrick
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]



One last data point on this;

I downloaded the R102320.EXE driver package from Dell (for the U.S.), 
ran ndisgen on the bcmwl5.inf/.sys files, and got a bcmwl5_sys.ko module 
that would load, but wouldn't associate.


Just for grins, I also got the R90507.EXE package (non-U.S or Japan), 
built the module, which loads, and associates, and works just fine, 
thank you very much. As a matter of fact, I'm using it now.


Remember, my laptop is a Gateway MX6121 with a Broadcom BCM94318 
mini-PCI card. this is what I see for the card in dmesg;


ndis0: Dell TrueMobile 1300 WLAN Mini-PCI Card mem 
0xb8004000-0xb8005fff irq 17 at device 4.0 on pci6

ndis0: NDIS API version: 5.1

Go figure...

Patrick
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_ndis for Marvell

2006-06-22 Thread Scot Hetzel

On 6/20/06, Patrick Bowen [EMAIL PROTECTED] wrote:

Pyun YongHyeon wrote:

On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote:
  Hello:
 
 I have two questions.
 
 The first regards support for the Broadcom BCM94318 wireless LAN
  adapter. When trying to compile the module for if_ndis using bcmwl5.inf
  and bcmwl5.sys, I get the following error;
 
 In file included from
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66:
 @/sys/bus.h:461:23: device_if.h: No such file or directory
 @/sys/bus.h:462:20: bus_if.h: No such file or directory
 In file included from
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75:
 @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or directory
 
  Have these three files been removed from the source tree?
 
Thanks! That takes care of the wired connection. Now all I have to do is
get the wireless to work.

Regarding the original subject line, the ndis was, of course, for the
Broadcom device. I tried a different .inf file after googling some more
(bcmwl5a.inf), and this time I was able to produce an if_ndis.ko file. I
loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip,
zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be
doing something wrong...



Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from
the windows driver?

bcmwl5_sys.ko is what you need to load to get your wireless card to
work with the NDIS module.

Scot

--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_ndis for Marvell

2006-06-22 Thread Patrick Bowen

Scot Hetzel wrote:


On 6/20/06, Patrick Bowen [EMAIL PROTECTED] wrote:


Pyun YongHyeon wrote:

On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote:
  Hello:
 
 I have two questions.
 
 The first regards support for the Broadcom BCM94318 wireless LAN
  adapter. When trying to compile the module for if_ndis using 
bcmwl5.inf

  and bcmwl5.sys, I get the following error;
 
 In file included from
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66:
 @/sys/bus.h:461:23: device_if.h: No such file or directory
 @/sys/bus.h:462:20: bus_if.h: No such file or directory
 In file included from
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75:
 @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or 
directory

 
  Have these three files been removed from the source tree?
 
Thanks! That takes care of the wired connection. Now all I have to do is
get the wireless to work.

Regarding the original subject line, the ndis was, of course, for the
Broadcom device. I tried a different .inf file after googling some more
(bcmwl5a.inf), and this time I was able to produce an if_ndis.ko file. I
loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip,
zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be
doing something wrong...



Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from
the windows driver?

bcmwl5_sys.ko is what you need to load to get your wireless card to
work with the NDIS module.

Scot



Scot;

Tried both ways.

Ndiscvt doesn't complain, but also doesn't give the bcmwl5_sys.ko module.

Ndisgen takes the .inf and .sys files but gives a huge error, which I've 
attached. Maybe it will help.


If I can provide anything else, please let me know.

Thanks,
Patrick
Script started on Thu Jun 22 16:29:16 2006
sg1# ndisgetn

 ==
-- Windows(r) driver converter ---
==

This script is designed to guide you through the process
of converting a Windows(r) binary driver module and .INF
specification file into a FreeBSD ELF kernel module for use
with the NDIS compatibility system.

The following options are available:

1] Learn about the NDIS compatibility system
2] Convert individual firmware files
3] Convert driver
4] Exit

Enter your selection here and press return: 3
 ==
-- Windows(r) driver converter ---
==

INF file validation


A .INF file is most often provided as an ASCII file, however
files with multilanguage support are provided in Unicode format.
Please type in the path to your .INF file now.

 bcmwl5a.inf

This .INF file appears to be ASCII.

Press return to continue... 
 ==
-- Windows(r) driver converter ---
==

Driver file validation


Now you need to specify the name of the Windows(r) driver .SYS
file for your device. Note that if you are running FreeBSD/amd64,
then you must provide a driver that has been compiled for the
64-bit Windows(r) platform. If a 64-bit driver is not available
for your device, you must install FreeBSD/i386 and use the
32-bit driver instead.

Please type in the path to the Windows(r) driver .SYS file now.

 bcmwl5.sys

This .SYS file appears to be in Windows(r) PE format.

Press return to continue... 
 ==
-- Windows(r) driver converter ---
==

Driver file conversion

The script will now try to convert the .INF and .SYS files
using the ndiscvt(1) utility. This utility can handle most
.INF files; however, occasionally it can fail to parse some files
due to subtle syntax issues: the .INF syntax is very complex,
and the Windows(r) parser will sometimes allow files with small
syntax errors to be processed correctly which ndiscvt(1) will
not. If the conversion fails, you may have to edit the .INF
file by hand to remove the offending lines.

Press enter to try converting the files now: 

Conversion was successful.

Press enter to continue... 
 

Re: if_ndis for Marvell

2006-06-22 Thread Patrick Bowen

Scot Hetzel wrote:


On 6/20/06, Patrick Bowen [EMAIL PROTECTED] wrote:


Pyun YongHyeon wrote:

On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote:
  Hello:
 
 I have two questions.
 
 The first regards support for the Broadcom BCM94318 wireless LAN
  adapter. When trying to compile the module for if_ndis using 
bcmwl5.inf

  and bcmwl5.sys, I get the following error;
 
 In file included from
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66:
 @/sys/bus.h:461:23: device_if.h: No such file or directory
 @/sys/bus.h:462:20: bus_if.h: No such file or directory
 In file included from
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75:
 @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or 
directory

 
  Have these three files been removed from the source tree?
 
Thanks! That takes care of the wired connection. Now all I have to do is
get the wireless to work.

Regarding the original subject line, the ndis was, of course, for the
Broadcom device. I tried a different .inf file after googling some more
(bcmwl5a.inf), and this time I was able to produce an if_ndis.ko file. I
loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip,
zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be
doing something wrong...



Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from
the windows driver?

bcmwl5_sys.ko is what you need to load to get your wireless card to
work with the NDIS module.

Scot



Here's an interesting data point. I used ndisgen on Windows drivers from 
HP, and it produced module BCMWL5_SYS.ko. (my machine is a Gateway MX6121).


Unfortunately, after loading the module, the device didn't show up in 
dmesg or ifconfig. Now I'm wondering if the card isn't ferschimmeled...


Patrick
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


if_ndis for Marvell

2006-06-20 Thread Patrick Bowen

Hello:

   I have two questions.

   The first regards support for the Broadcom BCM94318 wireless LAN 
adapter. When trying to compile the module for if_ndis using bcmwl5.inf 
and bcmwl5.sys, I get the following error;


   In file included from 
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66:   
   @/sys/bus.h:461:23: device_if.h: No such file or directory

   @/sys/bus.h:462:20: bus_if.h: No such file or directory
   In file included from 
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75:

   @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or directory

Have these three files been removed from the source tree?

   Second, while googling for info on FreeBSD drivers for the Marvell 
Semiconductor 88E8036 Yukon PCI-E fast ethernet controller, I found 
reference to a if_myk.ko module, which I also don't find in the source tree.


(pertinent information)

[EMAIL PROTECTED] ~]$ uname -a
FreeBSD sg1.sgc.org 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 
04:42:56 UTC 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


[EMAIL PROTECTED] ~]$ pciconf -lv
...
[EMAIL PROTECTED]:0:0: class=0x02 card=0x0365107b chip=0x435111ab rev=0x10 
hdr=0x00   
   vendor   = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'

   device   = '88E8036 Yukon PCI-E Fast Ethernet Controller'
   class= network
   subclass = ethernet
[EMAIL PROTECTED]:4:0: class=0x028000 card=0x000617f9 chip=0x431814e4 rev=0x02 
hdr=0x00   
   vendor   = 'Broadcom Corporation'

   class= network
...

Any pointers, help, or explainations would be greatly appreciated.

TIA,
Patrick
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_ndis for Marvell

2006-06-20 Thread Pyun YongHyeon
On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote:
  Hello:
  
 I have two questions.
  
 The first regards support for the Broadcom BCM94318 wireless LAN 
  adapter. When trying to compile the module for if_ndis using bcmwl5.inf 
  and bcmwl5.sys, I get the following error;
  
 In file included from 
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66:   
 @/sys/bus.h:461:23: device_if.h: No such file or directory
 @/sys/bus.h:462:20: bus_if.h: No such file or directory
 In file included from 
  /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75:
 @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or directory
  
  Have these three files been removed from the source tree?
  
 Second, while googling for info on FreeBSD drivers for the Marvell 
  Semiconductor 88E8036 Yukon PCI-E fast ethernet controller, I found 
  reference to a if_myk.ko module, which I also don't find in the source tree.
  

http://lists.freebsd.org/pipermail/freebsd-net/2006-January/009543.html

It seems that the driver is not stable but it's the only driver
for Yukon II.
-- 
Regards,
Pyun YongHyeon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_ndis for Marvell

2006-06-20 Thread Patrick Bowen

Pyun YongHyeon wrote:


On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote:
 Hello:
 
I have two questions.
 
The first regards support for the Broadcom BCM94318 wireless LAN 
 adapter. When trying to compile the module for if_ndis using bcmwl5.inf 
 and bcmwl5.sys, I get the following error;
 
In file included from 
 /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66:   
@/sys/bus.h:461:23: device_if.h: No such file or directory

@/sys/bus.h:462:20: bus_if.h: No such file or directory
In file included from 
 /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75:

@/dev/pci/pcivar.h:165:20: pci_if.h: No such file or directory
 
 Have these three files been removed from the source tree?
 
Second, while googling for info on FreeBSD drivers for the Marvell 
 Semiconductor 88E8036 Yukon PCI-E fast ethernet controller, I found 
 reference to a if_myk.ko module, which I also don't find in the source tree.
 


http://lists.freebsd.org/pipermail/freebsd-net/2006-January/009543.html

It seems that the driver is not stable but it's the only driver
for Yukon II.
 



Thanks! That takes care of the wired connection. Now all I have to do is 
get the wireless to work.


Regarding the original subject line, the ndis was, of course, for the 
Broadcom device. I tried a different .inf file after googling some more 
(bcmwl5a.inf), and this time I was able to produce an if_ndis.ko file. I 
loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip, 
zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be 
doing something wrong...


Patrick
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]