Hi Andreas,

So #2145092 seems to be similar to this one (if not the same). I think
using either one is fine for me. Depends on what you prefer.

For testing on platforms with parport, my plan would be using QEMU with
options like:

```
    -chardev file,id=lpt0,path=./parport-output.bin \
    -device isa-parallel,chardev=lpt0,index=0 \
```

I'll update bug description to include this. Let me know if you have any
concern.

** Description changed:

  [ Impact ]
  
  During our testing on Linux desktop platforms with Resolute, we found
  that there’s a low chance (2/200) that loading the parport_pc module on
  a platform without parports leads to ACPI stress test failure. Similar
  issues have been reported in different places[1][2]
  
  The module loads unconditionally due to module.conf in cups-filters.
  This is unecessary because modaliases and related mechanism (udev etc.)
  already handle this.
  
  [ Fix ]
  
  Do not include parport_pc module in cups-filters' debian/local/modules-
  load.conf. See the following merge proposal from Debian:
  
  - Disable parport_pc automatic load (Closes: #1139318):
  https://salsa.debian.org/printing-team/cups-filters/-/merge_requests/3
  
  [ Test ]
  
- 1. Install the package on a platform without parport
+ On platform without parports:
+ 1. Install the package
  2. Update initramfs. Make sure there's no staled config from the older 
version.
  3. Boot into the system. Make sure parport_pc doesn't load
+ 
+ On platform with parport (e.g. with QEMU):
+ 1. Install the package
+ 2. Update initramfs. Make sure there's no staled config from the older 
version.
+ 3. Boot into the system, and make sure parport_pc loads
  
  [ Where problems could occur ]
  
  If a user doesn't update the initramfs after updating this package, the
  initramfs may contain old config file, and may still load the module.
  
  [ Other Information]
  
+ There's option for QEMU to emulate parport, by something similar to:
+ 
+     -chardev file,id=lpt0,path=./parport-output.bin \
+     -device isa-parallel,chardev=lpt0,index=0
+ 
  [1] https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/2145092
  [2] 
https://lore.kernel.org/lkml/CADVatmM_mRnkDX=hpujbykkzngynxjfrsujgxm2lawwmel_...@mail.gmail.com/#t

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

Title:
  Do not handle parport_pc load in modules-load.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/2156340/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to