Fixed
Created: Nov 24, 2014
Updated: Dec 3, 2018
Resolved Date: Nov 26, 2014
Found In Version: 6.0
Fix Version: 6.0.0.15
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async
cav-octeon3 boot with usb caught calltrace on cn7030 board.
---------
[ 5.272150] L2 lock: interrupt 640 bytes
[ 5.274778] L2 lock: memcpy 1152 bytes
[ 5.277357] Bootbus flash: Setting flash for 8MB flash at 0x1f400000
[ 5.339694] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 5.364794] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 5.369886] scsi2 : usb-storage 3-1:1.0
[ 6.371104] scsi 2:0:0:0: Direct-Access Netac OnlyDisk PMAP PQ: 0 ANSI: 0 CCS
[ 6.379979] sd 2:0:0:0: [sda] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB)
[ 6.387349] sd 2:0:0:0: [sda] Write Protect is off
[ 6.390844] sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 6.392033] sd 2:0:0:0: [sda] No Caching mode page found
[ 6.396048] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 6.405547] sd 2:0:0:0: [sda] No Caching mode page found
[ 6.409563] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 6.415513] sda: sda1
[ 6.594678] irq 27: nobody cared (try booting with the "irqpoll" option)
[ 6.594683] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.55-ltsi-rt55-WR6.0.0.0_preempt-rt #2
[ 6.594717] Stack : 0000000000000000 0000000000000053 0000000000000000 0000000000000000
0000000000000004 ffffffff80bc0000 0000000000000000 0000000000000000
ffffffff80d20000 0000000000000000 0000000000000053 0000000000000000
ffffffff80ae7840 ffffffff80186eb4 0000000000000000 0000000000000000
0000000000000000 0000000000000000 ffffffff80d00000 ffffffff80d00000
ffffffff80a34678 ffffffff80b333f7 ffffffff80cfd1e8 ffffffff80b33880
0000000000000000 0000000000000000 ffffffff80aec180 000000000000001b
ffffffff80ae78c0 ffffffff80ae77d0 ffffffff80ae78e8 ffffffff802198f8
ffffffff80ae7920 ffffffff80188728 ffffffff80b334f0 ffffffff80a34678
0000000000000000 ffffffff8015dc48 0000000000000000 0000000000000000
...
[ 6.594718] Call Trace:
[ 6.594727] [<ffffffff8015dc48>] show_stack+0xd8/0xf8
[ 6.594732] [<ffffffff802198f8>] __report_bad_irq+0x58/0x128
[ 6.594736] [<ffffffff8021a044>] note_interrupt+0x2e4/0x340
[ 6.594739] [<ffffffff80216828>] handle_irq_event_percpu+0x170/0x300
[ 6.594742] [<ffffffff80216a3c>] handle_irq_event+0x84/0xd8
[ 6.594745] [<ffffffff8021a684>] handle_simple_irq+0xb4/0x140
[ 6.594750] [<ffffffff80105c5c>] octeon_irq_cib_handler+0xfc/0x1d8
[ 6.594753] [<ffffffff80216764>] handle_irq_event_percpu+0xac/0x300
[ 6.594756] [<ffffffff80216a3c>] handle_irq_event+0x84/0xd8
[ 6.594759] [<ffffffff8021a86c>] handle_level_irq+0xd4/0x190
[ 6.594761] [<ffffffff80215bd0>] generic_handle_irq+0x58/0x70
[ 6.594766] [<ffffffff808ffb9c>] do_IRQ+0x2c/0x40
[ 6.594770] [<ffffffff801073f4>] plat_irq_dispatch+0xac/0xe8
[ 6.594776] [<ffffffff80158240>] ret_from_irq+0x0/0x4
[ 6.594780] [<ffffffff801584c0>] __r4k_wait+0x20/0x40
[ 6.594786] [<ffffffff801db5ac>] cpu_startup_entry+0x15c/0x2b0
[ 6.594789] [<ffffffff80c26b1c>] start_kernel+0x4e0/0x50c
[ 6.594792] handlers:
[ 6.594798] [<ffffffff80216a90>] irq_default_primary_handler threaded [<ffffffff8068a188>] usb_hcd_irq
[ 6.594799] Disabling IRQ #27
[ 6.930082] phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x000001 Chip ID 0x000c01
[ 6.989734] sd 2:0:0:0: [sda] No Caching mode page found
[ 6.989738] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 6.989747] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 7.113611] Amd/Fujitsu Extended Query Table at 0x0040
[ 9.979664] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 9.984713] ata1.15: Port Multiplier 1.2, 0x1b4b:0x9602 r162, 2 ports, feat 0x1/0x1f
[ 9.998400] ata1.00: hard resetting link
[ 10.349862] ata1.00: SATA link down (SStatus 0 SControl 330)
[ 10.354263] ata1.01: hard resetting link
[ 10.699855] ata1.01: SATA link down (SStatus 0 SControl 330)
[ 10.704297] ata1: EH complete
[ 11.183879] Amd/Fujitsu Extended Query version 1.3.
[ 11.187637] number of CFI chips: 1
[ 11.192511] kmemleak: Kernel memory leak detector initialized
[ 11.192514] kmemleak: Automatic memory scanning thread started
[ 11.201971] rtc-ds1307 0-0068: setting system clock to 2014-11-21 21:11:29 UTC (1416604289)
1) configure --enable-board=cav-octeon3 --enable-kernel=preempt-rt --enable-rootfs=glibc-std --with-layer=/wr-testing/bts-dev --with-template=feature/bts --enable-parallel-pkgbuilds=16 --enable-jobs=16
2) make all
3) deploy images and boot target
Check dmesg info and logs