2014-04-12 00:09:03 |
Benjamin Drung |
bug |
|
|
added bug |
2015-08-27 12:44:53 |
Launchpad Janitor |
flash-kernel (Ubuntu): status |
New |
Confirmed |
|
2015-08-27 15:59:54 |
Stéphane Graber |
nominated for series |
|
Ubuntu Vivid |
|
2015-08-27 15:59:54 |
Stéphane Graber |
bug task added |
|
flash-kernel (Ubuntu Vivid) |
|
2015-08-27 15:59:54 |
Stéphane Graber |
nominated for series |
|
Ubuntu Trusty |
|
2015-08-27 15:59:54 |
Stéphane Graber |
bug task added |
|
flash-kernel (Ubuntu Trusty) |
|
2015-08-27 16:00:00 |
Stéphane Graber |
flash-kernel (Ubuntu): status |
Confirmed |
Fix Released |
|
2015-08-27 16:05:52 |
Stéphane Graber |
description |
The Wandboard i.MX6 Quad Board has two sdcard slots. The boot device is set to "/dev/mmcblk1p1", but this device only exists if both sdcard slots are used. I use just one sdcard and my boot device is called "/dev/mmcblk0p1".
flash-kernel need to dynamically detect the correct sdcard slot or use a unique device name.
I have following device symlink on my system:
/dev/disk/by-id/mmc-SD16G_0xd62aac9a-part1
/dev/disk/by-path/platform-2198000.usdhc-part1
/dev/block/179:1
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: flash-kernel 3.0~rc.4ubuntu48+fix1
ProcVersionSignature: Ubuntu 3.13.0-20.42-generic 3.13.7
Uname: Linux 3.13.0-20-generic armv7l
ApportVersion: 2.14.1-0ubuntu1
Architecture: armhf
Date: Sat Apr 12 01:55:45 2014
SourcePackage: flash-kernel
UpgradeStatus: No upgrade log present (probably fresh install) |
== Rationale ==
The wandboards have two microsd slots, one directly tied to the SoC and one on the main board. The wandboard only boots from the one tied to the SoC.
Unfortunately, the device numbering is wrong, in that when only the SoC slot is populated, it'll appear as mmcblk0, but when both slots are, the SoC slot becomes mmcblk1.
So far flash-kernel has only supported the configuration with both slots populated, but it's reasonably common for people to only use the SoC slot and then use the SATA port to attach more storage.
The fix is to use the constant path name from udev which always points to the right slot.
== Testcase ==
- Run flash-kernel before update => fails to find sdcard
- Run flash-kernel after update => finds sdcard and install kernel
- Reboot to check that things boot as expected
== Regression potential ==
Should a system somehow miss the /dev/disk/by-path symlink, flash-kernel may fail to install the new kernel. Note that testing on 5 different boards showed that this symlink is constant, regardless of storage configuration, so this shouldn't be an actual problem.
== Original bug report ==
The Wandboard i.MX6 Quad Board has two sdcard slots. The boot device is set to "/dev/mmcblk1p1", but this device only exists if both sdcard slots are used. I use just one sdcard and my boot device is called "/dev/mmcblk0p1".
flash-kernel need to dynamically detect the correct sdcard slot or use a unique device name.
I have following device symlink on my system:
/dev/disk/by-id/mmc-SD16G_0xd62aac9a-part1
/dev/disk/by-path/platform-2198000.usdhc-part1
/dev/block/179:1 |
|
2015-08-27 16:08:23 |
Stéphane Graber |
flash-kernel (Ubuntu Trusty): status |
New |
In Progress |
|
2015-08-27 16:08:25 |
Stéphane Graber |
flash-kernel (Ubuntu Vivid): status |
New |
In Progress |
|
2015-08-27 19:16:28 |
Brian Murray |
flash-kernel (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-08-27 19:16:30 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-08-27 19:16:32 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2015-08-27 19:16:35 |
Brian Murray |
tags |
apport-bug armhf trusty |
apport-bug armhf trusty verification-needed |
|
2015-08-27 19:17:48 |
Brian Murray |
flash-kernel (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2015-08-27 19:28:56 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/flash-kernel |
|
2015-08-27 19:28:57 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/flash-kernel |
|
2015-08-27 20:00:12 |
Stéphane Graber |
tags |
apport-bug armhf trusty verification-needed |
apport-bug armhf trusty verification-done |
|
2015-09-09 00:53:35 |
Launchpad Janitor |
flash-kernel (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-09-09 00:53:40 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-09-09 00:54:13 |
Launchpad Janitor |
flash-kernel (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|