Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    NDIS on BSD 5.3 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
    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
    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!

  2. #2
    cd /usr/src/sys/modules/ndis
    make && make install

    cd /usr/src/sys/modules/if_ndis
    cp /path/to/winxpdriver/winxp.inf ./
    cp /path/to/winxpdriver/winxp.sys ./

    cd /usr/src/sys/modules/if_ndis

    ndiscvt -i W32DRIVER.INF -s W32DRIVER.SYS -o ndis_driver_data.h

    make && make install

    kldload ndis
    kldload if_ndis

    i got this from

    i made a few changes cause what i put is what i had to do (/usr/src/sys/modules/ not usr/sys/src
    after i got it loaded i went to
    configured network where ndis0 is loaded now
    i just got done doing mine
    2.1 mb
    tested at

    good luck

Posting Permissions

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