Author Topic: silicon image pb3124 - sata 300 speed for powermac g4  (Read 2809 times)

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
silicon image pb3124 - sata 300 speed for powermac g4
« on: May 25, 2019, 02:04:26 AM »
https://www.ebay.ca/itm/Silicon-Image-SiI3124-PCI-X-to-4-port-Internal-SATA-Controller-PB3124-2SATA300/270840829006?hash=item3f0f5f144e:g:eMAAAOxyDgRQ9piw

who is going to be part of the next breakthrough of macos9lives?
the best upgrade that is achievable + possible
Sata300 over 64bit PCI (PCI-X form factor)
allowing for more SSD performance to be leveraged + utilized

« Last Edit: May 26, 2019, 02:10:32 AM by macStuff »

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #1 on: May 25, 2019, 06:44:17 PM »
ill give it a whirl. ive got multiple machines to test with anyway.

(edit) I noticed that there's a china seller who has a regular 32-bit PCI version of the card as well. if we get this working, that might be an option for people without PCIX slots.
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #2 on: May 26, 2019, 01:27:14 AM »
ill give it a whirl. ive got multiple machines to test with anyway.

(edit) I noticed that there's a china seller who has a regular 32-bit PCI version of the card as well. if we get this working, that might be an option for people without PCIX slots.

no - you are incorrect bro; theres no point in that; everyone who has a g3 or g4 has a computer that can take a pci-x card; although it doesnt provide pci-x maximum performance.... the slots are the same form factor; the cards work at a lower speed but that lower speed is still more bandwidth then the shorter cards.. open up your g3 + g4 and look at the slots, they are longer then normal pc pci slots aernt they? thats because they support 64bit PCI. this has long been established on this forum that the g3/g4 machines are capable of using pci-x cards functioning as 64-Bit PCI (with PCI-X form factor) the same cards work at higher capabilities in machiens that properly support the full extent of pci-x spec; you have erroneously posted about this quite a few times i hope this post clears up your understanding of this!!!

 i will order one for myself; they will of course be compatible in mac osx; but the question is will they work under os 9? i hope the answer is yes;
if they dont work the goal is to MAKE IT WORK; because its definately technically possible;

i saw the 32bit version aswell but that negates the whole reason why im way more interested in the PCI-X cards;
because they have the potential to give the same bandwidth + speed results as the  64bit firmtek cards:

1v4 :: https://www.firmtek.com/seritek/seritek-1v4/
1ve2+2 :: https://www.firmtek.com/seritek/seritek-1ve2plus2/
1ve4 :: https://www.firmtek.com/seritek/seritek-1ve4/


the 2SE4 card (which also uses the Sil3214 chipset) is listed as not being compatible with OS 9 in the following graph:
https://www.firmtek.com/seritek/compat.php

there must be a way to make this work;if theres anything worth focusing on and achieving progress in; it would be getting this card to work in os9; even if it cant boot; even just running your apps off an SSD that can work at sata2 disk speed would give speeds above 200MB/s; i have the 6885M Acard 64bit ATA-133 card and i get speeds around 200MB/s with it usign old ATA133 drives; not even using SSD's.

i insisted that the Gainward Ti4600 could work for years; and finally Darth showed that to be true;
i just know theres a way to make this work; if we can figure this out all of us woudl benefit from it
if we could all put out heads together + each of us order one of these cards; its not like its breaking the bank to do so; they are cheap as hell
« Last Edit: May 26, 2019, 02:10:15 AM by macStuff »

Offline darthnVader

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 518
  • New Member
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #3 on: May 26, 2019, 03:31:07 AM »
MacStuff is the pb3124 bootable?

Can OS X boot from it in a G5?


Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #4 on: May 26, 2019, 06:34:07 AM »
I bought a different card type (which still has a sil3124) because I didn't notice you had mentioned pb3124 in your other thread until it was too late. I am pretty sure that they will function identically though.

