DragonFly BSD
DragonFly users List (threaded) for 2013-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Disklabel: label magic number or checksum is wrong!


From: william opensource4you <william.os4y@xxxxxxxxx>
Date: Thu, 9 May 2013 11:41:52 +0200

--20cf3071c7ce42942b04dc45dc41
Content-Type: text/plain; charset=ISO-8859-1

Hello,

Here a strange output coming from Disklabel.
On openbsd and fedora it works, but not on DF ??!!

I've even clean totally the disk, but the results are the same:
In fedora:
- dd if=/dev/zero of=/dev/sdc
- fdisk to create 1 primary partition
- mkdosfs -F32 /dev/sdc1

Does this is linked to the linux's fdisk ?

I think the USB stick is not corrupt because it works wih other OS. But
maybe DF is more rigorous ?

Any ideas ?

Thanks




On DFBsd-3.4.1:
-------------------------
dfly# uname -a
DragonFly dfly 3.4-RELEASE DragonFly v3.4.1-RELEASE #1: Wed Apr 24 19:18:32
PDT 2013     root@pkgbox32.dragonflybsd.org:/usr/obj/build/home/justin/src/sys/GENERIC
 i386


dfly# disklabel32 /dev/da8s1
disklabel32: ioctl DIOCGDINFO32: label magic number or checksum is wrong!
(disklabel or kernel is out of date?)
dfly# disklabel64 /dev/da8s1
disklabel64: ioctl DIOCGDINFO64: label magic number or checksum is wrong!
(disklabel or kernel is out of date?)




On OpenBSD-5.3 (i386):
------------------------------------
# disklabel sd0


# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: USB DISK 2.0
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 475
total sectors: 7634944
boundstart: 0
boundend: 7634944
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:          7634944                0  unused
  i:          7632896             2048   MSDOS

--20cf3071c7ce42942b04dc45dc41
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,=A0<div><br></div><div>Here a strange output coming =
from Disklabel.=A0</div><div>On openbsd and fedora it works, but not on DF =
??!!</div><div><br></div><div>I&#39;ve even clean totally the disk, but the=
 results are the same:</div>

<div>In fedora:</div><div>- dd if=3D/dev/zero of=3D/dev/sdc</div><div>- fdi=
sk to create 1 primary partition</div><div>- mkdosfs -F32 /dev/sdc1</div><d=
iv><br></div><div>Does this is linked to the linux&#39;s fdisk ?</div>
<div><br></div><div>I think the USB stick is not corrupt because it works w=
ih other OS. But maybe DF is more rigorous ?</div><div><br></div><div>Any i=
deas ?</div><div><br></div><div>Thanks</div>
<div><br></div><div><br></div><div><br></div><div><br></div><div>On DFBsd-3=
.4.1:</div><div>-------------------------</div><div><div>dfly# uname -a</di=
v><div>DragonFly dfly 3.4-RELEASE DragonFly v3.4.1-RELEASE #1: Wed Apr 24 1=
9:18:32 PDT 2013 =A0 =A0 root@pkgbox32.dragonflybsd.org:/usr/obj/build/home=
/justin/src/sys/GENERIC =A0i386</div>


<div><br></div></div><div><br></div><div>dfly# disklabel32 /dev/da8s1<br></=
div><div><div>disklabel32: ioctl DIOCGDINFO32: label magic number or checks=
um is wrong!</div><div>(disklabel or kernel is out of date?)</div>
<div>dfly# disklabel64 /dev/da8s1</div><div>disklabel64: ioctl DIOCGDINFO64=
: label magic number or checksum is wrong!</div><div>(disklabel or kernel i=
s out of date?)</div><div><br></div></div><div><br></div><div>
<br></div><div><br></div><div>On OpenBSD-5.3 (i386):</div><div>------------=
------------------------</div><div># disklabel sd0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0<br></di=
v><div>

<div><div><br></div><div># /dev/rsd0c:</div><div>type: SCSI</div><div>disk:=
 SCSI disk</div><div>label: USB DISK 2.0 =A0 =A0</div><div>duid: 0000000000=
000000</div><div>flags:</div><div>bytes/sector: 512</div><div>sectors/track=
: 63</div>

<div>tracks/cylinder: 255</div><div>sectors/cylinder: 16065</div><div>cylin=
ders: 475</div><div>total sectors: 7634944</div><div>boundstart: 0</div><di=
v>boundend: 7634944</div><div>drivedata: 0=A0</div><div><br></div><div>16 p=
artitions:</div>

<div># =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0size =A0 =A0 =A0 =A0 =A0 offset =A0fs=
type [fsize bsize =A0cpg]</div><div>=A0 c: =A0 =A0 =A0 =A0 =A07634944 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A00 =A0unused =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0</div><div>=A0 i: =A0 =A0 =A0 =A0 =A07632896 =A0 =A0 =A0 =A0 =A0 =A0 204=
8 =A0 MSDOS =A0</div></div><div>

<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div=
>

</div>

--20cf3071c7ce42942b04dc45dc41--



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