From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Woodruff, Richard" To: "'9fans@cse.psu.edu'" <9fans@cse.psu.edu> Cc: "'rsc@plan9.bell-labs.com'" Subject: Re: [9fans] exception / interrupt 14 again MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 10 May 2002 11:56:23 -0500 Topicbox-Message-UUID: 8ef71f14-eaca-11e9-9e20-41e7f4b1d025 Russ, So I did get 4th edition running on my target PC. In my case I just let Plan9 have the rest of the disk, instead of having another partition behind it. I did run a utility on the disk which reports that the Cylinder value used presumably calculated and set from Plan9 was wrong. My tool said that the number of cylinders should be 2481, while the value written in was 1023. I haven't looked into the code to see if this was the problem or not, but I suspect it could contribute if I really tried to use an adjacent partition. I've included the disk information below. Regards, Richard W. Partition Information Program Oct 09 2000 - DOS32 Version Copyright (c) 1994-2000, PowerQuest Corporation Permission is granted for this utility to be freely copied so long as it is not modified in any way. All other rights are reserved. PowerQuest, makers of PartitionMagic(r), Drive Image(tm) and DriveCopy(tm), can be reached at Voice: 801-226-6834 Web site: http://support.powerquest.com Fax: 801-226-8941 Email: help@powerquest.com ===================================================================== Disk 1: 2482 Cylinders, 255 Heads, 63 Sectors/Track. The BIOS supports INT 13h extensions for this drive. ========================== Partition Tables ========================= Partition -----Begin---- ------End----- Start Num Sector # Boot Cyl Head Sect FS Cyl Head Sect Sect Sects --------- - ---- ---- ---- ---- -- ---- ---- ---- --------- --------- 0 0 80 0 1 1 07 990 254 63 63 15920352 0 1 00 991 0 1 39 1023 254 63 15920415 23952915 Info: End C,H,S values were large drive placeholders. Actual values are: 0 1 00 991 0 1 39 2481 254 63 15920415 23952915 ============================================================================ == Disk 1: 19469.4 Megabytes ============================ Partition Information =========================== Volume Partition Partition Start Total Letter:Label Type Status Size MB Sector # Sector Sectors ------------- --------------- -------- ------- --------- - --------- --------- NTFS Pri,Boot 7773.6 0 0 63 15920352 Type 39 Pri 11695.8 0 1 15920415 23952915 ======================================================================== Boot Sector for drive *: (Drive 1, Starting Sector: 63, Type: NTFS ======================================================================== 1. Jump: EB 52 90 2. OEM Name: NTFS 3. Bytes Per Sector: 512 4. Sectors Per Cluster: 8 5. Reserved Sectors: 0 6. Number of FAT's: 0 7. Root Dir Entries: 0 8. Total Sectors: 0 (0x0) 9. Media Descriptor: 0xF8 10. Sectors Per FAT: 0 11. Sectors Per Track: 63 (0x3F) 12. Number of Heads: 255 (0xFF) 13. Hidden Sectors: 63 (0x3F) 14. Big Total Sectors: 0 (0x0) 15. Unused: 0x80 0x00 0x80 0x00 16. Total NTFS Sectors: 15920351 (0xF2ECDF) 17. MFT Start Cluster: 4 (0x4) 18. MFT Mirror Start Clust: 265200 (0x40BF0) 19. Clusters per FRS: 246 20. Clusters per Index Blk: 1 21. Serial Number: 0xC8F0F069F0F05F5E 22. Checksum: 0x00000000 23. Boot Signature: 0xAA55 "Russ Cox" wrote in message news:... > > On a side note the Plan9 partition utility seemed to corrupt the partition > > directly behind it. I also ran into a similar error with the 3rd edition > > where it calculated the size wrong by 1 or something. Looks like I may have > > to dedicate a whole machine to make it go. > > If someone can give me information about what exactly > is going wrong, I would love to fix this. I suspect that > our LBA counts are fine and the imaginary C/H/S addresses > for partitions past what C/H/S can address somehow aren't > kosher. > > Thanks. > Russ