#6890 closed bug (invalid)
[intel] can't find boot volume after r38970 (regression)
Reported by: | diver | Owned by: | bebop |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Partitioning Systems/Intel | Version: | R1/Development |
Keywords: | boot-failure | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Attachments (2)
Change History (17)
comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
follow-up: 3 comment:2 by , 14 years ago
From what I understand from the google translation, it seems like the boot loader is not finding the partition, is this correct? If so I don't think that any changes to the add-on could have broken this. If this is not the case, a syslog and/or a copy of the mbr would be helpful.
comment:3 by , 14 years ago
Replying to bebop:
From what I understand from the google translation, it seems like the boot loader is not finding the partition, is this correct? If so I don't think that any changes to the add-on could have broken this.
The add-on code for scanning the partitions is also compiled for the boot loader. And as I understand the translation, he replaced both the kernel add-on and the boot loader with their old versions to get Haiku to boot again.
comment:4 by , 14 years ago
He has tested his system using hrev39648 with following roll-back changes:
Index: PartitionMap.cpp =================================================================== --- PartitionMap.cpp (revision 39648) +++ PartitionMap.cpp (working copy) @@ -834,6 +834,14 @@ off_t nextOffset = 0; for (int32 i = 0; i < byOffsetCount; i++) { Partition* partition = byOffset[i]; + +#if 1 + if (partition->Offset() < nextOffset) { + TRACE(("intel: PartitionMap::Check(): overlapping partitions!" + "\n")); + result = false; + break; +#else if (partition->Offset() < nextOffset && i > 0) { Partition* previousPartition = byOffset[i - 1]; off_t previousSize = previousPartition->Size() @@ -848,6 +856,7 @@ "size to %lld\n", i - 1, previousSize)); previousPartition->SetSize(previousSize); } +#endif } nextOffset = partition->Offset() + partition->Size(); }
The problem disappeared and he has successfully boot his system. The "haiku_loader" and "intel" partition addons were replaced for this test.
by , 14 years ago
Attachment: | drivesetup.png added |
---|
comment:6 by , 14 years ago
Thank you for the patch and screen shot. I will look into this on monday, as I am currentley away from my machine.
by , 14 years ago
Attachment: | screenshot1.png added |
---|
comment:9 by , 13 years ago
Blocking: | 7665 added |
---|
comment:10 by , 10 years ago
Component: | Drivers/Disk → Partitioning Systems/Intel |
---|
comment:11 by , 6 years ago
Keywords: | boot-failure added |
---|
comment:12 by , 6 years ago
Blocking: | 7665 removed |
---|
comment:15 by , 5 years ago
Milestone: | R1 |
---|
Remove milestone for tickets with status = closed and resolution != fixed
Perhaps bebop has an idea what's going on here.