Menu

#57 modprobe -r gadgetfs fails to have dump info printed on bf527/bf548/bf609

2013R1
open
None
low
assigned
BF609-EZKIT
2014-12-13
2013-07-09
panmingquan
No

modprobe -r gadgetfs fails to have dump info printed.

Booting kernel from Legacy Image at 02000000 ...

Image Name: bf609-0.0-3.10.0-ADI-2012R2-pre
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 9848718 Bytes = 9.4 MiB
Load Address: 00001000
Entry Point: 003039a0
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 003039a0
Linux version 3.10.0-ADI-2012R2-pre (test@linux87-bf609-usbdev) (gcc version 4.3.5 (ADI-trunk/svn-5962) ) #4 Tue Jul 9 06:13:40 CST 2013
register early platform devices
bootconsole [early_shadow0] enabled
ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00213070
rodata = 0x00213094-0x002bf2ac
bss = 0x002c0000-0x002d5e8c
data = 0x002d5ea0-0x00300000
stack = 0x002fe000-0x00300000
init = 0x00300000-0x00aeb000
available = 0x00aeb000-0x07e00000
DMA Zone = 0x07e00000-0x08000000
Hardware Trace active and enabled
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF609 Rev 0.0
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
L2 SRAM : uncacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32004
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf609-ezkit:eth0:off
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Sorting __ex_table...
Memory available: 116676k/131072k RAM, (8108k init code, 2120k kernel code, 948k data, 2048k dma, 1172k reserved)
NR_IRQS:291
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (9 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (50 KB free)
Blackfin L2 SRAM: 256 KB (256 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00
i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
NET: Registered protocol family 23
Switching to clocksource bfin_cs_cycles
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
msgmni has been set to 227
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88) is a BFIN-UART
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
CAN device driver interface
bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
DWMAC100
Enhanced/Alternate descriptors
Extended descriptors not supported
Ring mode enabled
No HW DMA feature register supported
RX IPC Checksum Offload not configured.
libphy: stmmac: probed
eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
input: bfin-rotary as /devices/platform/bfin-rotary/input/input0
i2c /dev entries driver
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
dma_alloc_init: dma_page @ 0x046ad000 - 512 pages at 0x07e00000
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
adau1761 0-0038: Failed to firmware
bfin-eval-adau1x61 bfin-eval-adau1x61.0: adau-hifi <-> bfin-i2s.0 mapping ok
mmc0: host does not support reading read-only switch. assuming write-enable.
TCP: cubic registered
mmc0: new SD card at address e624
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
mmcblk0: mmc0:e624 SD02G 1.84 GiB
NET: Registered protocol family 29
mmcblk0: p1
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
eth0: device MAC address 00:e0:22:fe:87:dc
No MAC Management Counters available
stmmac_open: failed PTP initialisation
IP-Config: Complete:
device=eth0, hwaddr=00:e0:22:fe:87:dc, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
host=bf609-ezkit, domain=, nis-domain=(none)
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
ALSA device list:
#0: bfin-eval-adau1x61
Freeing unused kernel memory: 8108K (300000 - aeb000)</bio-0>

BusyBox v1.21.0 (2013-07-09 06:11:00 CST) hush - the humble shell

root:/>successful boot attempt ifconfig eth0libphy: stmmac-0:01 - Link is Up - 100/Full
10.100.4.50
root:/> Ethernet may has been activated already!
version
kernel: Linux release 3.10.0-ADI-2012R2-pre, build #4 Tue Jul 9 06:13:40 CST 2013
toolchain: /home/test/workspace/src/kernel/label/BF609-EZKIT-USBDEV/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-trunk/svn-5962)
user-dist: release git-a55648a, build #1 Tue Jul 9 04:14:39 CST 2013
root:/>
Linux version: 3.10.0-ADI-2012R2-pre
GCC version: 4.3.5 (ADI-trunk/svn-5962)
user-dist version: git-a55648a

** STEP 3: Start testing.

root:/> PASS: Make clean of testusb
PASS: Build testusb
spawn /bin/bash
su -
test@linux87-bf609-usbdev:usbdev$ su -
Password:
root@linux87-bf609-usbdev:~#
Case 1 ...PASS

Case 1 ...PASS
T-USBDEV/testsuites/usbdevc/kernel/label/BF609-EZKI
root@linux87-bf609-usbdev:usbdev# lsmod |grep usbtest
root@linux87-bf609-usbdev:usbdev# sudo modprobe usbtest
root@linux87-bf609-usbdev:usbdev#
Case 2 ...PASS

Case 2 ...PASS
lsmod |grep usbtest
usbtest 26414 0
root@linux87-bf609-usbdev:usbdev#
Case 3 ...PASS

Case 3 ...PASS
modprobe gadgetfs
gadgetfs: USB Gadget filesystem, version 24 Aug 2004
root:/>
Case 4 ...PASS
...

