hi ,Blaisorblade sorry to send this mail stright to you . a few days ago ,i send a mail to the list ,but nobody helped me so far, and i hope you can help me . belew is the issue
my host kernel is 2.6.10 so the guest kernel it is. and they works fine except the network. my guest system seems like after some time like an hour or a few more ,it's network shutdown, can't access it from the internet. but after ssh to the host ,and in the host send a ping packet to the guest system , the guest system network works again. can you tell me the possible reasons , thank you very much. and below is my network i use the tun,tap mode ,and the server runs birdge . i start them with rc.locl: below is my rc.local file: #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local ####################################start bridge echo 1 >/proc/sys/net/ipv4/ip_forward echo 1 >/proc/sys/net/ipv4/config/all/proxy_arp brctl addbr mybr ifconfig mybr 211.222.222.222 netmask 255.255.255.0 up brctl stp mybr off brctl sethello mybr 1 brctl setfd mybr 1 ifconfig eth0 0.0.0.0 promisc up brctl addif mybr eth0 route add default gw 211.222.222.1 ####################################end #####################################adduser test tunctl -u test -t testeth0 ifconfig testeth0 0.0.0.0 promisc up brctl addif mybr testeth0 screen -m -d -S test linux mem=256M ubd0=/home/test/root_fs.cow ubd1=/home/test/swap ubd2=/home/test/storage.test eth0=tuntap,testeth0 umid=test ##########################################end #####################################adduser test2 tunctl -u test2 -t test2eth0 ifconfig test2eth0 0.0.0.0 promisc up brctl addif mybr test2eth0 screen -m -d -S test2 linux mem=512M ubd0=/home/test2/root_fs.cow ubd1=/home/test2/swap ubd2=/home/test2/storage.koobi eth0=tuntap,test2eth0 umid=test2 #####################################end ======= 2005-04-30 04:58:34 您在来信中写道:======= >On Wednesday 27 April 2005 04:21, Jack wrote: >> hi ,all . >> >> >> i have a problem. i want to start uml read-only ,but can't >Circumvent the problem with a COW file, that way the ubd backing file won't be >modified, and you can throw away the COW file at will. >> it >> reports : >> >> Checking root filesystem >> Disk write-protected; use the -n option to do a read-only >> check of the device. >> [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/ubd/0 >> fsck.ext3: Read-only file system while trying to open /dev/ubd/0 >> [FAILED] >> >> *** An error occurred during the file system check. >> *** Dropping you to a shell; the system will reboot >> *** when you leave the shell. >> Give root password for maintenance >> (or type Control-D to continue): >> >> >> any advice? >-- >Paolo Giarrusso, aka Blaisorblade >Skype user "PaoloGiarrusso" >Linux registered user n. 292729 >http://www.user-mode-linux.org/~blaisorblade > > > > >Powered by MessageSoft SMG = = = = = = = = = = = = = = = = = = = = 致 礼! Jack [EMAIL PROTECTED] 2005-04-29 HS^甸?X?????zYn?.???庄zZ)?恙VП6??菜???У觏???涉?骓?.????O? +6?e???wZr?←a?.??X???氮???0?\?\r?r?旌晦?