SSD not seen by OS

Status
Not open for further replies.

markw78

Dabbler
Joined
Oct 17, 2012
Messages
22
Tried to put a Corsair SSD into the server I'm researching FreeNAS on. The BIOS sees the SSD, but the OS does not, when I look over the contents of DMESG it lists all my spindle drives, but not the SSD.

I don't really know the first thing about FreeBSD. Tried to run "fdisk" and got an error about mounted root fs resource doesn't match expectations.

What are some steps I could take to troubleshoot why the SSD does not show up to the OS?

Thanks
Mark
 

tingo

Contributor
Joined
Nov 5, 2011
Messages
137
BIOS sees the drives, but not FreeNAS / FreeBSD? Really? I haven't seen such a case in many, many years.
Which version of FreeNAS did you try? (And if, by chance, you tried FreeBSD also, which version of FreeBSD?)
What does
Code:
camcontrol devlist -v
(as root in FreeNAS) tell you?
 

markw78

Dabbler
Joined
Oct 17, 2012
Messages
22
BIOS sees the drives, but not FreeNAS / FreeBSD? Really? I haven't seen such a case in many, many years.
Which version of FreeNAS did you try? (And if, by chance, you tried FreeBSD also, which version of FreeBSD?)
What does
Code:
camcontrol devlist -v
(as root in FreeNAS) tell you?

that shows all the drives, but nothing for the SSD. I've not tried a FreeBSD install, only FreeNAS install: FreeNAS-8.2.0-RELEASE-p1-x64.iso

uname -a shows "FreeBSD 8.2-Release-p9"

I believe I downloaded the most recent version. It's a Corsair SSD, I found some threads from 2011 about sandforce controllers not working with freeBSD, but never found any more recent updates on the issue.

Definitely seen in the BIOS, just checked again.

Thanks!
Mark
 

tingo

Contributor
Joined
Nov 5, 2011
Messages
137
Ok, try a verbose boot and see if you get any interesting messages in dmesg related to you SSD there.
 

markw78

Dabbler
Joined
Oct 17, 2012
Messages
22
ada0 1 2 3 are known disks. ada5 is also seen in the log, so that must be the SSD


[root@SAN3H] ~# dmesg | grep ata5
ata5: <ATA channel 1> on atapci2
ata5: [MPSAFE]
ata5: [ITHREAD]
ata5: SATA connect time=0ms status=00000123
ata5: reset tp1 mask=01 ostat0=50 ostat1=00
ata5: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata5: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata5:0:0:0): SIGNATURE: 0000
ata5: SATA connect time=0ms status=00000123
ata5: reset tp1 mask=01 ostat0=58 ostat1=00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata5: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata5:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ata5:0:0:0): CAM status: Command timeout
(aprobe0:ata5:0:0:0): SIGNATURE: 0000
ata5: SATA connect time=0ms status=00000123
ata5: reset tp1 mask=01 ostat0=58 ostat1=00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata5: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata5:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ata5:0:0:0): CAM status: Command timeout
 

markw78

Dabbler
Joined
Oct 17, 2012
Messages
22
[root@SAN3H] ~# dmesg | grep ada
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD800BB-00JHC0 05.01C05> ATA-6 device
ada0: Serial Number WD-WCAM9U652308
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
ada1 at ata3 bus 0 scbus3 target 0 lun 0
ada1: <ST31500341AS SD1B> ATA-8 SATA 2.x device
ada1: Serial Number 9VS07J1B
ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada1: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)
ada2 at ata6 bus 0 scbus6 target 0 lun 0
ada2: <ST31500341AS SD1B> ATA-8 SATA 2.x device
ada2: Serial Number 9VS078NM
ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada2: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)
ada3 at ata7 bus 0 scbus7 target 0 lun 0
ada3: <ST31500341AS SD1B> ATA-8 SATA 2.x device
ada3: Serial Number 9VS087M0
ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada3: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)
pass2: <ST31500341AS SD1B> ATA-8 SATA 2.x deviceGEOM: new disk ada0
GEOM: new disk ada1
GEOM: new disk ada2
GEOM: new disk ada3


