hello all
First of all, I am a noob at FreeBSD, just started to play with it today and so far I am impressed!
Now while playing with FreeBSD 9 I noticed that one of my SATA controllers (JMicron JMB362 onboard controller on my ASUS M5A99X EVO MoBo) uses the ATA driver instead of the AHCI driver.
So I was wondering if there is any way to force FreeBSD to recognise it as an AHCI compliant controller?
So far I have checked & tried the following:
- Checked whether my onboard SATA controller is AHCI compliant: http://www.jmicron.com/PDF/JMB363/JMB362.pdf
- Checked whether it is supported by FreeBSD: http://www.jmicron.com/PDF/OSSupport/OS_Support.pdf
- Checked whether AHCI was enabled for this controller in my BIOS (which was already enabled)
- Updated my MoBo BIOS to the latest release (v1208)
- Added ahci_load="YES" to /boot/loader.conf (not sure whether this is still useful in FreeBSD9)
But so far none of these attempts resulted in recognising this controller as an AHCI device.
[CMD=""]cat /var/log/system.log | grep ata[/CMD] shows me:
And [CMD=""]cat /var/log/system.log | grep ada6[/CMD] shows me:
So currently my HDD is limited to UDMA2 mode which is 33MB/sec instead of 3Gb/sec! x(
And [CMD=""]pciconf -lbcv[/CMD] shows me this in regards to my SATA controller:
Then I stumbled on the following link: http://mail-index.netbsd.org/current-users/2012/03/28/msg019684.html where someone is stating that the JMB362 is not supported in NetBSD and that it can be added by adding the PCI ID somewhere, so perhaps my issue might be related to this?
If this is the case, then what should I do to make this controller work in AHCI mode? As I said at the beginning of my post, I am a real noob at FreeBSD so any assistance would be greatly appreciated!
First of all, I am a noob at FreeBSD, just started to play with it today and so far I am impressed!
Now while playing with FreeBSD 9 I noticed that one of my SATA controllers (JMicron JMB362 onboard controller on my ASUS M5A99X EVO MoBo) uses the ATA driver instead of the AHCI driver.
So I was wondering if there is any way to force FreeBSD to recognise it as an AHCI compliant controller?
So far I have checked & tried the following:
- Checked whether my onboard SATA controller is AHCI compliant: http://www.jmicron.com/PDF/JMB363/JMB362.pdf
- Checked whether it is supported by FreeBSD: http://www.jmicron.com/PDF/OSSupport/OS_Support.pdf
- Checked whether AHCI was enabled for this controller in my BIOS (which was already enabled)
- Updated my MoBo BIOS to the latest release (v1208)
- Added ahci_load="YES" to /boot/loader.conf (not sure whether this is still useful in FreeBSD9)
But so far none of these attempts resulted in recognising this controller as an AHCI device.
[CMD=""]cat /var/log/system.log | grep ata[/CMD] shows me:
Code:
Aug 22 12:42:55 nas4free kernel: atapci1: <JMicron ATA controller> port 0x5028-0x502f,0x5020-0x5023,
0x5018-0x501f,0x5014-0x5017,0x5000-0x500f mem 0xd6500000-0xd65001ff irq 18 at device 0.0 on pci4
Aug 22 12:42:55 nas4free kernel: ata2: <ATA channel 0> on atapci1
Aug 22 12:42:55 nas4free kernel: ata3: <ATA channel 1> on atapci1
Aug 22 12:42:55 nas4free kernel: ada6 at ata2 bus 0 scbus8 target 1 lun 0
And [CMD=""]cat /var/log/system.log | grep ada6[/CMD] shows me:
Code:
Aug 22 12:42:55 nas4free kernel: ada6 at ata2 bus 0 scbus8 target 1 lun 0
Aug 22 12:42:55 nas4free kernel: ada6: <SAMSUNG HD103UJ 1AA01118> ATA-7 SATA 2.x device
Aug 22 12:42:55 nas4free kernel: ada6: 33.300MB/s transfers (UDMA2, PIO 8192bytes)
Aug 22 12:42:55 nas4free kernel: ada6: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
So currently my HDD is limited to UDMA2 mode which is 33MB/sec instead of 3Gb/sec! x(
And [CMD=""]pciconf -lbcv[/CMD] shows me this in regards to my SATA controller:
Code:
atapci1@pci0:4:0:0: class=0x010185 card=0x84601043 chip=0x2362197b rev=0x10 hdr=0x00
vendor = 'JMicron Technology Corp.'
device = 'JMB362 AHCI Controller'
class = mass storage
subclass = ATA
bar [10] = type I/O Port, range 32, base 0x5028, size 8, enabled
bar [14] = type I/O Port, range 32, base 0x5020, size 4, enabled
bar [18] = type I/O Port, range 32, base 0x5018, size 8, enabled
bar [1c] = type I/O Port, range 32, base 0x5014, size 4, enabled
bar [20] = type I/O Port, range 32, base 0x5000, size 16, enabled
bar [24] = type Memory, range 32, base 0xd6500000, size 512, enabled
cap 01[8c] = powerspec 3 supports D0 D3 current D0
cap 10[50] = PCI-Express 1 endpoint max data 128(128) link x32(x32)
Then I stumbled on the following link: http://mail-index.netbsd.org/current-users/2012/03/28/msg019684.html where someone is stating that the JMB362 is not supported in NetBSD and that it can be added by adding the PCI ID somewhere, so perhaps my issue might be related to this?
If this is the case, then what should I do to make this controller work in AHCI mode? As I said at the beginning of my post, I am a real noob at FreeBSD so any assistance would be greatly appreciated!