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

Bug#224745: marked as done (hw-detect: Reports errors for sd_mod and sr_mod when support is compiled statically into the kernel)



Your message dated Wed, 24 Dec 2003 02:02:05 -0500
with message-id <E1AZ31x-0004Zz-00@auric.debian.org>
and subject line Bug#224745: fixed in ddetect 0.60
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; 21 Dec 2003 22:44:49 +0000
>From karsten@excalibur.cologne.de Sun Dec 21 16:44:24 2003
Return-path: <karsten@excalibur.cologne.de>
Received: from natsmtp00.rzone.de (natsmtp00.webmailer.de) [81.169.145.165] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AYBed-0004fl-00; Sun, 21 Dec 2003 16:02:27 -0600
Received: from excalibur.cologne.de (pD9E40B23.dip.t-dialin.net [217.228.11.35])
	by post.webmailer.de (8.12.10/8.12.10) with ESMTP id hBLM1cCM013147
	for <submit@bugs.debian.org>; Sun, 21 Dec 2003 23:01:39 +0100 (MET)
Received: from karsten by excalibur.cologne.de with local (Exim 3.35 #1 (Debian))
	id 1AYBku-0000tu-00
	for <submit@bugs.debian.org>; Sun, 21 Dec 2003 23:08:56 +0100
Date: Sun, 21 Dec 2003 23:08:55 +0100
From: Karsten Merker <karsten@excalibur.cologne.de>
To: submit@bugs.debian.org
Subject: hw-detect: Reports errors for sd_mod and sr_mod when support is compiled statically into the kernel
Message-ID: <[🔎] 20031221220855.GA3193@excalibur.cologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-No-Archive: yes
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

Package: hw-detect
Version: 0.58

Hw-detect reports an error when it cannot load the modules sd_mod and
sr_mod. This is also the case when these modules do not exist because
they are compiled statically into the kernel (like it is the case
for the default mips and mipsel kernels).

Hw-detect should check whether SCSI-Disk- and SCSI-CDROM is present
in the kernel before it tries to load the modules. This can be
accomplished with the following patch:

Index: debian-installer/tools/ddetect/hw-detect.sh
===================================================================
RCS file: /cvsroot/d-i/debian-installer/tools/ddetect/hw-detect.sh,v
retrieving revision 1.43
diff -r1.43 hw-detect.sh
221,224c221,228
< 	for module in sd_mod sr_mod; do
< 		if is_not_loaded "$module" ; then
< 			load_modules $module
< 			register-module $module
---
> 	for module in sd sr; do
> 		if is_not_loaded "${module}_mod" ; then
> 			if grep -q $module /proc/devices ; then
> 				log "Module ${module}_mod is compiled in statically"
> 			else
> 				load_modules ${module}_mod
> 				register-module ${module}_mod
> 			fi

Regards,
Karsten
-- 
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.

---------------------------------------
Received: (at 224745-close) by bugs.debian.org; 24 Dec 2003 07:59:22 +0000
>From katie@auric.debian.org Wed Dec 24 01:59:21 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AZ34d-0006f0-00; Wed, 24 Dec 2003 01:04:51 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1AZ31x-0004Zz-00; Wed, 24 Dec 2003 02:02:05 -0500
From: Joey Hess <joeyh@debian.org>
To: 224745-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#224745: fixed in ddetect 0.60
Message-Id: <E1AZ31x-0004Zz-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Wed, 24 Dec 2003 02:02:05 -0500
Delivered-To: 224745-close@bugs.debian.org

Source: ddetect
Source-Version: 0.60

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

archdetect_0.60_i386.udeb
  to pool/main/d/ddetect/archdetect_0.60_i386.udeb
ddetect_0.60.dsc
  to pool/main/d/ddetect/ddetect_0.60.dsc
ddetect_0.60.tar.gz
  to pool/main/d/ddetect/ddetect_0.60.tar.gz
ethdetect_0.60_all.udeb
  to pool/main/d/ddetect/ethdetect_0.60_all.udeb
hw-detect-full_0.60_all.udeb
  to pool/main/d/ddetect/hw-detect-full_0.60_all.udeb
hw-detect_0.60_all.udeb
  to pool/main/d/ddetect/hw-detect_0.60_all.udeb



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 224745@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated ddetect 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: Wed, 24 Dec 2003 01:36:30 -0500
Source: ddetect
Binary: hw-detect-full archdetect hw-detect ethdetect
Architecture: source i386 all
Version: 0.60
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 archdetect - Hardware architect detector (udeb)
 ethdetect  - Detect network hardware and load kernel drivers for it (udeb)
 hw-detect  - Detect hardware and load kernel drivers for it (udeb)
 hw-detect-full - Detect hardware and load kernel drivers for it (full version) (udeb)
Closes: 224745
Changes: 
 ddetect (0.60) unstable; urgency=low
 .
   * Karsten Merker
     - Fix hw-detect error messages about missing sd_mod and
       sr_mod when SCSI-disk- and SCSI-CDROM support is compiled
       into the kernel statically. (closes: Bug#224745)
   * Joey Hess
     - busybox sed does not use -e, fix broken sed commands in above changes.
     - Add back the missing register-module calls for sd_mod and sr_mod.
     - Better IFS newline setting.
     - Send ide pci modules find stderr to /dev/null.
     - Use only one progress bar for both hardware detection and module
       loading, and add the sd_mod and sr_mod loading to it.
     - Fix sed quoting, it was broken for .ko.
   * Bart Cornelis
     - incorporated improvements from debian-l10n-dutch into nl.po
     - Merged Norwegian Bokmael (nb.po) translation from skolelinux-cvs
   * Jure Cuhalev
     - Added/updated slovenian translation (sl.po).
   * Gaudenz Steinlin
     - add support for discover 2 without the didiscover utility
       (Thanks to Thiemo Seufer for dumb_join_discover)
Files: 
 d64bebb2a326d088c79c2642cd13f71e 702 debian-installer standard ddetect_0.60.dsc
 1f3ec03a44bb6849b9c27bef20ff93fc 71037 debian-installer standard ddetect_0.60.tar.gz
 2c51f0750a6373ec79283a8311e0dfd8 14434 debian-installer standard hw-detect_0.60_all.udeb
 5c0aec7c316e4ac93e5c0d4e72a13921 12118 debian-installer optional ethdetect_0.60_all.udeb
 1de0dfdc6ed278a86f6de3aa1a7228ca 1294 debian-installer standard hw-detect-full_0.60_all.udeb
 8be222911fb923b46eedae15017299ef 2296 debian-installer standard archdetect_0.60_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/6TTK2tp5zXiKP0wRAoYyAKDUdxeOQGRdY4VtOMNdivpQTKToJQCgi2tv
lpPOH/GeGPg4n/gG6vSo5OI=
=h+Wk
-----END PGP SIGNATURE-----



Reply to: