[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#166675: marked as done (discover: format string should support device id)



Your message dated Sun, 11 Jul 2004 04:17:06 -0400
with message-id <E1BjZWE-0002qX-00@newraff.debian.org>
and subject line Bug#166675: fixed in discover1 1.6.2
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; 27 Oct 2002 19:35:40 +0000
>From pre@saruman.uio.no Sun Oct 27 13:35:40 2002
Return-path: <pre@saruman.uio.no>
Received: from pat.uio.no [129.240.130.16] (7411)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 185tCF-0000gP-00; Sun, 27 Oct 2002 13:35:40 -0600
Received: from saruman.uio.no ([129.240.201.202])
	by pat.uio.no with esmtp (Exim 2.12 #7)
	id 185tCB-0000S1-00; Sun, 27 Oct 2002 20:35:35 +0100
Received: from pre by saruman.uio.no with local (Exim 2.12 #7)
	id 185tCB-00040Q-00; Sun, 27 Oct 2002 20:35:35 +0100
To: submit@bugs.debian.org
Subject: discover: format string should support device id
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E185tCB-00040Q-00@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Sun, 27 Oct 2002 20:35:35 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 


Package: discover
Version: 1.5-1

At the moment I use the following little script to return HW info into
a log file, which I use to debug HW detection problems.

  #!/bin/sh -e
  #
  # Report the detected HW
  if [ -x /sbin/discover ] ; then
    /sbin/discover -f "info: $0: discover: %m;%S;%D;%V;%M;%d\n" all || true
  else
    echo "error: $0: Unable to find /sbin/discover"
  fi
  if [ -x /sbin/lspci ] ; then
    (
      /sbin/lspci -v -t || true
      /sbin/lspci -n || true
    )| sed "s%^%info: $0: lspci: %"
  else
    echo "error: $0: Unable to find /sbin/lspci"
  fi
  if [ -x /sbin/lsmod ] ; then
    /sbin/lsmod | sed "s%^%info: $0: lsmod: %"
  else
    echo "error: $0: Unable to find /sbin/lsmod"
  fi

This script has a small problem, illustrated with the output from Dell
PowerEdge 2650:

  discover: ;;;Relience Computer;CSB5;
  discover: ;;;Unknown;SAMSUNG CD-ROM SN-124;/dev/hda
  discover: bcm5700;;;BROADCOM Corporation;BCM5701 1000BaseTX;
  discover: bcm5700;;;BROADCOM Corporation;BCM5701 1000BaseTX;
  discover: aic7xxx;;;Adaptec;RAID subsystem HBA;
  discover: aic7xxx;;;Adaptec;RAID subsystem HBA;
  discover: ide-scsi;;;Linux;IDE-SCSI emulation layer;
  discover: ;XFree86;ati;ATI Technologies, Inc.;3D Rage XL [264XL GR];
  discover: ;;;DELL;PERCRAID Mirror;/dev/sda
  lspci: -+-[04]-+-08.0-[05]--+-06.0  Adaptec RAID subsystem HBA
  lspci:  |      |            \-06.1  Adaptec RAID subsystem HBA
  lspci:  |      \-08.1  Dell Computer Corporation PowerEdge Expandable RAID Controller 3/Di
  lspci:  +-[03]-+-06.0  BROADCOM Corporation NetXtreme BCM5701 Gigabit Ethernet
  lspci:  |      \-08.0  BROADCOM Corporation NetXtreme BCM5701 Gigabit Ethernet
  lspci:  \-[00]-+-00.0  ServerWorks: Unknown device 0012
  lspci:         +-00.1  ServerWorks: Unknown device 0012
  lspci:         +-00.2  ServerWorks: Unknown device 0000
  lspci:         +-04.0  Dell Computer Corporation: Unknown device 000c
  lspci:         +-04.1  Dell Computer Corporation PowerEdge Expandable RAID Controller 3/Di
  lspci:         +-04.2  Dell Computer Corporation: Unknown device 000d
  lspci:         +-0e.0  ATI Technologies Inc Rage XL
  lspci:         +-0f.0  ServerWorks CSB5 South Bridge
  lspci:         +-0f.1  ServerWorks CSB5 IDE Controller
  lspci:         +-0f.2  ServerWorks OSB4/CSB5 OHCI USB Controller
  lspci:         +-0f.3  ServerWorks: Unknown device 0225
  lspci:         +-10.0  ServerWorks: Unknown device 0101
  lspci:         +-10.2  ServerWorks: Unknown device 0101
  lspci:         +-11.0  ServerWorks: Unknown device 0101
  lspci:         \-11.2  ServerWorks: Unknown device 0101
  lspci: 00:00.0 Class 0600: 1166:0012 (rev 13)
  lspci: 00:00.1 Class 0600: 1166:0012
  lspci: 00:00.2 Class 0600: 1166:0000
  lspci: 00:04.0 Class ff00: 1028:000c
  lspci: 00:04.1 Class ff00: 1028:0008
  lspci: 00:04.2 Class 0c07: 1028:000d
  lspci: 00:0e.0 Class 0300: 1002:4752 (rev 27)
  lspci: 00:0f.0 Class 0600: 1166:0201 (rev 93)
  lspci: 00:0f.1 Class 0101: 1166:0212 (rev 93)
  lspci: 00:0f.2 Class 0c03: 1166:0220 (rev 05)
  lspci: 00:0f.3 Class 0601: 1166:0225
  lspci: 00:10.0 Class 0600: 1166:0101 (rev 03)
  lspci: 00:10.2 Class 0600: 1166:0101 (rev 03)
  lspci: 00:11.0 Class 0600: 1166:0101 (rev 03)
  lspci: 00:11.2 Class 0600: 1166:0101 (rev 03)
  lspci: 03:06.0 Class 0200: 14e4:1645 (rev 15)
  lspci: 03:08.0 Class 0200: 14e4:1645 (rev 15)
  lspci: 04:08.0 Class 0604: 8086:0309 (rev 01)
  lspci: 04:08.1 Class 0104: 1028:000a (rev 01)
  lspci: 05:06.0 Class 0100: 9005:00c5 (rev 01)
  lspci: 05:06.1 Class 0100: 9005:00c5 (rev 01)
  lsmod: Module                  Size  Used by    Not tainted
  lsmod: aacraid                20116   4
  lsmod: sd_mod                 10892   8
  lsmod: scsi_mod               86168   2  [aacraid sd_mod]
  lsmod: floppy                 45852   0
  lsmod: isofs                  24024   1
  lsmod: ide-disk                9312   0
  lsmod: ide-cd                 26852   1
  lsmod: cdrom                  29344   0  [ide-cd]
  lsmod: ide-probe-mod           8464   0
  lsmod: ide-mod               149416   1  [ide-disk ide-cd ide-probe-mod]

The aic7xxx module do not find any supported cards, but it is not
obvious from the output from discover which entry is wrong.  I would
like to get an extra option to the format string giving the hw id
string (PCI ID or equivalent).  Would it be hard?

BTW: The Dell PowerEdge PERC 3/Di SCSI controller needs the aacraid
  module.  I'll add a separate bug about this missing entry in the HW
  detection tables.

---------------------------------------
Received: (at 166675-close) by bugs.debian.org; 11 Jul 2004 08:19:36 +0000
>From katie@ftp-master.debian.org Sun Jul 11 01:19:36 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BjZYe-0005kb-00; Sun, 11 Jul 2004 01:19:36 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BjZWE-0002qX-00; Sun, 11 Jul 2004 04:17:06 -0400
From: Joshua Kwan <joshk@triplehelix.org>
To: 166675-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#166675: fixed in discover1 1.6.2
Message-Id: <E1BjZWE-0002qX-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 11 Jul 2004 04:17:06 -0400
Delivered-To: 166675-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Source: discover1
Source-Version: 1.6.2

We believe that the bug you reported is fixed in the latest version of
discover1, which is due to be installed in the Debian FTP archive:

discover1-udeb_1.6.2_i386.udeb
  to pool/main/d/discover1/discover1-udeb_1.6.2_i386.udeb
discover1_1.6.2.dsc
  to pool/main/d/discover1/discover1_1.6.2.dsc
discover1_1.6.2.tar.gz
  to pool/main/d/discover1/discover1_1.6.2.tar.gz
discover1_1.6.2_i386.deb
  to pool/main/d/discover1/discover1_1.6.2_i386.deb
libdiscover1-dev_1.6.2_i386.deb
  to pool/main/d/discover1/libdiscover1-dev_1.6.2_i386.deb
libdiscover1-pic_1.6.2_i386.deb
  to pool/main/d/discover1/libdiscover1-pic_1.6.2_i386.deb
libdiscover1_1.6.2_i386.deb
  to pool/main/d/discover1/libdiscover1_1.6.2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 166675@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joshua Kwan <joshk@triplehelix.org> (supplier of updated discover1 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 10 Jul 2004 13:37:53 -0700
Source: discover1
Binary: libdiscover1 discover1 libdiscover1-pic discover1-udeb libdiscover1-dev
Architecture: source i386
Version: 1.6.2
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joshua Kwan <joshk@triplehelix.org>
Description: 
 discover1  - hardware identification system
 discover1-udeb - hardware identification library (udeb) (udeb)
 libdiscover1 - hardware identification library
 libdiscover1-dev - hardware identification library development files
 libdiscover1-pic - hardware identification library - static PIC version
Closes: 166675 255758 256174 256371 256710 256989 257396 257649 258305 258315 258664
Changes: 
 discover1 (1.6.2) unstable; urgency=low
 .
   * Petter Reinholdtsen
     - Add %i format option, to print the device ID (PCI id) of the
       device in question. (Closes: #166675)
     - Correct discover(8) manual page.  The module names should match
       the ones in kernel 2.4.26, not 2.2.20.
     - Avoid doing ioctl() and close() with file descriptor -1.  Patch
       from Steinar H. Gunderson.
     - Fixed typo in SCSI disk probing.
   * Joshua Kwan
     - Fix XSIisms in the init script. (Closes: #258315)
     - Pretty up the init script, remove some XXXes involving use of awk,
       replace with calls to sed and shell read loops.
     - Allow discover -h and discover --help to work correctly, as well
       as -v / --version. Ugly hack in ddetect no longer necessary.
     - Don't allow other arguments to discover.init and show a usage blurb
       if that happens.
     - update-initrd behaves with same BLOCK and INODES size as 2.4, per
       consultation with debian-kernel. (Closes: #257649)
     - Add versioned dependency for libdiscover1 using the shlibs file.
   * Translations
     - Debconf
       - Updated Basque. Closes: #255758
       - Updated Ukranian. Closes: #256371
       - Added Catalan. Closes: #256710
       - Updated Hungarian. Closes: #257396
       - Updated Brazilian Portuguese. Closes: #258664
     - Programs
       - Updated Greek. Closes: #256174, #256989
       - Updated Catalan.
       - Updated French
       - Updated Simplified Chinese
       - Updated Hungarian
       - Updated Lithuanian. Closes: #258305
       - Updated Dutch
Files: 
 218a77b0465e0c4e6644c1f0a7fb7305 1460 admin optional discover1_1.6.2.dsc
 9aa8b47cd9ab8453f5c745d6caf0adba 613362 admin optional discover1_1.6.2.tar.gz
 d9d6b68173ebc8e66189146c31317af7 81816 admin optional discover1_1.6.2_i386.deb
 c931d8f6912640b2dc2afc3955271001 79464 libs optional libdiscover1_1.6.2_i386.deb
 b3019cbc35e302c1e50cf18e67b4c15a 55790 libdevel optional libdiscover1-dev_1.6.2_i386.deb
 5833f6e9c3a3473d4e95d2a6ee78a5bc 54376 libs extra libdiscover1-pic_1.6.2_i386.deb
 70ba50eb341f7c521649b2136bb04f59 34550 debian-installer extra discover1-udeb_1.6.2_i386.udeb
package-type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQPD0YaOILr94RG8mAQK79RAAzm9D5HvXv4dn59xHPPrOFD+LIVUvkngw
4QMkBXc1OZN/BySEaNiovZLQZ9bDMv2qTAMet6pGYHMP0avCPaATbvRe9AvR71JV
48TH92bSSAIVCQTJohAwAv+azxUAdJYIzYFy1JFI/WSho4MYWbXgKoi6oZB11Cuu
tilCPPXcDe5DzCpOT+uAusYwk/O7oX6ESBdwDI3iWQOEqA/KViR/WKwExDXdGLgg
RV3EILl9Cr1D/2LtW1PA5aHLuDx0EXKCaX7mp6F4AKq2OaM7zA2QCP3AldMIu/mb
oFwfgyjDMHUkD1qLvEFlIrD2TD8nNBuZMuY3UMbbwQrfTAoi10vLwqVokyDU3MoT
DZOvKsWthzW6OqEWNKR/W1LfbSr/gYNWbnKhqtasb9mRT0ebkiygGgcddYYv61N3
XGGhck0psxeN2SLjwXiJIAJSfz5POt0KHmIyXdpUhn+pNEP1yy8b4fvdBaby1+Fg
c9d08ttn7Btz+6E6WUbO7aqH6tfZE/e5YVrePR04iwFcjiYMEsmhjvkfPHtU5OQ9
+s/UexAuP3PxE8eYjuKCzzfngyMy7lisYez/k0qrYmCdzeWuDOt+t4Kh81MuhcPY
uLfqQVHqkBRpg8iynyR1RCZfkkemjoqzzQwSzu0325zfFvohIa/7lrjFdo9HWvpb
WCEOh/Lil5I=
=uM9m
-----END PGP SIGNATURE-----



Reply to: