[Bug 1954716] Re: rpi nfsroot vers=4 not supported anymore?

2021-12-14 Thread Seth Bromberger
Actually, I can't run this. These are headless isolated devices, and it
looks like this utility tries to launch a browser to authenticate to
launchpad. How do I get you the information you need?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954716

Title:
  rpi nfsroot vers=4 not supported anymore?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1954716/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1954716] Re: rpi nfsroot vers=4 not supported anymore?

2021-12-14 Thread Seth Bromberger
> apport-collect 1954716

I'll run this but in order to do this I have to boot into a working
system, which means that you won't see the error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954716

Title:
  rpi nfsroot vers=4 not supported anymore?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1954716/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1954716] [NEW] rpi nfsroot vers=4 not supported anymore?

2021-12-13 Thread Seth Bromberger
Public bug reported:

I'm running `5.13.0-1011-raspi #13-Ubuntu SMP PREEMPT Fri Nov 19
18:40:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux` and have
successfully set up netbooting on my RPi 4B (4GB). When I do not specify
a `vers=` in cmdline.txt, NFS version 3 is used. I'd like to move to
version 4, but unlike the setup described in
https://forums.raspberrypi.com/viewtopic.php?p=1751741#p1751741, I
cannot get `vers=4` (or any sub-version to work): the console logs
`invalid value for vers.` for whatever I try.

Current working cmdline.txt:
```
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs 
nfsroot=192.168.3.101:/srv/pinet/root,tcp ro ip=dhcp rootwait fixrtc splash
```

Nonworking cmdline.txt:
```
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs 
nfsroot=192.168.3.101:/srv/pinet/root,tcp,vers=4 ro ip=dhcp rootwait fixrtc 
splash
```

** Affects: linux-raspi (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954716

Title:
  rpi nfsroot vers=4 not supported anymore?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1954716/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1856603] Re: fstrim on nvme / AMD CPU fails and produces kernel error messages

2020-02-17 Thread Seth Bromberger
(I can confirm that the new kernel fixes the original problem.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856603

Title:
  fstrim on nvme / AMD CPU fails and produces kernel error messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1856603] Re: fstrim on nvme / AMD CPU fails and produces kernel error messages

2020-02-17 Thread Seth Bromberger
Thank you all for your help, especially @connork, who stepped me through
building the custom kernel and shepherded this bug report through its
early days.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856603

Title:
  fstrim on nvme / AMD CPU fails and produces kernel error messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1856603] Re: fstrim on nvme / AMD CPU fails and produces kernel error messages

2020-02-12 Thread Seth Bromberger
Thank you. I've been using the patch since late December with no issues.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856603

Title:
  fstrim on nvme / AMD CPU fails and produces kernel error messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1856603] Re: fstrim on nvme / AMD CPU fails and produces kernel error messages

2020-02-11 Thread Seth Bromberger
Thanks. I read that but I'm 1) on eoan, and 2) already running a custom
kernel 5.3.10+ that has this fix. 1) should be an easy substitute, but
I'm really nervous about trying to shoehorn instructions from the
section following the one you quoted into a system that's already pretty
customized (and running in production).

I'm not expert enough in switching among different kernels to be
remotely comfortable with the instructions as they're currently laid
out, so I guess I have to wait for someone who knows what they're doing
to test this.

If it helps, I can tell you that I applied the diff that started this
whole thing and rebuilt the kernel and things have been working well
ever since.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856603

Title:
  fstrim on nvme / AMD CPU fails and produces kernel error messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1856603] Re: fstrim on nvme / AMD CPU fails and produces kernel error messages

2020-02-05 Thread Seth Bromberger
I'm not quite sure how to go about testing this proposed kernel. The
instructions assume a GUI which I don't have. Could you point me to
steps to install the proposed kernel via CLI?

Unless the request to test this is intended for someone else, in which
case please disregard.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856603

Title:
  fstrim on nvme / AMD CPU fails and produces kernel error messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1856603] Re: fstrim on nvme / AMD CPU fails and produces kernel error messages

2019-12-16 Thread Seth Bromberger
Update: I built a 5.3.10 kernel with the patch suggested in the
infradead link (patch located at
http://git.infradead.org/nvme.git/patch/530436c45ef2e446c12538a400e465929a0b3ade?hp=400b6a7b13a3fd71cff087139ce45dd1e5fff444)
and the errors went away; fstrim is working properly:

seth@elemental:~$ sudo fstrim -v /
/: 758.3 GiB (814159003648 bytes) trimmed

and no kernel errors.

Could this be merged soon? Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856603

Title:
  fstrim on nvme / AMD CPU fails and produces kernel error messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fstrim/+bug/1856603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1856603] [NEW] fstrim on nvme / AMD CPU fails and produces kernel error messages

2019-12-16 Thread Seth Bromberger
Public bug reported:

/dev/nvme0n1 Sabrent Rocket 4.0 1TB firmware RKT401.1

on Ubuntu 19.10 with an ASRock 300 Deskmini motherboard and a Ryzen
3400G CPU. The filesystem is ext4:

Linux elemental 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux

UUID=c1812230-91be-4a18-8055-c3b7c82fbbd8 / ext4 defaults 0 0
/dev/nvme0n1p2 on / type ext4 (rw,relatime)

When I run fstrim -v / as root, I get the following error message at the
command line:

seth@elemental:~$ sudo fstrim -v /
fstrim: /: FITRIM ioctl failed: Input/output error

and the following kernel messages are logged:

[ 136.309115] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x0 flags=0x]
[ 136.309129] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x700 flags=0x]
[ 136.309139] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x680 flags=0x]
[ 136.309150] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x300 flags=0x]
[ 136.309162] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x200 flags=0x]
[ 136.309171] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x580 flags=0x]
[ 136.309180] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x100 flags=0x]
[ 136.309189] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x400 flags=0x]
[ 136.309198] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x380 flags=0x]
[ 136.309207] nvme :01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT 
domain=0x address=0x780 flags=0x]
[ 136.309216] amd_iommu_report_page_fault: 1 callbacks suppressed
[ 136.309218] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x180 flags=0x]
[ 136.309228] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x500 flags=0x]
[ 136.309238] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x480 flags=0x]
[ 136.309250] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x280 flags=0x]
[ 136.309259] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x600 flags=0x]
[ 136.309269] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x80 flags=0x]
[ 136.309279] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x980 flags=0x]
[ 136.309291] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x900 flags=0x]
[ 136.309301] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0x880 flags=0x]
[ 136.309311] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x 
address=0xa00 flags=0x]
[ 136.309762] blk_update_request: I/O error, dev nvme0n1, sector 1141976 op 
0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0


I have tried setting iommu passthrough on boot but this doesn’t seem to help:

GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=pt avic=1”

This is possibly related to:

https://bugzilla.kernel.org/show_bug.cgi?id=202665
http://git.infradead.org/nvme.git/commitdiff/530436c45ef2e446c12538a400e465929a0b3ade?hp=400b6a7b13a3fd71cff087139ce45dd1e5fff444

** Affects: fstrim (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd fstrim nvme

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856603

Title:
  fstrim on nvme / AMD CPU fails and produces kernel error messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fstrim/+bug/1856603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs