Re: Regression parsing GPT (EFI) partition tables

2013-10-10 Thread Doug Anderson
Davidlohr, On Thu, Oct 10, 2013 at 3:31 PM, Davidlohr Bueso wrote: > Then you should *really* use the force_gpt option, which is there to > bypass any MBR checks, and you can avoid issues like this :) > > Anyway, this is still a regression and I believe we can go ahead and > just warn the user ab

Re: Regression parsing GPT (EFI) partition tables

2013-10-10 Thread Davidlohr Bueso
On Thu, 2013-10-10 at 15:29 -0700, Doug Anderson wrote: > Hi, [...] > > Do you happen to know what tool was used to create the GPT partition(s)? > > I ask because it is up to the partitioning program to set sz correctly, > > and most if not all set it to either the disk size - 1 or 0x. > >

Re: Regression parsing GPT (EFI) partition tables

2013-10-10 Thread Davidlohr Bueso
On Thu, 2013-10-10 at 14:53 -0700, Bill Richardson wrote: > I'm about to go offline for a week, but here are some thoughts. > > The GPT spec is over-constrained. It says that the secondary GPT > header must be in the last LBA of the disk, yet it also says that both > primary and secondary headers

Re: Regression parsing GPT (EFI) partition tables

2013-10-10 Thread Doug Anderson
Hi, On Thu, Oct 10, 2013 at 2:26 PM, Davidlohr Bueso wrote: > On Thu, 2013-10-10 at 13:15 -0700, Doug Anderson wrote: >> Hi, >> >> Just ran into this same problem and tracked it down to the same >> commit. Luckily Sean found this thread. :) >> >> On Wed, Oct 9, 2013 at 5:37 PM, Davidlohr Bueso

Re: Regression parsing GPT (EFI) partition tables

2013-10-10 Thread Bill Richardson
I'm about to go offline for a week, but here are some thoughts. The GPT spec is over-constrained. It says that the secondary GPT header must be in the last LBA of the disk, yet it also says that both primary and secondary headers must point to each other using their AlternateLBA fields. We don't n

Re: Regression parsing GPT (EFI) partition tables

2013-10-10 Thread Davidlohr Bueso
On Thu, 2013-10-10 at 13:15 -0700, Doug Anderson wrote: > Hi, > > Just ran into this same problem and tracked it down to the same > commit. Luckily Sean found this thread. :) > > On Wed, Oct 9, 2013 at 5:37 PM, Davidlohr Bueso wrote: > > Hi Josh, > > > > On Wed, 2013-10-09 at 16:26 -0700, Josh

Re: Regression parsing GPT (EFI) partition tables

2013-10-10 Thread Doug Anderson
Hi, Just ran into this same problem and tracked it down to the same commit. Luckily Sean found this thread. :) On Wed, Oct 9, 2013 at 5:37 PM, Davidlohr Bueso wrote: > Hi Josh, > > On Wed, 2013-10-09 at 16:26 -0700, Josh Triplett wrote: >> When testing ChromeOS with a 3.12 kernel from git, I e

Re: Regression parsing GPT (EFI) partition tables

2013-10-09 Thread Davidlohr Bueso
Hi Josh, On Wed, 2013-10-09 at 16:26 -0700, Josh Triplett wrote: > When testing ChromeOS with a 3.12 kernel from git, I encountered a > regression introduced between 3.11 to 3.12: at boot time, the kernel > failed to find any partitions on the USB disk I booted from, which uses > a GPT partition t