Your message dated Wed, 20 Feb 2008 13:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#466106: fixed in afbinit 1.0-4
has caused the Debian Bug report #466106,
regarding Initscript should not fail if microcode is unavailable (+ other 
improvments)
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 [EMAIL PROTECTED]
immediately.)


-- 
466106: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466106
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: afbinit
Severity: serious
Tags: patch

Hello,

Afbinit installation fails when installing for the first time. The main problem is that firmware miss is fatal, but I guess we should be able to install the package first, then read README.Debian to figure out how to get the firmware. Here is a small patch against current sid package that do not fail if the firmware is not present, check if it's the right one (md5) and a minor README.Debian with more informations about how to grab the microcode.

Thanks in advance,

Best regards, Adam.



--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.22-2-amd64

Debian Release: lenny/sid
900 testing debmirror
500 ubuntu-doko people.ubuntu.com
500 testing www.debian-multimedia.org
400 unstable debmirror

--- Package information. ---
Depends (Version) | Installed
=======================-+-===========
|

diff -Nur afbinit-1.0/debian/afbinit.init afbinit-1.0.new/debian/afbinit.init
--- afbinit-1.0/debian/afbinit.init	2008-02-16 16:52:01.000000000 +0100
+++ afbinit-1.0.new/debian/afbinit.init	2008-02-16 16:49:05.043692598 +0100
@@ -32,7 +32,12 @@
 fi
 if [ ! -f /usr/lib/afb.ucode ];then
     log_failure_msg "Cannot find AFB microcode (/usr/lib/afb.ucode)"
-    exit 1
+    log_failure_msg "Please read /usr/share/doc/afbinit/README.Debian to see how to obtain it"
+    exit 0
+elif [ `md5sum /usr/lib/afb.ucode | cut -f1 -d' '` != '7cb8dda314278b3cae28da150a53973b' ]; then
+    log_failure_msg "AFB microcode (/usr/lib/afb.ucode) seems to be corrupted"
+    log_failure_msg "Its md5 should be 7cb8dda314278b3cae28da150a53973b"
+    exit 0
 fi
 
 case "$1" in
diff -Nur afbinit-1.0/debian/changelog afbinit-1.0.new/debian/changelog
--- afbinit-1.0/debian/changelog	2008-02-16 16:52:01.000000000 +0100
+++ afbinit-1.0.new/debian/changelog	2008-02-16 16:51:41.172589881 +0100
@@ -1,3 +1,12 @@
+afbinit (1.0-4) unstable; urgency=low
+
+  * Improve README.Debian with the right way to get microcode.
+  * Check md5sum of the microcode before trying to load it.
+  * Do not fail if microcode is corrupted or unavailable.
+  * Thanks to Adam Cécile for his suggestions.
+
+ -- Emanuele Rocca <[EMAIL PROTECTED]>  Sat, 16 Feb 2008 16:49:12 +0100
+
 afbinit (1.0-3) unstable; urgency=low
 
   * Add missing includes (Closes: #451635)
diff -Nur afbinit-1.0/debian/README.Debian afbinit-1.0.new/debian/README.Debian
--- afbinit-1.0/debian/README.Debian	2008-02-16 16:52:01.000000000 +0100
+++ afbinit-1.0.new/debian/README.Debian	2008-02-16 16:13:40.010593866 +0100
@@ -2,8 +2,11 @@
 ------------------
 
 This package requires the AFB microcode, which can be obtained from
-several places. One way is via a Solaris package. You may also find it on
-Sun's website (I found it by doing a search on Google).
+several places. The easiest way to have it is to grab a Solaris patch from
+Sun's website:
+
+Go to http://sunsolve.sun.com/ and search for patch number #108604.
+Download it. Once it's done, unzip the file.
 
 NOTE: The microcode is proprietary and NOT FREE. As in not free speech.
 

--- End Message ---
--- Begin Message ---
Source: afbinit
Source-Version: 1.0-4

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

afbinit_1.0-4.diff.gz
  to pool/contrib/a/afbinit/afbinit_1.0-4.diff.gz
afbinit_1.0-4.dsc
  to pool/contrib/a/afbinit/afbinit_1.0-4.dsc
afbinit_1.0-4_sparc.deb
  to pool/contrib/a/afbinit/afbinit_1.0-4_sparc.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emanuele Rocca <[EMAIL PROTECTED]> (supplier of updated afbinit 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Wed, 20 Feb 2008 13:17:04 +0100
Source: afbinit
Binary: afbinit
Architecture: source sparc
Version: 1.0-4
Distribution: unstable
Urgency: low
Maintainer: Emanuele Rocca <[EMAIL PROTECTED]>
Changed-By: Emanuele Rocca <[EMAIL PROTECTED]>
Description: 
 afbinit    - Elite 3D Framebuffer firmware initializer
Closes: 466106
Changes: 
 afbinit (1.0-4) unstable; urgency=low
 .
   * Do not fail if microcode is unavailable (Closes: #466106)
   * Improve instructions about how to get microcode in README.Debian
   * Fix man page errors
   * Bump Standards-Version
   * Thanks to Adam Cécile for his suggestions
Files: 
 bcfb1c4ef335b4e479a1d0b3cfa2e44b 553 contrib/utils optional afbinit_1.0-4.dsc
 894ee8cf4afa258aa879be7ebe90edf9 3815 contrib/utils optional 
afbinit_1.0-4.diff.gz
 9dfeb49cf1b623c3c012f079078e5139 7572 contrib/utils optional 
afbinit_1.0-4_sparc.deb

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

iD8DBQFHvCjyC6DuA+rxm2ARAvfjAJ9m70ZzqWGcfg805mcLxUyTnub7xgCeOcPY
/Pg2WnEzH+PPqvWirVUdcuk=
=vcAZ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to