Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296915 - <=kernel-2.6.32: use wrong (static) sector size for EFI GPT -> unknown partition table
Summary: <=kernel-2.6.32: use wrong (static) sector size for EFI GPT -> unknown partit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-12-14 18:08 UTC by Kevin Zuber
Modified: 2009-12-27 18:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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