Fix: remove obsolete workaround (see 22.2-3.1)
authorJoachim Wiedorn <ad_debian@joonet.de>
Tue, 18 Jan 2011 23:42:26 +0000 (00:42 +0100)
committerJoachim Wiedorn <ad_debian@joonet.de>
Tue, 18 Jan 2011 23:42:26 +0000 (00:42 +0100)
debian/changelog
debian/patches/11_remove-obsolete-bios-workaround.patch [new file with mode: 0644]
debian/patches/series

index 3bcc1edb53bdba070da0dffd19992fb28bb57c3c..325dd0c6bf9f9b3374677f9d844de166edd28996 100644 (file)
@@ -65,8 +65,9 @@ lilo (1:23.1-1) unstable; urgency=low
     - Add usage hints about -H option in src/lilo.c. (Closes: #459714)
     - su-to-root command without path in debian/lilo.menu. (Closes: #431077)
     - Diffs for NMUs already included. (Closes: #504267, #409663)
+    - Remove old obsolete workaround (see bugreport 146350#25).
 
- -- Joachim Wiedorn <ad_debian@joonet.de>  Mon, 17 Jan 2011 19:45:55 +0100
+ -- Joachim Wiedorn <ad_debian@joonet.de>  Tue, 18 Jan 2011 23:38:32 +0100
 
 lilo (1:22.8-10) unstable; urgency=low
 
diff --git a/debian/patches/11_remove-obsolete-bios-workaround.patch b/debian/patches/11_remove-obsolete-bios-workaround.patch
new file mode 100644 (file)
index 0000000..7d2a759
--- /dev/null
@@ -0,0 +1,38 @@
+Package:     lilo
+Subject:     remove obsolete bios workaround
+Author:      Joachim Wiedorn <ad_debian at joonet.de>
+Forwarded:   yes
+Last-Update: 2011-01-18
+
+In the changelog of Debian lilo 22.2-3.1 (from 2002-05-10) was noted:
+
+  * This upstream version uses int15,0xe820 to fetch the memory map.
+    However, sufficiently many systems don't implement this interrupt
+    correctly.  We avoid the errant code for now.  The next upstream
+    release fixes this problem for real.  Note to Russell: this patch
+    must be removed for the next upstream release.
+
+Unfortunately nobody had remembered to this note and removed this 
+workaround with the new upstream release. But the upstream release
+22.3 (from 2002-10-19) of have the following note in its CHANGES: 
+
+    - Compensate for buggy BIOS in int 15h, fn E820h call to avoid
+      overlapping memory areas
+
+Now I remove this very old workaround because it is obsolete since
+May 2002!
+---
+
+diff -urN s10/src/second.S s11/src/second.S
+--- s10/src/second.S   2010-06-20 00:20:26.000000000 +0200
++++ s11/src/second.S   2011-01-18 20:18:55.903147359 +0100
+@@ -2927,8 +2927,7 @@
+       xor     edx,edx                 ; flag nothing found
+       xor     esi,esi                 ; flag size==0
+       xor     ebx,ebx
+-      ;jmp    e8go                    ; circumvented due to BIOS problems
+-      br      no_e801                 ; skip to backup plan
++      jmp     e8go
+ e8go2:        or      ebx,ebx                 ; test for end
+       jz      e8go5
+ e8go: push    edx                     ; save best prospect
index 3ff9196d579a9ac39e099ef1a3836ed21ac92679..91d30f0480deefadf8848f2c80b37cb50f8985be 100644 (file)
@@ -8,3 +8,4 @@
 08_install-also-dat-files.patch
 09_use-of-newer-debhelper.patch
 10_add-info-about-h-option.patch
+11_remove-obsolete-bios-workaround.patch