It hasn't arrived yet; when it does I will start work on it.

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #5 on: May 26, 2019, 02:14:31 PM »
no - you are incorrect bro; theres no point in that; everyone who has a g3 or g4 has a computer that can take a pci-x card; although it doesnt provide pci-x maximum performance.... the slots are the same form factor; the cards work at a lower speed but that lower speed is still more bandwidth then the shorter cards.. open up your g3 + g4 and look at the slots, they are longer then normal pc pci slots aernt they? thats because they support 64bit PCI. this has long been established on this forum that the g3/g4 machines are capable of using pci-x cards functioning as 64-Bit PCI (with PCI-X form factor) the same cards work at higher capabilities in machiens that properly support the full extent of pci-x spec; you have erroneously posted about this quite a few times i hope this post clears up your understanding of this!!!

You forget I'm working with Beige G3s which do not have PCI-X slots. I bring this stuff up for those users who might still be trying to use them. If you get this to work in OS9, the 32-bit card would be a useful option for them, and really, anybody else prior to beige G3 would potentially find that useful too. the whole point of this is for OS9-bootable cards since 3112s are disappearing, is it not? this is a topic thats relevant to any OS9-capable mac IMO.
« Last Edit: May 26, 2019, 02:26:24 PM by refinery »
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #6 on: May 26, 2019, 03:22:29 PM »
no - you are incorrect bro; theres no point in that; everyone who has a g3 or g4 has a computer that can take a pci-x card; although it doesnt provide pci-x maximum performance.... the slots are the same form factor; the cards work at a lower speed but that lower speed is still more bandwidth then the shorter cards.. open up your g3 + g4 and look at the slots, they are longer then normal pc pci slots aernt they? thats because they support 64bit PCI. this has long been established on this forum that the g3/g4 machines are capable of using pci-x cards functioning as 64-Bit PCI (with PCI-X form factor) the same cards work at higher capabilities in machiens that properly support the full extent of pci-x spec; you have erroneously posted about this quite a few times i hope this post clears up your understanding of this!!!

You forget I'm working with Beige G3s which do not have PCI-X slots. I bring this stuff up for those users who might still be trying to use them. If you get this to work in OS9, the 32-bit card would be a useful option for them, and really, anybody else prior to beige G3 would potentially find that useful too. the whole point of this is for OS9-bootable cards since 3112s are disappearing, is it not? this is a topic thats relevant to any OS9-capable mac IMO.

The wikipedia page on PCI-X says that 64-bit cards can fit into 32-bit slots, and most cards will work that way. The sil3124 datasheet appears to indicate 32-bit support. As long as you have enough room in the case, sil3124-based cards will be perfectly fine in beige g3s and and any other machine with ATA Manager version 4 (which first shows up in PowerBook 3400c (not that you can use a sil3124 in a PowerBook)).

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #7 on: May 26, 2019, 03:50:05 PM »
alright guys, well, good luck with the efforts.
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #8 on: May 26, 2019, 04:02:55 PM »
Refinery;
right; ok; i was talking about the new world G3/G4 systems;
i actually didnt know that the beige g3s had shorter slots;
thanks for bringing that to my attention;

fun fact:
even still; you can still use a long pci-x card in a short slot;
it will operate at slower speed but it will operate!

oops daneils already commented on that fact isee

some older thread:
http://macos9lives.com/smforum/index.php?topic=1924.0

personally i would like to get one of each different chipsets that are unconfirmed;
sil3114, sil3512, sil3214
one of each of these cards and work on getting them working under os9 and /or bootable
« Last Edit: May 26, 2019, 04:17:00 PM by macStuff »

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #9 on: May 27, 2019, 04:22:03 AM »
i cant tell you how excited i would be to see someone make the sil3124 chipset work on os 9
even just for data drives.. not even re: booting; just because this would give access to the sheer speed provided by just about any SSD that is sataII compatible; major improvement in disk bandwidth;
i really wish that people could understand how this could be the thing that pushes mac os 9 to new heights of performance


Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #10 on: May 27, 2019, 05:29:00 AM »
I understand. I will probably be the one developing the drivers.

I just don't really want to commit because I have a history of not completing projects and the card I bought hasn't even arrived yet :D

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #11 on: June 01, 2019, 01:12:41 PM »
I wrote a flasher for sil3124. It should work on pb3124 cards.

I also started work on a sil3124 driver. I have no idea how long it will take :)

All the code is available here: https://github.com/DBJ314/MacOS9Lives-SATA-Project.

