The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Вариант для распечатки  
Пред. тема | След. тема 
Форум Разговоры, обсуждение новостей
Режим отображения отдельной подветви беседы [ Отслеживать ]

Оглавление

Раздел полезных советов: Настройка 4G WiMAX-модема на чипах ..., auto_tips (ok), 25-Окт-10, (0) [смотреть все] +2

Сообщения [Сортировка по времени | RSS]


23. "проблема с /lib/firmware/macxvi.cfg"  +1 +/
Сообщение от Маркemail (?), 02-Дек-10, 16:09 
Не пойму что делать дальше, в винде все работает.

Linux local 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux

64-бит как видите, может из-за этого проблема ?

вот лог


[ 4934.471469] usb 2-1.6: USB disconnect, address 18
[ 4937.099252] usb 2-1.6: new high speed USB device using ehci_hcd and address 19
[ 4937.212480] usbbcm_device_probe:subtype[1] = 0x000000ff
[ 4937.212483]
[ 4937.212485] usbbcm_device_probe:subtype[2] = 0x00000000
[ 4937.212486]
[ 4937.212488] usbbcm_device_probe:subtype[4] = 0x00000000
[ 4937.212489]
[ 4937.212490] usbbcm_device_probe:subtype[8] = 0x00000000
[ 4937.212491]
[ 4937.212493] InitAdapter:Initialising Adapter = 0x6d900000
[ 4937.212522] InitAdapter:Adapter initialised
[ 4937.212525] usbbcm_device_probe:psIntfAdapter 0xc6bc8000
[ 4937.212528] InterfaceAdapterInit:MODEM IS CONFIGURED TO HIGH_SPEED
[ 4937.212660] InterfaceAdapterInit:First RDM Chip ID 0xbece0310
[ 4937.212662]
[ 4937.215724] InterfaceAdapterInit:Number of Altsetting aviailable for This Modem 0x2
[ 4937.215731]
[ 4937.215996] InterfaceAdapterInit:BCM16 is Applicable on this dongle
[ 4937.215999] InterfaceAdapterInit:Choosing AltSetting as a default setting
[ 4937.216003] InterfaceAdapterInit:Current number of endpoints :6
[ 4937.216005]
[ 4937.216090] InterfaceAdapterInit:usb dev registered
[ 4937.216186] create_worker_threads:Init Threads...
[ 4937.216528] open_firmware_file:Got file descriptor pointer of /lib/firmware/macxvi.cfg!
[ 4937.216537] beceem_parse_target_struct:AutoSyncup is Disabled
[ 4937.216540]
[ 4937.216542] beceem_parse_target_struct:Disabling autolink up
[ 4937.216545] beceem_parse_target_struct:DDR Setting: 3
[ 4937.216547]
[ 4937.216548] beceem_parse_target_struct:Power Save Mode: 0
[ 4937.216551]
[ 4937.216552] beceem_parse_target_struct:Enabling Auto Firmware Download
[ 4937.216555]
[ 4937.216557] beceem_parse_target_struct:MIPSConfig   : 0x0
[ 4937.216559]
[ 4937.216561] beceem_parse_target_struct:PMU MODE: 0
[ 4937.216564] beceem_parse_target_struct:uiEEPROMFlag  : 0x2
[ 4937.216566]
[ 4937.216569] Bcm_kill_all_URBs:Cancelling All Submitted TX Urbs
[ 4937.216571]
[ 4937.216574] Bcm_kill_all_URBs:Cancelling All submitted Rx Urbs
[ 4937.216576]
[ 4937.216579] Bcm_kill_all_URBs:TCB: used- 0 cur-0
[ 4937.216581]
[ 4937.216583] Bcm_kill_all_URBs:RCB: used- 0 cur-0
[ 4937.216585]
[ 4937.288772] ddr_init:Register Count is =48
[ 4937.288777]
[ 4937.295431] buffDnldVerify:Buffer readback verifier failed
[ 4937.295437] InitCardAndDownloadFirmware:Error downloading CFG file
[ 4937.295443] device_run:InitCardAndDownloadFirmware failed.
[ 4937.295446]
[ 4937.295449] usbbcm_device_probe:InterfaceAdapterInit Failed
[ 4937.295452]
[ 4937.295585] Bcm_kill_all_URBs:Cancelling All Submitted TX Urbs
[ 4937.295590]
[ 4937.295596] Bcm_kill_all_URBs:Cancelling All submitted Rx Urbs
[ 4937.295600]
[ 4937.295607] Bcm_kill_all_URBs:TCB: used- 0 cur-0
[ 4937.295611]
[ 4937.295614] Bcm_kill_all_URBs:RCB: used- 0 cur-0
[ 4937.295618]
[ 4937.346374] bcm_unregister_networkdev:Unregistering the Net Dev...
[ 4937.346377]
[ 4937.346380] unregister_control_device_interface:destroying created class
[ 4937.346406] AdapterFree:<========
[ 4937.346408]
[ 4937.346416] usbbcm: probe of 2-1.6:1.0 failed with error -22

