Bug 682928 - [RFE] support 4 kilobyte logical sector harddisks
Summary: [RFE] support 4 kilobyte logical sector harddisks
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: parted
Version: 5.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 726399 726828
TreeView+ depends on / blocked
 
Reported: 2011-03-08 02:45 UTC by Qian Cai
Modified: 2011-08-18 21:45 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-18 21:45:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Qian Cai 2011-03-08 02:45:25 UTC
Description of problem:
There is currently a limitation,
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/5.6_Technical_Notes/index.html#id2194456

"4 kilobyte physical sectors, 4 kilobyte logical sector harddisks
    4 kilobyte physical sectors, 4 kilobyte logical sector harddisks require firmware and software modifications to function. This type of 4 kilobytes sector disks is currently not supported in Red Hat Enterprise Linux 5"

However, there is an USB 3.0 storage device (3T in size) but found it is not working in RHEL5 due to its 4k logical sector size (not even been able to make partitions). Since there were a couple of BZs to support new systems with USB 3.0 controllers (running in 2.0 mode) have been approved in 5.7 already. Suspect that it is going to cause support issues afterwards when customers are starting to use USB 3.0 devices for 5.7.

Version-Release number of selected component (if applicable):
parted-1.8.1-27.el5

How reproducible:
always

Steps to Reproduce:
# parted /dev/sdb
Warning: Device /dev/sdb has a logical sector size of 4096.  Not all parts of GNU Parted support this at the moment, and the working code is HIGHLY
EXPERIMENTAL.

