diff --git a/sys/dev/raid/vinum/vinumconfig.c b/sys/dev/raid/vinum/vinumconfig.c index 3b926f3..88eb7fa 100644 --- a/sys/dev/raid/vinum/vinumconfig.c +++ b/sys/dev/raid/vinum/vinumconfig.c @@ -957,6 +957,7 @@ config_drive(int update) throw_rude_remark(EINVAL, "Drive has no name\n"); driveno = find_drive(token[1], 1); /* allocate a drive to initialize */ drive = &DRIVE[driveno]; /* and get a pointer */ + kprintf("vinum[%s] drive %d drive %p - vnode is %p\n", __func__, driveno, drive, drive->vp); if (update && ((drive->flags & VF_NEWBORN) == 0)) /* this drive exists already */ return; /* don't do anything */ drive->flags &= ~VF_NEWBORN; /* no longer newly born */ diff --git a/sys/dev/raid/vinum/vinumio.c b/sys/dev/raid/vinum/vinumio.c index 14b5c19..2dd56ce 100644 --- a/sys/dev/raid/vinum/vinumio.c +++ b/sys/dev/raid/vinum/vinumio.c @@ -327,7 +327,9 @@ read_drive_label(struct drive *drive, int verbose) int result; struct vinum_hdr *vhdr; + kprintf("vinum[%s]: vnode is %p\n", __func__, drive->vp); error = init_drive(drive, 0); /* find the drive */ + kprintf("vinum[%s]: vnode is %p\n", __func__, drive->vp); if (error) /* find the drive */ return DL_CANT_OPEN; /* not ours */