Opened 9 years ago

Closed 5 months ago

#6890 closed bug (invalid)

[intel] can't find boot volume after r38970 (regression)

Reported by: diver Owned by: bebop
Priority: normal Milestone: R1
Component: Partitioning Systems/Intel Version: R1/Development
Keywords: boot-failure Cc:
Blocked By: Blocking:
Has a Patch: no 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 9 years ago.
screenshot1.png (52.4 KB ) - added by Flame 9 years ago.
HaikuOS livecd hrev41245 hybrid 4/2 - new (hrev38970+) intel partition add-on. No mbr.

Download all attachments as: .zip

Change History (16)

comment:1 by luroh, 9 years ago

Owner: changed from marcusoverhagen to bebop
Status: newassigned

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

comment:2 by bebop, 9 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, 9 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, 9 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, 9 years ago



Whole drive initialized as BFS, hence no mbr.

by diver, 9 years ago

Attachment: drivesetup.png added

comment:6 by bebop, 9 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, 9 years ago

ping.

by Flame, 9 years ago

Attachment: screenshot1.png added

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

comment:8 by Flame, 9 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 9 years ago by Flame (previous) (diff)

comment:9 by scottmc, 8 years ago

Blocking: 7665 added

comment:10 by diver, 5 years ago

Component: Drivers/DiskPartitioning Systems/Intel

comment:11 by waddlesplash, 17 months ago

Keywords: boot-failure added

comment:12 by waddlesplash, 17 months ago

Blocking: 7665 removed

comment:13 by waddlesplash, 11 months ago

Still an issue?

comment:14 by waddlesplash, 5 months ago

Resolution: invalid
Status: assignedclosed

No reply.

Note: See TracTickets for help on using tickets.