GNU Parted 1.8.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) mklabel                                                          
New disk label type?                                                      
aix    amiga  bsd    dvh    gpt    loop   mac    msdos  sun    
New disk label type? gpt
*** glibc detected *** <unknown>: double free or corruption (out): 0x00000000011dd000 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3d27c7245f]
/lib64/libc.so.6(cfree+0x4b)[0x3d27c728bb]
/usr/lib64/libparted-1.8.so.0[0x305e21a725]
/usr/lib64/libparted-1.8.so.0[0x305e248c84]
======= Memory map: ========
00400000-00410000 r-xp 00000000 fd:01 11960328                           /sbin/parted
00610000-00611000 rw-p 00010000 fd:01 11960328                           /sbin/parted
00611000-00612000 rw-p 00611000 00:00 0 
00810000-00812000 rw-p 00010000 fd:01 11960328                           /sbin/parted
011b9000-0121c000 rw-p 011b9000 00:00 0                                  [heap]
305de00000-305de03000 r-xp 00000000 fd:01 34406402                       /lib64/libuuid.so.1.2
305de03000-305e003000 ---p 00003000 fd:01 34406402                       /lib64/libuuid.so.1.2
305e003000-305e004000 rw-p 00003000 fd:01 34406402                       /lib64/libuuid.so.1.2
305e200000-305e25d000 r-xp 00000000 fd:01 12301929                       /usr/lib64/libparted-1.8.so.0.0.1
305e25d000-305e45c000 ---p 0005d000 fd:01 12301929                       /usr/lib64/libparted-1.8.so.0.0.1
305e45c000-305e460000 rw-p 0005c000 fd:01 12301929                       /usr/lib64/libparted-1.8.so.0.0.1
305e460000-305e461000 rw-p 305e460000 00:00 0 
3d27800000-3d2781c000 r-xp 00000000 fd:01 34406706                       /lib64/ld-2.5.so
3d27a1b000-3d27a1c000 r--p 0001b000 fd:01 34406706                       /lib64/ld-2.5.so
3d27a1c000-3d27a1d000 rw-p 0001c000 fd:01 34406706                       /lib64/ld-2.5.so
3d27c00000-3d27d4e000 r-xp 00000000 fd:01 34406707                       /lib64/libc-2.5.so
3d27d4e000-3d27f4e000 ---p 0014e000 fd:01 34406707                       /lib64/libc-2.5.so
3d27f4e000-3d27f52000 r--p 0014e000 fd:01 34406707                       /lib64/libc-2.5.so
3d27f52000-3d27f53000 rw-p 00152000 fd:01 34406707                       /lib64/libc-2.5.so
3d27f53000-3d27f58000 rw-p 3d27f53000 00:00 0 
3d28000000-3d28082000 r-xp 00000000 fd:01 34406718                       /lib64/libm-2.5.so
3d28082000-3d28281000 ---p 00082000 fd:01 34406718                       /lib64/libm-2.5.so
3d28281000-3d28282000 r--p 00081000 fd:01 34406718                       /lib64/libm-2.5.so
3d28282000-3d28283000 rw-p 00082000 fd:01 34406718                       /lib64/libm-2.5.so
3d28400000-3d28402000 r-xp 00000000 fd:01 34406708                       /lib64/libdl-2.5.so
3d28402000-3d28602000 ---p 00002000 fd:01 34406708                       /lib64/libdl-2.5.so
3d28602000-3d28603000 r--p 00002000 fd:01 34406708                       /lib64/libdl-2.5.so
3d28603000-3d28604000 rw-p 00003000 fd:01 34406708                       /lib64/libdl-2.5.so
3d29400000-3d2943b000 r-xp 00000000 fd:01 34406723                       /lib64/libsepol.so.1
3d2943b000-3d2963b000 ---p 0003b000 fd:01 34406723                       /lib64/libsepol.so.1
3d2963b000-3d2963c000 rw-p 0003b000 fd:01 34406723                       /lib64/libsepol.so.1
3d2963c000-3d29646000 rw-p 3d2963c000 00:00 0 
3d29800000-3d29815000 r-xp 00000000 fd:01 34406724                       /lib64/libselinux.so.1
3d29815000-3d29a15000 ---p 00015000 fd:01 34406724                       /lib64/libselinux.so.1
3d29a15000-3d29a17000 rw-p 00015000 fd:01 34406724                       /lib64/libselinux.so.1
3d29a17000-3d29a18000 rw-p 3d29a17000 00:00 0 
3d29c00000-3d29c35000 r-xp 00000000 fd:01 12292290                       /usr/lib64/libreadline.so.5.1
3d29c35000-3d29e34000 ---p 00035000 fd:01 12292290                       /usr/lib64/libreadline.so.5.1
3d29e34000-3d29e3c000 rw-p 00034000 fd:01 12292290                       /usr/lib64/libreadline.so.5.1
3d29e3c000-3d29e3d000 rw-p 3d29e3c000 00:00 0 
3d36e00000-3d36e0d000 r-xp 00000000 fd:01 34406719                       /lib64/libgcc_s-4.1.2-20080825.so.1
3d36e0d000-3d3700d000 ---p 0000d000 fd:01 34406719                       /lib64/libgcc_s-4.1.2-20080825.so.1
3d3700d000-3d3700e000 rw-p 0000d000 fd:01 34406719                       /lib64/libgcc_s-4.1.2-20080825.so.1
3d3aa00000-3d3aa4f000 r-xp 00000000 fd:01 12304238                       /usr/lib64/libncurses.so.5.5
3d3aa4f000-3d3ac4e000 ---p 0004f000 fd:01 12304238                       /usr/lib64/libncurses.so.5.5
3d3ac4e000-3d3ac5c000 rw-p 0004e000 fd:01 12304238                       /usr/lib64/libncurses.so.5.5
3d3ac5c000-3d3ac5d000 rw-p 3d3ac5c000 00:00 0 
3eab000000-3eab020000 r-xp 00000000 fd:01 34406746                       /lib64/libdevmapper.so.1.02
3eab020000-3eab220000 ---p 00020000 fd:01 34406746                       /lib64/libdevmapper.so.1.02
3eab220000-3eab222000 rw-p 00020000 fd:01 34406746                       /lib64/libdevmapper.so.1.02
2aadd0789000-2aadd078b000 rw-p 2aadd0789000 00:00 0 
2aadd079b000-2aadd07a0000 rw-p 2aadd079b000 00:00 0 
2aadd07a0000-2aadd3d7a000 r--p 00000000 fd:01 12291622                   /usr/lib/locale/locale-archive
2aadd3d7a000-2aadd3d81000 r--s 00000000 fd:01 12386563                   /usr/lib64/gconv/gconv-modules.cache
2aadd3d81000-2aadd3d82000 rw-p 2aadd3d81000 00:00 0 
7fff058b1000-7fff058c6000 rw-p 7ffffffe9000 00:00 0                      [stack]
7fff058e3000-7fff058e7000 r-xp 7fff058e3000 00:00 0                      [vdso]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vsyscall]
Aborted

Comment 2 David Cantrell 2011-08-18 21:27:38 UTC
This needs to be a known limitation of RHEL-5.  The code to support 4K logical sector size disks in parted is upstream and should, if it hasn't already, make its way in to RHEL-6.  We are unable to backport this to RHEL-5, the only option is to rebase parted.  And that's something we cannot do this late in the RHEL-5 stream.

Comment 3 RHEL Program Management 2011-08-18 21:45:06 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.