DMA error while scanning

Mike
2011-05-23
2013-02-17
  • Mike

    Mike - 2011-05-23

    Hi there,

    i try to get the driver to work with a kernel 2.6.38.6. compile, install and loading work without problems. Also bring the iface up work. During i let it scan for networks, there is a dma error in syslog. i have made a  debug output.

    BUILD
    mdomann@sysiphus:~/source/acx-mac80211-HEAD-3ca4b84$ make V=1
    make -C /lib/modules/2.6.38.6acx111/build M=/home/mdomann/source/acx-mac80211-HEAD-3ca4b84 CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=y CONFIG_ACX_MAC80211_MEM=n EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1  -DCONFIG_ACX_MAC80211_PCI=1  -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\\\"\\\"" modules
    make[1]: Entering directory `/usr/src/linux-2.6.38.6'
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        \
        echo;                               \
        echo "  ERROR: Kernel configuration is invalid.";       \
        echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                               \
        /bin/false)
    mkdir -p /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/.tmp_versions ; rm -f /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/.tmp_versions/*
    make -f scripts/Makefile.build obj=/home/mdomann/source/acx-mac80211-HEAD-3ca4b84
      gcc -Wp,-MD,/home/mdomann/source/acx-mac80211-HEAD-3ca4b84/.common.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -I/usr/src/linux-2.6.38.6/arch/x86/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DCONFIG_ACX_MAC80211=1 -DCONFIG_ACX_MAC80211_PCI=1 -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\"\"  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(common)"  -D"KBUILD_MODNAME=KBUILD_STR(acx_mac80211)" -c -o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c: In function ‘acx_proc_register_entries’:
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c:4841:25: warning: variable ‘ppe’ set but not used [-Wunused-but-set-variable]
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c: In function ‘acx_rx’:
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c:5070:13: warning: variable ‘noise’ set but not used [-Wunused-but-set-variable]
      if [ "-pg" = "-pg" ]; then if [ /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.o != "scripts/mod/empty.o" ]; then /usr/src/linux-2.6.38.6/scripts/recordmcount "/home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.o"; fi; fi;
      gcc -Wp,-MD,/home/mdomann/source/acx-mac80211-HEAD-3ca4b84/.pci.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -I/usr/src/linux-2.6.38.6/arch/x86/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DCONFIG_ACX_MAC80211=1 -DCONFIG_ACX_MAC80211_PCI=1 -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\"\"  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(pci)"  -D"KBUILD_MODNAME=KBUILD_STR(acx_mac80211)" -c -o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.c
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.c: In function ‘acxpci_tx_data’:
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.c:2104:24: warning: variable ‘wireless_header’ set but not used [-Wunused-but-set-variable]
      if [ "-pg" = "-pg" ]; then if [ /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.o != "scripts/mod/empty.o" ]; then /usr/src/linux-2.6.38.6/scripts/recordmcount "/home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.o"; fi; fi;
      gcc -Wp,-MD,/home/mdomann/source/acx-mac80211-HEAD-3ca4b84/.usb.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -I/usr/src/linux-2.6.38.6/arch/x86/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DCONFIG_ACX_MAC80211=1 -DCONFIG_ACX_MAC80211_PCI=1 -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\"\"  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(usb)"  -D"KBUILD_MODNAME=KBUILD_STR(acx_mac80211)" -c -o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.c
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.c: In function ‘acxusb_tx_data’:
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.c:1287:24: warning: variable ‘whdr’ set but not used [-Wunused-but-set-variable]
      if [ "-pg" = "-pg" ]; then if [ /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.o != "scripts/mod/empty.o" ]; then /usr/src/linux-2.6.38.6/scripts/recordmcount "/home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.o"; fi; fi;
      ld -m elf_x86_64   -r -o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.o 
    (cat /dev/null;   echo kernel//home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.ko;) > /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/modules.order
    make -f /usr/src/linux-2.6.38.6/scripts/Makefile.modpost
      scripts/mod/modpost   -i /usr/src/linux-2.6.38.6/Module.symvers -I /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/Module.symvers  -o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/Module.symvers -S -w  -s
    WARNING: modpost: Found 3 section mismatch(es).
    To see full details build your kernel with:
    'make CONFIG_DEBUG_SECTION_MISMATCH=y'
      gcc -Wp,-MD,/home/mdomann/source/acx-mac80211-HEAD-3ca4b84/.acx-mac80211.mod.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -I/usr/src/linux-2.6.38.6/arch/x86/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DCONFIG_ACX_MAC80211=1 -DCONFIG_ACX_MAC80211_PCI=1 -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\"\"  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(acx_mac80211.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(acx_mac80211)" -DMODULE  -c -o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.mod.o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.mod.c
      ld -r -m elf_x86_64 -T /usr/src/linux-2.6.38.6/scripts/module-common.lds --build-id  -o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.ko /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.mod.o
    make[1]: Leaving directory `/usr/src/linux-2.6.38.6'
    mdomann@sysiphus:~/source/acx-mac80211-HEAD-3ca4b84$ make CONFIG_DEBUG_SECTION_MISMATCH=y
    make -C /lib/modules/2.6.38.6acx111/build M=/home/mdomann/source/acx-mac80211-HEAD-3ca4b84 CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=y CONFIG_ACX_MAC80211_USB=y CONFIG_ACX_MAC80211_MEM=n EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1  -DCONFIG_ACX_MAC80211_PCI=1  -DCONFIG_ACX_MAC80211_USB=1 -DACX_GIT_VERSION=\\\"\\\"" modules
    make[1]: Entering directory `/usr/src/linux-2.6.38.6'
      CC [M]  /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.o
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c: In function ‘acx_proc_register_entries’:
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c:4841:25: warning: variable ‘ppe’ set but not used [-Wunused-but-set-variable]
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c: In function ‘acx_rx’:
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/common.c:5070:13: warning: variable ‘noise’ set but not used [-Wunused-but-set-variable]
      CC [M]  /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.o
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.c: In function ‘acxpci_tx_data’:
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/pci.c:2104:24: warning: variable ‘wireless_header’ set but not used [-Wunused-but-set-variable]
      CC [M]  /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.o
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.c: In function ‘acxusb_tx_data’:
    /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/usb.c:1287:24: warning: variable ‘whdr’ set but not used [-Wunused-but-set-variable]
      LD [M]  /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o
    WARNING: /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o(.data+0x398): Section mismatch in reference from the variable acxpci_drv_id to the variable .devinit.data:acxpci_id_tbl
    The variable acxpci_drv_id references
    the variable __devinitdata acxpci_id_tbl
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, 
    WARNING: /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o(.data+0x3a0): Section mismatch in reference from the variable acxpci_drv_id to the function .devinit.text:acxpci_probe()
    The variable acxpci_drv_id references
    the function __devinit acxpci_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, 
    WARNING: /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o(.data+0x3a8): Section mismatch in reference from the variable acxpci_drv_id to the function .devexit.text:acxpci_remove()
    The variable acxpci_drv_id references
    the function __devexit acxpci_remove()
    If the reference is valid then annotate the
    variable with __exit* (see linux/init.h) or name the variable:
    *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, 
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o(.data+0x398): Section mismatch in reference from the variable acxpci_drv_id to the variable .devinit.data:acxpci_id_tbl
    The variable acxpci_drv_id references
    the variable __devinitdata acxpci_id_tbl
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, 
    WARNING: /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o(.data+0x3a0): Section mismatch in reference from the variable acxpci_drv_id to the function .devinit.text:acxpci_probe()
    The variable acxpci_drv_id references
    the function __devinit acxpci_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, 
    WARNING: /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.o(.data+0x3a8): Section mismatch in reference from the variable acxpci_drv_id to the function .devexit.text:acxpci_remove()
    The variable acxpci_drv_id references
    the function __devexit acxpci_remove()
    If the reference is valid then annotate the
    variable with __exit* (see linux/init.h) or name the variable:
    *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, 
      CC      /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.mod.o
      LD [M]  /home/mdomann/source/acx-mac80211-HEAD-3ca4b84/acx-mac80211.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.38.6'
    DMESG
    May 22 10:31:48 sysiphus kernel: acx: acx-mac80211, version: v0.6.0 (git: unknown)
    May 22 10:31:48 sysiphus kernel: acx: this driver is still EXPERIMENTAL
    May 22 10:31:48 sysiphus kernel: acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information
    May 22 10:31:48 sysiphus kernel: acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
    May 22 10:31:48 sysiphus kernel: acx: running on a little-endian CPU
    May 22 10:31:48 sysiphus kernel: PCI/VLYNQ module initialized, waiting for cards to probe...
    May 22 10:31:48 sysiphus kernel: acx: mutex_init(&adev->mutex); // adev = 0xffff880208a91b00
    May 22 10:31:49 sysiphus kernel: acx_pci 0000:01:08.0: BAR 0: set to [mem 0xfdefe000-0xfdefffff] (PCI address [0xfdefe000-0xfdefffff])
    May 22 10:31:49 sysiphus kernel: acx_pci 0000:01:08.0: BAR 1: set to [mem 0xfdec0000-0xfdedffff] (PCI address [0xfdec0000-0xfdedffff])
    May 22 10:31:49 sysiphus kernel: acx_pci 0000:01:08.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
    May 22 10:31:49 sysiphus kernel: acx: found an ACX111-based wireless network card at 0000:01:08.0, irq:18, phymem1:0xFDEFE000, phymem2:0xFDEC0000, mem1:0xffffc9000817c000, mem1_size:8192, mem2:0xffffc90008180000, mem2_size:131072
    May 22 10:31:49 sysiphus kernel: acx: the initial debug setting is 0x000A
    May 22 10:31:49 sysiphus kernel: acx: using IRQ 18: OK
    May 22 10:31:49 sysiphus kernel: acx: need firmware for acx111 chipset with radio ID 16
    May 22 10:31:49 sysiphus kernel: Please provide via firmware hotplug:
    May 22 10:31:49 sysiphus kernel: either combined firmware (single file named 'tiacx111c16')
    May 22 10:31:49 sysiphus kernel: or two files (base firmware file 'tiacx111' + radio fw 'tiacx111r16')
    May 22 10:31:49 sysiphus kernel: acx: need to load firmware for acx111 chipset with radio ID 16, please provide via firmware hotplug:
    May 22 10:31:49 sysiphus kernel: acx: either one file only (<c>ombined firmware image file, radio-specific) or two files (radio-less base image file *plus* separate <r>adio-specific extension file)
    May 22 10:31:49 sysiphus kernel: acx: requesting firmware image 'tiacx111c16'
    May 22 10:31:49 sysiphus kernel: CE: hpet increased min_delta_ns to 11520 nsec
    May 22 10:31:49 sysiphus kernel: acx: acx_write_fw (main/combined): 0
    May 22 10:31:49 sysiphus kernel: acx: acx_validate_fw (main/combined): 0
    May 22 10:31:49 sysiphus kernel: acx: initializing max packet templates
    May 22 10:31:49 sysiphus kernel: acx: dump queue head (from card):
    May 22 10:31:49 sysiphus kernel: acx: len: 24
    May 22 10:31:49 sysiphus kernel: acx: tx_memory_block_address: 18D60
    May 22 10:31:49 sysiphus kernel: acx: rx_memory_block_address: 12D60
    May 22 10:31:49 sysiphus kernel: acx: tx1_queue address: 12294
    May 22 10:31:49 sysiphus kernel: acx: rx1_queue address: 11F54
    May 22 10:31:49 sysiphus kernel: acx: NVSv: 01 16 05 00 02 31 01 00 
    May 22 10:31:49 sysiphus kernel: acx: NVS_vendor_offs:01CD probe_delay:200 eof_memory:1114112
    May 22 10:31:49 sysiphus kernel: acx: CCAModes:04 Diversity:01 ShortPreOpt:01 PBCC:01 ChanAgil:00 PHY:05 Temp:01
    May 22 10:31:49 sysiphus kernel: acx: AntennaID:00 Len:02 Data:01 02 
    May 22 10:31:49 sysiphus kernel: acx: PowerLevelID:01 Len:02 Data:001E 000A 
    May 22 10:31:49 sysiphus kernel: acx: DataRatesID:02 Len:05 Data:02 04 11 22 44 
    May 22 10:31:49 sysiphus kernel: acx: DomainID:03 Len:06 Data:30 20 30 31 32 40 
    May 22 10:31:49 sysiphus kernel: acx: ProductID:04 Len:09 Data:TI ACX100
    May 22 10:31:49 sysiphus kernel: acx: ManufacturerID:05 Len:07 Data:TI Test
    May 22 10:31:49 sysiphus kernel: acx: Got antenna[0,1]: 0x4A 0x04
    May 22 10:31:49 sysiphus kernel: acx: Got regulatory domain 0x30
    May 22 10:31:49 sysiphus kernel: acx: don't know how to get sensitivity for radio type 0x16
    May 22 10:31:49 sysiphus kernel: acx: new ratevector: 82 84 0B 0C 12 16 18 24 2C 30 48 60 6C
    May 22 10:31:49 sysiphus kernel: acx: Got tx-power-level: 1
    May 22 10:31:49 sysiphus kernel: acx: Firmware: firmware_version='Rev 1.2.1.34' hw_id=03010101
    May 22 10:31:49 sysiphus kernel: acx: chipset TNETW1130, radio type 0x16 (Radia (RC2422?)), form factor 0x01 ((mini-)PCI / CardBus), EEPROM version 0x05, uploaded firmware 'Rev 1.2.1.34'
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/info
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/diag
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/eeprom
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/phy
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/debug
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/sensitivity
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/tx_level
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/antenna
    May 22 10:31:49 sysiphus kernel: acx: creating proc entry /proc/driver/acx_phy1/reg_domain
    May 22 10:31:49 sysiphus kernel: acx: net device phy1, driver compiled against wireless extensions 22 and Linux 2.6.38.6acx111
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2457000 KHz - 2482000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2457000 KHz - 2482000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: cfg80211: Updating information on frequency 2484 MHz for a 20 MHz width channel with regulatory rule:
    May 22 10:31:49 sysiphus kernel: cfg80211: 2474000 KHz - 2494000 KHz @  KHz), (600 mBi, 2000 mBm)
    May 22 10:31:49 sysiphus kernel: ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
    May 22 10:31:49 sysiphus kernel: acx: USB module initialized, probing for devices...
    May 22 10:31:49 sysiphus kernel: usbcore: registered new interface driver acx_usb
    root@sysiphus:~# lspci -vv
    01:08.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
        Subsystem: D-Link System Inc DWL-G520+ Wireless PCI Adapter
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32, Cache Line Size: 4 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at fdefe000 (32-bit, non-prefetchable) [size=8K]
        Region 1: Memory at fdec0000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [40] Power Management version 2
            Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
            Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: acx_pci
    root@sysiphus:~# uname -a
    Linux sysiphus 2.6.38.6acx111 #1 SMP PREEMPT Tue May 17 17:38:18 CEST 2011 x86_64 GNU/Linux
    root@sysiphus:~# iwconfig
    wlan0     IEEE 802.11bg  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
    root@sysiphus:~# ifconfig wlan0 up
    dmesg Output
    May 22 10:36:07 sysiphus kernel: acx: updating initial settings on iface activation
    May 22 10:36:07 sysiphus kernel: acx: an important setting has been changed. The packet templates must also be updated
    May 22 10:36:07 sysiphus kernel: acx: updating packet templates
    May 22 10:36:07 sysiphus kernel: acx: updating Tx fallback to 1 retries
    May 22 10:36:07 sysiphus kernel: acx: updating the transmit power level: 1
    May 22 10:36:07 sysiphus kernel: acx: Updating tx-power-level to: 1
    May 22 10:36:07 sysiphus kernel: acx: Updating antenna[0,1]: 0x4A 0x04
    May 22 10:36:07 sysiphus kernel: acx: pdating the Energy Detect (ED) threshold: 0
    May 22 10:36:07 sysiphus kernel: acx: acx111 doesn't support ED
    May 22 10:36:07 sysiphus kernel: acx: updating the Channel Clear Assessment (CCA) value: 0x00
    May 22 10:36:07 sysiphus kernel: acx: acx111 doesn't support CCA
    May 22 10:36:07 sysiphus kernel: acx: updating channel to: 1
    May 22 10:36:07 sysiphus kernel: acx: updating the short retry limit: 7, long retry limit: 4
    May 22 10:36:07 sysiphus kernel: acx: updating the tx MSDU lifetime: 4096
    May 22 10:36:07 sysiphus kernel: acx: Updating the regulatory domain: 0x30
    May 22 10:36:07 sysiphus kernel: acx: updating WEP key settings
    May 22 10:36:07 sysiphus kernel: acx: updating sensitivity value: 2
    May 22 10:36:07 sysiphus kernel: acx: Enabling firmware auto radio-recalibration.
    May 22 10:36:07 sysiphus kernel: acx: acx_e_op_add_interface: vif_type=0002
    May 22 10:36:07 sysiphus kernel: acx: acx_select_opmode: NL80211_IFTYPE_STATION
    May 22 10:36:07 sysiphus kernel: acx: Virtual interface added (type: 0x00000002, MAC: 00:11:95:47:DC:49)
    May 22 10:36:07 sysiphus kernel: ieee80211 phy1: device now idle
    May 22 10:36:07 sysiphus kernel: acx: Updating tx-power-level to: 1
    root@sysiphus:~# iwlist wlan0 scan
    wlan0     No scan results
    May 22 10:37:57 sysiphus kernel: ieee80211 phy1: device no longer idle - scanning
    May 22 10:37:57 sysiphus kernel: acx: phy1: tx error 0x80, buf 00! (DMA error)
    May 22 10:37:57 sysiphus kernel: acx: updating channel to: 2
    May 22 10:37:57 sysiphus kernel: acx: phy1: tx error 0x80, buf 01! (DMA error)
    May 22 10:37:57 sysiphus kernel: acx: updating channel to: 3
    May 22 10:37:57 sysiphus kernel: acx: phy1: tx error 0x80, buf 02! (DMA error)
    May 22 10:37:57 sysiphus kernel: acx: updating channel to: 4
    May 22 10:37:58 sysiphus kernel: acx: phy1: tx error 0x80, buf 03! (DMA error)
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 5
    May 22 10:37:58 sysiphus kernel: acx: phy1: tx error 0x80, buf 04! (DMA error)
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 6
    May 22 10:37:58 sysiphus kernel: acx: phy1: tx error 0x80, buf 05! (DMA error)
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 7
    May 22 10:37:58 sysiphus kernel: acx: phy1: tx error 0x80, buf 06! (DMA error)
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 8
    May 22 10:37:58 sysiphus kernel: acx: phy1: tx error 0x80, buf 07! (DMA error)
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 9
    May 22 10:37:58 sysiphus kernel: acx: phy1: tx error 0x80, buf 08! (DMA error)
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 10
    May 22 10:37:58 sysiphus kernel: acx: phy1: tx error 0x80, buf 09! (DMA error)
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 11
    May 22 10:37:58 sysiphus kernel: acx: phy1: tx error 0x80, buf 10! (DMA error)
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 12
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 13
    May 22 10:37:58 sysiphus kernel: acx: updating channel to: 14
    May 22 10:37:59 sysiphus kernel: acx: updating channel to: 1
    May 22 10:37:59 sysiphus kernel: ieee80211 phy1: device now idle
    

    I have tried some modes and some powerstates with tx power, but i didn't have succes. Have you any hints for me to get it work?

    regards Mike

     
  • Oliver Winker

    Oliver Winker - 2011-05-23

    Hi Mike,

    Interesting problem - didn't see that yet. I have an DWL-G520+ at home and will check if I can reproduce this with an 2.6.38.6 kernel on AMD64 when I'm back home next week . Keep you updated!

    BR, Oliver

     
  • Mike

    Mike - 2011-05-27

    Hi Oliver,

    yesterday i have compiled the driver for Kernel 2.6.39, witch was build successfully. But the errror while scanning is the same.

    Mike

     
  • Oliver Winker

    Oliver Winker - 2011-05-27

    Ok, thanks for the info - I'll check also myself when I'm back next week.

    If you have the possibility, a test on a 2.6.32 kernel could be interesting in the meanwhile - 2.6.32 on AMD64 I remember to have tested ok.

    So if would be somehow AMD64 arch related, then it should work at least there. If not, then it's maybe something else and we not to research a bit more ;).

    -Oliver

     
  • Oliver Winker

    Oliver Winker - 2011-05-30

    Hi Mike,

    I can reproduce it here. It still works on 2.6.32 (at least), but gives the same DMA errors on 2.6.38.

    I'll have a look the coming days to get this fixed.

    BR, Oliver

     
  • Oliver Winker

    Oliver Winker - 2011-06-02

    Hi Mike,

    This should be fixed now with latest commit 831bbb61.

    Cheers, Oliver

     
  • Mike

    Mike - 2011-06-07

    Hi Oliver,

    works well. If i have some time, i will also try kernel 3.0rc1.

    The monitor mode for kismet is not implemented yet, right?

    And i only get a scan result as root, not as user, but i don't know if it is a mistake or an error.

    Why you don't describe the current development on the website? At the first view i thought there is no continue development.

    Thanks for you work.

    Mike

     
  • Oliver Winker

    Oliver Winker - 2011-06-07

    Hi Mike,

    Ok, good. Thanks for the feedback!

    On 3.0 you probably get two compile warnings (as with 2.6.29), but not critical - I'll fix this up soon as well.

    Indeed, monitor mode is currently not yet supported. There is no technical issue with it, just a matter of coding it in. But it's on the upper part of the Todo list, so probably will come soon. The last weeks I was a bit held up with acx support for an AR7 board, but now more time can go in the driver again.

    Permissions for scanning via iwtools (iwlist) is possibly a matter of access to the iwtools somehow - good question actually, but I don't know in detail right now how this is managed. Within the driver this is not managed, at least ;). It works on my box without being root.

    You're right with the website - it's also matter of time ;).

    Cheers, Oliver

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks