[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] NetBSD XEN4 DOMu cant find any storeage/disk



hi

i run NetBSD -amd64 
NetBSD netd.zuhause 6.99.23 NetBSD 6.99.23 (XEN3_DOM0) #0: Sun Sep 22
23:28:55 UTC 2013 
root@xxxxxxxxxxxx:/usr/src/sys/arch/amd64/compile/XEN3_DOM0 amd64

with XEN 4.2.3 from /usr/pkgsrc/sysutils/xentools42 xenkernel42 ... make
install clean ...


xl info
host                   : netd.zuhause
release                : 6.99.23
version                : NetBSD 6.99.23 (XEN3_DOM0) #0: Sun Sep 22 23:28:55
UTC 2013  root@xxxxxxxxxxxx:/usr/src/sys/arch/amd64/compile/XEN3_DOM0
machine                : amd64
nr_cpus                : 4
max_cpu_id             : 3
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 2
cpu_mhz                : 3292
hw_caps                :
bfebfbff:28100800:00000000:00003f40:159ae3bf:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 8064
free_memory            : 7777
sharing_freed_memory   : 0
sharing_used_memory    : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 2
xen_extra              : .3
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : dom0_mem=65535
cc_compiler            : gcc (NetBSD nb1 20120916) 4.5.4
cc_compile_by          : root
cc_compile_domain      : 
cc_compile_date        : Sun Sep 22 23:40:14 UTC 2013
xend_config_format     : 4

my problem is if i try to start a netbsd-INSTALL_XEN3_DOMU  virtual machine
it wont find any storeage/disk
the dmesg from the virtual machine:

DOMU dmesg:
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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 5.1 (INSTALL_XEN3_DOMU) #0: Sat Nov  6 13:17:19 UTC 2010
       
builds@xxxxxxxxxxxxx:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/INSTALL_XEN3_DOMU
total memory = 128 MB
avail memory = 111 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
hypervisor0 at mainbus0: Xen version 4.2
vcpu0 at hypervisor0: Intel 686-class, 3292MHz, id 0x206a7
debug virtual interrupt using event channel 3
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 143, unit 0
xencons0: using event channel 2
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Xen clock: using event channel 4
timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality
10000
xenbus0: using event channel 1
xenbus: can't get state for device/suspend/event-channel (2)
raidattach: Asked for 8 units
Kernelized RAIDframe activated
md0: internal 5000 KB image area
Searching for RAID components...
boot device: <unknown>
root on md0a dumps on md0b
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
WARNING: clock gained 1052 days
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
xenbus: can't get state for device/suspend/event-channel (2)
ignore shutdown request:



