level 1
xielangtao
楼主
这是启动信息:
U-Boot 2013.01 (Apr 18 2017 - 09:15:05)
DRAM: 512 MiB
WARNING: Caches not enabled
MMC: zynq_sdhci: 0
SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: Gem.e000b000
Hit any key to stop autoboot: 0
Copying Linux from QSPI flash to RAM...
SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
## Booting kernel from Legacy Image at 04000000 ...
Image Name: Linux-3.8.11zynq-kpa
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2763208 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 03000000
Booting using the fdt blob at 0x03000000
Loading Kernel Image ... OK
OK
Loading Device Tree to 1fb51000, end 1fb56633 ... OK
Starting kernel ...
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
I-pipe: head domain Xenomai registered.
Xenomai: hal/arm started.
Xenomai: scheduling class idle registered.
Xenomai: scheduling class rt registered.
Xenomai: real-time nucleus v2.6.3 (Lies and Truths) loaded.
Xenomai: debug mode enabled.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
msgmni has been set to 1003
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82) is a xuartps
console [ttyPS0] enabled
xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e08ea000 with size 100
brd: module loaded
li
bp
hy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
libphy: XEMACPS mii bus: probed
xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-platform: EHCI generic platform driver
ULPI transceiver vendor/product ID 0x0451/0x1507
Found TI TUSB1210 ULPI transceiver.
ULPI integrity check: passed.
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000
xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0101000.ps7-sdio [e0101000.ps7-sdio] using ADMA
mmc1: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA
mmc0: BKOPS_EN bit is not set
usbcore: registered new interface driver usbkbd
usbcore: registered new interface driver usbmouse
IPv4 over IPv4 tunneling driver
gre: GRE over IPv4 demultiplexor driver
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 MMC02G 1.78 GiB
mmcblk0boot0: mmc0:0001 MMC02G partition 1 1.00 MiB
mmcblk0boot1: mmc0:0001 MMC02G partition 2 1.00 MiB
mmcblk0rpmb: mmc0:0001 MMC02G partition 3 128 KiB
mmcblk0: p1
mmcblk0boot1: unknown partition table
mmcblk0boot0: unknown partition table
ip_gre: GRE over IPv4 tunneling driver
IPv4 over IPSec tunneling driver
TCP: cubic registered
mmc1: new SDHC card at address 0001
Initializing XFRM netlink socket
mmcblk1: mmc1:0001 SD8GB 7.27 GiB (ro)
mmcblk1: p1 p2
NET: Registered protocol family 17
NET: Registered protocol family 15
sctp: Hash tables configured (established 16384 bind 16384)
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
### of_selftest(): No testcase data in device tree; not running tests
IP-Config: Complete:
device=eth0, hwaddr=00:0a:35:00:01:22, ipaddr=192.168.100.1, mask=255.255.255.0, gw=192.168.100.1
host=192.168.100.1, domain=, nis-domain=(none)
bootserver=192.168.100.1, rootserver=192.168.100.1, rootpath=
EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:1.
devtmpfs: mounted
Freeing init memory: 192K
usb 1-1: new low-speed USB device number 2 using xusbps-ehci
input: Dell Dell USB Entry Keyboard as /devices/amba.0/e0002000.ps7-usb/xusbps-ehci.0/usb1/1-1/1-1:1.0/input/input0
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevdudevd[791]: starting version 175
udevd[791]: inotify_init failed: Function not implemented
udevd[791]: error initializing inotify
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Setting preliminary keymap...done.
[ ok ] Setting parameters of disc: (none).
[ ok ] Activating swap...done.
EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...ifup: failed to lock statefile /run/network/ifstate: Permission denied
failed.
[ ok ] Cleaning up temporary files....
[ ok ] Setting up ALSA...done (none loaded).
[info] Setting console screen modes.
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
[info] Skipping font and keymap setup (handled by console-setup).
[ ok ] Setting up console font and keymap...done.
[ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting enhanced syslogd: rsyslogdCan't lock, lock is held by pid 0.
Can't write pid.
现在runlevel 2,启动时会在这个地方卡6分钟左右,但是runlevel 1启动的时候不会有这个问题。
然后会继续启动:
[....] Starting enhanced syslogd: rsyslogdCan't lock, lock is held by pid 0.
Can't write pid.
[ ok ady started.
[....] Starting periodic command scheduler: cron/usr/sbin/cron: can't lock /var/run/crond.pid, otherpid may be 0: Function not implemented
failed!
[ ok ] Starting system message bus: dbus.
saned disabled; edit /etc/default/saned
Debian GNU/Linux 7 debian ttyPS0
请教一下各位,这个是什么原因?该怎么解决?
2017年04月21日 11点04分
1
U-Boot 2013.01 (Apr 18 2017 - 09:15:05)
DRAM: 512 MiB
WARNING: Caches not enabled
MMC: zynq_sdhci: 0
SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: Gem.e000b000
Hit any key to stop autoboot: 0
Copying Linux from QSPI flash to RAM...
SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
## Booting kernel from Legacy Image at 04000000 ...
Image Name: Linux-3.8.11zynq-kpa
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2763208 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 03000000
Booting using the fdt blob at 0x03000000
Loading Kernel Image ... OK
OK
Loading Device Tree to 1fb51000, end 1fb56633 ... OK
Starting kernel ...
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
I-pipe: head domain Xenomai registered.
Xenomai: hal/arm started.
Xenomai: scheduling class idle registered.
Xenomai: scheduling class rt registered.
Xenomai: real-time nucleus v2.6.3 (Lies and Truths) loaded.
Xenomai: debug mode enabled.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
msgmni has been set to 1003
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82) is a xuartps
console [ttyPS0] enabled
xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e08ea000 with size 100
brd: module loaded
li
bp
hy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
libphy: XEMACPS mii bus: probed
xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-platform: EHCI generic platform driver
ULPI transceiver vendor/product ID 0x0451/0x1507
Found TI TUSB1210 ULPI transceiver.
ULPI integrity check: passed.
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000
xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0101000.ps7-sdio [e0101000.ps7-sdio] using ADMA
mmc1: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA
mmc0: BKOPS_EN bit is not set
usbcore: registered new interface driver usbkbd
usbcore: registered new interface driver usbmouse
IPv4 over IPv4 tunneling driver
gre: GRE over IPv4 demultiplexor driver
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 MMC02G 1.78 GiB
mmcblk0boot0: mmc0:0001 MMC02G partition 1 1.00 MiB
mmcblk0boot1: mmc0:0001 MMC02G partition 2 1.00 MiB
mmcblk0rpmb: mmc0:0001 MMC02G partition 3 128 KiB
mmcblk0: p1
mmcblk0boot1: unknown partition table
mmcblk0boot0: unknown partition table
ip_gre: GRE over IPv4 tunneling driver
IPv4 over IPSec tunneling driver
TCP: cubic registered
mmc1: new SDHC card at address 0001
Initializing XFRM netlink socket
mmcblk1: mmc1:0001 SD8GB 7.27 GiB (ro)
mmcblk1: p1 p2
NET: Registered protocol family 17
NET: Registered protocol family 15
sctp: Hash tables configured (established 16384 bind 16384)
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
### of_selftest(): No testcase data in device tree; not running tests
IP-Config: Complete:
device=eth0, hwaddr=00:0a:35:00:01:22, ipaddr=192.168.100.1, mask=255.255.255.0, gw=192.168.100.1
host=192.168.100.1, domain=, nis-domain=(none)
bootserver=192.168.100.1, rootserver=192.168.100.1, rootpath=
EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:1.
devtmpfs: mounted
Freeing init memory: 192K
usb 1-1: new low-speed USB device number 2 using xusbps-ehci
input: Dell Dell USB Entry Keyboard as /devices/amba.0/e0002000.ps7-usb/xusbps-ehci.0/usb1/1-1/1-1:1.0/input/input0
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevdudevd[791]: starting version 175
udevd[791]: inotify_init failed: Function not implemented
udevd[791]: error initializing inotify
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Setting preliminary keymap...done.
[ ok ] Setting parameters of disc: (none).
[ ok ] Activating swap...done.
EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...ifup: failed to lock statefile /run/network/ifstate: Permission denied
failed.
[ ok ] Cleaning up temporary files....
[ ok ] Setting up ALSA...done (none loaded).
[info] Setting console screen modes.
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
[info] Skipping font and keymap setup (handled by console-setup).
[ ok ] Setting up console font and keymap...done.
[ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting enhanced syslogd: rsyslogdCan't lock, lock is held by pid 0.
Can't write pid.
现在runlevel 2,启动时会在这个地方卡6分钟左右,但是runlevel 1启动的时候不会有这个问题。
然后会继续启动:
[....] Starting enhanced syslogd: rsyslogdCan't lock, lock is held by pid 0.
Can't write pid.
[ ok ady started.
[....] Starting periodic command scheduler: cron/usr/sbin/cron: can't lock /var/run/crond.pid, otherpid may be 0: Function not implemented
failed!
[ ok ] Starting system message bus: dbus.
saned disabled; edit /etc/default/saned
Debian GNU/Linux 7 debian ttyPS0
请教一下各位,这个是什么原因?该怎么解决?