From: Michael B. <mic...@gm...> - 2007-01-11 05:10:54
|
HI, This is my first time writing to the list so I hope I am providing enough information. I have installed colinux 6.4 and 7.1. they are installed in separate directories. (c:\colinux and c:\colinux71) I am running Windows XP SP2 (MCE) with all current security updates. My boot.ini contains an entry for /NoExecute=AlwaysOff /NOPAE. My System specs are: AMD Athlon 64 mobile 4000+ (1.6ghz), 1GB RAM. In my config file i have only one drive set, initrd default, vmlinux default, memory=256, network=TAP or disabled, no swap. I try --driver-remove and --driver-install before I try to run colinux, and status-driver says the driver is running with the correct version listed. I have read and followed the steps in the getting started wiki article. When I run colinux from the dosprompt, It stops at Console and does nothing. I don't get any errors, nor do I get a login prompt. Here is the output: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\coLinux71>colinux-daemon.exe @example.conf Cooperative Linux Daemon, 0.7.1 Compiled on Mon Jan 1 03:59:29 2007 using 'vmlinux' as kernel image configuring 256 MB of virtual RAM mapping cobd0 to \??\c:\coLinux71\Debian-3.0r2.ext3-mit-backports.1gb configured TAP at '' device as eth1 using 'initrd.gz' as initrd image mapping cofs31 to \??\C:\coLinux71 kernel boot parameters: 'root=/dev/cobd0' PID: 4056 colinux: launching console colinux: booting colinux-net-daemon: auto selecting TAP colinux-net-daemon: found TAP device named "TAP" colinux-net-daemon: opening TAP: "TAP" colinux-net-daemon: TAP driver version 8.4 colinux-net-daemon: enabling TAP... Linux version 2.6.12-co-0.7.1 (george@CoDebianDevel) (gcc version 3.4.420050314 (prerelease) (Debian 3.4.3-13sarge1)) #256MB LOWMEM available. initrd enabled: start: 0xcff9a000 size: 0x00065ef7) On node 0 totalpages: 65536 DMA zone: 0 pages, LIFO batch:1 Normal zone: 65536 pages, LIFO batch:31 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: root=/dev/cobd0 Initializing CPU#0 Setting proxy interrupt vectors PID hash table entries: 2048 (order: 11, 32768 bytes) Using cooperative for high-res timesource Console: colour CoCON 80x25 The TAP adapter gives itself a 169.x IP address and claims to be connected, but refuses any ssh attempts. How do I get colinux to get past the Console: line? It exhibits the exact same behavior whether I run it with -t nt or let it run the default console. It also runs like this for both 6.4 (with the daemon updates), and for 7.1. here is my config (7.1): # # This is an example for a configuration file that can # be passed to colinux-daemon in this manner: # # colinux-daemon @example.conf # # Note that you can still prepend or append configuration and # boot parameters before and after '@', or you can use more # that one '@ to load several settings one after another. # # colinux-daemon @example.conf @overrider.conf mem=32 # # The default kernel kernel=vmlinux # File contains the root file system. # Download and extract preconfigured file from SF "Images for 2.6". cobd0=c:\coLinux71\Debian-3.0r2.ext3-mit-backports.1gb # Swap device, should be an empty file with 128..512MB. #cobd1=c:\coLinux71\swap_device # Tell kernel the name of root device (mostly /dev/cobd0, # /dev/cobd/0 on Gentoo) # This parameter will be forward to Linux kernel. root=/dev/cobd0 # Initrd installs modules into the root file system. # Need only on first boot. initrd=initrd.gz # Maximal memory for linux guest mem=256 # Slirp for internet connection (outgoing) on second linux adapter. # Inside running coLinux configure eth0 with this static settings: # ipaddress 10.0.2.15 broadcast 10.0.2.255 netmask 255.255.255.0 # gateway 10.0.2.2 nameserver 10.0.2.3 #eth0=slirp # Networking (tuntap as private network between gust and host) eth1=tuntap # Setup for serial device #ttys0=COM1,"BAUD=115200 PARITY=n DATA=8 STOP=1 dtr=on rts=on" # Run an application on colinux start (Sample Xming, a Xserver) #exec0=C:\Programs\Xming\Xming.exe,":0 -clipboard -multiwindow -ac" --Mike |
From: Henry N. <Hen...@Ar...> - 2007-01-11 20:27:34
|
Hello Michael, Michael Brechlin wrote: > This is my first time writing to the list so I hope I am providing > enough information. Thanks for your full comment here. Very good. ;-) > I have installed colinux 6.4 and 7.1. they are installed in separate > directories. (c:\colinux and c:\colinux71) > I am running Windows XP SP2 (MCE) with all current security updates. > My boot.ini contains an entry for /NoExecute=AlwaysOff /NOPAE. > My System specs are: AMD Athlon 64 mobile 4000+ (1.6ghz), 1GB RAM. Think, "/NoExecute=AlwaysOff /NOPAE" is not need for AMD. In such error cases your machine would be crash with a reboot directly befror see any kernel messages. But, thanks for your full comment here. ;-) > In my config file i have only one drive set, initrd default, vmlinux > default, memory=256, network=TAP or disabled, no swap. > I try --driver-remove and --driver-install before I try to run colinux, > and status-driver says the driver is running with the correct version > listed. Yes, linux driver is running. These messages comes from linux kernel: > Linux version 2.6.12-co-0.7.1 (george@CoDebianDevel) (gcc version 3.4.4 > 20050314 > (prerelease) (Debian 3.4.3-13sarge1)) #256MB LOWMEM available. > initrd enabled: start: 0xcff9a000 size: 0x00065ef7) > On node 0 totalpages: 65536 > DMA zone: 0 pages, LIFO batch:1 > Normal zone: 65536 pages, LIFO batch:31 > HighMem zone: 0 pages, LIFO batch:1 > Built 1 zonelists > Kernel command line: root=/dev/cobd0 > Initializing CPU#0 > Setting proxy interrupt vectors > PID hash table entries: 2048 (order: 11, 32768 bytes) > Using cooperative for high-res timesource > Console: colour CoCON 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) colinux-net-daemon: auto selecting TAP Memory: 255360k/262144k available (1535k kernel code, 0k reserved, 531k data, 112k init, 0k highmem) ... should the next lines from kernel boots. I'm afraid something problem with memory detection, or with cache settings. Try follow steps: * Is live CDROM runing on this machine? Try a Knoppix and compair the missing boot messages near "cache hash table". * Use the smalest config, you have. For sample this command line with initrd only: colinux-daemon.exe mem=32 kernel=vmlinux initrd=initrd.gz root=/dev/ram0 * Open a second command prompt and run the debugger: colinux-debug-daemon.exe -d -p -s prints=31,misc=31 -f debug.xml Than starting the colinux-daemon. After your colinux-daemon is stopping, stop the debugger with CTRL-C, and grep in the file debug.xml for the text "Console: colour CoCON 80x25". Is there any more information about your problem? * Debug the memory (many more outputs). Run the debugger with output about 'allocations' colinux-debug-daemon.exe -d -p -s prints=31,misc=31,allocations=15 -f allocs.xml Run colinux-daemon, stop the debugger and check the output. * Incrase the memory from 32 up to 250, but not values with power of 2 (not the 256, not 128 ,...), and check with the "initrd only". * Try the 20061210-Snapshot. That was build with differ compiler: http://henrynestler.com/colinux/testing/stable-0.7.1/ * Check the task manager: Is colinux-daemon.exe doing anything? Is it idle or polling for any? > The TAP adapter gives itself a 169.x IP address and claims to be > connected, but refuses any ssh attempts. The network is not setted up. The init process was not running, you staning on the memory detection. > # Slirp for internet connection (outgoing) > # Inside running coLinux configure eth0 with this static settings: > # ipaddress 10.0.2.15 <http://10.0.2.15> broadcast 10.0.2.255 > <http://10.0.2.255> netmask 255.255.255.0 <http://255.255.255.0> > # gateway 10.0.2.2 <http://10.0.2.2> nameserver 10.0.2.3 > <http://10.0.2.3> > #eth0=slirp > > # Networking (tuntap as private network between gust and host) > eth1=tuntap If you don't use SLiRP, than set the first network (index 0) to TAP eth0=tuntap You can see typical full boot with mem=256 eth0=slirp eth1=tap here: http://www.henrynestler.com/colinux/screenshoots/typical-boot-0.7.1-256MB.txt -- Henry Nestler |