Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2011 15:11:32 +0100
From:      Grzegorz Rybicki <c2n.rybicki@gmail.com>
To:        freebsd-xen@freebsd.org
Subject:   I have a problem with iSCSI on AMD64 Xen HVM
Message-ID:  <AANLkTink37iAtMeNZ5NEhgKwPFOgXOVr4epSFxp=7Kmr@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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/EDENamd64
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX,FXSR,SSE,SSE2>

Jan 19 13:12:38 mysql kernel: Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
Jan 19 13:12:38 mysql kernel: AMD Features=0x20000800<SYSCALL,LM>
Jan 19 13:12:38 mysql kernel: AMD Features2=0x1<LAHF>
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: <Xen HVM>
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 <Version 1.1> 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: <Xen> 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: <ACPI CPU> on acpi0
Jan 19 13:12:38 mysql kernel: cpu1: <ACPI CPU> on acpi0
Jan 19 13:12:38 mysql kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff
on acpi0
Jan 19 13:12:38 mysql kernel: pci0: <ACPI PCI bus> on pcib0
Jan 19 13:12:38 mysql kernel: isab0: <PCI-ISA bridge> at device 1.0 on pci0
Jan 19 13:12:38 mysql kernel: isa0: <ISA bus> on isab0
Jan 19 13:12:38 mysql kernel: atapci0: <Intel PIIX3 WDMA2 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc320-0xc32f at device 1.1 on pci0
Jan 19 13:12:38 mysql kernel: ata0: <ATA channel 0> on atapci0
Jan 19 13:12:38 mysql kernel: ata0: [ITHREAD]
Jan 19 13:12:38 mysql kernel: ata1: <ATA channel 1> on atapci0
Jan 19 13:12:38 mysql kernel: ata1: [ITHREAD]
Jan 19 13:12:38 mysql kernel: pci0: <serial bus, USB> at device 1.2 (no
driver attached)
Jan 19 13:12:38 mysql kernel: pci0: <bridge> at device 1.3 (no driver
attached)
Jan 19 13:12:38 mysql kernel: vgapci0: <VGA-compatible display> mem
0xf0000000-0xf1ffffff,0xf3000000-0xf3000fff irq 24 at device 2.0 on pci0
Jan 19 13:12:38 mysql kernel: xenpci0: <Xen Platform Device> 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: <XenStore> on xenpci0
Jan 19 13:12:38 mysql kernel: acpi_hpet0: <High Precision Event Timer> 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: <AT realtime clock> port 0x70-0x71 irq
8 on acpi0
Jan 19 13:12:38 mysql kernel: atrtc0: <AT realtime clock> port 0x70-0x71 irq
8 on acpi0
Jan 19 13:12:38 mysql kernel: atkbdc0: <Keyboard controller (i8042)> port
0x60,0x64 irq 1 on acpi0
Jan 19 13:12:38 mysql kernel: atkbd0: <AT Keyboard> 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: <PS/2 Mouse> 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: <floppy drive controller> 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: <Non-standard ns8250 class UART with
FIFOs> 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: <ISA Option ROM> at iomem
0xc9000-0xc97ff on isa0
Jan 19 13:12:38 mysql kernel: sc0: <System console> 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: <Generic ISA VGA> 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 <QEMU DVD-ROM/0.10.2> at
ata1-slave WDMA2
Jan 19 13:12:38 mysql kernel: xenbusb_front0: <Xen Frontend Devices> on
xenstore0
Jan 19 13:12:38 mysql kernel: xn0: <Virtual Network Interface> 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: <Virtual Network Interface> 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: <Xen Backend Devices> on
xenstore0
Jan 19 13:12:38 mysql kernel: xctrl0: <Xen Control Device> on xenstore0
Jan 19 13:12:38 mysql kernel: xbd1: 8192MB <Virtual Block Device> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTink37iAtMeNZ5NEhgKwPFOgXOVr4epSFxp=7Kmr>