Bug 15759 - drakx doesn't like the partitioning of the HP Stream 7
Summary: drakx doesn't like the partitioning of the HP Stream 7
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Pascal Terjan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-23 22:42 CEST by Pascal Terjan
Modified: 2015-04-30 21:47 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Screenshot when the test is disabled (176.45 KB, image/png)
2015-04-23 23:59 CEST, Pascal Terjan
Details

Description Pascal Terjan 2015-04-23 22:42:45 CEST
<6>[    5.129455] mmc0: BKOPS_EN bit is not set
<6>[    5.143142] mmc0: new HS200 MMC card at address 0001
<4>[    5.150194] Driver 'mmcblk' needs updating - please use bus_type methods
<6>[    5.150556] mmcblk0: mmc0:0001 HBG4e 29.1 GiB 
<6>[    5.151498] mmcblk0boot0: mmc0:0001 HBG4e partition 1 4.00 MiB
<6>[    5.152165] mmcblk0boot1: mmc0:0001 HBG4e partition 2 4.00 MiB
<6>[    5.152730] mmcblk0rpmb: mmc0:0001 HBG4e partition 3 4.00 MiB
<6>[    5.158394]  mmcblk0: p1 p2 p3 p4


* HDIO_GETGEO on /dev/mmcblk0 succeeded: heads=4 sectors=16 cylinders=36864 start=0
* id2hd: 0x1e1f4777=>mmcblk0
* id2edd: 
* test_for_bad_drives(/dev/mmcblk0 on sector #15)
* found a gpt partition table on /dev/mmcblk0 at sector 0
* running: blkid -o udev -p /dev/mmcblk0
* running: blkid -o udev -p /dev/mmcblk0p1
* blkid gave: vfat 2868-53B2 
* running: blkid -o udev -p /dev/mmcblk0p2
* running: blkid -o udev -p /dev/mmcblk0p3
* running: blkid -o udev -p /dev/mmcblk0p4
* blkid gave: ntfs-3g 626A20CF6A20A1B1 Images
* running: blkid -o udev -p /dev/mmcblk0boot1
* running: blkid -o udev -p /dev/mmcblk0boot0
* running: blkid -o udev -p /dev/loop0
* blkid gave: squashfs  
* running: blkid -o udev -p /dev/mmcblk0
* error: /proc/partitions does not agree with drakx 4 != 6:
/proc/partitions: mmcblk0p1 (mmcblk0), mmcblk0p2 (mmcblk0), mmcblk0p3 (mmcblk0), mmcblk0p4 (mmcblk0), mmcblk0boot1 (mmcblk0), mmcblk0boot0 (mmcblk0)

* fdisk before:

Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FBFBE131-5804-4D54-B584-39EB5B2A374C

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     2048   534527   532480  260M EFI System
/dev/mmcblk0p2   534528   796671   262144  128M Microsoft reserved
/dev/mmcblk0p3   796672 50173951 49377280 23.6G Microsoft basic data
/dev/mmcblk0p4 50173952 61077503 10903552  5.2G Windows recovery environment

Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

********************************************************************************
* partitions
********************************************************************************
major minor  #blocks  name

 179        0   30539776 mmcblk0
 179        1     266240 mmcblk0p1
 179        2     131072 mmcblk0p2
 179        3   24688640 mmcblk0p3
 179        4    5451776 mmcblk0p4
 179       24       4096 mmcblk0rpmb
 179       16       4096 mmcblk0boot1
 179        8       4096 mmcblk0boot0
   7        0      57464 loop0
   8        0   15646720 sda
   8        1   15646656 sda1


Reproducible: 

Steps to Reproduce:
Comment 1 Pascal Terjan 2015-04-23 23:59:47 CEST
Created attachment 6341 [details]
Screenshot when the test is disabled

The code rejects it because of the extra mmcblk0boot0 and mmcblk0boot1.
Disabling the test (which is currently disabled for solaris partitions and for xbox) allow things to work fine as can be seen on the image.
Comment 2 Mageia Robot 2015-04-25 14:29:45 CEST
commit 470bf5215490675eb9bf3a36404080666b0ce595
Author: Pascal Terjan <pterjan@...>
Date:   Sat Apr 25 12:23:12 2015 +0000

    Ignore special partitions on mmc (mga#15759)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=470bf5215490675eb9bf3a36404080666b0ce595
Comment 3 Mageia Robot 2015-04-26 15:53:17 CEST
commit c460414a4abe29ab7713a08b7f626dd07c988d6e
Author: Pascal Terjan <pterjan@...>
Date:   Sat Apr 25 12:23:12 2015 +0000

    Ignore special partitions on mmc (mga#15759)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=c460414a4abe29ab7713a08b7f626dd07c988d6e
Comment 4 Thierry Vignaud 2015-04-30 21:47:36 CEST
Closing (fixed in Mga 5 RC)

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED


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