CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 17480|回复: 8

重大!SSH reboot重启,系统报错进不去

[复制链接]
发表于 2013-11-30 03:41:58 | 显示全部楼层 |阅读模式
本帖最后由 lariver 于 2013-11-30 12:10 编辑

我用SSH reboot CB1,但是再也进不去系统了。。

用TTL看启动信息,最核心的提示如下,一直卡着不动:
<6>Mali DRM initialize, driver name: mali_drm, version 2.1
<6>[drm] Initialized mali_drm 2.1.1 20101111 on minor 1

我把它通过HDMI输出到电视上,最后一行提示的错误为:
[12.580000]kojject_add_internal failed for lcd with -EEXIST, don't try to register things with the same name in the same directory.

求助!
回复

使用道具 举报

发表于 2013-11-30 16:25:45 | 显示全部楼层
哪一个固件?做了什么操作?方便问题复现和问题定位
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-11-30 16:50:35 来自手机 | 显示全部楼层
matson 发表于 2013-11-30 16:25
哪一个固件?做了什么操作?方便问题复现和问题定位

SD卡刷的官方固件cb-sdcard-1.1-linaro-quantal-alip-20130227-290.img.tgz。

操作:在reboot前是在解决vnc交接后白屏的问题,先是卸载并重新安装vnc,更改.vnc/xstartup 配置文件,安装了xorg和xfce环境。

整体:cb上运行了wordpress,mjpg-streamer,aria2,负载一直在2以上。

后续:我找了一张sd卡重新安装了一样的固件,放到cb里可以正常启动,而且连接显示器可以看到在进去桌面前的命令行提示语跟上文出现问题的sd卡贴出来的一样,但新sd卡正常启动后联网很慢,eth0用了一次也消失了,wlan也加不上了。

好崩溃,cb之前也出现过sd卡启动不了的问题,这次因为里边架设的服务和网站数据都很重要,迫切能得到高人指点!
回复 支持 反对

使用道具 举报

发表于 2013-11-30 16:59:44 | 显示全部楼层
lariver 发表于 2013-11-30 16:50
SD卡刷的官方固件cb-sdcard-1.1-linaro-quantal-alip-20130227-290.img.tgz。

操作:在reboot前是在解决 ...

能够接上串口看一下打印?
能够搞到dmesg或者/var/log/Xorg.0.log日志
SDCard的话可以在pc端尝试挂载起来,会否容量被撑爆了?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-11-30 22:17:20 | 显示全部楼层
matson 发表于 2013-11-30 16:59
能够接上串口看一下打印?
能够搞到dmesg或者/var/log/Xorg.0.log日志
SDCard的话可以在pc端尝试挂载起来 ...

