Revilo
Dabbler
- Joined
- Oct 15, 2013
- Messages
- 25
System spec: Dell Optiplex 755 (500GB SATA II HDD, E4400 CPU, 4GB 800Mhz DDR2 RAM, 0 IDE Slots, on-board NIC 1Gbit, JMB363 based IDE/SATA card)
Operating System: FreeNAS x64 9.2.1 (was FreeNAS x64 9.2.0 when testing originally)
Okay, so I started off with a PCI card using the VIA VT6410 chipset (cheap one off ebay). FreeNAS 9.2 found the card but no-matter which drive, IDE cable or PCI port I connected/tried, the drive never showed up. After lots of forum research I tried adding Tunables "ata_load=yes","atavia_load=yes","ataahci_load=yes" etc. and other techniques to no avail...
I SUGGEST AVOIDING THE "VT6410" CARDS ON EBAY... THEY DON'T WORK!!
As I don't have a lot of cash so I tried to find a cheap way around it and spent many hours trying to fix the problem but after a while I decided to get a new PCI card and decided to research the most compatible PCI/PCIe card with IDE support. I eventually found a card on Amazon which uses the JMB363 chipset (supported in FreeBSD)...
When I got it I plugged it in, I found the Dell (stupidly simple and incredibly restricted) BIOS detected the drive. (note: I am using an IDE cable which I know works and also the drive jumper is set to master and is connected to the correct part of the IDE cable). Freenas kernel detects the drive and the webGUI shows the drive in the drive list (I have tried multiple drives which all show up).
Okay... so the problem is that I cant mount the drive using auto import, import or the UFS or ZFS file systems but the drive does show up in the list of 'importable' drives. When importing via the webGUI I get... Error: Unable to GPT format the disk "ada0" at the top of the window and dmesg cycles through a series of "Read_DMA" errors (shown below) which don't stop (I have to hold the power button on the PC to hard reset the PC because I cant manually shut it down).
I have tried to format the disk in windows using the inbuilt utility and NTFS "quick" format and then placing it in the system (I am not importing the NTFS volume so I don't have a problem with NTFS compatibility with freenas).
I have also used the "view disks" tab and then clicked on the drive and clicked "wipe" using quick format which didn't work either.
I have tried changing the BOIS settings from AHCI to Legacy which made my installation revert back to my previous 9.1.1 FreeNAS version and now I can't use the webGUI because I am getting tracebacks and various errors when clicking on anything. I have reverted back to the AHCI mode which didn't work (yet another problem for me to sort!)
Anayway.............
running "pciconf -lvcb" gives me this:
I run # fsck_ufs -y /dev/ada0p1 and get:
What is quite interesting is that if I run # sysctl kern.geom.debugflags=0x10 I get:
All of the above commands were run before my freenas installation reverted itself back to 9.1.1 FreeNAS.
I am going to try updating the freenas installation to 9.2.1 (if I can get it back to 9.2.0) and also maybe try formatting with a long format on windows and not the "quick" format. I can't think of anything else because I have followed other forums and the things I have tried haven't worked.
I hope someone can help, I can't afford to buy another card!!
Thank you everyone! :)
Operating System: FreeNAS x64 9.2.1 (was FreeNAS x64 9.2.0 when testing originally)
Okay, so I started off with a PCI card using the VIA VT6410 chipset (cheap one off ebay). FreeNAS 9.2 found the card but no-matter which drive, IDE cable or PCI port I connected/tried, the drive never showed up. After lots of forum research I tried adding Tunables "ata_load=yes","atavia_load=yes","ataahci_load=yes" etc. and other techniques to no avail...
I SUGGEST AVOIDING THE "VT6410" CARDS ON EBAY... THEY DON'T WORK!!
As I don't have a lot of cash so I tried to find a cheap way around it and spent many hours trying to fix the problem but after a while I decided to get a new PCI card and decided to research the most compatible PCI/PCIe card with IDE support. I eventually found a card on Amazon which uses the JMB363 chipset (supported in FreeBSD)...
When I got it I plugged it in, I found the Dell (stupidly simple and incredibly restricted) BIOS detected the drive. (note: I am using an IDE cable which I know works and also the drive jumper is set to master and is connected to the correct part of the IDE cable). Freenas kernel detects the drive and the webGUI shows the drive in the drive list (I have tried multiple drives which all show up).
Okay... so the problem is that I cant mount the drive using auto import, import or the UFS or ZFS file systems but the drive does show up in the list of 'importable' drives. When importing via the webGUI I get... Error: Unable to GPT format the disk "ada0" at the top of the window and dmesg cycles through a series of "Read_DMA" errors (shown below) which don't stop (I have to hold the power button on the PC to hard reset the PC because I cant manually shut it down).
Code:
kernel: (ada0:ata1:0:1:0): Retrying command kernel: (ada0:ata1:0:1:0): RES: 51 84 cc 0b 58 00 00 00 00 80 00 kernel: (ada0:ata1:0:1:0): ATA status: 51 (DRDY SERV ERR), error: 84 (ICRC ABRT ) kernel: (ada0:ata1:0:1:0): CAM status: ATA Status Error kernel: (ada0:ata1:0:1:0): READ_DMA. ACB: c8 00 cc 0b 58 40 00 00 00 00 80 00 kernel: (ada0:ata1:0:1:0): Retrying command
I have tried to format the disk in windows using the inbuilt utility and NTFS "quick" format and then placing it in the system (I am not importing the NTFS volume so I don't have a problem with NTFS compatibility with freenas).
I have also used the "view disks" tab and then clicked on the drive and clicked "wipe" using quick format which didn't work either.
I have tried changing the BOIS settings from AHCI to Legacy which made my installation revert back to my previous 9.1.1 FreeNAS version and now I can't use the webGUI because I am getting tracebacks and various errors when clicking on anything. I have reverted back to the AHCI mode which didn't work (yet another problem for me to sort!)
Anayway.............
running "pciconf -lvcb" gives me this:
Code:
# pciconf -lvcb hostb0@pci0:0:0:0: class=0x060000 card=0x02111028 chip=0x29b08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82Q35 Express DRAM Controller' class = bridge subclass = HOST-PCI cap 09[e0] = vendor (length 11) Intel cap 11 version 1 pcib1@pci0:0:1:0: class=0x060400 card=0x02111028 chip=0x29b18086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82Q35 Express PCI Express Root Port' class = bridge subclass = PCI-PCI cap 0d[88] = PCI Bridge card=0x02111028 cap 01[80] = powerspec 3 supports D0 D3 current D0 cap 05[90] = MSI supports 1 message cap 10[a0] = PCI-Express 1 root port slot max data 128(128) link x1(x16) speed 2.5(2.5) ASPM disabled(L0s) ecap 0002[100] = VC 1 max VC0 ecap 0005[140] = Root Complex Link Declaration 1 vgapci0@pci0:0:2:0: class=0x030000 card=0x02111028 chip=0x29b28086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82Q35 Express Integrated Graphics Controller' class = display subclass = VGA bar [10] = type Memory, range 32, base 0xfea00000, size 524288, enabled bar [14] = type I/O Port, range 32, base 0xec90, size 8, enabled bar [18] = type Prefetchable Memory, range 32, base 0xd0000000, size 26843 5456, enabled bar [1c] = type Memory, range 32, base 0xfeb00000, size 1048576, enabled cap 05[90] = MSI supports 1 message cap 01[d0] = powerspec 2 supports D0 D3 current D0 vgapci1@pci0:0:2:1: class=0x038000 card=0x02111028 chip=0x29b38086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82Q35 Express Integrated Graphics Controller' class = display bar [10] = type Memory, range 32, base 0xfea80000, size 524288, enabled cap 01[d0] = powerspec 2 supports D0 D3 current D0 em0@pci0:0:25:0: class=0x020000 card=0x02111028 chip=0x10bd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82566DM-2 Gigabit Network Connection' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0xfe9e0000, size 131072, enabled bar [14] = type Memory, range 32, base 0xfe9db000, size 4096, enabled bar [18] = type I/O Port, range 32, base 0xecc0, size 32, enabled cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 13[e0] = PCI Advanced Features: FLR TP uhci0@pci0:0:26:0: class=0x0c0300 card=0x02111028 chip=0x29378086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB bar [20] = type I/O Port, range 32, base 0xff20, size 32, enabled cap 13[50] = PCI Advanced Features: FLR TP uhci1@pci0:0:26:1: class=0x0c0300 card=0x02111028 chip=0x29388086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB bar [20] = type I/O Port, range 32, base 0xff00, size 32, enabled cap 13[50] = PCI Advanced Features: FLR TP ehci0@pci0:0:26:7: class=0x0c0320 card=0x02111028 chip=0x293c8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB2 EHCI Controller' class = serial bus subclass = USB bar [10] = type Memory, range 32, base 0xfe9d9c00, size 1024, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP none0@pci0:0:27:0: class=0x040300 card=0x02111028 chip=0x293e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) HD Audio Controller' class = multimedia subclass = HDA bar [10] = type Memory, range 64, base 0xfe9dc000, size 16384, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[60] = MSI supports 1 message, 64 bit cap 10[70] = PCI-Express 1 root endpoint max data 128(128) FLR link x0(x0) ecap 0002[100] = VC 1 max VC1 ecap 0005[130] = Root Complex Link Declaration 1 pcib2@pci0:0:28:0: class=0x060400 card=0x02111028 chip=0x29408086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) PCI Express Port 1' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 1 root port slot max data 128(128) link x0(x1) speed 0.0(2.5) ASPM disabled(L0s) cap 05[80] = MSI supports 1 message cap 0d[90] = PCI Bridge card=0x02111028 cap 01[a0] = powerspec 2 supports D0 D3 current D0 ecap 0002[100] = VC 1 max VC0 ecap 0005[180] = Root Complex Link Declaration 1 uhci2@pci0:0:29:0: class=0x0c0300 card=0x02111028 chip=0x29348086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB bar [20] = type I/O Port, range 32, base 0xff80, size 32, enabled cap 13[50] = PCI Advanced Features: FLR TP uhci3@pci0:0:29:1: class=0x0c0300 card=0x02111028 chip=0x29358086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB bar [20] = type I/O Port, range 32, base 0xff60, size 32, enabled cap 13[50] = PCI Advanced Features: FLR TP uhci4@pci0:0:29:2: class=0x0c0300 card=0x02111028 chip=0x29368086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB bar [20] = type I/O Port, range 32, base 0xff40, size 32, enabled cap 13[50] = PCI Advanced Features: FLR TP ehci1@pci0:0:29:7: class=0x0c0320 card=0x02111028 chip=0x293a8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB2 EHCI Controller' class = serial bus subclass = USB bar [10] = type Memory, range 32, base 0xff980800, size 1024, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP pcib3@pci0:0:30:0: class=0x060401 card=0x02111028 chip=0x244e8086 rev=0x92 hdr=0x01 vendor = 'Intel Corporation' device = '82801 PCI Bridge' class = bridge subclass = PCI-PCI cap 0d[50] = PCI Bridge card=0x02111028 isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x29148086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801IO (ICH9DO) LPC Interface Controller' class = bridge subclass = PCI-ISA cap 09[e0] = vendor (length 12) Intel cap 1 version 0 features: SATA RAID-5, 4 PCI-e x1 slots ahci1@pci0:0:31:2: class=0x010601 card=0x02111028 chip=0x29228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller' class = mass storage subclass = SATA bar [10] = type I/O Port, range 32, base 0xfe00, size 8, enabled bar [14] = type I/O Port, range 32, base 0xfe10, size 4, enabled bar [18] = type I/O Port, range 32, base 0xfe20, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xfe30, size 4, enabled bar [20] = type I/O Port, range 32, base 0xfec0, size 32, enabled bar [24] = type Memory, range 32, base 0xff970000, size 2048, enabled cap 05[80] = MSI supports 16 messages enabled with 1 message cap 01[70] = powerspec 3 supports D0 D3 current D0 cap 12[a8] = SATA Index-Data Pair cap 13[b0] = PCI Advanced Features: FLR TP none1@pci0:0:31:3: class=0x0c0500 card=0x02111028 chip=0x29308086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) SMBus Controller' class = serial bus subclass = SMBus bar [10] = type Memory, range 64, base 0xfe9d9b00, size 256, enabled bar [20] = type I/O Port, range 32, base 0xece0, size 32, enabled atapci0@pci0:1:0:0: class=0x010400 card=0x2363197b chip=0x2363197b rev=0x03 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMB362/JMB363 Serial ATA Controller' class = mass storage subclass = RAID bar [10] = type I/O Port, range 32, base 0xdce0, size 8, enabled bar [14] = type I/O Port, range 32, base 0xdcd8, size 4, enabled bar [18] = type I/O Port, range 32, base 0xdce8, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xdcdc, size 4, enabled bar [20] = type I/O Port, range 32, base 0xdcf0, size 16, enabled bar [24] = type Memory, range 32, base 0xfe7fe000, size 8192, enabled cap 01[68] = powerspec 2 supports D0 D3 current D0 cap 10[50] = PCI-Express 1 legacy endpoint IRQ 1 max data 128(128) link x1(x 1) speed 2.5(2.5) ASPM disabled(L0s)
I run # fsck_ufs -y /dev/ada0p1 and get:
sck_ufs: /dev/ada0p1: can't read disk label
Unmatched '.
What is quite interesting is that if I run # sysctl kern.geom.debugflags=0x10 I get:
and I can then create a volume which can be written to via SSH but not via CIFS.. I then restart the NAS and the drive doesn't import (cycling through the Read_DMA error again).kern.geom.debugflags: 0 -> 16
All of the above commands were run before my freenas installation reverted itself back to 9.1.1 FreeNAS.
I am going to try updating the freenas installation to 9.2.1 (if I can get it back to 9.2.0) and also maybe try formatting with a long format on windows and not the "quick" format. I can't think of anything else because I have followed other forums and the things I have tried haven't worked.
I hope someone can help, I can't afford to buy another card!!
Thank you everyone! :)