Port-xen archive

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

Re: current dom0 panic on domu launch



On 5/10/2009 11:45 PM, Christoph Egger wrote:
rcx is 0, so this is a NULL-pointer dereference.

What is the output of

    gdb netbsd.gdb
    (gdb) list *(0xffffffff805651f3)

?

gdb /usr/src/sys/arch/amd64/compile/obj/XEN3_DOM0/netbsd.gdb

(gdb) list *(0xffffffff805651f3)
0xffffffff805651f3 is in sdioctl (/usr/src/sys/dev/scsipi/sd.c:1191).
1186 * XXX Do we really need to care about having a writable
1187                     * file descriptor here?
1188                     */
1189                    if ((flag & FWRITE) == 0)
1190                            return (EBADF);
1191 if (((sd->flags & SDF_DIRTY) != 0 || *(int *)addr != 0)) {
1192                            error = sd_flush(sd, 0);
1193                            if (error)
1194                                    sd->flags &= ~SDF_FLUSHING;
1195                            else

Sarton


Home | Main Index | Thread Index | Old Index