From owner-freebsd-xen@FreeBSD.ORG Wed Jan 19 13:12:49 2011 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D14FA1065675 for ; Wed, 19 Jan 2011 13:12:49 +0000 (UTC) (envelope-from c2n@c2n.pl) Received: from eden.c2n.pl (mail.c2n.pl [178.212.43.134]) by mx1.freebsd.org (Postfix) with ESMTP id AC64D8FC1C for ; Wed, 19 Jan 2011 13:12:48 +0000 (UTC) Received: from [192.168.0.141] (unknown [178.212.43.133]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: c2n@c2n.pl) by eden.c2n.pl (Postfix) with ESMTPSA id 525625C024 for ; Wed, 19 Jan 2011 13:54:40 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.3 eden.c2n.pl 525625C024 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=c2n.pl; s=dkim_3; t=1295441680; bh=7NkhyTEkbMg1rqU01s8Wo+cm7e11tPhKf7dSxkYeh9I=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=TxkIGAriToXtLejKkpZYIPAy+dktAJBAeiqrGMprBISjFVi4c28ynVbfnMKDa5Ws3 IXdg9SmJUnyMwA+HPCAmKkmodsDhDoGKTQHL8S1389VxyWu01nTZ3GJRh/95VTLu5w Vrcn8fW75zoTk3ZIdU0DElzMCwt4bh34HNhl1RjE= Message-ID: <4D36DF0E.5010403@c2n.pl> Date: Wed, 19 Jan 2011 13:54:38 +0100 From: C2N Grzegorz Rybicki Organization: C2N Grzegorz Rybicki User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: I have a problem with iSCSI on AMD64 Xen HVM X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2011 13:12:49 -0000 hello, I have a problem with ISCSI and XEN. Host: IBM Blade HS21 Citrix XenServer 5.6 Guest: Jan 19 13:12:38 mysql syslogd: kernel boot file is /boot/kernel/kernel Jan 19 13:12:38 mysql kernel: Copyright (c) 1992-2011 The FreeBSD Project. Jan 19 13:12:38 mysql kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 19 13:12:38 mysql kernel: The Regents of the University of California. All rights reserved. Jan 19 13:12:38 mysql kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jan 19 13:12:38 mysql kernel: FreeBSD 8.2-RC2 #3: Tue Jan 18 13:24:03 CET 2011 Jan 19 13:12:38 mysql kernel: ryba@mysql.c2n.pl:/usr/obj/usr/src/sys/EDEN amd64 Jan 19 13:12:38 mysql kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Jan 19 13:12:38 mysql kernel: CPU: Intel(R) Xeon(R) CPU 5160 @ 3.00GHz (3000.16-MHz K8-class CPU) Jan 19 13:12:38 mysql kernel: Origin = "GenuineIntel" Id = 0x6f6 Family = 6 Model = f Stepping = 6 Jan 19 13:12:38 mysql kernel: Features=0x781fbff Jan 19 13:12:38 mysql kernel: Features2=0x80002201> Jan 19 13:12:38 mysql kernel: AMD Features=0x20000800 Jan 19 13:12:38 mysql kernel: AMD Features2=0x1 Jan 19 13:12:38 mysql kernel: TSC: P-state invariant Jan 19 13:12:38 mysql kernel: real memory = 632291328 (603 MB) Jan 19 13:12:38 mysql kernel: avail memory = 597741568 (570 MB) Jan 19 13:12:38 mysql kernel: ACPI APIC Table: Jan 19 13:12:38 mysql kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Jan 19 13:12:38 mysql kernel: FreeBSD/SMP: 2 package(s) x 1 core(s) Jan 19 13:12:38 mysql kernel: cpu0 (BSP): APIC ID: 0 Jan 19 13:12:38 mysql kernel: cpu1 (AP): APIC ID: 2 Jan 19 13:12:38 mysql kernel: ioapic0: Changing APIC ID to 1 Jan 19 13:12:38 mysql kernel: MADT: Forcing active-low polarity and level trigger for SCI Jan 19 13:12:38 mysql kernel: ioapic0 irqs 0-47 on motherboard Jan 19 13:12:38 mysql kernel: iscsi: version 2.2.4.2 Jan 19 13:12:38 mysql kernel: kbd1 at kbdmux0 Jan 19 13:12:38 mysql kernel: acpi0: on motherboard Jan 19 13:12:38 mysql kernel: acpi0: [ITHREAD] Jan 19 13:12:38 mysql kernel: acpi0: Power Button (fixed) Jan 19 13:12:38 mysql kernel: acpi0: Sleep Button (fixed) Jan 19 13:12:38 mysql kernel: Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 Jan 19 13:12:38 mysql kernel: acpi_timer0: <32-bit timer at 3.579545MHz> port 0x1f48-0x1f4b on acpi0 Jan 19 13:12:38 mysql kernel: cpu0: on acpi0 Jan 19 13:12:38 mysql kernel: cpu1: on acpi0 Jan 19 13:12:38 mysql kernel: pcib0: port 0xcf8-0xcff on acpi0 Jan 19 13:12:38 mysql kernel: pci0: on pcib0 Jan 19 13:12:38 mysql kernel: isab0: at device 1.0 on pci0 Jan 19 13:12:38 mysql kernel: isa0: on isab0 Jan 19 13:12:38 mysql kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc320-0xc32f at device 1.1 on pci0 Jan 19 13:12:38 mysql kernel: ata0: on atapci0 Jan 19 13:12:38 mysql kernel: ata0: [ITHREAD] Jan 19 13:12:38 mysql kernel: ata1: on atapci0 Jan 19 13:12:38 mysql kernel: ata1: [ITHREAD] Jan 19 13:12:38 mysql kernel: pci0: at device 1.2 (no driver attached) Jan 19 13:12:38 mysql kernel: pci0: at device 1.3 (no driver attached) Jan 19 13:12:38 mysql kernel: vgapci0: mem 0xf0000000-0xf1ffffff,0xf3000000-0xf3000fff irq 24 at device 2.0 on pci0 Jan 19 13:12:38 mysql kernel: xenpci0: port 0xc000-0xc0ff mem 0xf2000000-0xf2ffffff irq 30 at device 3.0 on pci0 Jan 19 13:12:38 mysql kernel: xs_probe: Probe retuns 0 Jan 19 13:12:38 mysql kernel: xenstore0: on xenpci0 Jan 19 13:12:38 mysql kernel: acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Jan 19 13:12:38 mysql kernel: Timecounter "HPET" frequency 62500000 Hz quality 900 Jan 19 13:12:38 mysql kernel: atrtc0: port 0x70-0x71 irq 8 on acpi0 Jan 19 13:12:38 mysql kernel: atrtc0: port 0x70-0x71 irq 8 on acpi0 Jan 19 13:12:38 mysql kernel: atkbdc0: port 0x60,0x64 irq 1 on acpi0 Jan 19 13:12:38 mysql kernel: atkbd0: irq 1 on atkbdc0 Jan 19 13:12:38 mysql kernel: kbd0 at atkbd0 Jan 19 13:12:38 mysql kernel: atkbd0: [GIANT-LOCKED] Jan 19 13:12:38 mysql kernel: atkbd0: [ITHREAD] Jan 19 13:12:38 mysql kernel: psm0: irq 12 on atkbdc0 Jan 19 13:12:38 mysql kernel: psm0: [GIANT-LOCKED] Jan 19 13:12:38 mysql kernel: psm0: [ITHREAD] Jan 19 13:12:38 mysql kernel: psm0: model IntelliMouse Explorer, device ID 4 Jan 19 13:12:38 mysql kernel: fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 Jan 19 13:12:38 mysql kernel: fdc0: does not respond Jan 19 13:12:38 mysql kernel: device_attach: fdc0 attach returned 6 Jan 19 13:12:38 mysql kernel: uart0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Jan 19 13:12:38 mysql kernel: uart0: [FILTER] Jan 19 13:12:38 mysql kernel: orm0: at iomem 0xc9000-0xc97ff on isa0 Jan 19 13:12:38 mysql kernel: sc0: at flags 0x100 on isa0 Jan 19 13:12:38 mysql kernel: sc0: VGA <16 virtual consoles, flags=0x300> Jan 19 13:12:38 mysql kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Jan 19 13:12:38 mysql kernel: Timecounters tick every 10.000 msec Jan 19 13:12:38 mysql kernel: acd0: CDROM at ata1-slave WDMA2 Jan 19 13:12:38 mysql kernel: xenbusb_front0: on xenstore0 Jan 19 13:12:38 mysql kernel: xn0: at device/vif/0 on xenbusb_front0 Jan 19 13:12:38 mysql kernel: xn0: Ethernet address: 02:b5:d6:76:27:ee Jan 19 13:12:38 mysql kernel: xn1: at device/vif/1 on xenbusb_front0 Jan 19 13:12:38 mysql kernel: xn1: Ethernet address: 4a:bf:b0:1e:ee:af Jan 19 13:12:38 mysql kernel: xenbusb_back0: on xenstore0 Jan 19 13:12:38 mysql kernel: xctrl0: on xenstore0 Jan 19 13:12:38 mysql kernel: xbd1: 8192MB at device/vbd/768 on xenbusb_front0 Jan 19 13:12:38 mysql kernel: xbd1: attaching as ad0 Jan 19 13:12:38 mysql kernel: SMP: AP CPU #1 Launched! Jan 19 13:12:38 mysql kernel: GEOM: ad0s1: geometry does not match label (16h,63s != 255h,63s). Jan 19 13:12:38 mysql kernel: Trying to mount root from ufs:/dev/ad0s1a Jan 19 13:12:38 mysql kernel: xn0: 2 link states coalesced And here I have a problem: xn_txeof: WARNING: response is -1! xn_txeof: WARNING: response is -1! xn_txeof: WARNING: response is -1! xn_txeof: WARNING: response is -1! xn_txeof: WARNING: response is -1! xn_txeof: WARNING: response is -1! xn_txeof: WARNING: response is -1! (da1:iscsi0:0:0:1): WRITE(6). CDB: a 0 0 3f 1 0 (da1:iscsi0:0:0:1): CAM status: SCSI Status Error (da1:iscsi0:0:0:1): SCSI status: Check Condition (da1:iscsi0:0:0:1): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) (da1:iscsi0:0:0:1): Invalidating pack It seems to me that iSCSI works, but something is not such a network interface. Do you have any idea? Regards