Questions tagged [sata]

The tag has no usage guidance.

0
votes
0answers
9 views

Computer fails to suspend: ata1.00: NCQ Send/Recv Log not supported

My Lenovo x230 has been giving me a problem with my Samsung 850 EVO 1TB ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded ...
2
votes
3answers
3k views

How to map a sata device name to a physical sata interface for RAID systems

I have a system with 10 SATA ports, and another SATA as the boot disk. The 10 SATA ports make up 5 software RAID1 arrays. The RAID disks may be removed between boots, and swapped in with arbitrary ...
2
votes
2answers
10k views

Drivers for Marvell 88SE9230 SATA controller on Linux

I have just purchased a SuperMicro X10SBA, where i intend to use the onboard Marvell 88SE923 SATA controller for RAID1. Unfortunately SuperMicro has written that RAID is only compatible on Windows ...
3
votes
2answers
7k views

ATA error: COMRESET failed (errno=-32)

Today I boot my laptop (HP pavilion dv6) running debian 7, and the window manager won't start. I just get over and over again errors as: [###.######] ata6: COMRESET failed (errno=-32) [###.######] ...
1
vote
2answers
882 views

Installing to a PCIE sata card

I have an ASUS P5Q deluxe from an old gaming computer that I'm converting to a server. Unfortunately, while their silly onboard fake RAID thing(drive xpert) worked fine in Windows, the drives are not ...
5
votes
1answer
894 views

Does ZFS for Linux over stress VirtualBox?

I've been using MD raid + LVM for many years, but recently decided to take a look at ZFS. In order to try it, I created a VirtualBox VM with a similar layout to my main server - 7 'SATA' drives or ...
0
votes
2answers
789 views

Linux dmesg errors, motherboard issue?

When doing heavy disk IO on my system (16GB RAM, 6 cores, RAID0 PCIe SSD), the system stalls and eventually crashes. Normal day-to-day disk IO is fine, just prolonged read/write such as a database re-...
63
votes
5answers
73k views

How can I safely remove a SATA disk from a running system?

I sometimes need to plug a disk into a disk bay. At other times, I have the very weird setup of connecting a SSD using a SATA-eSATA cable on my laptop while pulling power from a desktop. How can I ...
2
votes
1answer
58 views

Why does ATA Secure Erase occur concurrently rather than in parallel with PATA drives?

When issuing the ATA secure erase command via hdparm against multiple SATA (non-SSD) drives it occurs in parallel. However when the same command is issued against PATA drives, it occurs ...
1
vote
0answers
62 views

Why does hdparm return 2 differing results when AHCI is enabled and disabled?

When invoking the hdparm command to securely erase devices e.g. ATA SECURE ERASE, the output hdparm -I /dev/sda and hdparm -I /dev/sdb differ with AHCI enabled and disabled. Both devices are SATA ...
0
votes
0answers
36 views

dmesg exceptions on connecting 8TB WD SATA drive

On init of the system under systemd the following output is observed from dmesg. I've included a bit before the exception too for context. fdisk -l does not list the new disk. I connected the drive ...
0
votes
0answers
14 views

ICH10: Large disk support?

I have a Fujitsu RX200 S5 server with an Intel ICH10 82801JI SATA controller that I'd like to use. However, I'm unable to find conclusive information about support for disks with 2 TByte and more. Are ...
0
votes
1answer
201 views

Why does hdparm -y not spin down a HDD while the file managed does? (using Ejection option)

A HDD, which is older than 10 years, is getting read using a SATA-to-USB adapter. When using sudo hdparm -y /dev/sdj, the HDD does not shut down. But when using the Eject option in the File Manager, ...
10
votes
4answers
5k views

How to map ataX.0 identifiers in kern.log error messages to actual /dev/sdY devices?

Consider following kern.log snippet: ata4.00: failed command: WRITE FPDMA QUEUED ata4.00: cmd 61/00:78:40:1e:6c/04:00:f0:00:00/40 tag 15 ncq 524288 out res 41/04:00:00:00:00/04:00:00:00:00/...
1
vote
1answer
3k views

Debug ata error messages?

my Centos 6 server has been playing recently in that it seems to freeze up and lose network access. I've been getting a load of ata5 error messages in the log and after some digging have determined ...
0
votes
0answers
20 views

How do I know if a device is still responsive?

An internal optical drive sometimes ceases to work on an external SATA adapter, connected via USB. If I connect it, it sometimes freezes forever (until powered off). What is a Linux command that ...
1
vote
1answer
2k views

Sata hotplug doesn't work

