Wind River Support Network

HomeDefectsLIN5-18575
Fixed

LIN5-18575 : [wrLinux501 Async BSP altera-socfpga] Kernel panic and system hang when making ext3 file system on USB flash partition on target altera-socfpga-arriaV

Created: Apr 23, 2014    Updated: Dec 19, 2017
Resolved Date: May 8, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.15
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

On wrLinux501 Async BSP altera-socfpga, kernel panic and system hang when making ext3 file system on USB flash partition on target altera-socfpga-arriaV as follows:

root@localhost:~# fdisk -l

Disk /dev/mtdblock0: 8 MB, 8388608 bytes
255 heads, 63 sectors/track, 1 cylinders, total 16384 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock1: 58 MB, 58720256 bytes
255 heads, 63 sectors/track, 7 cylinders, total 114688 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk0: 3980 MB, 3980394496 bytes
4 heads, 16 sectors/track, 121472 cylinders, total 7774208 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2317fb34

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1         2121728     3799447      838860    b  W95 FAT32
/dev/mmcblk0p2           14336     2111487     1048576   83  Linux
/dev/mmcblk0p3            2048        4095        1024   a2  Unknown

Partition table entries are not in disk order

Disk /dev/sda: 31.5 GB, 31457280000 bytes
4 heads, 6 sectors/track, 2560000 cylinders, total 61440000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x65058fea

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    61439999    30718976   83  Linux
root@localhost:~# 
root@localhost:~# 
root@localhost:~#   
root@localhost:~# 
root@localhost:~# mkfs -t ext3 /dev/sda1 
mke2fs 1.42.1 (17-Feb-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1921360 inodes, 7679744 blocks
383987 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
235 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000

Allocating group tables: done                            
Writing inode tables: usb 2-1: reset high-speed USB device number 2 using dwc_otg
usb 2-1: device descriptor read/all, error -71
usb 2-1: reset high-speed USB device number 2 using dwc_otg
Unable to handle kernel paging request at virtual address fffffefd
pgd = 80004000
[fffffefd] *pgd=3fffe821, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT SMP ARM
Modules linked in: fat vfat minix nls_cp437 nls_iso8859_1
CPU: 1    Not tainted  (3.4.43-grsec-WR5.0.1.14_cgl #1)
PC is at assign_and_init_hc+0x40/0x648
LR is at dwc_otg_hcd_select_transactions+0x154/0x198
pc : [<804d3410>]    lr : [<804d59d8>]    psr: 600f0093
sp : be673e10  ip : be673e48  fp : be673e44
r10: fffffee1  r9 : be61cd00  r8 : be61cd80
r7 : be61cd30  r6 : be644a40  r5 : bddddb00  r4 : be644a6c
r3 : be61cd80  r2 : be644aac  r1 : ffffff01  r0 : be61cd00
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 3e1d004a  DAC: 00000015
Process irq/160-dwc_otg (pid: 66, stack limit = 0xbe6722f0)
Stack: (0xbe673e10 to 0xbe674000)
3e00:                                     809aa7a0 00000001 be673e3c be61cd00
3e20: bddddb34 00000002 be61cd30 be61cd80 be61cd00 be61cd40 be673e6c be673e48
3e40: 804d59d8 804d33dc be61cd00 be644a00 00000001 be61cd00 00000000 c0900500
3e60: be673e84 be673e70 804d6950 804d5890 00000002 00000000 be673f04 be673e88
3e80: 804d799c 804d681c 00000002 be673ed4 8007e350 8007cfb8 00000080 00000000
3ea0: be672000 00000000 8099c55c 80811cc8 8080fe54 806e8760 00000000 bddddb08
3ec0: 00000001 bddddae8 02000000 be644a00 00000200 00000001 800b6e78 600f0013
3ee0: be61cc00 00000001 bf8119c0 be644e40 00000000 8099d3fc be673f14 be673f08
3f00: 804d4cb8 804d76b0 be673f2c be673f18 804bcdb8 804d4ca8 be644e40 bf8119c0
3f20: be673f4c be673f30 800b6e88 804bcd7c 00000004 be672000 be644e60 00000001
3f40: be673f9c be673f50 800b6bb4 800b6e64 bf811a10 800b6e58 806a8908 00000000
3f60: be5f1f6c 800b6d24 00000000 00000003 00000013 bf8b7c1c be644e40 800b6a74
3f80: 00000013 00000000 00000000 00000000 be673ff4 be673fa0 8004be4c 800b6a80
3fa0: 00000000 be644e40 00000000 00000000 00000000 dead4ead ffffffff ffffffff
3fc0: 80a0b874 00000000 00000000 807bccec be673fd0 be673fd0 8004bdac bf8b7c1c
3fe0: 8004bdac 8000fbac 00000000 be673ff8 8000fbac 8004bdb8 ebbbfff7 f73feffe
[<804d3410>] (assign_and_init_hc+0x40/0x648) from [<804d59d8>] (dwc_otg_hcd_select_transactions+0x154/0x198)
[<804d59d8>] (dwc_otg_hcd_select_transactions+0x154/0x198) from [<804d6950>] (release_channel.isra.11+0x140/0x1a8)
[<804d6950>] (release_channel.isra.11+0x140/0x1a8) from [<804d799c>] (dwc_otg_hcd_handle_intr+0x2f8/0xa80)
[<804d799c>] (dwc_otg_hcd_handle_intr+0x2f8/0xa80) from [<804d4cb8>] (dwc_otg_hcd_irq+0x1c/0x28)
[<804d4cb8>] (dwc_otg_hcd_irq+0x1c/0x28) from [<804bcdb8>] (usb_hcd_irq+0x48/0x78)
[<804bcdb8>] (usb_hcd_irq+0x48/0x78) from [<800b6e88>] (irq_forced_thread_fn+0x30/0x58)
[<800b6e88>] (irq_forced_thread_fn+0x30/0x58) from [<800b6bb4>] (irq_thread+0x140/0x1d4)
[<800b6bb4>] (irq_thread+0x140/0x1d4) from [<8004be4c>] (kthread+0xa0/0xa4)
[<8004be4c>] (kthread+0xa0/0xa4) from [<8000fbac>] (kernel_thread_exit+0x0/0x8)
Code: e5844000 e5844004 e5911008 e241a020 (e5113004) 
---[ end trace 8c7c358e5cdb62fb ]---
Kernel panic - not syncing: Fatal exception in interrupt

Other Downloads


Live chat
Online