bugGNU GRUB - Bugs: bug #10433, Grub 0.95 - Grub Bootable CD-ROM,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10433: Grub 0.95 - Grub Bootable CD-ROM, no device (cd). Related to Error 21 at stage 1.5

Submitter:  Brendan Sleight <bmsleight>
Submitted:  Sat 18 Sep 2004 05:19:03 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Non-software Error
Status:  Postponed Privacy:  Public
Assigned to:  None Originator Name:  Brendan Sleight
Open/Closed:  Closed Release:  None
Release:  0.95 Reproducibility:  None
Planned Release:  None

Jump to the original submission

Sat 15 Dec 2007 04:38:58 PM UTC, comment #6: 

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?

Thanks

Robert Millan <robertmh>
Group administrator
Wed 02 Mar 2005 10:55:21 PM UTC, comment #5: 

We have an ugly hack, initial testing is promising, we are undertaking further testing - as part of the new Kanotix, Clusterix and Morphix releases.

We are not satisfied with the ugly approach and are looking at other ways around. In fact we have had quite alot of discussion about grub_printf statement running three times, error reporting and other nicer solutions such as:-
cdrp.size = sizeof (cdrp) - sizeof (cdrp.dummy);
if (cdrp.drive_no == drive)

This for now is a nice safe patch which will also work for 0.96

I am not taking the credit for this hard work. This patch was generated by Kanotix, Morphix and Clusterix developers. slh, kano, locsmif, g1powermac to name just a few.

--- grub-0.95.orig/stage2/bios.c        2004-03-27 17:34:04.000000000 +0100
+++ grub-0.95/stage2/bios.c     2005-03-02 01:02:29.192582200 +0100
@@ -147,6 +147,7 @@
   grub_memset (&cdrp, 0, sizeof (cdrp));
   cdrp.size = sizeof (cdrp) - sizeof (cdrp.dummy);
   err = biosdisk_int13_extensions (0x4B01, drive, &cdrp);
+  err = 0; /* really ugly hack to circumvent faulty BIOS versions like Acer 292LMi */
   if (! err && cdrp.drive_no == drive)
     {
       if ((cdrp.media_type & 0x0F) == 0)

Brendan Sleight <bmsleight>
Sun 10 Oct 2004 12:47:03 AM UTC, comment #4: 

Hello.
I also try to make a morphix based distro.
I try to both stage2_eltorito and iso9660_stage1_5, both of them works fine in my computer (athlon1700+), but none of them works in my friend P2. I will give you the Bios model as I get it.

The simptoms he gets are these :
When using iso9660_stage1_5, he get "error 17".
When using stage2_eltorito, he get the rub command line, with no ability to mount the (cd) device.

I guess this is BIOS bugs, but I think that GRUB should handle those too, because I can't tell people to upgrade their bioses after so much time they worked well...

Thanks in advance,
Nir Misgav

Nir Misgav <nirro_>
Tue 21 Sep 2004 03:26:29 PM UTC, comment #3: 

Ok. Your previous description was really confusing, since you said only iso9660_stage1_5 but not stage2_eltorito at all.

Then, see this thread of the mailing list:

http://lists.gnu.org/archive/html/bug-grub/2004-07/msg00010.html

Yoshinori K. Okuji <okuji>
Group administrator
Tue 21 Sep 2004 03:05:20 PM UTC, comment #2: 

Quoting the follow up comment:-
Date: Mon 09/20/04 at 21:12         By: Yoshinori K. Okuji
Read the manual. Use stage2_eltorito.

I did! Read my original comments.partially copied below). I tried to carry out as many tests as possible before submitting this to the mailing lists.

Tests
I have also created a cd-rom using grub 0.95 exactly as per the instruction in the documentation. Without any menu or option files.
http://www.gnu.org/software/grub/manual/grub.html#Making%20a%20GRUB%20bootable%20CD-ROM
(no emulation mode in the El Torito specification)
So that I can just boot to grub command line. The devices fd0 and hd0 do exisit but device (cd) does not exist.
For example I do: cat (<<TAB>>
I only get option of hd0. I am unable to access the other files on the iso. '

.


Anonymous
Mon 20 Sep 2004 09:12:15 PM UTC, comment #1: 

Read the manual. Use stage2_eltorito.

Yoshinori K. Okuji <okuji>
Group administrator
Sat 18 Sep 2004 05:19:03 PM UTC, original submission:  

Grub 0.95 - Grub Bootable CD-ROM, no device (cd).

I am using an IPC - Webnote. (IPC Archtec 503-060)
http://www.tickpc.co.uk/products.asp?sid=932333980&viewItem=1113

Background
I am a (minor) developer with Morphix.org - a GNU/Linux LiveCD  ( http://en.wikipedia.org/wiki/Livecd ) We have moved away from using Grub with floppy disk emulation. To booting w/o emulation, using iso9660_stage1_5 (So that we have space for kernel, long menu lists and graphics).  When using this option, I get Error 21 (disk does not exist) during stage 1.5

There are no other BIOS upgrades (google suggestion) available for my machine, currently on highest version. Other Laptop have reported the same problem:-
acer TravelMate 290
Packard Bell Easynote E3269 (+ Another User - Packard Bell)
Toshiba Tecra S1 1.6ghz
(http://savannah.nongnu.org/bugs/?func=detailitem&item_id=10027)
(http://www.morphix.org/modules/newbb/viewtopic.php?topic_id=1514&forum=2&jump=1)


Tests
A have also tried making a new iso without the -boot-load-size 4 This has no effect on the error.

I have also created a cd-rom using grub 0.95 exactly as per the instruction in the documentation. Without any menu or option files.
http://www.gnu.org/software/grub/manual/grub.html#Making%20a%20GRUB%20bootable%20CD-ROM
(no emulation mode in the El Torito specification)
So that I can just boot to grub command line. The devices fd0 and hd0 do exisit but device (cd) does not exist.
For example I do: cat (<<TAB>>
I only get option of hd0. I am unable to access the other files on the iso.


A bug report that is mentions Error 21 (HD not CD-ROM), suggest down grading to 0.93.
http://savannah.gnu.org/bugs/?func=detailitem&item_id=6846
I have tried this, but I get a compile error :-
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -fwritable-strings -g -c -o libgrub_a-fsys_reiserfs.o `test -f fsys_reiserfs.c || echo './'`fsys_reiserfs.ccc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
fsys_reiserfs.c:115: error: long, short, signed or unsigned used invalidly for `j_mount_id'
fsys_reiserfs.c: In function `next_key':
fsys_reiserfs.c:761: warning: operation on `depth' may be undefined
make[1]: * [libgrub_a-fsys_reiserfs.o] Error 1
make[1]: Leaving directory `/home/bms/grub_i/grub-0.92/stage2'
make: * [install-recursive] Error 1
(Sorry I am not very good at compile errors - I'm still learning)

Summary
I would be greatful for any sugestions on what other tests I can try. Looks like there is a problem between BIOS, GNU/Grub on CD when not using floppy emulation. Seen in other laptops.

Best Regards,
Brendan M. Sleight

Real email: me.spam[**]barwap.com

Brendan Sleight <bmsleight>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen Closed
    2004-10-10 nirro_ Carbon-Copy- Added nirro_
    2004-09-21 okuji StatusInvalid Postponed
        Open/ClosedClosed Open
    2004-09-20 okuji StatusNone Invalid
        Open/ClosedOpen Closed
    2004-09-18 bmsleight Carbon-Copy- Added me --DOT-- spam --AT-- barwap --DOT-- com

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code