Seite 1 von 1

coLinux ?

Verfasst: So 16 Jan 2005, 11:00
von lofwyr
Hi Leute,

habt Ihr schon die aktuelle CT durch?
Steht ein interessanter Artikel über coLinux drin: Meine Frage an Euch:
Kenn schon jemand dieses coLinux bzw. hat schon jemand Erfahrungen damit gemacht? (z.B. NFS-Server aufsetzen und so...)


Lofwyr

Verfasst: Mo 17 Jan 2005, 21:25
von lofwyr
Kleiner Testbericht:

Hab das jetzt mal getestet und was soll ich sagen:

ES GEHT, JA LECK MICH AM ::::: ES GEHT :) ;)

Die DEBIAN läuft jetzt als Service unter W2k und genauso unter Win XP

Lofwyr

Verfasst: Mo 17 Jan 2005, 22:56
von torre
Hab mir das auch mal angeschaut, aber so richtig hab ich es noch nicht geblickt. Kannst Du mir ein paar Infos zur Anpassung der config etc. geben ?

Nachtrag: Sorry, steht ja alles in dem CT Artikel - hab den mal eben rausgesucht.

Verfasst: Di 18 Jan 2005, 5:50
von lofwyr
@torre,

soweit ich kann helfe ich Dir gerne weiter.
Sag bescheid, wenn Du fragen hast

Lofwyr

Verfasst: Di 18 Jan 2005, 8:44
von Treito
Mag ja sein, dass es geht, aber dadurch gehen Dir auch alle Vorteile von Linux flöten... (bessere Stabilität, höhere Performance etc.)

Verfasst: Di 18 Jan 2005, 9:09
von torre
Ich bekomm es nicht hin. XML-Datei ist so wie von ct vorgeschlagen:

Code: Alles auswählen

<?xml version="1.0" encoding="UTF-8"?>
<colinux>
    <!-- This line needs to point to your root file system. 
  	 For example change "root_fs" to the name of the Debian image.
         Inside coLinux it will be /dev/cobd0 -->
    <block_device index="0" path="\DosDevices\c:\coLinux\Debian-3.0r0.ext3.1gb" 
    enabled="true" />
    
    <!-- This line can specify a swap file if you wish, or an additional
         image file, it will /dev/cobd1. Additional block_devices can
	 be specified in the same manner by increasing the index -->

    <block_device index="1" path="\DosDevices\c:\coLinux\swap_device" 
    enabled="true" />

    <!-- bootparams allows you to pass kernel boot parameters -->
    <bootparams>root=/dev/cobd0</bootparams>

    <initrd path="initrd.gz" />

    <!-- image allows you to specify the kernel to boot -->
    <image path="vmlinux" />

    <!-- this line allows you to specify the amount of memory available 
         to coLinux -->
    <memory size="128" />
</colinux>
Der TAP-Win32-Netzwerkadapter ist installiert, allerdings noch nichts eingestellt.

Die Konsole sieht dann so aus:

Code: Alles auswählen

C:\coLinux>colinux-daemon.exe -c colinux.xml
Cooperative Linux Daemon, 0.6.1
Compiled on Sat May 29 16:20:11 2004

daemon: loading configuration from colinux.xml
daemon: creating monitor
colinux: allocated id 0
co_message_switch: setting callback rule for 7
co_message_switch: setting callback rule for 2
co_message_switch: setting callback rule for 6
co_message_switch: setting callback rule for 3
co_message_switch: setting callback rule for 0
co_message_switch: setting callback rule for 4
colinux: launching net daemons
daemon: launching console
executing: colinux-console-fltk -a 0
Linux version 2.4.26-co-0.6.1 (karrde@callisto.yi.org) (gcc version 3.3.3 (Debia
n 20040429)) #1 Sat May 29 15:30:37 IDT 2004
128MB LOWMEM available.
On node 0 totalpages: 32768
zone(0): 0 pages.
zone(1): 32768 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/cobd0
Initializing CPU#0
Setting proxy interrupt vectors
Detected 1999.963 MHz processor.
Console: colour CoCON 80x25
Calibrating delay loop... 3984.58 BogoMIPS
Memory: 126884k/131072k available (1137k kernel code, 0k reserved, 62k data, 52k
 init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
pipe client 0/6: Connecting to daemon...
pipe client 0/6: Connection established
daemon: module connected: console
co_message_switch: setting callback rule for 6
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:     After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 2400+ stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
cobd: loaded (max 32 devices)
conet: loaded (max 16 devices)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
end_request: I/O error, dev 75:00 (cobd), sector 2
EXT3-fs: unable to read superblock
end_request: I/O error, dev 75:00 (cobd), sector 2
EXT2-fs: unable to read superblock
end_request: I/O error, dev 75:00 (cobd), sector 0
FAT: unable to read boot sector
UMSDOS: msdos_read_super failed, mount aborted.
end_request: I/O error, dev 75:00 (cobd), sector 0
FAT: unable to read boot sector
end_request: I/O error, dev 75:00 (cobd), sector 0
FAT: unable to read boot sector
end_request: I/O error, dev 75:00 (cobd), sector 64
isofs_read_super: bread failed, dev=75:00, iso_blknum=16, block=32
end_request: I/O error, dev 75:00 (cobd), sector 16
sh-2006: reiserfs read_super_block: bread failed (dev 75:00, block 8, size 1024)

end_request: I/O error, dev 75:00 (cobd), sector 128
sh-2006: reiserfs read_super_block: bread failed (dev 75:00, block 64, size 1024
)
sh-2021: reiserfs_read_super: can not find reiserfs on cobd(117,0)
Kernel panic: VFS: Unable to mount root fs on 75:00
 daemon: monitor terminated, reason 3
switch_message: freed message b801d8 (2 to 4)
daemon: module disconnected: console
colinux: shutting down
daemon: daemon cleanup

C:\coLinux>

Verfasst: Di 18 Jan 2005, 19:00
von lofwyr
@Treito,
ist ja nicht als Dauer-Lösung gedacht, aber Du kannst halt ein Linux booten (evtl. eines, dass bereits auf Deiner Platte für ein Dual-Boot installiert ist) ohne Windoof und/oder evtl. laufende Applikationen beenden zu müssen.
Ist halt ne interessante Möglichkeit, Linux-Tasks laufen zu lassen, ohne dass ein zweiter Rechner nötig ist. - Ist ja so ähnlich wie VM-Ware nur das es halt nix kostet ;)

