For me this (bourrinage) patch fix it :

--- grub-0.93/lib/device.c.chmou        2003-08-14 11:33:57.000000000 +0200
+++ grub-0.93/lib/device.c      2003-08-14 11:36:55.700163832 +0200
@@ -581,7 +581,7 @@
       if (check_device (name))
        {
          (*map)[num_hd + 0x80] = strdup (name);
-         assert ((*map)[num_hd + 0x80]);
+         //assert ((*map)[num_hd + 0x80]);
          
          /* If the device map file is opened, write the map.  */
          if (fp)


don't know what's wrong though...

"[mr]" <[EMAIL PROTECTED]> writes:

> http://qa.mandrakesoft.com/show_bug.cgi?id=4737
> 
>            Product: grub
>          Component: grub
>            Summary: seg fault during installation of grub (0.93-2mdk)
>            Product: grub
>            Version: 0.93-1mdk
>           Platform: PC
>         OS/Version: All
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: P2
>          Component: grub
>         AssignedTo: [EMAIL PROTECTED]
>         ReportedBy: [EMAIL PROTECTED]
> 
> 
> This is for grub 0.93-2mdk:
> 
> [EMAIL PROTECTED] /]# sh /boot/grub/install.sh
> Probing devices to guess BIOS drives. This may take a long time.
> /boot/grub/install.sh: line 4: 11633 Segmentation fault      (core dumped) grub
> --device-map=/boot/grub/device.map --batch  <<EOF
> install (hd0,4)/grub/stage1 d (hd0) (hd0,4)/grub/stage2 p (hd0,4)/grub/menu.lst
> quit
> EOF
>  
> 
> backtrace:
> #0  0x400a2dcb in realpath () from /lib/i686/libc.so.6
> #1  0xbfffc69c in ?? ()
> 
> 
> Note: This is a ThinkPad T20. Grub tries to probe for my floppy drive which is
> currently not installed. dmesg shows:
> 
> end_request: I/O error, dev 02:00 (floppy), sector 0
> end_request: I/O error, dev 02:00 (floppy), sector 0
> end_request: I/O error, dev 02:00 (floppy), sector 2
> end_request: I/O error, dev 02:00 (floppy), sector 4
> end_request: I/O error, dev 02:00 (floppy), sector 6
> 
> 
> BTW: The previous versions of grub worked fine, I cannot remember it crashing
> during installation.

-- 
http://www.chmouel.com/


Reply via email to