home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!ra!tantalus!eric
- From: eric@tantalus.dell.com (Eric Youngdale)
- Newsgroups: comp.os.linux
- Subject: Re: 0.97pl4 breaks SCSI extended partition code
- Message-ID: <3541@ra.nrl.navy.mil>
- Date: 9 Sep 92 05:52:44 GMT
- References: <716010250snx@prism.demon.co.uk> <1992Sep9.000644.1996@galileo.cc.rochester.edu>
- Sender: usenet@ra.nrl.navy.mil
- Organization: Naval Research Laboratory
- Lines: 36
-
- In article <1992Sep9.000644.1996@galileo.cc.rochester.edu> ctne_ltd@uhura.cc.rochester.edu (Chris Newbold) writes:
- >Okay. This looks like a generic problem with the SCSI extended partition code.
- >I have seen several senarios which result in the problems described above.
- >
- > 1. Adding the CD-ROM filesystem extentions did it for me.
- > 2. Compiling the kernel under GCC v2.2.2d did it for some
- > 3. Now, looks like pl4 has blown it in this case.
- >
- >I was trying to work with Eric (the author of the CD-ROM stuff) to find
- >out what goes wrong, but my disk controller flaked out and I haven't
- >had a machine for the last week...
-
- I found another guinea pig, and it appears as if we are closing in
- on the solution. What I do know is that make_request in ll_rw_blk.c returns
- because it believes that the read is beyond the end of the partition.
- Specifically, the problem shows up in the following segment:
-
- count = bh->b_size >> 9;
- sector = bh->b_blocknr * count;
- if (blk_size[major])
- if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
- bh->b_dirt = bh->b_uptodate = 0;
- return;
- }
-
- As of yet, I do not know whether the blk_size array is incorrect or if sector
- or count is corrupt, or whether we are not converting something somewhere.
- I hope that within a day that we will have enough information to squash this
- bug.
-
- -Eric
-
-
- --
- Eric Youngdale
- eric@tantalus.nrl.navy.mil
-