NetBSD-Bugs archive

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

Re: port-xen/48125: dom0 panic during domU creation attempt



On Thu, Aug 15, 2013 at 12:55:01PM +0000, Andreas Gustafsson wrote:
> I have an amd64 machine running Xen 4.1.4 with a NetBSD 6.0.1 dom0.
> It is successfully hosting one NetBSD 5.2 i386PAE domU residing
> on a physical disk (as in disk = [ 'phy:/dev/wd1d,0x1,w' ]).
> 
> I have been trying to create a second domU "bloute" which unlike the
> existing domU would reside in a disk image file in the dom0 file
> system.
> 
> So far, all my attempts have failed; when I run "xl create -c
> /usr/pkg/etc/xen/bloute" I get the error message "xenconsole: Could
> not read tty from store: No such file or directory".

should not be a problem.

> However, the
> subject of this bug report is not the failure to create the domU, but
> the more serious problem that one of my attempts triggered a panic
> in the dom0.
> 
> The contents of the configuration file /usr/pkg/etc/xen/bloute were:
> 
>   kernel = "/root/netbsd-XEN3PAE_DOMU-5.2"
>   memory = 512
>   name = "bloute"
>   vcpus = 1
>   nics = 1
>   vif = [ 'mac=00:0c:29:90:62:eb, bridge=bridge0' ]
>   disk= [ 'file:/root/bloute.img,xvda,w' ]
>   root = "xbd0a"
> 
> The following output appeared on the console:
> 
>    Aug 15 10:19:29 gusto xenbackendd[438]: Failed to read 
> /local/domain/0/backend/qdisk/19/51712/script (No such file or directory)
>    Aug 15 10:19:29 gusto xenbackendd[438]: Failed to read 
> /local/domain/0/backend/console/19/0/script (No such file or directory)
>    uvm_fault(0xffffa000057b8a60, 0x0, 1) -> e
>    fatal page fault in supervisor mode
>    trap type 6 code 0 rip ffffffff806d0b68 cs e030 rflags 10246 cr2  8 cpl 0 
> rsp ffffa0005bb3da20
>    panic: trap
>    cpu0: Begin traceback...
>    printf_nolog() at netbsd:printf_nolog
>    startlwp() at netbsd:startlwp
>    alltraps() at netbsd:alltraps+0x9f
>    kernfs_try_fileop() at netbsd:kernfs_try_fileop+0x64
>    VOP_WRITE() at netbsd:VOP_WRITE+0x3c
>    vn_write() at netbsd:vn_write+0xf9
>    dofilewrite() at netbsd:dofilewrite+0x7d
>    sys_write() at netbsd:sys_write+0x62
>    syscall() at netbsd:syscall+0xc4
>    cpu0: End traceback...

Is the file sparse ? What mount options for this filesystem do you have ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index