AnsweredAssumed Answered

twr-vf65gs10: Linux 4.9.21 deadlock (yocto-morty)

Question asked by Petr Kubiznak on Oct 11, 2017
Latest reply on Oct 17, 2017 by OtavioSalvador

I believe this must be a known issue. Using yocto-morty (community), I built complete Linux image:

 

MACHINE=twr-vf65gs10 DISTRO=fslc-framebuffer source setup-environment build-vf610-twr-fb

bitbake core-image-minimal

 

When started from SD card, I get the following kernel log:

 

Starting kernel ...

 

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.21-fslc+gb69ecd63c123 (petr@z270) (gcc version 6.2.0 (GCC) ) #1 SMP Wed Oct 11 12:08:16 CEST 2017
[    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: VF610 Tower Board
[    0.000000] cma: Reserved 16 MiB at 0x8ec00000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @cfdd0000 s30952 r8192 d22296 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyLP1,115200 root=/dev/mmcblk0p2 rootwait rw
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 218884K/262144K available (10240K kernel code, 797K rwdata, 3416K rodata, 1024K init, 8246K bss, 26876K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0b00000   (11232 kB)
[    0.000000]       .init : 0xc0f00000 - 0xc1000000   (1024 kB)
[    0.000000]       .data : 0xc1000000 - 0xc10c766c   ( 798 kB)
[    0.000000]        .bss : 0xc10c9000 - 0xc18d6968   (8247 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU lockdep checking is enabled.
[    0.000000]     Build-time adjustment of leaf fanout to 32.
[    0.000000]     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x06060000
[    0.000000] clk: failed to reparent enet_sel to eth_osc: -22
[    0.000000] clk: failed to reparent enet_ts_sel to eth_osc: -22
[    0.000000] clk: failed to reparent enet_sel to eth_osc: -22
[    0.000000] clk: failed to reparent enet_ts_sel to eth_osc: -22
[    0.000027] sched_clock: 64 bits at 132MHz, resolution 7ns, wraps every 2199023255551ns
[    0.000084] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x1e7178659b, max_idle_ns: 440795204301 ns
[    0.000305] Switching to timer-based delay loop, resolution 7ns
[    0.002000] Console: colour dummy device 80x30
[    0.002085] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.002113] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.002139] ... MAX_LOCK_DEPTH:          48
[    0.002164] ... MAX_LOCKDEP_KEYS:        8191
[    0.002188] ... CLASSHASH_SIZE:          4096
[    0.002214] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.002238] ... MAX_LOCKDEP_CHAINS:      65536
[    0.002262] ... CHAINHASH_SIZE:          32768
[    0.002286]  memory used by lock dependency info: 5167 kB
[    0.002312]  per task-struct memory footprint: 1536 bytes
[    0.002419] Calibrating delay loop (skipped), value calculated using timer frequency.. 264.00 BogoMIPS (lpj=1320000)
[    0.002475] pid_max: default: 32768 minimum: 301
[    0.003477] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003521] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.008829] CPU: Testing write buffer coherency: ok
[    0.008998] ftrace: allocating 31105 entries in 92 pages
[    0.142814] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.142956] Setting up static identity map for 0x80100000 - 0x80100070
[    0.152225] Brought up 1 CPUs
[    0.152274] SMP: Total of 1 processors activated (264.00 BogoMIPS).
[    0.152301] CPU: All CPU(s) started in SVC mode.
[    0.157345] devtmpfs: initialized
[    0.215662] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[    0.217962] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.218067] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.222053] pinctrl core: initialized pinctrl subsystem
[    0.232012] NET: Registered protocol family 16
[    0.243543] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.255053] cpuidle: using governor menu
[    0.255412] No ATAGs?
[    0.255500] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.255533] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.285596] vf610-pinctrl 40048000.iomuxc: initialized IMX pinctrl driver
[    0.468317] vgaarb: loaded
[    0.471240] SCSI subsystem initialized
[    0.474708] usbcore: registered new interface driver usbfs
[    0.475214] usbcore: registered new interface driver hub
[    0.475875] usbcore: registered new device driver usb
[    0.482770] i2c i2c-0: IMX I2C adapter registered
[    0.483548] i2c i2c-0: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
[    0.485070] Linux video capture interface: v2.00
[    0.485666] pps_core: LinuxPPS API ver. 1 registered
[    0.485698] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.485867] PTP clock support registered
[    0.488444] Advanced Linux Sound Architecture Driver Initialized.
[    0.496917] Bluetooth: Core ver 2.22
[    0.497178] NET: Registered protocol family 31
[    0.497210] Bluetooth: HCI device and connection manager initialized
[    0.497369] Bluetooth: HCI socket layer initialized
[    0.497451] Bluetooth: L2CAP socket layer initialized
[    0.497975] Bluetooth: SCO socket layer initialized
[    0.505045] clocksource: Switched to clocksource arm_global_timer
[    1.010225] VFS: Disk quotas dquot_6.6.0
[    1.010666] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.097028] NET: Registered protocol family 2
[    1.101640] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    1.101835] TCP bind hash table entries: 2048 (order: 4, 73728 bytes)
[    1.104082] TCP: Hash tables configured (established 2048 bind 2048)
[    1.104498] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    1.105357] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    1.107999] NET: Registered protocol family 1
[    1.111302] RPC: Registered named UNIX socket transport module.
[    1.111349] RPC: Registered udp transport module.
[    1.111378] RPC: Registered tcp transport module.
[    1.111407] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.117650] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
[    1.132083] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    1.212052] NFS: Registering the id_resolver key type
[    1.212548] Key type id_resolver registered
[    1.212584] Key type id_legacy registered
[    1.212920] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.219178] fuse init (API version 7.26)
[    1.248030] io scheduler noop registered
[    1.248081] io scheduler deadline registered
[    1.249505] io scheduler cfq registered (default)
[    1.358272] 40028000.serial: ttyLP1 at MMIO 0x40028000 (irq = 19, base_baud = 4125000) is a FSL_LPUART
[    2.061470] console [ttyLP1] enabled
[    2.069852] 40029000.serial: ttyLP2 at MMIO 0x40029000 (irq = 20, base_baud = 4125000) is a FSL_LPUART
[    2.084785] [drm] Initialized
[    2.191640] brd: module loaded
[    2.252225] loop: module loaded
[    2.268343] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    2.274731] nand: Micron vf610_nfc
[    2.278264] nand: bus width 16 instead 8 bit
[    2.282549] nand: No NAND device found
[    2.299532] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    2.311349] libphy: Fixed MDIO Bus: probed
[    2.318763] CAN device driver interface
[    2.326959] 400d0000.ethernet supply phy not found, using dummy regulator
[    2.338481] libphy: fec_enet_mii_bus: probed
[    2.357464] 400d1000.ethernet supply phy not found, using dummy regulator
[    2.366525] fec 400d1000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
[    2.376814] fec 400d1000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: b6:d6:d5:fd:97:5a
[    2.401405] libphy: fec_enet_mii_bus: probed
[    2.413726] usbcore: registered new interface driver asix
[    2.419890] usbcore: registered new interface driver ax88179_178a
[    2.426635] usbcore: registered new interface driver cdc_ether
[    2.432841] usbcore: registered new interface driver net1080
[    2.439108] usbcore: registered new interface driver cdc_subset
[    2.445495] usbcore: registered new interface driver zaurus
[    2.451642] usbcore: registered new interface driver cdc_ncm
[    2.457405] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.463959] ehci-pci: EHCI PCI platform driver
[    2.469099] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.476344] usbcore: registered new interface driver usb-storage
[    2.503294] 400b4000.usb supply vbus not found, using dummy regulator
[    2.516050] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.521427] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    2.555194] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.571467] hub 1-0:1.0: USB hub found
[    2.576015] hub 1-0:1.0: 1 port detected
[    2.591577] mousedev: PS/2 mouse device common for all mice
[    2.612159] snvs_rtc 400a7000.snvs:snvs-rtc-lp: rtc core: registered 400a7000.snvs:snvs- as rtc0
[    2.621656] i2c /dev entries driver
[    2.629751] IR NEC protocol handler initialized
[    2.634329] IR RC5(x/sz) protocol handler initialized
[    2.639526] IR RC6 protocol handler initialized
[    2.644092] IR JVC protocol handler initialized
[    2.648729] IR Sony protocol handler initialized
[    2.653383] IR SANYO protocol handler initialized
[    2.658189] IR Sharp protocol handler initialized
[    2.662934] IR MCE Keyboard/mouse protocol handler initialized
[    2.668866] IR XMP protocol handler initialized
[    2.690439] imx2-wdt 4003e000.wdog: timeout 60 sec (nowayout=0)
[    2.697021] Bluetooth: HCI UART driver ver 2.3
[    2.701504] Bluetooth: HCI UART protocol H4 registered
[    2.706747] Bluetooth: HCI UART protocol LL registered
[    2.714096] sdhci: Secure Digital Host Controller Interface driver
[    2.720382] sdhci: Copyright(c) Pierre Ossman
[    2.724764] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.733245] sdhci-esdhc-imx 400b2000.esdhc: Got CD GPIO
[    2.806482] mmc0: SDHCI controller on 400b2000.esdhc [400b2000.esdhc] using ADMA
[    2.822061] usbcore: registered new interface driver usbhid
[    2.827769] usbhid: USB HID core driver
[    2.866064] sgtl5000 0-000a: Error reading chip id -6
[    2.887161] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.908472] mmc0: new high speed SDHC card at address aaaa
[    2.917220] NET: Registered protocol family 10
[    2.933980] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    2.940793] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.954799]  mmcblk0: p1 p2
[    2.963863] NET: Registered protocol family 17
[    2.977736] can: controller area network core (rev 20120528 abi 9)
[    2.984429] NET: Registered protocol family 29
[    2.989208] can: raw protocol (rev 20120528)
[    2.993679] can: broadcast manager protocol (rev 20161123 t)
[    2.999671] can: netlink gateway (rev 20130117) max_hops=1
[    3.007382] Key type dns_resolver registered
[    3.012052] Registering SWP/SWPB emulation handler
[    3.153239] snvs_rtc 400a7000.snvs:snvs-rtc-lp: setting system clock to 2017-10-11 10:21:54 UTC (1507717314)
[    3.165217] ALSA device list:
[    3.168218]   No soundcards found.
[    3.184131] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    3.232533] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.241221] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.251389] devtmpfs: mounted
[    3.260378] Freeing unused kernel memory: 1024K (c0f00000 - c1000000)
[    3.310344] random: fast init done
[    3.398264]
[    3.399813] ======================================================
[    3.406011] [ INFO: possible circular locking dependency detected ]
[    3.412300] 4.9.21-fslc+gb69ecd63c123 #1 Not tainted
[    3.417279] -------------------------------------------------------
[    3.423561] init/1 is trying to acquire lock:
[    3.427935]  (((&sport->lpuart_timer))){+.-...}, at: [<c01a1f3c>] del_timer_sync+0x0/0xe4

 

