WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] Debian Lenny 5.0.2 -- XEN Hypervisor 3.2.1 ; linux-image-2.6.

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] Debian Lenny 5.0.2 -- XEN Hypervisor 3.2.1 ; linux-image-2.6.26-2-xen-amd64 ; Hang under boot
From: Henrik Dige Semark <hds@xxxxxxxxx>
Date: Sun, 20 Sep 2009 12:51:46 +0200
Delivery-date: Mon, 21 Sep 2009 05:00:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)
I have an new installed Debian Lenny 5.0.2 (AMD64) install, I use stock
debian kernel and Hypervisor;

DomO
OS: Debian Lenny 5.0.3
Kernel: 2.6.26-2-xen-amd64
Hyper: 3.2.1
PCI-backend: yes
Name: master

DomU
OS: Debian Lenny 5.0.3
Kernel: 2.6.26-2-xen-amd64
Name: webserver

The problem is that I wants to pass-throe to NIC's and one ISDN card to
DomU.
And it works when I passes one NIC and the ISDN card, but when I try to
pass the 2x NIC it starts normally, and then suddenly just hang up. With
the only message in the console:

/sbin/dhclient-script: line 139:  1265 Segmentation fault      ifconfig
$interface inet 0 up
[   16.013890] eth0: no IPv6 routers present

At first the to NIC was from same vendor and batch, so I thought it
might had something to do with that, so I changed one of the NIC's to a
3Com 10/100 instead.

But it is still same error.


