Error: either "dev" is duplicate, or "1500" is a garbage.


I've just created a new KVM instance using the kvm-wheezy-gpl image and can't start it .. I'm getting the following error which I'm having difficulty troubleshooting

QEMU waiting for connection on: tcp:,server
Error: either "dev" is duplicate, or "1500" is a garbage.
/kvm/ could not launch network script
qemu-system-x86_64: -net tap,vlan=0,script=/kvm/
sh: Device 'tap' could not be initialized

On my system the interface is em1 not eth0 if that's a clue?



What does that /kvm/ script contain on your system?

This is the contents:

echo $1 >/kvm/
/sbin/brctl addif br0 $1
/bin/ip link set dev $1 up
mtu=\`/bin/ip link | grep br0: | sed -e 's/.\*mtu //; s/ .\*//'\`
if [ "$mtu" != "" ]; then
    /bin/ip link set dev $1 mtu $mtu

And my /etc/network/interfaces

# The loopback network interface
auto lo em1 br0
iface lo inet loopback

# The primary network interface
#auto em1
iface em1 inet manual

auto br0

iface br0 inet static
        bridge_ports em1
        post-up iptables-restore < /etc/iptables.up.rules

That looks OK. Could you also post the contents of the /kvm/ file ?

Hi Jamie,

Sorry to push but do you have an update for me? Is there a way I can manually get this instance up and running?

Thanks, Ryan

If there any chance I could login to your Cloudmin master system? That would help in debugging this..

Hi Jamie,

No problem, I'll send it to you.