Similar Threads:
1.device or bus resets to SATA devices on sata controller
kernel 2.6.18.something
I'm trying to issue a Bus and Device reset (at different times) to a
SATA drive. Unfortunately, I'm getting an EIO when I use
SG_SCSI_RESET with a SG_SCSI_RESET_BUS or SG_SCSI_RESET_DEVICE arg in
the int* on an sg device, and ENOTTY on an sd device.
So, I decided to try using the SAT interface via libata. One the
face
of it, this looks like it should be easy... Device Reset is protocol
field = 9, don't do check condition, no tlength, tdir doesn't matter,
extend doesn't matter, etc.
So I issue:
85/12/00/00/00/00/00/00/00/00/00/00/00/00/00
but get an 05/24/00 error (invalid field in CDB)
So, I try the extend bit...
85/13/00/00/00/00/00/00/00/00/00/00/00/00/00
ditto
Maybe I need to manually set the SRST in the control field too...
85/13/00/00/00/00/00/00/00/00/00/00/00/00/04
05/24/00 bleh
Neither sg_reset nor hdparm could issue the resets either. Does
anyone know how to issue HARD, SOFT, or DEVICE resets to sata
devices?
2.FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA
Hello !
I bought an ASUS motherboard with onboard SATA II controller. I
attached 2 HDs SATA II but when I run dmesg I notice that my system
sees them as normal older SATA 150 instead of SATA 300.
Is there any suggestion to solve this problem ?
Have a nice day.
------------------dmesg output-----------------------
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
The Regents of the University of California. All rights
reserved.
FreeBSD 6.1-RELEASE-p1 #0: Fri Jun 2 15:41:03 CEST 2006
XXXX@XXXXX.COM :/usr/obj/usr/src/sys/AMOS-SMP
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (3000.38-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf62 Stepping = 2
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe43d<SSE3,RSVD2,MON,DS_CPL,VMX,CNTX-ID,CX16,<b14>,<b15>>
AMD Features=0x20000000<LM>
AMD Features2=0x1<LAHF>
Cores per package: 2
real memory = 2138701824 (2039 MB)
avail memory = 2087825408 (1991 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
atapci0: <ITE IT8211F UDMA133 controller> port
0xc800-0xc807,0xc400-0xc403,0xc000-0xc007,0xb800-0xb803,0xb400-0xb40f
irq 19 at device 4.0 on pci1
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
atapci1: <Intel ICH7 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on
pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
atapci2: <Intel ICH7 SATA300 controller> port
0xa800-0xa807,0xa400-0xa403,0xa000-0xa007,0x9800-0x9803,0x9400-0x940f
irq 17 at device 31.2 on pci0
atapci2: failed to enable memory mapping!
ata4: <ATA channel 0> on atapci2
ata5: <ATA channel 1> on atapci2
acd0: DVDROM <HL-DT-STDVD-ROM GDR8163B/0L23> at ata0-master UDMA33
ad8: 114473MB <WDC WD1200JS-00MHB0 02.01C03> at ata4-master SATA150
GEOM_MIRROR: Device gm0 created (id=2415013281).
GEOM_MIRROR: Device gm0: provider ad8 detected.
ad10: 114473MB <WDC WD1200JS-00MHB0 02.01C03> at ata5-master SATA150
GEOM_MIRROR: Device gm0: provider ad10 detected.
SMP: AP CPU #1 Launched!
GEOM_MIRROR: Device gm0: provider ad10 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
GEOM_MIRROR: Device gm0: rebuilding provider ad8.
Trying to mount root from ufs:/dev/mirror/gm0s1a
em0: link state changed to UP
3.SATA suspend/resume (was [PATCH] updated version of Jens' SATA suspend-to-ram patch)
4.SATA 150 vs SATA 300
5.[SATA] sata-via : bug?(Closed No Bug)
6. SATA suspend/resume (was [PATCH] updated version of Jens' SATA suspend-to-ram patch)
7. [PATCH] sata_promise: Port enumeration order - SATA 150 TX4, SATA 300 TX4
8. [sata] new libata-dev-2.6 queue created (AHCI, SATA bridges)