Skip to content

Instantly share code, notes, and snippets.

@tetsu-koba
tetsu-koba / cpuinfo_x86_smp.txt
Created July 13, 2011 05:35
/proc/cpuinfo of emulator-x86, rebuilt SMP kernel. It just boot but not works well.
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : Pentium II (Klamath)
stepping : 3
cpu MHz : 3073.890
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
@tetsu-koba
tetsu-koba / dmesg_x86_smp.txt
Created July 13, 2011 05:37
Kernel boot log of emulator-x86, rebuilt SMP kernel. It just boot but not works well.
<5>[ 0.000000] Linux version 2.6.29 (koba@koba-linux2) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Wed Jul 13 12:42:46 JST 2011
<4>[ 0.000000] KERNEL supported cpus:
<4>[ 0.000000] Intel GenuineIntel
<4>[ 0.000000] AMD AuthenticAMD
<4>[ 0.000000] NSC Geode by NSC
<4>[ 0.000000] Cyrix CyrixInstead
<4>[ 0.000000] Centaur CentaurHauls
<4>[ 0.000000] Transmeta GenuineTMx86
<4>[ 0.000000] Transmeta TransmetaCPU
<4>[ 0.000000] UMC UMC UMC UMC
@tetsu-koba
tetsu-koba / logcat_x86_smp.txt
Created July 13, 2011 05:43
Android log of emulator-x86, rebuilt SMP kernel. It just boot but not works well.
I/DEBUG ( 820): debuggerd: Jul 11 2011 10:27:16
I/Vold ( 817): Vold 2.1 (the revenge) firing up
D/Vold ( 817): USB mass storage support is not enabled in the kernel
D/Vold ( 817): usb_configuration switch is not enabled in the kernel
I/Netd ( 819): Netd 1.0 starting
D/Vold ( 817): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/qemu-props( 877): connected to 'boot-properties' qemud service.
I/qemu-props( 877): receiving..
I/qemu-props( 877): received: dalvik.vm.heapsize=48m
I/qemu-props( 877): receiving..
@tetsu-koba
tetsu-koba / prop_x86_smp.txt
Created July 13, 2011 05:45
getprop output of emulator-x86, rebuilt SMP kernel. It just boot but not works well.
[ro.secure]: [0]
[ro.allow.mock.location]: [1]
[ro.debuggable]: [1]
[persist.service.adb.enable]: [1]
[ro.kernel.qemu]: [1]
[ro.kernel.console]: [ttyS0]
[ro.kernel.android.qemud]: [ttyS1]
[ro.kernel.androidboot.hardware]: [goldfish]
[ro.kernel.clocksource]: [pit]
[ro.kernel.android.checkjni]: [1]
@tetsu-koba
tetsu-koba / ruby-1.9.2-p290-android.patch
Created July 21, 2011 01:38
Android patch for ruby-1.9.2-p290.
diff -u -r ruby-1.9.2-p290/configure ruby-1.9.2-p290.android/configure
--- ruby-1.9.2-p290/configure 2011-07-15 22:00:12.000000000 +0900
+++ ruby-1.9.2-p290.android/configure 2011-07-20 17:50:46.864371770 +0900
@@ -13855,7 +13855,9 @@
$as_echo_n "(cached) " >&6
else
if test "$cross_compiling" = yes; then :
- as_fn_error $? "cannot check setpgrp when cross compiling" "$LINENO" 5
+ #as_fn_error $? "cannot check setpgrp when cross compiling" "$LINENO" 5
+ # hack for Android
@tetsu-koba
tetsu-koba / ruby-1.8.7-p352-android.patch
Created July 26, 2011 09:02
Android patch for ruby-1.8.7-p352.
diff -u -r ruby-1.8.7-p352/configure ruby-1.8.7-p352.android/configure
--- ruby-1.8.7-p352/configure 2011-07-02 18:54:02.000000000 +0900
+++ ruby-1.8.7-p352.android/configure 2011-07-26 16:22:06.762897834 +0900
@@ -9043,7 +9043,9 @@
$as_echo_n "(cached) " >&6
else
if test "$cross_compiling" = yes; then :
- as_fn_error "cannot check setpgrp when cross compiling" "$LINENO" 5
+ #as_fn_error "cannot check setpgrp when cross compiling" "$LINENO" 5
+ # hack for Android
@tetsu-koba
tetsu-koba / dmesg_x86_kvm_on.txt
Created July 27, 2011 12:35
Kernel boot log of emulator-x86 -qemu -enable-kvm
<5>[ 0.000000] Linux version 2.6.29 (digit@lulu.par.corp.google.com) (gcc version 4.4.3 (GCC) ) #39 PREEMPT Fri Apr 29 14:39:26 CEST 2011
<4>[ 0.000000] KERNEL supported cpus:
<4>[ 0.000000] Intel GenuineIntel
<4>[ 0.000000] AMD AuthenticAMD
<4>[ 0.000000] NSC Geode by NSC
<4>[ 0.000000] Cyrix CyrixInstead
<4>[ 0.000000] Centaur CentaurHauls
<4>[ 0.000000] Transmeta GenuineTMx86
<4>[ 0.000000] Transmeta TransmetaCPU
<4>[ 0.000000] UMC UMC UMC UMC
@tetsu-koba
tetsu-koba / logcat_x86_kvm_on.txt
Created July 27, 2011 12:37
Android log of emulator-x86 -qemu -enable-kvm
I/DEBUG ( 748): debuggerd: Jul 11 2011 10:27:16
I/Vold ( 746): Vold 2.1 (the revenge) firing up
D/Vold ( 746): USB mass storage support is not enabled in the kernel
D/Vold ( 746): usb_configuration switch is not enabled in the kernel
I/Netd ( 747): Netd 1.0 starting
D/Vold ( 746): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/qemu-props( 805): connected to 'boot-properties' qemud service.
I/qemu-props( 805): receiving..
I/qemu-props( 805): received: dalvik.vm.heapsize=48m
I/qemu-props( 805): receiving..
@tetsu-koba
tetsu-koba / dmesg_x86_kvm_off.txt
Created July 27, 2011 12:38
Kernel boot log of emulator-x86 -qemu -disable-kvm
<5>[ 0.000000] Linux version 2.6.29 (digit@lulu.par.corp.google.com) (gcc version 4.4.3 (GCC) ) #39 PREEMPT Fri Apr 29 14:39:26 CEST 2011
<4>[ 0.000000] KERNEL supported cpus:
<4>[ 0.000000] Intel GenuineIntel
<4>[ 0.000000] AMD AuthenticAMD
<4>[ 0.000000] NSC Geode by NSC
<4>[ 0.000000] Cyrix CyrixInstead
<4>[ 0.000000] Centaur CentaurHauls
<4>[ 0.000000] Transmeta GenuineTMx86
<4>[ 0.000000] Transmeta TransmetaCPU
<4>[ 0.000000] UMC UMC UMC UMC
@tetsu-koba
tetsu-koba / logcat_x86_kvm_off.txt
Created July 27, 2011 12:39
Android log of emulator-x86 -qemu -disable-kvm
I/Vold ( 746): Vold 2.1 (the revenge) firing up
I/DEBUG ( 748): debuggerd: Jul 11 2011 10:27:16
I/Netd ( 747): Netd 1.0 starting
D/Vold ( 746): USB mass storage support is not enabled in the kernel
D/Vold ( 746): usb_configuration switch is not enabled in the kernel
D/Vold ( 746): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/qemu-props( 796): connected to 'boot-properties' qemud service.
I/qemu-props( 796): receiving..
I/qemu-props( 796): received: dalvik.vm.heapsize=48m
I/qemu-props( 796): receiving..