Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2010 00:10:04 GMT
From:      Alexander Best <alexbestms@wwu.de>
To:        freebsd-geom@FreeBSD.org
Subject:   Re: kern/144962: [geom] panic when accessing GPT disk with a large number of entries
Message-ID:  <201003230010.o2N0A4P7093400@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/144962; it has been noted by GNATS.

From: Alexander Best <alexbestms@wwu.de>
To: <bug-followup@FreeBSD.org>
Cc: Bruce Cran <bruce@cran.org.uk>
Subject: Re: kern/144962: [geom] panic when accessing GPT disk with a large
 number of entries
Date: Tue, 23 Mar 2010 01:09:01 +0100 (CET)

 tried this too under HEAD (r205390):
 
 `gpart create -s gpt -n 1000000 /dev/da0` gave me "gpart: provider: No space
 left on device" so i did `gpart create -s gpt -n 1000000 /dev/da0` instead
 which worked. reattaching the device caused no problem.
 
 when i tried to create a label with `glabel label usb da0` i got:
 
 GEOM: da0: the secondary GPT table is corrupt or invalid.
 GEOM: da0: using the primary only -- recovery suggested.
 GEOM: da0: the secondary GPT table is corrupt or invalid.
 GEOM: da0: using the primary only -- recovery suggested.
 GEOM: label/usb: the secondary GPT table is corrupt or invalid.
 GEOM: label/usb: using the primary only -- recovery suggested.
 
 seems -n 1000000 is not enough to fill up kernel virtual memory in my case.
 
 -- 
 Alexander Best



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