On 5/14/09, Neal Hogan <nealho...@gmail.com> wrote: > On Thu, May 14, 2009 at 4:00 AM, Walter, Richard <richard.wal...@hob.de> > wrote: >> Hello, >> >> I tried to activate my Acer's Aspire 5315 wireless card >> with FreeBSD 7.2 i386 and had no luck. >> >> What i did: >> 1) #prtconf -lv >> no...@pci0:6:0:0: class=0x028000 card=0x04221468 chip=0x431114e4 >> rev=0x01 hdr=0x00 >> vendor = 'Broadcom Corporation' >> device = 'Dell Wireless 1390 WLAN Mini-PCI Card' >> class = network >> >> 2) i Downloaded the R112196.EXE archive from the Dell ftp server and >> extracted bcmwl5.inf and bcmwl5.sys >> 3) i copied those files to /sys/modules/if_ndis >> 4) # iconv -c -f utf-16 -t ascii bcmwl5.inf > bcmwl5.inf.ascii >> 5) with ndisgen and bcmwl5.inf.ascii/bcmwl5.sys i created >> successful bcmwl5_sys.ko. >> The ndisgen wrote a message at sys file loading: >> "This .SYS file appears to be in Windows(r) PE format" >> 6) # cp bcmwl5_sys.ko /boot/kernel >> 7) # kldload bcmwl5_sys.ko >> kldload: cant't load bcmwl5_sys.ko >> >> # kldloat /boot/kernel/bcmwl5_sys.ko >> kldload: cant't load /boot/kernel/bcmwl5_sys.ko
This is wrong, what is displayed on console? >> >> 8) Next try with help from >> http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers >> >> # rm /boot/kernel/bcmwl5_sys.ko >> # rm /sys/modules/if_ndis/bcmwl5_sys.ko >> >> 9)cd /sys/modules/if_ndis >> # ndiscvt -i bcmwl5.inf.ascii -s bcmwl5.sys -o ndis_driver_data.h >> >> 10) # make && make install >> Warning: Object directory not changed from original >> /usr/src/sys/modules/if_ndis >> @ -> /usr/src/sys >> machine -> /usr/src/sys/i386/include >> awk -f @/tools/makeobjops.awk @/kern/device_if.m -h >> awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h >> awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h >> awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h >> awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs >> :> opt_usb.h >> awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h >> cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 >> -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 -fno-common >> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow >> -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >> -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c >> /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c >> cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 >> -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 -fno-common >> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow >> -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >> -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c >> /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pci.c >> cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 >> -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 -fno-common >> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow >> -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >> -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c >> /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pccard.c >> cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 >> -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 -fno-common >> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow >> -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >> -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c >> /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_usb.c >> ld -d -warn-common -r -d -o if_ndis.kld if_ndis.o if_ndis_pci.o >> if_ndis_pccard.o if_ndis_usb.o >> :> export_syms >> awk -f /usr/src/sys/modules/if_ndis/../../conf/kmod_syms.awk if_ndis.kld >> export_syms | xargs -J% objcopy % if_ndis.kld >> ld -Bshareable -d -warn-common -o if_ndis.ko if_ndis.kld >> objcopy --strip-debug if_ndis.ko >> install -o root -g wheel -m 555 if_ndis.ko /boot/kernel >> kldxref /boot/kernel >> >> 11) # kldload if_ndis >> # kldstat >> Id Refs Address Size Name >> 1 19 0xc0400000 9fab28 kernel >> 2 1 0xc0dfb000 6a45c acpi.ko >> 3 1 0xc4767000 22000 linux.ko >> 4 1 0xc489c000 9000 i915.ko >> 5 1 0xc48a5000 13000 drm.ko >> 6 1 0xc532c000 c000 if_ndis.ko >> 7 1 0xc5338000 16000 ndis.ko >> >> 12) # ifconfig ndis0 up >> ifconfig: interface ndis0 does not exist >> >> I've no idea whats going wrong , perhaps anyone can help ? > > Perhaps I can indirectly help . . . > > I had a discussion on this list a little while back about the ndis > wrapper. Perhaps some of the suggestions made to me by folks who have > had success with it will help you. It looks as though you did some (if > not all) of the things that I did, which were commented on in the > discussion. My patience wore too thin for me to fully work it out, but > perhaps you're a better man than I. > > http://freebsd.monkey.org/freebsd-questions/200901/msg00435.html > > One thing that may not be mentioned in the above the thread is that > you may have to try different .inf and .sys files until you get one > that works . . . that consumed most of the little patience that I had. > > Good luck! > > -Neal > > >> >> Best regards, >> >> Richard >> >> >> >> >> HOB RD VPN - einfach, sicher und flexibel auf alle >> Unternehmensanwendungen und -daten zugreifen >> >> Praesentation unter: http://www.hob.de/rdvpn2/ >> >> >> HOB GmbH & Co. KG >> Schwadermuehlstr. 3 >> D-90556 Cadolzburg >> >> Geschaeftsfuehrung: Klaus Brandstaetter, Franz Wiedenmann, Zoran Adamovic >> >> AG Fuerth, HRA 5180 >> Steuer-Nr. 218/163/00107 >> USt-ID-Nr. DE 132747002 >> >> Komplementaerin HOB electronic Beteiligungs GmbH >> AG Fuerth, HRB 3416 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscr...@freebsd.org" >> > > > > -- > www.nealhogan.net www.lambdaserver.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > -- Paul _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"