Subject: Xen 2.0 xennet_watchdog
To: None <port-xen@netbsd.org>
From: Florian Heigl <Florian.Heigl@gmx.net>
List: port-xen
Date: 04/14/2005 10:25:08
hi,

I just wanted to inform You that I had the pleasure of meeting 
the xennet_watchdog error during install.

hard disk is sliced and partioned, the error occurs when trying to 
DHCPdiscover on the xm virtual interface. I'm not sure if the bridging 
is properly set up by me, but still the panicking is annoying :)

I'm using netbsd-INSTALL_XENU from

ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/snapshot/20050408-3.0_BETA/binary/kernel/
on Xen 2.0.4 (on a Linux host - see below for more specific data)

hmmm - I'd be very happy for some pointers, i.e. that this will be
resolved if I upgrade the Xen version I use. :)


---begin of relevant
part---
--------------------------------------------------------------------------------
DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 15
panic: xennet_watchdog

Stopped at      0xc0214e6a:     leave
?(c0935038,4,0,c0771dec,c02289d4) at 0xc0214e6a
?(c0242fe0,c0771e00,c01f2025,c0935038,0) at 0xc01c35e6
?(c0935038,0,4,c0771e1c,c01bd59c) at 0xc02289d4
?(0,c01f1fde,c08fafa0,4,0) at 0xc01f2025
?(0,c07592e0,0,c0100b13,c08e3e00) at 0xc01bd59c
?(0,3800003f,0,3,1) at 0xc0225ac9
?(0,0,c0777000,0,c0771e8c) at 0xc010460a
?(3,c0771e98,0,1,77d) at 0xc0222d07
?(c0771e98,0,11,31,c0760011) at 0xc02168ad
?(c0751cc0,bda24c77,ffffffff,c01b83ef,c0751e80) at 0xc0104b50
?(c0751e80,0,1,0,0) at 0xc01007fa
?(c0751cc0,4,c02415b7,0,0) at 0xc01b7bba
?(c0751ca0,1,c076dc10,76d000,c0777000) at 0xc0206957
?(0,0,0,0,0) at 0xc01a0a93
Stopped at      0xc0214e6a:     leave
----



---with further testing I noticed that this will also happen,
if I just ifconfig---
# ifconfig -a
xennet0: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
        address: fe:fd:00:de:ad:19
lo0: flags=8008<LOOPBACK,MULTICAST> mtu 33192
# ifconfig xennet0 192.168.10.251
# ifconfipanic: xennet_watchdog
[...]
---



root@ismp ~# xm info
system                 : Linux
host                   : ismp.intern.blutmeer.de
release                : 2.4.29-xen0
version                : #1 Fri Feb 4 13:27:29 GMT 2005
machine                : i686
cores                  : 4
hyperthreads_per_core  : 1
cpu_mhz                : 199
memory                 : 1024
free_memory            : 815

root@ismp ~# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      123    0  r----    699.6
netbsd             8       63    1  -b---      8.8    9608

root@ismp ~# uname -a
Linux ismp.intern.blutmeer.de 2.4.29-xen0 #1 Fri Feb 4 13:27:29 GMT 2005
i686 i686 i386 GNU/Linux

'netbsd.small' config file...:
kernel  = "/export/data/xen/dom2/netbsd-INSTALL_XENU"
cpu     = -1
memory  = 64
name    = "netbsd"
nics    = 1
vif     = [ 'mac=FE:FD:00:DE:AD:19' ]
disk    = [ 'file:/export/data/xen/dom2/root,hda1,w' ]
restart = 'onreboot'



xm dmesg:
http://justblog.blogdns.org/netzwerk/getfile?name=xm_dmesg_ismp
dmesg of dom0 (linux):
http://justblog.blogdns.org/netzwerk/getfile?name=dmesg_ismp

dmesg of NetBSD install:
(*how* can I fix the 'symbol table missing' message?)
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
[ Kernel symbol table missing! ] 
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.0_BETA (INSTALL_XENU) #2: Fri Apr  8 18:01:53 CEST 2005
       
bouyer@pop.lip6.fr:/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/netbsd-3/src/sys/arch/i386/compile/INSTALL_XENU
total memory = 58912 KB
avail memory = 57480 KB
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium Pro (686-class), 199.94 MHz, id 0x619
cpu0: features fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features fbff<PGE,MCA,CMOV>
cpu0: I-cache 8 KB 32B/line 4-way, D-cache 8 KB 32B/line 2-way
cpu0: L2 cache 256 KB 32B/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 16 page colors
hypervisor0 at mainbus0
debug events interrupting at irq 0
misdirect events interrupting at irq 1
Domain controller: using irq 2
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 143, unit 0
Initialising Xen virtual ethernet frontend driver.
npx0 at hypervisor0: using exception 16
xennet0 at hypervisor0: Xen Virtual Network Interface
Xen clock: using irq 3
xennet0: using irq 4
xennet0: MAC address fe:fd:00:de:ad:19
Kernelized RAIDframe activated
md0: internal 5000 KB image area
xbd: using irq 5
xbd0 at hypervisor0: Xen Virtual Block Device 2048 MB
boot device: xbd0
root on md0a dumps on md0b
root file system type: ffs
warning: no /dev/console
init: Creating mfs /dev (412 blocks, 1024 inodes)
[sysinst]

bye and also thanks for bringing Xen on NetBSD to 
the running installer!

florian


--
florian heigl				
http://deranfangvomen.de/		contact: fh2-6bone
wenn sie hohen ROI wollen, schicken sie mal eine der nackt 
putzenden damen hierher, das bad saubermachen.

-- 
+++ GMX - Die erste Adresse für Mail, Message, More +++

1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail