#15045 closed bug (fixed)
KDL "ExtentStream::FindBlock() invalid header" when mounting
Reported by: | humdinger | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | File Systems/ext2 | Version: | R1/Development |
Keywords: | Cc: | jessicah | |
Blocked By: | #15116 | Blocking: | |
Platform: | All |
Description
This is hrev53099, 32bit.
I recently updated from a fairly recent hrev (can't be sure, not older than hrev53060 I think) to hrev53099 (32bit).
I now get a KDL "ExtentStream::FindBlock() invalid header" (see attachment) when trying to mount a specific partition writable and a "Bad data" alert when mounting read-only. For the latter, the syslog says:
KERN: ahci: sg_memcpy phyAddr 0x191f8890, size 8 KERN: ext2: get_vnode: InitCheck() failed. Error: Bad data KERN: ext2: could not create root node: get_vnode() failed! KERN: ext2: Failed mounting the volume. Error: Bad data
Which is strange, because it's not ext2, but a BFS partition. Booting a 64bit Haiku Beta1 image I have laying around, I can mount the partition, no problem. A "checkfs" when booted in the Beta1 doesn't find anything wrong.
Attachments (2)
Change History (20)
by , 6 years ago
Attachment: | mount_kdl.jpg added |
---|
comment:1 by , 6 years ago
Component: | - General → File Systems/ext2 |
---|
comment:2 by , 6 years ago
Interestingly, some other user on Telegram reported that reiserfs caused KDL for him. However, he didn't have any reiser partitions at all.
by , 6 years ago
Attachment: | photo_2019-05-02_20-10-57.jpg added |
---|
comment:3 by , 6 years ago
Diver, that's an unrelated KDL, and I believe it's a duplicate of a different ticket on here; it appears to be caused by CD media changes conflicting with the IO scheduler and partition rescans.
comment:6 by , 6 years ago
Replying to waddlesplash:
humdinger, is this reproducible across reboots?
Yes, 100%.
Any hint where to start my binary hunt for the breaking hrev?
comment:8 by , 6 years ago
Cc: | added |
---|
Probably that just exposed an old bug in the ext2 filesystem, but cc jessicah anyway.
comment:9 by , 6 years ago
Ugh, alright, I'll look into reverting and finding a better way to fix this.
comment:10 by , 6 years ago
What? No, don't revert it. This just exposed some bug in ext2. If the disk was misidentified by ext2 and it was a non BFS disk we'd have this same problem. We need to just fix ext2.
comment:11 by , 6 years ago
Axel wanted it fixed in a better/more intelligent way anyway, which I can understand.
comment:12 by , 6 years ago
@jessicah, any news? I wouldn't hate accessing my two mis-indentified partitions again... :)
comment:13 by , 6 years ago
Blocked By: | 15116 added |
---|
comment:14 by , 6 years ago
FYI, as I needed the disk space, I had to delete/reformat the affected partitions and won't be able to test possible future attempts to fix the issue.
comment:15 by , 5 years ago
I get the same issue after upgrading from Beta to Nightly (x86_gcc2). When booting from a USB stick, my Haiku partition get recognized as EXT2 by DriveSetup, after the update.
Thanks to @waddlesplash help, I managed to boot it again by blacklisting the EXT2 driver.
Just ask me if you need to test some fix.
comment:18 by , 5 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
KDL when mounting writable