home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10407 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.7 KB  |  50 lines

  1. Newsgroups: comp.os.linux
  2. From: david@prism.demon.co.uk (David Metcalfe)
  3. Path: sparky!uunet!pipex!demon!prism.demon.co.uk!david
  4. ReplyTo: david@prism.demon.co.uk
  5. Subject: Re: 0.97pl4 breaks SCSI extended partition code
  6. References: <3555@ra.nrl.navy.mil>
  7. Distribution: world
  8. X-Mailer: cppnews $Revision: 1.15 $
  9. Organization: ** none **
  10. Lines: 35
  11. Date: Thu, 10 Sep 1992 19:43:03 +0000
  12. Message-ID: <716179383snx@prism.demon.co.uk>
  13. Sender: usenet@gate.demon.co.uk
  14.  
  15.  
  16. In article <3555@ra.nrl.navy.mil> eric@tantalus.dell.com (Eric Youngdale) writes:
  17.  
  18. >     OK, I think I see what the problem is, and why this is not working.
  19. > I suggest the following patch.  I already gave this patch to Chris Newbold,
  20. > and it looks correct enough for me to release to the public.
  21. >     Basically this corrects a problem where linux has difficulty reading
  22. > the partition table for an extended partition.  If you are not having this
  23. > problem, I do not see much point in trying this.
  24. >     Basically the problem is that the sd_sizes array is normally
  25. > initialized after the partition tables have been read.  Normally
  26. > blk_size[MAJOR] should be 0 until  the sizes array is ready, but for
  27. > scsi disks blk_size[8] was being initialized prematurely, leading to the
  28. > problem in make_request  (As long as blk_size[MAJOR] == 0, testing
  29. > of sd_sizes is inhibited).
  30. > -Eric
  31.  < patch deleted >
  32.  
  33. I've tried the patch out and it also cures my problem.  It's
  34. interesting that the extended partition could be read first time with
  35. 0.97pl2 but not with pl4.  There must have been a small change in the
  36. timing.
  37.  
  38. David
  39.  
  40. -----------------------------------------------------
  41. David Metcalfe          david@prism.demon.co.uk     
  42. +44 81 361 3327         dmetcalf@cix.compulink.co.uk
  43.      
  44.                        
  45.             
  46.