Can you help me understand, why my SATA hotplug doesn't work? When I plug sata disk, lsblk doesn't change. There is only my system disk /dev/sda. I have linux: $ uname -a Linux Z170-D3H 4.9.0-3-...
0
votes
1answer
36 views

Name this feature - automatically move block from a disk type to another?

I am not talking about cache. The main issue for me with cache is at the beginning the first block is searched through the slow disk, then put in cache. I want often read blocks to be definitively on ...
-1
votes
1answer
708 views

Boot Error: Emask 0X0 SAct 0X0 SErr 0X0 action 0X6 frozen

Where is this error coming from?
3
votes
1answer
11k views

Is there a way to change a device id in /dev/disk/by-id?

I have a S2 SAMSUNG 320GB USB-HDD which I use in both Ubuntu 13.10 (Kernel 3.11.0-17-generic) and Fedora 17. It works fine; I can read/write from/to them. Although, I am experiencing an issue with a ...
1
vote
0answers
35 views

Drive emulation at driver level

I would like to emulate a virtual SED at driver level. The goal is to develop/simulate the "firmware" of a drive, and map driver interface commands to an app which would handle interface specific ...
2
votes
1answer
8k views

Disk Error: failed command: READ DMA EXT

I have a fairly old system board from 2010 and two newer hard drives (HGST 6-TB) running CentOS. I repeatedly get the following errors in the dmesg output for each hard drive (proceeded by a loud ...
6
votes
1answer
817 views

How to check if a drive supports hotswap?

Not all SATA drives support hot-swap. Especially older models do not seem to work correctly and require the system to be rebooted, despite the fact that the controller works well with newer drives. ...
0
votes
1answer
167 views

Second 2Tb SATA drive not recognised

I am trying to install an auxiliary/slave SATA hard drive on an Ubuntu PC. The new drive is 2Tb. I am able to install 1T drives however when I try the new 2T disk, it is not recognised. At first I ...
15
votes
3answers
18k views

Does a bad sector indicate a failing disk?

My Ubuntu 13.10 system has been performing very poorly over the last day or so. Looking at the kernel logs, it appears that the <1yr old 3TB SATA disk is having issues with a particular sector: ...
3
votes
2answers
224 views

How to prevent FreeBSD from disconnecting a drive device?

While accessing a drive with high error rates (as, for example, here for opensuse) in FreeBSD, the system eventually disconnects the drive and it disappears from /dev. This makes it impossible to run ...
4
votes
1answer
2k views

Do I need pata_atiixp or ata_generic kernel modules on a SATA only system?

I don't have any IDE drives and my only SATA hard drive is running in AHCI mode, but my initrd image loads the pata_atiixp module. Is it safe to disable this module? And what about the ata_generic one?...
0
votes
1answer
314 views

Can Ubuntu use an EXT4 hard drive through a USB-SATA dock?

I have a linux system with two 3T EXT4 formatted data hard drives in addition to a system SSD. They are not formally raided, I just rsync from one to the other from time to time to keep two copies of ...
1
vote
0answers
127 views

Max transfer size in SG_IO/SG_ATA_16

I need to pass a direct, raw ATA request to a hard drive (0x25, READ DMA EXT), to disobey max sector count (long story), and to bypass all possible OS caches, buffers, reorderings et al. ...
2
votes
1answer
305 views

I am trying to figure out why a Marvell 88C9215 SATA adapter wont work with Slackware

I have a Syba SI-PEX-40064 SATA adapter I am trying to install on a Slackware box with a ASRock G41M-S3 motherboard. After boot, I can see the interface with lspci, but it doesn't seem to have been ...
8
votes
3answers
10k views

How can I tell if my hard drive is PATA or SATA?

I have an ATA hard disk in my laptop, running Fedora 11, kernel 2.6.30.10-105.2.23.fc11.i586. I am looking to upgrade the disk in here (would love to get an SSD) but I forgot if it's a serial ATA or ...
2
votes
1answer
2k views

Marvell 88SE9128 (9123?) SATA Card Weird Behaviour - OpenSUSE

after no response on the OpenSUSE forum (here: https://forums.opensuse.org/showthread.php/511116-Sata-card-erratic-behaviour-amp-failure-Marvell-88SE9128-(9123-)-Chipset ) I am posing this query to ...
1
vote
1answer
1k views

SATA: what linux kernel drivers are needed for basic support?

I am looking for the basic kernel drivers to enable SATA support. I have a Braswell (Intel SoC) setup and I would like to reduce the number of kernel drivers to a minimum. Does SATA support need the ...
1
vote
1answer
535 views

How to erase SAS SSD

For SATA SSD, I know that there exists an open source program named hdparm for secure erase by issuing ATA command and this tool has been embedded within linux operating system. For SAS SSD, I want to ...
0
votes
0answers
92 views

Any risk using SSD w/ SATA controller w/o TRIM (SATA CMD 06 fails)

All, I have found an incompatibility between my SSDs and my PC, I see atax.00 status: { DRDY ERR } atax.00 error: { ABRT } whenever I try to mkfs.ext4 on these drives. If I attempt to create a RAID ...
2
votes
0answers
490 views

How can I check if sata controller supports hotswap?

Is there a programmatic/generic way to check if sata controller supports howswap? I'd love this question to be generic, so people can apply answer regardless of controller they have. However, in ...
11
votes
3answers
10k views

Names for ATA and SATA disks in Linux

Assume that we have two disks, one master SATA and one master ATA. How will they show up in /dev?
18
votes
4answers
22k views

Given a kernel ATA exception, how to determine which physical disk is affected? [duplicate]

I woke up this morning to a notification email with some rather disturbing system log entries. Dec 2 04:27:01 yeono kernel: [459438.816058] ata2.00: exception Emask 0x0 SAct 0xf SErr 0x0 action 0x6 ...
3
votes
0answers
591 views

Prevent the optical drive to wake up (with noise) after suspend and at startup

Each time I wake up my computer from suspend mode, the cd/dvd player activate and make some noise (it probably checks if there is no cd inside). This happens also at startup. I don't have this ...
3
votes
0answers
321 views

Can a disk be made to identify specific pending sectors?

smartd will happily log messages like this: Sep 2 12:33:59 Watt smartd[438]: Device: /dev/sda, 2 Offline uncorrectable sectors Sep 2 12:34:01 Watt smartd[438]: Device: /dev/sdc, 16 Currently ...
1
vote
0answers
142 views

Manually Select Driver (AHCI/SATA Drive)

I am wondering if there is a way to bypass the default driver when using a SATA Host Bus Adapter (I want it to use my LKM). The other way of doing this is black listing the default driver so mine ...
1
vote
2answers
5k views

List of mount points of external storage devices such as USB keyfobs and SATA external drives, from the cli

I need to list all mount points associates to external storage devices such as USB keyfobs and SATA external drives. The only way I found under Ubuntu, is to call 'mount' and grep for '/media'. But ...
1
vote
2answers
4k views

What causes the ata exceptions in my syslog and how to solve them

I have a new system with debian (omv) a SSD hard drive for the OS and a software RAID 6 for the data. I only saw now that I have very regular exceptions in my syslog. I'm worried now, what could ...
1
vote
1answer
467 views

SATA ssd drives

I have a question regarding the support for SATA ssd drives in the Linux Kernel. I read on the internet that one should enable PCI support for proper usage of the sata drives. Could someone please ...
3
votes
0answers
134 views

monitoring block access to disk

I am looking for a way to monitor access to disk blocks, and to monitor the access as a bitmap of blocks. I also need the capability to freeze (and queue) the device block access (and also to ...
0
votes
1answer
50 views

Low level access to a disk in failure

I have a SATA 2Tb HDD device probably damaged: smart doesn't work, etc. The partitions were built with LVM2. Is it possible, with a low level tool, to retrieve one logical volume (in my case /var) and ...
0
votes
1answer
177 views

Installed Blu-Ray/DVD drive over SATA 3 link, no longer able to boot

I'm having a really weird problem after installing a new Blu-Ray/DVD drive last night into a SATA 3 port on my desktop. My installed Linux distribution (Ubuntu 12.04/elementary Luna/kernel 3.7.5) ...
1
vote
0answers
208 views

How async_port_probe() call works in linux kernel?

To Understand the SATA device enumeration process I was studying the driver/ata/ata_piix.c which is showing as SATA host driver for my system in the output of lspci command. 00:1f.2 IDE interface: ...
2
votes
3answers
81 views

Hot Removed SATA drive mount remains

After removing a bay mounted SATA connected drive the kernel will most of the time remove the mount. However, sometimes the mount remains even though the disk has been removed. Is there a way to avoid ...
1
vote
0answers
201 views

Why is `smartctl -l xerror` LBA well beyond end of disk?

I ran smartctl -l xerror on a Seagate ST31000528AS (1TB disk with 512-byte sectors), and it gave me (in part): Error 597 [16] occurred at disk power-on lifetime: 11903 hours (495 days + 23 hours) ...