Hello, I encountered a problem on my Amiga One XE G3, I have added to the system controller with a Sil 3112 SATA HD, since all the IDE ports are already occupied with cd and dvd burner and 2 hard drives.
On the sata hd I installed Linux Lenny AmigaOS4.1 update 4 and under OS4 reflected a problem that every time when accessing the hard disk during the loading of programs the system hangs for a few seconds (5-10 seconds ) with the mouse working and the LED on the computer's case indicates that the activity of an IDE PATA hard drive connected to the Amiga.
This problem does not stop using Linux, I conclude that it could be a sata driver issue that conflicts with the integrated IDE nell'Amiga.
Does anyone know of this problem and can give me some advice for the solution, or is it a problem with OS4 driver sata and ide then a software problem to solve? Or is it something else?
Thank you.
Problems with SATA
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: Problems with SATA
It is unlikely to be a system software problem since many other people already have similar installations. I have an AmigaOne XE with the built-in IDE, sii0680 and sii3114 cards, all working properly.
Has your AmigaOne been "fixed"? I don't think that could be a cause, but it's something we need to know.
Next, can you describe your installation? We need to understand it to be able to help.
Please describe all disk connections (which interfaces, master/slave, all devices including CD-ROMs, etc).
How old are all the disk drives?
Where is the OS4 system partition (which disk)?
What do you have on other partitions and drives? Applications? Programs that are running in the background?
This problem occurs only when running OS4? Does Linux access any of the other drives/partitions?
Has your AmigaOne been "fixed"? I don't think that could be a cause, but it's something we need to know.
Next, can you describe your installation? We need to understand it to be able to help.
Please describe all disk connections (which interfaces, master/slave, all devices including CD-ROMs, etc).
How old are all the disk drives?
Where is the OS4 system partition (which disk)?
What do you have on other partitions and drives? Applications? Programs that are running in the background?
This problem occurs only when running OS4? Does Linux access any of the other drives/partitions?
cheers
tony
tony
Re: Problems with SATA
My setup is as follows:
3112 sata controller on the first port sata 230Gb hard disk, the second free port.
Sata partitioned dh0: SFS OS4.1.4, DH1: jxfs DH4: Swap AOS, DH5 ext3 in Linux and Linux Swap dh6.
Sull'ATA100 dell'AmigaOne:
Primary Master: HD 160Gb jxfs DH2, DH3 SBB DOS3 for data exchange with Linux.
Slave: CD burning
Secondary Master: 40Gb HD (9 years old when I bought the A1)
I use a single EXT3 partition with Linux
Slave: DVD burning
Special programs are installed on the boot partition Amicignyx AmigaOS, commodities Amidock, amisnap, clicktofront, contextmenu, CrossDOS, DepthToFront, Fkey, RAWBinfo, ScreenBlankerEngine, WindiwThumbs.
UserStartup:
3112 sata controller on the first port sata 230Gb hard disk, the second free port.
Sata partitioned dh0: SFS OS4.1.4, DH1: jxfs DH4: Swap AOS, DH5 ext3 in Linux and Linux Swap dh6.
Sull'ATA100 dell'AmigaOne:
Primary Master: HD 160Gb jxfs DH2, DH3 SBB DOS3 for data exchange with Linux.
Slave: CD burning
Secondary Master: 40Gb HD (9 years old when I bought the A1)
I use a single EXT3 partition with Linux
Slave: DVD burning
Special programs are installed on the boot partition Amicignyx AmigaOS, commodities Amidock, amisnap, clicktofront, contextmenu, CrossDOS, DepthToFront, Fkey, RAWBinfo, ScreenBlankerEngine, WindiwThumbs.
UserStartup:
Hidden Text - Click to Show :
Re: Problems with SATA
Just for future if you're going to post lists or similair use hidden or similair
If you get a thread with too many lists it's alot of scrolling and lists are for reference anyway
It almost sounds like it needs to wake up a harddrive (what happens sometimes when I haven't accessed an external usb drive for a while)
can you use idetool -l in a shell
on your native device (I can't recall it) and this sii3112sata.device and put the information up? Just want to see what mode your harddrives are running in etc
and also type nvgetvar and put that output up
hope that all makes sense, in a little rush
If you get a thread with too many lists it's alot of scrolling and lists are for reference anyway
It almost sounds like it needs to wake up a harddrive (what happens sometimes when I haven't accessed an external usb drive for a while)
can you use idetool -l in a shell
on your native device (I can't recall it) and this sii3112sata.device and put the information up? Just want to see what mode your harddrives are running in etc
and also type nvgetvar and put that output up
hope that all makes sense, in a little rush
~Yes I am a Kiwi, No, I did not appear as an extra in 'Lord of the Rings'~
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
Re: Problems with SATA
My Bios setup:
16.OS4:> idetool -l sii3112ide.device
-------------------Unit 0 information------------------------
Flags : $000001A7 - present, LBA48 used, supports DMA, ATA, supports acoustic mgmt, supports cache flush, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 70 (UDMA 6, 133 MB/s) / current 70 (UDMA 6, 133 MB/s)
Total blocks : 488397168
Blocksize : 512
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $802400 / $80240A / $802420
16.OS4:> idetool -l a1ide.device
-------------------Unit 0 information------------------------
Flags : $00000187 - present, LBA48 used, supports DMA, ATA, supports cache flush, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 69 (UDMA 5, 100 MB/s) / current 69 (UDMA 5, 100 MB/s)
Total blocks : 312581808
Blocksize : 512
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $1F0 / $3F6 / $CC00
-------------------Unit 1 information------------------------
Flags : $0000011D - present, supports DMA, removable media, ATAPI, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 66 (UDMA 2, 33 MB/s) / current 66 (UDMA 2, 33 MB/s)
Total blocks : 0
Blocksize : 2048
SCSI devtyp : 5
Packet size : 12
Current medium read speed : x 65535 ('65535' stands for max.)
Current medium write speed : x 65535 (idem)
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $1F0 / $3F6 / $CC00
-------------------Unit 2 information------------------------
Flags : $000001A5 - present, supports DMA, ATA, supports acoustic mgmt, supports cache flush, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 69 (UDMA 5, 100 MB/s) / current 69 (UDMA 5, 100 MB/s)
Total blocks : 78177792
Blocksize : 512
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $170 / $376 / $CC08
-------------------Unit 3 information------------------------
Flags : $0000011D - present, supports DMA, removable media, ATAPI, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 68 (UDMA 4, 66 MB/s) / current 66 (UDMA 2, 33 MB/s)
Total blocks : 0
Blocksize : 0
SCSI devtyp : 5
Packet size : 12
Current medium read speed : x 65535 ('65535' stands for max.)
Current medium write speed : x 65535 (idem)
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $170 / $376 / $CC08
Hidden Text - Click to Show :
-------------------Unit 0 information------------------------
Flags : $000001A7 - present, LBA48 used, supports DMA, ATA, supports acoustic mgmt, supports cache flush, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 70 (UDMA 6, 133 MB/s) / current 70 (UDMA 6, 133 MB/s)
Total blocks : 488397168
Blocksize : 512
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $802400 / $80240A / $802420
16.OS4:> idetool -l a1ide.device
-------------------Unit 0 information------------------------
Flags : $00000187 - present, LBA48 used, supports DMA, ATA, supports cache flush, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 69 (UDMA 5, 100 MB/s) / current 69 (UDMA 5, 100 MB/s)
Total blocks : 312581808
Blocksize : 512
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $1F0 / $3F6 / $CC00
-------------------Unit 1 information------------------------
Flags : $0000011D - present, supports DMA, removable media, ATAPI, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 66 (UDMA 2, 33 MB/s) / current 66 (UDMA 2, 33 MB/s)
Total blocks : 0
Blocksize : 2048
SCSI devtyp : 5
Packet size : 12
Current medium read speed : x 65535 ('65535' stands for max.)
Current medium write speed : x 65535 (idem)
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $1F0 / $3F6 / $CC00
-------------------Unit 2 information------------------------
Flags : $000001A5 - present, supports DMA, ATA, supports acoustic mgmt, supports cache flush, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 69 (UDMA 5, 100 MB/s) / current 69 (UDMA 5, 100 MB/s)
Total blocks : 78177792
Blocksize : 512
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $170 / $376 / $CC08
-------------------Unit 3 information------------------------
Flags : $0000011D - present, supports DMA, removable media, ATAPI, interrupts used,
Xfer mode : best pio 12 (PIO 4, 16 MB/s) / best dma 68 (UDMA 4, 66 MB/s) / current 66 (UDMA 2, 33 MB/s)
Total blocks : 0
Blocksize : 0
SCSI devtyp : 5
Packet size : 12
Current medium read speed : x 65535 ('65535' stands for max.)
Current medium write speed : x 65535 (idem)
Power mode : 2 / idle (ready for operation)
IO1 / IO2 / BMCR @ : $170 / $376 / $CC08
Re: Problems with SATA
Thanks for that
ok, can we try this please?
Type in a shell and return:
NVSetVar a1ide_xfer E0E0
and
NVSetVar sii3112ide_xfer F
and to tidy up what isn't installed
NVSetVar sii0680ide_xfer
and
NVSetVar sil_xfer
Please test out the system with these settings and let us know
I know it's more digging but if nothing is revealing here please tell us
what buffers are assigned to your HD partitions and the maxtransfer values.
(and please don't worry about the new settings - although slightly more conservative
they are considered rather more stable, secure and recommended for
earlier hardware - especially for the atapi drives that arguably shouldn't be
operating in UDMA)
ok, can we try this please?
Type in a shell and return:
NVSetVar a1ide_xfer E0E0
and
NVSetVar sii3112ide_xfer F
and to tidy up what isn't installed
NVSetVar sii0680ide_xfer
and
NVSetVar sil_xfer
Please test out the system with these settings and let us know
I know it's more digging but if nothing is revealing here please tell us
what buffers are assigned to your HD partitions and the maxtransfer values.
(and please don't worry about the new settings - although slightly more conservative
they are considered rather more stable, secure and recommended for
earlier hardware - especially for the atapi drives that arguably shouldn't be
operating in UDMA)
~Yes I am a Kiwi, No, I did not appear as an extra in 'Lord of the Rings'~
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
Re: Problems with SATA
I forgot to say that this problem is very often while I listen to mp3. I tried to set as I've said and the situation seems improved also listening to music with tunenet but the system is noticeably more 'slow in loading, and without setting the UDMA optical drives for the DVD shoot.
Instead of the hard drive settings are these:
Primary Master:
JXFS\04 512 Block - Buffer 1000 - MaxTrans 7FFFFFFF - Mask 7FFFFFFF
DOS\03 2048 Block - Buffer 500 - MaxTrans FFFFFFF - Mask 7FFFFFFF
Secondary Master
EXT\03 512 Block - Buffer 1000 - MaxTransfer FFFFFFF - Mask FFFFFFFE
Sil3112:
SFS\00 (AmigaOS4.1.4) 512 Block - Buffer 1000 - MaxTrans 7FFFFFFF - Mask FFFFFFFE
JXFS\04 512 Block - Buffer 1000 - Maxtrans 7FFFFFFF - Mask 7FFFFFFF
SWAP 4096 Block - Buffer 600 - MaxTrans 7FFFFFFF - Mask FFFFFFFE
LNX\00 512 Block - Buffer 500 -MaxTrans 7FFFFFFF - Mask FFFFFFFE
SWP\00 512 Block - Buffer 500 - MaxTrans 7FFFFFFF -Mask FFFFFFFE
Instead of the hard drive settings are these:
Primary Master:
JXFS\04 512 Block - Buffer 1000 - MaxTrans 7FFFFFFF - Mask 7FFFFFFF
DOS\03 2048 Block - Buffer 500 - MaxTrans FFFFFFF - Mask 7FFFFFFF
Secondary Master
EXT\03 512 Block - Buffer 1000 - MaxTransfer FFFFFFF - Mask FFFFFFFE
Sil3112:
SFS\00 (AmigaOS4.1.4) 512 Block - Buffer 1000 - MaxTrans 7FFFFFFF - Mask FFFFFFFE
JXFS\04 512 Block - Buffer 1000 - Maxtrans 7FFFFFFF - Mask 7FFFFFFF
SWAP 4096 Block - Buffer 600 - MaxTrans 7FFFFFFF - Mask FFFFFFFE
LNX\00 512 Block - Buffer 500 -MaxTrans 7FFFFFFF - Mask FFFFFFFE
SWP\00 512 Block - Buffer 500 - MaxTrans 7FFFFFFF -Mask FFFFFFFE
Re: Problems with SATA
Try adding
NVSetVar sii3112ide_maxbus 1
NVSetVar sii3112ide_irq 0
Anything?
If not try this too
NVSetVar a1ide_irq 0000
Anything?
Add this if all else fails
Change all your partitions to use 16MB Scsi Transfer Speed (don't use max avaiable - When set to max transfer speed there were many cases were the older hardware couldn't cope - this could be compounding another problem if not the problem)
Might as well set all your partitions to also use 32bit aligned memory pools too
Anything?
NVSetVar sii3112ide_maxbus 1
NVSetVar sii3112ide_irq 0
Anything?
If not try this too
NVSetVar a1ide_irq 0000
Anything?
Add this if all else fails
Change all your partitions to use 16MB Scsi Transfer Speed (don't use max avaiable - When set to max transfer speed there were many cases were the older hardware couldn't cope - this could be compounding another problem if not the problem)
Might as well set all your partitions to also use 32bit aligned memory pools too
Anything?
~Yes I am a Kiwi, No, I did not appear as an extra in 'Lord of the Rings'~
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
Re: Problems with SATA
Excuse my question, but set the IRQ to 0 of PATA and SATA ports vai thing to change?
I would not create problems and to go back to what I have to set the irq?
I would not create problems and to go back to what I have to set the irq?
Re: Problems with SATA
If I understand you correctly you're asking if it's okay to reverse it (especially if it doesn't make any difference?)? Yes, just use 1 to turn interrupts back on, any other character turns it off, I just used 0
~Yes I am a Kiwi, No, I did not appear as an extra in 'Lord of the Rings'~
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x