Opened 14 years ago

Closed 5 years ago

Last modified 5 years ago

#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

Description

User kim1963 reports that Haiku doesn't boot for him since hrev38970 (#6487)
Forum thread: http://qube.ru/forums/chto-sdelali-s-38970-i-dalee-sborkami
Google translate: link

He is able to boot current revisions after replacing intel partition add-on from hrev38969.

Attachments (2)

drivesetup.png (21.4 KB ) - added by diver 14 years ago.
screenshot1.png (52.4 KB ) - added by Flame 14 years ago.
HaikuOS livecd hrev41245 hybrid 4/2 - new (hrev38970+) intel partition add-on. No mbr.

Download all attachments as: .zip

Change History (17)

comment:1 by luroh, 14 years ago

Owner: changed from marcusoverhagen to bebop
Status: newassigned

Perhaps bebop has an idea what's going on here.

comment:2 by bebop, 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.

in reply to:  2 comment:3 by bonefish, 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 siarzhuk, 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.

comment:5 by diver, 14 years ago



Whole drive initialized as BFS, hence no mbr.

by diver, 14 years ago

Attachment: drivesetup.png added

comment:6 by bebop, 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.

comment:7 by diver, 14 years ago

ping.

by Flame, 14 years ago

Attachment: screenshot1.png added

HaikuOS livecd hrev41245 hybrid 4/2 - new (hrev38970+) intel partition add-on. No mbr.

comment:8 by Flame, 14 years ago

HaikuOS livecd r41245 hybrid 4/2 - new (r38970+) intel partition add-on. No mbr.

HaikuOS livecd hrev41245 hybrid 4/2 - new (hrev38970+) intel partition add-on. No mbr.

Last edited 14 years ago by Flame (previous) (diff)

comment:9 by scottmc, 14 years ago

Blocking: 7665 added

comment:10 by diver, 10 years ago

Component: Drivers/DiskPartitioning Systems/Intel

comment:11 by waddlesplash, 6 years ago

Keywords: boot-failure added

comment:12 by waddlesplash, 6 years ago

Blocking: 7665 removed

comment:13 by waddlesplash, 6 years ago

Still an issue?

comment:14 by waddlesplash, 5 years ago

Resolution: invalid
Status: assignedclosed

No reply.

comment:15 by nielx, 5 years ago

Milestone: R1

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.