The flasher is attached, but there isn't much point in using it right now. It can read and write firmware images, but the existing ones don't support macs.

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #12 on: June 01, 2019, 05:20:39 PM »
mine arrived yesterday. havent had a chance to test it yet, but its here. let me know what help you guys need from me
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #13 on: June 01, 2019, 07:49:08 PM »
Please go into Open Firmware and dump the device tree properties for the card.

It will probably be named "pci1095,xxxx", where xxxx is unknown but probably 3124 or 7124 (the default is 3124, but the card I had (not a pb3124) was 7124).

As the card does not have fcode, the only properties that can actually be different between sil3124 cards are "name", "compatible", "class-code", "vendor-id", "device-id", "subsystem-id", and "subsystem-vendor-id". Those are the only ones that can be influenced by the flash rom without using fcode.

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #14 on: June 02, 2019, 12:58:10 AM »
AWESOME!!!  -afro-
ill put my order thru asap, i ordered a few promise cards last night
if it works; we would be looking at results that would be better than the results i got with my acard 6885M http://macos9lives.com/smforum/index.php?topic=2542.0
using that 64bit card i was able to achieve 214 MB/s and that was only an ATA133 capable card!!!
(and that was also using more than one drive in RAID formation, so was it taking 107MB/s from each drive?? maybe, not sure)

the results we could get with a SATA2 capable card on a 64bit/33Mhz card should be higher;

the bandwidth at 64bit/33mhz according to wikipedia: https://en.wikipedia.org/wiki/Conventional_PCI
266 MB/s (64-bit at 33 MHz) 214 is the highest result ive got; either way; 200MB/s+ is a huge huge huge improvement to any g3/g4.

Quote
if its connected to a 64bit SATA300 pci card, ?? ?? ??? ?? ??
if its connected to a 64bit SATA150 pci card, 2 drives will cap out around 190-200MB/s
if its connected to a 64bit SATA150 pci card, 1 drive will cap out around ?? ?? ??? ?? ??
if its connected to a 32 bit SATA150 pci card, its gona cap out around 90-105MB/s
if its connected to a 32 bit ATA133 port, it should cap out somewhere near 70-80MB/s???
if its connected to a native ATA100 port, it should cap out somewhere near 60-65MB/s
if its connected to a native ATA66 port, it should cap out somewhere near 45-50MB/s
if its connected to a native ATA33 port, it should cap out somewhere near 25-30MB/s

ULTRA ATA/33 (1998)
ULTRA ATA/66 (2000)
ULTRA ATA/100 (Jul 2000)
ULTRA ATA/133 (Jul 2001)
SATA150 rev1 (Jan 2003)
« Last Edit: June 02, 2019, 03:39:38 AM by macStuff »

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #15 on: June 02, 2019, 03:54:16 AM »
https://imgur.com/2DaH9rG

if there's a way to dump that to a text file let me know, im not all that great with OF.
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #16 on: June 02, 2019, 06:06:36 AM »
Most Open Firmware implementations don't allow writing to files, which is really annoying.

Fortunately, New World OF lets you control it via telnet. You can give it an ip address and have it listen for incoming connections. Just type this on the Open Firmware console:
Code: [Select]
" enet:telnet,192.168.1.128" io
Use Terminal or something on the modern device:
Code: [Select]
telnet 192.168.1.128
You can fill in a different ip address if you want, but that is the one I use.

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #17 on: June 02, 2019, 07:00:45 AM »
cant you just do "> filename" at the end of the command?
thanks for being first to volunteer refinery!

do u have any experience with flashing pci cards?
do u have a pc that can be used to flash the card?

the question that will need to be answered is if it can take the firmware from this card:
http://macos9lives.com/smforum/index.php?topic=5048

did the card you got come with an eeprom chip that says MX on it?
« Last Edit: June 02, 2019, 07:15:17 AM by macStuff »

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #18 on: June 02, 2019, 07:58:37 AM »
You probably shouldn't directly pipe the output to a file. When you type the commands for OF, you wouldn't be able to see the results.