####
LOG with to identical NIC's:
# xm start webserver -c
[    0.680186] Initializing cgroup subsys ns
[    0.680191] Initializing cgroup subsys cpuacct
[    0.680194] Initializing cgroup subsys devices
[    0.680212] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64
bytes/line)
[    0.680217] CPU: L2 Cache: 512K (64 bytes/line)
[    0.680222] CPU: Physical Processor ID: 0
[    0.680224] CPU: Processor Core ID: 3
[    0.680235] SMP alternatives: switching to UP code
[    0.685734] Freeing SMP alternatives: 21k freed
[    0.685825] Brought up 1 CPUs
[    0.688573] net_namespace: 1224 bytes
[    0.688698] NET: Registered protocol family 16
[    0.689506] Brought up 1 CPUs
[    0.689519] PCI: Fatal: No config space access function found
[    0.689524] PCI: setting up Xen PCI frontend stub
[    0.689925] ACPI: Interpreter disabled.
[    0.689932] Linux Plug and Play Support v0.97 (c) Adam Belay
[    0.689953] pnp: PnP ACPI: disabled
[    0.690126] suspend: event channel 7
[    0.690441] xen_mem: Initialising balloon driver.
[    0.692429] usbcore: registered new interface driver usbfs
[    0.692474] usbcore: registered new interface driver hub
[    0.692510] usbcore: registered new device driver usb
[    0.692628] PCI: System does not support PCI
[    0.692632] PCI: System does not support PCI
[    0.692937] pcifront pci-0: Installing PCI frontend
[    0.693022] pcifront pci-0: Creating PCI Frontend Bus 0000:00
[    0.704735] NET: Registered protocol family 2
[    0.740470] IP route cache hash table entries: 32768 (order: 6,
262144 bytes)
[    0.740631] TCP established hash table entries: 131072 (order: 9,
2097152 bytes)
[    0.741215] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.741512] TCP: Hash tables configured (established 131072 bind 65536)
[    0.741517] TCP reno registered
[    0.752477] NET: Registered protocol family 1
[    0.752544] checking if image is initramfs... it is
[    0.765260] Freeing initrd memory: 22036k freed
[    0.771426] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[    0.771642] audit: initializing netlink socket (disabled)
[    0.771654] type=2000 audit(1253380351.924:1): initialized
[    0.771798] VFS: Disk quotas dquot_6.5.1
[    0.771816] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.771831] msgmni has been set to 2091
[    0.771889] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 253)
[    0.771894] io scheduler noop registered
[    0.771897] io scheduler anticipatory registered
[    0.771899] io scheduler deadline registered
[    0.771905] io scheduler cfq registered (default)
[    0.772773] Linux agpgart interface v0.103
[    0.772802] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ
sharing enabled
[    0.773598] brd: module loaded
[    0.773643] input: Macintosh mouse button emulation as
/class/input/input0
[    0.773687] Xen virtual console successfully installed as hvc0
[    0.773717] Event-channel device installed.
[    0.779980] netfront: Initialising virtual ethernet driver.
[    0.783113] PNP: No PS/2 controller found. Probing ports directly.
[    0.783929] i8042.c: No controller found.
[    0.784464] xen-vbd: registered block device major 202
[    0.784475] blkfront: xvda1: barriers enabled
[    0.788666] blkfront: xvda2: barriers enabled
[    0.792074] mice: PS/2 mouse device common for all mice
[    0.792146] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.792217] No iBFT detected.
[    0.792475] TCP cubic registered
[    0.792479] NET: Registered protocol family 17
[    0.792533] registered taskstats version 1
[    0.792561] XENBUS: Device with no driver: device/console/0
[    0.792564] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.792571] Freeing unused kernel memory: 216k freed
Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... FATAL: Error inserting fan
(/lib/modules/2.6.26-1-xen-amd64/kernel/drivers/acpi/fan.ko): No such device
WARNING: Error inserting processor
(/lib/modules/2.6.26-1-xen-amd64/kernel/drivers/acpi/processor.ko): No
such device
[    0.888575] thermal: Unknown symbol acpi_processor_set_thermal_limit
FATAL: Error inserting thermal
(/lib/modules/2.6.26-1-xen-amd64/kernel/drivers/acpi/thermal.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
[    1.079030] r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
[    1.079221] r8169 0000:00:01.0: enabling device (0000 -> 0003)
[    1.079684] eth1: RTL8169sb/8110sb at 0xffffc20000024800,
00:14:d1:17:6c:74, XID 10000000 IRQ 21
[    1.080269] r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
[    1.080404] r8169 0000:00:02.0: enabling device (0000 -> 0003)
[    1.080800] eth2: RTL8169sb/8110sb at 0xffffc20000026400,
00:14:d1:17:fb:b8, XID 10000000 IRQ 22
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top
... Begin: Loading[    1.128810] md: raid1 personality registered for
level 1
Success: loaded module raid1.
[    1.132390] xor: automatically using best checksumming function:
generic_sse
[    1.152002]    generic_sse:  8805.000 MB/sec
[    1.152006] xor: using function: generic_sse (8805.000 MB/sec)
[    1.153152] async_tx: api initialized (async)
[    1.220010] raid6: int64x1   3094 MB/s
[    1.288017] raid6: int64x2   3916 MB/s
[    1.356023] raid6: int64x4   3750 MB/s
[    1.424020] raid6: int64x8   2244 MB/s
[    1.492040] raid6: sse2x1    3862 MB/s
[    1.560042] raid6: sse2x2    5979 MB/s
[    1.628044] raid6: sse2x4    6638 MB/s
[    1.628047] raid6: using algorithm sse2x4 (6638 MB/s)
[    1.628053] md: raid6 personality registered for level 6
[    1.628056] md: raid5 personality registered for level 5
[    1.628059] md: raid4 personality registered for level 4
Success: loaded module raid456.
done.
Begin: Assembling all MD arrays ... [    1.638999] md: md0 stopped.
mdadm: no devices found for /dev/md0
[    1.642798] md: md1 stopped.
mdadm: no devices found for /dev/md1
[    1.646302] md: md2 stopped.
mdadm: no devices found for /dev/md2
[    1.649940] md: md3 stopped.
mdadm: no devices found for /dev/md3
[    1.653559] md: md4 stopped.
mdadm: no devices found for /dev/md4
Failure: failed to assemble all arrays.
done.
Begin: Waiting for udev to process events ... done.
[    1.674302] device-mapper: uevent: version 1.0.3
[    1.675094] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18)
initialised: dm-devel@xxxxxxxxxx
done.
Begin: Running /scripts/local-premount ... done.
[    1.716286] kjournald starting.  Commit interval 5 seconds
[    1.716296] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd[    2.809611] udevd
version 125 started
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...[    3.347531] ISDN subsystem
Rev: 1.1.2.3/1.1.2.3/1.1.2.2/1.1.2.3/1.1.2.2/1.1.2.2 loaded
[    3.391419] HiSax: Linux Driver for passive ISDN cards
[    3.391430] HiSax: Version 3.5 (module)
[    3.391433] HiSax: Layer1 Revision 2.46.2.5
[    3.391436] HiSax: Layer2 Revision 2.30.2.4
[    3.391438] HiSax: TeiMgr Revision 2.20.2.3
[    3.391440] HiSax: Layer3 Revision 2.22.2.3
[    3.391443] HiSax: LinkLayer Revision 2.59.2.4
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: Sat Sep 19 17:12:34 UTC 2009 (warning).
Activating swap...[    3.519771] Adding 131064k swap on /dev/xvda1.
Priority:-1 extents:1 across:131064k
done.
Checking root file system...fsck 1.41.3 (12-Oct-2008)
/dev/xvda2: clean, 286203/10485760 files, 8393649/41943040 blocks
done.
[    3.833244] EXT3 FS on xvda2, internal journal
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: Sat Sep 19 17:12:35 UTC 2009 (warning).
Cleaning up ifupdown....
Loading kernel modules...done.
Setting up LVM Volume Groups  Reading all physical volumes.  This may
take a while...
.
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...mount: none already mounted or /dev/pts busy
mount: according to mtab, devpts is already mounted on /dev/pts
failed.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...[    5.890618] NET: Registered protocol
family 10
[    5.890893] lo: Disabled Privacy Extensions
if-up.d/mountnfs[eth0]: waiting for interface eth3 before doing NFS
mounts (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth2 before doing NFS
mounts (warning).
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
eth3: ERROR while getting interface flags: No such device
eth3: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth3.
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

[    7.611998] Fatal DMA error! Please use 'swiotlb=force'
[    7.612033] ------------[ cut here ]------------
[    7.612036] kernel BUG at arch/x86/kernel/pci-nommu-xen.c:70!
[    7.612040] invalid opcode: 0000 [1] SMP
[    7.612044] CPU 0
[    7.612046] Modules linked in: ipv6 hisax crc_ccitt isdn slhc evdev
ext3 jbd mbcache dm_mirror dm_log dm_snapshot dm_mod raid456 async_xor
async_memcpy async_tx xor raid1 md_mod r8169 thermal_sys
[    7.612073] Pid: 1259, comm: ifconfig Not tainted 2.6.26-1-xen-amd64 #1
[    7.612076] RIP: e030:[<ffffffff80210dba>]  [<ffffffff80210dba>]
gnttab_map_single+0xf8/0x104
[    7.612085] RSP: e02b:ffff88003e8f9ce8  EFLAGS: 00010292
[    7.612089] RAX: 000000000000003e RBX: 000000020c7de000 RCX:
00003232000027d8
[    7.612093] RDX: ffffffffff5f7000 RSI: 0000000000000000 RDI:
0000000000000000
[    7.612101] RBP: 0000000000000812 R08: 0000000000000000 R09:
ffff880001bc9080
[    7.612105] R10: 000000000000003c R11: 000001000000003b R12:
0000000000000600
[    7.612108] R13: ffff88003fd5b870 R14: 00000000000000e0 R15:
0000000000000600
[    7.612114] FS:  00007f2852d866e0(0000) GS:ffffffff80539000(0000)
knlGS:0000000000000000
[    7.612119] CS:  e033 DS: 0000 ES: 0000
[    7.612122] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[    7.612126] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
0000000000000400
[    7.612130] Process ifconfig (pid: 1259, threadinfo ffff88003e8f8000,
task ffff880001472a80)
[    7.612134] Stack:  0000000000000000 ffff88003e48c880
ffff880001488e00 0000000000000000
[    7.612141]  0000000000000002 ffffffffa000634f 0000002000000000
0000000000007ff0
[    7.612147]  ffff88003e338000 ffff88003e338700 000000e03e338000
ffff88003fd5b800
[    7.612152] Call Trace:
[    7.612160]  [<ffffffffa000634f>] ? :r8169:rtl8169_rx_fill+0x13a/0x1ae
[    7.612169]  [<ffffffffa00071b1>] ? :r8169:rtl8169_init_ring+0x64/0x93
[    7.612175]  [<ffffffffa000748f>] ? :r8169:rtl8169_open+0xaf/0x1d8
[    7.612180]  [<ffffffff803c7dc2>] ? dev_open+0x6c/0xa0
[    7.612185]  [<ffffffff803c696a>] ? dev_change_flags+0xa6/0x15c
[    7.612190]  [<ffffffff80409959>] ? devinet_ioctl+0x242/0x59d
[    7.612197]  [<ffffffff802766b4>] ? handle_mm_fault+0x5f8/0xc46
[    7.612202]  [<ffffffff803ba825>] ? sock_ioctl+0x1d4/0x1f8
[    7.612206]  [<ffffffff80296659>] ? vfs_ioctl+0x21/0x6b
[    7.612210]  [<ffffffff802968eb>] ? do_vfs_ioctl+0x248/0x261
[    7.612215]  [<ffffffff80296955>] ? sys_ioctl+0x51/0x70
[    7.612219]  [<ffffffff8020b528>] ? system_call+0x68/0x6d
[    7.612223]  [<ffffffff8020b4c0>] ? system_call+0x0/0x6d
[    7.612226]
[    7.612228]
[    7.612230] Code: eb 05 ba ff ff ff ff 48 c1 e3 0c 81 e5 ff 0f 00 00
48 f7 d2 48 8d 04 2b 48 85 d0 74 12 48 c7 c7 a6 c0 4a 80 31 c0 e8 a6 c8
01 00 <0f> 0b eb fe 5a 5b 5d 41 5c 41 5d c3 55 48 89 f7 89 d5 53 31 db
[    7.612267] RIP  [<ffffffff80210dba>] gnttab_map_single+0xf8/0x104
[    7.612271]  RSP <ffff88003e8f9ce8>
[    7.612285] ---[ end trace 4a6d1b9c8782a2b3 ]---
/sbin/dhclient-script: line 139:  1259 Segmentation fault      ifconfig
$interface inet 0 up
[   16.449985] eth0: no IPv6 routers present

####
LOG with to different NIC's:
# xm start webserver -c
[ ... ]
Loading, please wait...
Begin: Loading essential drivers ... done.
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
[    1.128572] 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)
[    1.334723] 3c59x 0000:00:01.0: enabling device (0000 -> 0003)
[    1.335048] 3c59x: Donald Becker and others.
[    1.335053] 0000:00:01.0: 3Com PCI 3c905C Tornado at ffffc20000024800.
[    1.365028] r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
[    1.365208] r8169 0000:00:02.0: enabling device (0000 -> 0003)
[    1.365747] eth2: RTL8169sb/8110sb at 0xffffc20000026400,
00:14:d1:17:fb:b8, XID 10000000 IRQ 22
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top
... Begin: Loading[    1.428317] md: raid1 personality registered for
level 1
Success: loaded module raid1.
[ ... ]

