data partition not found, missing device specific name

Bug #1237937 reported by Patrick Seemann
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools-ubuntu-touch (Ubuntu)
Incomplete
Medium
Oliver Grawert

Bug Description

This affects the Samsung Galaxy Tab 10.1 Wifi, device name is "p4wifi".

The "scripts/touch" script doesn't find the data partition on my device , because its name is not included in the "partlist".

The name of the userdata partition is "UA":

# find /dev -name UA
/dev/disk/by-name/UA

The name is also missing in "/usr/lib/lxc-android-config/update-fstab" from the datalabels variable. Should I file a separate bug for this ?

Changed in initramfs-tools-ubuntu-touch (Ubuntu):
assignee: nobody → Patrick Seemann (patrickseemann)
assignee: Patrick Seemann (patrickseemann) → nobody
Revision history for this message
Oliver Grawert (ogra) wrote :

what is the name for the system partition, this is also needed (in a different place)

Changed in initramfs-tools-ubuntu-touch (Ubuntu):
assignee: nobody → Oliver Grawert (ogra)
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Incomplete
Revision history for this message
Marcel Partap (empee584) wrote :

As the i927's data partition also is called UA, most probably the other partition names do match as well...Please confirm this Patrick:
ES: /efs
AP: /system
CC: /cache
IS: /emmc
UA: /data
SS: /recovery
LX: /boot

for reference:
> # ls -la /dev/disk/by-name/
> lrwxrwxrwx 1 15 ES -> ../../mmcblk0p1
> lrwxrwxrwx 1 15 MC -> ../../mmcblk0p5
> lrwxrwxrwx 1 15 MM -> ../../mmcblk0p7
> lrwxrwxrwx 1 15 SS -> ../../mmcblk0p8
> lrwxrwxrwx 1 15 LX -> ../../mmcblk0p9
> lrwxrwxrwx 1 15 AP -> ../../mmcblk0p2
> lrwxrwxrwx 1 15 IS -> ../../mmcblk0p4
> lrwxrwxrwx 1 15 CC -> ../../mmcblk0p3
> lrwxrwxrwx 1 15 UA -> ../../mmcblk0p6
https://github.com/buborh/android_device_samsung_i927/blob/cm-10.2/fstab.n1

Revision history for this message
Patrick Seemann (patrickseemann) wrote :

system is also called "AP".

As far as matching i927's partition names goes, not all of them match:

# ls -l /dev/disk/by-name/
lrwxrwxrwx 1 15 MC -> ../../mmcblk0p6
lrwxrwxrwx 1 15 LX -> ../../mmcblk0p3
lrwxrwxrwx 1 15 MM -> ../../mmcblk0p7
lrwxrwxrwx 1 15 ES -> ../../mmcblk0p1
lrwxrwxrwx 1 15 OA -> ../../mmcblk0p9
lrwxrwxrwx 1 15 CC -> ../../mmcblk0p5
lrwxrwxrwx 1 15 SS -> ../../mmcblk0p2
lrwxrwxrwx 1 15 AP -> ../../mmcblk0p4
lrwxrwxrwx 1 15 UA -> ../../mmcblk0p8

MC: ?
LX: /boot
ES: /efs
OA: ?
CC: /cache
SS: /recovery
AP: /system
UA: /data

Revision history for this message
Marcel Partap (empee584) wrote :

please add the system/data partition names to the scripts and generate a ubuntu-touch-generic-initrd 0.58 ...

Revision history for this message
Marcel Partap (empee584) wrote :

> mountroot()
> {
> # list of possible userdata partition names
> - partlist="userdata UDA DATAFS USERDATA"
> + partlist="userdata UDA DATAFS USERDATA UA"

is this really such a big deal?

Revision history for this message
Marcel Partap (empee584) wrote :

..srsly?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.