^Cpoll: Interrupted system call
done
gadgetfs: disconnected
musb-hdrc musb-hdrc.0.auto: remove, state 1
usb usb1: USB disconnect, device number 1
musb-hdrc musb-hdrc.0.auto: USB bus 1 deregistered
root:/> umount /dev/gadget
root:/> ls /dev/
audio pcmC0D0p tty25 tty50
bus ptmx tty26 tty51
console pts tty27 tty52
controlC0 random tty28 tty53
cpu_dma_latency snd tty29 tty54
dsp stderr tty3 tty55
event0 stdin tty30 tty56
fd stdout tty31 tty57
full timer tty32 tty58
gadget tty tty33 tty59
i2c-0 tty0 tty34 tty6
i2c-1 tty1 tty35 tty60
input tty10 tty36 tty61
kmsg tty11 tty37 tty62
linkport0 tty12 tty38 tty63
linkport1 tty13 tty39 tty7
linkport2 tty14 tty4 tty8
linkport3 tty15 tty40 tty9
log tty16 tty41 ttyBF0
mdev.seq tty17 tty42 urandom
mem tty18 tty43 vcs
mixer tty19 tty44 vcs1
mmcblk0 tty2 tty45 vcsa
mmcblk0p1 tty20 tty46 vcsa1
network_latency tty21 tty47 watchdog
network_throughput tty22 tty48 zero
null tty23 tty49
pcmC0D0c tty24 tty5
root:/> lsmod
Module Size Used by
gadgetfs 11793 4294967293
root:/> modprobe -r gadgetfs
INFO: task modprobe:389 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
modprobe D ffa008d4 0 389 362 0x00000000
Stack info:
SP: [0x058e7e24] <0x058e7e24> / kernel dynamic memory /
FP: (0x058e7ef4)
Memory from 0x058e7e20 to 058e8000
058e7e20: 002e1064 [0586ac7c] 04023820 055b1040 055b1194 002e0f84 002e1030 058e6000
058e7e40: 058e7e64 ffa02a24 00000000 00000000 00000100 058e6008 058e6000 00002c73
058e7e60: 058e6000 058e7e94 ffa02f16 0586ac7c 058e6000 04c41800 00000002 00000080
058e7e80: 00000020 058727ac 058e7ea8 00057afc 058e7ef4 058e7ef4 0003c4c8 00000001
058e7ea0: 00000000 00000000 67646167 73667465 00000000 00000000 00000000 00000000
058e7ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
058e7ee0: 00020000 058e7ee8 058e7f04 058e7f10 00000000 (00000000)<ffa00802> 0003c354
058e7f00: 00000081 00000000 ffffe000 00000000 00000000 ffa0084c 04e8763c 058727ac
058e7f20: 00000020 04e8d878 00008000 00000000 00000000 058e8000 04e8d878 04e8d878
058e7f40: 04d8ac28 ffa00dee 02003004 04ea0933 04d6523f 04ea0932 04d6523e 00000000
058e7f60: 00000000 0000147a 00000000 0000147a 00000000 00000000 00000001 00000000
058e7f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
058e7fa0: 04c41164 04c40000 04c40000 00000001 0587274c 058bfb80 058bfb8c 04c422c0
058e7fc0: 04c41148 04c41800 04636160 04e8d86c 00000081 00000000 00000000 00000020
058e7fe0: 058727ac 04e8763c 00000000 00000080 04c41164 04c41164 00000081 00002806
Return addresses in stack:
frame 1 : <0xffa00802> { _system_call + 0x6a }
INFO: task modprobe:389 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
modprobe D ffa008d4 0 389 362 0x00000000
Stack info:
SP: [0x058e7e24] <0x058e7e24> / kernel dynamic memory /
FP: (0x058e7ef4)
Memory from 0x058e7e20 to 058e8000
058e7e20: 002e1064 [0586ac7c] 04023820 055b1040 055b1194 002e0f84 002e1030 058e6000
058e7e40: 058e7e64 ffa02a24 00000000 00000000 00000100 058e6008 058e6000 00002c73
058e7e60: 058e6000 058e7e94 ffa02f16 0586ac7c 058e6000 04c41800 00000002 00000080
058e7e80: 00000020 058727ac 058e7ea8 00057afc 058e7ef4 058e7ef4 0003c4c8 00000001
058e7ea0: 00000000 00000000 67646167 73667465 00000000 00000000 00000000 00000000
058e7ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
058e7ee0: 00020000 058e7ee8 058e7f04 058e7f10 00000000 (00000000)<ffa00802> 0003c354
058e7f00: 00000081 00000000 ffffe000 00000000 00000000 ffa0084c 04e8763c 058727ac
058e7f20: 00000020 04e8d878 00008000 00000000 00000000 058e8000 04e8d878 04e8d878
058e7f40: 04d8ac28 ffa00dee 02003004 04ea0933 04d6523f 04ea0932 04d6523e 00000000
058e7f60: 00000000 0000147a 00000000 0000147a 00000000 00000000 00000001 00000000
058e7f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
058e7fa0: 04c41164 04c40000 04c40000 00000001 0587274c 058bfb80 058bfb8c 04c422c0
058e7fc0: 04c41148 04c41800 04636160 04e8d86c 00000081 00000000 00000000 00000020
058e7fe0: 058727ac 04e8763c 00000000 00000080 04c41164 04c41164 00000081 00002806
Return addresses in stack:
frame 1 : <0xffa00802> { _system_call + 0x6a }</ffa00802></ffa00802>

Discussion

  • Sonic Zhang

    Sonic Zhang - 2013-07-09
    • Priority: 3 --> middle
     
  • Sonic Zhang

    Sonic Zhang - 2013-07-12
    • assigned_to: Scott Jiang
     
  • Sonic Zhang

    Sonic Zhang - 2013-07-12
    • Resolution: none --> assigned
     
  • Sonic Zhang

    Sonic Zhang - 2013-08-22
    • Priority: middle --> low
     
  • Vivi Li

    Vivi Li - 2013-09-09
    • summary: modprobe -r gadgetfs on bf609 ezkit fails to have dump info printed --> modprobe -r gadgetfs fails to have dump info printed on bf527/bf548/bf609
     

Log in to post a comment.

MongoDB Logo MongoDB