xenstore-ls -fp:
/tool = ""   (n0)
/tool/xenstored = ""   (n0)
/local = ""   (n0)
/local/domain = ""   (n0)
/local/domain/0 = ""   (n0)
/local/domain/0/name = "Domain-0"   (n0)
/local/domain/0/memory = ""   (n0)
/local/domain/0/memory/target = "65532"   (n0)
/local/domain/0/memory/static-max = "4294967292"   (n0)
/local/domain/0/memory/freemem-slack = "1238777"   (n0)
/local/domain/0/libxl = ""   (n0)
/local/domain/0/libxl/disable_udev = "1"   (n0)
/local/domain/0/backend = ""   (n0)
/local/domain/0/backend/vbd = ""   (n0)
/local/domain/0/backend/vbd/3 = ""   (n0)
/local/domain/0/backend/vbd/3/1 = ""   (n0,r3)
/local/domain/0/backend/vbd/3/1/frontend = "/local/domain/3/device/vbd/1"  
(n0,r3)
/local/domain/0/backend/vbd/3/1/params = "/dev/wd0h"   (n0,r3)
/local/domain/0/backend/vbd/3/1/script = "/usr/pkg/etc/xen/scripts/block"  
(n0,r3)
/local/domain/0/backend/vbd/3/1/physical-device = "7"   (n0,r3)
/local/domain/0/backend/vbd/3/1/frontend-id = "3"   (n0,r3)
/local/domain/0/backend/vbd/3/1/online = "1"   (n0,r3)
/local/domain/0/backend/vbd/3/1/removable = "0"   (n0,r3)
/local/domain/0/backend/vbd/3/1/bootable = "1"   (n0,r3)
/local/domain/0/backend/vbd/3/1/state = "4"   (n0,r3)
/local/domain/0/backend/vbd/3/1/dev = "0x01"   (n0,r3)
/local/domain/0/backend/vbd/3/1/type = "phy"   (n0,r3)
/local/domain/0/backend/vbd/3/1/mode = "w"   (n0,r3)
/local/domain/0/backend/vbd/3/1/device-type = "disk"   (n0,r3)
/local/domain/0/backend/vbd/3/1/hotplug-status = "connected"   (n0,r3)
/local/domain/0/backend/vbd/3/1/sectors = "20555073"   (n0,r3)
/local/domain/0/backend/vbd/3/1/info = "0"   (n0,r3)
/local/domain/0/backend/vbd/3/1/sector-size = "512"   (n0,r3)
/local/domain/0/backend/vbd/3/1/feature-flush-cache = "1"   (n0,r3)
/local/domain/0/backend/console = ""   (n0)
/local/domain/0/backend/console/3 = ""   (n0)
/local/domain/0/backend/console/3/0 = ""   (n0,r3)
/local/domain/0/backend/console/3/0/frontend = "/local/domain/3/console"  
(n0,r3)
/local/domain/0/backend/console/3/0/frontend-id = "3"   (n0,r3)
/local/domain/0/backend/console/3/0/online = "1"   (n0,r3)
/local/domain/0/backend/console/3/0/state = "1"   (n0,r3)
/local/domain/0/backend/console/3/0/domain = "vm1"   (n0,r3)
/local/domain/0/backend/console/3/0/protocol = "vt100"   (n0,r3)
/local/domain/0/backend/vif = ""   (n0)
/local/domain/0/backend/vif/3 = ""   (n0)
/local/domain/0/backend/vif/3/0 = ""   (n0,r3)
/local/domain/0/backend/vif/3/0/frontend = "/local/domain/3/device/vif/0"  
(n0,r3)
/local/domain/0/backend/vif/3/0/frontend-id = "3"   (n0,r3)
/local/domain/0/backend/vif/3/0/online = "1"   (n0,r3)
/local/domain/0/backend/vif/3/0/state = "2"   (n0,r3)
/local/domain/0/backend/vif/3/0/script =
"/usr/pkg/etc/xen/scripts/vif-bridge"   (n0,r3)
/local/domain/0/backend/vif/3/0/mac = "00:16:3e:70:13:76"   (n0,r3)
/local/domain/0/backend/vif/3/0/bridge = "bridge0"   (n0,r3)
/local/domain/0/backend/vif/3/0/handle = "0"   (n0,r3)
/local/domain/0/backend/vif/3/0/type = "vif"   (n0,r3)
/local/domain/0/backend/vif/3/0/vifname = "xvif3i0"   (n0,r3)
/local/domain/0/backend/vif/3/0/feature-rx-copy = "1"   (n0,r3)
/local/domain/0/backend/vif/3/0/feature-rx-flip = "1"   (n0,r3)
/local/domain/0/backend/vif/3/0/hotplug-status = "connected"   (n0,r3)
/local/domain/3 = ""   (n0,r3)
/local/domain/3/vm = "/vm/7c786902-b024-e311-92ee-ac162d111edb"   (n0,r3)
/local/domain/3/name = "vm1"   (n0,r3)
/local/domain/3/cpu = ""   (n0,r3)
/local/domain/3/cpu/0 = ""   (n0,r3)
/local/domain/3/cpu/0/availability = "online"   (n0,r3)
/local/domain/3/memory = ""   (n0,r3)
/local/domain/3/memory/static-max = "131072"   (n0,r3)
/local/domain/3/memory/target = "131073"   (n0,r3)
/local/domain/3/memory/videoram = "-1"   (n0,r3)
/local/domain/3/device = ""   (n0,r3)
/local/domain/3/device/suspend = ""   (n0,r3)
/local/domain/3/device/suspend/event-channel = ""   (n3)
/local/domain/3/device/vbd = ""   (n0,r3)
/local/domain/3/device/vbd/1 = ""   (n3,r0)
/local/domain/3/device/vbd/1/backend = "/local/domain/0/backend/vbd/3/1"  
(n3,r0)
/local/domain/3/device/vbd/1/backend-id = "0"   (n3,r0)
/local/domain/3/device/vbd/1/state = "1"   (n3,r0)
/local/domain/3/device/vbd/1/virtual-device = "1"   (n3,r0)
/local/domain/3/device/vbd/1/device-type = "disk"   (n3,r0)
/local/domain/3/device/vif = ""   (n0,r3)
/local/domain/3/device/vif/0 = ""   (n3,r0)
/local/domain/3/device/vif/0/backend = "/local/domain/0/backend/vif/3/0"  
(n3,r0)
/local/domain/3/device/vif/0/backend-id = "0"   (n3,r0)
/local/domain/3/device/vif/0/state = "1"   (n3,r0)
/local/domain/3/device/vif/0/handle = "0"   (n3,r0)
/local/domain/3/device/vif/0/mac = "00:16:3e:70:13:76"   (n3,r0)
/local/domain/3/control = ""   (n0,r3)
/local/domain/3/control/platform-feature-multiprocessor-suspend = "1"  
(n0,r3)
/local/domain/3/control/platform-feature-xs_reset_watches = "1"   (n0,r3)
/local/domain/3/data = ""   (n3)
/local/domain/3/domid = "3"   (n0,r3)
/local/domain/3/store = ""   (n0,r3)
/local/domain/3/store/port = "1"   (n0,r3)
/local/domain/3/store/ring-ref = "2154028"   (n0,r3)
/local/domain/3/console = ""   (n0,r3)
/local/domain/3/console/backend = "/local/domain/0/backend/console/3/0"  
(n0,r3)
/local/domain/3/console/backend-id = "0"   (n3,r0)
/local/domain/3/console/limit = "1048576"   (n0,r3)
/local/domain/3/console/type = "xenconsoled"   (n0,r3)
/local/domain/3/console/output = "pty"   (n0,r3)
/local/domain/3/console/tty = "/dev/pts/1"   (n0,r3)
/local/domain/3/console/port = "2"   (n0,r3)
/local/domain/3/console/ring-ref = "2154027"   (n0,r3)
/vm = ""   (n0)
/vm/7c786902-b024-e311-92ee-ac162d111edb = ""   (n0,r3)
/vm/7c786902-b024-e311-92ee-ac162d111edb/uuid =
"7c786902-b024-e311-92ee-ac162d111edb"   (n0,r3)
/vm/7c786902-b024-e311-92ee-ac162d111edb/name = "vm1"   (n0,r3)
/vm/7c786902-b024-e311-92ee-ac162d111edb/image = ""   (n0,r3)
/vm/7c786902-b024-e311-92ee-ac162d111edb/image/ostype = "linux"   (n0,r3)
/vm/7c786902-b024-e311-92ee-ac162d111edb/image/kernel =
"/netbsd-INSTALL_XEN3_DOMU"   (n0,r3)
/vm/7c786902-b024-e311-92ee-ac162d111edb/image/cmdline = "root=xbd0 "  
(n0,r3)
/vm/7c786902-b024-e311-92ee-ac162d111edb/start_time = "1379982412.46"  
(n0,r3)
/libxl = ""   (n0)
/libxl/3 = ""   (n0)
/libxl/3/dm-version = "qemu_xen"   (n0)


