NetBSD-Users archive

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

Re: xenU install fails on newfs.



Manuel Bouyer wrote:
> On Mon, Aug 31, 2009 at 07:40:39AM -0400, Glen Johnson wrote:
>   
>> NetBSD-users,
>> I have Xen0 - NetBSD 5.0.1 running fine.  When I attempt to install a
>> XenU - NetBSD 5.0.1 I keep running into issues.  Just before the install
>> screen from sysinst is displayed a message xbd  IO domain 1: error 22
>> appears in the messages scrolling by.  Then the sysinst menu pops up and
>> everything appears to run fine until it comes time for newfs to do its
>> job and I get "wtfs: write error for sector 32: Rad-only file system".
>>     
>
> Do you have anything in 'dmesg' on the dom0 ?
>   
Attached is the dmesg.txt for dom0.  I don't see anything there that
seems out of place.

File /var/log/xen/xend-debug.log contains:
Xend started at Tue Sep  1 09:11:41 2009.
brctl: not found
brctl: not found

File /var/log/xen/xend.log contains:
[2009-09-01 09:11:41 248] INFO (SrvDaemon:331) Xend Daemon started
[2009-09-01 09:11:41 248] INFO (SrvDaemon:335) Xend changeset: unavailable.
[2009-09-01 09:11:41 248] INFO (SrvDaemon:342) Xend version: Unknown.
[2009-09-01 09:11:41 248] DEBUG (XendDomainInfo:132)
XendDomainInfo.recreate({'max_vcpu_id': 0, 'cpu_time': 20728732638L,
'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0,
'online_vcpus': 1, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1,
'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 262144L, 'handle':
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name':
'Domain-0'})
[2009-09-01 09:11:41 248] INFO (XendDomainInfo:149) Recreating domain 0,
UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
[2009-09-01 09:11:42 248] DEBUG (XendDomainInfo:2093) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image':
'(linux (kernel ))', 'on_poweroff': 'destroy', 'on_xend_start':
'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus':
'1', 'vcpu_avail': '1', 'name': 'Domain-0'}
[2009-09-01 09:11:42 248] DEBUG (XendDomainInfo:914) Storing domain
details: {'name': 'Domain-0', 'console/limit': '1048576', 'vm':
'/vm/00000000-0000-0000-0000-000000000000', 'domid': '0',
'cpu/0/availability': 'online', 'memory/target': '262144',
'control/platform-feature-multiprocessor-suspend': '1'}
[2009-09-01 09:11:42 248] DEBUG (XendDomain:434) Adding Domain: 0
[2009-09-01 09:11:42 248] DEBUG (XendDomain:379) number of vcpus to use is 0
[2009-09-01 09:11:42 248] DEBUG (XendDomainInfo:998)
XendDomainInfo.handleShutdownWatch
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call: VBD.set_device
not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call: VBD.set_type
not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call:
VM.get_auto_power_on not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call:
VM.set_auto_power_on not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call: debug.get_all
not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call:
console.get_other_config not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call:
console.set_other_config not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call:
VIF.get_network not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call: VIF.set_device
not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call: VIF.set_MAC
not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call: VIF.set_MTU
not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call:
session.get_all_records not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call:
event.get_record not found
[2009-09-01 09:11:42 248] WARNING (XendAPI:672) API call: event.get_all
not found
[2009-09-01 09:11:42 248] INFO (XMLRPCServer:149) Opening Unix domain
socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has
been disabled for this server.
[2009-09-01 09:11:42 248] INFO (XMLRPCServer:149) Opening Unix domain
socket XML-RPC server on /var/run/xend/xmlrpc.sock.
>   
>> Here is some background info on how I set things up.
>> The file system that XenU is supposed to use was generated by "dd
>> if=/dev/zero of=netbsd.img -bs=1024 count=2048 ; chmod 777 netbsd.img". 
>>     
>
> looks good. But you don't need the chmod (my disk images are 0600)
>   
The only reason I did chmod was because of the message which stated the
file system was read only when newfs failed.

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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.0.1 (XEN3_DOM0) #0: Thu Jul 30 01:39:06 UTC 2009
        
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/i386/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/i386/compile/XEN3_DOM0
total memory = 256 MB
avail memory = 240 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
mainbus0: scanning 0x9fc00 to 0x9fff0 for MP signature
mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xf9bf0
mainbus0: MP config table at 0xed7f0, 448 bytes long
cpu0 at mainbus0 apid 0: (boot processor)
ioapic0 at mainbus0 apid 8: pa 0xfec00000, virtual wire mode, version 20, 24 
pins
ioapic0: can't remap to apid 8
hypervisor0 at mainbus0: Xen version 3.1
vcpu0 at hypervisor0: Intel 686-class, 2392MHz, id 0xf27
debug virtual interrupt using event channel 1
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
npx0 at hypervisor0: using exception 16
acpi0 at hypervisor0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <COMPAQ,CPQ0051 ,20021230>, AslId <    ,00000000>
mpacpi: found root PCI bus 0 at level 1
mpacpi: found subordinate bus 5 at level 2
mpacpi: 2 PCI busses
mpacpi: ISA interrupt override 0 -> 2 (0/0)
mpacpi: ISA interrupt override 9 -> 9 (1/3)
mpacpi: configuring PCI bus 0 int routing
mpacpi: configuring PCI bus 5 int routing
ioapic0: pin 2 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 5 attached to isa0 irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 9 attached to isa0 irq 9 (type 0<type=0> flags d<pol=1=Act 
Hi,trig=3=Level>)
ioapic0: pin 10 attached to isa0 irq 10 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 11 attached to isa0 irq 11 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 13 attached to isa0 irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
ioapic0: pin 18 attached to pci0 device 31 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 31 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci0 device 29 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 19 attached to pci0 device 29 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 29 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci0 device 29 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 1 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 19 attached to pci0 device 1 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci0 device 2 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 2 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci5 device 4 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci5 device 4 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci5 device 4 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 22 attached to pci5 device 4 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci5 device 9 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci5 device 9 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 22 attached to pci5 device 9 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci5 device 9 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci5 device 10 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 22 attached to pci5 device 10 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci5 device 10 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci5 device 10 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 22 attached to pci5 device 11 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci5 device 11 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci5 device 11 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci5 device 11 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci5 device 13 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci5 device 13 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 22 attached to pci5 device 13 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci5 device 13 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci5 device 8 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int9 189a0<vector=a0,delmode=1,logical,level,masked,dest=0> 
1000000<target=1>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
NCP (PNP0C04) [Math Coprocessor] at acpi0 not configured
TIME (PNP0100) [AT Timer] at acpi0 not configured
SPKR (PNP0800) [AT-style speaker sound] at acpi0 not configured
PS2M (PNP0F13) [PS/2 Port for PS/2-style Mice] at acpi0 not configured
KBD (PNP0303) [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not 
configured
ECP0 (PNP0401) [ECP printer port] at acpi0 not configured
COM1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
COM2 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
FDC0 (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
APIC (PNP0003) [APIC] at acpi0 not configured
acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
pci0 at hypervisor0 bus 0: configuration mode 1
hypervisor0: added to list as bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82845G/GL DRAM Controller / Host-Hub I/F Bridge (rev. 0x01)
agp0 at pchb0: detected 8060k stolen memory
agp0: aperture at 0xf0000000, size 0x8000000
vga0 at pci0 dev 2 function 0: Intel 82845G/GL Integrated Graphics Device (rev. 
0x01)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
drm at vga0 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x01)
ioapic0: int16 1a9a8<vector=a8,delmode=1,logical,actlo,level,masked,dest=0> 
1000000<target=1>
uhci0: interrupting at ioapic0 pin 16, event channel 3
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x01)
ioapic0: int19 1a9b0<vector=b0,delmode=1,logical,actlo,level,masked,dest=0> 
1000000<target=1>
uhci1: interrupting at ioapic0 pin 19, event channel 4
usb1 at uhci1: USB revision 1.0
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x01)
ioapic0: int23 1a9b8<vector=b8,delmode=1,logical,actlo,level,masked,dest=0> 
1000000<target=1>
ehci0: interrupting at ioapic0 pin 23, event channel 5
ehci0: EHCI version 1.0
ehci0: wrong number of companions (3 != 2)
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
ppb0 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x81)
pci1 at ppb0 bus 5
ppb0: added to list as bus 5
pci1: i/o space, memory space enabled
fxp0 at pci1 dev 8 function 0: Intel PRO/100 VM Network Controller with 
82562EM/EX PHY, rev 129
ioapic0: int20 1a9c0<vector=c0,delmode=1,logical,actlo,level,masked,dest=0> 
1000000<target=1>
fxp0: interrupting at ioapic0 pin 20, event channel 6
fxp0: Ethernet address 00:0b:cd:be:10:7f
inphy0 at fxp0 phy 1: i82562EM 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
yds0 at pci1 dev 9 function 0: Yamaha 724F (DS-1) Audio (rev. 0x03)
ioapic0: int18 1a9c8<vector=c8,delmode=1,logical,actlo,level,masked,dest=0> 
1000000<target=1>
yds0: interrupting at ioapic0 pin 18, event channel 7
yds0: ac97: SigmaTel STAC9700 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at yds0: full duplex, mmap, independent
opl0 at yds0: model OPL3
midi0 at opl0: DS-1 integrated Yamaha OPL3 (CPU-intensive output)
mpu0 at yds0
midi1 at mpu0: Yamaha DS-1 MIDI UART (CPU-intensive output)
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: Intel 82801DB LPC Interface Bridge (rev. 0x01)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DB IDE Controller (ICH4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
ioapic0: int14 9d0<vector=d0,delmode=1,logical,dest=0> 1000000<target=1>
piixide0: primary channel interrupting at ioapic0 pin 14, event channel 8
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
ioapic0: int15 9d8<vector=d8,delmode=1,logical,dest=0> 1000000<target=1>
piixide0: secondary channel interrupting at ioapic0 pin 15, event channel 9
atabus1 at piixide0 channel 1
isa0 at ichlpcib0
lpt0 at isa0 port 0x378-0x37b irq 7
ioapic0: int7 921<vector=21,delmode=1,logical,dest=0> 1000000<target=1>
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
ioapic0: int3 929<vector=29,delmode=1,logical,dest=0> 1000000<target=1>
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
ioapic0: int1 931<vector=31,delmode=1,logical,dest=0> 1000000<target=1>
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
ioapic0: int12 939<vector=39,delmode=1,logical,dest=0> 1000000<target=1>
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Xen clock: using event channel 14
timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality 10000
xenbus0: using event channel 15
uhub0 at usb0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
wd0 at atabus0 drive 0: <SAMSUNG SV0802N>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76351 MB, 155127 cyl, 16 head, 63 sec, 512 bytes/sect x 156368016 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 1: <LITE-ON LTR-48126S, , 2QS5> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
raidattach: Asked for 8 units
Kernelized RAIDframe activated
Searching for RAID components...
boot device: wd0
root on wd0a dumps on wd0b
dump_misc_init: max_paddr = 0x10000000
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
wsdisplay0: screen 4 added (80x25, vt100 emulation)


Home | Main Index | Thread Index | Old Index