Use tee to copy the output, so you get a log while still being able to interact with OF.
Code: [Select]
telnet 192.168.1.128 | tee OF_telnet_log.txt

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #19 on: June 02, 2019, 08:52:09 AM »
im pretty sure i was able to output dev tree to a text file when i was mucking around with OF back in 2014

do u have a powermac g5 aswell refinery? i will benchmark it in that machine once i get one; hopefully it will take the 2SE4 firmware flash
« Last Edit: June 02, 2019, 10:24:05 AM by macStuff »

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #20 on: June 04, 2019, 12:13:26 AM »
Code: [Select]
0 > dev /pci@f2000000/pci-bridge@d/pci1095,3124@4/ pwd .properties /pci@f2000000/pci-bridge@d/pci1095,3124@4
vendor-id               00001095
device-id               00003124
revision-id             00000002
class-code              00018000
interrupts              00000001
min-grant               00000000
max-latency             00000000
subsystem-vendor-id     00001095
subsystem-id            00003124
devsel-speed            00000001
fast-back-to-back       
name                    pci1095,3124
compatible              pci1095,3124
                        pci1095,3124
                        pciclass,018000
reg                     00012000 00000000 00000000  00000000 00000000
                        03012010 00000000 00000000  00000000 00000080
                        03012018 00000000 00000000  00000000 00008000
                        01012020 00000000 00000000  00000000 00000010
                        02012030 00000000 00000000  00000000 00080000
assigned-addresses      81012020 00000000 00001000  00000000 00000010
                        82012030 00000000 80100000  00000000 00080000
                        83012018 00000000 80090000  00000000 00008000
                        83012010 00000000 80080000  00000000 00000080
R2AD                    5c3e8200 90ff001c 00000000 00000000 3c280780 08200030 002004b0 04d30003
                        000604b0 07800001 00000000 00000000 00000000 00000000 00000000 00000000

 ok

G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #21 on: June 04, 2019, 12:18:54 AM »

do u have any experience with flashing pci cards?
do u have a pc that can be used to flash the card?

yes and yes.

Quote
do u have a powermac g5 aswell refinery?
there's a chance i could get access to one but at present I do not

Quote
did the card you got come with an eeprom chip that says MX on it?
it does not appear to have an EEPROM chip. the flash chip, it appears to be from a company called "ST". But there is an empty EEPROM socket.
I do have experience soldering at this scale...
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #22 on: June 04, 2019, 03:37:24 AM »
ok the ST chip is not one of the brands that the firmtek firmware works with unfortunately..
at least that was the case for the 3112 cards;

u might need to order a 4megabit flash eeprom from PMC or Mactronix or AMD Am29LV040B
to be successfull with using the 2se4 firmware. anyway i have to wait for my cards to get here before i can offer much more info.

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #23 on: June 06, 2019, 06:55:29 PM »
I just started work on sil3124 fcode, as I suspect it will be slightly easier to learn than ATA Interface Modules.
https://github.com/DBJ314/MacOS9Lives-SATA-Project/tree/master/SIL3124/FCODE%2CSIL3124

Apple made the "ata-disk" and "atapi-disk" support packages to make things easier for chipset drivers, but they never documented them. The "see" command is quite good at looking inside them :)

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #24 on: June 06, 2019, 07:11:04 PM »
i take it you are referring to Technote 1192?
http://mirror.informatimago.com/next/developer.apple.com/technotes/tn/tn1192.html


looks like its a 040 4Mbit chip
right size - wrong brand (for use with attempting firmtek firmware flash anyway) well its good to have for testing (for anyone whos trying to crack the firmware)
but yea if u want a quick fix to make it work as a 2se4 you are gonna need a different brand chip; at least thats goin on info ascertained by others that i have read; i hvaent confirmed that to be true myself yet; but i take their word for it at this point; (guys on 68kmla site that dont need to be named here)

at least its got a socket and easy to pop the chip out and pop in the right type
« Last Edit: June 06, 2019, 08:04:28 PM by macStuff »

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #25 on: June 08, 2019, 10:36:02 AM »
I guess the only question I have is where would one find the right part?
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #26 on: June 08, 2019, 10:50:25 AM »
i've pm'd refinery a few auctions on ebay under 10$

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #27 on: June 20, 2019, 08:49:57 AM »
Hey refinery, it seems I can't test the sil3124 card I have myself.

