/ # dmesg
Linux version 2.6.33.1 (root@linux-fw1) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-21)) #50 PREEMPT Thu Jul 14 23:54:04 CEST 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: LaCie Network Space v2
Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat c03b13b4, node_mem_map c03ca000
Normal zone: 512 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 65024 pages, LIFO batch:15
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro reset=0 productType=ASTON_KW
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 255872KB available (3528K code, 196K data, 112K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:114
Calibrating delay loop... 797.90 BogoMIPS (lpj=3989504)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=166666667.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
initial MPP regs: 01112222 00003311 00551100 00000000 00000000 00000000 00000000
final MPP regs: 01112222 00003311 00551100 00000000 00000000 00000000 00000000
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 32
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
msgmni has been set to 500
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata2: SATA max UDMA/133 irq 21
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:d0:4b:8d:a9:74
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-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.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
input: gpio-keys as /class/input/input0
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
at24 0-0050: 512 byte 24c04 EEPROM (writable)
Registered led device: ns_v2:red:fail
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
Gating clock of unused units
before: 0x00c7c1dd
after: 0x00c7c1c9
VFP support v0.3: not present
rtc-mv rtc-mv: setting system clock to 2011-07-14 22:27:33 UTC (1310682453)
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
ata1.00: ATA-8: Hitachi HDP725050GLA360, GM4OA52A, max UDMA/133
ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA Hitachi HDP72505 GM4O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
sd 0:0:0:0: [sda] Attached SCSI disk
ata2: SATA link down (SStatus 0 SControl F300)
EXT3-fs (sda7): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) readonly on device 8:7.
Freeing init memory: 112K
kjournald starting. Commit interval 5 seconds
EXT3-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended
EXT3-fs (sda7): using internal journal
kjournald starting. Commit interval 5 seconds
EXT3-fs (sda5): using internal journal
EXT3-fs (sda5): recovery complete
EXT3-fs (sda5): mounted filesystem with ordered data mode
Adding 514072k swap on /dev/sda3. Priority:-1 extents:1 across:514072k
Slow work thread pool: Starting up
Slow work thread pool: Ready
NTFS driver 2.1.29 [Flags: R/W MODULE].
fuse init (API version 7.13)
kjournald starting. Commit interval 5 seconds
EXT3-fs (sda8): using internal journal
EXT3-fs (sda8): recovery complete
EXT3-fs (sda8): mounted filesystem with ordered data mode
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
warning: `proftpd' uses 32-bit capabilities (legacy support in use)
/ #
# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 22:27 ? 00:00:00 init
root 2 0 0 22:27 ? 00:00:00 [kthreadd]
root 3 2 6 22:27 ? 00:00:35 [ksoftirqd/0]
root 4 2 0 22:27 ? 00:00:00 [events/0]
root 5 2 0 22:27 ? 00:00:00 [khelper]
root 8 2 0 22:27 ? 00:00:00 [async/mgr]
root 109 2 0 22:27 ? 00:00:00 [sync_supers]
root 111 2 0 22:27 ? 00:00:00 [bdi-default]
root 112 2 0 22:27 ? 00:00:00 [kblockd/0]
root 117 2 0 22:27 ? 00:00:00 [ata/0]
root 118 2 0 22:27 ? 00:00:00 [ata_aux]
root 122 2 0 22:27 ? 00:00:00 [ksuspend_usbd]
root 127 2 0 22:27 ? 00:00:00 [khubd]
root 146 2 0 22:27 ? 00:00:00 [rpciod/0]
root 153 2 0 22:27 ? 00:00:00 [kswapd0]
root 154 2 0 22:27 ? 00:00:00 [aio/0]
root 155 2 0 22:27 ? 00:00:00 [nfsiod]
root 221 2 0 22:27 ? 00:00:00 [scsi_eh_0]
root 223 2 0 22:27 ? 00:00:00 [scsi_eh_1]
root 229 2 0 22:27 ? 00:00:00 [mtdblockd]
root 290 2 0 22:27 ? 00:00:00 [usbhid_resumer]
root 310 2 0 22:27 ? 00:00:00 [kjournald]
root 324 2 0 22:27 ? 00:00:00 [kjournald]
root 350 2 0 22:27 ? 00:00:00 [kslowd000]
root 351 2 0 22:27 ? 00:00:00 [kslowd001]
root 440 1 0 22:27 ? 00:00:00 /sbin/syslogd
root 450 1 0 22:27 ? 00:00:00 /usr/sbin/noflushd -n 15 /dev/sda
root 457 2 0 22:27 ? 00:00:00 [kjournald]
root 488 1 0 22:27 ? 00:00:00 /sbin/udhcpc -b -i eth0 -s /etc/api/api_dhcpc.php dhcpdCbScript
root 497 1 0 22:27 ? 00:00:00 /sbin/udevd
root 502 1 0 22:27 ? 00:00:00 /usr/bin/httpd -f httpd.conf -d /etc
_ntp 517 1 0 22:27 ? 00:00:00 /usr/bin/ntpd -s -f /rw_fs/etc/ntp.conf
nobody 518 502 0 22:27 ? 00:00:00 /usr/bin/httpd -f httpd.conf -d /etc
root 519 1 0 22:27 ? 00:00:00 /usr/bin/ntpd -s -f /rw_fs/etc/ntp.conf
root 543 1 0 22:27 ? 00:00:00 /usr/sbin/syncawayd -n 3
root 554 1 0 22:28 ? 00:00:02 mrvlqosd
nobody 597 1 0 22:28 ? 00:00:00 proftpd: (accepting connections)
root 609 1 0 22:28 ? 00:00:00 dropbear
root 642 1 0 22:28 ? 00:00:00 /usr/sbin/nmbd -D -l /var/log/samba
root 644 1 0 22:28 ? 00:00:00 /usr/sbin/smbd -D -l /var/log/samba
root 647 644 0 22:28 ? 00:00:00 /usr/sbin/smbd -D -l /var/log/samba
root 648 1 0 22:28 ? 00:00:00 /bin/sh
root 649 609 0 22:28 ? 00:00:00 dropbear
root 650 649 0 22:29 ? 00:00:00 -sh
root 668 609 0 22:30 ? 00:00:00 dropbear
root 669 668 0 22:30 ttyp0 00:00:00 -sh
root 676 2 0 22:35 ? 00:00:00 [flush-8:0]
root 679 669 0 22:36 ttyp0 00:00:00 ps -ef
fvdw wrote:edit---
shutdown is working, but reboot not
could use some inputs on how the reboot is implemented on the lacie nwsp2, the standard commands don't work they only shut down the device. I look at the reboot command in the lacie firmware but it is linked to ncginit, the source code is quite complicated but maybe someone can have a look to figure out how it is down.
Users browsing this forum: No registered users and 11 guests