Build, Ship and Run Any App, Anywhere
Docker - An open platform for distributed applications for developers and sysadmins.https://www.docker.com/
snd_hda_intel 20389 4 snd_hda_codec 56353 2 snd_hda_codec_idt,snd_hda_intel snd_hwdep 5117 1 snd_hda_codec snd_pcm 57218 3 snd_hda_intel,snd_hda_codec snd_page_alloc 5929 2 snd_hda_intel,snd_pcm snd_timer 15484 2 snd_pcm snd 47500 12 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer soundcore 4449 1 snd</pre>
tux@slitaz:~$ modinfo i915i915 310726 2 video 11362 1 i915 i2c_algo_bit 4368 1 i915 drm_kms_helper 21202 1 i915 drm 154213 2 i915,drm_kms_helper intel_agp 10400 1 i915 i2c_core 15927 4 i915,i2c_algo_bit,drm_kms_helper,drm wmi 7235 0 intel_gtt 11831 3 i915,intel_agp agpgart 22932 3 drm,intel_agp,intel_gtt button 4167 1 i915
| 28 hours ago | Pascal Bellard | linux: update linux-slitaz.config64 (again) | |||
| 28 hours ago | Pascal Bellard | linux: update linux-slitaz.config64 | |||
| 45 hours ago | Pascal Bellard | linux64-*: update src var (for list_modules.sh) | |||
| 45 hours ago | Pascal Bellard | linux64: update src var | |||
| 2 days ago | Pascal Bellard | Add dex2jar | |||
| 2 days ago | Pascal Bellard | linux64: update module list | |||
| 2 days ago | Richard Dunbar | tazwikiss: tiny edit | |||
| 2 days ago | Pascal Bellard | linux: update config64 |
Module Size Used by Not tainted ipv6 226737 22 i915 310726 2 video 11362 1 i915 i2c_algo_bit 4368 1 i915 drm_kms_helper 21202 1 i915 drm 154213 2 i915,drm_kms_helper intel_agp 10400 1 i915 i2c_core 15927 4 i915,i2c_algo_bit,drm_kms_helper,drm wmi 7235 0 intel_gtt 11831 3 i915,intel_agp agpgart 22932 3 drm,intel_agp,intel_gtt button 4167 1 i915 sky2 43332 0 snd_hda_codec_idt 47244 1 snd_hda_intel 20389 4 snd_hda_codec 56353 2 snd_hda_codec_idt,snd_hda_intel snd_hwdep 5117 1 snd_hda_codec snd_pcm 57218 3 snd_hda_intel,snd_hda_codec snd_page_alloc 5929 2 snd_hda_intel,snd_pcm snd_timer 15484 2 snd_pcm snd 47500 12 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer soundcore 4449 1 snd
6. linux64/files.list
tux@slitaz:~$ cat /var/lib/tazpkg/installed/linux64/files.list
/boot/vmlinuz-3.2.53-slitaz64
[..]
/lib/modules/3.2.53-slitaz64/modules.devname
/lib/modules/3.2.53-slitaz64/kernel/drivers/char/rtc.ko.xz
/lib/modules/3.2.53-slitaz64/kernel/drivers/char/genrtc.ko.xz
/lib/modules/3.2.53-slitaz64/kernel/drivers/ide/ide-cs.ko.xz
/lib/modules/3.2.53-slitaz64/kernel/lib/libcrc32c.ko.xz
/lib/modules/3.2.53-slitaz64/modules.builtin
1. linux64-3.2.53 and linux-3.2.53 diff ~36 kernel modules
tux@slitaz:~$ calc 337-301
36
tux@slitaz:~$ tazpkg list | grep linux64 linux64 3.2.53 base-system linux64-agp 3.2.53 base-system linux64-crypto 3.2.53 base-system linux64-drm 3.2.53 base-system linux64-sound 3.2.53 base-system linux64-wireless 3.2.53 base-system
8. Cook summary
http://cook.slitaz.org/cooker.cgi?pkg=linux
Summary for: linux64 3.2.53
Files : 16
Summary for: linux 3.2.53
Files : 337
Cook date : 2014-08-19 10:18
slitaz-rolling-core64.iso 2014-Aug-24 03:30:12
http://alanyih.blogspot.tw/2014/08/slitaz-slitaz-rolling-core64-20140824.html
1.
tux@slitaz:~$ busybox modprobe -l | wc -l
301
4. eth0: No such device
tux@slitaz:~$ grep -A 5 network /var/log/boot.log
[..]
ifconfig: SIOCGIFFLAGS: No such device
Starting udhcpc client on: eth0...
udhcpc: SIOCGIFINDEX: No such device
5. linux64-3.2.53
tux@slitaz:~$ ls -l /lib/modules/3.2.53-slitaz64/kernel/drivers/net
total 0
drwxr-xr-x 23 root root 700 Aug 19 10:56 wireless
SliTaz GNU/Linux ================================================================================ Release : 5.0 Architecture : i486 Kernel : 3.2.53-slitaz64 Machine type : x86_64 Home path : /home/slitaz Configs : /etc/slitaz Main config : /etc/slitaz/slitaz.conf Log files : /var/log/slitaz Packages DB : /var/lib/tazpkg Installed : 235 packages Mirror : http://mirror.slitaz.org/packages/cooking/ System date : Mon Aug 23 11:42:32 UTC 2014 -------------- Boot options : BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs4.gz,/boot/rootfs4l.gz, /boot/rootfs3.gz,/boot/rootfs3l.gz,/boot/rootfs2.gz,/boot/rootfs2l.gz,/boot/rootfs1.gz rw root=/dev/null autologin lang=en_US kmap=us ================================================================================ tux@slitaz:~$
| 47 hours ago | Pascal Bellard | syslinux/c32box: x86_64 auto select (again) |
| 47 hours ago | Pascal Bellard | syslinux/c32box: x86_64 auto select (again) |
| 2 days ago | Xander Ziiryanoff | fix qt |
| 2 days ago | Pascal Bellard | syslinux/c32box: x86_64 auto select (again) |
| 2 days ago | Pascal Bellard | syslinux/c32box: x86_64 auto select |
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Thu Aug 21 09:56:57 2014 +0200 (2 days ago ago) |
| parents | 6dd4a6865e2e |
| children | d5b427eca7f3 |
| files | syslinux/stuff/extra/md5sum.c |
1.69 +static char *bestextfilename(char *filename) 1.70 +{ 1.71 + char *found; 1.72 + 1.73 + //found = extfilename(filename, "fpu", X86_FEATURE_FPU); 1.74 + //found = extfilename(filename, "686", X86_FEATURE_CMOV); 1.75 + //found = extfilename(filename, "pae", X86_FEATURE_PAE); 1.76 + found = extfilename(filename, "64", X86_FEATURE_LM); 1.77 + //found = extfilename(filename, "guest", X86_FEATURE_HYPERVISOR); 1.78 + return found; 1.79 +} 1.80 +
tux@slitaz:~$ dmesg | grep -A 5 initramfs
Trying to unpack rootfs image as initramfs...
....................................
Freeing initrd memory: 52k freed
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing 64MB software IO TLB between ffff8800c748e000 - ffff8800cb48e000
software IO TLB at phys 0xc748e000 - 0xcb48e000
| author | Pascal Bellard <pascal.bellard@slitaz.org> | ||
|---|---|---|---|
| date | Mon Aug 18 23:02:00 2014 +0200 (29 hours ago ago) | ||
| parents | 2dd00d63b1d6 | ||
| children | de89db694ed0 | ||
| files | linux/stuff/linux-freeinitrd.u |
# HG changeset patch
# User Pascal Bellard <pascal.bellard@slitaz.org>
# Date 1408395720 -7200
# Node ID 08f5bc0133f6276e5ff1421ae2fcb7f555884496
# Parent 2dd00d63b1d6567ea6fd7942f6f175e7bd8b8c60
linux: fix linux64 initramfs load
diff -r 2dd00d63b1d6 -r 08f5bc0133f6 linux/stuff/linux-freeinitrd.u
--- a/linux/stuff/linux-freeinitrd.u Mon Aug 18 23:00:41 2014 +0200
+++ b/linux/stuff/linux-freeinitrd.u Mon Aug 18 23:02:00 2014 +0200
@@ -5,7 +5,7 @@
set_memory_rw(begin, (end - begin) >> PAGE_SHIFT);
- printk(KERN_INFO "Freeing %s: %luk freed\n", what, (end - begin) >> 10);
-+ if (what) printk(KERN_INFO "Freeing %s: %luk freed\n", what, (end - begin) >> 10);
++ if (what && *what) printk(KERN_INFO "Freeing %s: %luk freed\n", what, (end - begin) >> 10);
for (; addr < end; addr += PAGE_SIZE) {
ClearPageReserved(virt_to_page(addr));
@@ -22,22 +22,22 @@
+
+static void free_rootfs_mem(unsigned long start, unsigned long end)
+{
-+ free_init_pages(NULL, start, end);
++ free_init_pages("", start, end);
+}
+
+static void _free_initrd(unsigned long initrd_start, unsigned long initrd_end,
+ void (*free_initrd_mem)(unsigned long, unsigned long));
+
+static struct {
-+ int offset, last, inptr, freed;
++ unsigned long offset, last, inptr, freed;
+ char *max;
+} fill;
+
+static void release_inbuf(unsigned n)
+{
+ if (n >= INITRD_PAGE) {
-+ unsigned rem = n % INITRD_PAGE;
-+ unsigned end = initrd_start + n - rem;
++ unsigned long rem = n % INITRD_PAGE;
++ unsigned long end = initrd_start + n - rem;
+ _free_initrd(initrd_start, end, free_rootfs_mem);
+ fill.freed += n - rem;
+ if (fill.freed >= INITRD_DOT) {
@@ -49,9 +49,9 @@
+ }
+}
+
-+static int fill_buffer(void *buffer, unsigned size)
++static unsigned long fill_buffer(void *buffer, unsigned size)
+{
-+ int max = fill.max - (char *) initrd_start - fill.offset;
++ unsigned long max = fill.max - (char *) initrd_start - fill.offset;
+ if (max > size) max = size;
+ if (max > INITRD_PAGE) max = INITRD_PAGE;
+ memcpy(buffer, (void *)(initrd_start + fill.offset), max);
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Sat Aug 16 14:43:53 2014 +0200 (6 days ago ago) |
| parents | 8a3c0ff3e79a |
| children | 889f25f00105 |
| files | linux/stuff/linux-slitaz.config64 |
# HG changeset patch # User Pascal Bellard <pascal.bellard@slitaz.org> # Date 1408193033 -7200 # Node ID 5803f5a52a5967a3b17fae6f8189027c57bd8343 # Parent 8a3c0ff3e79ac00ea6b4df6067367250cd74eaf7 linux64: new module path diff -r 8a3c0ff3e79a -r 5803f5a52a59 linux/stuff/linux-slitaz.config64 --- a/linux/stuff/linux-slitaz.config64 Sat Aug 16 00:15:04 2014 +0200 +++ b/linux/stuff/linux-slitaz.config64 Sat Aug 16 14:43:53 2014 +0200 @@ -61,7 +61,7 @@ CONFIG_EXPERIMENTAL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE="uclibc-x86_64-" -CONFIG_LOCALVERSION="-slitaz" +CONFIG_LOCALVERSION="-slitaz64" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_BZIP2=y @@ -142,7 +142,7 @@ # CONFIG_SYSFS_DEPRECATED is not set # CONFIG_RELAY is not set CONFIG_BLK_DEV_INITRD=y -CONFIG_INITRAMFS_SOURCE="initrd.cpio" +CONFIG_INITRAMFS_SOURCE="" CONFIG_INITRAMFS_ROOT_UID=0 CONFIG_INITRAMFS_ROOT_GID=0 CONFIG_RD_GZIP=y
| author | Pascal Bellard <pascal.bellard@slitaz.org> | ||
|---|---|---|---|
| date | Sun Aug 17 17:16:41 2014 +0200 (5 days ago ago) | ||
| parents | 89fe96ff7f00 | ||
| children | |||
| files | core64/packages.list |
# HG changeset patch # User Pascal Bellard <pascal.bellard@slitaz.org> # Date 1408288601 -7200 # Node ID 84449f90bc26c8cf4c713f6bc4aa210c55578e8f # Parent 89fe96ff7f005fea845be17396792577e4ca217d core64: do not install linux/32 ! diff -r 89fe96ff7f00 -r 84449f90bc26 core64/packages.list --- a/core64/packages.list Mon May 19 12:21:36 2014 +0200 +++ b/core64/packages.list Sun Aug 17 17:16:41 2014 +0200 @@ -1,3 +1,8 @@ +linux64 +linux64-crypto +linux64-firmware +linux64-sound +linux64-wireless 915resolution acl alsa-lib @@ -83,11 +88,6 @@ libxcb libxml2 libxslt -linux64 -linux64-crypto -linux64-firmware -linux64-sound -linux64-wireless locale-de locale-es locale-fr
-Version- Kernel : Linux 3.2.53-slitaz64 (x86_64) Compiled : #2 SMP Tue Aug 19 07:22:20 Europe 2014 C Library : GNU C Library version 2.14.1 (stable) Default C Compiler : Unknown Distribution : Slitaz GNU/Linux cooking -Current Session- Computer Name : slitaz User Name : tux (SliTaz User) Home Directory : /home/tux Desktop Environment : Unknown (Window Manager: Openbox) -Misc- Uptime : 36 minutes Load Average : 0.00, 0.01, 0.05
================================================================================ Source dir : 12.0K Packed : 4.6M Compressed : 3.1M Files : 16 Cook time : 29s Cook date : 2014-08-19 10:17 Host arch : i486 ================================================================================ Leaving aufs chroot... -- Summary for: linux 3.2.53 ================================================================================ Source dir : 1.0G Src file : linux-3.2.53.tar.xz Src size : 62.6M Produced : 80.1M Packed : 7.1M Compressed : 5.8M Files : 337 Cook time : 14582s ~ 243m Cook date : 2014-08-19 10:18 Host arch : i486
echo -e "\n* Building bzImage64 with modules...\n"
make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage &&
root@slitaz:/tmp# file -k vmlinuz-3.2.53-slitaz1.
vmlinuz-3.2.53-slitaz: x86 boot sector12- Linux kernel x86 boot executable bzImage, version 3.2.53-slitaz (root@tank) #2 SMP Wed Jul 30 14:21:12 Europe 201, RO-rootFS, swap_dev 0x2, Normal VGA MS-DOS executable, MZ for MS-DOS
root@slitaz:~$ cat /var/log/boot.log Processing: /etc/init.d/rcS... Mounting proc filesystem on /proc [ Done ] Mounting devtmpfs filesystem on: /dev [ Done ] Starting udev daemon... Udevadm requesting events from the Kernel... Udevadm waiting for the event queue to finish... Remounting rootfs read/write... Mounting filesystems in fstab... Searching for early boot options... [ Done ] Cleaning up the system... [ Done ] Mounting usbfs filesystem on: /proc/bus/usb [ Done ] Starting system log daemon: syslogd... [ Done ] Starting kernel log daemon: klogd... [ Done ] Loading Kernel modules... Loading module: PIIX_IDEmodprobe: FATAL: Module PIIX_IDE not found. [ Failed ] Triggering udev events: --action=add [ Done ] Processing: /etc/init.d/bootopts.sh Checking for SliTaz cmdline options... Processing: /etc/init.d/system.sh Unable to configure sound card. Setting system locale: POSIX [ Done ] Loading console keymap: us [ Done ] Starting TazPanel web server on port 82... [ Done ] Processing: /etc/init.d/network.sh Setting hostname to: slitaz [ Done ] Configuring loopback... [ Done ] ifconfig: SIOCGIFFLAGS: No such device Starting udhcpc client on: eth0... udhcpc: SIOCGIFINDEX: No such device Processing: /etc/init.d/local.sh Starting all daemons... Setting up kernel security rules... [ Done ] WARNING: IPtables rules are disabled httpd is already active. Welcome to your box
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="initrd.cpio"
50 cp /usr/share/boot/initrd initrd.cpio
[ -x /bin/udhcpc ] && udhcpc -b -s /init
while true; do
busybox | sed '/Current/,$!d'
if [ -x /bin/setsid ]; then
setsid sh -c "exec sh <$TTY >$TTY 2>&1"
else
sh <$TTY >$TTY 2>&1
fi
done
2. config-3.2.0-4-amd64:
extract from Debian linux-image-3.2.0-4-amd64
| slitaz-roll-core64 VS. slitaz-x86_64 | ||
| Diff | slitaz-roll-core64 * | slitaz-x86_64 ** |
| Core (kernel,modules) | 64bits | 64bits |
| packages | 32bits | 64bits (32bits TODO) |
| toolchain | uclibc-cross-compiler-x86_64 | slitaz-x86_64-toolchain (gcc-4.6.3) |
| INITRAMFS_SOURCE | initrd.cpio | "" |
| .config | linux-slitaz.config64 | config-3.2.0-4-amd64 |
# The Linux receipt handle cross compilation. For x86_64 we actually use
# the uclibc-cross-compiler-x86_64
[..]
# Build bzImage64 with modules
cp -f $stuff/$PACKAGE-slitaz.config64 .config
echo -e "\n* Configure bzImage64 with modules...\n"
yes '' | make ARCH=x86_64 oldconfig
echo -e "\n* Building bzImage64 with modules...\n"
make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage &&
make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- modules &&
root@slitaz:~# uname -a
Linux slitaz 3.2.53-slitaz #1 SMP Wed Jan 1 18:22:13 UTC 2014 x86_64 GNU/Linux
[ 0.000000] Linux version 3.2.53-slitaz (root@slitaz) (gcc version 4.6.3 (SliTaz) ) #1 SMP Wed Jan 1 18:22:13 UTC 2014
root@slitaz:~# file /lib/libc-2.13.so
/lib/libc-2.13.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped