New Install does not boot - Live CD works fine? ( Dell Vostro 200 4gb )

Hi I downloaded and tried the Live CD and Haiku worked fine, looking really good so I thought I’d go through with a full install. I have Debian on this machine so adjusted the partitions - originally putting Haiku on an extended partition but after this not working it is now on it’s own primary partition. I’ve set up Grub to boot with the chainloader and it finds the partition fine and gets to the Haiku splash with the row of icons.

Boot continues until the image of the disk with the leaf at which point it hangs.

I’ve restarted and tried enabling all the Safe Mode options (and various combinations thereof) with no luck. Turning on the debug messages during boot gets a lot of repetition including lines such as:

ata error.RecoverLostInterrupt 0x50

…and various mentions of usb with lost interrupts/handling etc.

Does this sound familiar to anyone and is there a fix?

Also, is it possible to dump the boot debug messages somehow in order to post them here in more detail?

Thanks for any help you can give!

There is no var folder or log. From Linux mount Haiku partition:

/
apps common develop home optional system

/common
add-ons bin boot build-1 cache data documentation etc include lib libexec man sbin settings share ssl

Does it perhaps get created on first boot?

martin@dell-desktop:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port [8086:29c1] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] (rev 02)
00:19.0 Ethernet controller [0200]: Intel Corporation 82562V-2 10/100 Network Connection [8086:10c0] (rev 02)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02)
00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 02)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801IR (ICH9R) LPC Interface Controller [8086:2916] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller [8086:2920] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
00:1f.5 IDE interface [0101]: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller [8086:2926] (rev 02)
02:00.0 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03)
02:00.1 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03)
02:00.2 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03)
02:00.3 USB Controller [0c03]: ALi Corporation USB 2.0 Controller [10b9:5239] (rev 01)
02:01.0 Network controller [0280]: RaLink RT2561/RT61 802.11g PCI [1814:0301]

Not sure about the AHCI compatibility - will look into it. Will also have a look for the SATA/ATA options in BIOS see if that gets me somewhere.

Thanks again!

http://dev.haiku-os.org/wiki/ReportingBugs#Syslog

syslog required to see what is going on.

Also, try to enter KDL and give ints output (to see which interrupts are unhandled and what is using them)
http://dev.haiku-os.org/wiki/ReportingBugs#KernelDebuggingLand

When you goto run the install, boot the live CD into safe mode and set the the drive to IDE. I have noticed issues with buffer overuns and corruption with high drive speeds from the CD rom to the HDD. Slowing things down seems to cure it for me.

Could you post any relevant BIOS settings please.

Thanks for all the quick replies, appreciated. In the meantime I’ve downloaded the latest nightly build ( haiku-nightly-r38693-x86gcc4hybrid )to check if that improved the situation but it stops at the same point. Incidentally what is the different between gcc2,4 and the hybrid/non-hybrid versions.

