Haiku (32-bit) won't boot


#1

Hi there,
Haiku 32- and 64-bit ran fine on my Zotac MiniPC (CL327 nano, 256 GB SSD, RAM 8 GB). After an update a couple of weeks ago, the 32bit installation won’t start up anymore. The 64-bit version works fine. Today, I flashed a USB-drive with the latest 32-bit Anyboot-Iso, in order to make a new install on the Haiku32-partition. Still no success: the mouse cursor gets up, blue background, but then nothing happens. It once got into KDL: IMG_9503
Any clues?


#2

It seems to be the same with my old Centrino Notebook Sony Z1.
I used that for testing Haiku for ages. Now it also KDLs after boot.


#3

I think @pulkomandy has a ticket open about this and said it was related to disk corruption. Unfortunately I don’t think he solved it yet?


#4

Hi,
I don’t remember about this.
It looks like the KDL is use-after-free of a spinlock?


#5

Yes, this occurs half the time following lock destruction. I am pretty sure the real issue is the same as this: https://dev.haiku-os.org/ticket/15015


#6

Well, we should fix the use of locks first, and make sure we never delete them while they still might be used (first delete all threads/remove interupt handlers/callbacks that may need the lock, and only then the lock itself)


#7

Sorry for the late reply.
I don’t get a KDL window as FaBE. The notebook freezes, no input from mouse or keyboard possible.
I have a syslog. The last lines look like this:

KERN: package_daemon [41006262: 314] active package: “libmodplug-0.8.9.0-1-x86_gcc2.hpkg”
KERN: package_daemon [41006268: 314] active package: “gutenprint-5.2.14-1-x86_gcc2.hpkg”
KERN: package_daemon [41006317: 314] The latest volume state is also the currently active one
KERN: package_daemon [41006393: 314] Volume::InitialVerify((nil), (nil))
KERN: package_daemon [41104003: 314] Volume::InitialVerify(): volume at “/boot/system” is consistent
KERN: package_daemon [41113917: 314] Failed to open packages activation file: No such file or directory
KERN: package_daemon [41113949: 314] Failed to get activated packages info from activated packages file. Assuming all package files in package directory are activated.
KERN: package_daemon [41113966: 314] latest volume state:
KERN: package_daemon [41113974: 314] The latest volume state is also the currently active one
KERN: package_daemon [41114311: 314] Volume::InitialVerify(0x500040, (nil))
KERN: package_daemon [41128254: 314] Volume::InitialVerify(): volume at “/boot/home/config” is consistent
USER: Error in AllUnarchived method of object of type 5BView
USER: An error occured during unarchival, cleaning up.
KERN: emuxki: init_hardware()
KERN: echo3g: init_hardware()
KERN: echo3g: no card found
KERN: auvia: init_hardware()
KERN: auich: init_hardware()
KERN: auich: init_driver()
KERN: pci_reserve_device(0, 31, 5, auich)
KERN: auich: auich_setup(0x807b5da0)
KERN: auich: audio/hmulti/auich/1 deviceid = 0x24c5 chiprev = 3 model = 8140 enhanced at 1c00
KERN: set MTRRs to:
KERN: mtrr: 0: base: 0xc0000, size: 0x40000, type: 0
KERN: mtrr: 1: base: 0x3ff70000, size: 0x10000, type: 0
KERN: mtrr: 2: base: 0xd0000000, size: 0x8000000, type: 0
KERN: mtrr: 3: base: 0x80000000, size: 0x80000000, type: 1
KERN: set MTRRs to:
KERN: mtrr: 0: base: 0xc0000, size: 0x40000, type: 0
KERN: mtrr: 1: base: 0x3ff70000, size: 0x10000, type: 0
KERN: mtrr: 2: base: 0xd0000000, size: 0x8000000, type: 0
KERN: mtrr: 3: base: 0x80000000, size: 0x80000000, type: 1
KERN: auich: PCI command before: 7
KERN: auich: PCI command after: 7
KERN: auich: codec attach
KERN: codec reset
KERN: ac97_set_rate: clock = 48000, rate = 20000, value = 20000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 8000, value = 8000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 11025, value = 11025
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 12000, value = 12000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 16000, value = 16000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 22050, value = 22050
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 24000, value = 24000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 32000, value = 32000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 44100, value = 44100
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 48000, value = 48000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 48000, value = 48000
KERN: ac97_set_rate failed, new rate 0
KERN: default_init
KERN: ac97_amp_enable, reverse eamp = 0
KERN: powerdown register was = 0x0f
KERN: powerdown register is = 0x0f
KERN: codec vendor id = 0x594d4803
KERN: codec description = Yamaha
KERN: codec 3d enhancement = No 3D Stereo Enhancement
KERN: AC97 capabilities:
KERN: CAP_DAC_18BIT
KERN: CAP_AMAP
KERN: CAP_REV22
KERN: auich: installing interrupt : 9
KERN: auich: init_driver done
KERN: auich: publish_devices()
KERN: auich: publish audio/hmulti/auich/1
KERN: auich: find_device(audio/hmulti/auich/1)
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/audio/hmulti/auich
KERN: sis7018:init_hardware:ver:2.0.2
KERN: bfs: bfs_create_index:2174: File or Directory already exists
KERN: Last message repeated 3 times.
KERN: auich: name : Master
KERN: auich: name : PCM out
KERN: auich: name : CD
KERN: auich: name : Aux In
KERN: auich: name : TAD
KERN: auich: name : Mic
KERN: auich: name : Line in
KERN: auich: name : Center/Lfe
KERN: auich: name : Recording
KERN: auich: multi->control_count 46
KERN: cx23882: init_hardware()
KERN: Highpoint-IDE: supports_device()
Last message repeated 1 time
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/bus/usb_raw
KERN: firewire: fw_module_init
KERN: Ricoh R5C551
KERN: vendor=1180, device=551, revision = 0
KERN: firewire: found 1 cards
KERN: firewire: latency timer 40 -> 40.
KERN: firewire: cache size 0 -> 8.
KERN: firewire: ERROR no IRQ assigned
KERN: firewire: ERROR fwohci_pci_attach failed
KERN: fw_raw: couldn’t load bus_managers/firewire/v1

