Alfresco ECM on Thecus N2800 NAS

After several kernel panics, and reinstallation procedures I’ve done with a proof-of-concept implementation of Alfresco ECM running on Thecus N2800 NAS.

Thecus N2800 is one of the fastest NAS devices today with 2.13GHz Intel Atom D2701 CPU (2 cores, 4 threads). This speed and performance more than enough for NAS, but presents a low-end environment in – CPU intensive – server functions.

CPU speed benchmark:
Intel_Atom_D2701-speed

CPU details:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 54
Model name:            Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
Stepping:              1
CPU MHz:               2127.954
BogoMIPS:              4255.90
L1d cache:             24K
L1i cache:             32K
L2 cache:              512K
NUMA node0 CPU(s):     0-3

The NAS shipped with 2GB memory, but second memory slot is empty – simple to upgrade with cheap DDR3 module (Alfresco environment needs 4GB system memory):
thecus-2800-6

The operating system (Ubuntu Server 15.04, 64bit) is installed on a 8GB SDCARD, but application and database stored on mounted raid partition.

SDCARD speed with 8GB Class 10 card:

/dev/sdd:
 Timing cached reads:   1614 MB in  2.00 seconds = 806.59 MB/sec
 Timing buffered disk reads:  60 MB in  3.08 seconds =  19.48 MB/sec

RAID array speed with two 3GB HDDs:

/dev/md0:
 Timing cached reads:   1796 MB in  2.00 seconds = 897.83 MB/sec
 Timing buffered disk reads: 432 MB in  3.01 seconds = 143.63 MB/sec

Speed of disks (Toshiba and WD):

/dev/sdb:
 Timing cached reads:   1852 MB in  2.00 seconds = 926.10 MB/sec
 Timing buffered disk reads: 402 MB in  3.05 seconds = 131.99 MB/sec
root@storage-2:~# hdparm -tT /dev/sdc

/dev/sdc:
 Timing cached reads:   1878 MB in  2.00 seconds = 938.63 MB/sec
 Timing buffered disk reads: 540 MB in  3.01 seconds = 179.12 MB/sec

PCI device list:

root@storage-2:~# lspci 
00:00.0 Host bridge: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 0b)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
05:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)

Network device kernel driver bug:

May 17 07:34:16 storage-2 kernel: [  105.885785] WARNING: CPU: 3 PID: 0 at /build/buildd/linux-3.19.0/net/sched/sch_generic.c:303 dev_watchdog+0x240/0x250()
May 17 07:34:16 storage-2 kernel: [  105.885793] NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out
May 17 07:34:16 storage-2 kernel: [  105.885799] Modules linked in: des3_ede_x86_64 des_generic md4 nls_utf8 cifs fscache coretemp serio_raw snd_hda_codec_hdmi snd_hda_intel snd_hda_controller lpc_ich snd_hda_codec snd_hwdep snd_pcm snd_timer snd shpchp soundcore 8250_fintek video mac_hid nfsd auth_rpcgss nfs_acl lockd grace sunrpc autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor hid_generic uas psmouse ahci raid6_pq libahci usb_storage usbhid e1000e raid1 raid0 ptp hid multipath pps_core linear
May 17 07:34:16 storage-2 kernel: [  105.885891] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.19.0-15-generic #15-Ubuntu
May 17 07:34:16 storage-2 kernel: [  105.885898] Hardware name: Intel Corporation Milstead Platform/Granite Well, BIOS CDV_T30 X64 09/17/2012
May 17 07:34:16 storage-2 kernel: [  105.885905]  ffffffff81b3ed68 ffff88013fd83d58 ffffffff817c2205 0000000000040400
May 17 07:34:16 storage-2 kernel: [  105.885915]  ffff88013fd83da8 ffff88013fd83d98 ffffffff8107595a 0000000000014200
May 17 07:34:16 storage-2 kernel: [  105.885927]  0000000000000000 ffff880036716480 0000000000000003 ffff880035ca8000
May 17 07:34:16 storage-2 kernel: [  105.885938] Call Trace:
May 17 07:34:16 storage-2 kernel: [  105.885945]    [] dump_stack+0x45/0x57
May 17 07:34:16 storage-2 kernel: [  105.885966]  [] warn_slowpath_common+0x8a/0xc0
May 17 07:34:16 storage-2 kernel: [  105.885977]  [] warn_slowpath_fmt+0x46/0x50
May 17 07:34:16 storage-2 kernel: [  105.885996]  [] dev_watchdog+0x240/0x250
May 17 07:34:16 storage-2 kernel: [  105.886008]  [] ? dev_graft_qdisc+0x80/0x80
May 17 07:34:16 storage-2 kernel: [  105.886019]  [] call_timer_fn+0x39/0x110
May 17 07:34:16 storage-2 kernel: [  105.886029]  [] ? dev_graft_qdisc+0x80/0x80
May 17 07:34:16 storage-2 kernel: [  105.886039]  [] run_timer_softirq+0x250/0x320
May 17 07:34:16 storage-2 kernel: [  105.886051]  [] __do_softirq+0x109/0x270
May 17 07:34:16 storage-2 kernel: [  105.886066]  [] irq_exit+0x95/0xa0
May 17 07:34:16 storage-2 kernel: [  105.886078]  [] smp_apic_timer_interrupt+0x46/0x60
May 17 07:34:16 storage-2 kernel: [  105.886089]  [] apic_timer_interrupt+0x6d/0x80
May 17 07:34:16 storage-2 kernel: [  105.886095]    [] ? __hrtimer_start_range_ns+0x1ce/0x410
May 17 07:34:16 storage-2 kernel: [  105.886113]  [] ? poll_idle+0x10/0x80
May 17 07:34:16 storage-2 kernel: [  105.886123]  [] cpuidle_enter_state+0x49/0x160
May 17 07:34:16 storage-2 kernel: [  105.886136]  [] cpuidle_enter+0x17/0x20
May 17 07:34:16 storage-2 kernel: [  105.886147]  [] cpu_startup_entry+0x311/0x3b0
May 17 07:34:16 storage-2 kernel: [  105.886160]  [] start_secondary+0x197/0x1c0
May 17 07:34:16 storage-2 kernel: [  105.886168] ---[ end trace 3cfbe6c4691973b1 ]---
May 17 07:34:16 storage-2 kernel: [  105.886466] e1000e 0000:01:00.0 eth0: Reset adapter unexpectedly
May 17 07:34:19 storage-2 kernel: [  109.603093] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx

Fix/workaround for previous “e1000e” driver bug:

ethtool -K eth0 tso off

Fix for power-saved console:

echo "blacklist gma500_gfx" >> /etc/modprobe.d/blacklist.conf
sudo update-initramfs -u

Results of the Alfresco 4.2.f (with several extra modules, like OCR, VirusCheck, etc. and over 50.000 documents) startup:

INFO: Server startup in 440550 ms

Just for the contrast, Alfresco server boot time on 4 core Intel Xeon E31245, 3.3GHz with same configuration and database:

INFO: Server startup in 70426 ms

Problems to solve:

May 17 09:56:32 storage-2 systemd[1]: systemd-logind.service watchdog timeout (limit 1min)!
May 17 09:56:33 storage-2 kernel: [ 4062.392447] NMI watchdog: BUG: soft lockup - CPU#2 stuck for 22s! [convert:3209]
May 17 09:56:33 storage-2 kernel: [ 4062.392751] Modules linked in: it87 hwmon_vid des3_ede_x86_64 des_generic md4 nls_utf8 cifs fscache coretemp snd_hda_codec_hdmi serio_raw snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep lpc_ich snd_pcm snd_timer snd shpchp soundcore 8250_fintek video mac_hid nfsd auth_rpcgss nfs_acl lockd grace sunrpc autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor uas psmouse raid6_pq raid1 ahci e1000e usb_storage raid0 ptp libahci multipath pps_core linear
May 17 09:56:34 storage-2 kernel: [ 4062.392819] CPU: 2 PID: 3209 Comm: convert Not tainted 3.19.0-15-generic #15-Ubuntu
May 17 09:56:34 storage-2 kernel: [ 4062.392823] Hardware name: Intel Corporation Milstead Platform/Granite Well, BIOS CDV_T30 X64 09/17/2012
May 17 09:56:34 storage-2 kernel: [ 4062.392828] task: ffff880049c62740 ti: ffff880049f44000 task.ti: ffff880049f44000
May 17 09:56:34 storage-2 kernel: [ 4062.392831] RIP: 0010:[]  [] smp_call_function_many+0x212/0x270
May 17 09:56:34 storage-2 kernel: [ 4062.392843] RSP: 0018:ffff880049f479a8  EFLAGS: 00000202
May 17 09:56:34 storage-2 kernel: [ 4062.392847] RAX: ffff88013fc98288 RBX: ffffffff8112d486 RCX: 0000000000000001
May 17 09:56:34 storage-2 kernel: [ 4062.392850] RDX: ffff88013fc98288 RSI: 0000000000000100 RDI: 0000000000000000
May 17 09:56:34 storage-2 kernel: [ 4062.392853] RBP: ffff880049f479e8 R08: ffff88013fd15208 R09: 0000000000000000
May 17 09:56:34 storage-2 kernel: [ 4062.392856] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000297
May 17 09:56:34 storage-2 kernel: [ 4062.392860] R13: ffff880049f47958 R14: ffffffff810e4d2b R15: ffff880049f47918
May 17 09:56:34 storage-2 kernel: [ 4062.392864] FS:  00007f81b34f5780(0000) GS:ffff88013fd00000(0000) knlGS:0000000000000000
May 17 09:56:34 storage-2 kernel: [ 4062.392868] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 17 09:56:34 storage-2 kernel: [ 4062.392871] CR2: 00007f81b34f0ad7 CR3: 000000001d494000 CR4: 00000000000007e0
May 17 09:56:34 storage-2 kernel: [ 4062.392874] Stack:
May 17 09:56:34 storage-2 kernel: [ 4062.392877]  000000013fd17c10 00000000000151c0 0000000000000000 0000000000000002
May 17 09:56:34 storage-2 kernel: [ 4062.392882]  ffffffff81fa70a0 ffffffff81180ee0 0000000000000000 0000000000000003
May 17 09:56:34 storage-2 kernel: [ 4062.392887]  ffff880049f47a18 ffffffff810f39e8 0000000000000100 0000000000000000
May 17 09:56:34 storage-2 kernel: [ 4062.392892] Call Trace:
May 17 09:56:34 storage-2 kernel: [ 4062.392903]  [] ? page_alloc_cpu_notify+0x50/0x50
May 17 09:56:34 storage-2 kernel: [ 4062.392910]  [] on_each_cpu_mask+0x28/0x60
May 17 09:56:34 storage-2 kernel: [ 4062.392916]  [] drain_all_pages+0xeb/0x100
May 17 09:56:34 storage-2 kernel: [ 4062.392921]  [] __alloc_pages_nodemask+0x754/0xba0
May 17 09:56:34 storage-2 kernel: [ 4062.392929]  [] alloc_pages_current+0x91/0x110
May 17 09:56:34 storage-2 kernel: [ 4062.392935]  [] __page_cache_alloc+0xa7/0xd0
May 17 09:56:34 storage-2 kernel: [ 4062.392941]  [] __do_page_cache_readahead+0xe2/0x210
May 17 09:56:34 storage-2 kernel: [ 4062.392947]  [] ondemand_readahead+0xdf/0x260
May 17 09:56:34 storage-2 kernel: [ 4062.392952]  [] page_cache_async_readahead+0x71/0xa0
May 17 09:56:34 storage-2 kernel: [ 4062.392958]  [] generic_file_read_iter+0x40f/0x5e0
May 17 09:56:34 storage-2 kernel: [ 4062.392965]  [] new_sync_read+0x7e/0xb0
May 17 09:56:34 storage-2 kernel: [ 4062.392971]  [] __vfs_read+0x18/0x50
May 17 09:56:34 storage-2 kernel: [ 4062.392976]  [] vfs_read+0x8a/0x140
May 17 09:56:34 storage-2 kernel: [ 4062.392982]  [] SyS_pread64+0x72/0xb0
May 17 09:56:34 storage-2 kernel: [ 4062.392989]  [] system_call_fastpath+0x16/0x1b
May 17 09:56:34 storage-2 kernel: [ 4062.392992] Code: 65 44 2d 00 3b 05 a3 67 c3 00 89 c1 0f 8d 7e fe ff ff 48 98 49 8b 55 00 48 03 14 c5 40 7f d2 81 f6 42 18 01 48 89 d0 74 c8 f3 90  40 18 01 75 f8 eb be 0f b6 4d c4 4c 89 fa 4c 89 f6 44 89 ef 
May 17 09:56:41 storage-2 systemd[1]: systemd-logind.service: main process exited, code=dumped, status=6/ABRT
May 17 09:56:54 storage-2 systemd[1]: Unit systemd-logind.service entered failed state.
May 17 09:56:54 storage-2 systemd[1]: systemd-logind.service failed.

Alfresco Desktop Sync

Az Alfresco ECM – mint CMIS-kompatibilis dokumentumkezelő megoldás – több lehetőséget is biztosít a szerveren és a desktop gépeken tárolt dokumentumok szinkronizációjára, megjelenítésére.

Az egyik ilyen megoldás a jelenleg „beta” (a fejlesztők csak teszt környezetben javasolják a használatát) fázisban lévő Alfresco Desktop Sync alkalmazás, mely elérhető Microsoft Windows és Apple Mac OS X rendszerekre is. A Desktop Sync alkalmazás képes automatikusan szinkronizálni a szerveren lévő dokumentumokat, illetve könyvtárakat a helyi számítógép könyvtáraival.

A Desktop Sync hivatalos URL-je: https://wiki.alfresco.com/wiki/Community_file_list_4.2.f

Konfigurációs paraméterek:
* User: valós Alfresco felhasználó neve
* Password: a felhasználói névhez tartozó jelszó
* Server: http(s)://host:port/alfresco/

Multiplatformos – Mono framework-re épülő – és aktívan fejlesztett alternatívaként érdemes megemlíteni a CmisSync nevű alkalmazást is, mely a fentinél sokkal stabilabb működést biztosít: http://cmissync.com/alfresco/

CmisSync-sync-Alfresco

Alfresco Mobile – magyarul

Elkészült és belső tesztelés alatt áll az Alfresco Mobile iOS verziójának teljes magyar nyelvű felülete. Ez a verzió a hamarosan kiadásra kerülő v2.0.2 forrásán alapul, amiben végre javították a 4.2 community verziókkal való inkompatibilitást is.

Ez az alkalmazás elsősorban azoknak való, akik az Alfresco-ban tárolt dokumentumokat keresni, böngészni és megtekinteni szokták – azoknak akiknek a meta-adatokkal van tennivalójuk viszont a legkevésbé sem ajánlott. Az app abban erős, hogy letisztult, gyors felületet ad a megtekintésre, kommentelésre, egyszerű feladatok kiosztására és végrehajtására.

Jól használható tulajdonság továbbra az offline működést támogató szinkronizálási lehetőség, mely kedvencnek jelölt dokumentumainkat automatikusan letölti az eszközre, illetve módosítás, szerkesztés esetén képes visszatölteni is a szerverre.

alfresco-ios-hungarian-comments

alfresco-ios-hungarian-settings

alfresco-ios-hungarian-menu

alfresco-ios-hungarian-map

alfresco-ios-hungarian-task

alfresco-ios-hungarian-pdf_preview

alfresco-ios-hungarian-exif

alfresco-ios-hungarian-account

alfresco-ios-hungarian-video

ASUS RT-N18U – custom firmware

Miután sikerült néhány órát ismerkedni a gyári ASUS firmware-rel, ismét arra a következtetésre jutottam, hogy inkább egy “unstable” Tomato, vagy DD-WRT, mint a nehézkes és számomra átláthatatlan, időnkét az értékeket elfelejtő “official”…

Tegyük hozzá, hogy a router-en gyárilag telepített és kipróbált firmware még csak a második publikus verzió – azaz várható itt még fejlődés.

Tomato firmware letöltése: http://tomato.groov.pl/download/K26ARM/

Firmware betöltése:
1. Nyomva tartott RESET gomb mellett kell bedugni a tápkábelt a router-be, majd elengedni amikor elkezd lassan villogni a POWER LED
2. A feltöltésre használt gépen a hálózati kártyának a 192.168.1.0/24 hálózatból kell IP címet osztani, mert a router magának ugyanebből a hálózatból a 192.168.1.1 címet adja (ha a router-en előzetesen már beállítottunk más IP tartományt, akkor az ahhoz tartozó cím-párt kell használni!)
3. TFTP művelet (a transzfer alatt nem villog a POWER LED):

