[SOLVED]Beaglebone Black Rev C Kernel gets stuck

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

[SOLVED]Beaglebone Black Rev C Kernel gets stuck

Postby MarkS » Sun Jul 26, 2015 1:50 pm

Hi,

I have a beaglebone black rev C with debian preinstalled. My BBB runs just fine with debian, however I wanted to test archlinux.

I created a sdcard with arch linux according to http://archlinuxarm.org/platforms/armv7/ti/beaglebone-black.

My BBB is powered by the 5V line. Other than that only ethernet is connected, the sdcard is of course inserted and I connected a USB to UART cable to the BBB.

I hold the S2 button while powering it up and the BBB boots from the SD Card:
$this->bbcode_second_pass_code('', 'U-Boot 2015.04 (Jun 07 2015 - 19:26:11)

Watchdog enabled
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
starting USB...
USB0: Port not available.
switch to partitions #0, OK
mmc0 is current device
mmc found on device 0
Checking for: /boot/uEnv.txt ...
gpio: pin 54 (gpio 54) value is 1
25 bytes read in 21 ms (1000 Bytes/s)
Loaded environment from /boot/uEnv.txt
Checking if uenvcmd is set ...
gpio: pin 55 (gpio 55) value is 1
5002952 bytes read in 290 ms (16.5 MiB/s)
loading /boot/dtbs/am335x-boneblack.dtb ...
55264 bytes read in 55 ms (980.5 KiB/s)
gpio: pin 56 (gpio 56) value is 1
** File not found /boot/initramfs-linux.img **
Kernel image @ 0x82000000 [ 0x000000 - 0x4c56c8 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffef000, end 8ffff7df ... OK
')

The kernel runs until this point:
$this->bbcode_second_pass_code('', 'Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.1-1-ARCH (builduser@leming) (gcc version 5.1.0 (GCC) ) #1 Wed Jul 1 15:22:12 MDT 2015
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache
[ 0.000000] Machine model: TI AM335x BeagleBone Black
[ 0.000000] cma: Reserved 16 MiB at 0x9f000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 129920
[ 0.000000] Kernel command line: console=ttyO0,115200n8 coherent_pool=1M root =PARTUUID=febfc1d2-01 rw rootwait fixrtc
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 491052K/524288K available (6318K kernel code, 827K rwdata , 3068K rodata, 460K init, 834K bss, 16852K reserved, 16384K cma-reserved, 0K hi ghmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0932ad8 (9387 kB)
[ 0.000000] .init : 0xc0933000 - 0xc09a6000 ( 460 kB)
[ 0.000000] .data : 0xc09a6000 - 0xc0a74de8 ( 828 kB)
[ 0.000000] .bss : 0xc0a77000 - 0xc0b478f8 ( 835 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup ts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478 484971ns
[ 0.000030] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_ idle_ns: 79635851949 ns
[ 0.000039] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000192] Console: colour dummy device 80x30
[ 0.000215] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[ 0.089203] pid_max: default: 32768 minimum: 301
[ 0.089303] Security Framework initialized
[ 0.089518] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.089528] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090143] Initializing cgroup subsys blkio
[ 0.090162] Initializing cgroup subsys memory
[ 0.090204] Initializing cgroup subsys devices
[ 0.090218] Initializing cgroup subsys freezer
[ 0.090231] Initializing cgroup subsys net_cls
[ 0.090243] Initializing cgroup subsys perf_event
[ 0.090254] Initializing cgroup subsys net_prio
[ 0.090302] CPU: Testing write buffer coherency: ok
[ 0.090344] ftrace: allocating 31160 entries in 61 pages
[ 0.155261] Setting up static identity map for 0x800081c0 - 0x8000820c
[ 0.158930] devtmpfs: initialized
[ 0.171946] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.180501] omap_hwmod: tptc0 using broken dt data from edma
[ 0.180604] omap_hwmod: tptc1 using broken dt data from edma
[ 0.180692] omap_hwmod: tptc2 using broken dt data from edma
[ 0.184981] omap_hwmod: debugss: _wait_target_disable failed
[ 0.239418] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max _idle_ns: 19112604462750000 ns
[ 0.240785] xor: measuring software checksum speed
[ 0.339174] arm4regs : 1244.800 MB/sec
[ 0.439169] 8regs : 1112.800 MB/sec
[ 0.539171] 32regs : 1152.800 MB/sec
[ 0.639169] neon : 1812.800 MB/sec
[ 0.639175] xor: using function: neon (1812.800 MB/sec)
[ 0.639320] pinctrl core: initialized pinctrl subsystem
[ 0.640291] NET: Registered protocol family 16
[ 0.642909] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.646566] OMAP GPIO hardware version 0.1
[ 0.653805] No ATAGs?
[ 0.653834] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.829234] raid6: int32x1 gen() 265 MB/s
[ 0.999244] raid6: int32x1 xor() 240 MB/s
[ 1.169294] raid6: int32x2 gen() 371 MB/s
[ 1.339232] raid6: int32x2 xor() 285 MB/s
[ 1.509182] raid6: int32x4 gen() 408 MB/s
[ 1.679254] raid6: int32x4 xor() 277 MB/s
[ 1.849204] raid6: int32x8 gen() 360 MB/s
[ 2.019259] raid6: int32x8 xor() 234 MB/s
[ 2.189169] raid6: neonx1 gen() 1469 MB/s
[ 2.359200] raid6: neonx2 gen() 1926 MB/s
[ 2.529205] raid6: neonx4 gen() 1089 MB/s
[ 2.699213] raid6: neonx8 gen() 1131 MB/s
[ 2.699220] raid6: using algorithm neonx2 gen() 1926 MB/s
[ 2.699227] raid6: using intx1 recovery algorithm
[ 2.705692] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 2.709345] SCSI subsystem initialized
[ 2.709902] usbcore: registered new interface driver usbfs
[ 2.709961] usbcore: registered new interface driver hub
[ 2.710029] usbcore: registered new device driver usb
[ 2.710469] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wk up@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 2.710511] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wk up@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[ 2.710599] media: Linux media interface: v0.10
[ 2.710651] Linux video capture interface: v2.00
[ 2.710742] pps_core: LinuxPPS API ver. 1 registered
[ 2.710748] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it>
[ 2.710771] PTP clock support registered
[ 2.711337] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 2.712240] NetLabel: Initializing
[ 2.712252] NetLabel: domain hash size = 128
[ 2.712256] NetLabel: protocols = UNLABELED CIPSOv4
[ 2.712306] NetLabel: unlabeled traffic allowed by default
[ 2.712751] Switched to clocksource timer1
[ 2.783037] NET: Registered protocol family 2
[ 2.783712] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 2.783755] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 2.783792] TCP: Hash tables configured (established 4096 bind 4096)
[ 2.783856] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.783871] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.784029] NET: Registered protocol family 1
[ 2.784425] RPC: Registered named UNIX socket transport module.
[ 2.784434] RPC: Registered udp transport module.
[ 2.784439] RPC: Registered tcp transport module.
[ 2.784445] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.785171] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[ 2.785206] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counter s available
[ 2.788269] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 2.797027] zpool: loaded
[ 2.797044] zbud: loaded
[ 2.797400] VFS: Disk quotas dquot_6.6.0
[ 2.797629] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.799412] NFS: Registering the id_resolver key type
[ 2.799464] Key type id_resolver registered
[ 2.799470] Key type id_legacy registered
[ 2.799491] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.799742] fuse init (API version 7.23)
[ 2.800217] SGI XFS with ACLs, security attributes, realtime, no debug enable d
[ 2.803345] aufs 4.1-20150629
[ 2.804867] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 49)
[ 2.805016] io scheduler noop registered
[ 2.805030] io scheduler deadline registered
[ 2.805082] io scheduler cfq registered (default)
[ 2.806189] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 2.807535] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 2.809608] omap_uart 44e09000.serial: no wakeirq for uart0
[ 2.809780] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 154, base_baud = 3000000) is a OMAP UART0
[ 3.600197] console [ttyO0] enabled
[ 3.604600] [drm] Initialized drm 1.1.0 20060810
[ 3.612049] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.618974] ehci-platform: EHCI generic platform driver
[ 3.624589] ehci-omap: OMAP-EHCI Host Controller driver
[ 3.630211] usbcore: registered new interface driver uas
[ 3.635864] usbcore: registered new interface driver usb-storage
[ 3.642197] usbcore: registered new interface driver ums-alauda
[ 3.648451] usbcore: registered new interface driver ums-cypress
[ 3.654794] usbcore: registered new interface driver ums-datafab
[ 3.661123] usbcore: registered new interface driver ums_eneub6250
[ 3.667647] usbcore: registered new interface driver ums-freecom
[ 3.673997] usbcore: registered new interface driver ums-isd200
[ 3.680237] usbcore: registered new interface driver ums-jumpshot
[ 3.686673] usbcore: registered new interface driver ums-karma
[ 3.692834] usbcore: registered new interface driver ums-onetouch
[ 3.699279] usbcore: registered new interface driver ums-realtek
[ 3.705625] usbcore: registered new interface driver ums-sddr09
[ 3.711864] usbcore: registered new interface driver ums-sddr55
[ 3.718117] usbcore: registered new interface driver ums-usbat
[ 3.725360] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 3.735313] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 3.744320] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 3.750589] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 3.758993] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.766131] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 3.773716] usb usb1: Product: MUSB HDRC host driver
[ 3.778920] usb usb1: Manufacturer: Linux 4.1.1-1-ARCH musb-hcd
[ 3.785135] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 3.790975] hub 1-0:1.0: USB hub found
[ 3.794962] hub 1-0:1.0: 1 port detected
[ 3.806854] mousedev: PS/2 mouse device common for all mice
[ 3.814178] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 3.822039] i2c /dev entries driver
[ 3.827220] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 3.834823] sdhci: Secure Digital Host Controller Interface driver
[ 3.841302] sdhci: Copyright(c) Pierre Ossman
[ 3.846260] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 3.929795] mmc0: host does not support reading read-only switch, assuming wr ite-enable
[ 3.938425] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.945312] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.951724] mmc0: new high speed SDHC card at address 59b4
[ 3.957595] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.963759] mmcblk0: mmc0:59b4 USDU1 30.0 GiB
[ 3.969329] usbcore: registered new interface driver usbhid
[ 3.975214] usbhid: USB HID core driver
[ 3.979765] ashmem: initialized
[ 3.983193] mmcblk0: p1
[ 3.987890] oprofile: using arm/armv7
[ 3.992961] NET: Registered protocol family 10
[ 4.001636] mip6: Mobile IPv6
[ 4.004822] NET: Registered protocol family 17
[ 4.009625] Key type dns_resolver registered
[ 4.014176] mpls_gso: MPLS GSO support
[ 4.018344] omap_voltage_late_init: Voltage driver support not added
[ 4.025629] ThumbEE CPU extension supported.
[ 4.030179] Registering SWP/SWPB emulation handler
[ 4.039019] registered taskstats version 1
[ 4.045621] Btrfs loaded
[ 4.049593] Key type encrypted registered
[ 4.078740] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 4.084877] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 4.092116] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 4.099208] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 4.106858] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 4.114464] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 4.122052] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 4.129307] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[ 4.135205] mmc1: MAN_BKOPS_EN bit is not set
[ 4.144171] mmc1: new high speed MMC card at address 0001
[ 4.150379] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
[ 4.155367] mmcblk1boot0: mmc1:0001 MMC04G partition 1 2.00 MiB
[ 4.161621] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,00C0,3614BBBK5714 '
[ 4.169362] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-bla ck - #slots=4
[ 4.178074] mmcblk1boot1: mmc1:0001 MMC04G partition 2 2.00 MiB
[ 4.185256] mmcblk1: p1 p2
[ 4.242778] bone_capemgr bone_capemgr: slot #0: No cape found
[ 4.302763] bone_capemgr bone_capemgr: slot #1: No cape found
[ 4.362761] bone_capemgr bone_capemgr: slot #2: No cape found
[ 4.422760] bone_capemgr bone_capemgr: slot #3: No cape found
[ 4.428847] bone_capemgr bone_capemgr: initialized OK.
[ 4.492795] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 4.499197] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 4.505977] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[ 4.512962] davinci_mdio: dt: updated phy_id[1] from phy_mask[fffffffe]
[ 4.520920] libphy: 4a101000.mdio: probed
[ 4.525187] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driv er SMSC LAN8710/LAN8720
[ 4.535423] cpsw 4a100000.ethernet: Detected MACID = 6c:ec:eb:5c:01:2d
[ 4.543570] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:0 1 UTC (946684801)
[ 4.552620] of_cfs_init
[ 4.555288] of_cfs_init: OK
[ 4.560573] device-tree: Duplicate name in testcase-data, renamed to "duplica te-name#1"
[ 4.572154] ### dt-test ### start of unittest - you will see error messages
[ 4.580206] /testcase-data/phandle-tests/consumer-a: could not get #phandle-c ells-missing for /testcase-data/phandle-tests/provider1
[ 4.592750] /testcase-data/phandle-tests/consumer-a: could not get #phandle-c ells-missing for /testcase-data/phandle-tests/provider1
[ 4.605291] /testcase-data/phandle-tests/consumer-a: could not find phandle
[ 4.612612] /testcase-data/phandle-tests/consumer-a: could not find phandle
[ 4.619931] /testcase-data/phandle-tests/consumer-a: arguments longer than pr operty
[ 4.627975] /testcase-data/phandle-tests/consumer-a: arguments longer than pr operty
[ 4.637245] irq: no irq domain found for /testcase-data/interrupts/intc0 !
[ 4.651879] overlay_is_topmost: #5 clashes #6 @/testcase-data/overlay-node/te st-bus/test-unittest8
[ 4.661343] overlay_removal_is_ok: overlay #5 is not topmost
[ 4.667286] of_overlay_destroy: removal check failed for overlay #5
[ 4.677640] find_target_node_direct: target "/ocp/l4_wkup@44c00000/prcm@20000 0/clocks/l3_gclk" not under target_root "/testcase-data/overlay-node/test-bus/te st-unittest19"
[ 4.693745] __of_overlay_create: of_build_overlay_info() failed for tree@/tes tcase-data/overlay19
[ 4.704636] i2c i2c-3: Added multiplexed i2c bus 4
[ 4.711142] i2c i2c-3: Added multiplexed i2c bus 5
[ 4.719628] ### dt-test ### end of unittest - 153 passed, 0 failed
[ 4.730802] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incomp atibilities
[ 4.740201] EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incomp atibilities
[ 5.084770] EXT4-fs (mmcblk0p1): recovery complete
[ 5.094961] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. O pts: (null)
[ 5.103511] VFS: Mounted root (ext4 filesystem) on device 179:1.
[ 5.112607] devtmpfs: mounted
[ 5.116193] Freeing unused kernel memory: 460K (c0933000 - c09a6000)
[ 5.444729] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 5.450392] systemd[1]: Inserted module 'ip_tables'
[ 5.467457] random: systemd urandom read with 22 bits of entropy available
[ 5.490435] systemd[1]: systemd 221 running in system mode. (+PAM -AUDIT -SEL INUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL + XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
[ 5.509994] systemd[1]: Detected architecture arm.

Welcome to Arch Linux ARM!

[ 5.533930] systemd[1]: Set hostname to <alarm>.
')

Afterwards I just get this after some time:
$this->bbcode_second_pass_code('', '[ 95.594272] systemd[1]: system-generators terminated by signal ALRM.
[ 132.552771] random: nonblocking pool is initialized
[ 240.662761] INFO: task systemd:1 blocked for more than 120 seconds.
[ 240.669335] Not tainted 4.1.1-1-ARCH #1
[ 240.673912] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 240.682122] systemd D c05ef547 0 1 0 0x00000000
[ 240.688836] [<c05ef547>] (__schedule) from [<c05ef773>] (schedule+0x2f/0x64)
[ 240.696247] [<c05ef773>] (schedule) from [<c05f0f11>] (schedule_timeout+0x121/0x164)
[ 240.704383] [<c05f0f11>] (schedule_timeout) from [<c05ef29d>] (io_schedule_timeout+0x95/0xec)
[ 240.713335] [<c05ef29d>] (io_schedule_timeout) from [<c05efd6d>] (bit_wait_io+0x2d/0x44)
[ 240.721821] [<c05efd6d>] (bit_wait_io) from [<c05ef9bf>] (__wait_on_bit+0x93/0xd0)
[ 240.729771] [<c05ef9bf>] (__wait_on_bit) from [<c05efa95>] (out_of_line_wait_on_bit+0x99/0xa0)
[ 240.738818] [<c05efa95>] (out_of_line_wait_on_bit) from [<c014bb35>] (ext4_bread+0x69/0x6c)
[ 240.747593] [<c014bb35>] (ext4_bread) from [<c015179d>] (__ext4_read_dirblock+0x21/0x2ac)
[ 240.756183] [<c015179d>] (__ext4_read_dirblock) from [<c0151d77>] (htree_dirblock_to_tree+0x2f/0x174)
[ 240.765866] [<c0151d77>] (htree_dirblock_to_tree) from [<c0152729>] (ext4_htree_fill_tree+0x59/0x188)
[ 240.775558] [<c0152729>] (ext4_htree_fill_tree) from [<c0146773>] (ext4_readdir+0x593/0x6b4)
[ 240.784430] [<c0146773>] (ext4_readdir) from [<c0106b4d>] (iterate_dir+0x6d/0xc8)
[ 240.792282] [<c0106b4d>] (iterate_dir) from [<c0106e6d>] (SyS_getdents64+0x59/0x9c)
[ 240.800332] [<c0106e6d>] (SyS_getdents64) from [<c000e4c1>] (ret_fast_syscall+0x1/0x4c)
[ 240.808756] INFO: task jbd2/mmcblk0p1-:84 blocked for more than 120 seconds.
[ 240.816155] Not tainted 4.1.1-1-ARCH #1
[ 240.820718] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 240.828934] jbd2/mmcblk0p1- D c05ef547 0 84 2 0x00000000
[ 240.835618] [<c05ef547>] (__schedule) from [<c05ef773>] (schedule+0x2f/0x64)
[ 240.843022] [<c05ef773>] (schedule) from [<c05f0f11>] (schedule_timeout+0x121/0x164)
[ 240.851145] [<c05f0f11>] (schedule_timeout) from [<c05ef29d>] (io_schedule_timeout+0x95/0xec)
[ 240.860097] [<c05ef29d>] (io_schedule_timeout) from [<c05efd6d>] (bit_wait_io+0x2d/0x44)
[ 240.868596] [<c05efd6d>] (bit_wait_io) from [<c05ef9bf>] (__wait_on_bit+0x93/0xd0)
[ 240.876546] [<c05ef9bf>] (__wait_on_bit) from [<c05efa95>] (out_of_line_wait_on_bit+0x99/0xa0)
[ 240.885598] [<c05efa95>] (out_of_line_wait_on_bit) from [<c0183005>] (jbd2_write_superblock+0x10d/0x14c)
[ 240.895559] [<c0183005>] (jbd2_write_superblock) from [<c0183cc3>] (jbd2_journal_update_sb_log_tail+0x23/0x44)
[ 240.906060] [<c0183cc3>] (jbd2_journal_update_sb_log_tail) from [<c017f24f>] (jbd2_journal_commit_transaction+0x30b/0xe7c)
[ 240.917655] [<c017f24f>] (jbd2_journal_commit_transaction) from [<c0182d49>] (kjournald2+0x89/0x184)
[ 240.927251] [<c0182d49>] (kjournald2) from [<c0048c77>] (kthread+0x9b/0xb0)
[ 240.934568] [<c0048c77>] (kthread) from [<c000e581>] (ret_from_fork+0x11/0x30)
')

