This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BulkIn IRP Pending!!! with linux 2.6.37 on DM368

Hi everyone, my wifi module work well on linux 2.6.18 ,but it cannot work on IPNC 4.0 with linux kernel 2.6.37. The following error appears:

RTMP_TimerListAdd: add timer obj c39e802c!
[ 79.049616] Rcv Wcid(1) AddBAReq
[ 79.052875] Start Seq = 00000000
[ 87.005641] BulkIn IRP Pending!!!
[ 90.005622] BulkIn IRP Pending!!!
[ 93.015399] BulkIn IRP Pending!!!
[ 96.025563] BulkIn IRP Pending!!!
[ 99.025523] BulkIn IRP Pending!!!
[ 102.025486] BulkIn IRP Pending!!!
[ 105.035568] BulkIn IRP Pending!!!
[ 108.035452] BulkIn IRP Pending!!!
[ 111.035140] BulkIn IRP Pending!!!
[ 114.055593] BulkIn IRP Pending!!!
[ 114.187233] ERROR!!! STAHandleRxMgmtFrame: frame too large, size = 1757
[ 117.066529] BulkIn IRP Pending!!!
[ 120.065504] BulkIn IRP Pending!!!
[ 120.199249] BIRIdx(4): RXDMALen not multiple of 4.[35990], BulkInBufLen = 8988)
[ 123.076251] BulkIn IRP Pending!!!

The hardware is the same when tested on 2.6.18 and 2.6.37 kernel.