i tried with image and partition and also a second harddrive to assign to
domu but every time no storeage/disk into DOMU
my domu config 
test.cfg 

kernel = "/netbsd-INSTALL_XEN3_DOMU"
#kernel = "/home/xendomains/netbsd-XEN3_DOMU"
memory = 128
name = "vm1"
vcpus = 1
nics = 1
vif = [ 'bridge=bridge0' ]
disk = [ 'phy:/dev/wd0h,0x01,w' ]
#disk = [ 'file:/home/xendomains/disk.img,0x01,w' ]
#disk = [ 'phy:/dev/wd1e,0x01,w' ]
root = "xbd0"

and my dmesg from the DOM0 after starting a DOMU

NetBSD 6.99.23 (XEN3_DOM0) #0: Sun Sep 22 23:28:55 UTC 2013
        root@xxxxxxxxxxxx:/usr/src/sys/arch/amd64/compile/XEN3_DOM0
total memory = 65532 KB
avail memory = 47656 KB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0 apid 0
cpu1 at mainbus0 apid 2
cpu2 at mainbus0 apid 1
cpu3 at mainbus0 apid 3
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
hypervisor0 at mainbus0: Xen version 4.2.3
VIRQ_DEBUG interrupt using event channel 1
vcpu0 at hypervisor0: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
acpi0 at hypervisor0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <HPQOEM,SLIC-BPC,01072009>, AslId <AMI ,00010013>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
acpiec0 at acpi0 (H_EC, PNP0C09-1)acpiec0: unable to evaluate _GPE:
AE_NOT_FOUND
TPMX (PNP0C01) at acpi0 not configured
FWHD (INT0800) at acpi0 not configured
HPET (PNP0103) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
TIMR (PNP0100) at acpi0 not configured
CWDT (INT3F0D) at acpi0 not configured
SIO1 (PNP0C02) at acpi0 not configured
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12
RMSC (PNP0C02) at acpi0 not configured
UAR1 (PNP0501) at acpi0 not configured
TPM (IFX0102) at acpi0 not configured
PDRC (PNP0C02) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
MEM2 (PNP0C01) at acpi0 not configured
WMID (PNP0C14) at acpi0 not configured
FAN0 (PNP0C0B) at acpi0 not configured
FAN1 (PNP0C0B) at acpi0 not configured
FAN2 (PNP0C0B) at acpi0 not configured
FAN3 (PNP0C0B) at acpi0 not configured
FAN4 (PNP0C0B) at acpi0 not configured
acpitz0 at acpi0 (TZ00)
acpitz0: active cooling level 0: 71.0C
acpitz0: active cooling level 1: 55.0C
acpitz0: active cooling level 2: 0.0C
acpitz0: active cooling level 3: 0.0C
acpitz0: active cooling level 4: 0.0C
acpitz0: levels: critical 105.0 C
acpitz1 at acpi0 (TZ01): vcpu0
acpitz1: levels: critical 105.0 C, passive 95.0 C, passive cooling
pci0 at hypervisor0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x0100 (rev. 0x09)
vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x0102 (rev. 0x09)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
vendor 0x8086 product 0x1e31 (USB serial bus, interface 0x30, revision 0x04)
at pci0 dev 20 function 0 not configured
wm0 at pci0 dev 25 function 0: PCH2 LAN (82579LM) Controller (rev. 0x04)
wm0: interrupting at ioapic0 pin 20, event channel 3
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address ac:16:2d:11:1e:db
ihphy0 at wm0 phy 2: i82579 10/100/1000 media interface, rev. 3
ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x1e2d (rev. 0x04)
ehci0: interrupting at ioapic0 pin 16, event channel 4
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22, event channel 5
hdafg0 at hdaudio0: Realtek product 0221
hdafg0: DAC00 2ch: Speaker [Built-In]
hdafg0: DAC01 2ch: Speaker [Jack], HP Out [Jack]
hdafg0: ADC02 2ch: Line In [Jack], Mic In [Jack]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, independent
hdafg1 at hdaudio0: Intel product 2806
hdafg1: DP00 8ch: Digital Out [Jack]
hdafg1: 8ch/0ch 48000Hz PCM16*
ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x1e26 (rev. 0x04)
ehci1: interrupting at ioapic0 pin 23, event channel 6
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
ppb0 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xa4)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x1e48 (rev.
0x04)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x1e02 (rev.
0x04)
ahcisata0: interrupting at ioapic0 pin 19, event channel 7
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP
0xc730ff45<EMS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SALP,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 4
vendor 0x8086 product 0x1e22 (SMBus serial bus, revision 0x04) at pci0 dev
31 function 3 not configured
isa0 at ichlpcib0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality
10000
Xen clock: using event channel 8
xenbus0: using event channel 9
uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ahcisata0 port 0: device present, speed: 6.0Gb/s
ahcisata0 port 4: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0
wd0: <OCZ-AGILITY3>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 57241 MB, 116301 cyl, 16 head, 63 sec, 512 bytes/sect x 117231408
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133) (using DMA)
wd1 at atabus1 drive 0
wd1: <FUJITSU MHV2040BH PL>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(ahcisata0:4:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
(Ultra/100) (using DMA)
uhub2 at uhub0 port 1: vendor 0x8087 product 0x0024, class 9/0, rev
2.00/0.00, addr 2
uhub2: single transaction translator
uhub3 at uhub1 port 1: vendor 0x8087 product 0x0024, class 9/0, rev
2.00/0.00, addr 2
uhub3: single transaction translator
uhub2: 6 ports with 6 removable, self powered
uhub3: 8 ports with 8 removable, self powered
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
Your machine does not initialize mem_clusters; sparse_dumps disabled
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
balloon0 at xenbus0 id 0: Xen Balloon driver
balloon0: current reservation: 65532 KiB
balloon0: current reservation: 16383 pages => target: 16383 pages
xbdback backend/vbd/1/1: can't VOP_OPEN device 0x7: 16
xvif1i0: Ethernet address 00:16:3e:0f:a2:69
xvif1i0: disconnecting
xbd backend: attach device wd0h (size 20555073) for domain 2
xvif2i0: Ethernet address 00:16:3e:4e:8d:e6
xbd backend: detach device wd0h for domain 2
xvif2i0: disconnecting
xbd backend: attach device wd0h (size 20555073) for domain 3
xvif3i0: Ethernet address 00:16:3e:71:13:76


i hope i dont have forgotten to post 

i hope someone has the same problem with a resolution :) :) 
many thanks 
holgerfisch 



--
View this message in context: 
http://xen.1045712.n5.nabble.com/NetBSD-XEN4-DOMu-cant-find-any-storeage-disk-tp5718816.html
Sent from the Xen - User mailing list archive at Nabble.com.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.