Opened 12 years ago

Last modified 9 years ago

#9087 in-progress bug

promise_tx2 add-on (Promise FastTrak 100 TX2 driver) excluded from Haiku build

Reported by: outis Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Drivers/Disk Version: R1/Development
Keywords: promisetx2 ata ide Cc:
Blocked By: Blocking:
Platform: x86

Description (last modified by diver)

Promise FastTrak 100 TX2 driver promise_tx2 was excluded from Haiku on hrev30700 because it fails to compile. I wouldn't ask to support it if Haiku didn't have a driver to begin with, but it does so I was wondering if someone could fix it so I can install Haiku to a PC with that controller (install and boot from a drive attached to the controller). I can test any possible fix or solution and give feedback. Thanks in advance!

Attachments (2)

promise_tx2_compile_error.log (13.9 KB ) - added by diver 12 years ago.
promise_tx2 (10.6 KB ) - added by diver 12 years ago.

Download all attachments as: .zip

Change History (20)

comment:1 by diver, 12 years ago

Description: modified (diff)
Version: R1/alpha3R1/Development

by diver, 12 years ago

comment:2 by diver, 12 years ago

Description: modified (diff)

comment:3 by axeld, 12 years ago

Owner: changed from marcusoverhagen to axeld
Status: newin-progress

comment:4 by axeld, 12 years ago

The promise_tx2 driver has been removed a long time before that, actually.

Anyway, I've converted the driver to the device manager API in hrev44720. However, I have not yet added it back to the image, since I'd like you to test it before. To do so, you have to copy it to the /system/add-ons/kernel/busses/ata directory, and, in case you want to boot from it, you need to add a link to it to /system/add-ons/kernel/boot.

When you report success, we can add the driver back to the image.

comment:5 by diver, 12 years ago

Still broken for gcc4:

MkDir1 /home/iceid/haiku/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/kernel/busses/ata/promise_tx2
Cc /home/iceid/haiku/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.o
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c: In function 'handle_interrupt':
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c:89:1: error: pasting ""%s"" and """" does not give a valid preprocessing token
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c:89:2: error: expected ')' before '__FUNCTION__'
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c: In function 'publish_controller':
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c:207:1: error: pasting ""%s"" and """" does not give a valid preprocessing token
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c:207:2: error: expected ')' before '__FUNCTION__'
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c: In function 'detect_controller':
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c:221:1: error: pasting ""%s"" and """" does not give a valid preprocessing token
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c:221:2: error: expected ')' before '__FUNCTION__'
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c: In function 'probe_controller':
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c:253:1: error: pasting ""%s"" and """" does not give a valid preprocessing token
/home/iceid/haiku/haiku/src/add-ons/kernel/busses/ata/promise_tx2/promise_tx2.c:253:2: error: expected ')' before '__FUNCTION__'

comment:6 by diver, 12 years ago

outis, please try the attached binary.

by diver, 12 years ago

Attachment: promise_tx2 added

comment:7 by outis, 12 years ago

I've copied the attachment to the path provided by axeld under a working Haiku A3 installation but it still doesn't recognize the HD attached to the controller (I didn't try to boot from it, just tried to see it under Drivesetup first). Did I do something wrong? Should I copy the file to a different Haiku revision? I've tried to find a nightly of hrev44720 but couldn't. I'm awating instructions, sorry that it took so long to try the driver, I didn't have a working Haiku setup)

comment:8 by diver, 12 years ago

You actually have to boot from it as Haiku only use this add-on at boot time (hence the /system/add-ons/kernel/boot link path). Any recent nightly image will do http://www.haiku-files.org/haiku/development

comment:9 by outis, 12 years ago

It seems that I didn't make myself clear, I've meant that I didn't try to boot from an HD connected to the controller. I did boot my Haiku A3 installation with the driver in place, but my mistake was trying with A3, I will install a recent nightly and come back with the results.

comment:10 by outis, 11 years ago

I'm having a hard time trying to boot one of the recent nightlies, I've tried hrev44646 and hrev44634, none of which seems to work, no icons light up at boot, tried all of safe boot options with no avail. I'll keep trying builds (630, 625, 621) untill one works. Any particular recommendation on a stable build that I could try on a PIII 700, Intel 440BX, 1 GB RAM, ATI 7000 and SBLive?

comment:11 by diver, 11 years ago

It is much faster to find last working revision using wiki:BinarySearch. Generally latest nightly is what usually is recommended.

comment:12 by outis, 11 years ago

I've finally managed to find a nightly that works, hrev44573 but I've copied the driver and rebooted with no luck. I don't know if the revision is too old or if there's something else I could try (I thought about building from source, I can try it -never done it before- but it will take a long time in this setup)

comment:13 by diver, 11 years ago

Could you please try to find the last revision that works for you?

comment:14 by luroh, 11 years ago

Blocking: 7665 added

comment:15 by outis, 11 years ago

Sorry for the lack of updates on testing the patch. The motherboard to which the controller card is attached died, and my other PC lacks a PCI slot, so for now I can't test this. I'm planning on buying a used motherboard, I will report then.

comment:16 by pulkomandy, 9 years ago

Blocking: 7665 removed

comment:17 by pulkomandy, 9 years ago

Milestone: R1Unscheduled

Not enough interest in this to justify it being in R1. Moving to unscheduled for now.

comment:18 by outis, 9 years ago

Hi pulkomandy, I've managed to restore an old PI 200, currently running BeOS, to which I can add the card and test this driver. But I totally agree with you, this is not a priority towards Haiku B1. I don't want my bug report stoping Haiku's progress.

Note: See TracTickets for help on using tickets.