Index of /colinux/testing/kernel-2.6.33

      Name                                   Last modified       Size  Description

[DIR] Parent Directory 14-Mar-2010 22:21 - [TXT] bootlog-2.6.33-20100201-2_login_ok.txt 03-Feb-2010 17:56 8k Log from normal boot [TXT] bootlog-2.6.33-20100203-1_conet-ok.txt 05-Feb-2010 05:25 6k Log from normal boot [TXT] bootlog-2.6.33-20100207-1_scsi-ok.txt 08-Feb-2010 08:43 7k Log from normal boot [   ] linux-2.6.33-co-20100305.patch.gz 05-Mar-2010 11:09 168k Kernel combined patch [DIR] old/ 05-Mar-2010 17:00 - [DIR] packages/ 05-Mar-2010 11:18 - ZIP files w/o installer [TXT] panic-2.6.33-20100204-1-grep-r-usr.txt 05-Feb-2010 07:40 12k Log with panic or bug [   ] patches-2.6.33-20100305.tgz 05-Mar-2010 11:09 110k Series of patches

Patch series for kernel 2.6.33 - usable for beta testers

Warning!	Be carefully with that build. It's not tested in all cases.
********	Run it first on a copy of your image, or use mount option '-o ro'.

TODO:
-----
* mm/page_alloc.c: COLINUX_PAGE_OPTIMIZE should set to 0 after fix get_page_from_freelist()/buffered_rmqueue()
* Cloop, Unionfs: Somebody should test it.
* Scsi: Fix "unhandled opcode: 51" and "... 52"


Current state:
~~~~~~~~~~~~~~
o Memory: OK (with slower, non optimized mapping variant)
o Console (virtul VGA and keyboard): OK
o Initrd: OK
o cobd: OK
o scsi: OK
o cofs: OK
o conet: OK
o Unionfs: Installed, but not tested
o Cloop: Installed, but not tested
o Floating point (FPU): OK


How to build:
~~~~~~~~~~~~~
- Get current source from branch devel, for example from
  http://www.henrynestler.com/colinux/autobuild/devel-20100211/colinux-0.8.0-20100211.src.tgz
- Unpack the coLinux source tree

    tar xzf colinux-0.8.0-20100211.src.tgz

- Unpack the archive with patches over the coLinux source

    cd colinux-20100211
    tar xzf patches-2.6.33-20100305.tgz

  Directories patch/core and patch/2.6.33 contains patches for this kernel.
- Patch coLinux sources for build process with this command line:

    cat *.patch | patch -p0
  
- Run building

    ./configure && make clean && make && make package


How to use and test:
~~~~~~~~~~~~~~~~~~~~
- Copy daemons-*.zip and vmlinux-2.6.33-*.zip to Windows
  and unpack both files.

- Please update the host driver by running these commands:

    colinux-daemon.exe --remove-driver
    colinux-daemon.exe --install-driver

- Have a copy of root filesystem image.  I used Debian 4.0 in an ext3,
  downloaded from coLinux on sf.net, and (down-)resized to 200 MB.

- Sync your files on Windows host (for example with sync.exe from www.sysinternals.com)
  or reboot your Windwos now. - Because it can crash.

- For initrd run these command line:

    colinux-daemon kernel=vmlinux initrd=initrd.gz root=/dev/ram0

- For Debian run these command line:

    colinux-daemon kernel=vmlinux cobd0=Debian-4.0r0-etch-200m.ext3 root=/dev/cobd0 conet=slirp

  Debian image is usable.

  But warning!
  Frederic found a heavy BUG with that simple command: "grep -r foo /usr"
  That will print many NULL-Pointer refrences, see logfile panic-2.6.33-20090204-1-grep-r-usr.txt
  The error is somethere in implementation of freeing pages on host and re-mapping the old page
  again. Why pages are not mapped, if they comes from get_page_from_freelist or buffered_rmqueue?

  buffered_rmqueue have a workaround now, and will map every page again, also if it's mappaed
  always on host. So it's the slower and safe variant for now. But, this should fix in better way.

- Inside Debian (or your distribution), please update the modules by hands:

    mount -t cofs cofs0 /mnt/windows
    cd /mnt/windows
    rm -rf /lib/modules/2.6.33-co-*
    tar -xzf modules-2.6.33-co-0.8.0-20100305.tgz -C /
    depmod
    sync
    reboot

  PS: initrd.gz can't do this automatically.
      depmod is nessesary to run on your distribution for some broken "modules.dep".


History
=======
20100131 udev not working, Console without tty, no login. initrd is ok.
20100201 UNIX, INOTIFY enabled in config. udev is working. Login Debian 4.0 is ok.
20100203 conet ported. Network is ok.
20100204 Remove VGA_ARB from config.
         Optimization for host page mapping disabled, because it's a bug somethere.
         Upgrade to 2.6.33-rc6.
20100205 Bugfix pci device list.
20100207 scsi ported. Without DMA now. Testet only on image file.
         Raw partitions not testet, but should work in same way.
20100209 cofs ported. Support for NFS export on cofs removed.
20100210 Cloop enabled. Squashfs is in kernel.
         Upgrade to 2.6.33-rc7.
20100211 Enable tons of (hopfully) harmless modules. FPU works - tested with flops.c
20100212 Suppress abundant warning from kmalloc inside tty_buffer_request_room
20100213 Upgrade to 2.6.33-rc8.
20100213-2 Print sizes for failed tty_buffer_request_room. kmalloc without __GFP_NOWARN.
20100303 Add fallback for low memory in tty_buffer_alloc.
20100304 Upgrade to 2.6.33
20100305 Unionfs-2.5.4 added.
20100305-2 Modules re-packed without files "modules.*.bin".


Helpers, beta testers and bug reports are welcome!

-- 
Henry Nestler