The rest of the log is identical.

# cat /etc/xen/webserver.cfg

#
#  Networking
#
#dhcp        = 'dhcp'
#vif         = [ 'mac=00:16:3E:39:2D:0A', 'mac=00:16:3e:66:bf:1f' ]
vif         = [ 'mac=00:16:3E:39:2D:0A' ]
pci         = [ '0000:03:05.0', '0000:03:06.0', '0000:03:07.0' ]
#pci        = [ '0000:03:05.0', '0000:03:06.0' ]

# DomO (master) extended info:

# lspci:
03:05.0 Network controller: Cologne Chip Designs GmbH ISDN network
controller [HFC-PCI] (rev 02)
03:06.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado]
(rev 74)
03:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
Gigabit Ethernet (rev 10)

# cat /boot/grub/menu.lst
[ ... ]
title           Xen 3.2-1-amd64 / Debian GNU/Linux, kernel 2.6.26-2-xen-amd64
root            (hd0,1)
kernel          /xen-3.2-1-amd64.gz
module          /vmlinuz-2.6.26-2-xen-amd64 root=/dev/mapper/system-server ro
console=tty0 pciback.hide=(0000:03:07.0)(0000:03:06.0)(0000:03:05.0)
module          /initrd.img-2.6.26-2-xen-amd64

title           Xen 3.2-1-amd64 / Debian GNU/Linux, kernel 2.6.26-1-xen-amd64
root            (hd0,1)
kernel          /xen-3.2-1-amd64.gz
module          /vmlinuz-2.6.26-1-xen-amd64 root=/dev/mapper/system-server ro
console=tty0 pciback.hide=(0000:03:07.0)(0000:03:06.0)(0000:03:05.0)
module          /initrd.img-2.6.26-1-xen-amd64
[ ... ]


I don't know where to send this error, so I have sende it to XEN-Bugs
and Debian Bugs.


-- 
Med Venlig Hilsen / Best regards
Henrik Dige Semark

Attachment: hds.vcf
Description: Vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
<Prev in Thread] Current Thread [Next in Thread>