[Touch-packages] [Bug 1429563] [NEW] Printer parallel port kernel call trace

2015-03-08 Thread Petr Nosek
Public bug reported:

Hi,

  I'm trying to install an old printer on my Ubuntu 14.04. Printer isn't
found. I found this in dmesg:

[ 240.800054] INFO: task parallel:1815 blocked for more than 120 seconds.
[ 240.800063] Not tainted 3.13.0-46-generic #77-Ubuntu
[ 240.800066] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[ 240.800070] parallel D d2867e80 0 1815 1 0x0004
[ 240.800078] d2867ec8 0086 c105baf7 d2867e80 c1664875 c1a95580 c1926a00 
c1664633
[ 240.800089] c1a95580 c1926a00 ce406800 df3a4580 de68f600 0002 d2867ee4 
c1664633
[ 240.800098] da8d3900 0002 037a de68f600 0002 d2867ee4 ff16 
d286007b
[ 240.800109] Call Trace:
[ 240.800122] [] ? irq_exit+0x47/0xa0
[ 240.800131] [] ? do_IRQ+0x45/0xb0
[ 240.800136] [] ? common_interrupt+0x33/0x38
[ 240.800145] [] ? common_interrupt+0x33/0x38
[ 240.800165] [] ? parport_pc_frob_control+0x32/0xd0 [parport_pc]
[ 240.800173] [] schedule_preempt_disabled+0x23/0x60
[ 240.800178] [] __mutex_lock_slowpath+0x10d/0x171
[ 240.800185] [] mutex_lock+0x1c/0x28
[ 240.800192] [] pp_ioctl+0x1b/0x40 [ppdev]
[ 240.800198] [] ? pp_do_ioctl+0x860/0x860 [ppdev]
[ 240.800204] [] do_vfs_ioctl+0x2e2/0x4d0
[ 240.800211] [] ? pp_read+0x17e/0x1ed [ppdev]
[ 240.800216] [] ? vfs_read+0xd4/0x140
[ 240.800221] [] SyS_ioctl+0x60/0x80
[ 240.800226] [] sysenter_do_call+0x12/0x12
[ 240.800230] INFO: task hpfax:1819 blocked for more than 120 seconds.
[ 240.800233] Not tainted 3.13.0-46-generic #77-Ubuntu
[ 240.800235] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[ 240.800238] hpfax D ce401a00 0 1819 1 0x
[ 240.800244] de71fec8 00200086 ce401a00 ce401a00 de71fef4 c1a95580 c1926a00 

[ 240.800253] c1a95580 c1926a00 ce401a00 df3a4580 de71fec4 0008 de7790a4 

[ 240.800262] de71fef4 ce440a00 de71fee0 c1187a60 de71ff80 de71fec0 de782000 

[ 240.800270] Call Trace:
[ 240.800277] [] ? path_openat+0xb0/0x530
[ 240.800284] [] schedule_preempt_disabled+0x23/0x60
[ 240.800289] [] __mutex_lock_slowpath+0x10d/0x171
[ 240.800295] [] mutex_lock+0x1c/0x28
[ 240.800302] [] pp_ioctl+0x1b/0x40 [ppdev]
[ 240.800308] [] ? pp_do_ioctl+0x860/0x860 [ppdev]
[ 240.800313] [] do_vfs_ioctl+0x2e2/0x4d0
[ 240.800317] [] ? final_putname+0x1d/0x40
[ 240.800321] [] ? final_putname+0x1d/0x40
[ 240.800326] [] ? putname+0x24/0x40
[ 240.800330] [] ? do_sys_open+0x196/0x260
[ 240.800334] [] SyS_ioctl+0x60/0x80
[ 240.800339] [] sysenter_do_call+0x12/0x12
[ 240.800343] INFO: task hpfax:1844 blocked for more than 120 seconds.
[ 240.800346] Not tainted 3.13.0-46-generic #77-Ubuntu
[ 240.800348] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[ 240.800351] hpfax D ce403400 0 1844 1 0x
[ 240.800356] ce4fbec8 00200086 ce403400 ce403400 ce4fbef4 c1a95580 c1926a00 

[ 240.800365] c1a95580 c1926a00 ce403400 df3a4580 ce4fbec4 0008 de7790a4 

[ 240.800374] ce4fbef4 ce479800 ce4fbee0 c1187a60 ce4fbf80 ce4fbec0 de781000 

[ 240.800383] Call Trace:
[ 240.800388] [] ? path_openat+0xb0/0x530
[ 240.800395] [] schedule_preempt_disabled+0x23/0x60
[ 240.800400] [] __mutex_lock_slowpath+0x10d/0x171
[ 240.800407] [] mutex_lock+0x1c/0x28
[ 240.800413] [] pp_ioctl+0x1b/0x40 [ppdev]
[ 240.800419] [] ? pp_do_ioctl+0x860/0x860 [ppdev]
[ 240.800424] [] do_vfs_ioctl+0x2e2/0x4d0
[ 240.800428] [] ? final_putname+0x1d/0x40
[ 240.800433] [] ? final_putname+0x1d/0x40
[ 240.800437] [] ? putname+0x24/0x40
[ 240.800441] [] ? do_sys_open+0x196/0x260
[ 240.800445] [] SyS_ioctl+0x60/0x80
[ 240.800450] [] sysenter_do_call+0x12/0x12
[ 240.800454] INFO: task hp:1846 blocked for more than 120 seconds.
[ 240.800457] Not tainted 3.13.0-46-generic #77-Ubuntu
[ 240.800459] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[ 240.800461] hp D ce40 0 1846 1 0x
[ 240.800466] ce4e9ec8 00200086 ce40 ce40 ce4e9ef4 c1a95580 e0fa46c9 
0016
[ 240.800475] c1a95580 ce48db00 ce40 df3b2580 ce4e9ec4 0008 de7790a4 

[ 240.800484] ce4e9ef4 ce582b00 ce4e9ee0 c1187a60 ce4e9f80 ce4e9ec0 dbdb5000 

[ 240.800493] Call Trace:
[ 240.800499] [] ? path_openat+0xb0/0x530
[ 240.800506] [] schedule_preempt_disabled+0x23/0x60
[ 240.800511] [] __mutex_lock_slowpath+0x10d/0x171
[ 240.800517] [] mutex_lock+0x1c/0x28
[ 240.800524] [] pp_ioctl+0x1b/0x40 [ppdev]
[ 240.800529] [] ? pp_do_ioctl+0x860/0x860 [ppdev]
[ 240.800534] [] do_vfs_ioctl+0x2e2/0x4d0
[ 240.800539] [] ? final_putname+0x1d/0x40
[ 240.800543] [] ? final_putname+0x1d/0x40
[ 240.800547] [] ? putname+0x24/0x40
[ 240.800551] [] ? do_sys_open+0x196/0x260
[ 240.800556] [] SyS_ioctl+0x60/0x80
[ 240.800560] [] sysenter_do_call+0x12/0x12

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cups 1.7.2-0ubuntu1.5
ProcVersionSignature: Ubuntu 3.13.0-46.77-generic 3.13.11-ckt15
Uname: Linux 3.13.0-46-generic i686
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: i386
Date: Sun Mar  8 12:24:59 2015
InstallationDa

Re: [Touch-packages] [Bug 1849156] Re: systemd-timesyncd.service broken on upgrade to 19.10 if ntp was installed

2020-02-11 Thread Petr Nosek
hi, thank you for reply.

comment out line: ConditionFileIsExecutable=!/usr/sbin/VBoxService
works for me.

I had to comment out so line:
ConditionFileIsExecutable=!/usr/sbin/VBoxService

Both are commented out and timesyncd works.

Thank you.

Petr

út 11. 2. 2020 v 7:10 odesílatel Mark - Syminet <1849...@bugs.launchpad.net>
napsal:

> Got bit by this as well, recall fixing it a few years ago but must have
> clobbered my changes on upgrade bionic -> eoan?  Having VirtualBox
> installed broke it, fix was to comment out this line in
> /lib/systemdd/system/systemd-timesyncd.service.d and restart systemd:
>
> ConditionFileIsExecutable=!/usr/sbin/VBoxService
>
> Don't recall being asked about a config file change during upgrade
> although maybe it did and didn't remember.  Further info here:
>
> https://askubuntu.com/questions/940311/time-in-ubuntu-16-04-not-
> updating-from-internet#1005355
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1849156
>
> Title:
>   systemd-timesyncd.service broken on upgrade to 19.10 if ntp was
>   installed
>
> Status in ntp package in Ubuntu:
>   Confirmed
> Status in systemd package in Ubuntu:
>   Confirmed
> Status in ntp source package in Eoan:
>   Confirmed
> Status in systemd source package in Eoan:
>   Confirmed
> Status in ntp source package in Focal:
>   Confirmed
> Status in systemd source package in Focal:
>   Confirmed
>
> Bug description:
>   Ubuntu 19.10's systemd package introduced /lib/systemd/system/systemd-
>   timesyncd.service.d/disable-with-time-daemon.conf.  This prevents
>   systemd-timesyncd.service from starting if the ntp package has been
>   installed.  However, ntp.service has a Conflicts directive for
>   systemd-timesyncd.service.  If both services are enabled, neither will
>   start on boot.  This breaks upgrades from < 19.10 to 19.10 for systems
>   that have both ntp and systemd installed.
>
>   Possible workarounds:
>
>   - Uninstall ntp
>   - Disable systemd-timesyncd.service
>
>   % lsb_release -rd
>   Description:Ubuntu 19.10
>   Release:19.10
>
>   % apt-cache policy systemd
>   systemd:
> Installed: 242-7ubuntu3
> Candidate: 242-7ubuntu3
> Version table:
>*** 242-7ubuntu3 500
>   500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu eoan/main
> amd64 Packages
>   100 /var/lib/dpkg/status
>
>   % apt-cache policy ntp
>   ntp:
> Installed: 1:4.2.8p12+dfsg-3ubuntu2
> Candidate: 1:4.2.8p12+dfsg-3ubuntu2
> Version table:
>*** 1:4.2.8p12+dfsg-3ubuntu2 500
>   500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu
> eoan/universe amd64 Packages
>   100 /var/lib/dpkg/status
>
>   % dpkg -S
> /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
>   systemd:
> /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
>
>   % sudo systemctl status ntp
>   ● ntp.service - Network Time Service
>  Loaded: loaded (/lib/systemd/system/ntp.service; enabled; vendor
> preset: enabled)
>  Active: inactive (dead)
>Docs: man:ntpd(8)
>
>   % sudo systemctl status systemd-timesyncd.service
>   ● systemd-timesyncd.service - Network Time Synchronization
>  Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service;
> enabled; vendor preset: enabled)
> Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
>  └─disable-with-time-daemon.conf
>  Active: inactive (dead)
>   Condition: start condition failed at Mon 2019-10-21 12:05:38 EDT; 29s ago
>Docs: man:systemd-timesyncd.service(8)
>
>   Oct 21 12:05:38 ubuntu systemd[1]: Condition check resulted in Network
>   Time Synchronization being skipped.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1849156/+subscriptions
>

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

Title:
  systemd-timesyncd.service broken on upgrade to 19.10 if ntp was
  installed

Status in ntp package in Ubuntu:
  Confirmed
Status in systemd package in Ubuntu:
  Confirmed
Status in ntp source package in Eoan:
  Confirmed
Status in systemd source package in Eoan:
  Confirmed
Status in ntp source package in Focal:
  Confirmed
Status in systemd source package in Focal:
  Confirmed

Bug description:
  Ubuntu 19.10's systemd package introduced /lib/systemd/system/systemd-
  timesyncd.service.d/disable-with-time-daemon.conf.  This prevents
  systemd-timesyncd.service from starting if the ntp package has been
  installed.  However, ntp.service has a Conflicts directive for
  systemd-timesyncd.service.  If both services are enabled, neither will
  start on boot.  This breaks upgrades from < 19.10 to 19.10 for systems
  that have both ntp and systemd installed.

  Possible workarounds:

  - Uninstall ntp
  - Disable systemd-timesyncd.s