[arm] Missing AHCI driver in Ubuntu Xenial Installer for ARM

Bug #1638779 reported by Thang Nguyen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Download the media installation ISO file at https://www.ubuntu.com/download/server/arm and burn it to a CD-ROM. Then, put it into the SATA CD drive to install Ubuntu into Mustang/Merlin boards (XGene platform), the Installer does not detect the CD-ROM so it report a dialog with below content:
"Your installation CD-ROM couldn't be mounted. This probably means that the CD-ROM was not in the drive. If so you can insert it and try again. Retry mounting the CD-ROM?".
Investigate more on the installer media, I found that the AHCI driver is not enabled.
Below steps I have done to check:
- Mount ISO file and copy initrd.gz:
 # mkdir mnt
 # mount -o loop ubuntu-16.04.1-server-arm64.iso ./mnt
 # cp ./mnt/install/initrd.gz .
- Extract initrd.gz:
 # gunzip initrd.gz
 # cpio -id < initrd
- List the drivers/ata folder
 # ls lib/modules/4.4.0-31-generic/kernel/drivers
block gpio gpu hid i2c input media mfd power regulator rtc usb video
No lib/modules/4.4.0-31-generic/kernel/drivers/ata folder exist.

Try to check with x86 installer media:
 # ls lib/modules/4.4.0-31-generic/kernel/drivers/
ata block char firewire gpio gpu hid hv i2c infiniband input media mfd net parport pcmcia power regulator rtc scsi tty usb video
 # lib/modules/4.4.0-31-generic/kernel/drivers/ata/ | grep ahci
acard-ahci.ko
ahci.ko
ahci_platform.ko
libahci.ko
libahci_platform.ko

Can you help to add AHCI support for Ubuntu ARM Media installer?

Thanks,
Thang Q. Nguyen

PS: I submitted bug at https://bugs.launchpad.net/santacruz/+bug/1632559 but Thad asked to report here.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1638779

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Thang Nguyen (tqnguyen) wrote :

The apport-collect command does not exist in the installer shell. So, can't run the command. Trying to save debug log but Ubuntu just support writing to floppy, web and mount folder.
Attachment contains logfile for installing Ubuntu. It just has information until right before Ubuntu installer start working.
We stuck at below dialog:
   ┌───────────────────┤ [!!] Detect and mount CD-ROM ├────────────────────
   │ │
   │ Your installation CD-ROM couldn't be mounted. This probably means │
   │ that the CD-ROM was not in the drive. If so you can insert it and try │
   │ again. │
   │ │
   │ Retry mounting the CD-ROM? │
   │ │
   │ <Yes> <No> │
   │ │
   └───────────────────────────────────────────────────────────────────────┘

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can you see if this issue also happens with the latest daily image? It can be downloaded from:
Desktop:
http://cdimage.ubuntu.com/daily-live/current/
Server:
http://cdimage.ubuntu.com/ubuntu-server/daily/current/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Revision history for this message
Thang Nguyen (tqnguyen) wrote :

Hi Joseph,
The issue still happen with latest daily image at http://cdimage.ubuntu.com/ubuntu-server/daily/current/zesty-server-arm64.iso.
It is because AHCI driver is still missing from this ISO image.
$ grep ata lib/modules/4.8.0-26-generic/modules.builtin
kernel/drivers/ata/libata.ko
kernel/drivers/phy/phy-brcm-sata.ko
ls lib/modules/4.8.0-26-generic/kernel/drivers/ata/
ata_generic.ko ata_piix.ko

Revision history for this message
Thang Nguyen (tqnguyen) wrote :

To solve this issue, need to integrate content of the pool/main/l/linux/sata-modules-4.8.0-26-generic-di_4.8.0-26.28_arm64.udeb package into initrd.gz.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Alan Ott (alan-signal11) wrote :

This is still broken. The ARM64 installer can't do anything because it can't mount any drives including the installation medium because the ahci modules are not present.

Images tried:
   16.04.1 LTS (ubuntu-16.04.1-server-arm64.iso)
   Nightly (zesty-server-arm64.iso) - 2017-02-10

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Alan Ott (alan-signal11) wrote :

BTW, mine is on a SoftIron OverDrive 1000 (AMD Opteron-A).

Revision history for this message
Thang Nguyen (tqnguyen) wrote :

Why the Ubuntu Server installer always require the CD-ROM detection to continue installation?
In other OSes such as SUSE, CentOS, Fedora, ... I can install without the need of CD-ROM. Just dd-ing the ISO file into a USB key drive and use it for installation.

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.