NDIS installation problem with WMP54G v4 wireless card

2005-03-24 Thread Texas Consultant
Just put together a new BSD 5.3 machine, and compiled NDIS for use with a 
Linksys WMP54g v4 card; it's a wireless card that uses the Ralink RT2500 
chipset.

Everything works so far; major steps are:
1. make ndis
2. copy over NDIS driver files
3. make if_ndis
4. kldload ndis
However, kldload if_ndis returns an error:
/sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko
kldload: can't load
link_elf: symbol rt2500_sys_drv_data_start undefined
/usr/src/sys/modules/if_ndis/if_ndis.ko: No such file or directory
*** Error code 1
Stop in /usr/src/sys/modules/if_ndis.
DMESG follows:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.46-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf33  Stepping = 3
 
Features=0xbfebfbff
real memory  = 268369920 (255 MB)
avail memory = 252960768 (241 MB)
ACPI APIC Table: 
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
acpi_tz0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xf000-0xf7ff at device 
0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
uhci0:  port 0xbc00-0xbc1f irq 16 
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xb000-0xb01f irq 19 
at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xb400-0xb41f irq 18 
at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xb800-0xb81f irq 16 
at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0:  at device 29.7 (no driver attached)
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
fwohci0:  mem 
0xfb00-0xfb003fff,0xfb006000-0xfb0067ff irq 18 at device 2.0 on pci2
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:50:8d:00:00:5e:04:ce
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:50:8d:5e:04:ce
fwe0: Ethernet address: 02:50:8d:5e:04:ce
fwe0: if_start running deferred for Giant
sbp0:  on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
dc0:  port 0xa000-0xa0ff mem 
0xfb007000-0xfb0073ff irq 21 at device 5.0 on pci2
miibus0:  on dc0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:04:5a:68:c1:82
dc0: if_start running deferred for Giant
dc0: [GIANT-LOCKED]
pci2:  at device 9.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1:  port 
0xd000-0xd00f,0xcc00-0xcc03,0xc800-0xc807,0xc400-0xc403,0xc000-0xc007 irq 18 
at device 31.2 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
pci0:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
ppc0:  port 0x778-0x77b,0x378-0x37f irq 7 on 
acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0:  at iomem 0xc-0xccfff on isa0
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 2405464911 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 76319MB  [155061/16/63] at a

Re: NDIS installation problem with WMP54G v4 wireless card

2005-03-25 Thread Fabian Keil
"Texas Consultant" <[EMAIL PROTECTED]> wrote:

> Just put together a new BSD 5.3 machine, and compiled NDIS for use with a 
> Linksys WMP54g v4 card; it's a wireless card that uses the Ralink RT2500 
> chipset.
> 
> Everything works so far; major steps are:
> 
> 1. make ndis
> 2. copy over NDIS driver files
> 3. make if_ndis
> 4. kldload ndis
> 
> However, kldload if_ndis returns an error:
> 
> /sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko
> kldload: can't load
> link_elf: symbol rt2500_sys_drv_data_start undefined
> /usr/src/sys/modules/if_ndis/if_ndis.ko: No such file or directory
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/if_ndis.

I had a similar problem after updating from 5.3 to 5.4-PRERELEASE.
I rebuilded if_ndis, but forgot to first recreate ndis_driver_data.h.

After rebuilding ndis_driver_data.h with the right sources it worked again.

Could your sources by out of sync with the system?

Fabian
-- 
http://www.fabiankeil.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NDIS installation problem with WMP54G v4 wireless card

2005-03-27 Thread Texas Consultant
Thank you for the excellent advice. I converted the .INF file to ASCII from 
UTF-8 (no error was given), re-ndiscvt'd and it works.

Very happy now!
From: Fabian Keil <[EMAIL PROTECTED]>
To: "Texas Consultant" <[EMAIL PROTECTED]>
CC: freebsd-questions@freebsd.org
Subject: Re: NDIS installation problem with WMP54G v4 wireless card
Date: Fri, 25 Mar 2005 17:18:48 +0100
"Texas Consultant" <[EMAIL PROTECTED]> wrote:
> Just put together a new BSD 5.3 machine, and compiled NDIS for use with 
a
> Linksys WMP54g v4 card; it's a wireless card that uses the Ralink RT2500
> chipset.
>
> Everything works so far; major steps are:
>
> 1. make ndis
> 2. copy over NDIS driver files
> 3. make if_ndis
> 4. kldload ndis
>
> However, kldload if_ndis returns an error:
>
> /sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko
> kldload: can't load
> link_elf: symbol rt2500_sys_drv_data_start undefined
> /usr/src/sys/modules/if_ndis/if_ndis.ko: No such file or directory
> *** Error code 1
>
> Stop in /usr/src/sys/modules/if_ndis.

I had a similar problem after updating from 5.3 to 5.4-PRERELEASE.
I rebuilded if_ndis, but forgot to first recreate ndis_driver_data.h.
After rebuilding ndis_driver_data.h with the right sources it worked again.
Could your sources by out of sync with the system?
Fabian
--
http://www.fabiankeil.de

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