Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 296915

Summary: <=kernel-2.6.32: use wrong (static) sector size for EFI GPT -> unknown partition table
Product: Gentoo Linux Reporter: Kevin Zuber <2009_Kev_Gentoo>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=fs/partitions/efi.c;h=038a6022152fd15d84fb48b70fab816b971a8f7e;hb=HEAD
Whiteboard:
Package list:
Runtime testing required: ---

Description Kevin Zuber 2009-12-14 18:08:41 UTC
The kernel (gentoo and vanilla) is using the wrong sector size for EFI GPT.
It uses strictly 512-byte sectors but it should be based on the logical block size.

Reproducible: Always

Steps to Reproduce:
1. Make a GPT with a non 512 Sector size
2. Attach the drive to a gentoo based system
3. dmesg

Actual Results:  
unknown partition table

Expected Results:  
use it as /dev/sdXY

You can get more information on this problem and a fix on linus' repo:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7d13af3279985f554784a45cc961f706dbcdbdd1
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=87038c2d5bda2418fda8b1456a0ae81cc3ff5bd8
Comment 1 Mike Pagano gentoo-dev 2009-12-19 18:58:34 UTC
Can you/Have you applied those two patches referenced in your decription and determined if they fix the issue?
Comment 2 Mike Pagano gentoo-dev 2009-12-19 19:12:04 UTC
I added this to our SVN but I don't want to release a new kernel with it until I hear from your it works.

Thanks
Comment 3 Mike Pagano gentoo-dev 2009-12-27 18:16:02 UTC
Released in gentoo-sources-2.6.32-r1