[    3.670000] usbcore: registered new interface driver usbhid
<6>usbhid: USB HID core driver
[    3.680000] usbhid: USB HID core driver
enter sun4i Audio codec!!!
[    3.690000] enter sun4i Audio codec!!!
<6>sun4i audio support initialized
[    3.700000] sun4i audio support initialized
sun4i Audio codec successfully loaded..
[    3.710000] sun4i Audio codec successfully loaded..
<6>asoc: sndhdmi <-> sun4i-hdmiaudio.0 mapping ok
[    3.720000] asoc: sndhdmi <-> sun4i-hdmiaudio.0 mapping ok
<6>ALSA device list:
[    3.730000] ALSA device list:
<6>  #0: sun4i-CODEC  Audio Codec
[    3.730000]   #0: sun4i-CODEC  Audio Codec
<6>  #1: sun4i-sndhdmi
[    3.740000]   #1: sun4i-sndhdmi
<6>IPv4 over IPv4 tunneling driver
[    3.750000] IPv4 over IPv4 tunneling driver
<6>TCP cubic registered
[    3.750000] TCP cubic registered
<6>Initializing XFRM netlink socket
[    3.760000] Initializing XFRM netlink socket
<6>NET: Registered protocol family 10
[    3.770000] NET: Registered protocol family 10
<6>NET: Registered protocol family 17
[    3.780000] NET: Registered protocol family 17
<6>NET: Registered protocol family 15
[    3.790000] NET: Registered protocol family 15
<6>Bluetooth: RFCOMM TTY layer initialized
[    3.790000] Bluetooth: RFCOMM TTY layer initialized
<6>Bluetooth: RFCOMM socket layer initialized
[    3.800000] Bluetooth: RFCOMM socket layer initialized
<6>Bluetooth: RFCOMM ver 1.11
[    3.810000] Bluetooth: RFCOMM ver 1.11
<6>Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.820000] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>Bluetooth: BNEP filters: protocol multicast
[    3.830000] Bluetooth: BNEP filters: protocol multicast
<6>802.1Q VLAN Support v1.8
[    3.840000] 802.1Q VLAN Support v1.8
[mmc_pm]: No sdio card, please check your config !!
[    3.840000] [mmc_pm]: No sdio card, please check your config !!
<5>Registering the dns_resolver key type
[    3.860000] Registering the dns_resolver key type
<6>VFP support v0.3: [    3.860000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
implementor 41 architecture 3 part 30 variant c rev 3
<5>Registering SWP/SWPB emulation handler
[    3.880000] Registering SWP/SWPB emulation handler
<6>registered taskstats version 1
[    3.890000] registered taskstats version 1
<6>disp clks: lcd 74250000 pre_scale 1 hdmi 74250000 pll 297000000 2x 0
[    3.990000] disp clks: lcd 74250000 pre_scale 1 hdmi 74250000 pll 297000000 2x 0
[mmc]: mmc 0 detect change, present 1
[    4.570000] [mmc]: mmc 0 detect change, present 1
[mmc]: mmc 0 power on !!
[    4.870000] [mmc]: mmc 0 power on !!
[mmc]: sdxc_request_done(L1113): [    4.910000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 52,  RTO !!
smc 0 err, cmd 52,  RTO !!
[mmc]: sdxc_request_done(L1113): [    4.920000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 52,  RTO !!
smc 0 err, cmd 52,  RTO !!
[mmc]: sdxc_request_done(L1113): [    4.940000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5,  RTO !!
smc 0 err, cmd 5,  RTO !!
[mmc]: sdxc_request_done(L1113): [    4.950000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5,  RTO !!
smc 0 err, cmd 5,  RTO !!
[mmc]: sdxc_request_done(L1113): [    4.960000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5,  RTO !!
smc 0 err, cmd 5,  RTO !!
[mmc]: sdxc_request_done(L1113): [    4.970000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5,  RTO !!
smc 0 err, cmd 5,  RTO !!
<6>mmc0: new high speed SDHC card at address f775
[    5.010000] mmc0: new high speed SDHC card at address f775
<6>mmcblk0: mmc0:f775 SU04G 3.79 GiB
[    5.030000] mmcblk0: mmc0:f775 SU04G 3.79 GiB
<6> mmcblk0: p1 p2
[    5.040000]  mmcblk0: p1 p2
<6>Console: switching to colour frame buffer device 160x45
[    5.250000] Console: switching to colour frame buffer device 160x45
<4>regulator_init_complete: axp20_buck3: incomplete constraints, leaving on
[    5.290000] regulator_init_complete: axp20_buck3: incomplete constraints, leaving on
<4>regulator_init_complete: axp20_buck2: incomplete constraints, leaving on
[    5.310000] regulator_init_complete: axp20_buck2: incomplete constraints, leaving on
<4>regulator_init_complete: axp20_ldo4: incomplete constraints, leaving on
[    5.320000] regulator_init_complete: axp20_ldo4: incomplete constraints, leaving on
<4>regulator_init_complete: axp20_ldo3: incomplete constraints, leaving on
[    5.340000] regulator_init_complete: axp20_ldo3: incomplete constraints, leaving on
<4>regulator_init_complete: axp20_ldo2: incomplete constraints, leaving on
[    5.350000] regulator_init_complete: axp20_ldo2: incomplete constraints, leaving on
<6>sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
[    5.370000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
<6>sunxi-rtc sunxi-rtc: read time 2010-1-1 0:4:26
[    5.380000] sunxi-rtc sunxi-rtc: read time 2010-1-1 0:4:26
<6>sunxi-rtc sunxi-rtc: setting system clock to 2010-01-01 00:04:26 UTC (1262304266)
[    5.390000] sunxi-rtc sunxi-rtc: setting system clock to 2010-01-01 00:04:26 UTC (1262304266)
<6>EXT4-fs (mmcblk0p2): recovery complete
[    6.980000] EXT4-fs (mmcblk0p2): recovery complete
<6>EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    6.990000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
<6>VFS: Mounted root (ext4 filesystem) on device 179:2.
[    7.010000] VFS: Mounted root (ext4 filesystem) on device 179:2.
<6>devtmpfs: mounted
[    7.030000] devtmpfs: mounted
<6>Freeing init memory: 172K
[    7.040000] Freeing init memory: 172K
<4>init: ureadahead main process (53) terminated with status 5
[    7.810000] init: ureadahead main process (53) terminated with status 5
<4>init: plymouth main process (54) killed by SEGV signal
[    7.850000] init: plymouth main process (54) killed by SEGV signal
<30>udevd[131]: starting version 175
<6>sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP
<4>sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
<6>sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
<6>sw_ahci sw_ahci.0: flags: ncq sntf pm led clo only pio slum part ccc
<6>scsi0 : sw_ahci_platform
<6>ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 56
<6>ata1: SATA link down (SStatus 0 SControl 300)
<4>------------[ cut here ]------------
<4>WARNING: at /media/work/sunxi-bsp/linux-sunxi/fs/sysfs/dir.c:455 sysfs_add_one+0x88/0xbc()
<4>sysfs: cannot create duplicate filename '/class/lcd'
<d>Modules linked in: lcd(+) sw_ahci_platform
[<c003f29c>] (unwind_backtrace+0x0/0x138) from [<c0064628>] (warn_slowpath_common+0x4c/0x64)
[<c0064628>] (warn_slowpath_common+0x4c/0x64) from [<c00646d4>] (warn_slowpath_fmt+0x30/0x40)
[<c00646d4>] (warn_slowpath_fmt+0x30/0x40) from [<c0148eb4>] (sysfs_add_one+0x88/0xbc)
[<c0148eb4>] (sysfs_add_one+0x88/0xbc) from [<c0148f48>] (create_dir+0x60/0xb4)
[<c0148f48>] (create_dir+0x60/0xb4) from [<c014904c>] (sysfs_create_dir+0x84/0xf0)
[<c014904c>] (sysfs_create_dir+0x84/0xf0) from [<c02a61e4>] (kobject_add_internal+0xb4/0x224)
[<c02a61e4>] (kobject_add_internal+0xb4/0x224) from [<c02a68ec>] (kset_register+0x20/0x3c)
[<c02a68ec>] (kset_register+0x20/0x3c) from [<c031eb00>] (__class_register+0xc0/0x1d0)
[<c031eb00>] (__class_register+0xc0/0x1d0) from [<c031ec5c>] (__class_create+0x4c/0x84)
[<c031ec5c>] (__class_create+0x4c/0x84) from [<bf007018>] (lcd_class_init+0x18/0x5c [lcd])
[<bf007018>] (lcd_class_init+0x18/0x5c [lcd]) from [<c0033378>] (do_one_initcall+0x34/0x174)
[<c0033378>] (do_one_initcall+0x34/0x174) from [<c009402c>] (sys_init_module+0x3b8/0x1a84)
[<c009402c>] (sys_init_module+0x3b8/0x1a84) from [<c0039700>] (ret_fast_syscall+0x0/0x30)
<4>---[ end trace d9c5d60d0b9f7395 ]---
<3>kobject_add_internal failed for lcd with -EEXIST, don't try to register things with the same name in the same directory.
[   10.940000] kobject_add_internal failed for lcd with -EEXIST, don't try to register things with the same name in the same directory.
[<c003f29c>] (unwind_backtrace+0x0/0x138) from [<c02a627c>] (kobject_add_internal+0x14c/0x224)
[<c02a627c>] (kobject_add_internal+0x14c/0x224) from [<c02a68ec>] (kset_register+0x20/0x3c)
[<c02a68ec>] (kset_register+0x20/0x3c) from [<c031eb00>] (__class_register+0xc0/0x1d0)
[<c031eb00>] (__class_register+0xc0/0x1d0) from [<c031ec5c>] (__class_create+0x4c/0x84)
[<c031ec5c>] (__class_create+0x4c/0x84) from [<bf007018>] (lcd_class_init+0x18/0x5c [lcd])
[<bf007018>] (lcd_class_init+0x18/0x5c [lcd]) from [<c0033378>] (do_one_initcall+0x34/0x174)
[<c0033378>] (do_one_initcall+0x34/0x174) from [<c009402c>] (sys_init_module+0x3b8/0x1a84)
[<c009402c>] (sys_init_module+0x3b8/0x1a84) from [<c0039700>] (ret_fast_syscall+0x0/0x30)
<4>Unable to create backlight class; errno = -17
UMP<2>: Inserting UMP device driver. Compiled: Apr  2 2013, time: 19:43:31
UMP<2>: Using OS memory backend, allocation limit: 134217728
UMP: UMP device driver  loaded
<4>wemac wemac.0: WARNING: no IRQ resource flags set.
<6>wemac wemac.0: eth0: link down
<6>ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>mali: use config clk_div 3
<6>mali: clk_div 3
Mali: mali clock set completed, clock is  320000000 Mhz
<6>mali: use config clk_div 3
<6>mali: clk_div 3
Mali: mali clock set completed, clock is  320000000 Mhz
Mali: Mali device driver loaded
<6>[drm] Initialized drm 1.1.0 20060810
<6>Mali DRM initialize, driver name: mali_drm, version 2.1
<6>[drm] Initialized mali_drm 2.1.1 20101111 on minor 0
<6>Mali DRM initialize, driver name: mali_drm, version 2.1
<6>[drm] Initialized mali_drm 2.1.1 20101111 on minor 1







回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-11-30 22:21:29 | 显示全部楼层
本帖最后由 lariver 于 2013-11-30 22:46 编辑

上边是串口打印信息,论坛限制,发不了太长。
查看了SD卡容量,使用80%。
以下是Xorg.0.log文件内容:


[   515.194] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[   515.194] (==) SUNXIFB(0): DPMS enabled
[   515.194] (II) SUNXIFB(0): using hardware cursor
[   515.249] (II) Loading sub module "dri2"
[   515.249] (II) LoadModule: "dri2"
[   515.249] (II) Module "dri2" already built-in
[   515.253] (II) SUNXIFB(0): enabled display controller hardware overlays for $
[   515.253] (II) SUNXIFB(0): [DRI2] Setup complete
[   515.253] (II) SUNXIFB(0): [DRI2]   DRI driver: sunxi-mali
[   515.253] (II) SUNXIFB(0): using DRI2 integration for Mali GPU (UMP buffers)
[   515.253] (II) SUNXIFB(0): Mali binary drivers can only accelerate EGL/GLES
[   515.253] (II) SUNXIFB(0): so AIGLX/GLX is expected to fail or fallback to s$
[   515.253] (==) RandR enabled
[   515.651] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/sunxi$
[   515.651] (EE) AIGLX: reverting to software rendering
[   515.651] (II) AIGLX: Screen 0 is not DRI capable
[   516.453] (II) AIGLX: Loaded and initialized swrast
[   516.454] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   516.850] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E5$
[   516.886] (II) config/udev: Adding drm device (/dev/dri/card0)
[   516.886] (II) config/udev: Adding drm device (/dev/dri/card1)
[   516.911] (II) config/udev: Adding input device axp20-supplyer (/dev/input/e$
[   516.911] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall"
[   516.911] (II) LoadModule: "evdev"
[   516.972] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   517.015] (II) Module evdev: vendor="X.Org Foundation"
[   517.015]    compiled for 1.13.0, module version = 2.7.3
[   517.015]    Module class: X.Org XInput Driver
[   517.015]    ABI class: X.Org XInput driver, version 18.0
[   517.016] (II) Using input driver 'evdev' for 'axp20-supplyer'
[   517.016] (**) axp20-supplyer: always reports core events
[   517.016] (**) evdev: axp20-supplyer: Device: "/dev/input/event0"
[   517.016] (--) evdev: axp20-supplyer: Vendor 0x1 Product 0x1
[   517.017] (--) evdev: axp20-supplyer: Found keys
[   517.017] (II) evdev: axp20-supplyer: Configuring as keyboard
[   517.017] (**) Option "config_info" "udev:/sys/devices/platform/sun4i-i2c.0/$
[   517.017] (II) XINPUT: Adding extended input device "axp20-supplyer" (type: $
[   517.017] (**) Option "xkb_rules" "evdev"
[   517.017] (**) Option "xkb_model" "pc105"
[   517.017] (**) Option "xkb_layout" "us"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-11-30 22:47:49 | 显示全部楼层
dmesg最后几行LOG:

[  379.330000] ehci_irq: port change detect
[  379.610000] usb 2-1: new high speed USB device number 2 using sw-ehci
[  379.780000] hub 2-1:1.0: USB hub found
[  379.780000] hub 2-1:1.0: 4 ports detected
[  380.070000] usb 2-1.4: new high speed USB device number 3 using sw-ehci
[  380.190000] scsi1 : usb-storage 2-1.4:1.0
[  381.190000] scsi 1:0:0:0: Direct-Access     BUFFALO  HD-PETU2E        1.04 PQ: 0 ANSI: 4
[  381.220000] sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[  381.240000] sd 1:0:0:0: [sda] Write Protect is off
[  381.240000] sd 1:0:0:0: [sda] Mode Sense: 23 00 00 00
[  381.270000] sd 1:0:0:0: [sda] No Caching mode page present
[  381.510000] sd 1:0:0:0: [sda] Assuming drive cache: write through
[  381.710000] sd 1:0:0:0: [sda] No Caching mode page present
[  381.780000] sd 1:0:0:0: [sda] Assuming drive cache: write through
[  381.920000]  sda: sda1
[  381.960000] sd 1:0:0:0: [sda] No Caching mode page present
[  382.050000] sd 1:0:0:0: [sda] Assuming drive cache: write through
[  382.140000] sd 1:0:0:0: [sda] Attached SCSI disk
[  387.810000] [mmc_pm]: No sdio card, please check your config !!
[  388.090000] init: plymouth-log main process (415) terminated with status 1
[  389.410000] init: plymouth-upstart-bridge main process (481) terminated with status 1

回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-12-22 23:54:49 | 显示全部楼层
换了8G卡制作的系统,运行了几天后,又再次出现这个问题。
崩溃。
回复 支持 反对

使用道具 举报

发表于 2014-1-1 14:04:36 | 显示全部楼层
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-25 03:54 , Processed in 0.026072 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部