#10253 closed bug (fixed)
ATA timeout prevents booting unless IDE DMA is disabled.
Reported by: | Giova84 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Drivers/Disk/ATA | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #12292 | |
Platform: | x86 |
Description
Haiku (hrev46447 and also previous nightlies from various months ago) fails to boot on a computer with the following specs: Motherboard: Asus Crosshair [1] Athlon 64 X2 Dualcore 4600 4 GiB DDR2 Ram Terratec Phase 22 PCI audiocard Atheros wifi PCI card Radeon x1300 PCI-E videocard Three S-ATA hdd One P-ATA hdd One S-ATA optical drive
When i attempt to boot Haiku on this computer (from live cd and also installed on the P-ATA HDD), it will hang to the fourth icon (the disk). If i select, in the boot menu, the option "Disable IDE DMA", will boot fine (from LIVE CD), instead, if i boot Haiku from the HDD, i have to select disable ide dma and also "use fail safe video mode". Because if i don't select fail safe video mode, the screen will remain black.
Syslog attached.
[1] http://www.asus.com/Motherboards/CROSSHAIR/#specifications
Attachments (4)
Change History (35)
by , 11 years ago
Attachment: | SYSLOG00.TXT added |
---|
comment:1 by , 11 years ago
Component: | System/Boot Loader → Drivers/Disk |
---|---|
Owner: | changed from | to
comment:2 by , 11 years ago
comment:3 by , 11 years ago
The blacklist has nothing to do with it, as DMA is simply a setting for the IDE driver, rather than a different driver entirely. In any case, if I'm not mistaken, adding disable_ide_dma true
in the kernel settings file should do the trick, though with the caveat that I haven't tested that, as I don't have a system that has this particular boot issue.
by , 11 years ago
Attachment: | ata_dma_setting.patch added |
---|
comment:4 by , 11 years ago
patch: | 0 → 1 |
---|
comment:5 by , 11 years ago
From a quick look, the ATA driver only looks to safe mode settings for that, and not the kernel file. The attached patch should address that, though again untested.
comment:6 by , 11 years ago
Unfortunately i can't build Haiku to test this patch (ATM i only have Haiku as development system, on a small partition). In anyway, thank you for your effort!
comment:7 by , 11 years ago
Can you try to boot without hard drives connected? Can you also try with "disable Local APIC"?
As a side note, you could benefit from MSI support in the IDE PCI driver. I could add this feature for you to test if you like.
comment:8 by , 11 years ago
Yesterday i've done many tests, i disconnect all hard drives and also with "Disable LOCAL APIC" (i've tried all available options, also in combination), but issues are still present.
Would be nice try the MSI support, i will be glad to test this feature.
comment:9 by , 11 years ago
By chance would you have a Linux installed also? A syslog could help to find out what's weird with this motherboard.
comment:10 by , 11 years ago
On that computer i don't have Linux. Can i do something with a live cd of Linux Mint?
comment:11 by , 11 years ago
Should work. You might need to do insmod befs
to load linux bfs driver first.
follow-up: 15 comment:13 by , 11 years ago
Another test I forgot to ask sooner: please try to blacklist busses/ata/generic_ide_pci or busses/ata/legacy_ata in the bootmenu when booting from a live cd or usb disk.
follow-up: 16 comment:14 by , 11 years ago
If i blacklist generic_ide_pci, the boot issue is still here however. The legacy_ata, instead doesn't exist on my system. I attach the syslog from linux.
comment:15 by , 11 years ago
comment:16 by , 11 years ago
Replying to Giova84:
If i blacklist generic_ide_pci, the boot issue is still here however. The legacy_ata, instead doesn't exist on my system. I attach the syslog from linux.
Sorry it's legacy_sata.
comment:18 by , 11 years ago
Could you try to activate on-screen debug output and see what the latest messages are?
comment:19 by , 11 years ago
ata 0 error: device selection timeout ata 0-0 error: failed to send transfer request ata 0 error: device selection timeout ata 0-0 error: failed to send transfer request ata 0 error: device selection timeout ata 0-0 error: failed to send transfer request ata 0 error: device selection timeout
And so on.
comment:20 by , 11 years ago
Now i am on hrev46531, and i have some update about this ticket. When i start the live cd, Haiku will hang for some minutes (about 7 - 8) to the fourth icon (the disk) then will continue till the last icon and Haiku will start fine. But there are some other issues: in the mount list i can't see partitions from the P-ATA disk (i can only see partitions from the S-ATA disk and usb disks), and the IDE led on the computer case is always on.
I will attach, soon, a new syslog.
comment:21 by , 11 years ago
In this new syslog i can read a lot of errors about ATA. And i've also found another issue: if i open any disk (S-ATA and also USB disks) in Tracker, Haiku will become unresponsive and i have to reset the system.
comment:22 by , 11 years ago
Blocking: | 7665 added |
---|
comment:23 by , 10 years ago
Component: | Drivers/Disk → Drivers/Disk/ATA |
---|---|
Owner: | changed from | to
Summary: | Boot issues → ATA timeout prevents booting unless IDE DMA is disabled. |
comment:24 by , 10 years ago
Hi, I totally forgot this ticket, since about six months ago I've sold this computer.
comment:25 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:26 by , 8 years ago
Blocking: | 12292 added |
---|
comment:28 by , 7 years ago
patch: | 1 → 0 |
---|
comment:29 by , 6 years ago
Blocking: | 7665 removed |
---|
comment:30 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Patch applied in hrev54123. Closing as fixed as the original hardware showing the problem is not available for testing anymore.
comment:31 by , 5 years ago
Milestone: | R1 → R1/beta2 |
---|
There is a way to disable IDE DMA using a setting file? (every time i have to disable in the boot menu) I looked at the kernel setting file but there are no entries about DMA. Can i blacklist a driver? I noticed that in latest nightlies was introduced a black list file for this purpose.