Ответить | Правка | Наверх | Cообщить модератору

26. "проблема с /lib/firmware/macxvi.cfg"  +/
Сообщение от brom (??), 04-Дек-10, 00:19 
В документации, в разделе Known Limitations:

Versions of the Beceem kernel module driver up to and including 5.2.7.3P1 have
been tested on x86 32bit linux hosts.  Other architectures, including those runnin
64bit mode, and ARM/MIPS/PPC running in Big-endian mode, are not supported.

Ответить | Правка | Наверх | Cообщить модератору

34. "проблема с /lib/firmware/macxvi.cfg"  +/
Сообщение от myatz (?), 28-Дек-10, 23:52 
Долбался со сборкой для x86_64 а потом увидел:
http://git.kernel.org/?p=linux/kernel/git/shemminger/beceem....
под x64 модуль еще падает но там уже куча исправлений :), остался легкий финт ушами:

diff -d  ./Typedefs.h ./Typedefs.h.new
16c16
< typedef long  LONG;
---
> typedef int   LONG;

25,26c25,26
< typedef unsigned long  ULONG;
< typedef unsigned long  DWORD;
---
> typedef unsigned int   ULONG;
> typedef unsigned int   DWORD;

31c31
< typedef long*  PLONG;
---
> typedef int*   PLONG;

37c37
< typedef unsigned long*  PULONG;
---
> typedef unsigned int*   PULONG;

и вуаля...

cat ./Makefile.new
#
# Makefile for Beceem USB Wimax card
#

KERNEL_VER      := $(shell uname -r)
KDIR            := /lib/modules/$(KERNEL_VER)/build
KSRC            := /lib/modules/$(KERNEL_VER)/source
INSTALL_DIR     := /lib/modules/$(KERNEL_VER)/

TARGET_DRV      := bcm_wimax
EXTRA_CFLAGS    := -I$(src)/Include/
EXTRA_LDFLAGS   := -s

ifneq ($(KERNELRELEASE),)

obj-m = $(TARGET_DRV).o
$(TARGET_DRV)-objs := InterfaceDld.o InterfaceIdleMode.o InterfaceInit.o    \
                InterfaceRx.o InterfaceIsr.o InterfaceMisc.o InterfaceTx.o  \
                CmHost.o IPv6Protocol.o Qos.o Transmit.o Bcmnet.o DDRInit.o \
                HandleControlPacket.o LeakyBucket.o Misc.o sort.o Bcmchar.o \
                hostmibs.o PHSModule.o led_control.o nvm.o vendorspecificextn.o

else

PWD:= $(shell pwd)
default:
        $(MAKE) -Wall -C $(KSRC) O=$(KDIR) SUBDIRS=$(PWD) modules
        rm -f *.o *.mod.* .*.cmd

install:
        cp $(TARGET_DRV).ko $(INSTALL_DIR)

clean:
        find . -name \*.o -exec rm -rf '{}' ';'
        find . -name .\*.o.cmd -exec rm -rf '{}' ';'
        find . -name \*.*~ -exec rm -rf '{}' ';'
        find . -name \*.*.bak -exec rm -rf '{}' ';'
        rm -f *.ko *.o *.mod.* .*.cmd
        rm -fr .tmp_versions
        rm -rf Module.symvers

endif

Ответить | Правка | К родителю #23 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру