2016-01-29

backgroundfile panel-bg-dark.png : File no found


backgroundfile panel-bg-dark.png : File no found


    MENU TITLE SliTaz GNU/Linux - 5.0-RC4 20160117

    -rw-r--r-- 2 root root 3140304 Dec 23 14:13 bzImage64

slitaz-rolling-core64.iso 2016-Jan-17

    2. fontcolor in lxpanel taskbar

Let’s take a look at the slitaz-5.0-RC4.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg66E8yxtDFgBTGoMmj2DEgYaNwqr2QjeKG2wKq1ttvYRMRmoI5EWASO3RLfkKKtSCIzFLkTu3qd9LmZqJtx7rppw8H5LVBodOxOn7qRHEW4-piCEeXiyNM_QXqrMOJ15do3yfKLe_TxQ/s1600/slitaz-5.0-RC4.jpg


Almost not see clearly in the top left corner ‘Applications’ and the top right corner ‘clock & tux’.

1.
tux@slitaz:~$ egrep 'fontcolor|back' .config/lxpanel/slitaz/panels/panel
usefontcolor=1
fontcolor=#cfcfcf
background=1
backgroundfile=/usr/share/themes/Clearlooks Human Dark/gtk-2.0/Panels/panel-bg-dark.png


2.
tux@slitaz:~$ ls -l /usr/share/themes/Clearlooks\ Human\ Dark
ls: /usr/share/themes/Clearlooks Human Dark: No such file or directory


3.
tux@slitaz:~$ tazpkg -sp panel-bg-dark.png
Search result for package "panel-bg-dark.png"
================================================
clearlooks-colors
murrine-svn-themes
================================================
2 packages

4.
tux@slitaz:~$ tazpkg info clearlooks-colors

Unable to find the receipt: /var/lib/tazpkg/installed/clearlooks-colors/receipt


5.
LXPanel look: background ….
http://hg.slitaz.org/slitaz-configs/rev/d0f40dd58170

--- a/rootfs/etc/lxpanel/slitaz/panels/panel Sun Nov 08 12:24:47 2015 +0100
+++ b/rootfs/etc/lxpanel/slitaz/panels/panel Mon Nov 09 01:01:34 2015 +0200
@@ -19,15 +19,18 @@
fontsize=10
fontcolor=#cfcfcf
usefontsize=0
- background=0
+ background=1
+ backgroundfile=/usr/share/themes/Clearlooks Human Dark/gtk-2.0/Panels/panel-bg-dark.png
iconsize=22
+ loglevel=2
}


6.
lxpanel, slitaz-configs: copy LXPanel profile to /etc/skel (again)
http://hg.slitaz.org/wok/rev/c761ba5755e1

--- a/slitaz-configs/receipt Tue Nov 17 16:13:43 2015 +0200
+++ b/slitaz-configs/receipt Tue Nov 17 16:50:26 2015 +0200
@@ -61,6 +61,11 @@
cp -a $src/rootfs/usr/share/applications $fs/usr/share
cp -a $src/rootfs/usr/share/slitaz $fs/usr/share ;;
esac
+
+ # Put LXPanel profile to /etc/skel for new users
+ mkdir -p $fs/etc/skel/.config/lxpanel
+ cp -a $fs/etc/lxpanel/slitaz $fs/etc/skel/.config/lxpanel
+
chown -R root.root $fs
}

KVM unsupported a 64-bit guest on a 32-bit host

KVM unsupported a 64-bit guest on a 32-bit host

HOST i686 and qemu-x86_64 with enable-kvm : detectes an i686 CPU.
Can KVM run a 32-bit guest on a 64-bit host? What about PAE?
http://www.linux-kvm.org/page/FAQ#Can_KVM_run_a_32-bit_guest_on_a_64-bit_host.3F_What_about_PAE.3F

KVM supports 32-bit guests on 64-bit hosts, and any combination of PAE and non-PAE guests and hosts. The only unsupported combination is a 64-bit guest on a 32-bit host.

If you are running a Windows Virtual Machine and have problems enabling PAE in your guest see the Windows PAE Workaround page.

2016-01-27

enable-kvm

enable-kvm
1. bzImage File not found
Loading /boot/bzImage… failed: File not found
c32box.c32: Boot aborted!

HOST: i686
1. enable-kvm and slitaz-rolling-core64.iso
# qemu-x86_64 -m 1024 -enable-kvm -cdrom slitaz-rolling-core64.iso &
Loading /boot/bzImage… failed: File not found
c32box.c32: Boot aborted!


2. enable-kvm and modify command line
.com32 c32box.c32 linux /boot/bzImage64 initrd=/boot/rootfs.gz rw root=/dev/null autologin

from /boot/bzImage change to  /boot/bzImage64

# qemu-x86_64 -m 1024 -enable-kvm -cdrom slitaz-rolling-core64.iso &

Loading /boot/bzImage64… ok
Loading /boot/rootfs.gz… ok
This kernel requires an x86-64 CPU, but only detectes an i686 CPU.
Unable to boot - please use a kernel appropriate for your CPU.


3. unable-kvm and slitaz-rolling-core64.iso
# qemu-x86_64 -m 1024 -cdrom slitaz-rolling-core64.iso

Boot x86_64 OK.

syslinux/c32box: x86_64 auto select
http://hg.slitaz.org/wok/rev/5e47b1bdb6f4


4. enable-kvm and slitaz-rolling-core.iso
# qemu-x86_64 -m 1024 -enable-kvm -cdrom slitaz-rolling-core.iso &

Boot i686 OK.


5. enable-kvm and slitaz-rolling-10in1.iso
# qemu-x86_64 -m 1024 -enable-kvm -cdrom slitaz-rolling-10in1.iso &

Boot i686 OK.

       
IMHO:
HOST i686 and qemu-x86_64 with enable-kvm : detectes an i686 CPU.
should be use i686 kernel ( bzImage ),
but the slitaz-rolling-core64.iso only has bzImage64, no bzImage.
“Loading /boot/bzImage… failed: File not found”

SliTaz 5.0-RC4



SliTaz 5.0-RC4

1 bzImage File not found
Loading /boot/bzImage… failed: File not found
c32box.c32: Boot aborted!
boot:



tux@slitaz:~$ grep RC4 /media/cdrom/boot/isolinux/isolinux.cfg
MENU TITLE SliTaz GNU/Linux - 5.0-RC4 20160117

tux@slitaz:~$ grep -B4 bzImage /media/cdrom/boot/isolinux/isolinux.cfg
# Labels
LABEL slitaz
   MENU LABEL SliTaz Live
   COM32 c32box.c32
   APPEND linux /boot/bzImage initrd=/boot/rootfs.gz rw root=/dev/null autologin

tux@slitaz:~$ ls -l /media/cdrom/boot
total 58549
-rw-r--r--    2 root     root       3140304 Dec 23 14:13 bzImage64
-rw-r--r--    1 root     root        364242 Sep 17 05:35 ipxe
drwxr-xr-x    2 root     root          2048 Jan 17 00:04 isolinux
-rw-r--r--    1 root     root         45100 Sep 16 19:32 memtest
-rw-r--r--    1 root     root      53259940 Jan 17 00:12 rootfs.gz
-rw-r--r--    2 root     root       3140304 Dec 23 14:13 vmlinuz-3.2.71-slitaz64
tux@slitaz:~$


2. fontcolor in lxpanel taskbar

2016-01-13

houdini and binfmt_misc


houdini and binfmt_misc


qemu user mode and binfmt_misc
http://alanyih.blogspot.tw/2013/06/slitaz-qemu-user-mode-and-binfmtmisc.html
Kernel Support for miscellaneous (your favourite) Binary Formats v1.1
==============================================================
https://www.kernel.org/doc/Documentation/binfmt_misc.txt
This Kernel feature allows you to invoke almost (for restrictions see below)
every program by simply typing its name in the shell.
This includes for example compiled Java(TM), Python or Emacs programs.
To achieve this you must tell binfmt_misc which interpreter has to be invoked
with which binary. Binfmt_misc recognises the binary-type by matching some bytes
at the beginning of the file with a magic byte sequence (masking out specified
bits) you have supplied. Binfmt_misc can also recognise a filename extension
aka '.com' or '.exe'.
First you must mount binfmt_misc:
mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
Chrooting to: /opt/rootfs-armhf/
http://alanyih.blogspot.tw/2013/06/slitaz-setup-rootfs-armhf.html
3. Mount the binfmt_misc handler
# modprobe binfmt_misc
# mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc 
4. register our format with the kernel via the procfs
root@slitaz:~# echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x00\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:' > /proc/sys/fs/binfmt_misc/register
5. check register
root@slitaz:~# cat /proc/sys/fs/binfmt_misc/arm
enabled
interpreter /usr/bin/qemu-arm-static
flags:
offset 0
magic 7f454c4601010100000000000000000002002800
mask ffffffffffffff00ffffffffffff00fffeffffff

1.
tux@slitaz:~ $ adb shell
shell@Z00A:/ $ mount | grep binfmt
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0


2.
shell@Z00A:/ $ grep bridge /default.prop
ro.dalvik.vm.native.bridge=libhoudini.so


3.
shell@Z00A:/ $ ls -l /proc/sys/fs/binfmt_misc
-rw-r--r-- root root 0 2015-12-20 21:24 arm_dyn
-rw-r--r-- root root 0 2015-12-20 21:24 arm_exe
--w------- root root 0 2015-12-20 21:24 register
-rw-r--r-- root root 0 2015-12-20 21:24 status


4.
shell@Z00A:/ $ cat /proc/sys/fs/binfmt_misc/status
enabled


5.
shell@Z00A:/ $ cat /proc/sys/fs/binfmt_misc/arm_exe
enabled
interpreter /system/bin/houdini
flags: P
offset 0
magic 7f454c46010101000000000000000000020028


6.
shell@Z00A:/ $ cat /proc/sys/fs/binfmt_misc/arm_dyn
enabled
interpreter /system/bin/houdini
flags: P
offset 0
magic 7f454c46010101000000000000000000030028
shell@Z00A:/ $

2016-01-11

Intel Houdini - Binary Translator



Intel Houdini - Binary Translator
ro.product.cpu.abi=x86
ro.product.cpu.abilist=x86,armeabi-v7a,armeabi
ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.dalvik.vm.isa.arm=x86

libhoudini: What It Means for Developers
libhoudini is a proprietary ARM translation layer for x86-powered Android devices. It allows an app that has NDK binaries for ARM, but not x86, to still run on x86 hardware, albeit not as quickly as it would with native x86 binaries.
Given ARM’s near-stranglehold on the Android ecosystem, libhoudini is hugely useful for Intel and hardware vendors interested in using Intel’s mobile CPUs. Without it, only apps that ship x86 NDK binaries would be compatible with x86-powered devices like the Samsung Galaxy Tab 3 10.1” tablet. Some developers probably skip x86 NDK binaries, because they are not aware of popular x86-powered devices, or lack one for testing, or are concerned over APK size. The Play Store for x86 would shrink substantially from the million-plus apps available to ARM devices, to those that do not use the NDK or happen to ship x86 binaries. libhoudini makes ARM-only NDK binaries usable on x86, giving x86-powered Android devices access to more of the Play Store catalog.

2016-01-07

Intel Atom Z3580


Intel Atom Z3580
model name : Intel(R) Atom(TM) CPU Z3580 @ 1.33GHz
ro.product.board=moorefield
ro.board.platform=moorefield

Intel® Atom™ Processor Z35xx
Introducing 「Moorefield」; 2014 Quad Core Processor Family for Android Devices
This year Intel will introduce the new Intel® Atom™ processor family Z35xx (code-named "Moorefield"), which offers an ideal combination of fast, smart performance and long battery life for Android devices.
Based on Intel's 22nm Silvermont microarchitecture, the 64-bit-ready SoC features four Intel architecture (IA) cores for up to 2.3GHz of compute performance.

2016-01-03

ZE551ML / Z00A - Intel Atom




ZE551ML / Z00A - Intel Atom 

        Device -- Model -- RAM/CPU
  • Z00AD -- ZE551ML -- 4GB/2.3GHz or 4GB/1.8GHz or 2GB/1.8GHz (5.5 in 1080p FHD Screen)
  • Z008D -- ZE550ML -- 2GB/1.8GHz (5.5 in 720p HD Screen)
  • Z00D -- ZE500CL -- 2GB/1.6GHz
1.
tux@slitaz:~ $ uname -a
Linux slitaz 3.2.71-slitaz64 #2 SMP Sat Oct 10 15:35:50 CEST 2015 x86_64 GNU/Linux


2.
tux@slitaz:~ $ adb shell uname -a
Linux localhost 3.10.20-x86_64_moor-265388-ga4369b3 #1 SMP PREEMPT Thu Sep 17 20:35:29 CST 2015 x86_64 GNU/Linux


3.
tux@slitaz:~ $ adb shell cat /proc/version
Linux version 3.10.20-x86_64_moor-265388-ga4369b3 (jenkins@android01-RS704D-E6-PS8) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Thu Sep 17 20:35:29 CST 2015


4.
tux@slitaz:~ $ adb shell cat /proc/cpuinfo | head -26
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model       : 90
model name    : Intel(R) Atom(TM) CPU  Z3580  @ 1.33GHz
stepping    : 0
microcode    : 0x34
cpu MHz       : 500.000
cache size    : 1024 KB
physical id    : 0
siblings    : 4
core id       : 0
cpu cores    : 4
apicid       : 0
initial apicid    : 0
fpu       : yes
fpu_exception    : yes
cpuid level    : 11
wp       : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips    : 2662.40
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:


5.
tux@slitaz:~ $ adb shell cat /system/build.prop | grep -Ei 'ze551|z00a|abi|x86|moor'
ro.build.display.id=LRX21V.WW-ASUS_Z00A-2.20.40.97_20150917_1572_user
ro.build.version.incremental=WW_Z00A-WW_2.20.40.97_20150917_1572_user_rel-user-20150917
ro.product.model=ASUS_Z00A
ro.product.name=WW_Z00A
ro.product.device=Z00A
ro.product.board=moorefield
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=x86
ro.product.cpu.abilist=x86,armeabi-v7a,armeabi
ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.board.platform=moorefield
ro.build.fingerprint=asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.97_20150917_1572_user:user/release-keys
ro.build.csc.version=WW_ZE551ML_2.20.40.97_20150917
ro.dalvik.vm.isa.arm=x86
ro.asus.browser.uap=ASUS-ZE551ML
dalvik.vm.isa.x86.features=sse4_2,aes_in,popcnt,movbe
ro.config.hwrlib=T9_x86
tux@slitaz:~ $