Update ena to 2.10.x or later

Bug #2054688 reported by Paul Gear
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-aws (Ubuntu)
Invalid
Undecided
Philip Cox

Bug Description

Please update the ena driver in the default AWS images to 2.10.x or later. This is to enable use of the PTP hardware clock (PHC) for high resolution timekeeping. https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/ena#ptp-hardware-clock-phc

Ideally it would be accompanied with a configuration which sets `option phc_enable 1` in `/etc/modprobe.d/`, reads the error bound from `/sys/devices/pci0000:00/0000:00:05.0/phc_error_bound` and adds an appropriate chrony config snippet to `/etc/chrony/conf.d/` to use this as a source per https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html#ptp-hardware-clock-requirements, but just making the driver available for users to configure would be a good step.

This is only relevant on r7g instances in ap-northeast-1 (Tokyo) at the moment, but is apparently rolling out to other instances and regions. https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-time-sync-service-microsecond-accurate-time/

Paul Gear (paulgear)
description: updated
Revision history for this message
Philip Cox (philcox) wrote :

I am looking in to this.

Changed in linux-aws (Ubuntu):
assignee: nobody → Philip Cox (philcox)
Revision history for this message
Philip Cox (philcox) wrote :

Hi @paulgear, I didn't see it listed in the launchpad bug at all, but what version of ubuntu are you using, and which kernel?

I wanted to check if the jammy (22.04) 6.8 based kernel (jammy:linux-aws-6.8) or the noble (24.04) 6.8 based kernel (noblel:inux-aws) solve this problem for you?

They both have updated versions of the ena driver.

Revision history for this message
Paul Gear (paulgear) wrote :

Thanks for following up @philcox. At the time I was using the default jammy image available in the AWS marketplace. I'll check the latest ones this week to see what they're showing.

Revision history for this message
Philip Cox (philcox) wrote :

Hi @paulgear,

If this issue happens again, please re-open the ticket.

Changed in linux-aws (Ubuntu):
status: New → Invalid
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.