and so on

I am still pretty new to linux. Does anyone have any idea what's wrong? Thanks
Last edited by MarkS on Sun Aug 02, 2015 6:01 pm, edited 1 time in total.
MarkS
 
Posts: 3
Joined: Sun Jul 26, 2015 1:20 pm

Re: Beaglebone Black Rev C Kernel gets stuck

Postby kchalas » Mon Jul 27, 2015 9:25 pm

Hello,

I can't tell what's wrong but i had a similar problem. Have you tried flashing the eMMC with a newer image of debian? Try the one in this page http://beagleboard.org/latest-images and than attempt booting from the SD card. Maybe the eMMC bootloader is outdated?

I never understood the source of the problem in my case, but after flashing the eMMC with a newer version of debian, i could boot Arch from the SD card afterwards.

Thanks!
kchalas
 
Posts: 3
Joined: Wed Jul 15, 2015 8:31 am

Re: Beaglebone Black Rev C Kernel gets stuck

Postby MarkS » Sun Aug 02, 2015 4:33 pm

Sorry for the late answer. I have been quite busy.

I have installed the latest debian version and then it indeed worked. Thanks! It does not reliably start from the SD. Sometimes the bbb still gets stuck when the kernel is loading. It seems to be linked to the time that the S2 button is pressed. Nonetheless it boots.