Should I make a bug report or add the syslog to an existing bug report or is no further action required?


#8

It looks like firewire may be to blame here. Can you try booting with firewire and fwohci blacklisted?


#9

blacklisting firewire did not help. Could not find fwohci.


#10

What is the new syslog ending on?


#11

with firewire blacklisted it looks like this:

KERN: package_daemon [68680044: 315] active package: “libmodplug-0.8.9.0-1-x86_gcc2.hpkg”
KERN: package_daemon [68680049: 315] active package: “gutenprint-5.2.14-1-x86_gcc2.hpkg”
KERN: package_daemon [68680108: 315] The latest volume state is also the currently active one
KERN: package_daemon [68680214: 315] Volume::InitialVerify((nil), (nil))
KERN: bfs: Remove:2125: No such file or directory
KERN: bfs: Could not find value in index “size”!
KERN: bfs: Remove:2125: No such file or directory
KERN: bfs: Could not find value in index “last_modified”!
KERN: package_daemon [68992200: 315] Volume::InitialVerify(): volume at “/boot/system” is consistent
KERN: package_daemon [68996195: 315] Failed to open packages activation file: No such file or directory
KERN: package_daemon [68996229: 315] Failed to get activated packages info from activated packages file. Assuming all package files in package directory are activated.
KERN: package_daemon [68996244: 315] latest volume state:
KERN: package_daemon [68996253: 315] The latest volume state is also the currently active one
KERN: package_daemon [68996315: 315] Volume::InitialVerify(0xcb0040, (nil))
KERN: package_daemon [69015737: 315] Volume::InitialVerify(): volume at “/boot/home/config” is consistent
USER: Error in AllUnarchived method of object of type 5BView
USER: An error occured during unarchival, cleaning up.
KERN: emuxki: init_hardware()
KERN: echo3g: init_hardware()
KERN: echo3g: no card found
KERN: auvia: init_hardware()
KERN: auich: init_hardware()
KERN: auich: init_driver()
KERN: pci_reserve_device(0, 31, 5, auich)
KERN: auich: auich_setup(0x807beda0)
KERN: auich: audio/hmulti/auich/1 deviceid = 0x24c5 chiprev = 3 model = 8140 enhanced at 1c00
KERN: set MTRRs to:
KERN: mtrr: 0: base: 0xc0000, size: 0x40000, type: 0
KERN: mtrr: 1: base: 0x3ff70000, size: 0x10000, type: 0
KERN: mtrr: 2: base: 0xd0000000, size: 0x8000000, type: 0
KERN: mtrr: 3: base: 0x80000000, size: 0x80000000, type: 1
KERN: set MTRRs to:
KERN: mtrr: 0: base: 0xc0000, size: 0x40000, type: 0
KERN: mtrr: 1: base: 0x3ff70000, size: 0x10000, type: 0
KERN: mtrr: 2: base: 0xd0000000, size: 0x8000000, type: 0
KERN: mtrr: 3: base: 0x80000000, size: 0x80000000, type: 1
KERN: auich: PCI command before: 7
KERN: auich: PCI command after: 7
KERN: auich: codec attach
KERN: codec reset
KERN: ac97_set_rate: clock = 48000, rate = 20000, value = 20000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 8000, value = 8000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 11025, value = 11025
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 12000, value = 12000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 16000, value = 16000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 22050, value = 22050
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 24000, value = 24000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 32000, value = 32000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 44100, value = 44100
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 48000, value = 48000
KERN: ac97_set_rate failed, new rate 0
KERN: ac97_set_rate: clock = 48000, rate = 48000, value = 48000
KERN: ac97_set_rate failed, new rate 0
KERN: default_init
KERN: ac97_amp_enable, reverse eamp = 0
KERN: powerdown register was = 0x0f
KERN: powerdown register is = 0x0f
KERN: codec vendor id = 0x594d4803
KERN: codec description = Yamaha
KERN: codec 3d enhancement = No 3D Stereo Enhancement
KERN: AC97 capabilities:
KERN: CAP_DAC_18BIT
KERN: CAP_AMAP
KERN: CAP_REV22
KERN: auich: installing interrupt : 9
KERN: auich: init_driver done
KERN: auich: publish_devices()
KERN: auich: publish audio/hmulti/auich/1
KERN: auich: find_device(audio/hmulti/auich/1)
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/audio/hmulti/auich
KERN: sis7018:init_hardware:ver:2.0.2
KERN: auich: name : Master
KERN: auich: name : PCM out
KERN: auich: name : CD
KERN: auich: name : Aux In
KERN: auich: name : TAD
KERN: auich: name : Mic
KERN: auich: name : Line in
KERN: auich: name : Center/Lfe
KERN: auich: name : Recording
KERN: auich: multi->control_count 46
KERN: cx23882: init_hardware()
KERN: Highpoint-IDE: supports_device()
Last message repeated 1 time
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/bus/usb_raw
KERN: module: Search for bus_managers/firewire/v1 failed.
KERN: fw_raw: couldn’t load bus_managers/firewire/v1
KERN: bfs: bfs_create_index:2174: File or Directory already exists
KERN: Last message repeated 3 times.


#12
USER: Error in AllUnarchived method of object of type 5BView
USER: An error occured during unarchival, cleaning up.

This looks very suspicious, and potentially the real problem. I don’t really know what would be triggering that, though…


#13

Thank you very much waddlesplash for looking at this problem.
It is very strange because this centrino notebook has always worked with all flavors of BeOS.
Safe mode works also.
I can go back to the previous state and wait for this regression to be solved.


#14

Well, the issue described in this forum topic originally probably was by @axeld a few days ago. So if your issue persists following that change, it must be something else.