louise-macbook:ASUS_RT-N18U louise$ tftp 192.168.1.1
tftp> binary
tftp> put tomato-RT-N18U-ARM--122-AIO-64K.trx
Sent 16076800 bytes in 49.2 seconds
tftp> quit

4. Néhány (5-6) perc várakozás után a router magától újraindul…

Az új firmware működésével kapcsolatosan először érdemes megbizonyosodni arról, hogy valóban életre kelt-e a masina, ehhez használjunk SSH-t:

louise-macbook:ASUS_RT-N18U louise$ ssh root@192.168.1.1
root@192.168.1.1's password: 

Tomato v1.28.0000 -122 K26ARM USB AIO-64K
 ======================================================== 
 Welcome to the Asus RT-N18U [TomatoUSB]
 Uptime:  01:01:23 up 1 min
 Load average: 0.62, 0.34, 0.13
 Mem usage: 7.3% (used 18.31 of 249.76 MB)
 WAN : 0.0.0.0/0 @ AC:22:0B:99:26:E5
 LAN : 192.168.1.1/24 @ DHCP:  - 
 WL0 : Tomato24 @ channel: 6 @ AC:22:0B:99:26:E4
 ======================================================== 

root@unknown:/tmp/home/root# dmesg
Linux version 2.6.36.4brcmarm (shibby@builder) (gcc version 4.5.3 (Buildroot 2012.02) ) #7 PREEMPT Thu Aug 28 14:32:35 CEST 2014
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Northstar Prototype
Ignoring unrecognised tag 0x00000000
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writeback
MPCORE found at 19020000
On node 0 totalpages: 65536
  DMA zone: 256 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 32512 pages, LIFO batch:7
  Normal zone: 4864 pages used for memmap
  Normal zone: 27904 pages, LIFO batch:7
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 60416
Kernel command line: root=/dev/mtdblock2 console=ttyS0,115200 init=/sbin/preinit earlyprintk debug
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: 128MB 128MB = 256MB total
Memory: 255564k/255564k available, 6580k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf7e00000 - 0xffe00000   ( 128 MB)
    vmalloc : 0xd0800000 - 0xf0000000   ( 504 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0037000   ( 188 kB)
      .text : 0xc0037000 - 0xc03b8000   (3588 kB)
      .data : 0xc03d0000 - 0xc03f1020   ( 133 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
	RCU-based detection of stalled CPUs is disabled.
	Verbose stalled-CPUs detection is disabled.
NR_IRQS:256
MPCORE GIC init
External imprecise Data abort at addr=0x0, fsr=0x1c06 ignored.
MPCORE Global Timer Clock 400000000Hz
Calibrating delay loop... 1599.07 BogoMIPS (lpj=7995392)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
L310: cache controller enabled 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x7a130000
devtmpfs: initialized
atomic64 test passed
NET: Registered protocol family 16
Found a AMD NAND flash:
Total size:  128MB
Block size:  128KB
Page Size:   2048B
OOB Size:    64B
Sector size: 512B
Spare size:  16B
ECC level:   8 (8-bit)
Device ID: 0x 1 0xf1 0x 0 0x1d 0x 1 0xf1
CCA UART Clock Config: Sel=1 Ovr=1 Div=48
CCA UART Clock rate 100000000Hz
bio: create slab  at 0
Switching to clocksource mpcore_gtimer
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
PCI: CLS 0 bytes, default 32
PCI: no core
PCI: no core
PCI: scanning bus 0
pci 0000:00:00.0: reg 10: [mem 0x18000000-0x18000fff]
pci 0000:00:00.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:01.0: reg 10: [mem 0x18001000-0x18001fff]
pci 0000:00:01.0: reg 14: [mem 0x18002000-0x18002fff]
pci 0000:00:01.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:02.0: reg 10: [mem 0x1802c000-0x1802cfff]
pci 0000:00:02.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:03.0: reg 10: [mem 0x18024000-0x18024fff]
pci 0000:00:03.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:04.0: reg 10: [mem 0x18025000-0x18025fff]
pci 0000:00:04.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:05.0: reg 10: [mem 0x18026000-0x18026fff]
pci 0000:00:05.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:06.0: reg 10: [mem 0x18027000-0x18027fff]
pci 0000:00:06.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:07.0: reg 10: [mem 0x18012000-0x18012fff]
pci 0000:00:07.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:08.0: reg 10: [mem 0x18013000-0x18013fff]
pci 0000:00:08.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:09.0: reg 10: [mem 0x18014000-0x18014fff]
pci 0000:00:09.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0a.0: reg 10: [mem 0x1800b000-0x1800bfff]
pci 0000:00:0a.0: reg 14: [mem 0x1800c000-0x1800cfff]
pci 0000:00:0a.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0b.0: reg 10: [mem 0x18022000-0x18022fff]
pci 0000:00:0b.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0b.1: reg 10: [mem 0x18021000-0x18021fff]
pci 0000:00:0b.1: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0c.0: reg 10: [mem 0x18023000-0x18023fff]
pci 0000:00:0c.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0d.0: reg 10: [mem 0x18020000-0x18020fff]
pci 0000:00:0d.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0e.0: reg 10: [mem 0x18210000-0x1821ffff]
pci 0000:00:0e.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0f.0: reg 10: [mem 0x18010000-0x18010fff]
pci 0000:00:0f.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:10.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:11.0: reg 10: [mem 0x18028000-0x18028fff]
pci 0000:00:11.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:12.0: reg 10: [mem 0x18029000-0x18029fff]
pci 0000:00:12.0: reg 30: [mem 0x00000000-0x000007ff pref]
PCI: Fixing up bus 0
PCIE1 link=1
PCIE1 switching to GEN2
PCIE1 link=1
pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
pci 0001:00:00.0: PME# disabled
PCI: Fixing up bus 0
PCI: bus0: Fast back to back transfers disabled
pci 0001:01:00.0: reg 10: [mem 0x08000000-0x08007fff 64bit]
pci 0001:01:00.0: supports D1 D2
PCI: Fixing up bus 1
PCI: bus1: Fast back to back transfers disabled
pci 0001:00:00.0: BAR 8: assigned [mem 0x08000000-0x080fffff]
pci 0001:01:00.0: BAR 0: assigned [mem 0x08000000-0x08007fff 64bit]
pci 0001:01:00.0: BAR 0: set to [mem 0x08000000-0x08007fff 64bit] (PCI address [0x8000000-0x8007fff]
pci 0001:00:00.0: PCI bridge to [bus 01-01]
pci 0001:00:00.0:   bridge window [io  disabled]
pci 0001:00:00.0:   bridge window [mem 0x08000000-0x080fffff]
pci 0001:00:00.0:   bridge window [mem pref disabled]
PCIE2 link=0
PCIE3 link=0
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
fuse init (API version 7.15)
msgmni has been set to 499
io scheduler noop registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18000300 (irq = 117) is a 16550
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0x18000400 (irq = 117) is a 16550
brd: module loaded
loop: module loaded
pflash: found no supported devices
bcmsflash: found no supported devices
Boot partition size = 524288(0x80000)
lookup_nflash_rootfs_offset: offset = 0x200000
nflash: squash filesystem with lzma found at block 28
Creating 4 MTD partitions on "nflash":
0x000000000000-0x000000080000 : "boot"
0x000000080000-0x000000200000 : "nvram"
0x000000200000-0x000002000000 : "linux"
0x00000039ef38-0x000002000000 : "rootfs"
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPTP driver version 0.8.5
=== PPTP init ===
u32 classifier
    Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (3993 buckets, 15972 max)
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
802.1Q VLAN Support v1.8 Ben Greear 
All bugs added by David S. Miller 
Registering the dns_resolver key type
Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2012
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
Spare area=64 eccbytes 56, ecc bytes located at:
 2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 19 20 21 22 23 24 25 26 27 28 29 30 31 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Available 7 bytes at (off,len):
(1,1) (16,2) (32,2) (48,2) (0,0) (0,0) (0,0) (0,0) 
Scanning device for bad blocks
Options: NO_AUTOINCR,NO_READRDY,BBT_SCAN2NDPAGE,
Creating 2 MTD partitions on "brcmnand":
0x000002000000-0x000008000000 : "brcmnand"
0x000004000000-0x000006000000 : "jffs2"
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
devtmpfs: mounted
Freeing init memory: 188K
emf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
et_module_init: passivemode set to 0x0
et_module_init: txworkq set to 0x0
et_module_init: et_txq_thresh set to 0x0
eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
wl_module_init: passivemode set to 0x0
wl_module_init: txworkq set to 0x0
eth1: Broadcom BCM4360 802.11 Wireless Controller 6.37.14.73 (r448163)
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ufsd: driver (8.6, Jun 14 2013 18:31:44, LBD=ON, delalloc, acl, ioctl, ugm, rwm) loaded at bf569000
NTFS (with native replay) support included
optimized: speed
Build_for__Asus_RT-AC56U_k2.6.36_2013-01-18_U86_r195788_b2

xhci_hcd 0000:00:0c.0: xHCI Host Controller
xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 1
xhci_hcd 0000:00:0c.0: irq 112, io mem 0x18023000
xhci_hcd 0000:00:0c.0: Failed to enable MSI-X
xhci_hcd 0000:00:0c.0: failed to allocate MSI entry
usb usb1: No SuperSpeed endpoint companion for config 1  interface 0 altsetting 0 ep 129: using minimum values
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
[xhci-hub] usb2mode:[0]
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:0b.1: irq 111, io mem 0x18021000
ehci_hcd 0000:00:0b.1: USB 0.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
device vlan1 entered promiscuous mode
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
br0: port 2(eth1) entering forwarding state
br0: port 2(eth1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
ipt_account 0.1.21 : Piotr Gasidlo , http://code.google.com/p/ipt-account/

gro disabled

Az extra csomagokhoz szükséges “optware” telepítése:

# /usr/sbin/optware-install.sh

???

NVRAM törlése:

# nvram erase
# reboot

ASUS RT-N12B1:

root@router:/tmp/home/root# cat /proc/cpuinfo 
system type		: Broadcom BCM5357 chip rev 1 pkg 8
processor		: 0
cpu model		: MIPS 74K V4.9
BogoMIPS		: 149.91
cpu MHz   		: 300
wait instruction	: no
microsecond timers	: yes
tlb_entries		: 64
extra interrupt vector	: no
hardware watchpoint	: yes
ASEs implemented	: mips16 dsp
shadow register sets	: 1
VCED exceptions		: not available
VCEI exceptions		: not available

ASUS RT-N18U:

root@RT-AC220B9926E4:/tmp/home/root# cat /proc/cpuinfo 
Processor	: ARMv7 Processor rev 0 (v7l)
BogoMIPS	: 1599.07
cpu MHz   	: 1599
Features	: swp half thumb fastmult edsp 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc09
CPU revision	: 0

Hardware	: Northstar Prototype
Revision	: 0000
Serial		: 0000000000000000

Ha mégis szükség lenne rá, akkor egy link a legfrissebb ASUS Firmware letöltéséhez: http://www.asus.com/Networking/RTN18U/HelpDesk_Download/

Dell U2713HM monitor reset

Minap egy áramszünet után Dell kedvenc monitorom nem volt hajlandó bekapcsolni, puffogva kerestem elő a garanciapapírját és mérgelődtem, hogy egy prémium kategóriás masinában miért nem lehet felkészülni az ilyen – helyenként mindennapos – esetekre.

Mielőtt nekiugrottam volna a kereskedőnek, gondoltam érdemes egy pillantást vetni a Dell support oldalára, hátha lesz erre vonatkozó hibajelzés, esetleg megoldás is a problémára. Szerencsére lett is, nem én voltam az egyetlen akinek álomba szenderült a kijelzője, a megoldás sem túl bonyolult, kicsit az Apple vasak SMC reset-jére emlékeztet:

1. Húzzunk ki minden kábelt a monitorból, beleértve a hálózati kábelt is.
2. Nyomjuk meg és tartsuk nyomva 8 másodpercig a bekapcsoló gombot.
3. Dugjuk be a hálózati kábelt a falba, majd utána a monitorba.
4. Kapcsoljuk be a monitort és örvendezzünk a feléledésének…

VPN problem with Tomato router

I’ve network issues with OSX 10.9 PPTP clients over TP-Link NAT firewalls. Connection and authentication work like a charm, but read/write calls produced GRE errors like this:

GRE: read(fd=7,buffer=419884,len=8260) from network failed: status = -1 error = Message too long

The solution: set MTU and MRU values to 900 instead of default 1450 at PPTP Server tab.