Additionally, while searching for ideas I found a couple of bugs ( http://dev.haiku-os.org/ticket/4835 and http://dev.haiku-os.org/ticket/3933 ) that sort of describe the error messages I’m seeing, despite being two apparently different issues.

I’m stuck on trying to get to the syslog. I have the drive mounted from linux but the path given for the syslog /boot/common/var/log/syslog does not exist. Taking boot as the root of the BFS partition (there is no folder boot) common exists, but there is no var. Is this perhaps the result of startup not completing? Or some failure in the install?

I will try the technique now to reset and save the syslog to a USB stick to post it here.

Thanks again for the pointers.

sobs typed this up and lost it. Well…

I’ve found another bug that appears to reflect pretty much what is going on here ( http://dev.haiku-os.org/ticket/4390 ). I will try and follow the debugging steps in that and see if I can get the information out.

In the meantime I rebooted and unfortunately Alt-SysReq-D did not work - the keyboard has apparently stopped responding by the time these errors appear with caps/num lock also not functional. Bit strange as it is working at the point where I push P to skip paging on the logs. As a result it is not possible to get the syslog out via a warm-reboot (even tapping the power button does nothing) so I’ve copied what appear to be the important bits below by hand:

During the boot there are a number of messages but the one consistent bit is as follows:

ata 2 error: timeout waiting for interrupt
ata 2 error: RecoverLostInterrupt: lost interrupt; status 0x50

These continue alongside the messages while it attempts to search (slowly) for the boot partition. Eventually it finds it after dumping all the partition data as follows:

[dump partitions/parameters]
Identified boot partition by partition offset
bfs: mounted Haiku (root node at 524288, device=/dev/dist/ata/2/master/2
Mounted boot partition

That is last interesting log entry before it continues indefinitely repeating the ata 2 error:

ata 2 error: timeout waiting for interrupt
ata 2 error: RecoverLostInterrupt: lost interrupt; status 0x50

I’m not sure what BIOS information would be useful but here are the specs available:

Dell Vostro 200; BIOS Dell 1.0.15
Intel Core 2 Due E4400 @2GHz L2 2048KB
Memory 4GB @ 667Mhz Dual DDR2 SDRAM

Drive SATA-0 ST3250820AS 250GB
USB controller enabled HighSpeed

If there is any further information that would be useful let me know.

I tried booting from the CD then switching (Shift) to the hard disk but that had no effect.

All the best

syslog is now under:
/boot/common/var/log

syslog may not get written to disk but good to check anyways to see if it exists.

Is your SATA controller AHCI compatible?

In BIOS, try changing SATA over to ATA mode (simulates PATA controller).

Since you run Linux, an lspci -nn would be helpful to see your hardware.

syslog gets created with first boot. Guess the var & log subfolders are also created at that time too.

I see your motherboard has 6 SATA ports but only 4 of those are AHCI compliant.
00:1f.2 IDE interface [0101]: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller [8086:2920] (rev 02)
00:1f.5 IDE interface [0101]: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller [8086:2926] (rev 02)

Your drive is likely connected to ICH9 (non-AHCI) - the 2 port one.

Two choices:

  1. Try BIOS setting of switching SATA to ATA (Legacy/IDE) mode - quick & easy.
  2. Connect to your ICH9R (AHCI) RAID controller and it should then work (check motherboard manual)

Try one of or both of these and see what happens for you. I think this is where your problem lies because of ata error you keep getting. Maybe something else but good place to start.

From what I understand, you have to turn on logging during boot via the Spacebar-accessed menu aka Bootloader:
http://www.haiku-os.org/docs/userguide/en/bootloader.html
Looks like theres a switch under “select debug options”.

SUCCESS!

As suggested I looked up the (S)ATA options in the BIOS. In the Dell BIOS the settings are a bit strange, but under SATA Mode there are two options: IDE & RAID. It was set to IDE. According to the dell forums ( http://en.community.dell.com/support-forums/disk-drives/f/3534/t/18720750.aspx ) the IDE should say ‘ATA’.

So basically I think I’ve ended up doing the opposite of what was suggested by switching from IDE (ATA) to RAID. But this now works and it boots through the the Haiku desktop. I’ve booted into Linux also and it has had no effect on any of that setup (there is a little bit more text output during POST and it appears a little faster to boot but I may be just imagining this).

So anyway solved I guess!

Only downside is that I now realise that WPA is not available in Haiku yet so I can’t connect to the internet (otherwise I would be writing this post from there!) but I can wait - once I get the house to myself I’ll trail a cable downstairs and get it hooked up.

Thanks again for all the help, a really nice welcome to the Haiku community. Much appreciated.

Happy you got it working.

Maybe AHCI kicked in by going with RAID? Tough to really say.

My laptop has SATA operation with two choices, ATA or AHCI.
My desktop has something like Legacy (ATA) or Native (non-AHCI SATA).

Haiku works with ATA mode on both and also AHCI for my laptop.

Anyways, welcome and have fun checking out Haiku!