This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Booting issue AM335x Board

Hi,

I am usingg TIam335x board using SDK 7.0 with SMSC ethernet driver. I am facing below issue.

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.12.10-ti2013.12.01 (root@priyank-desktop) (gcc version 4.7.3 20135
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x EVM
[ 0.000000] cma: CMA: reserved 24 MiB at 8d800000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64256
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=extt
[ 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: 223428K/259072K available (5559K kernel code, 560K rwdata, 1880K rodata, )
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 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 - 0xc074c04c (7441 kB)
[ 0.000000] .init : 0xc074d000 - 0xc07a3630 ( 346 kB)
[ 0.000000] .data : 0xc07a4000 - 0xc0830018 ( 561 kB)
[ 0.000000] .bss : 0xc0830018 - 0xc0868640 ( 226 kB)
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000320] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160)
[ 0.119715] pid_max: default: 32768 minimum: 301
[ 0.119819] Security Framework initialized
[ 0.119869] Mount-cache hash table entries: 512
[ 0.129075] CPU: Testing write buffer coherency: ok
[ 0.129487] Setting up static identity map for 0xc0573fe8 - 0xc0574058
[ 0.130441] devtmpfs: initialized
[ 0.132176] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.194190] omap_hwmod: debugss: _wait_target_disable failed
[ 0.194907] pinctrl core: initialized pinctrl subsystem
[ 0.195788] regulator-dummy: no parameters
[ 0.198242] NET: Registered protocol family 16
[ 0.200543] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.203218] cpuidle: using governor ladder
[ 0.203235] cpuidle: using governor menu
[ 0.211986] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.213090] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.214360] OMAP GPIO hardware version 0.1
[ 0.223892] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflae
[ 0.223925] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[ 0.224318] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.228370] DSS not supported on this SoC
[ 0.228389] No ATAGs?
[ 0.228400] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.252758] bio: create slab <bio-0> at 0
[ 0.267580] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.268488] vbat: 5000 mV
[ 0.268902] lis3_reg: no parameters
[ 0.269362] wlan-en-regulator: 1800 mV
[ 0.272705] vgaarb: loaded
[ 0.274013] SCSI subsystem initialized
[ 0.275396] usbcore: registered new interface driver usbfs
[ 0.275580] usbcore: registered new interface driver hub
[ 0.275789] usbcore: registered new device driver usb
[ 0.276757] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2e
[ 0.276788] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.276815] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2e
[ 0.276832] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
[ 0.277082] media: Linux media interface: v0.10
[ 0.277260] Linux video capture interface: v2.00
[ 0.277538] pps_core: LinuxPPS API ver. 1 registered
[ 0.277548] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@li>
[ 0.277683] PTP clock support registered
[ 0.280378] Switched to clocksource timer1
[ 0.299348] NET: Registered protocol family 2
[ 0.299995] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.300049] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.300080] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.300153] TCP: reno registered
[ 0.300167] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.300188] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.300478] NET: Registered protocol family 1
[ 0.300887] RPC: Registered named UNIX socket transport module.
[ 0.300898] RPC: Registered udp transport module.
[ 0.300905] RPC: Registered tcp transport module.
[ 0.300912] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.301866] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.302550] PM: Loading am335x-pm-firmware.bin
[ 0.458365] VFS: Disk quotas dquot_6.5.2
[ 0.458439] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.459084] NFS: Registering the id_resolver key type
[ 0.459176] Key type id_resolver registered
[ 0.459184] Key type id_legacy registered
[ 0.459225] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 0.459416] msgmni has been set to 484
[ 0.461130] NET: Registered protocol family 38
[ 0.461183] io scheduler noop registered
[ 0.461192] io scheduler deadline registered
[ 0.461222] io scheduler cfq registered (default)
[ 0.463424] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.516633] Console: switching to colour frame buffer device 100x30
[ 0.524085] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.527005] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OM0
[ 1.174712] console [ttyO0] enabled
[ 1.179305] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OM1
[ 1.190559] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 1.207723] brd: module loaded
[ 1.216231] loop: module loaded
[ 1.219935] (stk) :sysfs entries created
[ 1.224231] (stk) : debugfs entries created
[ 1.233461] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.243735] Priyank: Initializing smsc911x Module
[ 1.248745] Value at address 0x894 : 00000028
[ 1.253391] Value at address 0x878 : 0000000c
[ 1.258341] Device registered 0x00000000
[ 1.262874] smsc911x: Driver version 2008-10-21
[ 1.267711] Priyank : Cache : 0x0f000000
[ 1.272566] Priyank : Non cache : 0xd1000000
[ 1.277095] smsc911x smsc911x.4 (unregistered net_device): Driver Parameters:
[ 1.284672] smsc911x smsc911x.4 (unregistered net_device): LAN base: 0xD1000000
[ 1.292411] smsc911x smsc911x.4 (unregistered net_device): IRQ: 97
[ 1.298940] smsc911x smsc911x.4 (unregistered net_device): PHY will be autodetected.
[ 1.307143] Unhandled fault: external abort on non-linefetch (0x1008) at 0xd1000084
[ 1.315238] Internal error: : 1008 [#1] ARM
[ 1.319655] Modules linked in:
[ 1.322893] CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.10-ti2013.12.01 #5
[ 1.330248] task: cd07da40 ti: cd07e000 task.ti: cd07e000
[ 1.335970] PC is at __smsc911x_reg_read+0x28/0x70
[ 1.341036] LR is at smsc911x_drv_probe+0x378/0x16a0
[ 1.346282] pc : [<c03c2dc4>] lr : [<c03c5f84>] psr: 20000193
[ 1.346282] sp : cd07fd08 ip : cd07fd18 fp : cd07fd14
[ 1.358411] r10: a0000113 r9 : 00000408 r8 : 00000064
[ 1.363929] r7 : c080135c r6 : cd297c40 r5 : c0815ee0 r4 : cd297800
[ 1.370823] r3 : d1000084 r2 : 00000000 r1 : 00000084 r0 : cd297c40
[ 1.377720] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 1.385533] Control: 10c5387d Table: 80004019 DAC: 00000017
[ 1.391601] Process swapper (pid: 1, stack limit = 0xcd07e240)
[ 1.397760] Stack: (0xcd07fd08 to 0xcd080000)
[ 1.402365] fd00: cd07fd6c cd07fd18 c03c5f84 c03c2da8 00000000 c00633f4
[ 1.411007] fd20: cd297800 00000000 c0815ef0 c0815ef8 c0816088 c0815ef0 00000000 00000000
[ 1.419649] fd40: cd07fd5c c085eb54 c0815ef0 00000000 c0815e34 00000000 cd07e000 c07892b8
[ 1.428290] fd60: cd07fd7c cd07fd70 c0332a6c c03c5c18 cd07fd9c cd07fd80 c0331738 c0332a58
[ 1.436932] fd80: c0815e34 c0815ef0 c033190c c080d948 cd07fdb4 cd07fda0 c0331954 c0331640
[ 1.445574] fda0: 00000000 c0815ef0 cd07fddc cd07fdb8 c032fc14 c0331918 cd071d9c cd294df4
[ 1.454216] fdc0: c056e424 c0815ef0 c0815f24 c080d8f0 cd07fdfc cd07fde0 c03315f0 c032fbd4
[ 1.462858] fde0: cd071d40 c0815ef0 c0815ef0 c080d8f0 cd07fe1c cd07fe00 c0330b68 c0331584
[ 1.471500] fe00: fffffffe c0815ef0 00000000 c0815ef8 cd07fe6c cd07fe20 c032ed00 c0330ae8
[ 1.480142] fe20: c02653e4 c00cccfc 00000000 00000000 cd07fe5c cd07fe40 c004ae44 c004aa4c
[ 1.488786] fe40: 00000000 00000002 c0815ee0 c0815ef0 c074d410 c07788d4 cd07e000 c07892b8
[ 1.497428] fe60: cd07fe8c cd07fe70 c0332e94 c032e9c0 c0815ee0 00000006 c0830040 c074d410
[ 1.506072] fe80: cd07fea4 cd07fe90 c03332c0 c0332dec c07f937c 00000000 cd07febc cd07fea8
[ 1.514713] fea0: c0778924 c03332a4 00000000 c07a3248 cd07ff4c cd07fec0 c00089ec c07788e0
[ 1.523356] fec0: 0000008f 00000000 00000000 00000000 cd07fefc cd07fee0 cd07ff04 cd07fee8
[ 1.531997] fee0: cd07ff00 cd07fef0 c074d410 c0a7a83e c0597934 000000c0 cd07ff4c cd07ff08
[ 1.540639] ff00: c005df18 c074d41c 00000000 00000006 c0a7a846 00000006 c074a19c c06fbc4c
[ 1.549283] ff20: cd07ff4c c07a3248 00000006 c0830040 c074d410 000000c0 c07892ac c07892b8
[ 1.557928] ff40: cd07ff94 cd07ff50 c074db94 c0008904 00000006 00000006 c074d410 a8dc6df5
[ 1.566569] ff60: cfb8f97a eda6ff3f f81dec3b 00000000 c0567290 00000000 00000000 00000000
[ 1.575213] ff80: 00000000 00000000 cd07ffac cd07ff98 c05672a0 c074dab0 00000000 00000000
[ 1.583855] ffa0: 00000000 cd07ffb0 c00146f8 c056729c 00000000 00000000 00000000 00000000
[ 1.592498] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.601139] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 effd6fbd fb7aecbf
[ 1.609772] Backtrace:
[ 1.612369] [<c03c2d9c>] (__smsc911x_reg_read+0x0/0x70) from [<c03c5f84>] (smsc911x_drv_probe)
[ 1.622671] [<c03c5c0c>] (smsc911x_drv_probe+0x0/0x16a0) from [<c0332a6c>] (platform_drv_prob)
[ 1.632795] [<c0332a4c>] (platform_drv_probe+0x0/0x24) from [<c0331738>] (driver_probe_device)
[ 1.643003] [<c0331634>] (driver_probe_device+0x0/0x240) from [<c0331954>] (__device_attach+0)
[ 1.652834] r7:c080d948 r6:c033190c r5:c0815ef0 r4:c0815e34
[ 1.658838] [<c033190c>] (__device_attach+0x0/0x4c) from [<c032fc14>] (bus_for_each_drv+0x4c/)
[ 1.668300] r5:c0815ef0 r4:00+-----------------------------+
[ 1.672090] [<c032fbc8>] (bus_| |03315f0>] (device_attach+0x78/0x)
[ 1.681368] r6:c080d8f0 r5:c0| Cannot open /dev/ttyUSB1! |
[ 1.686262] [<c0331578>] (devi| |0b68>] (bus_probe_device+0x8c/0x)
[ 1.695540] r6:c080d8f0 r5:c0+-----------------------------+
[ 1.701541] [<c0330adc>] (bus_probe_device+0x0/0xb4) from [<c032ed00>] (device_add+0x34c/0x62)
[ 1.710727] r6:c0815ef8 r5:00000000 r4:c0815ef0 r3:fffffffe
[ 1.716729] [<c032e9b4>] (device_add+0x0/0x624) from [<c0332e94>] (platform_device_add+0xb4/0)
[ 1.726200] [<c0332de0>] (platform_device_add+0x0/0x218) from [<c03332c0>] (platform_device_r)
[ 1.736856] r7:c074d410 r6:c0830040 r5:00000006 r4:c0815ee0
[ 1.742867] [<c0333298>] (platform_device_register+0x0/0x2c) from [<c0778924>] (smsc911x_init)
[ 1.753524] r4:00000000 r3:c07f937c
[ 1.757317] [<c07788d4>] (smsc911x_init_module+0x0/0x70) from [<c00089ec>] (do_one_initcall+0)
[ 1.767239] r4:c07a3248 r3:00000000
[ 1.771036] [<c00088f8>] (do_one_initcall+0x0/0x154) from [<c074db94>] (kernel_init_freeable+)
[ 1.781075] [<c074daa4>] (kernel_init_freeable+0x0/0x1bc) from [<c05672a0>] (kernel_init+0x10)
[ 1.790651] [<c0567290>] (kernel_init+0x0/0xec) from [<c00146f8>] (ret_from_fork+0x14/0x3c)
[ 1.799471] r4:00000000 r3:00000000
[ 1.803260] Code: e3130001 0a000012 e5903000 e0833001 (e1d3c0b0)
[ 1.809750] ---[ end trace 9c5a2f7d383f0890 ]---
[ 1.814802] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 1.814802]

Please suggest ASAP.

Thanks in advance.

Regards,

Ankur Singh

  • Hi Ankur,

    Is this kernel panic consistent (present on every board boot up)?

    I don't think this is because of the SMSC, because it is enabled by default in the .config:

    CONFIG_NET_VENDOR_SMSC=y

    CONFIG_SMC91X=y

    # CONFIG_EPIC100 is not set

    # CONFIG_SMC911X is not set

    CONFIG_SMSC911X=y

    # CONFIG_SMSC911X_ARCH_HOOKS is not set

    # CONFIG_SMSC9420 is not set

    And the default menuconfig according to above defconfig settigns:

    The error message comes from the fault.c: do_DataAbort() fucntion & gathers its info from fsr-2level.c fsr_info[] struct. IMO this is probably because something tries to access memory that isn't mapped in the kernel...

    Do you use the default SDK7.0 sources (?), or you've done some modification to the kernel sources

    If you've manually included some kernel modules (through tisdk_am335x-evm_defconfig or make menuconfig), try disabling them & see if the kernel panic is present.

    Best Regards,

    Yordan