For some reason the network service was not able to init eth0 properly when arch linux booted from the sd card and flash. The BBB communicates successfully with the DHCP, yet no IPv4 address is assigned to eth0 and the BBB cannot be contacted although the BBB has an IP according the router.

Systemctl tells me that the networkd service fails to run
$this->bbcode_second_pass_code('', '* systemd-networkd.service loaded failed failed Network Service
')

A static ip works however. I would prefer to be able to assign a dynamic IP to the BBB. The BBB was able to get an IP when Debian was running. Does anyone have any idea what could go wrong?
MarkS
 
Posts: 3
Joined: Sun Jul 26, 2015 1:20 pm

Re: Beaglebone Black Rev C Kernel gets stuck

Postby MarkS » Sun Aug 02, 2015 5:11 pm

Debug output for the systemd-networkd service

$this->bbcode_second_pass_code('', 'DHCP CLIENT (0x88f775be): OFFER
DHCP CLIENT (0x88f775be): REQUEST (requesting)
DHCP CLIENT (0x88f775be): ACK
DHCP CLIENT (0x88f775be): lease expires in 1w 2d 23h 59min 57.556093s
DHCP CLIENT (0x88f775be): T2 expires in 1w 1d 17h 59min 58.652996s
DHCP CLIENT (0x88f775be): T1 expires in 4d 23h 59min 57.879810s
eth0: DHCPv4 address 192.168.178.23/24 via 192.168.178.1
Segmentation fault
')

This seems to be known and fixed already:
https://github.com/systemd/systemd/issues/827
MarkS
 
Posts: 3
Joined: Sun Jul 26, 2015 1:20 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 3 guests