Bug#214790: marked as done (discover: hangs while reading /dev/ttyS1)

2011-02-18 Thread Debian Bug Tracking System
Your message dated Fri, 18 Feb 2011 22:20:41 +
with message-id 201102182220.41369.el...@debianpt.org
and subject line 
has caused the Debian Bug report #214790,
regarding discover: hangs while reading /dev/ttyS1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
214790: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214790
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: xserver-xfree86
Version: 4.2.1-12
Severity: normal

[Note that as I mention below, re-running the upgrade (after killing
discover the first time) succeeds.]

Doing an apt-get upgrade (of -11 to -12.1):

Preparing to replace xserver-xfree86 4.2.1-11 (using 
.../xserver-xfree86_4.2.1-12.1_i386.deb) ...

It hung here.  pstree -pl shows:

| 
|-sshd(21018)---bash(21019)---apt-get(21059)---dpkg(26667)---frontend(27104)---config(27110)---config(27121)---config(27125)---discover(27126)

strace on the discover process shows:

maneki-neko$ sudo strace -p 27126
Process 27126 attached - interrupt to quit
read(4,  unfinished ...
Process 27126 detached

lsof on that process then shows:

COMMANDPID USER   FD   TYPE DEVICESIZE NODE NAME
discover 27126 root  cwdDIR3,340962 /
discover 27126 root  rtdDIR3,340962 /
discover 27126 root  txtREG3,3   10556   503997 /sbin/discover
discover 27126 root  memREG3,3   92174   227681 /lib/ld-2.3.2.so
discover 27126 root  memREG3,3   59244   520513 
/usr/lib/libdiscover.so.1.0.0
discover 27126 root  memREG3,3  135604   228958 /lib/libm-2.3.2.so
discover 27126 root  memREG3,3 1230832   227858 /lib/libc-2.3.2.so
discover 27126 root0r  FIFO0,5 12385808 pipe
discover 27126 root1w  FIFO0,5 12385817 pipe
discover 27126 root2u   CHR  136,13 /dev/pts/1
discover 27126 root3w  FIFO0,5 12385809 pipe
discover 27126 root4u   CHR   4,65  1122678 /dev/ttyS1

ie. it is hanging trying to read from ttyS1.  This isn't symlinked
from anything in /dev, nor do I see it in any relevant config files in
/etc or /etc/X11 (it is in /etc/efax.rc, but it would surprise me if
that mattered.)

Re-running the upgrade (after killing discover out from under it,
causing that part of the upgrade to fail) did end up running to
completion, so that may make this hard to diagnose.

-- Package-specific info:
01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 100 
DDR/200 DDR] (rev b2)
01:00.0 Class 0300: 10de:0111 (rev b2)

# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4  /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section Files
FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/CID
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/cyrillic
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
EndSection

Section Module
LoadGLcore
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadspeedo
Loadtype1
Loadvbe
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc101
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/psaux
Option  

Bug#214790: marked as done (discover: hangs while reading /dev/ttyS1)

2004-04-06 Thread Debian Bug Tracking System
Your message dated Tue, 06 Apr 2004 11:14:14 +0200
with message-id [EMAIL PROTECTED]
and subject line Problem is solved
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--
Received: (at submit) by bugs.debian.org; 8 Oct 2003 18:05:17 +
From [EMAIL PROTECTED] Wed Oct 08 13:05:14 2003
Return-path: [EMAIL PROTECTED]
Received: from maneki-neko.metacarta.com (maneki-neko) [66.92.95.186] 
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1A7IgT-0001dY-00; Wed, 08 Oct 2003 13:05:13 -0500
Received: by maneki-neko (Postfix, from userid 3382)
id DA27FE2DC6; Wed,  8 Oct 2003 14:05:12 -0400 (EDT)
To: Debian Bug Tracking System [EMAIL PROTECTED]
Subject: xserver-xfree86: upgrade fails because discover hangs indefinitely [the first 
time?]
X-Debbugs-CC: Mark Eichin [EMAIL PROTECTED]
Full-Name: Mark W. Eichin
Message-Id: [EMAIL PROTECTED]
Date: Wed,  8 Oct 2003 14:05:12 -0400 (EDT)
From: [EMAIL PROTECTED] (Mark Eichin)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-4.3 required=4.0
tests=HAS_PACKAGE,MAILTO_TO_SPAM_ADDR
version=2.53-bugs.debian.org_2003_10_05
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_05 
(1.174.2.15-2003-03-30-exp)

Package: xserver-xfree86
Version: 4.2.1-12
Severity: normal

[Note that as I mention below, re-running the upgrade (after killing
discover the first time) succeeds.]

Doing an apt-get upgrade (of -11 to -12.1):

Preparing to replace xserver-xfree86 4.2.1-11 (using 
.../xserver-xfree86_4.2.1-12.1_i386.deb) ...

It hung here.  pstree -pl shows:

| 
|-sshd(21018)---bash(21019)---apt-get(21059)---dpkg(26667)---frontend(27104)---config(27110)---config(27121)---config(27125)---discover(27126)

strace on the discover process shows:

maneki-neko$ sudo strace -p 27126
Process 27126 attached - interrupt to quit
read(4,  unfinished ...
Process 27126 detached

lsof on that process then shows:

COMMANDPID USER   FD   TYPE DEVICESIZE NODE NAME
discover 27126 root  cwdDIR3,340962 /
discover 27126 root  rtdDIR3,340962 /
discover 27126 root  txtREG3,3   10556   503997 /sbin/discover
discover 27126 root  memREG3,3   92174   227681 /lib/ld-2.3.2.so
discover 27126 root  memREG3,3   59244   520513 /usr/lib/libdiscover.so.1.0.0
discover 27126 root  memREG3,3  135604   228958 /lib/libm-2.3.2.so
discover 27126 root  memREG3,3 1230832   227858 /lib/libc-2.3.2.so
discover 27126 root0r  FIFO0,5 12385808 pipe
discover 27126 root1w  FIFO0,5 12385817 pipe
discover 27126 root2u   CHR  136,13 /dev/pts/1
discover 27126 root3w  FIFO0,5 12385809 pipe
discover 27126 root4u   CHR   4,65  1122678 /dev/ttyS1

ie. it is hanging trying to read from ttyS1.  This isn't symlinked
from anything in /dev, nor do I see it in any relevant config files in
/etc or /etc/X11 (it is in /etc/efax.rc, but it would surprise me if
that mattered.)

Re-running the upgrade (after killing discover out from under it,
causing that part of the upgrade to fail) did end up running to
completion, so that may make this hard to diagnose.

-- Package-specific info:
01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 100 DDR/200 
DDR] (rev b2)
01:00.0 Class 0300: 10de:0111 (rev b2)

# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4  /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section Files
FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/CID
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/misc
FontPath