From: Oscar U. <osc...@pr...> - 2007-09-07 18:03:05
|
Folks, I am attempting to install 0.6.4-linux-2.6.11 with Debian Etch[*1] accordin= g to the wiki instructions[*2] on WinXp Pro[*3]. I used fltk console invoke= d from cmd.exe after starting the colinux service. I was able to get most o= f the way with "Install the base system", then selected linux-image-2.6-686= at 79% complete. A little later I am prompted for "Configuring popularity-= contest" install option which said, "The system may anonymously supply the = distribution developers with statistics about the most used packages on thi= s system...." I switched to virtual console 1, and issued the mknod command= s to create /target/dev/cobd[0123] block device nodes, and modified /target= /etc/fstab. In virtual screen 4, I observed the final lines as follows. The= n responding either "Yes" or "No" results in the colinux-daemon crashing wi= thout completing the base system install (additional backtrace included bel= ow in dpkg.log), at this point the fltk windows console process would detac= h.=20 I can boot via the image it does create, but the image represents an incomp= lete install, e.g. some /etc/init.d/ scripts will not run (/etc/init.d/ssh = start =3D> 'Warning: Fake start-stop-daemon called, doing nothing'), user a= ccounts are not created (root password not set). The default.colinux.xml I = used for the daemon is included below. I can ssh into the installed image. = Any ideas how to correct or complete a good install? Thanks, OSC in-target: Building dependency tree... in-target:=20 in-target: Suggested packages: in-target: anacron in-target: Recommended packages: in-target: exim4 mail-transport-agent mime-construct in-target: The following NEW packages will be installed: in-target: popularity-contest .... <?xml version=3D"1.0" encoding=3D"UTF-8"?> <colinux> <block_device index=3D"0" path=3D"\DosDevices\c:\coLinux\root.fs" enabl= ed=3D"true" /> <block_device index=3D"1" path=3D"\DosDevices\c:\coLinux\swap_device" e= nabled=3D"true" /> <block_device index=3D"2" path=3D"\DosDevices\c:\coLinux\debian-40r1-i3= 86-businesscard.iso" enabled=3D"true" /> <block_device index=3D"3" path=3D"\DosDevices\c:\coLinux\debian-40r1-in= itrd" enabled=3D"true" /> <bootparams>root=3D/dev/cobd2</bootparams> <initrd path=3D"debian-40r1-initrd.gz" /> <image path=3D"vmlinux" /> <memory size=3D"512" /> <network index=3D"0" type=3D"tap"/> <network index=3D"1" name=3D"Local Area Connection" type=3D"bridged" /> </colinux> [*1] http://cdimage.debian.org/debian-cd/4.0_r1/i386/iso-cd/ debian-40r1-i3= 86-businesscard.iso [*2] http://colinux.wikia.com/wiki/InstallDebianFromIsoShort [*3] WinXp Pro Version 5.1 (Build 2600.xpsp_sp2_qfe.070227-2300 : Service P= ack 2) Additional log info : debian:/var/log# cat dmesg Linux version 2.6.11-co-0.6.4 (george@CoDebianDevel) (gcc version 3.4.4 200= 50314 (prerelease) (Debian 3.4.3-13)) #1 Mon Jun 19 05:36:13 UTC 2006 512MB LOWMEM available. initrd enabled: start: 0xdfe07000 size: 0x001f812b) On node 0 totalpages: 131072 DMA zone: 0 pages, LIFO batch:1 Normal zone: 131072 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: root=3D/dev/cobd0 Initializing CPU#0 Setting proxy interrupt vectors PID hash table entries: 4096 (order: 12, 65536 bytes) Using cooperative for high-res timesource Console: colour CoCON 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 513536k/524288k available (1537k kernel code, 0k reserved, 521k dat= a, 108k init, 0k highmem) Calibrating delay loop... 548.86 BogoMIPS (lpj=3D2744320) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000= e3bd 00000000 00000001 CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000e= 3bd 00000000 00000001 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 2048K CPU: After all inits, caps: bfebfbff 20100000 00000000 00000040 0000e3bd 00= 000000 00000001 CPU: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz stepping 02 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. checking if image is initramfs...it isn't (no cpio magic); looks like an in= itrd Freeing initrd memory: 2016k freed NET: Registered protocol family 16 devfs: 2004-01-31 Richard Gooch (rg...@at...) devfs: boot_options: 0x0 cofuse init 0.1 (API version 2.2) Initializing Cryptographic API serio: cokbd at irq 1 io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize cobd: loaded (max 32 devices) loop: loaded (max 8 devices) conet: loaded (max 16 devices) conet0: initialized conet1: initialized mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard on cokbd NET: Registered protocol family 2 IP: routing cache hash table of 4096 buckets, 32Kbytes TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) NET: Registered protocol family 1 NET: Registered protocol family 17 RAMDISK: Compressed image found at block 0 EXT2-fs warning: checktime reached, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). ReiserFS: cobd0: warning: sh-2021: reiserfs_fill_super: can not find reiser= fs on cobd0 kjournald starting. Commit interval 5 seconds EXT3 FS on cobd0, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. EXT3 FS on cobd0, internal journal EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem). Trying to move old root to /initrd ... okay Freeing unused kernel memory: 108k freed kjournald starting. Commit interval 5 seconds Adding 524280k swap on /dev/cobd1. Priority:-1 extents:1 EXT3 FS on cobd0, internal journal debian:/var/log# tail -n 100 dpkg.log=20 2007-09-07 13:21:02 status unpacked initramfs-tools 0.85h 2007-09-07 13:21:02 status unpacked initramfs-tools 0.85h 2007-09-07 13:21:02 status half-configured initramfs-tools 0.85h 2007-09-07 13:21:02 status installed initramfs-tools 0.85h 2007-09-07 13:22:48 install linux-image-2.6.18-5-686 <none> 2.6.18.dfsg.1-13 2007-09-07 13:22:48 status half-installed linux-image-2.6.18-5-686 2.6.18.d= fsg.1-13 2007-09-07 13:22:52 status unpacked linux-image-2.6.18-5-686 2.6.18.dfsg.1-= 13 2007-09-07 13:22:52 status unpacked linux-image-2.6.18-5-686 2.6.18.dfsg.1-= 13 2007-09-07 13:22:52 install linux-image-2.6-686 <none> 2.6.18+6etch1 2007-09-07 13:22:52 status half-installed linux-image-2.6-686 2.6.18+6etch1 2007-09-07 13:22:52 status unpacked linux-image-2.6-686 2.6.18+6etch1 2007-09-07 13:22:52 status unpacked linux-image-2.6-686 2.6.18+6etch1 2007-09-07 13:22:52 status unpacked linux-image-2.6.18-5-686 2.6.18.dfsg.1-= 13 2007-09-07 13:22:52 status half-configured linux-image-2.6.18-5-686 2.6.18.= dfsg.1-13 2007-09-07 13:23:05 status installed linux-image-2.6.18-5-686 2.6.18.dfsg.1= -13 2007-09-07 13:23:05 status unpacked linux-image-2.6-686 2.6.18+6etch1 2007-09-07 13:23:05 status half-configured linux-image-2.6-686 2.6.18+6etch1 2007-09-07 13:23:05 status installed linux-image-2.6-686 2.6.18+6etch1 2007-09-07 13:23:14 install libc6-i686 <none> 2.3.6.ds1-13etch2 2007-09-07 13:23:14 status half-installed libc6-i686 2.3.6.ds1-13etch2 2007-09-07 13:23:14 status unpacked libc6-i686 2.3.6.ds1-13etch2 2007-09-07 13:23:14 status unpacked libc6-i686 2.3.6.ds1-13etch2 2007-09-07 13:23:14 status unpacked libc6-i686 2.3.6.ds1-13etch2 2007-09-07 13:23:14 status half-configured libc6-i686 2.3.6.ds1-13etch2 2007-09-07 13:23:14 status installed libc6-i686 2.3.6.ds1-13etch2 2007-09-07 13:23:16 install eject <none> 2.1.4-3 2007-09-07 13:23:16 status half-installed eject 2.1.4-3 2007-09-07 13:23:16 status unpacked eject 2.1.4-3 2007-09-07 13:23:16 status unpacked eject 2.1.4-3 2007-09-07 13:23:16 status unpacked eject 2.1.4-3 2007-09-07 13:23:16 status half-configured eject 2.1.4-3 2007-09-07 13:23:16 status installed eject 2.1.4-3 2007-09-07 13:41:08 install popularity-contest <none> 1.41 2007-09-07 13:41:08 status half-installed popularity-contest 1.41 2007-09-07 13:41:08 status unpacked popularity-contest 1.41 2007-09-07 13:41:08 status unpacked popularity-contest 1.41 2007-09-07 13:41:08 status unpacked popularity-contest 1.41 2007-09-07 13:41:08 status unpacked popularity-contest 1.41 2007-09-07 13:41:08 status half-configured popularity-contest 1.41 2007-09-07 13:41:08 status installed popularity-contest 1.41 2007-09-07 13:41:09 status installed popularity-contest 1.41 2007-09-07 13:41:09 remove popularity-contest 1.41 1.41 2007-09-07 13:41:09 status half-configured popularity-contest 1.41 2007-09-07 13:41:09 status half-installed popularity-contest 1.41 2007-09-07 13:41:09 status config-files popularity-contest 1.41 2007-09-07 13:41:09 purge popularity-contest 1.41 1.41 2007-09-07 13:41:09 status config-files popularity-contest 1.41 2007-09-07 13:41:09 status config-files popularity-contest 1.41 2007-09-07 13:41:09 status config-files popularity-contest 1.41 2007-09-07 13:41:09 status config-files popularity-contest 1.41 2007-09-07 13:41:09 status config-files popularity-contest 1.41 2007-09-07 13:41:09 status not-installed popularity-contest <none> 2007-09-07 13:50:08 install libkrb53 <none> 1.4.4-7etch4 2007-09-07 13:50:08 status half-installed libkrb53 1.4.4-7etch4 2007-09-07 13:50:08 status unpacked libkrb53 1.4.4-7etch4 2007-09-07 13:50:08 status unpacked libkrb53 1.4.4-7etch4 2007-09-07 13:50:08 install libedit2 <none> 2.9.cvs.20050518-2.2 2007-09-07 13:50:08 status half-installed libedit2 2.9.cvs.20050518-2.2 2007-09-07 13:50:08 status unpacked libedit2 2.9.cvs.20050518-2.2 2007-09-07 13:50:08 status unpacked libedit2 2.9.cvs.20050518-2.2 ---->> install/colinux daemon crashed here.... Booting into system allowed = me to install additional packages afterwards. 2007-09-07 13:50:08 install openssh-client <none> 1:4.3p2-9 2007-09-07 13:50:08 status half-installed openssh-client 1:4.3p2-9 2007-09-07 13:50:08 status unpacked openssh-client 1:4.3p2-9 2007-09-07 13:50:08 status unpacked openssh-client 1:4.3p2-9 2007-09-07 13:50:08 install openssh-server <none> 1:4.3p2-9 2007-09-07 13:50:08 status half-installed openssh-server 1:4.3p2-9 2007-09-07 13:50:09 status unpacked openssh-server 1:4.3p2-9 2007-09-07 13:50:09 status unpacked openssh-server 1:4.3p2-9 2007-09-07 13:50:09 status unpacked libkrb53 1.4.4-7etch4 2007-09-07 13:50:09 status half-configured libkrb53 1.4.4-7etch4 2007-09-07 13:50:09 status installed libkrb53 1.4.4-7etch4 2007-09-07 13:50:09 status unpacked libedit2 2.9.cvs.20050518-2.2 2007-09-07 13:50:09 status half-configured libedit2 2.9.cvs.20050518-2.2 2007-09-07 13:50:09 status installed libedit2 2.9.cvs.20050518-2.2 2007-09-07 13:50:09 status unpacked openssh-client 1:4.3p2-9 2007-09-07 13:50:09 status unpacked openssh-client 1:4.3p2-9 2007-09-07 13:50:09 status unpacked openssh-client 1:4.3p2-9 2007-09-07 13:50:09 status half-configured openssh-client 1:4.3p2-9 2007-09-07 13:50:11 status installed openssh-client 1:4.3p2-9 2007-09-07 13:50:11 status unpacked openssh-server 1:4.3p2-9 2007-09-07 13:50:11 status unpacked openssh-server 1:4.3p2-9 2007-09-07 13:50:11 status unpacked openssh-server 1:4.3p2-9 2007-09-07 13:50:11 status unpacked openssh-server 1:4.3p2-9 2007-09-07 13:50:11 status half-configured openssh-server 1:4.3p2-9 2007-09-07 13:50:14 status installed openssh-server 1:4.3p2-9 2007-09-07 13:57:53 install libmagic1 <none> 4.17-5etch2 2007-09-07 13:57:53 status half-installed libmagic1 4.17-5etch2 2007-09-07 13:57:54 status unpacked libmagic1 4.17-5etch2 2007-09-07 13:57:54 status unpacked libmagic1 4.17-5etch2 2007-09-07 13:57:54 install file <none> 4.17-5etch2 2007-09-07 13:57:54 status half-installed file 4.17-5etch2 2007-09-07 13:57:54 status unpacked file 4.17-5etch2 2007-09-07 13:57:54 status unpacked file 4.17-5etch2 2007-09-07 13:57:54 status unpacked libmagic1 4.17-5etch2 2007-09-07 13:57:54 status half-configured libmagic1 4.17-5etch2 2007-09-07 13:57:54 status installed libmagic1 4.17-5etch2 2007-09-07 13:57:54 status unpacked file 4.17-5etch2 2007-09-07 13:57:54 status unpacked file 4.17-5etch2 2007-09-07 13:57:54 status half-configured file 4.17-5etch2 2007-09-07 13:57:54 status installed file 4.17-5etch2 debian:/var/log#=20 --=20 We've Got Your Name @ www.mail.com!!! Get a FREE E-mail Account Today - Choose From 100+ Domains |
From: Henry N. <Hen...@Ar...> - 2007-09-07 19:00:49
|
Oscar Usifer wrote: > I am attempting to install 0.6.4-linux-2.6.11 with Debian Etch[*1] according to the wiki instructions[*2] on WinXp Pro[*3]. I used fltk console invoked from cmd.exe after starting the colinux service. I was able to get most of the way with "Install the base system", then selected linux-image-2.6-686 at 79% complete. A little later I am prompted for "Configuring popularity-contest" install option which said, "The system may anonymously supply the distribution developers with statistics about the most used packages on this system...." I switched to virtual console 1, and issued the mknod commands to create /target/dev/cobd[0123] block device nodes, and modified /target/etc/fstab. In virtual screen 4, I observed the final lines as follows. Then responding either "Yes" or "No" results in the colinux-daemon crashing without completing the base system install (additional backtrace included below in dpkg.log), at this point the fltk windows console process would detach. The coLinux 0.6.4 is not protected to read from /dev/mem. Some new distributions tries to read the BIOS strings from this - to get info about your hardware. This crashes the linux or some times the host. A workarrount is to remove the /dev/mem, /dev/kmem and /dev/core or re-create the nodes with device node 1:3, same as /dev/null. In the newer coLinux versions this was fixed: http://www.colinux.org/snapshots/ > <colinux> > <block_device index="0" path="\DosDevices\c:\coLinux\root.fs" enabled="true" /> > <block_device index="1" path="\DosDevices\c:\coLinux\swap_device" enabled="true" /> > <block_device index="2" path="\DosDevices\c:\coLinux\debian-40r1-i386-businesscard.iso" enabled="true" /> > <block_device index="3" path="\DosDevices\c:\coLinux\debian-40r1-initrd" enabled="true" /> > <bootparams>root=/dev/cobd2</bootparams> > <initrd path="debian-40r1-initrd.gz" /> > <image path="vmlinux" /> > <memory size="512" /> > <network index="0" type="tap"/> > <network index="1" name="Local Area Connection" type="bridged" /> > </colinux> The new versions have no more the XML config. Have transform it on the fly into a simple text file (untested, hope all is right): kernel=vmlinux cobd0=c:\coLinux\root.fs cobd1=c:\coLinux\swap_device cobd2=c:\coLinux\debian-40r1-i386-businesscard.iso cobd3=c:\coLinux\debian-40r1-initrd root=/dev/cobd2 initrd=debian-40r1-initrd.gz mem=512 eth0=tuntap eth1=pcap-bridge,"Local Area Connection" The new coLinux does also support hda1, so you can replace cobd0 directly with "hda1=c:\coLinux\root.fs" and so on. Complete list of config params founds here: http://colinux.svn.sourceforge.net/svnroot/colinux/branches/stable/doc/colinux-daemon -- Henry |