Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [sata]

The tag has no usage guidance.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
936 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. ...
4
votes
0answers
973 views

The proper way to turn off an external sata encolsure?

I have an e-sata external enclosure with a port expander and 4 sata disks in it that I use for periodic backups. I have what I think is a sound method for powering it off, but not sure if it is the ...
3
votes
0answers
632 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
348 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 ...
3
votes
0answers
139 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 ...
3
votes
0answers
2k views

Debian driver needed for Intel ICH7M SouthBridge I/O controller

I am using a motherboard based on this architecture. http://www.intel.com/content/www/us/en/intelligent-systems/navy-pier/embedded-intel-atom-n270-with-mobile-intel-945gse-express-chipset.html I ...
3
votes
1answer
158 views

How to make my linux-2.6.24.4 to identify a hard disk with serial mode on intel 3201 mainboard

How to make my linux-2.6.24.4 to identify a SATA hard disk on an intel 3201 mainboard? I have pre-load modules libata.ko ahci.ko scsi_mod.ko sd_mod.ko, but it doesn't work on intel 3210 mainboard. On ...
2
votes
0answers
566 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 ...
2
votes
0answers
219 views

how to do data scrubbing (i.e. mass storage bit rot mitigation) in linux/unix?

data scrubbing is presented to me as a way to mitigate what is refered to as bit rot (on mass storage). The rationale is that data on hard disks can "decay"/"rot" and hence get corrupted, and to ...
1
vote
0answers
102 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 ...
1
vote
0answers
36 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 ...
1
vote
0answers
162 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. ...
1
vote
0answers
157 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
0answers
230 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: ...
1
vote
0answers
228 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) ...
1
vote
0answers
758 views

Separating SAS from SATA drives

I have to list all SAS drives and separately list all SATA drives, I'm working on CentOS6 and tried lots of commands which will give some specific information about bus of disks. Let me show you ...
1
vote
0answers
593 views

ATA_PIIX Driver Source Code

Is it possible to find the source code for the ATA_PIIX Driver outside the linux kernel? I have to install an older version of Linux (SuSE 10) on a brand new laptop and its failing to see the drive. I'...
0
votes
0answers
10 views

Hard drive errors irq_stat frozen on brand new hard drive

I have been getting some odd errors coming up on my dev server and I cant find any advive on how to solve it. The error pushes it way on to terminal no matter what im doing it just pops up in the ...
0
votes
0answers
42 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 ...
0
votes
0answers
46 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
23 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
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 ...
0
votes
1answer
202 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 ...
0
votes
0answers
102 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 ...
0
votes
1answer
195 views

How to figure out primary/secondary IDE channel via sysfs (if possible)

Though I've got quite a good basic understanding of sysfs meanwhile, there are still things I cannot solve on my own. For a starter, I'd like to figure out via sysfs (later by scripting of course) ...