Could you plug a sata disk into your pb3124 on port 0 (the leftmost one?) and test this fcode?

Here are the OF commands to use.
Code: [Select]
load hd:,\sil3124.fcode
dev /pci@f2000000/pci-bridge@d/pci1095,3124@4/
: open true ; : close ; : init load-base 1 byte-load ;
" /pci@f2000000/pci-bridge@d/pci1095,3124@4/" select-dev
init
0 to my-self
pwd .properties ls \ the name should now change to SIL3124 instead of pci1095,3124
" /pci@f2000000/pci-bridge@d/SIL3124" open-dev constant s31-ih \ a whole lot of stuff should be printed here
dir /pci@f2000000/pci-bridge@d/SIL3124/sil3124,port0/disk:,\
You are always allowed to use common sense, especially for configuration-specific paths like /pci@f2000000/pci-bridge@d and hd:,\sil3124.fcode

Thanks,
daniel

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #28 on: June 20, 2019, 06:00:11 PM »
will do; a bit busy this week because i just started a new job on Monday but I should be able to get it done by Saturday.
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #29 on: June 23, 2019, 10:11:15 PM »
here you go:

Code: [Select]
0 > load hd:,\sil3124.fcode load-size=2dc0 adler32=8b7d63a7
 ok
0 > dev /pci@f2000000/pci-bridge@d/pci1095,3124@4/  ok
0 > : open true ; : close ; : init load-base 1 byte-load ;  ok
0 > " /pci@f2000000/pci-bridge@d/pci1095,3124@4/" select-dev  ok
0 > init  ok
0 > 0 to my-self  ok
0 > pwd .properties ls \ /pci@f2000000/pci-bridge@d/SIL3124@4
vendor-id               00001095
device-id               00003124
revision-id             00000002
class-code              00018000
interrupts              00000001
min-grant               00000000
max-latency             00000000
subsystem-vendor-id     00001095
subsystem-id            00003124
devsel-speed            00000001
fast-back-to-back       
name                    SIL3124
compatible              SIL3124,Main
                        pci1095,3124
reg                     00012000 00000000 00000000  00000000 00000000
                        03012010 00000000 00000000  00000000 00000080
                        03012018 00000000 00000000  00000000 00008000
                        01012020 00000000 00000000  00000000 00000010
                        02012030 00000000 00000000  00000000 00080000
assigned-addresses      81012020 00000000 00001000  00000000 00000010
                        82012030 00000000 80100000  00000000 00080000
                        83012018 00000000 80090000  00000000 00008000
                        83012010 00000000 80080000  00000000 00000080
R2AD                    5c3e8200 90ff001c 00000000 00000000 3c280780 08200030 002004b0 04d30003
                        000604b0 07800001 00000000 00000000 00000000 00000000 00000000 00000000
progress                00000008
sprog                   00000008


ff95ccf8: /sil3124,port0
ff95d090:   /disk
ff95d5a8: /sil3124,port1
ff95d940:   /disk
ff95de58: /sil3124,port2
ff95e1f0:   /disk
ff95e708: /sil3124,port3
ff95eaa0:   /disk
 ok
0 > " /pci@f2000000/pci-bridge@d/SIL3124" open-dev constant s31-ih \ open
open: full init
map-self
map-self: looping
map-self: looping
map-self: looping
map-self: looping
global-init
chipset-reset
select-port
port-reset
wait-for-ready
wait-for-ready: looping
global-init: sending soft-reset
global-init: looping
global-init: ata-disk
select-port
port-reset
select-port
port-reset
select-port
port-reset
 ok
0 > dir /pci@f2000000/pci-bridge@d/SIL3124/sil3124,port0/disk:,\ open
method <int-off-ata-bus> not found; ihandle=ffbc6140 phandle=ff95d090 close
 can't OPEN the DIR device
 ok
0 >
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #30 on: June 24, 2019, 07:33:47 AM »
I think that's the worst result possible :)

Apple changed the ata device OF api yet again. It seems that instead of having a stable api that works across multiple machines, they change it on a per-machine basis.

What mac are you running it on?

Please run these commands.
Code: [Select]
dev hd
words
dev /packages/ata-disk
words
' $call-parent .calls
dev /packages/atapi-disk
words
' $call-parent .calls

Offline macStuff

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1367
  • http://www.OldschoolDAW.com
    • OldschoolDAW.com
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #31 on: June 24, 2019, 09:31:29 AM »
you guys have different cards? or the same cards?

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 269
  • Programmer, Hacker, Thinker
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #32 on: June 24, 2019, 09:33:58 AM »
Different cards. He has pb3124. I have some 32-bit thing.

Offline refinery

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
Re: silicon image pb3124 - sata 300 speed for powermac g4
« Reply #33 on: June 25, 2019, 09:01:23 PM »
i am running these tests on a gigabit ethernet dual G4.

Code: [Select]
0 > dev hd  ok
0 > words
wait-bsy        dev@            atapi-command   int-off-atapi-bus               reset-atapi-bus
use-atapi-interface             ata-command     int-off-ata-bus reset-ata-bus   set-timer       
set-drive-select                dma-free        dma-alloc       close           open           
katapiprotocol  kataprotocol    our-bus-id     
 ok
0 > dev /packages/ata-disk  ok
0 > words
load            write           read            seek            open            close           
write-blocks    read-blocks     size            #blocks         block-size      max-transfer   
dma-free        dma-alloc       set-timer       ata-command     int-off-ata-bus reset-ata-bus   
set-drive-select                convert-lba     capabilities    calc-capacity   lba-capacity   
old-capacity    my-capacity     timeout         max-blocks      lba-supported?  pio             
spc             spt             heads           cylinders       offset-hi       offset-lo       
disk-label-ih   deblocker-ih    my-block-size   retry-count     identify-data   setfeatures-cmd
identify-cmd    write-cmd       read-cmd        initdevice      >ata.command    >ata.devicehead
>ata.chi        >ata.clo        >ata.number     >ata.count      >ata.features   >ata.reserved   
>ident.capacity >ident.curcapacity              >ident.dma      >ident.pio      >ident.capabilities             
>ident.spt      >ident.heads    >ident.cylinders                /blk           
 ok
0 > ' $call-parent .calls dma-free dma-alloc set-timer ata-command int-off-ata-bus
reset-ata-bus set-drive-select  ok
0 > dev /packages/atapi-disk  ok
0 > words
eject           load            write           read            seek            open           
close           write-blocks    read-blocks     cmd-not-valid?  size            #blocks         
block-size      max-transfer    dma-sync        dma-map-out     dma-map-in      dma-free       
dma-alloc       ensure-unit-ready               1st-time-inject?                obtain-device-info             
decide-device-type              search-space-word-le            atapi-request-sense             
waitfortocerr   offlineerr      dev@            wait-bsy        set-timer       atapi-command   
ata-command     int-off-atapi-bus               reset-atapi-bus use-atapi-interface             
set-drive-select                use-write12?    use-read12?     devicetype      capacity       
blocksize       pio             max-blocks      offset-hi       offset-lo       disk-label-ih   
deblocker-ih    timeout         retry-count     identify-data   write-packet    cap-data       
cap-packet      request-sense-data              start-unit-packet-eject         start-unit-packet-load         
request-sense-packet            test-unit-ready-packet          read-packet     >atapi.length   
>atapi.lba      >atapi.opcode   packet-cmd      identify-cmd    setfeatures-cmd >ata.command   
>ata.devicehead >ata.chi        >ata.clo        >ata.number     >ata.count      >ata.features   
>ata.reserved   >ident.capacity >ident.curcapacity              >ident.dma      >ident.pio     
>ident.capabilities             >ident.model    >ident.spt      >ident.heads    >ident.cylinders               
>ident.config   /blk           
 ok
0 > ' $call-parent .calls dma-sync dma-map-out dma-map-in dma-free dma-alloc dev@
wait-bsy set-timer atapi-command ata-command int-off-atapi-bus reset-atapi-bus use-atapi-interface
set-drive-select  ok
0 >
G4/MDD 1.42 (9), G4/GB 500DP (X), Beige G3 400 (upgraded) (9), PBG4Ti 1Ghz (X), PBG3WS 300 (9)

got my mind on my scsi and my scsi on my mind