Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 1997 19:22:12 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        scsi@FreeBSD.ORG
Cc:        bsdscsi@shadows.aeon.net (mika ruohotie)
Subject:   Re: no magic
Message-ID:  <19970509192212.XP35729@uriah.heep.sax.de>
In-Reply-To: <199705091406.RAA01013@shadows.aeon.net>; from mika ruohotie on May 9, 1997 17:06:01 %2B0300
References:  <199705091406.RAA01013@shadows.aeon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
As mika ruohotie wrote:

> uh, i did
> 
> disklabel -rw sd3 auto

Make this ``disklabel -Brw sd3 auto'', and you'll see the message only
once.

> disklabel -e sd3
> 
> for my new scsi drive as suggested on this list ages ago (i use 2.2-STABLE)
> but now even though the drive works, it tells me:
> 
> May  9 16:28:47 pluto /kernel: sd3: invalid primary partition table: no magic

This is a useless message for many people, and should be hidden behind
an #ifdef DEBUG (IMHO -- Bruce will certainly disagree :).

It basically means your disk was `blank', and didn't have 0x55aa at
the end of the very first sector.  Since the slice code believes all
disks must have slice (aka. fdisk) tables, it complains loudly.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970509192212.XP35729>