[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #14407] partition table offset not reset when changing to CD

From: anonymous
Subject: [bug #14407] partition table offset not reset when changing to CD
Date: Mon, 5 Sep 2005 09:33:59 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4


                 Summary: partition table offset not reset when changing to
                 Project: GNU GRUB
            Submitted by: None
            Submitted on: Mon 09/05/05 at 09:33
                Category: Disk &amp; Partition
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: T Deegan
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 0.97
         Reproducibility: Every Time
         Planned Release: 




After reading a secondary partition, changing to the CD drive
returns an error, although GRUB can still read files from it.

To reproduce:

Select an extended partition on a large hard drive with a large 
primary partition at the start of the disk.  Then select a CD
with a smallish image on it:

 grub> root (hd0,4)
  Filesystem type unknown, partition type 0x83

 grub> root (cd)
 Error 25: Disk read error.


The cur_part_offset variable in disk_io.c is not being reset 
during the execution of "root (cd)". AFAICT this is because 
the CD-ROM doesn't have a partition table so some of the code 
isn't getting exercised, but the disk IO code is sufficiently 
twisty that I didn't attempt a patch.

I was using Grub 0.97, from CVS August 31 2005; I can reproduce 
this problem on several machines and the qemu emulator.




Carbon-Copy List:

CC Address                          | Comment
tjd-gnugrub --AT-- phlegethon --DOT-- org | Originator Email


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]