by lulo » Wed May 15, 2013 1:28 pm
$this->bbcode_second_pass_quote('pepedog', 'C')an you grab uImage and modules from Debian install
Remember Debian is /lib/modules and arch is /usr/lib/modules
If that works
$this->bbcode_second_pass_code('', 'zcat /proc/config.gz')
pastebin it, if it doesn't work do in Debian
Also can you try (before above)
setenv arcNumber 3339
ok...using this method and not install /lib/modules (idon't know how to properly using)...using only uImage 3.5.1 (copy and replace oryginal uImage to /dev/sda1 an /dev/sda2://boot and setenv arcNumber 3393 to uboot can start machine using RS232 3.3 V TTL<=>USB). Can boot (properly and not properlu -Idon't now) using this command:
$this->bbcode_second_pass_code('', '
ifconfig eth0 down
ifconfig eth0 hw ether 00:19:CB:00:51:81
ifconfig eth0 up
dhcpcd -k eth0
dhcpcd etho
[root@alarm ~]# dhcpcd eth0
dhcpcd[1044]: version 5.6.8 starting
dhcpcd[1044]: eth0: sending IPv6 Router Solicitation
dhcpcd[1044]: eth0: broadcasting for a lease
dhcpcd[1044]: eth0: offered xxx.xxx.1.204 from xxx.xxx.1.1
dhcpcd[1044]: eth0: acknowledged xxx.xxx.1.204 from xxx.xxx.1.1
dhcpcd[1044]: eth0: checking for xxx.xxx.1.204
dhcpcd[1044]: eth0: sending IPv6 Router Solicitation
dhcpcd[1044]: eth0: leased xxx.xxx.1.204 for 43200 seconds
dhcpcd[1044]: forked to background, child pid 1070
[root@alarm ~]# ls /sys/class/net
eth0 lo sit0
')
Internet from eth0 working
zcat config.gz =>
http://pastebin.com/rDSBxzqwand dmesg from boot:
$this->bbcode_second_pass_code('', '
[root@alarm ~]# dmesg
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.5.1 (peter@Ubuntu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 Mon Sep 24 19:17:28 CEST 2012
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Zyxel NSA-310
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat c058ec78, node_mem_map c05d2000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65024 pages, LIFO batch:15
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA0000
0(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/sda2 rw rootwait loglevel=8
[ 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: 256MB = 256MB total
[ 0.000000] Memory: 253896k/253896k available, 8248k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0536930 (5307 kB)
.init : 0xc0537000 - 0xc055c524 ( 150 kB)
.data : 0xc055e000 - 0xc058f3a0 ( 197 kB)
.bss : 0xc058f3c4 - 0xc05d19e0 ( 266 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:114
[ 0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0
[ 0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 15.544409] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[ 15.584433] pid_max: default: 32768 minimum: 301
[ 15.584562] Mount-cache hash table entries: 512
[ 15.584993] Initializing cgroup subsys blkio
[ 15.585069] CPU: Testing write buffer coherency: ok
[ 15.585289] Setting up static identity map for 0x464778 - 0x4647b4
[ 15.586000] devtmpfs: initialized
[ 15.587184] NET: Registered protocol family 16
[ 15.588765] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 15.588776] Feroceon L2: Enabling L2
[ 15.588806] Feroceon L2: Cache support initialised.
[ 15.589963] initial MPP regs: 21111111 01003311 33331100 33003333 00000533 20202000 00000000
[ 15.589984] final MPP regs: 21111111 00003311 33031100 33003333 00000533 00000000 00000000
[ 15.591767] NSA310: Power resume enabled
[ 15.591772] NSA310: Power-off GPIO enabled
[ 15.592129] Kirkwood PCIe port 0:
[ 15.592132] link up
[ 15.592138] PCI: bus0 uses PCIe port 0
[ 15.592285] PCI host bridge to bus 0000:00
[ 15.592300] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff]
[ 15.592307] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 15.592332] pci 0000:00:00.0: [11ab:6281] type 00 class 0x058000
[ 15.592349] pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
[ 15.592359] pci 0000:00:00.0: reg 18: [mem 0x00000000-0x0fffffff]
[ 15.592388] pci 0000:00:00.0: supports D1 D2
[ 15.592422] pci 0000:00:01.0: [10ec:8168] type 00 class 0x020000
[ 15.592442] pci 0000:00:01.0: reg 10: [io 0xf0000000-0xf00000ff]
[ 15.592468] pci 0000:00:01.0: reg 18: [mem 0x40000000-0x40000fff 64bit pref]
[ 15.592486] pci 0000:00:01.0: reg 20: [mem 0x40004000-0x40007fff 64bit pref]
[ 15.592500] pci 0000:00:01.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[ 15.592539] pci 0000:00:01.0: supports D1 D2
[ 15.592546] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 15.592585] PCI: bus0: Fast back to back transfers disabled
[ 15.592911] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[ 15.592923] pci 0000:00:01.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[ 15.592937] pci 0000:00:01.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[ 15.592950] pci 0000:00:01.0: BAR 0: assigned [io 0x1000-0x10ff]
[ 15.608186] bio: create slab <bio-0> at 0
[ 15.609028] SCSI subsystem initialized
[ 15.609392] libata version 3.00 loaded.
[ 15.609960] usbcore: registered new interface driver usbfs
[ 15.610088] usbcore: registered new interface driver hub
[ 15.610238] usbcore: registered new device driver usb
[ 15.610890] Advanced Linux Sound Architecture Driver Version 1.0.25.
[ 15.611552] Switching to clocksource orion_clocksource
[ 15.613366] NET: Registered protocol family 2
[ 15.613505] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 15.613751] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 15.613928] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 15.614017] TCP: Hash tables configured (established 8192 bind 8192)
[ 15.614021] TCP: reno registered
[ 15.614028] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 15.614045] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 15.614180] NET: Registered protocol family 1
[ 15.614335] RPC: Registered named UNIX socket transport module.
[ 15.614340] RPC: Registered udp transport module.
[ 15.614342] RPC: Registered tcp transport module.
[ 15.614345] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 15.614367] PCI: CLS 32 bytes, default 32
[ 15.614609] NetWinder Floating Point Emulator V0.97 (double precision)
[ 15.628176] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 15.629417] Key type cifs.spnego registered
[ 15.629426] NTFS driver 2.1.30 [Flags: R/W].
[ 15.630124] fuse init (API version 7.19)
[ 15.632498] Btrfs loaded
[ 15.632519] msgmni has been set to 495
[ 15.634291] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 15.634299] io scheduler noop registered
[ 15.634303] io scheduler deadline registered (default)
[ 15.634561] io scheduler cfq registered
[ 15.634632] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 15.634663] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 15.674436] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 15.714448] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 15.754432] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 15.794432] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 15.794886] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 15.815544] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 16.311446] console [ttyS0] enabled
[ 16.320813] brd: module loaded
[ 16.326005] loop: module loaded
[ 16.327951] Loading iSCSI transport class v2.0-870.
[ 16.332334] iscsi: registered transport (tcp)
[ 16.335847] sata_mv sata_mv.0: version 1.28
[ 16.338783] sata_mv sata_mv.0: cannot get optional clkdev
[ 16.342977] sata_mv sata_mv.0: slots 32 ports 2
[ 16.347885] scsi0 : sata_mv
[ 16.349771] scsi1 : sata_mv
[ 16.351577] ata1: SATA max UDMA/133 irq 21
[ 16.354380] ata2: SATA max UDMA/133 irq 21
[ 16.358304] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit), page size: 2048, OOB size: 64
[ 16.368370] Scanning device for bad blocks
[ 16.443187] Bad eraseblock 693 at 0x0000056a0000
[ 16.469930] Bad eraseblock 919 at 0x0000072e0000
[ 16.476214] Bad eraseblock 948 at 0x000007680000
[ 16.487505] Creating 9 MTD partitions on "orion_nand":
[ 16.491363] 0x000000000000-0x000000100000 : "uboot"
[ 16.495900] 0x000000100000-0x000000180000 : "uboot_env"
[ 16.500735] 0x000000180000-0x000000200000 : "key_store"
[ 16.505555] 0x000000200000-0x000000280000 : "info"
[ 16.509941] 0x000000280000-0x000000c80000 : "etc"
[ 16.514178] 0x000000c80000-0x000001680000 : "kernel_1"
[ 16.518887] 0x000001680000-0x000004640000 : "rootfs1"
[ 16.523526] 0x000004640000-0x000005040000 : "kernel_2"
[ 16.528237] 0x000005040000-0x000008000000 : "rootfs2"
[ 16.532982] tun: Universal TUN/TAP device driver, 1.6
[ 16.536751] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 16.542104] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 16.547033] r8169 0000:00:01.0: eth0: RTL8168d/8111d at 0xd0806000, 00:00:00:00:00:30, XID 083000c0 IRQ 9
[ 16.555355] r8169 0000:00:01.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 16.562862] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 16.568160] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 16.572109] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 16.604421] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 16.624406] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 16.629098] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 16.634619] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 16.640563] usb usb1: Product: Marvell Orion EHCI
[ 16.643973] usb usb1: Manufacturer: Linux 3.5.1 ehci_hcd
[ 16.647999] usb usb1: SerialNumber: orion-ehci.0
[ 16.651854] hub 1-0:1.0: USB hub found
[ 16.654317] hub 1-0:1.0: 1 port detected
[ 16.657349] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 16.662380] Initializing USB Mass Storage driver...
[ 16.666144] usbcore: registered new interface driver usb-storage
[ 16.670861] USB Mass Storage support registered.
[ 16.674596] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 16.679373] i2c /dev entries driver
[ 16.683261] hwmon_vid: Unknown VRM version of your CPU
[ 16.687423] lm85 0-002e: Starting monitoring
[ 16.691229] orion_wdt: Initial timeout 21 sec
[ 16.694608] Registered led device: nsa310:green:System
[ 16.698589] Registered led device: nsa310:red:System
[ 16.702407] Registered led device: nsa310:green:SATA1
[ 16.706315] Registered led device: nsa310:red:SATA1
[ 16.710036] Registered led device: nsa310:green:SATA2
[ 16.713945] Registered led device: nsa310:red:SATA2
[ 16.717686] Registered led device: nsa310:green:USB
[ 16.721407] Registered led device: nsa310:green:Copy
[ 16.725220] Registered led device: nsa310:red:Copy
[ 16.729769] usbcore: registered new interface driver usbhid
[ 16.734055] usbhid: USB HID core driver
[ 16.737247] usbcore: registered new interface driver snd-usb-audio
[ 16.742435] TCP: cubic registered
[ 16.745607] NET: Registered protocol family 10
[ 16.749506] sit: IPv6 over IPv4 tunneling driver
[ 16.753453] NET: Registered protocol family 17
[ 16.756697] Key type dns_resolver registered
[ 16.760382] registered taskstats version 1
[ 16.763418] gpio_set_debounce: gpio-46 status -22
[ 16.766860] gpio_set_debounce: gpio-37 status -22
[ 16.770285] gpio_set_debounce: gpio-36 status -22
[ 16.773985] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 16.779760] rtc-mv rtc-mv: setting system clock to 2013-05-15 12:59:52 UTC (1368622792)
[ 16.786565] ALSA device list:
[ 16.788233] No soundcards found.
[ 16.974411] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 16.979872] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 17.064443] ata1.00: ATA-8: ST9250315AS, 0001SDM1, max UDMA/133
[ 17.069082] ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[ 17.134462] ata1.00: configured for UDMA/133
[ 17.137713] scsi 0:0:0:0: Direct-Access ATA ST9250315AS 0001 PQ: 0 ANSI: 5
[ 17.145384] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[ 17.151639] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 17.157083] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 17.162935] usb 1-1: Product: USB2.0 Hub
[ 17.166499] sd 0:0:0:0: [sda] Write Protect is off
[ 17.170017] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 17.173989] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 17.181949] hub 1-1:1.0: USB hub found
[ 17.184777] hub 1-1:1.0: 4 ports detected
[ 17.190126] sda: sda1 sda2
[ 17.192704] sd 0:0:0:0: [sda] Attached SCSI disk
[ 17.464656] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[ 17.514414] ata2: SATA link down (SStatus 0 SControl F300)
[ 17.630834] EXT2-fs (sda2): error: couldn't mount because of unsupported optional features (240)
[ 17.734829] usb 1-1.3: New USB device found, idVendor=148f, idProduct=2573
[ 17.740428] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 17.746469] usb 1-1.3: Product: 54M.USB.......
[ 17.749617] usb 1-1.3: Manufacturer: Ralink
[ 17.752502] usb 1-1.3: SerialNumber: 12345
[ 18.284083] EXT4-fs (sda2): warning: maximal mount count reached, running e2fsck is recommended
[ 18.374830] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[ 18.381237] VFS: Mounted root (ext4 filesystem) on device 8:2.
[ 18.415026] devtmpfs: mounted
[ 18.417124] Freeing init memory: 148K
[ 19.776000] systemd[1]: systemd 204 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 19.864703] systemd[1]: Set hostname to <alarm>.
[ 20.889957] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such
file or directory. See system logs and 'systemctl status display-manager.service' for details.
[ 20.910972] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 20.917651] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 20.924024] systemd[1]: Expecting device dev-ttyS0.device...
[ 20.944514] systemd[1]: Starting Syslog Socket.
[ 20.964568] systemd[1]: Listening on Syslog Socket.
[ 20.968225] systemd[1]: Starting Remote File Systems.
[ 20.994481] systemd[1]: Reached target Remote File Systems.
[ 20.998839] systemd[1]: Expecting device sys-subsystem-net-devices-wlan0.device...
[ 21.024498] systemd[1]: Starting Delayed Shutdown Socket.
[ 21.044484] systemd[1]: Listening on Delayed Shutdown Socket.
[ 21.049011] systemd[1]: Starting LVM2 metadata daemon socket.
[ 21.074484] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 21.079359] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 21.104484] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 21.110234] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 21.134483] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 21.139799] systemd[1]: Starting Encrypted Volumes.
[ 21.164549] systemd[1]: Reached target Encrypted Volumes.
[ 21.168816] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 21.177029] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 21.183944] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 21.190660] systemd[1]: Starting Paths.
[ 21.214483] systemd[1]: Reached target Paths.
[ 21.217873] systemd[1]: Starting udev Kernel Socket.
[ 21.244487] systemd[1]: Listening on udev Kernel Socket.
[ 21.248801] systemd[1]: Starting udev Control Socket.
[ 21.274489] systemd[1]: Listening on udev Control Socket.
[ 21.278691] systemd[1]: Starting Journal Socket.
[ 21.304486] systemd[1]: Listening on Journal Socket.
[ 21.308466] systemd[1]: Starting Create static device nodes in /dev...
[ 21.336360] systemd[1]: Mounted POSIX Message Queue File System.
[ 21.341396] systemd[1]: Starting udev Coldplug all Devices...
[ 21.484789] systemd[1]: Started Load Kernel Modules.
[ 21.488573] systemd[1]: Mounted Configuration File System.
[ 21.493116] systemd[1]: Mounting FUSE Control File System...
[ 21.533285] systemd[1]: Starting Apply Kernel Variables...
[ 21.556478] systemd[1]: Started Setup Virtual Console.
[ 21.560521] systemd[1]: Starting Journal Service...
[ 21.604563] systemd[1]: Started Journal Service.
[ 21.608476] systemd[1]: Mounted Huge Pages File System.
[ 21.623344] systemd[1]: Started Set Up Additional Binary Formats.
[ 21.628582] systemd[1]: Mounted Debug File System.
[ 21.633076] systemd[1]: Starting Swap.
[ 21.654539] systemd[1]: Reached target Swap.
[ 21.657629] systemd[1]: Started File System Check on Root Device.
[ 21.662632] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 21.686467] systemd[1]: Mounting Temporary Directory...
[ 21.944589] systemd[1]: Started Create static device nodes in /dev.
[ 21.984581] systemd[1]: Started Apply Kernel Variables.
[ 22.014565] systemd[1]: Started Remount Root and Kernel File Systems.
[ 22.026539] systemd[1]: Started udev Coldplug all Devices.
[ 22.030928] systemd[1]: Starting Load Random Seed...
[ 22.056736] systemd[1]: Starting udev Kernel Device Manager...
[ 22.172377] systemd-udevd[849]: starting version 204
[ 25.663675] r8169 0000:00:01.0: eth0: link down
[ 25.667079] r8169 0000:00:01.0: eth0: link down
[ 25.671984] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.604774] r8169 0000:00:01.0: eth0: link up
[ 27.607912] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 35.684401] NSA310: USB power enabled
[ 395.198250] r8169 0000:00:01.0: eth0: link down
[ 395.201580] r8169 0000:00:01.0: eth0: link down
[ 395.209091] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 397.209433] r8169 0000:00:01.0: eth0: link up
[ 397.212572] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
')
can use command: poweroff:
$this->bbcode_second_pass_code('', '
[root@alarm proc]# poweroff
[ OK ] Stopped target Graphical Interface.
[ O Stopping D-Bus System Message Bus...
Stopping Login Service...
[ OK ] Stopped OpenSSH Daemon.
[ OK ] Stopped Periodic Command Scheduler.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Login Service.
[ OK ] Stopped Serial Getty on ttyS0.
Stopping Permit User Sessions...
[ OK ] Stopped OpenNTP Daemon.
[ OK ] Stopped target Network.
Stopping Netcfg multi-profile daemon...
[ OK ] Stopped System Logger Daemon.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped Netcfg multi-profile daemon.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Paths.
[ OK ] Stopped target Timers.
[ OK ] Stopped target Sockets.
[ OK ] Closed Device-mapper event daemon FIFOs.
[ OK ] Closed /dev/initctl Compatibility Named Pipe.
[ OK ] Closed LVM2 metadata daemon socket.
[ OK ] Closed Delayed Shutdown Socket.
[ OK ] Closed udev Control Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
[ OK ] Stopped target Encrypted Volumes.
Stopping Apply Kernel Variables...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped target Swap.
[ OK ] Stopped target Local File Systems.
Unmounting Temporary Directory...
[ OK ] Stopped target Local File Systems (Pre).
Stopping Remount Root and Kernel File Systems...
[ OK ] Stopped Remount Root and Kernel File Systems.
Stopping Journal Service...
systemd-journald[567]: Received SIGTERM
[ OK ] Unmounted Temporary Directory.
systemd[1]: Unmounted Temporary Directory.
systemd[1]: Starting Unmount All Filesystems.
[ OK ] Reached target Unmount All Filesystems.
systemd[1]: Reached target Unmount All Filesystems.
[ OK ] Stopped Journal Service.
systemd[1]: Stopped Journal Service.
systemd[1]: Stopping Syslog Socket.
[ OK ] Closed Syslog Socket.
systemd[1]: Closed Syslog Socket.
systemd[1]: Starting Shutdown.
[ OK ] Reached target Shutdown.
systemd[1]: Reached target Shutdown.
systemd[1]: Starting Final Step.
systemd[1]: Reached target Final Step.
systemd[1]: Stopping Journal Socket.
systemd[1]: Closed Journal Socket.
systemd[1]: Starting Power-Off...
systemd[1]: Unmounting /...
systemd[1]: Shutting down.
systemd-cgroups-agent[1148]: Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: Connection refused
Sending SIGTERM to remaining processes...
EXT4-fs (sda2): re-mounted. Opts: (null)
Sending SIGKILL to remaining processes...
Unmounting file EXT4-fs (sda2): re-mounted. Opts: (null)
systems.
UnmounEXT4-fs (sda2): re-mounted. Opts: (null)
ting /sys/fs/fusEXT4-fs (sda2): re-mounted. Opts: (null)
e/connections.
All filesystems unmounted.
Deactivating swaps.
All swaps deactivated.
Detaching loop devices.
All loop devices detached.
Detaching DM devices.
All DM devices detached.
Storage is finalized.
sd 0:0:0:0: [sda] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Stopping disk
Power down.
NSA310: Activating power off GPIO pin...
')
sensors:
$this->bbcode_second_pass_code('', '
[root@alarm ~]# sensors
lm85-i2c-0-2e
Adapter: mv64xxx_i2c adapter
in0: +1.80 V (min = +0.00 V, max = +3.32 V)
Vcore: +1.09 V (min = +0.00 V, max = +2.99 V)
+3.3V: +3.23 V (min = +0.00 V, max = +4.38 V)
+5V: +5.10 V (min = +0.00 V, max = +6.64 V)
+12V: +12.25 V (min = +0.00 V, max = +15.94 V)
fan1: 4766 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
temp1: +30.0�°C (low = -127.0�°C, high = +127.0�°C)
M/B Temp: +31.0�°C (low = -127.0�°C, high = +127.0�°C)
temp3: +33.0�°C (low = -127.0�°C, high = +127.0�°C)
cpu0_vid: +0.000 V
')
lspci -vv
$this->bbcode_second_pass_code('', '
[root@alarm ~]# lspci -vv
00:00.0 Memory controller: Marvell Technology Group Ltd. 88F6281 [Kirkwood] ARM SoC (rev 03)
Subsystem: Marvell Technology Group Ltd. Device 11ab
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 9
Region 0: Memory at <ignored> (64-bit, prefetchable)
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [60] Express (v1) Root Port (Slot-), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, L1 <1us
ExtTag- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <256ns, L1 unlimited
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
lspci: Unable to load libkmod resources: error -12
00:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 1000 [size=256]
Region 2: Memory at e0014000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at e0010000 (64-bit, prefetchable) [size=16K]
[virtual] Expansion ROM at e0000000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express (v2) Endpoint, MSI 01
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 4096 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [ac] MSI-X: Enable- Count=4 Masked-
Vector table: BAR=4 offset=00000000
PBA: BAR=4 offset=00000800
Capabilities: [cc] Vital Product Data
Unknown small resource type 00, will not decode more.
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [140 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: r8169
')
uname -a:
$this->bbcode_second_pass_code('', '
[root@alarm ~]# uname -a
Linux alarm 3.5.1 #1 Mon Sep 24 19:17:28 CEST 2012 armv5tel GNU/Linux
')
What next ?