Professional Web Applications Themes

NDIS installation problem with WMP54G v4 wireless card - FreeBSD

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 ...

  1. #1

    Default NDIS installation problem with WMP54G v4 wireless card

    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
    cse.buffalo.edu:/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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE ,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH, DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
    real memory = 268369920 (255 MB)
    avail memory = 252960768 (241 MB)
    ACPI APIC Table: <IntelR AWRDACPI>
    ioapic0 <Version 2.0> irqs 0-23 on motherboard
    npx0: [FAST]
    npx0: <math processor> on motherboard
    npx0: INT 16 interface
    acpi0: <IntelR AWRDACPI> 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: <ACPI CPU> on acpi0
    acpi_tz0: <Thermal Zone> on acpi0
    acpi_button0: <Power Button> on acpi0
    pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
    pci0: <ACPI PCI bus> on pcib0
    agp0: <Intel 82875P host to AGP bridge> mem 0xf0000000-0xf7ffffff at device
    0.0 on pci0
    pcib1: <PCI-PCI bridge> at device 1.0 on pci0
    pci1: <PCI bus> on pcib1
    pci1: <display, VGA> at device 0.0 (no driver attached)
    uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbc00-0xbc1f irq 16
    at device 29.0 on pci0
    uhci0: [GIANT-LOCKED]
    usb0: <Intel 82801EB (ICH5) USB controller USB-A> 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: <Intel 82801EB (ICH5) USB controller USB-B> port 0xb000-0xb01f irq 19
    at device 29.1 on pci0
    uhci1: [GIANT-LOCKED]
    usb1: <Intel 82801EB (ICH5) USB controller USB-B> 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: <Intel 82801EB (ICH5) USB controller USB-C> port 0xb400-0xb41f irq 18
    at device 29.2 on pci0
    uhci2: [GIANT-LOCKED]
    usb2: <Intel 82801EB (ICH5) USB controller USB-C> 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: <Intel 82801EB (ICH5) USB controller USB-D> port 0xb800-0xb81f irq 16
    at device 29.3 on pci0
    uhci3: [GIANT-LOCKED]
    usb3: <Intel 82801EB (ICH5) USB controller USB-D> 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: <serial bus, USB> at device 29.7 (no driver attached)
    pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
    pci2: <ACPI PCI bus> on pcib2
    fwohci0: <Texas Instruments TSB43AB23> mem
    0xfb000000-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: <IEEE1394(FireWire) bus> on fwohci0
    fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> 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: <ADMtek AN985 10/100BaseTX> port 0xa000-0xa0ff mem
    0xfb007000-0xfb0073ff irq 21 at device 5.0 on pci2
    miibus0: <MII bus> on dc0
    ukphy0: <Generic IEEE 802.3u media interface> 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: <network> at device 9.0 (no driver attached)
    isab0: <PCI-ISA bridge> at device 31.0 on pci0
    isa0: <ISA bus> on isab0
    atapci0: <Intel ICH5 UDMA100 controller> 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: <Intel ICH5 SATA150 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
    pci0: <multimedia, audio> at device 31.5 (no driver attached)
    fdc0: <floppy drive controller> 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: <Standard parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 on
    acpi0
    ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
    ppbus0: <Parallel port bus> on ppc0
    plip0: <PLIP network interface> on ppbus0
    lpt0: <Printer> on ppbus0
    lpt0: Interrupt-driven port
    ppi0: <Parallel I/O> on ppbus0
    atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
    atkbd0: <AT Keyboard> irq 1 on atkbdc0
    kbd0 at atkbd0
    atkbd0: [GIANT-LOCKED]
    orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff on isa0
    pmtimer0 on isa0
    sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    Timecounter "TSC" frequency 2405464911 Hz quality 800
    Timecounters tick every 10.000 msec
    ad0: 76319MB <ST380011A/3.06> [155061/16/63] at ata0-master UDMA100
    acd0: CDROM <TEAC CD-552E/VER T016> at ata1-master UDMA33
    Mounting root from ufs:/dev/ad0s1a
    drm0: <ATI Radeon QW RV200 7500> port 0x9000-0x90ff mem
    0xf9000000-0xf900ffff,0xe0000000-0xefffffff irq 16 at device 0.0 on pci1
    info: [drm] AGP at 0xf0000000 128MB
    info: [drm] Initialized radeon 1.11.0 20020828 on minor 0
    link_elf: symbol rt2500_sys_drv_data_start undefined

    Any help or pointers toward a coherent resource are appreciated!


    Texas Guest

  2. #2

    Default Re: NDIS installation problem with WMP54G v4 wireless card

    "Texas Consultant" <com> wrote:
     

    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
    Fabian Guest

  3. #3

    Default Re: NDIS installation problem with WMP54G v4 wireless card


    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!
     
    >a 
    >
    >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[/ref]


    Texas Guest

Similar Threads

  1. Wireless Network NDIS
    By Lourik in forum FreeBSD
    Replies: 2
    Last Post: March 23rd, 01:28 PM
  2. ndis problem
    By Pablo in forum FreeBSD
    Replies: 6
    Last Post: March 8th, 08:11 PM
  3. best wireless card for debian
    By Shri Shrikumar in forum Debian
    Replies: 1
    Last Post: August 4th, 06:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139