Date: Tue, 1 Oct 2002 19:45:21 +0300 (EEST) From: Adrian Penisoara <ady@freebsd.ady.ro> To: freebsd-hackers@freebsd.org Subject: "Impossible" error: fixlabel: invalid magic Message-ID: <Pine.BSF.4.10.10210011939540.53195-100000@ady.warpnet.ro>
next in thread | raw e-mail | index | archive | help
Hi,
Wehever I try to change the disklabel for da2s2 or try to directy
write to /dev/da2s2 if fails and prints this weird error:
dscheck(#da/0x30012): fixlabel: invalid magic
Grep'ing the error message in the sources it leads to this snipped of
code in kern/subr_diskslice.c in function fixlabel() (line 855):
/* These errors "can't happen" so don't bother reporting details. */
if (lp->d_magic != DISKMAGIC || lp->d_magic2 != DISKMAGIC)
return ("fixlabel: invalid magic");
if (dkcksum(lp) != 0)
return ("fixlabel: invalid checksum");
Could someone please reveal the mistery behind this "vodoo" code ?
Any cause leading to this ?
Thanks,
Ady (@freebsd.ady.ro)
____________________________________________________________________
| An age is called Dark not because the light fails to shine, but |
| because people refuse to see it. |
| -- James Michener, "Space" |
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10210011939540.53195-100000>