[    3.436241] but task is already holding lock:
[    3.440784]  (&port_lock_key){..-...}, at: [<c0553cb0>] lpuart_set_termios+0x174/0x67c

 

[    3.448818] which lock already depends on the new lock.
[    3.448818]
[    3.455714]
[    3.455714] the existing dependency chain (in reverse order) is:
[    3.463209]
-> #1 (&port_lock_key){..-...}:
[    3.467696]        _raw_spin_lock_irqsave+0x48/0x5c
[    3.472599]        lpuart_copy_rx_to_tty+0x74/0x24c
[    3.477498]        lpuart_timer_func+0x18/0x1c
[    3.481967]        call_timer_fn+0xc4/0x3a0
[    3.486170]        expire_timers+0xf4/0x1fc
[    3.490378]        run_timer_softirq+0xa8/0x1b4
[    3.494935]        __do_softirq+0x160/0x530
[    3.499157]        irq_exit+0xf4/0x170
[    3.502947]        __handle_domain_irq+0x7c/0xf0
[    3.507585]        gic_handle_irq+0x60/0xc4
[    3.511795]        __irq_svc+0x70/0x98
[    3.515582]        lock_is_held+0x5c/0x6c
[    3.519639]        rcu_read_lock_held+0x80/0x90
[    3.524217]        workingset_activation+0x58/0x15c
[    3.529121]        mark_page_accessed+0x110/0x198
[    3.533851]        pagecache_get_page+0x1a4/0x2f4
[    3.538598]        __find_get_block_slow+0x58/0x1b8
[    3.543502]        __find_get_block+0x254/0x42c
[    3.548056]        __getblk_gfp+0xa8/0x3a0
[    3.552177]        __breadahead+0x2c/0x64
[    3.556207]        __ext4_get_inode_loc+0x4d0/0x5cc
[    3.561109]        ext4_iget+0x74/0xb30
[    3.564992]        ext4_get_journal_inode+0x1c/0xc4
[    3.569899]        ext4_fill_super+0x2444/0x33a0
[    3.574550]        mount_bdev+0x16c/0x1a4
[    3.578586]        ext4_mount+0x24/0x30
[    3.582446]        mount_fs+0x24/0xb8
[    3.586153]        vfs_kern_mount+0x64/0x13c
[    3.590445]        do_mount+0x168/0xcd4
[    3.594302]        SyS_mount+0x9c/0xc4
[    3.598083]        mount_block_root+0x118/0x284
[    3.602638]        mount_root+0x100/0x12c
[    3.606672]        prepare_namespace+0x16c/0x1d0
[    3.611313]        kernel_init_freeable+0x198/0x1e8
[    3.616214]        kernel_init+0x18/0x124
[    3.620262]        ret_from_fork+0x14/0x24
[    3.624367]
-> #0 (((&sport->lpuart_timer))){+.-...}:
[    3.629704]        lock_acquire+0xd8/0x244
[    3.633827]        del_timer_sync+0x50/0xe4
[    3.638036]        lpuart_set_termios+0x5f0/0x67c
[    3.642758]        uart_change_speed+0x60/0x12c
[    3.647311]        uart_set_termios+0x9c/0x17c
[    3.651798]        tty_set_termios+0x14c/0x1d4
[    3.656265]        set_termios+0x194/0x490
[    3.660385]        tty_mode_ioctl+0x4a0/0x618
[    3.664766]        n_tty_ioctl_helper+0x38/0x124
[    3.669406]        n_tty_ioctl+0xbc/0x190
[    3.673438]        tty_ioctl+0x3ac/0x1038
[    3.677489]        do_vfs_ioctl+0xa4/0xa58
[    3.681611]        SyS_ioctl+0x44/0x6c
[    3.685385]        ret_fast_syscall+0x0/0x1c
[    3.689667]
[    3.689667] other info that might help us debug this:
[    3.689667]
[    3.697692]  Possible unsafe locking scenario:
[    3.697692]
[    3.703623]        CPU0                    CPU1
[    3.708168]        ----                    ----
[    3.712712]   lock(&port_lock_key);
[    3.716261]                                lock(((&sport->lpuart_timer)));
[    3.723191]                                lock(&port_lock_key);
[    3.729245]   lock(((&sport->lpuart_timer)));
[    3.733653]
[    3.733653]  *** DEADLOCK ***
[    3.733653]
[    3.739601] 4 locks held by init/1:
[    3.743100]  #0:  (&tty->ldisc_sem){++++..}, at: [<c0aa1af0>] ldsem_down_read+0x30/0x34
[    3.751219]  #1:  (&tty->termios_rwsem){++++..}, at: [<c05351cc>] tty_set_termios+0x40/0x1d4
[    3.759763]  #2:  (&port->mutex){+.+.+.}, at: [<c054b924>] uart_set_termios+0x34/0x17c
[    3.767787]  #3:  (&port_lock_key){..-...}, at: [<c0553cb0>] lpuart_set_termios+0x174/0x67c
[    3.776245]
[    3.776245] stack backtrace:
[    3.780630] CPU: 0 PID: 1 Comm: init Not tainted 4.9.21-fslc+gb69ecd63c123 #1
[    3.787776] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree)
[    3.794227] Backtrace:
[    3.796728] [<c010d400>] (dump_backtrace) from [<c010d708>] (show_stack+0x20/0x24)
[    3.804322]  r7:00000000 r6:600c0093 r5:00000000 r4:c1055ea4
[    3.810018] [<c010d6e8>] (show_stack) from [<c0486390>] (dump_stack+0xb4/0xe8)
[    3.817272] [<c04862dc>] (dump_stack) from [<c017b9c4>] (print_circular_bug+0x1d8/0x310)
[    3.825395]  r9:00000000 r8:ce900000 r7:c12131d4 r6:ce8bdb74 r5:c12131d4 r4:c1205914
[    3.833172] [<c017b7ec>] (print_circular_bug) from [<c017ee20>] (__lock_acquire+0x15f8/0x1918)
[    3.841816]  r10:ce900000 r9:00000004 r8:c1055fa0 r7:c1896444 r6:ce900508 r5:ce900528
[    3.849661]  r4:c12131d4 r3:ce900508
[    3.853268] [<c017d828>] (__lock_acquire) from [<c017f574>] (lock_acquire+0xd8/0x244)
[    3.861124]  r10:600c0093 r9:00000000 r8:00000000 r7:00000000 r6:ceb8e178 r5:00000001
[    3.868966]  r4:00000000
[    3.871539] [<c017f49c>] (lock_acquire) from [<c01a1f8c>] (del_timer_sync+0x50/0xe4)
[    3.879314]  r10:000000ac r9:ce8bdd14 r8:00000023 r7:ceb8e178 r6:00000001 r5:200c0093
[    3.887157]  r4:ceb8e160
[    3.889728] [<c01a1f3c>] (del_timer_sync) from [<c055412c>] (lpuart_set_termios+0x5f0/0x67c)
[    3.898191]  r7:00000000 r6:00000000 r5:00000000 r4:ceb8e010
[    3.903881] [<c0553b3c>] (lpuart_set_termios) from [<c054b2f4>] (uart_change_speed+0x60/0x12c)
[    3.912519]  r10:00000000 r9:ce883200 r8:ceb8e010 r7:00001cb2 r6:cddbd800 r5:ce8bdd14
[    3.920362]  r4:ceb8e010
[    3.922927] [<c054b294>] (uart_change_speed) from [<c054b98c>] (uart_set_termios+0x9c/0x17c)
[    3.931388]  r7:00001cb2 r6:ce883324 r5:ce8bdd14 r4:cddbd800
[    3.937081] [<c054b8f0>] (uart_set_termios) from [<c05352d8>] (tty_set_termios+0x14c/0x1d4)
[    3.945464]  r9:00004d04 r8:00000000 r7:00000000 r6:00000e0b r5:cddbd930 r4:cddbd800
[    3.953241] [<c053518c>] (tty_set_termios) from [<c05359d8>] (set_termios+0x194/0x490)
[    3.961190]  r10:00000051 r9:00000000 r8:ce8bdd74 r7:cddf13c0 r6:00000008 r5:00000000
[    3.969033]  r4:cddbd800
[    3.971603] [<c0535844>] (set_termios) from [<c05361d8>] (tty_mode_ioctl+0x4a0/0x618)
[    3.979458]  r10:00000000 r9:c0531738 r8:cddf13c0 r7:bee82afc r6:cddbd800 r5:bee82afc
[    3.987301]  r4:cddbd800
[    3.989871] [<c0535d38>] (tty_mode_ioctl) from [<c0536388>] (n_tty_ioctl_helper+0x38/0x124)
[    3.998247]  r9:c0531738 r8:cddf13c0 r7:bee82afc r6:cddbd800 r5:bee82afc r4:bee82afc
[    4.006022] [<c0536350>] (n_tty_ioctl_helper) from [<c05317f4>] (n_tty_ioctl+0xbc/0x190)
[    4.014132]  r7:bee82afc r6:cddbd800 r5:cddbd800 r4:bee82afc
[    4.019820] [<c0531738>] (n_tty_ioctl) from [<c052f3e4>] (tty_ioctl+0x3ac/0x1038)
[    4.027331]  r9:c0531738 r8:cddf13c0 r7:bee82afc r6:cde11640 r5:cddbd800 r4:00005402
[    4.035107] [<c052f038>] (tty_ioctl) from [<c0282900>] (do_vfs_ioctl+0xa4/0xa58)
[    4.042528]  r9:ce8bc000 r8:00000000 r7:c02832f8 r6:cde11640 r5:cea4e2e8 r4:bee82afc
[    4.050305] [<c028285c>] (do_vfs_ioctl) from [<c02832f8>] (SyS_ioctl+0x44/0x6c)
[    4.057648]  r10:00000000 r9:ce8bc000 r8:bee82afc r7:00005402 r6:cde11640 r5:00000000
[    4.065490]  r4:cde11640
[    4.068062] [<c02832b4>] (SyS_ioctl) from [<c01084c0>] (ret_fast_syscall+0x0/0x1c)
[    4.075664]  r9:ce8bc000 r8:c0108664 r7:00000036 r6:00001cb2 r5:00000e0b r4:00000000
INIT: version 2.88 booting
Starting udev
[    4.964679] udevd[118]: starting version 3.2
[    5.040082] udevd[119]: starting eudev-3.2
[    5.705758] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
INIT: Entering runlevel: 5
Configuring network interfaces... [    7.835418] Generic PHY 400d0000.etherne:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=400d0000.etherne:00, irq=-1)
[    7.847456] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
[    9.895875] fec 400d0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    9.903907] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending discover...
Sending select for 192.168.10.37...
Lease of 192.168.10.37 obtained, lease time 259200
/etc/udhcpc.d/50default: Adding DNS 192.168.10.2
/etc/udhcpc.d/50default: Adding DNS 192.168.10.254
done.
Starting syslogd/klogd: done

 

FSLC FrameBuffer 2.2.2 twr-vf65gs10 /dev/ttyLP1

 

twr-vf65gs10 login: [  206.455204] random: crng init done

 

So, what to do with the deadlock?

Outcomes