Closed xiaowei6911 closed 10 years ago
this the capture of the terminal screen:
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available arm-pmu arm-pmu: PMU:CTI successfully enabled NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered NTFS driver 2.1.30 [Flags: R/W]. jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. msgmni has been set to 2016 io scheduler noop registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 194) is a 16550A console [ttyS0] enabled ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 195) is a 16550A altera_fpga_manager ff706000.fpgamgr: fpga manager [Altera FPGA Manager] registered as minor 0 brd: module loaded at24 0-0051: 4096 byte 24c32 EEPROM, writable, 32 bytes/write altera_hps2fpga_bridge fpgabridge.2: fpga bridge [hps2fpga] registered as device hps2fpga altera_hps2fpga_bridge fpgabridge.3: fpga bridge [lshps2fpga] registered as device lwhps2fpga altera_hps2fpga_bridge fpgabridge.4: fpga bridge [fpga2hps] registered as device fpga2hps denali-nand-dt ff900000.nand: Dump timing register values:acc_clks: 0, re_2_we: 50, re_2_re: 50 we_2_re: 5170, addr_2_data: 5170, rdwr_en_lo_cnt: 18 rdwr_en_hi_cnt: 12, cs_setup_cnt: 3 NAND device: Manufacturer ID: 0x76, Chip ID: 0x56 (Unknown NAND 64MiB 3,3V 16-bit), 64MiB, page size: 5126 4 NAND chips detected cadence-qspi ff705000.spi: master is unqueued, this is deprecated m25p80 spi2.0: n25q00 (131072 Kbytes) 2 ofpart partitions found on MTD device spi2.0 Creating 2 MTD partitions on "spi2.0": 0x000000000000-0x000000800000 : "Flash 0 Raw Data" 0x000000800000-0x000008000000 : "Flash 0 jffs2 Filesystem" cadence-qspi ff705000.spi: Cadence QSPI controller driver dw_spi_mmio fff00000.spi: master is unqueued, this is deprecated dw_spi_mmio fff01000.spi: master is unqueued, this is deprecated stmmac - user ID: 0x10, Synopsys ID: 0x37 DMA HW capability register supported Enhanced/Alternate descriptors RX Checksum Offload Engine supported (type 2) TX Checksum insertion supported Enable RX Mitigation via HW Watchdog Timer libphy: stmmac: probed eth0: PHY ID 00221611 at 1 IRQ 0 (stmmac-0:01) active Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. Using Slave mode dwc_otg ffb40000.usb: DWC OTG Controller dwc_otg ffb40000.usb: new USB bus registered, assigned bus number 1 dwc_otg ffb40000.usb: irq 160, io mem 0xffb40000 Init: Port Power? op_state=b_peripheral hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected mousedev: PS/2 mouse device common for all mice rtc-ds1307: probe of 0-0068 failed with error -5 i2c /dev entries driver Synopsys Designware Multimedia Card Interface Driver dwmmc_socfpga ff704000.dwmmc0: couldn't determine pwr-en, assuming pwr-en = 0 dwmmc_socfpga ff704000.dwmmc0: Using internal DMA controller. dwmmc_socfpga ff704000.dwmmc0: DW MMC controller at irq 171, 32 bit host data width, 1024 deep fifo mmc_host mmc0: Bus speed (slot 0) = 12500000Hz (slot req 400000Hz, actual 390625HZ div = 16) dwmmc_socfpga ff704000.dwmmc0: 1 slots initialized dwmmc_socfpga ff704000.dwmmc0: Version ID is 240a ledtrig-cpu: registered to indicate activity on CPUs usbcore: registered new interface driver usbhid usbhid: USB HID core driver mmc_host mmc0: Bus speed (slot 0) = 12500000Hz (slot req 12500000Hz, actual 12500000HZ div = 0) mmc0: new high speed SDHC card at address b368 mmcblk0: mmc0:b368 F0F0F 3.69 GiB oprofile: using arm/armv7-ca9 TCP: cubic registered NET: Registered protocol family 17 NET: Registered protocol family 15 Key type dns_resolver registered VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 mmcblk0: p1 p2 p3 ThumbEE CPU extension supported. Registering SWP/SWPB emulation handler kjournald starting. Commit interval 5 seconds EXT3-fs (mmcblk0p2): using internal journal EXT3-fs (mmcblk0p2): recovery complete EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode VFS: Mounted root (ext3 filesystem) on device 179:2. devtmpfs: mounted Freeing init memory: 260K /sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: No such filey Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
<8001652c> from <8045fd9c> <8045fd9c> from <8046001c> <8046001c> from <80028580> <80028580> from <80029594> <80029594> from <80029638> <80029638> from <8000e480> CPU1: stopping <8001652c> from <8045fd9c> <8045fd9c> from <80014420> <80014420> from <800085b0> <800085b0> from <8000e080> Exception stack(0xbf8dbf68 to 0xbf8dbfb0) bf60: 80676944 a0000193 00000000 00000000 80676588 806443b4 bf80: 80468f20 bf8da000 80676588 bf8da000 bf8da000 bf8dbfdc bf8dbf98 bf8dbfb0 bfa0: 8000f914 8000f8f0 60000113 ffffffff <8000e080> from <8000f8f0> <8000f8f0> from <8045d378> <8045d378> from <0045c884> ++OTG Interrupt: A-Device Timeout Change++
This has come up before. There seem to be some issues with the cross-compiler. See issue #9 for workarounds to the problem.
It seems quite a few people are having this problem. I haven't been aware of it since I'm using an older version of the Linaro cross-compiler. I will try the latest release and see how it goes.
thanks for the link and I can understand what the problem is. I tried to follow the workaround and created the symbol links and hope the application can find the library at the specific location. it seems does not help and I still get the same panic. I believe it is something I am not doing correctly. Here is the screen capture after the symbol links are created. xiaowei6911@ubuntu:/media/59137daf-2a15-4f6b-a824-6d7eaad1a490/usr/lib$ ls -l total 780 lrwxrwxrwx 1 root root 7 Feb 9 06:34 arm-linux-gnueabihf -> usr/lib lrwxrwxrwx 1 root root 16 Feb 8 20:06 libopkg.so -> libopkg.so.1.0.0 lrwxrwxrwx 1 root root 16 Feb 8 20:06 libopkg.so.1 -> libopkg.so.1.0.0 -rwxr-xr-x 1 root root 143532 Feb 8 20:06 libopkg.so.1.0.0 lrwxrwxrwx 1 root root 19 Feb 8 20:02 libstdc++.so.6 -> libstdc++.so.6.0.18 -rwxr-xr-x 1 root root 632688 Feb 8 20:06 libstdc++.so.6.0.18 -rwxr-xr-x 1 root root 2452 Feb 8 20:02 libstdc++.so.6.0.18-gdb.py drwxrwxr-x 2 root root 4096 Feb 8 20:06 opkg xiaowei6911@ubuntu:/media/59137daf-2a15-4f6b-a824-6d7eaad1a490/usr/lib$ cd .. xiaowei6911@ubuntu:/media/59137daf-2a15-4f6b-a824-6d7eaad1a490/usr$ cd .. xiaowei6911@ubuntu:/media/59137daf-2a15-4f6b-a824-6d7eaad1a490$ cd lib xiaowei6911@ubuntu:/media/59137daf-2a15-4f6b-a824-6d7eaad1a490/lib$ ls -l arm-linux-gnueabihf lrwxrwxrwx 1 root root 3 Feb 9 06:33 arm-linux-gnueabihf -> lib Please let me know if you notice something is wrong.
I figured it out. it is the symbol link that is not valid. Thanks a lot
I followed all the steps and I got the following kernel panic when I am trying to boot the system. Freeing init memory: 260K /sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: No such filey Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
<8001652c> from <8045fd9c> <8045fd9c> from <8046001c> <8046001c> from <80028580> <80028580> from <80029594> <80029594> from <80029638> <80029638> from <8000e480> CPU1: stopping <8001652c> from <8045fd9c> <8045fd9c> from <80014420> <80014420> from <800085b0> <800085b0> from <8000e080> Exception stack(0xbf8dbf68 to 0xbf8dbfb0) bf60: 80676944 a0000193 00000000 00000000 80676588 806443b4 bf80: 80468f20 bf8da000 80676588 bf8da000 bf8da000 bf8dbfdc bf8dbf98 bf8dbfb0 bfa0: 8000f914 8000f8f0 60000113 ffffffff <8000e080> from <8000f8f0> <8000f8f0> from <8045d378> <8045d378> from <0045c884> ++OTG Interrupt: A-Device Timeout Change++
any clues? thanks