dalla macchina ospite:
# echo atdt 12345 > /dev/ttyS0
# echo atdp 12345 > /dev/ttyS0
e le luci del modem visualizzano l'invio di dati
# cat /proc/ioports
03f8-03ff : serial
sulla macchina ospite esiste la porta
********************************************************
dalla macchina virtuale lennyhylafax:
# echo atdt 12345 > /dev/ttyS0
nessuna comunicazione.
# setserial /dev/ttyS0
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
sulla macchina virtuale non la trova!!
Cosa impostare per accedere alla porta Com1 dove c'e' il modem?
Qualche suggerimento?
Grazie
ciao,
beppe
********************************************************
per configurarla ho usato:
http://www.deec.it/2009/09/15/installare-xen/
ma... finche' non ho trovato questa risposta:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477525
(network-script 'network-route netdev=eth0')
la macchina virtuale partiva, ma si poteva accedere solo dalla macchina
ospite e non da tutta la rete.
********************************************************
Qui di seguito le impostazioni usate e gli errori generati:
# cat /etc/xen/conf/lennyhylafax.conf | grep -v -E "^$|^#"
name="lennyhylafax"
kernel="/boot/vmlinuz-2.6.26-2-xen-amd64"
ramdisk="/boot/initrd.img-2.6.26-2-xen-amd64"
root="/dev/sda1"
memory=512
disk=['file:/home/vps2.fs,sda1,w']
vif=[ 'ip=192.168.240.40, vifname=veth2' ]
extra="xencons=tty"
vcpus=1
cpus="1"
cpu_cap=50
# cat /etc/xen/conf/lennypostfix.conf | grep -v -E "^$|^#"
name="lennypostfix"
kernel="/boot/vmlinuz-2.6.26-2-xen-amd64"
ramdisk="/boot/initrd.img-2.6.26-2-xen-amd64"
root="/dev/sda1"
memory=512
disk=['file:/home/vps1.fs,sda1,w']
vif=[ 'ip=192.168.240.50, vifname=veth1' ]
extra="xencons=tty"
vcpus=1
cpus="1"
cpu_cap=50
sulla macchina ospite:
# cat /etc/network/interfaces | grep -v -E "^$|^#"
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
address 192.168.240.100
netmask 255.255.255.0
network 192.168.240.0
broadcast 192.168.240.255
gateway 192.168.240.1
dns-nameservers 192.168.240.1
# ifconfig
eth0 ...
inet addr:192.168.240.100 Bcast:192.168.240.255
Mask:255.255.255.0
...
lo ...
veth1 ...
inet addr:192.168.240.100 Bcast:192.168.240.255
Mask:255.255.255.255
...
veth2 ...
inet addr:192.168.240.100 Bcast:192.168.240.255
Mask:255.255.255.255
...
sulla macchina virtuale:
lennyhylafax:~$ cat /etc/network/interfaces | grep -v -E "^$|^#"
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.240.40
netmask 255.255.255.0
gateway 192.168.240.1
broadcast 192.168.240.255
network 192.168.240.0
dns-nameservers 192.168.240.1
# xm create -c /etc/xen/conf/lennyhylafax.conf
Using config file "/etc/xen/conf/lennyhylafax.conf".
Started domain lennyhylafax
...
[ 0.639054] PCI: Fatal: No config space access function found
[ 0.639058] PCI: setting up Xen PCI frontend stub
...
[ 0.640728] PCI: System does not support PCI
[ 0.640731] PCI: System does not support PCI
...
[ 0.716029] audit: initializing netlink socket (disabled)
[ 0.716029] type=2000 audit(1254719685.695:1): initialized
...
[ 0.716207] io scheduler noop registered
[ 0.716209] io scheduler anticipatory registered
[ 0.716212] io scheduler deadline registered
[ 0.716218] io scheduler cfq registered (default)
...
[ 0.716436] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ
sharing enabled
[ 0.717274] brd: module loaded
...
[ 0.723374] i8042.c: No controller found.
...
[ 0.732263] No iBFT detected.
...
[ 0.732571] XENBUS: Device with no driver: device/console/0
[ 0.732575] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
...
Loading, please wait...
Couldnt get a file descriptor referring to the console
KDGKBMODE: Bad file descriptor
loadkeys: error reading keyboard mode
...
Begin: Running /scripts/init-premount ... FATAL: Error inserting fan
(/lib/modules/2.6.26-2-xen-amd64/kernel/drivers/acpi/fan.ko): No such device
WARNING: Error inserting processor
(/lib/modules/2.6.26-2-xen-amd64/kernel/drivers/acpi/processor.ko): No
such device
[ 0.876507] thermal: Unknown symbol acpi_processor_set_thermal_limit
FATAL: Error inserting thermal
(/lib/modules/2.6.26-2-xen-amd64/kernel/drivers/acpi/thermal.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
done.
...
Begin: Assembling all MD arrays ... [ 1.197612] md: md0 stopped.
mdadm: no devices found for /dev/md0
[ 1.198572] md: md1 stopped.
mdadm: no devices found for /dev/md1
[ 1.200199] md: md2 stopped.
mdadm: no devices found for /dev/md2
Failure: failed to assemble all arrays.
done.
...
modprobe: FATAL: Could not load
/lib/modules/2.6.26-2-xen-amd64/modules.dep: No such file or directory
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd[ 2.885683] udevd
version 125 started
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access
method.
Unable to set System Clock to: Mon Oct 5 05:14:48 UTC 2009 (warning).
...
...
Loading kernel modules...FATAL: Could not load
/lib/modules/2.6.26-2-xen-amd64/modules.dep: No such file or directory
...
Loading the saved-state of the serial devices...
INIT: Entering runlevel: 2
Starting enhanced syslogd: rsyslogd.
Starting OpenBSD Secure Shell server: sshd.
Starting periodic command scheduler: crond.
--
le nuvole non hanno regole,
perchè non hanno mai rinunciato
alla libertà di sognare.
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
debian-italian-requ...@lists.debian.org con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a listmas...@lists.debian.org
To UNSUBSCRIBE, email to debian-italian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org