[Touch-packages] [Bug 1956533] Re: Printing anything to /dev/lp0 makes Ubuntu Server 20.04 crash

2022-09-07 Thread Till Kamppeter
Moving to the kernel.

A already the command 'echo "Test" > /dev/lp0' causes the crash, it is
not caused by CUPS, but by the implementation of /dev/lp0 which is the
kernel.

** Package changed: cups (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1956533

Title:
  Printing anything to /dev/lp0 makes Ubuntu Server 20.04 crash

Status in linux package in Ubuntu:
  New

Bug description:
  Whenever I try to print anything to /dev/lp0 (the parallel port of my
  ASUS M5A78L-M LE mainboard), my Ubuntu 20.04 server freezes completely
  (display gets black, no keyboard input, no network reaction). Thereby
  it doesn't matter whether I try printing a testpage in the
  webinterface of CUPS (http://localhost:631), trying to print a Windows
  10 test page from a SaMBa client or try entering 'echo "Test" >
  /dev/lp0' on the console. When trying the latter, my HP LaserJet 6L
  printer prints 'Te', so a little bit of the print job seams to come
  out before the crash. In /var/log/syslog, there are no entries about
  the crash (I tried waiting 5 minutes, then do the echo test, then wait
  another 5 minutes before restarting to be able to isolate any possible
  entries caused by the crash clearly by the time stamp, but there
  aren't any).

  As a workaround, I installed a DELOCK 90413 'Serial + Parallel PCI
  Express x1 Card' into my server, which is recognized as /dev/lp1. When
  using this parallel port, printing works perfectly.

  In my old hardware with another mainboard, the same installation (I
  just changed hard disks) worked perfectly with the internal /dev/lp0.
  I also tried printing to the problematic parallel port on my new
  server hardware (the problematic one) using FreeDOS 1.3, just to
  confirm that my hardware is not defective, and it worked perfectly.

  So Ubuntu 20.04 seems to have a problem with the internal parallel
  port of the ASUS M5A78L-M LE mainboard. Unfortunately, I cannot tell
  which package is affected as I can't find any log entries. However, I
  guess, it's not cups, as a direct echo to /dev/lp0 also does not work.
  So I guess, it's something deeper.

  What you also need:
  1) Ubuntu 20.04.3 LTS
  2) I don'd know. Sorry.
  3) When printing to /dev/lp0, a page should come out of the printer.
  4) When printing to /dev/lp0, the whole system crashed (display black, no 
reaction to anything).

  If I can provide you further information to fix this bug, please don't
  hesitate to contact me. However, you need to help me how to gather it,
  as all my ideas are already described above.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1956533] Re: Printing anything to /dev/lp0 makes Ubuntu Server 20.04 crash

2022-09-07 Thread Paul White
According to https://wiki.ubuntu.com/Bugs/FindRightPackage#Printing the
package that this bug report should initially be reported against is
'cups'.

** Tags added: focal

** Package changed: ubuntu => cups (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1956533

Title:
  Printing anything to /dev/lp0 makes Ubuntu Server 20.04 crash

Status in cups package in Ubuntu:
  New

Bug description:
  Whenever I try to print anything to /dev/lp0 (the parallel port of my
  ASUS M5A78L-M LE mainboard), my Ubuntu 20.04 server freezes completely
  (display gets black, no keyboard input, no network reaction). Thereby
  it doesn't matter whether I try printing a testpage in the
  webinterface of CUPS (http://localhost:631), trying to print a Windows
  10 test page from a SaMBa client or try entering 'echo "Test" >
  /dev/lp0' on the console. When trying the latter, my HP LaserJet 6L
  printer prints 'Te', so a little bit of the print job seams to come
  out before the crash. In /var/log/syslog, there are no entries about
  the crash (I tried waiting 5 minutes, then do the echo test, then wait
  another 5 minutes before restarting to be able to isolate any possible
  entries caused by the crash clearly by the time stamp, but there
  aren't any).

  As a workaround, I installed a DELOCK 90413 'Serial + Parallel PCI
  Express x1 Card' into my server, which is recognized as /dev/lp1. When
  using this parallel port, printing works perfectly.

  In my old hardware with another mainboard, the same installation (I
  just changed hard disks) worked perfectly with the internal /dev/lp0.
  I also tried printing to the problematic parallel port on my new
  server hardware (the problematic one) using FreeDOS 1.3, just to
  confirm that my hardware is not defective, and it worked perfectly.

  So Ubuntu 20.04 seems to have a problem with the internal parallel
  port of the ASUS M5A78L-M LE mainboard. Unfortunately, I cannot tell
  which package is affected as I can't find any log entries. However, I
  guess, it's not cups, as a direct echo to /dev/lp0 also does not work.
  So I guess, it's something deeper.

  What you also need:
  1) Ubuntu 20.04.3 LTS
  2) I don'd know. Sorry.
  3) When printing to /dev/lp0, a page should come out of the printer.
  4) When printing to /dev/lp0, the whole system crashed (display black, no 
reaction to anything).

  If I can provide you further information to fix this bug, please don't
  hesitate to contact me. However, you need to help me how to gather it,
  as all my ideas are already described above.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp