Re: FreeBSD 9 "gptboot: invalid backup GPT header" error (boots fine though)

2012-05-09 Thread Adam Strohl

On 5/2/2012 23:08, Andrey V. Elsukov wrote:

On 02.05.2012 17:53, Adam Strohl wrote:

% gpart recover da0


Good thought, but no dice:

$ gpart recover da0
da0 recovering is not needed


I already saw several reports about gptboot's complains on 3ware
controllers, but don't know what is the problem.
The only guess is that a controller incorrectly handles BIOS requests,
when gptboot tries to read GPT header from the end of a large virtual disk.



Thanks for your input on this Andrey.  Just to clarify I am assuming 
that "da0 recovering is not needed" means that gpart has no problem 
reading and verifying the backup GPT header?


(which is why its probably the BIOS for the RAID controller as the GPT 
is actually intact)

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 9 "gptboot: invalid backup GPT header" error (boots fine though)

2012-05-02 Thread Andrey V. Elsukov
On 02.05.2012 17:53, Adam Strohl wrote:
>> % gpart recover da0 
> 
> Good thought, but no dice:
> 
> $ gpart recover da0
> da0 recovering is not needed

I already saw several reports about gptboot's complains on 3ware
controllers, but don't know what is the problem.
The only guess is that a controller incorrectly handles BIOS requests,
when gptboot tries to read GPT header from the end of a large virtual disk.

-- 
WBR, Andrey V. Elsukov
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 9 "gptboot: invalid backup GPT header" error (boots fine though)

2012-05-02 Thread Adam Strohl


On 5/2/2012 20:46, Mark Saad wrote:
Did you try to repair the header ? I saw a similar issue on upgraded 
boxes that were 7-STABLE upgraded to 9-STABLE. and recovering made the 
warning go away . I may be way off here but just my 2 cents .


% gpart recover da0 


Good thought, but no dice:

$ gpart recover da0
da0 recovering is not needed
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 9 "gptboot: invalid backup GPT header" error (boots fine though)

2012-05-02 Thread Mark Saad
On Wed, May 2, 2012 at 5:03 AM, Adam Strohl
 wrote:
> Thanks Andrey,
>
> I've just recompiled /boot/gptboot after updating gpt.c and installed it
> via:
>
> gpart bootcode -p /boot/gptboot -i 1 da0
>
> I still see "gptboot: invalid backup GPT header" on boot (but it does still
> boot).
>
>
> On 5/2/2012 12:58, Andrey V. Elsukov wrote:
>>
>> On 30.04.2012 23:14, Adam Strohl wrote:
>>>
>>> da0 at tws0 bus 0 scbus0 target 0 lun 0
>>> da0:  Fixed Direct Access SCSI-5 device
>>> da0: 6000.000MB/s transfers
>>> da0: 2860992MB (5859311616 512 byte sectors: 255H 63S/T 364725C)
>>>
>>>
>>> Let me know anyone wants to see anything else/has seen this/has any
>>> theories!
>>
>>
>> Can you try patch from the r234693, update and reinstall gptboot, does it
>> help?
>>        http://svnweb.freebsd.org/base?view=revision&revision=234693
>>

Did you try to repair the header ? I saw a similar issue on upgraded
boxes that were 7-STABLE upgraded to 9-STABLE. and recovering made the
warning go away . I may be way off here but just my 2 cents .

% gpart recover da0




-- 
mark saad | nones...@longcount.org


-- 
mark saad | nones...@longcount.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 9 "gptboot: invalid backup GPT header" error (boots fine though)

2012-05-02 Thread Adam Strohl

Thanks Andrey,

I've just recompiled /boot/gptboot after updating gpt.c and installed it 
via:


gpart bootcode -p /boot/gptboot -i 1 da0

I still see "gptboot: invalid backup GPT header" on boot (but it does 
still boot).


On 5/2/2012 12:58, Andrey V. Elsukov wrote:

On 30.04.2012 23:14, Adam Strohl wrote:

da0 at tws0 bus 0 scbus0 target 0 lun 0
da0:  Fixed Direct Access SCSI-5 device
da0: 6000.000MB/s transfers
da0: 2860992MB (5859311616 512 byte sectors: 255H 63S/T 364725C)


Let me know anyone wants to see anything else/has seen this/has any theories!


Can you try patch from the r234693, update and reinstall gptboot, does it help?
http://svnweb.freebsd.org/base?view=revision&revision=234693


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 9 "gptboot: invalid backup GPT header" error (boots fine though)

2012-05-01 Thread Andrey V. Elsukov
On 30.04.2012 23:14, Adam Strohl wrote:
> da0 at tws0 bus 0 scbus0 target 0 lun 0
> da0:  Fixed Direct Access SCSI-5 device
> da0: 6000.000MB/s transfers
> da0: 2860992MB (5859311616 512 byte sectors: 255H 63S/T 364725C)
> 
> 
> Let me know anyone wants to see anything else/has seen this/has any theories!

Can you try patch from the r234693, update and reinstall gptboot, does it help?
http://svnweb.freebsd.org/base?view=revision&revision=234693

-- 
WBR, Andrey V. Elsukov
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"