Can anyone give some advice? I doubt the 2.6.37 kernel has some bugs.

  • Hi Minglei,

    I  also have this problem (BulkIn IRP Pending!!!)........did you fix it ?

    If you have any good idea, please give me some advice

  • Can you refer to v5.1 of DM36x IPNC which uses 2.6.37 kernel.

    All the wifi support/upgrades and fixes are done here

    Regards,

    Raghu

  • I have v5.1 of DM36x IPNC ( IPNC_RDK_DM36x_Release_5.1.0.zip)

    when i use the kernel image from sdboot, it always hang at Waiting for root device /dev/mmcblk0p2...

    can you give me some information ??

    log message following.


    DM36x initialization passed!

    TI UBL Version: 1.50
    Booting Catalog Boot Loader
    BootMode = SD/MMC
    Starting SDMMC Copy...
    DONE
    Jumping to entry point at 0x81080000.


    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)

    Cores: ARM 432 MHz
    DDR: 340 MHz
    I2C: ready
    DRAM: 128 MiB
    NAND: 256 MiB
    MMC: davinci: 0, davinci: 1
    Bad block table found at page 65472, version 0x01
    Bad block table found at page 131008, version 0x01
    Bad block table found at page 65408, version 0x01
    Bad block table found at page 130944, version 0x01
    nand_read_bbt: Bad block at 0x000003c80000
    nand_read_bbt: Bad block at 0x000005800000
    nand_read_bbt: Bad block at 0x000005820000
    nand_read_bbt: Bad block at 0x000005840000
    nand_read_bbt: Bad block at 0x000005860000
    nand_read_bbt: Bad block at 0x000005880000
    nand_read_bbt: Bad block at 0x0000058a0000
    nand_read_bbt: Bad block at 0x00000bc80000
    nand_read_bbt: Bad block at 0x00000d800000
    nand_read_bbt: Bad block at 0x00000d820000
    nand_read_bbt: Bad block at 0x00000d840000
    nand_read_bbt: Bad block at 0x00000d860000
    nand_read_bbt: Bad block at 0x00000d880000
    nand_read_bbt: Bad block at 0x00000d8a0000
    NAND read from offset 3c0000 failed -74
    *** Warning - readenv() failed, using default environment

    Net: No ETH PHY detected!!!
    DaVinci-EMAC
    Hit any key to stop autoboot: 0
    reading boot.scr

    388 bytes read
    ## Executing script at 80600000
    reading uImage

    3579808 bytes read
    ## Booting kernel from Legacy Image at 80700000 ...
    Image Name: Linux-2.6.37_IPNC_DM368_5.1.0
    Created: 2013-07-29 3:35:19 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3579744 Bytes = 3.4 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    [ 0.000000] Linux version 2.6.37_IPNC_DM368_5.1.0 (root@ppdrd-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Mon Jul 29 11:35:17 CST 2013
    [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    [ 0.000000] CPU: VIVT data cache, VIVT instruction cache
    [ 0.000000] Machine: DaVinci DM36x IPNC
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] DaVinci dm36x_rev1.2 variant 0x8
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 15240
    [ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw ip=off mem=60M video=davincifb:vid0=OFF:vid1=OFF:osd0=480x272x16,4050K dm365_imp.oper_mode=0 vpfe_capture.interface=1 davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=480x272 rootwait
    [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
    [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Memory: 60MB = 60MB total
    [ 0.000000] Memory: 57268k/57268k available, 4172k reserved, 0K highmem
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] DMA : 0xff000000 - 0xffe00000 ( 14 MB)
    [ 0.000000] vmalloc : 0xc4000000 - 0xfea00000 ( 938 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xc3c00000 ( 60 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .init : 0xc0008000 - 0xc0028000 ( 128 kB)
    [ 0.000000] .text : 0xc0028000 - 0xc034c000 (3216 kB)
    [ 0.000000] .data : 0xc034c000 - 0xc0371f60 ( 152 kB)
    [ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptable hierarchical RCU implementation.
    [ 0.000000] RCU-based detection of stalled CPUs is disabled.
    [ 0.000000] Verbose stalled-CPUs detection is disabled.
    [ 0.000000] NR_IRQS:245
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000292] Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)
    [ 0.240066] pid_max: default: 32768 minimum: 301
    [ 0.240323] Security Framework initialized
    [ 0.240486] Mount-cache hash table entries: 512
    [ 0.241353] CPU: Testing write buffer coherency: ok
    [ 0.243113] devtmpfs: initialized
    [ 0.246190] DaVinci: 8 gpio irqs
    [ 0.246848] NET: Registered protocol family 16
    [ 0.283217] dm365_rmd_cs_rdk_150_wl_init
    [ 0.359000] bio: create slab <bio-0> at 0
    [ 0.364365] SCSI subsystem initialized
    [ 0.368499] usbcore: registered new interface driver usbfs
    [ 0.369905] usbcore: registered new interface driver hub
    [ 0.371548] usbcore: registered new device driver usb
    [ 0.374995] vpss vpss: dm365_vpss vpss probed
    [ 0.375058] vpss vpss: dm365_vpss vpss probe success
    [ 0.379249] Advanced Linux Sound Architecture Driver Version 1.0.23.
    [ 0.383161] Switching to clocksource timer0_1
    [ 0.390093] Switched to NOHz mode on CPU #0
    [ 0.467798] NET: Registered protocol family 2
    [ 0.468103] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.468901] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    [ 0.469038] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.469133] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.469163] TCP reno registered
    [ 0.469199] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.469260] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.469788] NET: Registered protocol family 1
    [ 0.540026] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [ 0.543979] msgmni has been set to 111
    [ 0.548167] io scheduler noop registered (default)
    [ 0.549598] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [ 0.644634] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
    [ 0.997704] console [ttyS0] enabled
    [ 1.054522] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
    [ 1.096235] brd: module loaded
    [ 1.108938] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung )
    [ 1.117457] nand_bbt: ECC error while reading bad block table
    [ 1.123802] Creating 7 MTD partitions on "davinci_nand.0":
    [ 1.129339] 0x000000000000-0x000000300000 : "bootloader"
    [ 1.139612] 0x000000300000-0x000000500000 : "params"
    [ 1.149707] 0x000000500000-0x000000900000 : "kernel"
    [ 1.159947] 0x000000900000-0x000003100000 : "filesystem1"
    [ 1.170704] 0x000003100000-0x000003900000 : "data1"
    [ 1.180932] 0x000003900000-0x000006100000 : "filesystem2"
    [ 1.191616] 0x000006100000-0x000008000000 : "data2"
    [ 1.201805] davinci_nand davinci_nand.0: controller rev. 2.3
    [ 1.213504] spi_davinci spi_davinci.0: Controller at 0xfec66000
    [ 1.273327] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
    [ 1.279536] davinci_mdio davinci_mdio.0: no live phy, scanning all
    [ 1.383247] davinci_mdio davinci_mdio.0: timed out waiting for user access
    [ 1.390820] davinci_mdio: probe of davinci_mdio.0 failed with error -5
    [ 1.399234] i2c /dev entries driver
    [ 1.405333] Linux media interface: v0.10
    [ 1.410012] Linux video capture interface: v2.00
    [ 1.417126] vpbe-osd vpbe-osd: OSD sub device probe success
    [ 1.423816] vpbe-venc vpbe-venc: VENC sub device probe success
    [ 1.430529] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
    [ 1.436752] Setting default output to Composite
    [ 1.441312] Setting default mode to ntsc
    [ 1.445515] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
    [ 1.452235] vpbe-v4l2 vpbe-v4l2: layer=c353c000,layer->video_dev=c353c0e8
    [ 1.460218] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
    [ 1.467184] vpbe-v4l2 vpbe-v4l2: layer=c353ca00,layer->video_dev=c353cae8
    [ 1.476157] watchdog watchdog: heartbeat 60 sec
    [ 1.486899] Error: Driver 'davinci-mcbsp' is already registered, aborting...
    [ 1.497285] asoc: cq93vc-hifi <-> davinci-vcif mapping ok
    [ 1.507155] ALSA device list:
    [ 1.510156] #0: DaVinci DM365 EVM
    [ 1.515162] nf_conntrack version 0.5.0 (894 buckets, 3576 max)
    [ 1.523134] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 1.528954] TCP cubic registered
    [ 1.532243] NET: Registered protocol family 17
    [ 1.547013] Waiting for root device /dev/mmcblk0p2...

  • Hello,

    Please use NAND boot as we have not tested SDCARD boot when Wifi card is present, looks like MMC2 is conflicting here as we have pinmuxed it for SDIO wifi

    Regards,

    Raghu

  • Hi, jhan-jhang liao

    Have you ever solved the problem with RDK5.1??

    Thanks a lot!

  • Hi Minglei, 

    This problem still exist.....

    Do you have same problem ?

    Anybody can help us.....

  • HI

    did you solve the problem?

    Can you help me?