2008-05-11T21:26:36 henryn r1046 * co_manager_send: Exit sleep wait, if monitor closed. 2008-05-11T11:26:03 henryn r1045 * co_manager_send: Move debug prints outside sleepping loop. 2008-05-11T09:03:35 henryn r1044 * co_os_get_page: GFP_ZERO as parameter to alloc_pages. (Linux as host) 2008-05-11T08:58:36 henryn r1043 * co_manager_send: Limit queue entries and sleep, if user task is busy. Fix for unresponsable keybord on flooded ntconsole output under Vista. 2008-05-11T08:34:26 henryn r1042 * packet_read_async: Fixup double data write (from r1041) 2008-05-10T23:37:28 henryn r1041 * packet_read_async: Remove the loop to have keyboard inputs on overflooded console. 2008-05-10T23:29:22 henryn r1040 * ntkernel: Dont include asm/page.h - Problems with 2.6.25 kernel header types.h and "fd_set" 2008-05-10T23:23:40 henryn r1039 * ntkernel: CO_ARCH_PAGE_SIZE should use on host side, not PAGE_SIZE 2008-04-25T23:54:44 henryn r1038 Restructed interrupt receiver from host to guest. * co_handle_incoming_message: Moved from arch/i386/kernel/cooperative.c into kernel/cooperative.c, optimized and as static. * co_queue_incoming_message: Merged into co_handle_incoming_message. 2008-04-25T23:48:41 henryn r1037 * Kernel co_queue_incoming_message: Is called with disabled IRQ. Remove local_irq_save/restore. 2008-04-25T23:45:12 henryn r1036 * Kernel: Implement CO_DEVICE_POWER as interrupt handler on POWER_IRQ 9. 2008-04-25T23:41:03 henryn r1035 * co_free_message: Move into header as static inline. * co_debug_line: Remove unused function. 2008-04-25T23:38:07 henryn r1034 * Kernel cocd_interrupt: Use indirect call over __do_IRQ(SERIAL_IRQ). 2008-04-25T23:30:49 henryn r1033 * Kernel: Statistic counts about OS switches in proc. 2008-04-23T20:28:28 henryn r1032 * scsi get_next_entry: Replace goto with while. Optimize lockup. 2008-04-23T20:21:44 henryn r1031 Scsi by Steve Shoecraft: * Queue buffer as static array, instead alloc. "USE_Q" removed. * Sleep added, if no free worker queue slot found. * Bugfix function names and small others. 2008-04-20T21:33:19 henryn r1030 * NEWS: update for ndis-bridge. 2008-04-20T21:07:08 henryn r1029 * ndis-bridge: Call co_monitor_filter_linux_message directly from incoming_message, not indirectly via co_manager_send. 2008-04-20T19:35:44 henryn r1028 * "ndis-bridge" added by Ligong Liu: Make a little enhancement to coLinux bridged network. Added a windows kernel mode protocol for per colinux monitor instance, which bridges packets between NDIS adapters and colinux kernel in kernel mode. This change provides the same functionality as pcap-bridge, but provide good performance, cause it eliminate several context switches. The syntax in colinux config file is same as pcap-bridge. To use it, create an adapter like: eth0=ndis-bridge,?226?128?157Local Area Connection 2?226?128?157,?226?128?15702:00:00:00:00:04?226?128?157 2008-04-17T21:37:42 henryn r1027 * coscsi: Convert to read_capacity format. Code optimize. (Steve Shoecraft) 2008-04-17T21:35:18 henryn r1026 * scsi: io_queue commited by last r1025, but should not. - Disable USE_Q now. 2008-04-17T21:28:04 henryn r1025 * covideo: Disable kernel debug messages (Steve Shoecraft) 2008-04-17T21:05:08 henryn r1024 * scsi: Add more debug near resize. (Steve Shoecraft) 2008-04-17T21:04:02 henryn r1023 * scsi_file_size: Return real size, not configured size to linux. (Steve Shoecraft) 2008-04-17T21:03:11 henryn r1022 * scsi_file_open: Fixup bug on freeing unicode memory. (Steve Shoecraft) 2008-04-17T21:02:25 henryn r1021 * scsi: Source cleanup, renames functions. (Steve Shoecraft) 2008-04-15T21:03:09 henryn r1017 * Bug fix for randomly crashes on coLinux boot, mostly with initrd. Some machines with ext2 or ext3 (not reisserfs) for the root file system coLinux was faulting with host reboot or freeze. Some machines works better without initrd, because every mount was a risk for crashing. A page fault in do_page_fault handler from calling sys_mount with params from kernel address space was detected as problem. (Thanks Paolo) Exactly "pte_present(*pte_k)" in vmalloc_fault() was triple or more recursively faulting with stack overflow. A candidate for such badly pointers was the function mount_block_root(). There an one page allocated variable "fs_names" was later tried to read 4096 bytes +9 behind the end in the function exact_copy_from_user(). The vmalloc_fault() was trying to map the page behind this end. But, if there is no page, then it should fault, that's what exact_copy_from_user assumed. The address will check in vmalloc range between VMALLOC_START and VMALLOC_END now, before accessing the PTE macros. * The added lines are ported from 64 bit source of kernel 2.6.25-rc9. 2008-04-08T21:45:33 henryn r1016 * unionfs: Fix warning from patch offset 2008-04-08T21:39:21 henryn r1015 * unionfs-2.2.4 added as module. (Marwan Al-Sabbagh) 2008-04-06T21:15:14 henryn r1008 * build: "tail" logfile only, if exist and has entries. 2008-04-06T21:13:00 henryn r1007 * build: Abort, if unpacking failed. 2008-04-06T21:11:31 henryn r1006 * build: Detect file extension and use gunzip or bunzip2 for unpacking. 2008-04-06T20:58:28 henryn r1005 * build-colinux-libs.sh: Remove w32api.h from md5sum. Controled over versions file. 2008-04-06T20:48:42 henryn r1003 * configure: bunzip2 added to list of tools. 2008-03-30T11:16:36 henryn r1001 * co_os_file_load: Image files >4GB was failing, if boots with "-v 3". 2008-03-29T23:08:09 henryn r1000 * doc/building: Bigger blocksize for creating images. 2008-03-29T14:12:59 henryn r999 * co_alloc_pages: Optimize operators in the for-loop. 2008-03-29T14:11:26 henryn r998 * co_monitor_alloc_and_map_page: Source face lift. 2008-03-29T14:09:56 henryn r997 * New: "PG_co_host_mapped" to handle state of mapped pages on host. Do not call to map a page, if page is always mapped on host side. Saves many of OS switches. This makes coLinux significant faster. Time cost problem was: __alloc_pages calls co_persistent_alloc_pages at end, and was called also via get_page_from_freelist and prep_zero_page if page flag __GFP_ZERO was set. 2008-03-29T13:45:42 henryn r996 * co_persistent_alloc_pages: Changed loop from while into for. 2008-03-29T13:42:07 henryn r995 * co_persistent_alloc_pages: Bugfix with order and size (if host mem very low). 2008-03-29T13:38:49 henryn r994 * co_free_pages,co_alloc_pages: Rename variable size into order. 2008-03-29T13:30:32 henryn r993 * co_passage_page_{acquire,ref_down,ref_up,held,release}: Moved into header as static inline. 2008-03-29T13:27:14 henryn r992 * co_send_message_save, co_send_message_restore: Moved into header as static inline. * co_get_message_save: Unused, removed. 2008-03-29T13:23:08 henryn r991 * co_send_message_s: Merged into co_send_message. co_send_message: Use co_send_message_save and co_send_message_restore. co_passage_page_held would no ignore, is a bug now. 2008-03-29T13:18:17 henryn r990 * incoming_message: As static. Remove network debugging. 2008-03-29T13:17:12 henryn r989 * CO_OPERATION_PRINTK: Removed. Guest sends directly to CO_MODULE_PRINTK. 2008-03-29T13:14:26 henryn r988 * co_printk: Non debug variant forgotten to change (r987). 2008-03-29T13:03:18 henryn r987 * co_printk: Size as paramter, instead calling strlen. 2008-03-29T13:00:01 henryn r986 * co_monitor_host_linuxvm_transfer_unmap: As static inline 2008-03-29T12:57:41 henryn r985 * co_os_file_block_async_read_write: Return without any checks, if success. 2008-03-24T23:38:08 henryn r984 * NEWS: Comment kernel config changes. Doc environment COLINUX. (backport from stable 983) 2008-03-24T22:29:31 henryn r982 * scsi send_intr: Add delta for error handling. (Reverts some of r879, r878) 2008-03-24T21:36:14 henryn r981 * _scsi_io: Replace co_os_file_block_read_write with an optimised scsi_transfer_file_block. Reverts some of SVN r878. 2008-03-21T20:09:31 henryn r980 * Comments on passage code. 2008-03-21T17:00:25 henryn r978 * NEW: Backport from branch stable 2008-03-21T16:03:05 henryn r976 * MmAllocatePagesForMdl: Limit non supported PGE 2008-03-21T15:34:16 henryn r973 * Warning prints, if COLINUX_DEBUG was not compiled in. 2008-03-21T13:37:24 henryn r963 * Installer: No ShowInstDetails/ShowUnInstDetails. (port from stable) 2008-03-20T23:21:20 henryn r959 * Don't use MmGetPhysicalMemoryRanges, don't search memory ranges. Lower PFN limit at 16MB. Upper PFN limit from hostmem_pages, to not get pages from behind memory holes. That is enought to fix problems with shared video cards and the bug "PFN to high". Reverts mostly of r937. 2008-03-17T23:51:37 henryn r957 * Fix BSOD from "stty rows N" where n>25. Disable screen resize. (found by Paolo Minazzi) 2008-03-13T23:30:14 henryn r956 * By Steve Shoecraft scsi: rom updates ... work in progress. changed driver to use CO_DEVICE_SCSI instead of CO_OPERATION_SCSI host driver will create the storage device file if it does not exist. a size can be specified for a scsi device file in the configuration file. size is in megabytes. format is: scsi#=type,,size. BE VERY CAREFULL with this parameter, as it can increase/decrease the size of a file as well! network: added ethtool and mii-tool support video: added video (framebuffer) support. use video#= in config file to enable. size is in megabytes. added wxWidgets library to build system. added a new console, colinux-console-wx. work in progress. pci: enabled dynamic pci configuration, guest pci config comes from the host. user can specify which slot a virtual adapter is in using pci=,,. example: if user wants video0 at slot 5, function 0: pci5=0,video,0 * By Henry Nestler Build tools: Version cache files removed from md5sum, check version is enough. * Merged from branch steve SVN r954. 2008-03-11T18:38:08 henryn r948 * TODO: Add lguest plan. 2008-03-10T23:06:42 henryn r947 * Kernel config: Add ip netfilter NAT (suggest by Jerome) 2008-03-07T23:51:38 henryn r941 * winnt kernel alloc: Replace manager->osdep with osdep in local functions. 2008-03-07T23:47:54 henryn r940 * co_winnt_MmAllocatePagesForMdl: New wrapper. Save some stack bytes. 2008-03-07T23:46:23 henryn r939 * Source facelift, ident tab. 2008-03-07T23:44:26 henryn r938 * PFN alloc: Set page limit exactly to last usable byte, not behind. 2008-03-07T00:04:07 henryn r937 * Allocate memory only from valid range, limit setup from hostmem_pages. Background: A graphic card with shared memory use some bytes near top of memory, but not the top most memory. The memory has a hole. In this case coLinux can get a physical page (PFN) from above the maximal memory count. Seconday on (buggy?) graphic driver, that does not protect the memory, coLinux gots physicaly memory from middle of graphic area. To avoid this problems, search for the biggest continues memory range via MmGetPhysicalMemoryRanges, limits this by the maximal usable PFN (got from total of memory) and use this range to allocate memory. On machines without shared graphic this modification would have no changes. Such machines have typicaly only one continues memory range on topmost of total physicaly memory. (Thanks Baldyeti for reports.) 2008-03-02T18:05:43 henryn r935 * co_module_repr(): Typofix s/cobd/scsi in debug prints. 2008-03-02T14:42:51 henryn r913 * NEWS: Merged from stable 2008-03-02T13:58:47 henryn r912 * co_block_intr_t: Error forwarding for asynchronous block device. 2008-03-02T13:57:38 henryn r911 * cooperative_fs.h: Move include to only cofs used source. 2008-03-01T19:35:58 henryn r907 * Installer: Store install directory into environment variable COLINUX. 2008-03-01T18:15:55 henryn r906 * cofuse: Add a KERN_WARNING for printk 2008-03-01T18:12:58 henryn r905 Kernels before 2.6.22 can not run anymore, pci and scsi are not backported * Remove kernel patches 2.6.12, 2.6.13, 2.6.12, 2.6.15, 2.6.17 * Merge core patches with current state for kernel 2.6.22.18 * Daemon: Remove fallback for kernel symbol cpu_gdt_table 2008-03-01T13:23:54 henryn r902 * NEWS: update from stable 2008-03-01T13:22:56 henryn r901 * Adjust field size for text "* Notes" on images. (copy from r900) 2008-02-26T23:52:40 henryn r897 * Installer: Update new image ArchLinux-2007.08-2 2008-02-26T23:08:14 henryn r896 * cofs fuse_fsync: Does nothing as before, but without error now. Fixed vim error "E667: Fsync failed" 2008-02-26T23:01:21 henryn r895 * cofs request_send: printk unsupported requests. Return ENOSYS "Function not implemented", instead EIO. 2008-02-26T22:57:29 henryn r894 * cofs fuse_release: User call not implement, remove unused code. * cofs request_send_noreply: Remove unused function. 2008-02-24T16:19:05 henryn r893 * Kernel update to 2.6.22.18, fix for splice local root exploit (from stable r890) 2008-02-24T14:46:15 henryn r888 * Download winpcap source from long live archive (backport from r759 2008-02-20T00:10:36 henryn r887 * splice local root exploit fix for 2.6.22 2008-02-18T20:26:04 henryn r885 * doc: Sort upgrading steps. Add workarrounts for eth incrasings on udev 2008-02-15T21:04:04 henryn r883 cobd reimplement as asynchronous * Use kernel parameter "setcobd=async" to enable async mode. Running in async mode can see as counts from interrupt 15. Asynchronous give more CPU time to linux, if one task hangs in a waiting state of a block i/o. Without this parameter, the old sync mode will be use. There linux still suspend up to the time a block i/o would be finish. 2008-02-15T20:23:30 henryn r882 * news: update for bugfix get_size 2008-02-13T22:18:17 henryn r881 cobd getsize: * Asking for size on opened device was a bug on linux side. Check refcount and call stat (CO_BLOCK_STAT) only on first open. Reverts disksize caching from SVN r877. No longer needed now. * co_os_file_block_get_size, co_os_file_block_open, co_os_file_block_close: Functions as static. * Smaller debug messages. 2008-02-13T21:22:30 henryn r880 * co_monitor_host_linuxvm_transfer_map/unmap: New function. Map/unmap linux memory into host memory. Map and unmap are separate functions. Code merged from host scsi source and moved into os independent source. 2008-02-12T23:58:50 henryn r879 * scsi send_intr: delta all times 0, removed from args. Source cleanup. 2008-02-12T23:54:39 henryn r878 * _scsi_io: Use co_os_file_block_read_write instead hands make mapping. 2008-02-12T23:46:47 henryn r877 * co_os_file_block_get_size: Cache filesize between opens. 2008-02-12T23:45:34 henryn r876 * co_os_file_get_size: scsi+blockio use the same new function. 2008-02-12T23:43:41 henryn r875 * co_os_wait_sleep: Remove unused status. 2008-02-05T21:05:19 henryn r874 * mindump-repaint-labels.sh: typofixies in comments 2008-02-05T20:59:09 henryn r873 * build-cross.sh: Relative path for configuring gcc and binutils. Preferred from gcc cross docs. 2008-02-05T20:53:51 henryn r872 * doc: Building kernel with different gcc version, but same ABI. 2008-02-05T20:48:45 henryn r871 * doc: Url for WinPcap.dll 2008-01-22T20:37:31 henryn r870 * proxy_interrupt_handler: Check passage page before proxy interrupt call. 2008-01-22T20:30:26 henryn r869 * temp_storage_size,temp_storage: Removed. Use passage page buffer directly. 2008-01-20T21:34:52 henryn r868 * Build binutils on systems with texinfo version 4.10 or above. (Steve Shoecraft) 2008-01-20T17:50:29 henryn r867 * Patch series reorg, steve-2.6.22.diff merged into existing patches, new patches for pci, scsi. 2008-01-20T16:48:49 henryn r866 By Steve Shoecraft winnt driver: * Image file sizes of exactly 4G caused co_os_file_load to return 0 instead of max, causing colinux to return an error SCSI linux and host driver: * During development of coscsi linux kernel driver, max_id was set to 1 so the scsi subsystem would not scan all ids (speeding up scan time). This caused the colinux scsi driver to only see 1 disk (sda). The max_id parameter has been set to CO_MODULE_MAX_COSCSI (32). * Added clustering support. Enables very large transfer sizes (up to 16MB). Will be required for tape device with large block sizes. * Added pass-through functionality. To add a pass-through device, specify: scsi#=pass, in colinux.conf. Pass-through transfers currently limited to 4k. Will need to revisit in order to transfer larger amounts (for firmware loading, etc.). * Fixed CD-ROM inquiry and mode page data. Standard CD-ROM can be used without error now. * Added stub drivers for covideo and coaudio - working on those next. 2008-01-20T15:48:31 henryn r865 By Steve Shoecraft: * Kernel 2.6.22 config changes Added auditing support to kernel config Added quota support to kernel config Added MD (LVM2) support to kernel config Added SELINUX support to kernel config. Disabled by default. To enable, set selinux=1 in colinux.conf Add more modules: netfilters, add autofs, ecryptfs. Add cooperate video and audio (currently not usable). 2008-01-20T15:39:36 henryn r864 * Made Kconfig symbols for cooperative drivers have the COOPERATIVE in name. (Steve Shoecraft) 2008-01-20T15:13:31 henryn r863 * Linux kernel: Rename source cocd.c into coserial.c (Steve Shoecraft) 2008-01-20T15:10:17 henryn r862 * configure: Option "--errfile" for stderr file. 2008-01-20T14:30:34 henryn r861 * Build system: stderr and stdout into separate files. 2008-01-20T14:24:57 henryn r860 * Build system: Replace manualy object list with automatic input_list. 2008-01-17T20:21:00 henryn r857 * co_module_repr(): Typofix s/monitor/linux in debug prints. 2008-01-17T20:08:32 henryn r856 * call_intr(): As inline. Saves some steps and would not store paramter "func" into stack. The variable "func" is directly used from register. This changes are for Linux as host with older gcc (3.3.1 in my case). For the NT kernel driver this change has no effect. gcc 4.1.2 in coLinux build tree has automaticly inlined such 'static' functions. 2008-01-17T20:01:40 henryn r855 call_intr(): Never use stackpointer 'esp' after stack manipulation (again from svn revision 726) * Changed paramter from "m" to "r". Value will be move into "any" register at top of function now. This register will use for the jump later, mostly as "jmp *%edx". * Bugfix hanging Linux as host, near "Calibrating delay loop...", with host gcc 3.3.1 and host kernel 2.6.17. The jump to 'func' was badly compiled as "jmp *0x4(%esp,1)" after globbered stackpointer 'esp' by pushing the faked return address. * This modification changes also the NT driver from "jmp *-0x4(%ebp)" to jumping directly to registers value stackless: "jmp *%edx". The old code was working, because 'ebp' was not globbered. New code is saver in future now. 2008-01-13T23:00:02 henryn r854 * NEWS: Coment new libraries. 2008-01-13T21:37:08 henryn r853 * scsi_file_..., co_config_user_string_...: Add dummy functions for Linux as host. 2008-01-13T21:20:28 henryn r852 * Daemon build system: Replace manualy object list with automatic input_list. 2008-01-13T21:13:57 henryn r851 scsi ntkernel source cleanup: * status_convert: Renamed into co_status_convert, changed from static to public, used in fileio.c and scsi.c the same now. * co_winnt_utf8_to_unicode, co_winnt_free_unicode: Move prototypes to header. * fileio.h: Added * _scsi_io(): Replace the 'goto' with break 2008-01-13T20:43:39 henryn r850 * mingw runtime upgrade to Version 3.14 2008-01-13T20:41:48 henryn r849 * w32api upgrade to Version 3.11 2008-01-13T17:22:59 henryn r848 * news: updated 2008-01-13T17:06:57 henryn r847 * Recource: Get used gcc version via "gcc -dumpversion", not from config file. 2008-01-13T17:04:12 henryn r846 * Recource: Add build date to "ProductVersion" in file properties. 2008-01-13T16:58:20 henryn r845 * windres: Filenames must be enclosed in "Quotes". Othercase the parser stops with error i686-pc-mingw32-windres: can't open file `service': No such file or directory http://sourceware.org/bugzilla/show_bug.cgi?id=5529 explains the problem in binutils 2.18.50 2008-01-13T16:54:07 henryn r844 * Build warning gcc422: Remove NTOSAPI, because it contains "dllimport". 2008-01-13T16:52:20 henryn r843 * vsnprintf: No longer gcc buildin at mingw-runtime-3.12, exported from libmingwex.a now. Use co_vsnprintf instead. 2008-01-13T16:02:44 henryn r842 * scsi: Prefix "COSCSI_..." for all debug options. 2008-01-13T16:00:33 henryn r841 * scsi/printk: Replaced with co_debug_system for ntkernel. 2008-01-12T23:08:01 henryn r840 * doc: Used keys in Windows Registry 2008-01-12T23:00:13 henryn r839 * installer: Delete HKCU SoftwarecoLinux also, if not empty. 2008-01-12T22:57:22 henryn r838 * co_daemon_prepare_net_macs: Save random created MAC into registry and load they on next start. Solves problems with increasing ethX on every start in udev distributions. * New functions: co_net_config_macs_read, co_net_config_macs_write, co_config_user_string_read, co_config_user_string_write 2008-01-12T22:47:13 henryn r837 * co_daemon_monitor_create, co_user_monitor_create: Check driver version before co_user_monitor_create. 2008-01-12T22:42:06 henryn r836 * co_daemon_prepare_net_macs, co_load_initrd, co_daemon_monitor_create: static 2008-01-12T22:41:05 henryn r835 * co_winnt_remove_driver: Print text "Remove driver anyway", all times, if driver will remove. 2008-01-12T22:29:49 henryn r834 * service.h: Remove prototypes co_winnt_install_driver, co_winnt_remove_driver 2008-01-10T23:46:34 henryn r833 * colinux-daemon: Do not load kernel "vmlinux", if file is not an ELF file. (Exception error, reported by Erazor) 2008-01-10T23:43:44 henryn r832 * doc: In what case needs TAP and/or bridging name. 2008-01-10T23:41:47 henryn r831 * doc: Comments about MAC and increasing ethX, on udev distry. PCI enabled makes this new problem. 2008-01-07T00:56:56 henryn r830 * co_winnt_daemon_install_as_service, co_winnt_daemon_remove_service: Replace co_winnt_get_last_error + co_terminal_print with co_terminal_print_last_error * co_winnt_daemon_remove_service: Restructed with one 'close' for every 'open'. 2008-01-07T00:49:30 henryn r829 * co_terminal_print_last_error: Incrase size for error text from 256 to 512. 2008-01-07T00:44:30 henryn r828 * co_trace_ent_name: Function available only, if COLINUX_TRACE is defined. 2008-01-07T00:41:39 henryn r827 * COLINUX_DEBUG: Exclude static functions, if not defined 2008-01-07T00:37:34 henryn r826 * OpenSCManager: Handle error. Return error code, if it fails. 2008-01-07T00:34:14 henryn r825 * co_winnt_daemon_remove_service: Returns co_rc_t, not int. 2008-01-07T00:31:57 henryn r824 * co_winnt_is_winxp_or_better: Remove unused function. 2008-01-07T00:29:20 henryn r823 * co_debug_local_index: Variable change from global to static. 2008-01-07T00:27:23 henryn r822 * co_debug_: Replace dynamicaly header size calculation and fixed data size with fixed size for header + data. 512 bytes for data + haeder now. Typically header needs app. 100...130 bytes. Data size was incrased from 120 bytes to app. 400 now. (On last commit r821 was missing this in changelog.) 2008-01-07T00:11:21 henryn r821 * compile_time: Missing variable for driver build time (r819) 2008-01-06T23:14:06 henryn r820 * co_winnt_check_driver: Check GetLastError without variable. 2008-01-06T23:11:55 henryn r819 * Driver: Add build time to driver status. 2008-01-06T22:58:25 henryn r818 * co_debug_: Set length directly from vsnprintf, without strlen. 2008-01-06T22:51:50 henryn r817 * co_winnt_driver_remove_lowlevel, co_winnt_driver_install_lowlevel, co_winnt_check_driver: As static. 2008-01-06T22:47:54 henryn r816 Readme: Vista needs to "run as ... admin" for installer and cmd.exe (Monsti via chat) 2008-01-06T22:45:59 henryn r815 colinux-daemon: Error text typofixies. (Monsti via chat) 2007-12-21T21:21:59 henryn r812 * co_os_get_cpu_khz: Add RTL_QUERY_REGISTRY_NOEXPAND to options (no environment replacements). 2007-12-21T21:16:41 henryn r811 * co_passage_page_assert_valid: Use BUG_ON instead BUG. Remove ';' from end of macro. * coscsi_pci_init: No need clear BSS var 'devices'. * get_mac,get_irq: No need to init vars. * manager_irp_cancel: No need to init var 'manager'. * Small TAB, space and text changes. 2007-12-21T20:52:34 henryn r810 * co_debug_system: No extra NL at end of line. 2007-12-21T20:35:25 henryn r809 * mindump-repaint-labels.sh: New script converts label names in minidum files. 2007-12-21T00:56:05 henryn r808 * docs: Merged from stable. Begin NEWS for devel. 2007-12-20T23:34:29 henryn r805 * parse_args_config_scsi: Source code face lift. 2007-12-20T23:32:12 henryn r804 * check_cobd_file: Print different device names for cobd and scsi. 2007-12-20T23:21:27 henryn r803 * check_cobd_file: Disable image file check, if debug not is compiled in. 2007-12-20T23:14:15 henryn r802 * Enable kernel debugging in DbgView on loading driver via registry entry [HLMSOFTWAREcoLinux] "Debug"=dword:0000001f 2007-12-20T22:29:13 henryn r801 * report_status: Disable prints about debugging state sections. 2007-12-20T22:22:53 henryn r800 * Bug #1853578: Fix overflow on hostmem_amount for exactly 4GB memory. "hostmem_amount" holds value in mega bytes now. Old was in bytes. 2007-12-20T21:58:14 henryn r799 * doc: Scsi syntax and examples. 2007-12-20T21:47:30 henryn r798 * Fix gcc warning signed/unsigned from changes on revision 791 2007-12-10T22:06:36 henryn r793 * Docs merged from stable. 2007-12-10T21:18:07 henryn r791 * config: Don't drop last char from configfile, if no ending with CRLF. 2007-12-03T23:06:48 henryn r787 PCI/SCSI by Steve Shoecraft: * Integrated most of the driver in the linux kernel for the least amount of task gate/co_switches. * Implemented Scatter/Gather in the linux driver. * Remove 'COSCSI' from daemons - enabled for ever now. * Remove some debuggings. PS: Linux as host and kernels before 2.6.22 are currently broken. 2007-12-02T18:39:42 henryn r783 * Kernel 2.6.22 source facelifts hardsect_size, hardsect_size_shift, cobd_max: as 'const' now. PBD_BLOCK_SIZE: Remove unused. cobd_transfer: 'struct request' as param directly instead separatly values. rc unchanged. co_handle_incoming_message: Check normal devices first, bug check only in default. 2007-12-02T18:08:37 henryn r782 * manager_write: Remove network debugging. * manager_dispatch: Variable "opened" no need to init. 2007-12-02T18:03:33 henryn r781 co_monitor_block_dev_from_index, co_monitor_file_block_service: static functions. 2007-12-02T18:01:18 henryn r780 co_os_file_block_read_write: Rename parameter name linuxvm -> monitor. 2007-12-02T17:58:52 henryn r779 co_monitor_block_request: Fix close bracket location before default. 2007-12-02T17:55:58 henryn r778 co_os_file_create: Remove FileHandle and use from struct directly. 2007-12-02T17:52:46 henryn r777 status_convert: Use full switch/case/default instead the if/else at end. 2007-12-02T17:49:44 henryn r776 * co_message_write_queue: Remove unused function. 2007-12-02T17:46:16 henryn r775 * scsi: Source facelift for result in send_intr. 2007-11-28T23:26:54 henryn r774 * Check running 64 bit systems and blocks from installing. (NSIS 2.32) 2007-11-27T23:02:33 henryn r773 * Incrase api version. Avoids crashing, if running on old things. linux api version: 11 periphery api version: 21 * PCI and SCSI into one patch. - Steve is working on. 2007-11-27T22:45:16 henryn r772 * Fixup last wrong patch: Missing arch/i386/pci/irq_cooperative.o and legacy.o in Makefile 2007-11-27T21:34:53 henryn r771 * add missing patch file 2007-11-27T21:33:11 henryn r770 By Steve Shoecraft: * Added virtual scsi device handling. Scsi allows partition tables in image files. To use scsi, specify in config file: scsi0=disk,test.img scsi1=cdrom,test.iso * Enabled PCI and SCSI in kernel config. * Merged mouse driver from nlucas. (currently not usable) Consider this ALPHA code :P 2007-11-27T21:03:54 henryn r769 By Steve Shoecraft: * Add printk for ntkernel driver. 2007-11-27T21:00:49 henryn r768 By Steve Shoecraft: * Added virtual pci device handling. Enable the device views in /sys and /proc - many os installs/utils look in /sys/bus/*/devices for devices. lspci output: 00:00.0 Display controller: Unknown device 1a55:0001 00:01.0 IDE interface: Unknown device 1a55:0002 00:02.0 SCSI storage controller: Unknown device 1a55:0003 00:03.0 Multimedia audio controller: Unknown device 1a55:0004 00:04.0 Ethernet controller: Unknown device 1a55:0005 00:05.0 Ethernet controller: Unknown device 1a55:0005 lsdev and lshw have detailed output to. 2007-11-25T20:16:21 henryn r767 By Steve Shoecraft: * Added #ifdef COLINUX_DEBUG to code so it can be compiled without debugging. Some code did not compile when COLINUX_DEBUG was not defined. 2007-11-25T20:08:20 henryn r766 * configure: Allows to use Python 2.5, but has DeprecationWarning: sre. 2007-11-25T20:02:25 henryn r764 * readme.txt: Adjust link to "Root FS Images - 2.6.x-based". (from stable r761) 2007-11-10T20:35:29 henryn r756 * Replace tool unix2dos with sed commands. 2007-11-10T20:32:55 henryn r755 * Building on 64 bit system needs to force target kernel into 32 bit. 2007-11-08T21:22:45 henryn r754 NEWS merged with stable branch. 2007-11-05T23:25:35 henryn r753 Kernel 2.6.22: * co_passage_page_func: Remove unused macro. * co_switch, co_passage_page_func_low: Only available in kernel mode compiling. 2007-11-05T23:24:21 henryn r752 * Disable wildcards for cofs file lookup on existing upper/lower entries. 2007-11-05T23:23:15 henryn r751 * Allow automatic calculation for mem= as quater of totaly host memory. Bug: Was fixed set to 32MB, if no mem= was in config. 2007-11-05T23:22:22 henryn r750 * NEWS: update about installer 2007-11-05T23:21:11 henryn r749 * Installer: Add web link directly to Notes about each image. 2007-11-05T23:19:30 henryn r748 * Installer: Add image Ubuntu 6.06.1 2007-11-05T23:18:30 henryn r747 * Installer: Update image to Fedora 7. 2007-11-05T23:17:34 henryn r746 * WinpcapRedir.ini, iDl.ini: Add dependencies for installer. 2007-11-02T23:34:35 henryn r745 * Fix typofix in previous r744: clock warp is a norml case under load, don't printk. 2007-11-02T23:31:18 henryn r744 * clock warp is a norml case under load, don't printk. Reverts r718 2007-11-02T23:08:10 henryn r743 * NEWS: Sort contens by group 2007-11-02T20:51:37 henryn r742 Installer: Link to sourceforge image files is clickable now. 2007-11-02T20:38:51 henryn r741 * Installer: Adjust long hover lines, make text smaller for output field. * Remove space and nonsens lines from installer script, adjust comments. 2007-11-02T14:06:29 henryn r739 Juergen Hennerich: * colinux-daemon.txt: colinux-slirp-net-daemon.exe is the name, not serial. 2007-11-02T14:00:27 henryn r738 readme.txt: Adjust spaces and tabs on beginning and end of line. 2007-10-06T17:40:00 henryn r737 * SLiRP doc: MAC is an ignored option 2007-10-06T17:38:58 henryn r736 * From kernel guru Sam: EXTRA_LDFLAGS should use, not LDFLAGS_MODULE. 2007-09-24T18:07:40 henryn r735 news: Linux as host works with regparm 2007-09-24T17:54:30 henryn r734 * regparm_check(): Remove function, no longer needed. Linux host kernel module is cleanly build now. 2007-09-24T17:54:20 henryn r733 * comake/tools.py: Don't give '.h' files as compiler input. 2007-09-24T17:54:10 henryn r732 * Bug/Feature #1791993: Ship modules with root as owner and group. 2007-09-24T17:52:46 henryn r731 * doc/debugging: Small typofixies. 2007-09-24T17:52:35 henryn r730 * common/build.comake.py: Remove unused function 'file_id_inputs'. 2007-09-24T17:52:26 henryn r729 * linux/kernel/build.comake.py: Unused, removed. (was core.c) 2007-09-24T17:51:37 henryn r728 Build scripts changed for "Linux as host" to have file_ids working: * module/build.comake.py: Replace fixed path with variable current_dirname. Replace /home/hn/CoLinux/work/devel.svn with variable build_root. Add common/version.h to dependencies. * Add 'CFLAGS_object.o' with current COLINUX_FILE_ID for every source. * Automatic create object list 'colinux-objs', include this. * comake/tools.py: MakefileKbuild gets macro name 'lib-m' or 'colinux-objs' from file extension of target (Makefile.lib-m or Makefile.colinux-objs) * Move colinux.ko as top of "executables", to get the file_ids correctly. 2007-09-24T17:51:19 henryn r727 Linux host kernel with CONFIG_REGPARM or with regparm=3 buildin, is usable now. (tested host 2.6.22 with regparm buildin and SMP enabled) * Module build as full "external module path" now. To avoid problems with user land objects, _all_ host kernel sources are soft linked into separate directory ".module.*.build". Host Kernel build system will create object archives "lib.a" there. * No 'chdir' before make for module: Use -C and M= directly in script. * src/colinux/os/linux/memory.h,src/colinux/os/winnt/memory.h: New files with different includes of memory.h. Sources include , where was before. * tools.py: 'MakefileKbuild' creates Makefile for host from source list. * passage.c: Checks CO_COLINUX_KERNEL and CONFIG_COOPERATIVE - Macros should never defined there. * libc.c: Include only, if co_strtol will be build. 2007-09-24T17:50:36 henryn r726 * call_intr(): Give asm info about changed stackpointer 'esp'. Was bug with linux as host and full optimized code. The "jmp func" was badly build as "jmp *(%esp)", but stackpointer 'esp' was clobbered by pushing the faked return address. 2007-09-24T17:49:46 henryn r725 * co_os_malloc(): Remove variable 'blocks', if no debuging. Debug via define 'DEBUG_CO_KMALLOC', disabled by default. 2007-09-24T17:49:32 henryn r724 * co_switch(): co_host_normal_switch_wrapper() merged into co_host_switch_wrapper(), co_host_switch_wrapper_func() removed. 2007-09-24T17:49:23 henryn r723 * co_i386_get_cpu_vendor(): Remove unused function and header memory.h. 2007-09-24T17:49:13 henryn r722 * Supress warning "ISO C90 forbids mixed declarations and code" in kernel sources. 2007-09-24T17:49:00 henryn r721 * co_i386_has_cpuid(), co_monitor_passage_func_*_size(): Fixup warning "void" for empty parameter list. 2007-09-09T19:47:12 henryn r720 * doc/debugging: Howto use Windows crash dump, using WinDbg and kd. 2007-09-09T19:45:50 henryn r719 * timer_cooperative.c: Remove unused variable 'frequencey'. * kernel/cooperative.c: co_debug does nothing, use printk. 2007-09-09T19:44:44 henryn r718 * Move ioport syscalls into ioport_cooperative.c, remove ioport.o from obj-list. 2007-09-09T19:43:26 henryn r717 * Move irq source into i8259_cooperative.c, remove i8259.o from obj-list. 2007-09-09T19:42:31 henryn r716 * Kernel source reboot_co.c renamed into reboot_cooperative.c 2007-09-09T19:41:42 henryn r715 Kernel 2.6.12, 2.6.13, 2.6.14, 2.6.15, 2.6.17 backports from 2.6.22: * Remove CONFIG_X86_BIOS_REBOOT from config. Move all co_terminate() from reboot.c into new file reboot_co.c. - Better readable code now. * co_shedule_shutdown(): Add CO_LINUX_MESSAGE_POWER_SHUTDOWN, does only ctrl-alt-del and power off VM after kernel would reboot. Lightway implementation for shutdown. Don't call /sbin/shutdown or /sbin/halt, as the 2.6.22 does. * Add CO_LINUX_MESSAGE_POWER_OFF will fast power down colinux. * Add compiler_abi to info in file vmlinux (missing in 2.6.15). * co_send_message_s(), co_queue_incoming_message(), get_offset_cooperative(): Fix compiler warnings. * serial-*.diff: Move the source code for CO_DEVICE_SERIAL into base. Facelifts: * lapic_shutdown(): Is an empty macro. Remove from co_linux_shutdown(). * NEWS: Info about menu and opened gcc version. 2007-09-09T19:31:16 henryn r714 * Linux as host: Check regparm option from host kernel at runtime. Don't include linux/config.h for kernels >=2.6.19. Add KERN_INFO/KERN_ERR to printk. 2007-09-09T19:29:37 henryn r713 * co_vsnprintf(), Kernel co_debug(): Add '__attribute__' for printf format checking at compile time. * co_kernel_breakpoint(): Adjust from %x to %p for pointer debug output. Optimize "code - 1" for tracepoints. 2007-09-09T19:25:02 henryn r712 * New: CO_LINUX_MESSAGE_POWER_OFF fast terminates Linux (kernel 2.6.22). * co_daemon_send_ctrl_alt_del() renamed into co_daemon_send_shutdown(), runs user commands shutdown or halt from inside the Linux kernel. Will be triggered by closing the colinux-daemon or while stopping coLinux as service. * New menu "Power off" performs fast way to terminate the Linux kernel. Menu "Reboot" sends ctrl-alt-del in the old way. Menu "Shutdown" tries to shutdown the Linux system via shutdown/halt. * FLTK functions and menus removed: console_pause_cb, console_resume_cb, "Pause", "Resume", "Inspect". 2007-09-09T19:22:32 henryn r711 * New: CO_LINUX_MESSAGE_POWER_SHUTDOWN implementation for kernel 2.6.22. New menu entry "Shutdown" calls "/sbin/shutdown -h now" and "/sbin/halt". If both fails, sends ctrl-alt-del to kernel, but does power off VM in the end. (Mostly ported from branch nlucas Rev:228) * FLTK Console: Hide labels from menu: Resume, Pause, Inspect. 2007-09-09T19:21:10 henryn r710 * co_debug(): Remove all newline 'n' from end of line. 2007-09-09T19:19:34 henryn r709 * co_debug(): Remove '__FUNCTION__' from params. Is defined inside macro. 2007-09-09T19:15:49 henryn r708 * co_snprintf(), co_debug...(), co_terminal_print...(), co_ntevent_print(): Add '__attribute__' for printf format checking at compile time. Adjust %x into %lx or %p, %d into %ld. Cast for self typedefed int`s. * GetLastError(), NTSTATUS: Print always as hex. 2007-09-09T19:14:21 henryn r707 * Fuzz spelling and space adjust. 2007-09-09T19:13:41 henryn r706 * Device 'unit' and 'use_count' changed from long to int. (Allows %d in co_debug, see follow printf check.) * Mark 'block_root_device_index' as unused. 2007-09-09T19:12:28 henryn r705 * Merge file_get_attr_alt() directly into co_os_file_get_attr(). 2007-09-09T19:11:34 henryn r704 * bridged-daemon: Print error code from 'status' of pcap_next_ex. Remove unused source behind endless loop. 2007-09-09T19:10:47 henryn r703 * co_debug(): Fix, too few arguments for format. * co_terminal_print(): Fix, too many arguments for format. 2007-09-09T19:08:39 henryn r702 * co_os_get_cpu_khz(): Optimize runtime code. 2007-09-09T19:07:32 henryn r701 * configure: ABI for gcc 3.1.x unknown and unusable. 2007-09-09T19:06:35 henryn r700 * configure: Add minimal binutils version 2.12 to checking step. 2007-09-09T19:05:33 henryn r699 * configure: Add minimal binutils version 2.12 to checking step. 2007-09-09T19:04:28 henryn r698 * configure: Split gcc and binutils from helper output. Small text changes. 2007-09-09T19:03:25 henryn r697 * build-cross.sh: Script optimize in version detection for target gcc. 2007-09-09T19:02:44 henryn r696 * Fix bug: /proc/cpuinfo "cpu MHz" was TSC frequencey before. Should be the CPU clock frequencey. 'cpu_khz' set into start params, forwards from winnt registry "HKLMHardwareDescriptionSystemCentralProcessor0" "~MHz" 2007-09-09T19:00:14 henryn r695 * co_info_t: Check gcc GXX_ABI_VERSION at runtime. Allows differ gcc versions between daemons and kernel. Currently gcc 3.4.2, 3.4.5, 4.0.x, 4.1.x and 4.2.0 have the same ABI. 2007-09-09T18:58:16 henryn r694 * co_message_t: Fix warning unsigned/signed for 'data' buffer in all kernels. Ported from 2.6.22 (Rev:679) 2007-09-09T18:57:03 henryn r693 * co_os_timer_highres(): Remove unused function from user level. 2007-09-09T18:56:11 henryn r692 * Remove co_strlen from dummy function co_os_fs_add_last_component. 2007-09-09T18:55:17 henryn r691 * co_os_current_processor(): Remove unused function. 2007-09-09T18:50:44 henryn r690 * Change the mask for page rounder, not unmask high bits. Fix problems Linux host has 4GB or more RAM. (ported from Windows) 2007-09-09T18:49:49 henryn r689 * Use co_strlen in co_vsnprintf, add headers for co_vsnprintf and co_strlen. * Implement code directly in co_strlen instead to call strlen. * Remove linux/kernel/module/lib.c (memmove, strlen) 2007-09-09T18:47:39 henryn r688 * co_monitor_os_before_iterations(), co_monitor_os_after_iterations(): Remove unused functions. Remove empty header kernel/main.h 2007-09-09T18:45:20 henryn r687 * Unset QUILT_PUSH_ARGS is the right usage to clear users command args. 2007-09-09T18:44:35 henryn r686 * Rename module compressed_loop.o into cloop.o 2007-09-09T18:43:23 henryn r685 * More depends on COOPERATIVE for kernel config. 2007-08-10T08:51:33 henryn r684 * cofs: Enable 'ReplaceIfExists' for FILE_RENAME_INFORMATION object, allows to replace an exiting file on rename ('mv' under linux). * Add debug output, if rename fails. 2007-08-08T07:41:35 henryn r683 * coserial: fix warning on dummy function. 2007-08-08T07:40:46 henryn r682 * squashfs: Fix gcc412 warning, saver setup of var block_list. 2007-08-08T07:39:46 henryn r681 * Add squashfs version 3.2-r2-CVS (2007/08/05) Phillip Lougher 2007-08-08T07:38:26 henryn r680 * Facelift: Index in patch files 2007-08-08T07:37:51 henryn r679 * co_message_t: Fix warning unsigned/signed for 'data' buffer. * Remove fuzz non needed casts for 'data' buffer. 2007-08-08T07:36:15 henryn r678 * co_os_malloc(): Returns 'void *'. Remove casts from callers. 2007-08-08T07:34:51 henryn r677 * Slirp: Fix warnings 'differ in signedness' from tcp functions. Use socklen_t for addrlen, not int. * Add include ws2tcpip.h for 'socklen_t' under winnt. * Move unused var into other 'if 0' 2007-08-08T07:31:57 henryn r676 * cached_dns_addr(): Fix warning from uninitialized var. Remove unused code, and than non needed var 'new_dns_addr'. 2007-08-07T08:02:20 henryn r675 * co_os_get_timestamp_freq(): arguments changed: Count and freq. Calls one less KeQueryPerformanceCounter per CO_OPERATION_GET_HIGH_PREC_TIME. The combination of co_os_get_timestamp() and co_os_get_timestamp() is combined into one ntkernel call now. DDK says: "KeQueryPerformanceCounter can disable system-wide interrupts for a minimal interval", and should not call often in loops. 2007-08-05T17:02:05 henryn r674 * Add kernel 2.6.22 Kernel: - remove devfs, remove linux/config.h - compiled with REGPARM, gcc option "-mregparm=3" - proxy_interrupt_handler: as regparm call (asmlinkage) - Use default IRQ-Jump-Table from entry.S (irq_entries_start) - co_callback: bzero null_regs, only if needed, not on every entry - use kzalloc for kmalloc+memset - cotimer: new with clocksource Timer completely new coded. Value 'shift' for clocksource and co_clockevent is not clear for me (20 or 23 for 10ms to 1ns?) Currently use 23, that got the relative best bogomips for me. - cocon: attribute italic new, and ignored. - conet: 'IRQF_SAMPLE_RANDOM' is new name for SA_SAMPLE_RANDOM - mouse: added (it's a dummy, non functional) - serial: works - cofs: works - initrd: works - cloop: Updated to version 2.06 (untested) - kernel config: more devices enabled (FUSE, CRYPTOLOOP, NBD, ...) CONFIG_COMPAT_VDSO needs for older glibc (SuSE9.0 _dl_sysinfo_dso) Disable more stupid configs with 'depends on !COOPERATIVE' Daemons: - New name: per_cpu__gdt_page with fallback for cpu_gdt_table 2007-08-05T16:44:02 henryn r673 * Makefile: Clean 'Module.symvers' from linux as host. 2007-08-05T16:43:17 henryn r672 * callback_return_jiffies,callback_return: void functions are faster. * Comments for the hard coded 'HZ value' on host side. 2007-08-05T16:42:08 henryn r671 * Check passage page code size on init 2007-08-05T16:41:14 henryn r670 * debug-daemon: Fix truncing of long source lines. Was missing 8 chars. Must add - not sub - to have a 4 bytes shorter string. 2007-08-05T16:40:16 henryn r669 * debug-daemon: Fix special chars '<' and '>' in xml output 2007-08-05T16:39:23 henryn r668 * doc/debugging: Generals from Mitch Bradley. Network debugging example. 2007-08-05T16:37:06 henryn r667 * build-kernel.sh: Not so often call subshell 'for ... cat ... series' Remove non needed 'cd -' 2007-08-05T16:34:02 henryn r666 * conet: The interrupt can be used for entropy. Add SA_SAMPLE_RANDOM to irq handle for better /dev/ramdom. More functions 'static'. 2007-08-05T16:32:19 henryn r665 * New: cpu_khz deceted by host is listed in /proc/cpuinfo now 2007-08-05T16:27:41 henryn r664 * Split into more "core"-patches: coconsole-core.diff, conet-core.diff, cobd-core.diff, kbd-core.diff * cocon.c: remove prototypes for static fops-functions 2007-07-13T15:37:38 henryn r662 Winpcap new URL in installer 2007-07-12T17:00:20 henryn r648 * colinux_def.sh is not exutable file. Source it now. * Remember, that stupid shells don't set $1 and $2 on sourced files, fall back to defaults in this case. 2007-07-12T16:59:07 henryn r647 * Winpcap new version 4.0.1, new URL. Alternate URL as comment (for future) 2007-07-12T16:56:58 henryn r646 * SVN: Set file properties ignore for dynamicly created source files 2007-07-08T13:20:57 henryn r645 Buffer overhead in mmap read should fill with zero. Typical compilers reads lots of bad chars behind last line of source. Backport for kernel 2.6.12 2007-07-08T13:20:13 henryn r644 Bug #1190080: Fix the error from fast read dir after creation a file, for example "rm -f foo; touch foo; stat foo; sleep 1; stat foo" Backport for kernel 2.6.12 2007-07-08T13:18:27 henryn r643 backport mmap_mem disable for kernel 2.6.12, 2.6.13, 2.6.14, 2.6.15 2007-07-08T13:17:31 henryn r642 * 2.6.13, 2.6.14, 2.6.15, 2.6.17: cooperative_fs.h moved from patch/base-*.diff into cofs-core.diff. * 2.6.13, 2.6.14: All fs/cofusefs/*.c removed from kernel specific patch and use cofs-core.diff. * As result, kernel patches are smaller, but no source was changed in this patch here. All these kernels have the same source code for cofs now. Patches for 2.6.12 are unchanged (see next patch). 2007-07-08T13:16:21 henryn r641 Cofs source face lifts, compiler warning, function names in printk. 2007-07-08T13:15:50 henryn r640 New: Mount option "nocache" for cofs - disable directory caching. Defaults, directories are cached 1 second, before re-read from host. 2007-07-08T13:15:06 henryn r639 Buffer overhead in mmap read should fill with zero. Typical compilers reads lots of bad chars behind last line of source. 2007-07-08T13:14:26 henryn r638 Bugfix #1190080: Fix the error from fast read dir after creation a file, for example "rm -f foo; touch foo; stat foo; sleep 1; stat foo" 2007-07-08T13:11:49 henryn r637 Call only ones the function 'co_os_get_time' for cofs file creation time. 2007-07-08T13:10:56 henryn r636 * build-common.sh: Is only sources and not directly called, so some shells don't accept paramters. Remove comments and code of paramters. * build-all.sh: This does call all other scripts dirctly, code an comments moved from build-common.sh. 2007-07-06T17:41:20 henryn r635 Upgrade to gcc 4.1.2, binutils 2.17.50, mingw 3.11, w32api 3.9 2007-07-06T17:33:32 henryn r634 Source main repository is under Subversion now 2007-05-11T19:11:48 henry r633 * Preserve dates on stripped files * Move creation of vmlinux-modules.tar.gz form build-common.sh and premaid.sh to build-kernel.sh, 3 files as hard links now. * 'make package' creates zip directly from directory premaid. Call premaid.sh before 'make package'. * build-colinux.sh: Builds ZIP automaticly, installer with '--installer'. 2007-05-11T19:03:48 henry r632 * mmap to /dev/mem or /dev/kmem get an error "Bad address" now. colinux-Bugs-1643371: This was the BSOD from dmidecode. 2007-05-10T21:29:27 henry r631 * doc/debugging: New file with parameters and example for debugging 2007-05-10T21:28:45 henry r630 * doc/building: Spelling update from anonymous in wiki 2007-05-09T21:13:03 henry r629 * Fix gcc 4 warning in cofs kernel modul: 'value' uninitialized 2007-05-09T21:11:30 henry r628 * Fix gcc 4 warnings: Windows types PBYTE and LPBYTE without cast, signed/unsigned, char*/void*, non const/const 2007-05-09T21:06:31 henry r627 * Fix gcc 4 warning for passage code: 'void *' instead a 'char *' pointer. * Facelift from '&var[0]' into 'var' 2007-05-09T21:02:53 henry r626 * Fix gcc 4 warning: co_io_buffer_t->buffer is 'unsigned char []' now 2007-05-09T21:01:47 henry r625 * Fix gcc 4 warning signed/unsigned: utf8_mbtowc 2007-05-09T21:01:22 henry r624 * Fix gcc 4 warnings: signed/unsigned params in co_fxsave/co_fnsave 2007-05-09T21:00:40 henry r623 * Fix gcc 4 warning co_os_map: returns of a void pointer, no need cast Remove 'typeof' casts from 'void*' Page varaibles are 'unsigned char *' 2007-05-09T20:57:12 henry r622 * Fix gcc 4.x warning: the address of 'name_data' will always evaluate as 'true' 2007-05-09T20:55:41 henry r621 * Fix gcc 4.x warning: 'iov[1].iov_base' may be used uninitialized 2007-05-09T20:55:05 henry r620 * Slirp: No TFTP-server support on the windows host. Sourcecode will be disable by a macro undef 'EMULATE_TFTP_SERVER'. This prevents from many warnings under gcc 4.1.2 for this code. 2007-05-09T20:52:33 henry r619 * Stripping linux.sys was not working, the 'compiler' tool was not used. This modification has no effect for the release version, because all released files are complete stripped. It's only for ZIP package. 2007-05-09T20:51:48 henry r618 * Strip debug symbols while linking with '-Wl,--strip-debug', instead call of strip tool after linker 2007-05-09T20:49:58 henry r617 * Installer: View output of colinux driver install/remove. Adjust stack after ExecToStack 2007-05-09T20:49:01 henry r616 * Installer: Don't close installlog at end. 2007-05-09T20:48:32 henry r615 * Installer: Remove not needed 'SetOutPath' so often. 2007-05-09T20:47:43 henry r614 * Installer: Layout adjust controls in download section. 2007-05-09T20:47:06 henry r613 * Installer: Source format, long lines, spaces. 2007-05-09T20:46:09 henry r612 * Update for new Debian 4.0 image from SF download. Thanks to Janjaap Bos 2007-05-09T20:44:04 henry r611 # * Anounymize my building directory, set to typicaly /usr/src/linux-... 2007-05-09T20:42:45 henry r610 * Resource depends from build-common.sh (gcc version) 2007-05-09T20:41:42 henry r609 * Resource target depends not on current mtime of directory (build system) 2007-05-09T20:40:36 henry r608 * co_monitor_refdown: Remove unused var 'end_messages'. Error return, if refcount is to small (no effect, because nobody checks it) 2007-05-09T20:39:11 henry r607 * Add HOWTO: Create, resize and optimize images * TODO: Restart is supported. Remove text. * download-all.sh don't exist, './build-all.sh --download-only' does it. * Fuzz doc daemon typofixies 2007-05-09T20:32:38 henry r606 * Use gcc __DATE__ __TIME__ instead python script * Use colinux_version as macro, not as variable * Remove file version.[co] 2007-04-23T21:23:02 henry r605 * Revert last changes and remove 'sending_monitor_end_messages'. * co_monitor_refdown: Move the 'cmon->refcount--' very close near the end. Recursions from send_monitor_end_messages can now not coming with 0. Do nothing and return in top of function, if refcount <= 0. * After call of co_monitor_refdown: Set opened->monitor_owner to false is more save. Second try to fix the BSOD for 'halt on Vista'. 2007-04-23T21:15:14 henry r604 * Doc for parameter 'p pidfile' * Text updates from stable 2007-04-11T20:01:50 henry r603 * No error print, if installer does no backup example.conf to *.old 2007-04-11T19:57:45 henry r602 * Don't destroy monitor struct from co_monitor_refdown, if send_monitor_end_messages is active from an other recursive call. Bugfix for BSDO on halt/shutdown under Vista. 2007-04-11T19:38:42 henry r601 * Doc about special keys in consoles. 2007-04-11T19:36:57 henry r600 * Create package timestamps from UTC (not localtime) and without LANG. 2007-03-25T15:42:42 henry r599 * Remove the "--" from wine command. (Wine version 9.11) 2007-03-24T15:01:57 henry r598 * Add message file to colinux-daemon. The event logger prints only one single line now, and no longer such stub text: The description for Event ID ( 1 ) in Source ( coLinux ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: daemon: service control STOP. * Messages compiled with mc.exe Message Compiler 1.12.2505 from SDK. Source and binary added to colinux source tree. * Event ID changed from 1 to 0x40000001 (Severity=Informational, Code=1) * Installer sets the path to message file into the registry. If you not use coLinux-installer, then please add it manualy with your path to coLinux installation. For example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\coLinux] "EventMessageFile"="C:\\coLinux\\colinux-daemon.exe" 2007-03-24T14:55:28 henry r597 * Installer script: Use a macro for registry uninstall path. Remove registry path is recursive, no need remove single keys. 2007-03-24T14:54:08 henry r596 * Add current versions of coLinux, kernel and gcc to file resource infos. * Splitt resources for colinux-daemon and other daemons. * "OriginalFileName" is empty for other executables. SDK says: Must exsist? * Empty "Comment" removed from recources. 2007-03-24T14:48:48 henry r595 * Execute colinux_def.sh directly, not as 'source'. Parameters $1 and $2 can give for the shell dash now. * File colinux_def.sh set executable. 2007-03-24T14:45:55 henry r594 * 'make installer' stops with error, if unix2dos reports an error. 2007-03-24T14:44:48 henry r593 * Really set "Random Mirror" as default for downloading. This repats on different servers. "SourceForge defaults" was not working in all cases. (Other patch before was only sorts the drop down list.) 2007-03-24T14:22:17 henry r592 * Change the mask for page rounder, not unmask high bits. Fix the BugCheck 0x111177A (malloc size = 0) for --install-driver, if host has exactly 4GB or 8GB. This changes does not enable to run colinux there. It give an error while installation. It prevents the BSDO on every boot before this modification. Ported from stable. 2007-03-20T22:12:43 henry r591 * Installer merged from stable branch: New wiki, date/year. Random as top choise for downloads. New image file Gentoo-colinux-i686-2007-03-03.7z 2007-03-20T22:03:51 henry r590 * Docs merged from stable 2007-03-18T22:00:30 2007-03-11T22:09:35 henry r589 * Makefile and scripts dash complicant 2007-03-02T22:28:54 henry r588 * Update news. 2007-03-02T21:57:21 henry r587 * Clear NX page flag on init only, not on every co_switch. * 'flush_tlb' moved to init function. It's saver to use flush_tlb. Avoids problems at first co_switch on Xeon and P4 with DEP/noexecute problems. * Function co_host_normal_switch_wrapper handles co_switch, no NX-specials. Remove function nx_protect_switch_wrapper. 2007-03-02T21:45:17 henry r586 * Workaround for Xeon and P4 with DEP/noexecute problems. Function "nx_protect_switch_wrapper" flushes tlb after changing the NX bit in page. 2007-02-25T15:08:32 henry r585 * Global typofix s/paramter/parameter/ Thanks Colonist. 2007-02-25T14:42:44 henry r584 * Fix compile warnings from process priority set and pid handling. 2007-02-25T14:36:46 henry r583 * Bugs item #1665812: Disable /proc/kcore from kernel config. Reading from this file would crash host system. 2007-02-25T14:29:52 henry r582 * Define co_boot_params_t for daemons. Was missing in kernels 2.6.12, 2.6.13, 2.6.14 2007-02-18T20:05:16 henry r581 * Set process priority high for net daemons (tap, bridged, slirp) 2007-02-18T20:03:48 henry r580 * Create PID file from daemon and read PID file from console. New param "-p pidfile" for console programs. * Move the two same functions 'find_first_monitor' into new file monitor-find.c 2007-02-18T20:00:43 henry r579 * Remove unused function co_os_current_id from user/misc. 2007-01-17T20:10:20 henry r578 * Installer: Correct SLiRP decription. Slirp is differ from TAP. * Make comments not so long, it's only for colinux here, remove the word 'coLinux' there. Installer wraps lines and 3rd is hidden. 2007-01-17T19:42:32 henry r577 merge of 'd3e1a41b3d78a318a0f7b952325d765517dea2b5' and 'dfac8823f347b415ab9869948ea5345227cd89c5' 2007-01-17T19:27:33 henry r576 * Set slirp client hostname. (Qemu: pbrook) Unused for coLinux currently. 2007-01-17T19:26:30 henry r575 * Slirp updates from qemu 0.8.2-svn tcp.h: Incrase TCP MSS from 512 to 1460. socket.c: Set setsockopt SO_REUSEADDR before bind. tcp_subr.c: Enable TCP_NODELAY, by Daniel Jacobowitz. do not delay TCP acks (Ed Swierk) ip.h: 32 KB packet handling (Ed Swierk) 2007-01-17T19:22:58 henry r574 * UDP broadcast translation error (Qemu:Mark Jonckheere) 2007-01-17T19:22:11 henry r573 * fixed IP packet rassembly logic (Qemu:Ed Swierk) Slirp was crashing with many big UDP packets. Output from gdb: Program received signal SIGSEGV, Segmentation fault. ip_reass (ip=0xa47022, fp=0x3dc904) at src/colinux/user/slirp/ip_input.c:348 348 q = (struct ipasfrag *) q->ipf_next; 2007-01-17T19:11:51 henry r572 * Move function is_localhost to macro. It's faster. Compair only 127.0.0.1 as localhost, not the complete subnet. 2007-01-17T19:08:58 henry r571 * Slirp: our_addr is no longer used. It's alias_addr for all. Remove comments about our addr. 2007-01-17T19:07:49 henry r570 * Slirp: suppressed unaligned accesses (Qemu:bellard) 2007-01-17T18:58:06 henry r569 * Image bz2-checks: Don't check Volumes and UNC names. 2007-01-17T18:55:39 henry r568 * Prints message from starting/stoping colinux service into event manager. (Losed by an older change, found again by George) 2007-01-17T19:41:52 henry r567 * Add missing file about.h to sourc control. 2007-01-17T18:33:34 henry r566 * Added a nice colinux 3D logo image to the "About" box of colinux-console-fltk Ported from Nuno: Revision: 41cfbe8c120b7cef76e40d6127518292de07aac8 Author: lucas at xpto.ath.cx Date: 2005-06-20T10:15:32 Branch: org.colinux.nlucas 2007-01-17T18:23:39 henry r565 * Linux as host: Print errors from co_os_userspace_map about /dev/kmem to debug and syslog. 2007-01-17T18:17:09 henry r564 * More 'static' functions. 2007-01-17T18:10:49 henry r563 * Replace passage page indexed params with struct co_boot_params_t. 2006-12-12T23:17:00 henry r562 * Wrong debug code on failed ioctl for manager create. 2006-12-12T23:11:19 henry r561 * Prints error code from do_mmap_pgoff, the mostly failed function of unsupported kernels. Kernel 2.6.19 as linux host is broken currently. 2006-12-12T23:06:01 henry r560 * Prints "unknown file" in debug log for sources of module colinux.ko (linux as host only) 2006-12-12T22:53:12 henry r559 * Fixed Bugs item #1594199: Clean only known subdirs src and bin. (Matthias Kievernagel) 2006-12-12T21:55:01 henry r558 * Building: Remove the double wget. No error output from non existing quilt. (backported from stable) 2006-12-12T21:48:00 henry r557 * TODO backported from stable 2006-12-12T21:44:55 henry r556 * Installer section download images: Set SourceForge '?download' as default location. Add locations Australia and SouthAmerica. Update list of url. Add new images ArchLinux and FedoraCore5. (backports from stable) 2006-12-12T21:31:32 henry r555 * doc building: Handle the multiple cokernel patches without quilt. More comments for linux as host. (backports from stable) 2006-12-12T21:26:58 henry r554 * NEWS backported from stable 2006-12-12T21:22:29 henry r553 * Remove some XML from text docs. * Locate "example.conf", not the XML while installer would save your older. backported from stable 2006-12-12T21:17:49 henry r552 * Set "slirp" on first place of network types. backported from stable 2006-12-12T21:13:01 henry r551 * Sample colinux-devel lets start directly in home dir, w/o "src". backported from stable 2006-12-12T21:08:49 henry r550 * Make smalest usable sample config. Comment out swap and networks. Comments about network address for using slirp. (backported from stable) 2006-12-12T21:03:03 henry r549 * Return "invalid parameter" instead general "error" for invalid mac. backported from stable 2006-12-12T21:01:26 henry r548 * Supports MAC for slirp. * Wrong sample: Don't use "" for slirp without mac. backported from stable 2006-11-06T22:10:30 henry r547 * Update NEWS. 2006-11-06T22:09:23 henry r546 * New option "-v level", select the debugging output on console. Prints debugging output also, if linux driver is not loaded. All function calls co_debug will be print to console on level 10. * New: co_debug_error is misc level 3, co_debug_info is misc level 1. * Check image file for cobd on startup, before linux begins (level 2). Print error, if uncompressed image found (magic for bz2 and 7z). * co_os_file_load: 'co_pathname_t' is an array, remove the '*' and '&'. Print OS pecific error text and name to console. This is mostly a wrong configured image name or the missing config file '@colinux.cfg'. 2006-11-06T22:04:26 henry r545 * Incrase text size for debugging from 80 to 120 chars. 2006-11-06T22:02:31 henry r544 * RUNNING: Option "-a" is not supported. 2006-11-06T21:58:04 henry r543 * Script build-common.sh can be source in top directory or directory bin. First detect top directory, than detect kernel version from series file. Option --get-vars 'name' prints the contens of 'name' Echo errors to stderr. Rename output of wget on errors. This avoids incomplete downloads. 2006-11-02T21:36:46 henry r542 * Sed without tail to detecting latest kernel patch. "$p" does it better. 2006-11-02T21:34:28 henry r541 * Halt with compiler error on host kernels, if defined CONFIG_REGPARM. (Linux as host only) 2006-11-02T21:14:15 henry r540 merge of '23feb62102457793840c70ebb443cdc7aac4deec' and '5d270cfb2fe4d8fa3792560b023ca8b2f5fd86c4' 2006-10-19T21:21:00 henry r539 * Linux as host: Supress warning "ISO C90 forbids mixed declarations and code" for module colinux.ko 2006-10-19T20:22:03 henry r538 * i686-co-linux-objdump and i686-co-linux-ld not found on fresh kernel builds. Create missing directory, than the 'ln' works. 2006-11-02T21:09:42 henry r537 disapproval of revision 'f99a531e0f6c8673c8f75d39d70eebe63fecb316' Note: * Fix the BSOD with STOP 0x0000000a (0, 2, 0, 0x804f4fe5). Error from changes on linux as host code for CONFIG_REGPARM. 2006-10-19T20:09:27 henry r536 * Linux host kernel with CONFIG_REGPARM don't run. Print extra warning. 2006-10-13T20:49:41 henry r535 * slirp: Check NULL buffers directly after GlobalAlloc. 2006-10-13T20:31:14 henry r534 * Linux as host: Check host kernel release with "make kernelrelease". 2006-10-13T20:14:55 henry r533 * configure: targetmoduledir was wrong for source and build in same directory. build-kernel.sh was hanging on "Configuring Kernel" and spawns many recursive processes. 2006-10-05T19:03:59 henry r532 * More kernel modules enabled: PPP_MPPE, JFS_FS, UDF_FS, CIFS, NCP_FS, NLS_CODEPAGE*, NLS_ISO8859*, CRYPTO* 2006-10-05T18:59:26 henry r531 * Wrong script sample in doc 2006-10-05T18:58:17 henry r530 * i686-co-linux-as or i686-co-linux-ld not found on kernel builds, if gcc was cross, but binutils not. In cases, where distribution has binutils 2.16.91, but not the gcc 3.4.x. Kernel needs cross for boths or none (see CROSS_COMPILE in Makefile of kernel). Fix: build-cross.sh creates softlinks for ar, as, ld, nm, objdump and objcopy with prefix i686-co-linux, if local binutils are usable. 2006-10-03T13:51:31 henry r529 * Move example.conf back to directory conf, as it was for xml. 2006-10-03T13:04:58 henry r527 * arch/i386/kernel/setup.c: Fix compiler warnings for unused functions and structs. No functional changes. 2006-10-03T12:13:14 henry r526 * Misplaced state setting for error case on colinux startup. 2006-10-03T12:11:38 henry r525 * Avaoid the freezing host on shutting down colinux. Don't disable the interrupt controller (PIC) in i8259A_shutdown. This function was new in kernel 2.6.13. 2006-10-01T18:33:25 henry r524 * News changed 2006-10-01T18:15:59 henry r523 * Enable hotplug for kernel config 2.6.13, 2.6.14, 2.6.15 * More netfilter modules for kernel 2.6.15, 2.6.17 2006-09-24T14:43:38 henry r522 * Update to Kernel 2.6.17 Merged with core files of kernel 2.6.15 The initial setup for GDT in 2.6.17 was reverted to the stand of kernel 2.6.15. Colinux don't run with dynamic allocated GDT. Problem is the function init_cpu and co_early_cpu_init. see gdt-noalloc-2.6.17.diff By Anders Eriksson * serial: tty_buffer_request_room * cofs: Replace i_sem with i_mutex 2006-09-24T13:46:19 henry r521 * arch/i386/kernel/cpu/intel.c: SEP will be handle in common.c only. * cofs-core: Remove old source from kernel 2.4 and non colinux stuff. Cofs will be use only in kernel 2.6 and only with colinux enable. The native fuse is in an other subdir. * minor blank char and text changes. 2006-09-23T20:27:29 henry r520 * Installer checks running colinux monitors. MessageBox if any runs. Installer goes only continue, if no monitors are running, or if linux.sys is not installed (output from --status-driver). 2006-09-23T20:12:53 henry r519 * Installer: Remove old linux.sys with old colinux-daemon.exe 2006-09-21T19:53:06 henry r518 * CREDITS sorted alphabetical and updated * NEWS updated 2006-09-21T19:29:57 henry r517 By Anders Eriksson * Update to Kernel 2.6.15 By Henry * Disable SEP feature (X86_FEATURE_SEP) * Cloop module added * Serial patch splitted into cofs-core.diff and cofs-2.6.15.diff * Kernel config: - Move 'Cooperative Mode' from menu 'APM' to menue 'Processor type and features'. Space/tap adjust in Kconfig. - More options disabled on COOPERATIVE: o Menu 'Power management options (ACPI, APM)' o Menu 'Bus options (PCI, PCMCIA, EISA, MCA, ISA)' o TOSHIBA 'Toshiba Laptop support' o I8K 'Dell laptop support' o X86_REBOOTFIXUPS o HIGHMEM4G, HIGHMEM64G o SMP 'Symmetric multi-processing support' * kernel/cooperative.c (co_early_cpu_init): - Remove unused symbols start_kernel, _kernel_start - Merged with cpu/common.c cpu_init(): Don't copy thread->tls_array (git 72e12b76fe48d99d1deb417f177b10a9d99b2e74) Use pointer desc_struct *gdt. * include/linux/elf.h: Don't include asm/elf.h (Build daemons for linux as host failed) * co_core_end, co_memory_size, co_initrd, co_initrd_size and co_boot_parameters moved into struct co_boot_params * Merges from kernel 2.6.12 - fix gcc 3.4.5 warnings in kernel patch for co_switch_wrapper_protected, get_offset_cooperative, co_send_message_s, co_queue_incoming_message - cofs: Disallow double mounts 'cofs_volumes' - arch/i386/kernel/reboot.c: machine_restart(): First machine_shutdown, than CO_TERMINATE_REBOOT - set_debugreg(): exist in 2.6.12 as loaddebug(), don't block it - Ignore bootparm "no387", while no emulation is enabled 2006-09-21T19:20:51 henry r516 * remove netdriver\tap.cat on uninstall 2006-09-21T18:39:40 henry r515 * build-kernel.sh: Wrong path in KERNEL_CHECKSUM for patch files. 2006-09-20T20:00:27 henry r514 * Makefile: Dynamic generated kernel version, if the user config has no entry KERNEL_VERSION. Use build-common.sh, instand user-build.cfg 2006-09-20T19:53:22 henry r513 * Automatic support multiple kernel versions in source. Version will be detect from latest (newest) file patch/series-* Remove DEFAULT_KERNEL_VERSION and reverts the troubble with it. 2006-09-17T12:47:33 henry r512 By Anders Eriksson * Update to Kernel 2.6.14 By Henry * Disable SEP feature (X86_FEATURE_SEP) * Cloop module added 2006-09-17T12:19:05 henry r511 * Serial patch splitt into serial-core and serial-2.6.13 2006-09-17T12:09:21 henry r510 * Patch for CLOOP splitted into cloop-core and cloop-2.6.12 * Remove unused file config-cloop-module.patch 2006-09-17T11:45:24 henry r509 By Anders Eriksson * Update to Kernel 2.6.13 By Henry * Disable SEP feature (X86_FEATURE_SEP) * Update serial device from last 2.6.12 version. 2006-09-17T11:36:24 henry r508 * configure: Put name, not the value of KERNEL_VERSION into user-build.cfg. COLINUX_TARGET_KERNEL_PATH is obsolate, don't put it in cfg file. Not a backslash for /usr/src/linux. 2006-09-17T11:31:06 henry r507 * 'make package' builds zip file with unstripped daemons and an other with stripped files. No longer create symbol file. Zip names with version and build date. Typical output files: daemons-0.8.0-20060917.dbg.zip daemons-0.8.0-20060917.zip modules-2.6.12-co-0.8.0-20060917.tgz vmlinux-2.6.12-co-0.8.0-20060917.zip 2006-09-17T11:26:55 henry r506 * support multiple kernel versions in source. No longer automatic detect version from patch or series files. Need to set DEFAULT_KERNEL_VERSION in bin/build-common.sh on updates. 2006-09-17T10:53:45 henry r505 * CLOOP module enabled in default config. Additional 'config-patch' removed. * Kernel config file name 'version specific' * configure: 'set --' is saver. Print prefix for looking gcc. 2006-09-16T11:54:06 henry r504 very small typofixies 2006-09-16T11:48:13 henry r503 * File LICENSE don't exist, should say COPYING instand. 2006-09-16T11:45:36 henry r502 * update NEWS file * uptate more version texts to 0.8.0 2006-09-16T11:26:19 henry r501 * Update coLinux TAP-Win32 driver to version 8.4 (build Aug 31 2006) This includes changes for running under Vista and a workarrount for Windows 2000. * Update tapinstall.exe from DDK 3790.183 (build Mar 24 2005) * Add the cat file to installer (license) Note: Changes for running TAP-Win32 on Vista (Beta): - Gets MiniPortName with function NdisReadConfiguration, instand the direct pointer access into strcture NDIS_MINIPORT_BLOCK. On Windows2000 this function isn't supported, it falls back into older accessing with ugly pointer into the struct. Checks ndis version before, to avoid BSOD. - incrase driver version to 8.4, update build date. Thanks to Emre Erenoglu and Anoop G. for finding, testing and tips. 2006-09-16T10:43:13 henry r500 * Configure for linux as host: Handle kernel source right, if they are spitted into build and source. Fix the problem, that in build directory don't exist the Makefile with full kernel version. Use the file .kernelrelease for that doing. * Serach first /lib/modules/.../build, than /lib/modules/.../source. * Remove some undocument options. 2006-09-16T10:35:16 henry r499 * Build-kernel.sh: Upack kernel source, if kernel source don't exist. Option --disable-kernel-untar ($COLINUX_KERNEL_UNTAR) is only relevant, if the kernel exists. This means: Never overwrite existing kernel sources, but allow to create the newer one. For sample on first build. 2006-09-16T09:42:00 henry r498 * Error return, if double defined devices (cobd,cofs,eth,exec). Old was a warning only. But users don't see such in tons of messages. 2006-09-16T09:28:31 henry r497 Remove unused variable in service daemon. 2006-09-16T09:26:24 henry r496 * colinux-debug-daemon: Don't connect to driver, if no args -s settings given. Args help alphabetic sorted. Don't clear BSS variable. 2006-09-16T09:24:20 henry r495 * Leveled debug output via 'DbgPrint()'. Dbgview.exe (www.sysinternals.com) shows this local and over network. Needs to enable facility/level with colinux-debug-daemon before. 2006-09-16T08:47:18 henry r494 * Strictly respect COLINUX_KERNEL_UNTAR=no. Don't unpack kernel source, if wrong setting for COLINUX_TARGET_KERNEL_SOURCE. Error prints with wrong path to source while developer has set COLINUX_KERNEL_UNTAR=no. * Text: Comments to getting kernel version string from series file. 2006-09-16T07:48:01 henry r493 new development branch - version 0.8.0 2006-08-31T21:16:22 henry r492 update NEWS 2006-08-31T21:14:04 henry r491 * Build scripts changed for handling kernel patches by quilt. Fallback, if not exist quilt. Quilt must not exist for building colinux. * Get kernel version from file patch/series-* 2006-08-31T20:29:40 henry r490 Makefile: Delete files *.o with "make clean" (moved from distclean) 2006-08-31T20:27:11 henry r489 build-colinux.sh: Invert error detection from make call. 2006-08-31T20:23:36 henry r488 Print left side of filename for long paths on bug prints. Note: Remove left side of string, show right site, if filename to long. 2006-08-31T20:17:29 henry r487 example.conf: Added 'root=/dev/cobd0', more comments 2006-08-31T20:14:20 henry r486 * Better detection of root device from command line in initrd. Handle "root=...", that not exist on first place in string. (Impressed by colonist project) * Mount rootfs read only first. Mount read write later. This prevents incement mount count, if modules already installed. * Gets modules from file modules-'uname -r'.tgz or vmlinux-modules.tar.gz * Chown root:root for installed modules. * Touch modules.dep with current date. 2006-07-10T19:29:34 henry r485 * Config file no need full path for service install. All files and the config file self, can use relative names from current working directory. Service running sets CWD _before_ gets the config file via '@'. coLinux internal: Save current working directory from --install-service for later running, add path to service command line. New syntax --run-service[:path for runing service]. Path is optional and only set, if CWD is not the exe path. * patch_command_line_for_service: Check destination buffer end. * SERVICE_WIN32_OWN_PROCESS: No need service name for running, because there is only one registered service in the process. (see RegisterServiceCtrlHandler, StartServiceCtrlDispatcher) 2006-07-10T19:21:22 henry r484 * Updates from stable 2006-07-02T18:32:50 * installer: Show coLinux Icon on uninstaller list. Show only text "uninstall" without "Modify/Repair" in list. Text to "confirm Windows-Logo-Test" on TAP-Win32 install/update. Installer use new Gentoo 2005.1 image for gentoo offered as download. Backup config file, if present. * NEWS: Updated from 0.6.3 and 0.6.4 * RUNNING: initrd and cofs31 and modules install 2006-07-02T18:32:50 henry r483 * initrd/linuxrc: cofs31 for modules install. - Automatic add last cofs for using with initrd. - Modules installs from vmlinux-modules.tar.gz directly over cofs31. * Warn abount double configued index for cobd, eth, cofs, ttys, exec. * Checked all "co_os_malloc", that should return with error OUT_OF_MEMORY. * Don't free, if co_os_malloc got NULL. * Give more INVALID_PARAMETER for failed user config. * Incrase size for printk from 120 to 200 per message. * Bug #1479042: Ignore bootparm "no387", while no emulation is enabled. * Optimize daemon output colouring for linux as host. * Update RUNNING from stable (slirp). * Fix incorrect explaination in doc file, for --remove-driver * More docs changed. Build system: * Building: Target kernel dir splitt into source and objects - Separate patches for config in build dir (patch/config-*.patch) * Target kernel dirs: - Remove old BUILD to, before extracting. - Backup old config, before remove old BUILD. - Create BUILD, if not exist. * build-cross.sh, ported from stable-0.6.4 - disable-nls, compiler error mesages in english only, saves about 7MB. - Don't install man and info pages: Saves about 5MB. * Configure: A missing tool unix2dos print as warning only * Default distdir not under prefix * SRCDIR replaced with SOURCE_DIR * Function download_file creates SOURCE_DIR * linux/kernel/module/build.comake.py: Delete unused "script_cmdline" * Add cross path at end of PATH for using ccache * Premaid: Automatic change CO_VERSION in text files for installer This revision was imported from 0.7.1-hn15. 2006-07-02T17:40:04 henry r482 * colinux-daemon: Fix incorrect explaination in --help, for --remove-driver. * Change linux dummy files for new cofs pathname handling. * cofs: Avoid BSOD for long non ascii names in directory. * cofs: Break out the limit of fullname length (old 255 bytes). Basename length up to 255. Fullpath is limited by path depth of 256 directories. co_os_fs_inode_to_path: Allocates buffer for path destination. Caller must free it later. Adds backslash at end, if last param counts additional bytes. co_os_fs_dir_inode_to_path: Allocates buffer for path destination. Caller must free it later. file_get_attr_alt: Dynamicly dirname length. * Fix: Input/Output error for 'df' on cofs. Add slash before gets drive information of C: * co_utf8_mbstrlen, co_utf8_mbstowcs: Unicode source more readable. No functionaly changes. * Console NT automatic connects to first monitor if no param '-a' given. 2006-07-02T17:31:22 henry r481 * Winpcap: 'nopromisc' as last command line argument will not set Promiscuous mode for pcap-bridge. Default is Promiscuous on. * Slirp: Multiple redirection as parameter ':count', thanks to Bernd Brandstetter * Slirp: UDP receive Buffer incrase to 32K (win32 default 8K), thanks to Bernd Brandstetter * Slirp: Remove honypot ports 517, 518 and 7648 from udp listen. talk and Cu-Seeme are not implement, still remove the table to. * Slirp: Undefine code for Cu-SeeMe emulation. * Slirp: Enable/Disable debug logging file with macro 'DEBUG'. * Slirp: ip_leng in TCP header changed to unsigned short. That is needed for some arithmetic operations, if TCP size is grater than 32K. Maximal size of packet is 65535 bytes now. Is not real usable, tcp_reass() should fix before. * Typofixies in configure (DE/EN) * gcc 3.4.5 warnings in kernel patch * docs changed * News updated 2006-07-02T17:18:57 henry r480 * Update to binutils 2.16.91-20060119, gcc 3.4.5-20060117. Linkerscript i386pe.x and "mode(SI)" are fixed, no need special patches. * Update to W32API 3.5, MINGW 3.9 * Remove binutils patch * Remove unused w32api patch * Fix more gcc 3.4.5 warnings in kernel. * Fix gcc 3.4.5 warning in daemon source * cobd: Don't clear NULL-Pointer, if memory fails for gendisks. * linuxrc initrd: Only mount /lib/modules, not with "chroot mount -a". Transforms /dev/cobd/0 from udev into BusyBox names /dev/cobd0. Checking some more errors from mount and umount. * New function is_localhost(): Compair address with masket localhost. Local addess for windows host are all address from 127.0.0.1 to 127.255.255.255 (complete class A net) as source or destination. * Replace all 'our_addr' with 'client_addr' before transmit to linux, if source address is windows localhost. Lets linux see the 'alias' adress, not the 'real host address'. Solved follow problems: - For connetion between Linux and Windows (Xserver) network 127.0.0.1 can use. Network 127.x.x.x is mostly not a firewall and is faster as the network stack for cards. old: 10.0.2.2 was bind on windows a LAN adapter new: 10.0.2.2 will bind on windows localhost (127.0.0.1) - Update the variable 'our_addr' by changing dialup connections is not longer interest for 'routing' and 'NAT'. - Packets send from windows host (not from outside) will receive in linux as from 10.0.2.2 (router alias). (Packets from outside of windows host are routed, and not translated.) - Slirp redir is usable without any real network adapters. A single PC with unplugged network cable works. - Slirp redirection on LAN adapters now works also, if LAN connection will connect after starting colinux. * Add coserial-daemon/build.comake.py for linux build. * Fix error for running linux as host syslog> kernel: do_wp_page: bogus page at address 4041d000 Thanks to Robert for >=2.6.13 part (2006-02-26) and Bernd Brandstetter for 2.6.12 (2005-10-01). Tested host kernels: 2.6.10, 2.6.11, 2.6.12, 2.6.13, 2.6.14.4, 2.6.15, 2.6.16-rc5 * Makefile: Delete files *.o with "make clean" (moved from distclean) * Always set destination address and port. If udp_last_so is not NULL and source adress and source port is the same, the destination port is not always the same. (Thanks to Bernd Brandstetter) * slirp mbuf.c: Source face lifts. No functional changes. * Change kernel config - Exec format aout, misc: as module - fat, vfat, ntfs: as module - NLS Codepage 437, ISO8859_1, UTF8: added (as module) * Fix pointer after realloc buffers for slirp. (thanks to Bernd Brandstetter) * Typofix CROSS_COMPILE for tracewrapper.py * Gcc disable-checking for faster cross building, rename macro from ENABLE... to DISABLE... * merge cloop patch from 0.6.3-rc4 Typofix in cloop patch. Enable default as module. Warning from compiler: drivers/block/Kconfig:420:warning: multi-line strings not supported * linux-private.patch matched in linux-*.patch, adds all patches to md5sum * Serial daemon: User can overwrite RTS and DTR state (rts=off, dtr=off). Ignore Error for EscapeCommFunction. Because it fails, if hardware handshake enabled by windows mode command (rts=hs). Incrase output buffer from 512 to 2048 bytes. * cofs: Hack for getting right 'dmask' for cofs mount point. Old version gets 'file mask' for the root cofs inode. Problem was perhaps only if "C:\" was exported. It was, because winnt says "C:\" is not a directory. * cofs: co_os_fs_add_last_component() don't add backslash, if last char is a backslash. Old function was wrong, and adds backslash all times. Sample fstab: cofs0:/ /mnt cofs fmask=0000,dmask=0777 0 0 Before patch: d--------- 1 hn users 0 2003-10-03 22:30 mnt After patch: drwxrwxrwx 1 hn users 0 2003-10-03 22:30 mnt * cofs: Disallow double mounts, copied from 0.6.3 and older 0.7.1 with kernel 2.6.11 * Doc changing: ttysX only lower case letters. * Don't start colinux, if api version mismatched. Version detection before linux starts (old: Only after errors). More ERROR_ACCESSING_DRIVER for co_os_manager_open. Human readable text message if driver not loaded. * Depensis for version.o from file VERSION. * Incrase api version, prevent problems with older linux.sys and daemons. * Cross build needs less free disk space. * Posix shell syntax for source ./bin/user-build.cfg. * Small text changes. 2006-07-02T16:53:34 henry r479 * Installer: No double quotation marks for uninstall string. * co_terminal_print_color(): Color for linux wih vt100 sequences. * co_launch_process(): Bigger buffer size for parameters. * More static functions. * Remove some not needed variable inits 'rc = CO_RC_OK'. * Some docs. * configure: check_exec_tool allow to check maximal version. * Python 2.3 and 2.4 allowed. * Doc building colinux kernel. * Sync sample.user-build.cfg and configure with same comments. * Makefile: Posix shell syntax for config file "./bin/user-build.cfg". * co_ntevent_print() has only effect, if service is running. Change all others to co_terminal_print(). * co_winnt_daemon_remove_service(): Delete unused varible 'command'. * NEWS updated. * co_cmdline_get_next_equality_int_prefix(): Handle min and max for device index. Value alloc dynamicly, instand use fix size for variable on stack. (cobd, sd, hd, eth, ttys, exec) * split_comma_separated(): Clears unused buffers. * New functions: co_cmdline_get_next_equality_wrapper(), co_cmdline_get_next_equality_alloc(). * No output script. Start installer with 'wine -- "%s" /V3 ...' * Only COLINUX_KERNEL_UNTAR="yes" can overwrite kernel tree, empty is "no". * face lift: Variable 'exists' must must not set before call co_cmdline_get_next_equality. * 'while (exists)' is not need, if loops ends with a 'if (!exists) break'. Remove unused var. * Don't remove quotation marks, before call split_comma_separated(). New function co_remove_quotation_marks() explicit called for single argument parameters (kernel, initrd), co_canonize_cobd_path() does it for cobd and other paths. * Handle multiple quotation marks in strings, for sample: String" "with" "spaces * Quotation marks with "" to escaping quotation in parameters, sample: "This is a ""quoted string""" * New: Configure for 8 external programs to launch at start. Kill they, if colinux shutting down. For sample a Xserver: exec0=C:\Programs\Xming\Xming.exe,":0 -clipboard -multiwindow -ac" co_launch_process: New parameter returns pid. co_kill_process: New function. * linux: Reactor ends with BROKEN_PIPE (instand ERROR), if shutting down. * colinux-serial-daemon for linux * co_os_manager_open_quite for linux. * Print win error code from failed driver install. * slirp: modules not as array, simple one device. * slirp: no DEBUG * Drop unused slirp/compat.c 2006-07-02T16:32:31 henry r478 * Every "throw" terminates the program with the follow text: | This application has requested the Runtime to terminate it in an unusual way. | Please contact the application's support team for more information. Problems comes from partial linking with "ld -r". Fixing overview: Bridged-net-daemon not need C++, and remove unused daemon-base/build.o. C++ Objects in object archives 'build.a', instand partial link 'build.o'. --start-group/--end-group for circular references between two archives. Lib mingw32 to hold WinMain in grouping archives for fltk. Help wanted: The "ld -r" lose some global C++ constructors. That is the main problem. My only one working idea was the archive with "ar cr". Archives have the problem, that the linker search only ones per file. But for sample src/ colinux/os/winnt/user/console-nt/widget.cpp is co_console_widget_create a circular reference. For this I use the linker option "--start-group", if more as one archive is in inputs. * Small changes to sync with main source. * installer: Print "Version" in list of uninstallable software. Quotation marks for folder name in registry (for uninstall). * Print shutdown message with yellow ink. * Add missing patchfile for ctors from crtend.o * Solve problems with non init of section ctors from crtend.o, the NULL-Pointer on all "throw" in C++ programs. * Cross platform changed, you should rebuild your binutils! * Adding a patch for binutils. (Same patch need for 2.16.91-20050827-1.) * Use posix shell syntax only (for dash). Change all ". file" into ". ./file" * Python: Errorlevel other than 0, if create_target_tree ends with an error (typical: BuildCancelError, TargetNotFoundError). * Dump python build tree with 'make dump' Help for 'make dump' * Change COLINUX_KERNEL_UNTAR to "no" as default. This is more user friendly. If build scripts should overwrite kernel source tree, user must call "./configure --kernel-untar", or change COLINUX_KERNEL_UNTAR in bin/user-build.cfg by hand. * Print "waiting" message to daemons console, if user stops colinux by clicking the close-window (top right cross), or shutting down windows. * colinux-debug-daemon: Remove 'perror()' and wrapper for co_os_manager_open. (co_os_manager_open prints the last-error) * colinux-daemon: Supress the error about non existing colinux from 'co_debug_start()', for commands --status-driver and --install-driver. 2006-07-02T16:13:21 henry r477 * slirp: Every ARP request from linux client store the client MAC. (Reverts some from "slirp redir patch") * Don't "Traceback" python scripts on compile errors. * initrd: mount all devices from users fstab, revert previous changing 2006-07-02T16:09:24 henry r476 * New file conf/initrd-linuxrc, missing add monotone 2006-07-02T15:49:45 henry r475 * TAP-win32 driver version 8.3 update from openvpn-2.1_beta7. * Use old name tap0801co. Interface is compatible for colinux and can also use for stable. Update tap.cat from OpenVPN. * PACKET_TRUNCATION_CHECK = 0, 'Check for truncated IPv4 packets' diabled. * TAP connection speed status 100 MBit/s * tap-win32 without linker debug. * fix: conet daemon allow name search for tap device * Backport initrd script from stable. Clean up initrd script, don't set screen blank time. Add initrd script to source. * colinux-bridged-net-daemon: If no name given, it connects on first adapter with an ipadress. (Older version never found an adapter, if no name was given.) Ported from stable branch 2005-11-12T17:19:46 * update news file. 2006-07-02T15:36:08 henry r474 * Bug: coserial-daemon should use SERIAL0 (instand of CONET0) * Coserial cocd.c: Works on FLTK console. Endless loop in cocd_unit_task has stopped other consoles. From schedule_work() should never endless loop. Use schedule_work() instand of interruptible_sleep_on() and wake_up(). Remove serial console startup (currently not used). Serial(-boot) console currently not enabled. Clear driver_data only on last close. All functions static. * Bug: Crash at open /dev/ttyS*. cocd->open_count was not save. Fix: cocd_unit_task() waits for open complete. More down/up in task loop. * New parameters "-f DeviceName -m Mode" for colinux-serial-daemon. "ttysX=..." in configuration, automatic launching coserial daemon. colinux-serial-daemon is usable under WinNT. (Coserial and Linux as host is currently broken on arguments.) * Use CO_SERIAL_DESC_STR_SIZE and CO_SERIAL_MODE_STR_SIZE for parameter size. * Starting serial device with backslash don't set the prefix, sample "\\.\COM1" Don't set DTR and RTS, if mode specifired. User should use "dtr=on rts=on". * SetCommTimeouts: Default all timeouts are 0. Coserial daemon works without setup from Hyperterm now. * coserial select loop without timeout, if -f device open. * coserial-daemon eats 99% CPU time. Param -1 for no time in select_reactor, bridget daemon dito. * Now is possible to login to colinux as /dev/ttyS0. (Nuno Lucas 20040822) * Handle CO_RC_BROKEN_PIPE in coserial (winnt) * Bug: co_rc_format_error(): Pointer out of array, if RC not in range. Count numbers of string, before index access. * Bug: Crash, if walking in big directory of cofs with "find | xargs file". Function co_utf8_wctowbstrlen() access behind the size of buffer, if buffer has no termination 0000h. In this case the 'while' reads the byte from "buffer[size+1]" before checks the limit of size. GCC parse the source from left to right "while (*ip && maxlen > 0)". Better should use "while (maxlen > 0 && *ip)", or separate lines. * Bug: 'pstrnlen' should never access behind buffer size. (Fix the same problem as in unicode-maxlen.patch) * mem=1000 allowed * Convert relative path to absolute path with win function _fullpath. (instand handmade detection and getcwd) * conet_bridged_main() select loop without timeout * Pointer variable co_netdev_desc_t net_dev, instand index array conf->net_devs[index] * split_comma_separated(): quotation marks detecion in config file, sample: eth0=tuntap,"LAN-Connection 14",00:11:22:33:44:55 * Handle quotation marks in path, need for spaces. Used with all params (cobd*, hd*, cofs*, initrd and kernel). * Fontname and automatic exit for FLTK console. Sample: set COLINUX_CONSOLE_FONT=Lucida Console:12 set COLINUX_CONSOLE_EXIT_ON_DETACH=1 * Fix: Buffer overrun if using Fontname for FLTK console or screen resize. widget.cpp: workarround is working. No debug print. * slirp.c: Faster timeout (old 199, new 2). From Qemu 2005-09-03. * co_daemon_run(): Don't use CO_RC_INSTANCE_TERMINATED exit detection in daemon loop. * co_os_reactor_select() no write, after read. Error or not. write_event != read_event of same wait_list[index] * Linux ends with -rc = CO_RC_ERROR_INSTANCE_TERMINATED * Bug: colinux-serial-daemon exits with 8201b401, if linux shutting down. CO_RC_ERROR_ERROR, line 109, file src/colinux/os/winnt/user/reactor.c (16) It's normal and should return OK now. packet_read_completed() returns with CO_RC_BROKEN_PIPE for this case. The select loop detects this. * debug-daemon with print of rc, if not OK exit * Errorlevel for --status-driver * colinux_def.sh: Variable is more human readable as arg number. * Warn, if param for instance missing. Build system: * Clean build files from linux module colinux.ko, and directory 'premaid' (the temp for wine installer). * Fix: Installing WinPCAP headers, "Include/NET" don't exist since 3.1-beta4 * Don't allow "make colinux" in base directory, if not configured. * Show logfile name before building libs. * Create log directory, if build-colinux-libs.sh runs on fresh system. * Update for libraries: MinGW from 3.7 to 3.8 w32api from 3.2 to 3.3 WinPcap from 3.1-beta4 to 3.1 * w32api-3.3.diff rename * Remove mxml. * Add alternate URL for WpdPack (currently not used) * Strip kernel image file 'vmlinux' (option, default disabled) * Check file vmlinux on "make kernel". Not only md5 file. * configure: New option --gcc-guest-build to build gcc for guest system. * 'BUILD=i686-pc-linux' is defined in build-common.sh now. * bin/build-cross.sh: Build gcc for guest, if your compiler is not not compatible. 'LANGUAGES' is out, use --enable-languages. Build with CFLAGS -O2. Strip at linking time (LDFLAGS, save ~1MB). (Options only changed for build system. Target options are not changed.) Don't create links to compiler (cc, c++), all times use "$TARGET-...". * bin/build-kernel.sh, sample.user-build.cfg: Optional guest compiler for kernel build, as i686-co-linux-gcc, if compiler from distribution not compatible. This copiler should also use in "linux as host", but not for colinux.ko Overview of compilers: /usr/bin/gcc Compiler for develop system mingw32/bin/i686-pc-mingw32-gcc Host WinNT deamons mingw32/bin/i686-co-linux/bin/i686-co-linux-gcc Guest kernel Sample in cfg: COLINUX_GCC_GUEST_TARGET="i686-co-linux" COLINUX_GCC_GUEST_PATH="$PREFIX/$COLINUX_GCC_GUEST_TARGET/bin" * Build colinux-serial-daemon with GCC (instand C++) * Build debug-daemon with GCC (instand C++) Installer: * coLinux-net-daemon.exe installed in wrong path. Linux as host: * Building for Linux as host: New environent variables for compiler COLINUX_CFLAGS COLINUX_LFLAGS * frame.c and frame.h unused * "linux" is a macro and is "1". Renamed "message.linux" to "message.message_linux". Warnings: * Fix for gcc 3.4.4: "ISO C90 forbids mixed declarations and code" Declare variables at top of function. * select_monitor.cpp: Fix warning no 'int type'. * user/debug/main.c: Fix warning 'L-cast is no standard'. * conet-bridged-daemon/main.c: Fix warning 'const type' of buffer. Docs: * Update for different compilers * Comments for host- and guest-ports of slirp. * Comments for kernel building. 2006-07-02T13:50:11 henry r473 * conet-bridged-daemon: PID is "-i". * Test all params in one function. ("...index not specified" was double.) 2005-10-13T13:51:10 da-x r472 Update kernel config 2005-10-13T11:28:52 da-x r471 Updated Linux patch to 2.6.12. 2005-10-13T11:25:03 da-x r470 Fix a missing include in libslirp.h and a type in premaid.sh. 2005-08-29T11:13:53 da-x r469 Henry Nestler : * Slirp: Re-read "ouraddr" from host OS, if DNS changed. 2005-08-29T11:12:36 da-x r468 HHenry Nestler : slirp-linux-merge.patch: * Make slirp usable in Linux as host. * Merge NT and Linux's slirp code into an OS independet source file: slirp/co_main.c. * Drop daemon-base/main.cpp from slirp's daemon build inputs, since it is not used. 2005-08-29T09:24:32 da-x r467 Henry Nestler : daemon-debug-end.patch: * Facelift for calling of co_debug_end. debug-retcode.patch: * New option for colinux-debug-daemon: '-e exitcode' Translate a given exitcode into error text, filename and line number. vers-check-linux.patch.: Ported from branch stable to devel * Specific error message for version mismatch (linux). 2005-08-22T13:58:27 da-x r466 Henry Nestler : * Kernel version can overwrite in file bin/user-build.cfg. Handling for multiple version of diff files in patchdir. 2005-08-22T13:57:38 da-x r465 Henry Nestler : * Add example.conf to the installed files. 2005-08-22T13:56:17 da-x r464 Henry Nestler : * Remove ';' from the end of the co_debug() macro. 2005-08-22T13:54:34 da-x r463 Henry Nestler : * Shutdown the service, if Windows is shutting down. 2005-08-22T13:53:44 da-x r462 Henry Nestler : * unix2dos is needed for premaid directory of the NSIS installer script. 2005-08-22T13:51:37 da-x r461 Henry Nestler : * Print human readable error, if wrong linux.sys installed. * Print name of non executable process on console. 2005-08-22T13:50:45 da-x r460 Henry Nestler : * Upgrade docs from stable branch. 2005-08-22T13:48:33 da-x r459 Dropping src/colinux/os/winnt/user/conet-daemon/main.c. 2005-08-22T13:47:32 da-x r458 Henry Nestler * Make -h for help working. * All net-daemons have same command format (as for colinux-net-daemon): -i pid -u unit -n name -mac MAC * Print error on console, if initrd can't load. * Slirp: WSAStartup is also in "slirp_init" 2005-08-22T13:41:25 da-x r457 Henry Nestler : SLiRP fixes for devel branch: * Updates from QEMU 0.7.1 (2005-07-24) * Get DNS dymanicly from host. Refresh only, if expire 10 Sec. This should better work for dialup connections. * PING to world works now (WSAECONNRESET hack). 2005-08-20T02:04:19 george.boutwell r456 By Henry Nestler - Fix Makefile. There where more than one Makefiles contents in the Makefile. - Remove double lines from scripts. - make depmod install in the same path as before. ie. ~/src/mingw32/i686-pc-mingw32/bin - Only print the error. Donot flood the the console with normal daemon starts. By Nuno Lucas - Clear ARCH and OS soft link. 2005-08-14T01:51:40 george.boutwell r455 - Fixed linux-cloop-module.patch for use with -p0 instead of -p1. By Henry Nestler - Handle CTRL-C and term to end xml in output file, if terminate with CTRL-C or kill. - fprint_xml_text: if "-f", also output to file. - if "-f", flush every XML line. Hint: for sync output to console use "-f /dev/stdout", or "-f con" in Win32. - read_helper: reading from stream or pipe. 2005-08-13T20:27:14 george.boutwell r454 - Significant sync of several bug fixes/changes in the stable tree - Add cloop modules (patch/linux-cloop-module.patch) By Henry Nestler - Make build scripts ash/dash compliant (more POSIX-compliant) - Add build_premaid and installer (disabled with a "if false" to keep current behavoir) - Don't strip "gccbug" (it is a script). - Read more users patch files in a loop. Main linux-.diff and all files taht match linux-*.patch in patch directory. (needed for the linux-cloop-module.patch to work) - No redirection for 'make silentoldconfig', will now show errors in config - Correct build=i686... and host=target, for cross building. Don't use PATH to PREFIX/TARGET/bin. - Remove warning that build-all is going away - Set version to "default", if user self patch and build kernel (outside of current build system). - Depends for installer - premaid.sh: Script copy files in premaid directory (strip, and run unix2dos) - Installer uses files only from premaid directory. - Checkbox to view README.TXT after install finish. - Call WSAStartup before slirp_init, so that slirp_init or handle_parameters can call any W32 API function. - Don't run strip, if link errors. By Henry Nestler - New system for "configure & make" Makefile for winnt and linux are stored in main directory and would not change by configure. Configure only creates bin/user-build.cfg. - Allow make for winnt and linux without (re)configure. make HOSTOS=winnt make HOSTOS=linux 2005-07-20T10:04:01 da-x r453 Henry Nestler : * More comments for SLiRP redir * coinux-slirp-net-daemon.exe parse the redir string and make error exit, if fails. The params for redirection would forward unchanged to coinux-slirp-net-daemon.exe without syntax check. In old version: colinux-daemon.exe exit, if error in redir params. * Fix the warning on dprintf and ioctlsocket. 2005-07-01T10:00:21 da-x r452 merge of 6468850815ed474819b2d09efb18f54d4e24d496 and 694104873a0ab1d1940c1d81e605faab89bc3d5a 2005-07-01T09:59:52 da-x r451 Henry at BigFoot.de: * Get CFLAGS and LFLAGS from environment, doc/building for using. * Add -mwindows for FLTK. Sample using for host specific compiler and linker flags: export COLINUX_CFLAGS=-I$HOME/i686-pc-linux-local/include export COLINUX_LFLAGS=-L$HOME/i686-pc-linux-local/lib 2005-06-30T21:48:02 george.boutwell r450 By Henry Nestler - SF Bug #1151757: COFS disallow mutiple mounts. - Remove duplicate lines from doc/cofs. 2005-06-28T18:04:59 da-x r449 merge of 7f4f5895fb4e2cd5f1d93010ec4454eed90b2b85 and b67ba537e0fd37fb9bded60176ef72bf8814ce9a 2005-06-28T18:04:35 da-x r448 Henry Nestler: Fix slirp parameter parsing. 2005-06-21T15:15:42 george.boutwell r447 Henry Nestler : - Bug: FLTK libs and includes installed in wrong directory 2005-06-17T15:15:11 da-x r446 Henry Nestler : - Update from FLTK 1.1.4 to 1.1.6 for Win32 and Linux as host. - "make ... install", instand "cp" for installing libs and headers. New files patch/fltk-1.1.6-*.diff do the same as the oldies. Only line numbers are different for new version. Tested with Linux and Win32 as host. 2005-06-08T17:44:34 da-x r445 merge of dc2a8b1673bf5b4eced747f7d7bf1d746457e8be and fb127544b710f52cf7e6301b879cef696517a7d6 2005-06-08T17:44:10 da-x r444 * Now really cause 'net stop' to work, simply by breaking the loop inside user/daemon.c when co_winnt_daemon_stop() is called from the service stop context. * Fix colinux-daemon.exe to show command line params when running without paramters. 2005-06-08T17:20:56 da-x r443 Gert van Antwerpen & me: Cause "net stop" to work. 2005-06-01T15:11:34 george.boutwell r442 By Henry Nestler - Linux: Fix compiler warning for missing prototype co_terminal_print - Windows: Print error on daemon's console, if executed process fails. 2005-05-20T18:24:24 george.boutwell r441 By Henry Nestler - configure: Allow host kernel without extraversion, warn if not kernel 2.6 and above. 2005-05-20T14:40:19 george.boutwell r440 Updated RUNNING and colinux-daemon with information on slirp redirections. 2005-05-20T14:23:55 george.boutwell r439 By Sven Dickert - SLiRP redictions from host to linux Comand-line/config options lool like: ethX=slirp,"",tcp|udp:coPort:winPort[/tcp|udp:coPort:winPort/...] Redirections must begin with protocol ("tcp" or "udp") then an ":" seperator, the port on coLinux guest followed by ":" seperator, and the port for the host (Windows side). More redirections have the same form and are seperated by "/" 2005-05-17T15:46:07 george.boutwell r438 - Only show WinPCAP dependancy screen when Bridge net daemon has been selected to be isntalled. 2005-05-07T17:03:41 da-x r437 Henry Nestler: * Fix for hang on "df" in W2K: Open directory with share for read and write. * Loop limit in co_os_file_fs_stat for error. (Old version returned 0xC0000043 STATUS_SHARING_VIOLATION in endless loop) 2005-05-07T17:02:49 da-x r436 Henry Nestler: * Libs libfltk.a,libmxml.a,libwin32k.a not in md5sum. Better handle with different BUILD directories. * doc/building updates. 2005-04-29T16:02:08 da-x r435 By Henry Nestler: * cobd: fix missing 'sdo' in aliases table. * conet: fix a printk format string. 2005-04-29T13:01:05 da-x r434 1) by Nuno Lucas: * Add IOCTL to list monitors active * Bump CO_LINUX_PERIPHERY_API_VERSION because of that * Return to the default behavior of the FLTK console of attaching to the first available monitor, if none given. * Implement the "Select Monitor" menu command. 2) Fix a warning in os/winnt/user/daemon/service.c. 2005-04-21T16:27:04 da-x r433 * Fix unwanted IO code generation in include/asm-i386/io.h. * Add a fix that was accidently omitted from the previous revision. 2005-04-21T16:07:21 da-x r432 * Kernel crash + BSOD fix: Work-around a problem with the writev() system call. * Added internal implementations for strncmp and strcmp (Linux versions after 2.6.11 stopped exporting these symbols). * Use internal MMU macros instead of included macros from Linux. 2005-04-15T11:45:45 da-x r431 * Fix slirp's missing byte bug. * Enable optimizations for slirp's code, as it was not the source of the problem. I guess QEMU's and official slirp sources can appreciate this fix as well. 2005-04-15T10:16:28 da-x r430 slirp: Update code to match slirp from QEMU-0.6.1. 2005-04-15T07:38:38 da-x r429 patch/linux-2.6.11.diff: Persistent allocation of pages in get_zeroed_page(). Fixes crash reported at http://article.gmane.org/gmane.linux.colinux.devel/2109 2005-04-08T13:30:56 da-x r428 * Jaroslaw Kowalski zd.com.pl>: 2005-03-30T19:26:06 da-x r427 Build scripts and other changes: (by Henry Nestler) - Patch FLTK-win32 to compile without X11-devel (arg --without-x). - Separate directory for DOWNLOAD and BUILD. - MD5 files moved into BUILD directory. - Separate directory for module output (old _install). - Clean up build dir after installing cross tools and libs. - Check installed version of gcc and binutils, not md5sum for cross gcc. - Check more errorlevels after unzip, bunzip2 and patch. "error_exit 10", if errors not redirect to logfile, such on unzip or patch. - Linux as host only for kernel 2.6, fixup for extraversion (configure). - Update doc/building, installer and package, mark Variables of directories. - Comment more "installer", instand of "install" - Python have only two digits in version, check version "2.3+" and "2.3.4" --> hack version detection for all "x.y" versions. - New: "make installer" in ./configure (use wine & Co.) - New: "make package" in Makefile created from ./configure. Save symbols in Map files before strip. - Create ZIP files for daemons and vmlinux (known from autobuild). - Bug: Don't extract kernel, if ...untar=no and kernel not have cooperative.h - Backup Kernel tree, before lose user changes in step untar and patch. 2005-03-22T07:05:22 da-x r426 * A workaround fix for the do_exit() crash, until we figure out more. 2005-03-20T05:18:05 da-x r425 * Bug fix: Kernel crash in do_exit(). * bin/make.py: Print syntax when no arguments are given. * NSIS installer: Hierarchic options (gboutwel). 2005-03-12T11:19:07 da-x r424 * Remove default.coLinux.xml from installer. 2005-03-12T10:52:37 da-x r423 * slirp compliation: no optimizations in new build system. 2005-03-12T10:47:48 da-x r422 * Various build fixes for the installer. 2005-03-12T09:21:56 da-x r421 * Introduce a new build system: bin/make.py colinux Among the features of this build system: * Automatic awareness of changes in header files. * Doesn't require 'make clean' between compilation of different coLinux ports. * Clean, flexible and easier to maintain. * Replace old Makefiles with comake build files. 2005-03-09T18:46:16 da-x r420 Henry Nestler (Henry dot Ne at Arcor dot de): cofs: Fix rename crash, implement flat_mode_inode_rename. 2005-03-09T18:38:15 da-x r419 Henry Nestler (Henry dot Ne at Arcor dot de): * TOPDIR is directory where configure exist, BINDIR is directory bin. * Only one file patch/linux-*.diff for kernel patch and kernel version. More than 3 levels in kernelversion (such as 2.6.8.1). Fallback for patch/linux-* and patch/linux removed. * Prepared for conf/linux-2.6.11-config, fallback for conf/linux-config. * "--verbose" for configure. 2005-03-09T18:36:44 da-x r418 * Clean colinux/user/daemon-base/daemon-base.o in 'make clean'. * Fix small function naming and comments in the Linux kernel module. 2005-03-07T20:16:37 da-x r417 * Add icons to the other executables. * Avoid printing of the daemon's syntax when there are errors (instead, tell the user to run without arguments). * Fix build scripts to use the new kernel patch naming scheme (Henry Nestler). * Fix configuration parsing bug concerning spaces inside quoted strings (e.g. "Local Area Network"). 2005-03-04T19:17:25 da-x r416 patch/linux-2.6.11: export co_terminate_bug for modules to work properly. 2005-03-04T18:10:06 da-x r415 Update kernel patch and configuration to Linux 2.6.11. 2005-03-01T19:37:43 da-x r414 Windows 2000: fix unkillable processes problem. 2005-03-01T16:43:30 da-x r413 A small fix for crashes with memory settings that don't divide by 4, again :) 2005-02-27T21:00:06 da-x r412 * Optimize passage page code for non-PAE setups. 2005-02-26T16:23:33 da-x r411 * Fix a bug in the Linux port which could cause the daemon to suddenly sleep until finally killed during network activity. * Fixed a bug in the initialization of the io_buffer, which caused random crashes during medium IO activity. * Forward BUG() information from the Linux kernel, to be printed conveniently for the user when it occurs. * cofs directory creation and renaming fixes (Henry Nestler). 2005-02-22T20:19:00 da-x r410 Remove some left-over debug print, 2005-02-22T20:17:43 da-x r409 * Prevent /dev/*mem userspace usage. * Fix an interface bug between Linux and host - allocations during message reception in the guest could have caused host<->guest context switch and therefore the trashing of the io_buffer. 2005-02-18T21:11:02 gboutwel r408 * Forward port of README change for SF Bug# 1117510. Removed references to XML config, tried to describe @config uses, added -k command-line. 2005-02-18T20:45:19 gboutwel r407 * Fix for SF Bug# 117511 Bad handling of impromper eth command-line. 2005-02-18T19:37:17 da-x r406 * Remove default.xml.conf * Simplified example.conf 2005-02-18T19:36:07 da-x r405 Remove default.colinux.xml. 2005-02-18T19:35:07 da-x r404 * Obsoleted the use of XML files for configuration. * Added support for @ at the command line for passing simple configuration files. See doc/example.conf. 2005-02-17T22:12:32 da-x r403 * Bring the Linux port up to speed with the latest changes, sans slirp and serial daemons. * Passing a name for the network device in the Linux port is now used to determine the name of the created tuntap network device that would show up in 'ifconfig'. * Added '-k' option to suppress kernel messages on boot. This should let you watch other daemon's output more easily. 2005-02-14T20:42:15 da-x r402 * Made the console-nt program verbosive (prints syntax, reports error, etc.). * Fixed some small user-kernel interface bugs. 2005-02-14T19:25:55 da-x r401 Fix buggy memory allocation (and crashes therefore) for memory settings that don't divide in 4. e.g. mem=42 should work now :) 2005-02-12T20:38:15 da-x r400 Update the forgotten Linux patch for the last revisions. 2005-02-12T19:33:47 da-x r399 Fix for properly shutting down daemons and consoles when colinux-daemon goes down. 2005-02-12T18:35:53 da-x r398 Improve rebooting support. * Reason of Linux's termination is now brought to the knowledge of the daemon, which decides whether to reboot or to abort. * Ctrl-Alt-Shift-Del now sends Ctrl-Alt-Del in console-nt. 2005-02-12T17:04:06 da-x r397 Lots of changes, read on: * Message passing is now driver-centric. This means less CPU usage on host and less latency. * Probably broke some other things. * Broke the Linux port, will get fixed later. 2005-02-12T17:11:23 da-x r396 disapproval of revision 8d3f42be94a29824ff90cd641de58afd5e6dc965 2005-02-10T17:01:47 gboutwel r395 Jonathan H Ballard hotmail.com> - Basis for common memory. Improved i/o. Console & networking has been improved. 2005-02-05T21:00:02 da-x r394 cofs: support unicode filenames. This is done by converting to and from UTF-8 when transfering filenames between Windows and Linux, instead of converting to ANSI strings and losing information. UTF-8 is supported by the Linux VFS, whereas wide characters are not. 2005-02-04T18:26:02 gboutwel r392 Sync stable README and Install project changes with devel. 2005-02-04T13:26:21 da-x r391 add vmlinux-modules.tar.gz and more docs to the self-installing exe 2005-02-04T11:26:30 da-x r390 new development branch - version 0.7.0