Lofwyr

Verfasst: Di 18 Jan 2005, 19:06
von lofwyr
@Torre,

hast Du evtl. in der /etc/fstab des Linux-Images noch andere Filesysteme drin? sieht nämlich so aus
torre hat geschrieben: EXT3-fs: unable to read superblock
end_request: I/O error, dev 75:00 (cobd), sector 2
EXT2-fs: unable to read superblock
end_request: I/O error, dev 75:00 (cobd), sector 0
FAT: unable to read boot sector
UMSDOS: msdos_read_super failed, mount aborted.
end_request: I/O error, dev 75:00 (cobd), sector 0
FAT: unable to read boot sector
end_request: I/O error, dev 75:00 (cobd), sector 0
FAT: unable to read boot sector
end_request: I/O error, dev 75:00 (cobd), sector 64
isofs_read_super: bread failed, dev=75:00, iso_blknum=16, block=32
end_request: I/O error, dev 75:00 (cobd), sector 16
sh-2006: reiserfs read_super_block: bread failed (dev 75:00, block 8, size 1024)

end_request: I/O error, dev 75:00 (cobd), sector 128
sh-2006: reiserfs read_super_block: bread failed (dev 75:00, block 64, size 1024
)
sh-2021: reiserfs_read_super: can not find reiserfs on cobd(117,0)
Kernel panic: VFS: Unable to mount root fs on 75:00
bzw. welches Image benutzt Du, um reinzubooten?
Hast Du das empfohlene gezogen und entpackt?

Hier ist übrigens meine config.xml:

Code: Alles auswählen

<?xml version="1.0" encoding="UTF-8"?>
<colinux>
   
    <block_device index="0" path="\DosDevices\D:\Dev\coLinux\Debian-3.0r0.ext3.1gb" 
    enabled="true" />
    
    <block_device index="1" path="\DosDevices\D:\Dev\coLinux\swap_device" 
    enabled="true" />

    <block_device index="2" path="\DosDevices\D:\Dev\coLinux\Debian-3.0r2.ext3-mit-backports.1gb" 
    enabled="true" />
    <block_device index="3" path="\DosDevices\D:\Dev\coLinux\Debian-20040605-mit.ext3.1610mb" 
    enabled="true" />
    <block_device index="4" path="\DosDevices\D:\Dev\coLinux\blank_1024Mb" 
    enabled="true" />

    <!-- bootparams allows you to pass kernel boot parameters -->
    <bootparams>root=/dev/cobd0</bootparams>
    
    <!-- Initial RamDISK (initrd) support -->
    <initrd path="initrd.gz" />
    
    <!-- image allows you to specify the kernel to boot -->
    <image path="vmlinux" />

    <!-- this line allows you to specify the amount of memory available 
         to coLinux -->
    <memory size="128" />

    <!-- This allows you to modify networking parameters, see the README 
         or website or wiki for more information -->
    <network index="0" name="100mbit" type="bridged" />
</colinux>
Lofwyr

Verfasst: Di 18 Jan 2005, 21:28
von jmittelst
Hmm - lappt doch sicher auch für XPhome, oder? Ware eine Alternative in Bezug auf NFS - ein schickes kleines Linux (Eisfair oder sowas). Mal am Wochenende anschauen.
cu
Jens

Verfasst: Sa 22 Jan 2005, 19:56
von lofwyr
@torre,

und? Hast Du es hinbekommen, oder hast Du keine Zeit gehabt?

Lofwyr

Verfasst: So 23 Jan 2005, 15:33
von torre
noch keine Zeit gehabt weiter zu testen... Aber auch noch nicht aufgegeben...

Verfasst: So 23 Jan 2005, 16:59
von lofwyr
was bei mir allerdings nicht hinhaut ist die Sache mit dem TAP-Netztreiber.
Ich nutze diesen WinPCAP - damit funzt es.

Lofwyr

Leers Image erstellen

Verfasst: Mi 07 Dez 2005, 16:47
von MHLInk
<block_device index="4" path="\DosDevices\D:\Dev\coLinux\blank_1024Mb"
enabled="true" />
Kann mir jemand sagen, wie ich ein leeres Image (z.B. Ext3) für coLinux erstelle ohne ein Linux/Unix zu benutzen? Ich würde das Image gerne so an die 5-10GB Groß machen. Wäre für jeden Tipp dankbar.

mfg

MHLInk

Verfasst: Mi 07 Dez 2005, 17:19
von marcm
Hi,

hier liegen ein Paar leere Partitionen für CoLinux. Die Größte 10Gb....Downloadgröße 18kb !!!

Einfach runterladen, entpacken (Vorsicht, entpackt sinds dann 10GB) und einbinden...

Greetz
Marc

Verfasst: Mi 07 Dez 2005, 18:20
von MHLInk
genau das, was ich gesucht hatte. vielen dank.

mfg

MHLInk