Your message dated Thu, 04 Sep 2008 23:30:41 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: syslinux: including (optional) patch to preload initrd in 
real mode
has caused the Debian Bug report #141604,
regarding syslinux: including (optional) patch to preload initrd in real mode
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.)


-- 
141604: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=141604
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: syslinux
Version: 1.66-1
Severity: wishlist

There is a hot problem with Linux if you have to change anything
boot-essential when using hardware provided by BIOS emulation. For
example, USB devices and initrd. You have to replace the disk and press
enter, but when Linux started, many USB keyboard (used via BIOS' legacy
emulation) stop working. Same for modern sub-notebooks with USB floppy drives.
You cannot replace the floppy. The current solution for this malheur is
hacking the kernel to read initrd from the USB driver rather than from
/dev/fd0.

All this could be much easier when the initrd could be preloaded while
the legacy emulation still works. Herbert Xu provided a patch to make
this possible, see below. A testing version of syslinux is on
http://gondor.apana.org.au/~herbert/debian/.

--- ldlinux.asm.orig    Sat Dec 29 17:02:09 2001
+++ ldlinux.asm Sat Dec 29 17:02:24 2001
@@ -1988,6 +1988,7 @@
 ;
                 test byte [initrd_flag],1
                 jz nk_noinitrd
+                mov cx,2
                 push es                         ; ES->real_mode_seg
                 push ds
                 pop es                          ; We need ES==DS
@@ -1996,6 +1997,7 @@
                 call unmangle_name              ; Create human-readable name
                 sub di,InitRDCName
                 mov [InitRDCNameLen],di
+find_initrd:
                 mov di,InitRD
                 call searchdir                  ; Look for it in directory
                 pop es
@@ -2023,6 +2025,16 @@
                jmp short initrd_end
 
 initrd_notthere:
+                dec cx
+                jz initrd_notthere2
+                mov si,chdsk_msg
+                call cwritestr
+                call getchar
+                push es
+                push ds
+                pop es
+                jmp find_initrd
+initrd_notthere2:
                 mov si,err_noinitrd
                 call cwritestr
                 mov si,InitRDCName
@@ -4203,6 +4215,8 @@
 err_bootsec    db 'Invalid or corrupt boot sector image.', CR, LF, 0
 err_a20                db CR, LF, 'A20 gate not responding!', CR, LF, 0
 err_bootfailed db CR, LF, 'Boot failed: please change disks and press '
+               db 'a key to continue.', CR, LF, 0
+chdsk_msg      db CR, LF, 'Please insert the next disk and press '
                db 'a key to continue.', CR, LF, 0
 ready_msg      db ' ready.', CR, LF, 0
 loading_msg     db 'Loading ', 0


Gruss/Regards,
Eduard.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux zombie 2.4.18 #1 Don Mär 28 13:46:53 CET 2002 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages syslinux depends on:
ii  libc6                         2.2.5-4    GNU C Library: Shared libraries an




--- End Message ---
--- Begin Message ---
Hi,

the problem that this patch was created to solve, doesn't exist anymore
with todays initramfs, thus closing.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          [EMAIL PROTECTED]
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--- End Message ---

Reply via email to