[root@SAN3H] ~# dmesg | grep ata
L1 2MB data TLB: 8 entries, fully associative
L1 4KB data TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 4KB data TLB: 512 entries, 4-way associative
atapci0: <nVidia nForce MCP55 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 4.0 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
ata0: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: [MPSAFE]
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: [MPSAFE]
ata1: [ITHREAD]
atapci1: <nVidia nForce MCP55 SATA300 controller> port 0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd00f mem 0xefcbd000-0xefcbdfff irq 23 at device 5.0 on pci0
atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xd000
atapci1: [MPSAFE]
atapci1: [ITHREAD]
atapci1: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xefcbd000
ata2: <ATA channel 0> on atapci1
atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xd800
atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xd480
ata2: [MPSAFE]
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xd400
atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at 0xd080
ata3: [MPSAFE]
ata3: [ITHREAD]
atapci2: <nVidia nForce MCP55 SATA300 controller> port 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f mem 0xefcbc000-0xefcbcfff irq 20 at device 5.1 on pci0
atapci2: Reserved 0x10 bytes for rid 0x20 type 4 at 0xc400
atapci2: [MPSAFE]
atapci2: [ITHREAD]
atapci2: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xefcbc000
ata4: <ATA channel 0> on atapci2
atapci2: Reserved 0x8 bytes for rid 0x10 type 4 at 0xcc00
atapci2: Reserved 0x4 bytes for rid 0x14 type 4 at 0xc880
ata4: [MPSAFE]
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci2
atapci2: Reserved 0x8 bytes for rid 0x18 type 4 at 0xc800
atapci2: Reserved 0x4 bytes for rid 0x1c type 4 at 0xc480
ata5: [MPSAFE]
ata5: [ITHREAD]
atapci3: <nVidia nForce MCP55 SATA300 controller> port 0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb80f mem 0xefcb3000-0xefcb3fff irq 21 at device 5.2 on pci0
atapci3: Reserved 0x10 bytes for rid 0x20 type 4 at 0xb800
atapci3: [MPSAFE]
atapci3: [ITHREAD]
atapci3: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xefcb3000
ata6: <ATA channel 0> on atapci3
atapci3: Reserved 0x8 bytes for rid 0x10 type 4 at 0xc080
atapci3: Reserved 0x4 bytes for rid 0x14 type 4 at 0xc000
ata6: [MPSAFE]
ata6: [ITHREAD]
ata7: <ATA channel 1> on atapci3
atapci3: Reserved 0x8 bytes for rid 0x18 type 4 at 0xbc00
atapci3: Reserved 0x4 bytes for rid 0x1c type 4 at 0xb880
ata7: [MPSAFE]
ata7: [ITHREAD]
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata0:0:0:0): SIGNATURE: 0000
ata1: reset tp1 mask=00 ostat0=ff ostat1=ff
ata2: SATA connect timeout status=00000000
ata3: SATA connect time=0ms status=00000123
ata3: reset tp1 mask=01 ostat0=50 ostat1=00
ata3: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata3: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata3:0:0:0): SIGNATURE: 0000
ata4: SATA connect timeout status=00000000
ata5: SATA connect time=0ms status=00000123
ata5: reset tp1 mask=01 ostat0=50 ostat1=00
ata5: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata5: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata5:0:0:0): SIGNATURE: 0000
ata6: SATA connect time=0ms status=00000123
ata6: reset tp1 mask=01 ostat0=50 ostat1=00
ata6: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata6: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe1:ata6:0:0:0): SIGNATURE: 0000
ata7: SATA connect time=0ms status=00000123
ata7: reset tp1 mask=01 ostat0=50 ostat1=00
ata7: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata7: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe2:ata7:0:0:0): SIGNATURE: 0000
ata5: SATA connect time=0ms status=00000123
ata5: reset tp1 mask=01 ostat0=58 ostat1=00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata5: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata5:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ata5:0:0:0): CAM status: Command timeout
(aprobe0:ata5:0:0:0): SIGNATURE: 0000
ata5: SATA connect time=0ms status=00000123
ata5: reset tp1 mask=01 ostat0=58 ostat1=00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata5: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata5: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata5:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ata5:0:0:0): CAM status: Command timeout
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada1 at ata3 bus 0 scbus3 target 0 lun 0
ada2 at ata6 bus 0 scbus6 target 0 lun 0
ada3 at ata7 bus 0 scbus7 target 0 lun 0
pass0 at ata0 bus 0 scbus0 target 0 lun 0
pass1 at ata3 bus 0 scbus3 target 0 lun 0
pass2 at ata6 bus 0 scbus6 target 0 lun 0
pass3 at ata7 bus 0 scbus7 target 0 lun 0
 

markw78

Dabbler
Joined
Oct 17, 2012
Messages
22
The SSD is on ata6 (verified this with another disk)

I get this in the verbose log, but than nothing else aside from ada0 showing up (the boot disk, not the ssd). I never get ada1

ata2: SATA connect timeout status=00000000
ata3: SATA connect timeout status=00000000
ata4: SATA connect timeout status=00000000
ata5: SATA connect timeout status=00000000
ata6: SATA connect time=0ms status=00000123
ata6: reset tp1 mask=01 ostat0=50 ostat1=00
ata6: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata6: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata6:0:0:0): SIGNATURE: 0000
uhub1: 10 ports with 10 removable, self powered
ata7: SATA connect timeout status=00000000
ugen0.2: <Dell> at usbus0
ums0: <Dell Dell USB Mouse, class 0/0, rev 1.10/29.10, addr 2> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
ugen0.3: <Dell> at usbus0
ukbd0: <EP1 Interrupt> on usbus0
kbd2 at ukbd0
kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000
ata6: SATA connect time=0ms status=00000123
ata6: reset tp1 mask=01 ostat0=58 ostat1=00
ata6: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata6: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata6: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata6: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata6: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata6: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata6:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ata6:0:0:0): CAM status: Command timeout
(aprobe0:ata6:0:0:0): SIGNATURE: 0000
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
ata6: SATA connect time=0ms status=00000123
ata6: reset tp1 mask=01 ostat0=58 ostat1=00
ata6: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata6: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata6: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata6: stat0=0xd8 err=0x00 lsb=0x00 msb=0x00
ata6: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata6: reset tp2 stat0=50 stat1=00 devices=0x1
(aprobe0:ata6:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
(aprobe0:ata6:0:0:0): CAM status: Command timeout
 

tingo

Contributor
Joined
Nov 5, 2011
Messages
137
Ok, that doesn't look good.
Two things to try (if possible)
1) verify that the SSD is indeed working (using it on another computer), also try to change the SATA cable, if you haven't already.
2) try to download FreeBSD (ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/8.3/) try the memstick file, and just dd it to a usb memory stick and boot that, just to see if it is better at detecting your SSD

Also, what motherboard is this? Is one of those with "special" SATA ports (the last two ports are advertised as RAID, but are host-based softraid)? If so, go into BIOS and fiddle with the settings for those; turn off anything that smells of raid. If you have an ahci mode in BIOS, turn it on. See if any of this helps.
BTW, are you running with the latest BIOS version? If not, try to upgrade.
 

Digidoc

Dabbler
Joined
Oct 30, 2011
Messages
41
I've seen this problem before. I recommend that you go into your system's BIOS and check to see if the nForce SATA controller is running in IDE or RAID mode (set it to IDE if it isn't). Also try using a new SATA-III cable (I've seen bad SATA cables cause this problem too. Had it happen to one of my own systems). If that doesn't work then try hooking up the drive to another system that's running Windows and see if you can partition/format/use the drive. I've got a feeling that if swapping the cable doesn't work, then the latter won't work either.

I've seen something similar happen with two OCZ drives (one 32GB Agility and a 240GB Agility that a friend of mine had). They'd work for a short time on power-up, but would power themselves down shortly afterwards.

There's also something else that could be going on here. There were some known compatibility issues with the nForce SATA controller and Sandforce drives. Check to see if there's a firmware update for both your motherboard and your SSD.
 

markw78

Dabbler
Joined
Oct 17, 2012
Messages
22
Well when it boots, the Preload screen shows "BIOS D: is disk1"

It's not the cable, a regular spindle disk on the same cable / controller works fine. I did try another cable anyways but no change.

The board is an ASUS M2N-LR, RAID is disabled. It does not have AHCI options. Updated the BIOS to the latest, no effect.

The SSD has a window install on it from previous use, If I tell this machien to boot to it, I get the Windows splash screen and it starts to load.

I also tried with a recently RMA'd SSD (should have new firmware) with no luck either.
 

markw78

Dabbler
Joined
Oct 17, 2012
Messages
22
Well, I upgraded the SSD firmware and everything looks OK now.

Thanks all for the help! Can move forward now with some more testing etc...
 

markw78

Dabbler
Joined
Oct 17, 2012
Messages
22
Another question...

When I installed OpenSolaris to use ZFS, I was able to create a mirror and install to it during setup. This does not seem possible with FreeNAS, is this correct? For now I installed to a USB Key instead of a hard drive for reliability.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You cannot mirror the boot device for FreeNAS. The manual explains how to recover from a USB failure in about 15 minutes. Just make sure you are backing up your config file. USB drives should last a long time since they aren't written to regularly.
 
Status
Not open for further replies.
Top