bugThe GNU Hurd - Bugs: bug #6378, Harmless error when the Hurd is on...

 
 

bug #6378: Harmless error when the Hurd is on extended partition

Submitted by:  Ognyan Kulev <ogi>
Submitted on:  Wed 05 Nov 2003 03:45:16 PM UTC  
 
Category: GNU MachSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Marco Gerards <marco_g>Originator Name: 
Open/Closed: ClosedReproducibility: Every Time
Size (loc): Low <30Planned Release: None
Effort: 1.00
Wiki-like text discussion box: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 28 Feb 2004 08:05:46 PM UTC, comment #3:

This bug was fixed in the gnumach-1-branch in CVS and accompanies the following changelog entry:

2004-01-19 Marco Gerards <metgerards@student.han.nl>

* linux/dev/glue/block.c (init_partition): Don't check for BSD
partitions if the DOS partition is too small.

Marcus Brinkmann <marcus>
Project Administrator
Mon 19 Jan 2004 02:21:23 AM UTC, comment #2:

Fixed in CVS

Marco Gerards <marco_g>
Project MemberIn charge of this item.
Tue 06 Jan 2004 11:20:24 PM UTC, comment #1:

I have the same problem here, with /dev/hd1s5 and /dev/hd1s6 being the two logical 2GB partitions reserved for the Hurd.

Roland Stigge <stigge>
Wed 05 Nov 2003 03:45:16 PM UTC, original submission:

Quote from: http://www.geocrawler.com/mail/msg.php3?msg_id=2377359&list=332

FROM: OKUJI Yoshinori
DATE: 06/28/1999 01:28:51
SUBJECT: RE: hd error during bootstrap

From: "Momchil `Velco` Velikov" <<EMAIL: PROTECTED>>
Subject: hd error during bootstrap
Date: Sun, 27 Jun 1999 15:29:24 +0300

> hd01: bad access : block=28, count=2, blockend=30, nr_sects=2
> end_request: I/O error, dev 03:01, sector 28
> Hit boot to return...
> (serverboot): Running without any paging


Thanks for the clue. This seems to be due to a bug in Hurd but not in Mach. The Linux partition handling code (genhd.c in gnumach) sets NR_SECTS to 2 if NR_SECTS of an extended partition is more than 2, because normal programs should not use any extended partition. An extended partition should be used only to put logical partitions into it. Therefore, I suspect that serverboot (and/or other program in Hurd) tries to read 2 sectors starting at 28 from any partition, whether it is an extended partition or not.

Ognyan Kulev <ogi>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 28 Feb 2004 08:05:46 PM UTCmarcusCategoryNone=>GNU Mach
  StatusNone=>Fixed
  Assigned toNone=>marco_g
  Size (loc)None=>Low <30
  Effort0.00=>1
Mon 19 Jan 2004 02:21:23 AM UTCmarco_gOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1