kldload if_run error
Hello. I try load if_run module on freebsd and got error uname -a FreeBSD 9.0-STABLE #0 r23 kldload if_run kldload: can't load if_run: Exec format error interface run.1 already present in the KLD 'kernel'! linker_load_file: Unsupported file type on FreeBSD 9.1-PRERELEASE i got the same error. help me. How i can load this module? I wont use usb wi-fi model d-link dwa-125. thanks ___ 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
d-link dwa-125 up
Hello. Help me up wifi router dlink dwa-125. My system. uname -a FreeBSD 9-stable kldload if_run kldload runfw kldstat 81 0x82628000 12a70if_run.ko 91 0x8263b000 216c runfw.ko After insert usb dmesg ugen5.2: Ralink at usbus5 /var/log/messages root: Unknown USB device: vendor 0x2001 product 0x3c1e bus uhub5 I try this http://lists.freebsd.org/pipermail/freebsd-usb/2011-October/010707.html only got error in /usr/src/sys/dev/usb/usbdevs added product DLINK DWL1250x3c1eDWL-125 in /usr/src/sys/dev/usb/usbdevs added RUN_DEV(DLINK,DWA125), error /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:175:5: error: use of undeclared identifier 'USB_PRODUCT_DLINK_DWA125' RUN_DEV(DLINK, DWA125), ^ /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:100:47: note: expanded from macro 'RUN_DEV' #define RUN_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) } ^ scratch space:148:1: note: expanded from macro 'USB_PRODUCT_' USB_PRODUCT_DLINK_DWA125 ^ @/dev/usb/usbdi.h:316:33: note: expanded from macro 'USB_VP' USB_VENDOR(vend), USB_PRODUCT(prod) ^ @/dev/usb/usbdi.h:313:42: note: expanded from macro 'USB_PRODUCT' .match_flag_product = 1, .idProduct = (prod) ^ /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:547:48: error: invalid application of 'sizeof' to an incomplete type 'const struct usb_device_id []' return (usbd_lookup_id_by_uaa(run_devs, sizeof(run_devs), uaa)); ^~ 2 errors generated. *** [if_run.o] Error code 1 How i cat start d-link dwa 125? Thanks ___ 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
Re: d-link dwa-125 up
I found my mistake. Now it worked. in /usr/src/sys/dev/usb/usbdevs added product DLINK DWA1250x3c1eDWA-125 in /usr/src/sys/dev/usb/usbdevs added RUN_DEV(DLINK,DWA125), and then cd /usr/src/sys/modules/usb/run make 2012/12/22 Вячеслав Агапов agapov.sl...@gmail.com Hello. Help me up wifi router dlink dwa-125. My system. uname -a FreeBSD 9-stable kldload if_run kldload runfw kldstat 81 0x82628000 12a70if_run.ko 91 0x8263b000 216c runfw.ko After insert usb dmesg ugen5.2: Ralink at usbus5 /var/log/messages root: Unknown USB device: vendor 0x2001 product 0x3c1e bus uhub5 I try this http://lists.freebsd.org/pipermail/freebsd-usb/2011-October/010707.html only got error in /usr/src/sys/dev/usb/usbdevs added product DLINK DWL1250x3c1eDWL-125 in /usr/src/sys/dev/usb/usbdevs added RUN_DEV(DLINK,DWA125), error /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:175:5: error: use of undeclared identifier 'USB_PRODUCT_DLINK_DWA125' RUN_DEV(DLINK, DWA125), ^ /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:100:47: note: expanded from macro 'RUN_DEV' #define RUN_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) } ^ scratch space:148:1: note: expanded from macro 'USB_PRODUCT_' USB_PRODUCT_DLINK_DWA125 ^ @/dev/usb/usbdi.h:316:33: note: expanded from macro 'USB_VP' USB_VENDOR(vend), USB_PRODUCT(prod) ^ @/dev/usb/usbdi.h:313:42: note: expanded from macro 'USB_PRODUCT' .match_flag_product = 1, .idProduct = (prod) ^ /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:547:48: error: invalid application of 'sizeof' to an incomplete type 'const struct usb_device_id []' return (usbd_lookup_id_by_uaa(run_devs, sizeof(run_devs), uaa)); ^~ 2 errors generated. *** [if_run.o] Error code 1 How i cat start d-link dwa 125? Thanks ___ 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