Bug#219680: marked as done (Failure message displayed after (successful) manual configuration.)
Your message dated Mon, 15 Mar 2004 23:55:46 -0500
with message-id <20040316045546.GA29996@kitenet.net>
and subject line fixed
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 Nov 2003 01:00:12 +0000
>From sprite@sprite.fr.eu.org Fri Nov 07 19:00:11 2003
Return-path: <sprite@sprite.fr.eu.org>
Received: from smtp-106-saturday.nerim.net (kraid.nerim.net) [62.4.16.106]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1AIHSV-0006np-00; Fri, 07 Nov 2003 19:00:11 -0600
Received: from sprite.fr.eu.org (sprite.fr.eu.org [213.41.136.74])
by kraid.nerim.net (Postfix) with ESMTP id 784C441118
for <submit@bugs.debian.org>; Sat, 8 Nov 2003 02:00:08 +0100 (CET)
Received: from sprite by sprite.fr.eu.org with local (Exim 3.35 #1 (Debian))
id 1AIHSH-00039l-00; Sat, 08 Nov 2003 01:59:57 +0100
Date: Sat, 8 Nov 2003 01:59:57 +0100
From: Jeremie Koenig <sprite@sprite.fr.eu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Failure message displayed after (successful) manual configuration.
Message-ID: <20031108005957.GA11940@sprite.fr.eu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="FCuugMFkClbJLl1L"
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-Reportbug-Version: 2.36
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-7.9 required=4.0
tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF
autolearn=ham version=2.53-bugs.debian.org_2003_11_7
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_7 (1.174.2.15-2003-03-30-exp)
--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: eth-detect
Version: 0.55
Severity: minor
Tags: patch
When choosing to manually load a network module, the steps are (using
low debconf priority) :
1. Would you like me to try to detect hardware ? => No
2. What module does your ethernet card require ? => ne
3. Please enter any additional parameters => io=0x340
-- (the module loads correctly, eth0 exists)
3. Your ethernet card was not found (!)
Then ethdetect returns to main-menu (the while loop ends, since eth0
exist), and everything is going well, despite the frightening message.
Furthermore, when probing the selected module fails, ethdetect exits
instead of looping.
Applying the attached patch to ethdetect.sh fixes these problems.
--
Jeremie Koenig <sprite@sprite.fr.eu.org>
--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ethdetect.diff"
Index: ethdetect.sh
===================================================================
RCS file: /cvs/debian-boot/debian-installer/tools/ddetect/ethdetect.sh,v
retrieving revision 1.8
diff -u -r1.8 ethdetect.sh
--- ethdetect.sh 17 Oct 2003 20:18:59 -0000 1.8
+++ ethdetect.sh 8 Nov 2003 00:57:41 -0000
@@ -39,10 +39,18 @@
if [ true = "$RET" ] ; then
# Autodetect using hw-detect from hw-detect
hw-detect || true
+ we_tried=y
fi
while [ -z "`sed -e "s/lo://" < /proc/net/dev | grep "[a-z0-9]*:[ ]*[0-9]*"`" ]
do
+ # No ethernet interface. Try manual loading.
+ if [ -n "$we_tried" ]; then
+ db_fset ethdetect/cannot_find seen false
+ db_input high ethdetect/cannot_find
+ db_go || break
+ fi
+
CHOICES=""
for net_module in $(find /lib/modules/*/kernel/drivers/net -type f); do
basemod=$(echo $net_module | sed s/\.o$// | sed 's/.*\///')
@@ -63,11 +71,8 @@
fi
module="$RET"
if [ -n "$module" ] && is_not_loaded "$module" ; then
- module_probe "$module"
+ module_probe "$module" || true
fi
-
- # No ethernet interface. Try manual loading.
- db_fset ethdetect/cannot_find seen false
- db_input high ethdetect/cannot_find
- db_go || break
+
+ we_tried=y
done
--FCuugMFkClbJLl1L--
---------------------------------------
Received: (at 219680-done) by bugs.debian.org; 16 Mar 2004 04:56:26 +0000
>From joey@kitenet.net Mon Mar 15 20:56:26 2004
Return-path: <joey@kitenet.net>
Received: from kitenet.net [64.62.161.42] (postfix)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1B36cs-0008DJ-00; Mon, 15 Mar 2004 20:56:26 -0800
Received: from dragon.kitenet.net (dial174.pm3bloun1.bloun.naxs.com [216.98.69.174])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
by kitenet.net (Postfix) with ESMTP id 381AA17EBC
for <219680-done@bugs.debian.org>; Tue, 16 Mar 2004 04:56:25 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
id DA0AD6E118; Mon, 15 Mar 2004 23:55:46 -0500 (EST)
Date: Mon, 15 Mar 2004 23:55:46 -0500
From: Joey Hess <joeyh@debian.org>
To: 219680-done@bugs.debian.org
Subject: fixed
Message-ID: <20040316045546.GA29996@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: 219680-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2004_03_12
X-Spam-Level:
--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
This bug was fixed (in a different way) in ethdetect 0.65.
--=20
see shy jo
--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAVojSd8HHehbQuO8RApbmAJ9hgv1ZcGzw6dhLW+zRAFV8q+KS+QCbBvf4
ZYBirKjoevkUOkUsNf+eBeU=
=fOet
-----END PGP SIGNATURE-----
--oyUTqETQ0mS9luUI--
Reply to: