linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SATA HDD password problem
@ 2008-03-05  9:50 Rus V. Brushkoff
  2008-03-05 12:30 ` Jeff Garzik
  0 siblings, 1 reply; 17+ messages in thread
From: Rus V. Brushkoff @ 2008-03-05  9:50 UTC (permalink / raw)
  To: linux-ide


 	Hi,

  For example someone has laptop with enabled in BIOS HDD password feature. 
When laptop pass POST, user enters the password, LILO trying 
to boot the kernel, kernel send RESET to SATA drive and password need to 
be entered again - so the kernel panics because it cant mount rootfs. How 
this problem can be solved ? Using initrd image and entering password 
twice is somewhat ugly. Is this the HDD manufacturer bug ? Kernel is 
stock Linus 2.6.23, HDD is WDC WD2500BEVS-22UST0, laptop Acer Ferrari 1100.

TIA

P.S.	I'm not subscribed to list, please CC.


 		Rus

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-05  9:50 SATA HDD password problem Rus V. Brushkoff
@ 2008-03-05 12:30 ` Jeff Garzik
  2008-03-05 12:49   ` Rus V. Brushkoff
  0 siblings, 1 reply; 17+ messages in thread
From: Jeff Garzik @ 2008-03-05 12:30 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: linux-ide

Rus V. Brushkoff wrote:
> 
>     Hi,
> 
>  For example someone has laptop with enabled in BIOS HDD password 
> feature. When laptop pass POST, user enters the password, LILO trying to 
> boot the kernel, kernel send RESET to SATA drive and password need to be 
> entered again - so the kernel panics because it cant mount rootfs. How 
> this problem can be solved ? Using initrd image and entering password 
> twice is somewhat ugly. Is this the HDD manufacturer bug ? Kernel is 
> stock Linus 2.6.23, HDD is WDC WD2500BEVS-22UST0, laptop Acer Ferrari 1100.

This is definitely an under-tested area, as most people do not enable 
this feature.

Make sure libata module option 'noacpi' is disabled (0).

It sounds like a software bug, not HDD manufacturer bug, to me.

	Jeff





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-05 12:30 ` Jeff Garzik
@ 2008-03-05 12:49   ` Rus V. Brushkoff
  2008-03-06  9:47     ` Tejun Heo
  0 siblings, 1 reply; 17+ messages in thread
From: Rus V. Brushkoff @ 2008-03-05 12:49 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide

On Wed, 5 Mar 2008, Jeff Garzik wrote:

:> kernel, kernel send RESET to SATA drive and password need to be entered 
:again > - so the kernel panics because it cant mount rootfs. How this 
:problem can be solved ?

:This is definitely an under-tested area, as most people do not enable this
:feature.
:
:Make sure libata module option 'noacpi' is disabled (0).

..........
[Hors]:root:~ # cat /sys/module/libata/parameters/noacpi
0
.........

:It sounds like a software bug, not HDD manufacturer bug, to me.

 Seems like something like "do_not_hard_reset" parameter for libata shoud 
exists, or may be different kind of resets exits in standart, for which 
password do not clear. My previous laptop was with IDE WD drive - no such 
problem existed for it. Seems like only SATA drives hits this.

:
:

		Rus

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-05 12:49   ` Rus V. Brushkoff
@ 2008-03-06  9:47     ` Tejun Heo
  2008-03-06 12:31       ` Rus V. Brushkoff
  0 siblings, 1 reply; 17+ messages in thread
From: Tejun Heo @ 2008-03-06  9:47 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: Jeff Garzik, linux-ide

Hello,

Rus V. Brushkoff wrote:
> :> kernel, kernel send RESET to SATA drive and password need to be entered 
> :again > - so the kernel panics because it cant mount rootfs. How this 
> :problem can be solved ?

Which controller are you on?  Can you please post full successful boot
log and the result of "hdparm -I /dev/sda"?

As SATA PHY events can happen at any time and PHY events mean COMRESET
which is hardreset for the device and resets most configurations, it's a
bit difficult.  Basically, OS should record all relevant configurations
and reprogram the drive after such event.  OS can also do thing which
are BIOS dependent via ACPI _GTF but the problem is that _GTF can only
issue no-data command and SECURITY_UNLOCK isn't one of them.  Even if
that wasn't the problem, it's pretty dumb to pass clear text to OS via
ACPI method.

To solve the problem, ATA added Software Setting Preservation
featureset, which makes the drive remember configurations over
hardresets but it's an optional feature and not all drives implement it.
 I think having SSP support in the drive is the only sane way to support
password locking on SATA; otherwise, the drive can just go away while
the system is running.  That said, it would be nice to have a parameter
to force SRST or no reset at all for odd cases.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-06  9:47     ` Tejun Heo
@ 2008-03-06 12:31       ` Rus V. Brushkoff
  2008-03-07  3:54         ` Tejun Heo
  0 siblings, 1 reply; 17+ messages in thread
From: Rus V. Brushkoff @ 2008-03-06 12:31 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Jeff Garzik, linux-ide

[-- Attachment #1: Type: TEXT/PLAIN, Size: 4784 bytes --]

On Thu, 6 Mar 2008, Tejun Heo wrote:

	Hi,

:Rus V. Brushkoff wrote:
:> :> kernel, kernel send RESET to SATA drive and password need to be entered 
:> :again > - so the kernel panics because it cant mount rootfs. How this 
:> :problem can be solved ?
:
:Which controller are you on?  Can you please post full successful boot
:log and the result of "hdparm -I /dev/sda"?

 Controller is SATA controller [0106]: ATI Technologies Inc SB600 
Non-Raid-5 SATA (1002:4380). dmesg attached. hdparm -I /dev/sda :

.......
/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD2500BEVS-22UST0                   
	Serial Number:      WD-WXEX07G90288
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  488397168
	device size with M = 1024*1024:      238475 MBytes
	device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	   *	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
	88min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256031961
	NAA		: 5
	IEEE OUI	: 14ee
	Unique ID	: 256031961
Checksum: correct
...............

Seems like SSP supported for this unit. But issuing hdparm -k/-K gives :

......
[Hors]:root:~ # hdparm -k /dev/sda

/dev/sda:
 HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
[Hors]:root:~ # hdparm -K 1 /dev/sda

/dev/sda:
 setting drive keep features to 1 (on)
 HDIO_DRIVE_CMD(keepsettings) failed: Input/output error
.....

:As SATA PHY events can happen at any time and PHY events mean COMRESET
:which is hardreset for the device and resets most configurations, it's a
:bit difficult.  Basically, OS should record all relevant configurations
:and reprogram the drive after such event.  OS can also do thing which
:are BIOS dependent via ACPI _GTF but the problem is that _GTF can only
:issue no-data command and SECURITY_UNLOCK isn't one of them.  Even if
:that wasn't the problem, it's pretty dumb to pass clear text to OS via
:ACPI method.
:
:To solve the problem, ATA added Software Setting Preservation
:featureset, which makes the drive remember configurations over
:hardresets but it's an optional feature and not all drives implement it.
: I think having SSP support in the drive is the only sane way to support
:password locking on SATA; otherwise, the drive can just go away while
:the system is running.  That said, it would be nice to have a parameter
:to force SRST or no reset at all for odd cases.

 Hmm, if someone enable SSP in the drive after password unlock - does this 
mean that it will be unlocked forever ? Or drive can distinguish between 
power-on and hard-reset states ?

:

		Rus

[-- Attachment #2: Type: TEXT/PLAIN, Size: 27874 bytes --]

Linux version 2.6.24.3 (root@Hors) (gcc version 4.2.3) #38 SMP PREEMPT Wed Feb 27 12:19:21 EET 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ce000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000bde80000 (usable)
 BIOS-e820: 00000000bde80000 - 00000000bde91000 (ACPI data)
 BIOS-e820: 00000000bde91000 - 00000000bde93000 (ACPI NVS)
 BIOS-e820: 00000000bde93000 - 00000000ce000000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000132000000 (usable)
4000MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f7230
NX (Execute Disable) protection: active
Entering add_active_range(0, 0, 1253376) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->   229376
  HighMem    229376 ->  1253376
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->  1253376
On node 0 totalpages: 1253376
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 8000 pages used for memmap
  HighMem zone: 1016000 pages, LIFO batch:31
  Movable zone: 0 pages used for memmap
DMI present.
ACPI: RSDP 000F70E0, 0024 (r2 PTLTD )
ACPI: XSDT BDE86493, 005C (r1 ACRSYS ACRPRDCT  6040000 INNA        0)
ACPI: FACP BDE9096D, 00F4 (r3 ATI    Herring   6040000 ATI     F4240)
ACPI: DSDT BDE864EF, A47E (r1    ATI    SB600  6040000 MSFT  3000000)
ACPI: FACS BDE92FC0, 0040
ACPI: SLIC BDE90AD5, 0176 (r1 ACRSYS ACRPRDCT  6040000 ANNI        1)
ACPI: SSDT BDE90C4B, 028A (r1 PTLTD  POWERNOW  6040000  LTP        1)
ACPI: APIC BDE90ED5, 0054 (r1 PTLTD  	 APIC    6040000  LTP        0)
ACPI: MCFG BDE90F29, 003C (r1 PTLTD    MCFG    6040000  LTP        0)
ACPI: HPET BDE90F65, 0038 (r1 PTLTD  HPETTBL   6040000  LTP        1)
ACPI: ASF! BDE90F9D, 0063 (r32    DMA AMDTBL    6040000 PTL         1)
ACPI: DMI detected: Acer
ATI board detected. Disabling timer routing over 8254.
ACPI: PM-Timer IO Port: 0x8008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:8 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:8 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 33, address 0xfec00000, GSI 0-23
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
ACPI: HPET id: 0x43538301 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at d0000000 (gap: ce000000:12000000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000ce000
swsusp: Registered nosave memory region: 00000000000ce000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1243584
Kernel command line: BOOT_IMAGE=Linux ro root=802 resume=/dev/sda1 vt.default_utf8=0
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c05a4000 soft=c05a2000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2294.378 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 3889892k/5013504k available (2947k kernel code, 39620k reserved, 1431k data, 328k init, 3013120k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff9a000 - 0xfffff000   ( 404 kB)
    pkmap   : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xf8800000 - 0xffbfe000   ( 115 MB)
    lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
      .init : 0xc054c000 - 0xc059e000   ( 328 kB)
      .data : 0xc03e0f07 - 0xc0546b44   (1431 kB)
      .text : 0xc0100000 - 0xc03e0f07   (2947 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=2, Nodes=1
hpet clockevent registered
Calibrating delay using timer specific routine.. 4674.21 BogoMIPS (lpj=9348432)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000011f 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(2) -> Core 0
CPU: After all inits, caps: 178bfbff ebd3fbff 00000000 00000410 00002001 00000000 0000011f 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
CPU0: AMD Turion(tm) 64 X2 Mobile Technology TL-66 stepping 01
SMP alternatives: switching to SMP code
Booting processor 1/1 eip 3000
CPU 1 irqstacks, hard=c05a5000 soft=c05a3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4588.49 BogoMIPS (lpj=9176983)
CPU: After generic identify, caps: 178bfbff ebd3fbff 00000000 00000000 00002001 00000000 0000011f 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 1(2) -> Core 1
AMD C1E detected late. 	Force timer broadcast.
CPU: After all inits, caps: 178bfbff ebd3fbff 00000000 00000410 00002001 00000000 0000011f 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: AMD Turion(tm) 64 X2 Mobile Technology TL-66 stepping 01
Total of 2 processors activated (9262.70 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...  failed.
...trying to set up timer as Virtual Wire IRQ... works.
Brought up 2 CPUs
net_namespace: 64 bytes
Booting paravirtualized kernel on bare hardware
xor: automatically using best checksumming function: pIII_sse
   pIII_sse  :  6909.000 MB/sec
xor: using function: pIII_sse (6909.000 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG
PCI: No mmconfig possible on device 00:18
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: BIOS _OSI(Linux) query ignored via DMI
ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.kernel.org
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: EC: GPE = 0x3, I/O: command/status = 0x66, data = 0x62
ACPI: EC: driver started in poll mode
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Transparent bridge - 0000:00:14.4
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB4_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB5_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB6_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB7_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
ACPI: EC: non-query interrupt received, switching to interrupt mode
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
libata version 3.00 loaded.
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Cannot allocate resource region 7 of bridge 0000:00:04.0
PCI: Cannot allocate resource region 8 of bridge 0000:00:04.0
PCI: Cannot allocate resource region 7 of bridge 0000:00:06.0
PCI: Cannot allocate resource region 8 of bridge 0000:00:06.0
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
hpet0: 4 32-bit timers, 14318180 Hz
ACPI: RTC can wake from S4
Time: hpet clocksource has been installed.
Clockevents: could not switch to one-shot mode:<6>Clockevents: could not switch to one-shot mode: lapic is not functional.
Could not switch to high resolution mode on CPU 1
 lapic is not functional.
Could not switch to high resolution mode on CPU 0
system 00:01: iomem range 0xfec00000-0xfec00fff could not be reserved
system 00:01: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:06: ioport range 0x1080-0x1080 has been reserved
system 00:06: ioport range 0x220-0x22f has been reserved
system 00:06: ioport range 0x40b-0x40b has been reserved
system 00:06: ioport range 0x4d0-0x4d1 has been reserved
system 00:06: ioport range 0x4d6-0x4d6 has been reserved
system 00:06: ioport range 0x530-0x537 has been reserved
system 00:06: ioport range 0xc00-0xc01 has been reserved
system 00:06: ioport range 0xc14-0xc14 has been reserved
system 00:06: ioport range 0xc50-0xc52 has been reserved
system 00:06: ioport range 0xc6c-0xc6c has been reserved
system 00:06: ioport range 0xc6f-0xc6f has been reserved
system 00:06: ioport range 0xcd0-0xcd1 has been reserved
system 00:06: ioport range 0xcd2-0xcd3 has been reserved
system 00:06: ioport range 0xcd4-0xcd5 has been reserved
system 00:06: ioport range 0xcd6-0xcd7 has been reserved
system 00:06: ioport range 0xcd8-0xcdf has been reserved
system 00:06: ioport range 0x8000-0x805f has been reserved
system 00:06: ioport range 0xf40-0xf47 has been reserved
system 00:06: ioport range 0x87f-0x87f has been reserved
system 00:06: iomem range 0xff800000-0xffefffff has been reserved
system 00:07: iomem range 0xe0000-0xfffff could not be reserved
system 00:07: iomem range 0xfff00000-0xffffffff could not be reserved
system 00:07: iomem range 0x0-0x0 could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: 9000-9fff
  MEM window: f0000000-f01fffff
  PREFETCH window: d0000000-dfffffff
PCI: Bridge: 0000:00:04.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:05.0
  IO window: disabled.
  MEM window: f0200000-f02fffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:06.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:07.0
  IO window: disabled.
  MEM window: f0300000-f03fffff
  PREFETCH window: cfd00000-cfdfffff
PCI: Bridge: 0000:00:14.4
  IO window: disabled.
  MEM window: f0400000-f04fffff
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:05.0 to 64
PCI: Setting latency timer of device 0000:00:06.0 to 64
PCI: Setting latency timer of device 0000:00:07.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1204812898.424:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
async_tx: api initialized (sync-only)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
Boot video device is 0000:01:05.0
PCI: Setting latency timer of device 0000:00:04.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:04.0:pcie00]
Allocate Port Service[0000:00:04.0:pcie02]
Allocate Port Service[0000:00:04.0:pcie03]
PCI: Setting latency timer of device 0000:00:05.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:05.0:pcie00]
Allocate Port Service[0000:00:05.0:pcie03]
PCI: Setting latency timer of device 0000:00:06.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:06.0:pcie00]
Allocate Port Service[0000:00:06.0:pcie02]
Allocate Port Service[0000:00:06.0:pcie03]
PCI: Setting latency timer of device 0000:00:07.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:07.0:pcie00]
Allocate Port Service[0000:00:07.0:pcie03]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
hpet_resources: 0xfed00000 is busy
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SB600_PATA: IDE controller (0x1002:0x438c rev 0x00) at  PCI slot 0000:00:14.1
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
SB600_PATA: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8420-0x8427, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: MATSHITADVD-RAM UJ-857G, ATAPI CD/DVD-ROM drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/66 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Loading iSCSI transport class v2.0-724.
iscsi: registered transport (tcp)
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
SCSI Media Changer driver v0.25 
Driver 'ch' needs updating - please use bus_type methods
ahci 0000:00:12.0: version 3.0
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 22 (level, low) -> IRQ 17
ahci 0000:00:12.0: controller can't do 64bit DMA, forcing 32bit
ahci 0000:00:12.0: controller can't do PMP, turning off CAP_PMP
ahci 0000:00:12.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode
ahci 0000:00:12.0: flags: ncq sntf ilck pm led clo pio slum part 
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709100 irq 17
ata2: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709180 irq 17
ata3: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709200 irq 17
ata4: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709280 irq 17
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-8: WDC WD2500BEVS-22UST0, 01.01A01, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500BEVS-2 01.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
PNP: PS/2 Controller [PNP0303:KBD0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
raid6: int32x1    864 MB/s
raid6: int32x2    916 MB/s
raid6: int32x4    870 MB/s
raid6: int32x8    632 MB/s
raid6: mmxx1     1820 MB/s
raid6: mmxx2     3333 MB/s
raid6: sse1x1    1841 MB/s
raid6: sse1x2    3103 MB/s
raid6: sse2x1    3082 MB/s
raid6: sse2x2    4188 MB/s
raid6: using algorithm sse2x2 (4188 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.0.5 loaded
device-mapper: multipath round-robin: version 1.0.0 loaded
device-mapper: multipath emc: version 0.0.3 loaded
device-mapper: multipath hp-sw: version 1.0.0 loaded
device-mapper: multipath rdac: rdac: version 0.4 loaded
cpuidle: using governor ladder
cpuidle: using governor menu
NET: Registered protocol family 1
Starting balanced_irq
Using IPI No-Shortcut mode
registered taskstats version 1
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 328k freed
Write protecting the kernel read-only data: 1180k
input: PC Speaker as /devices/platform/pcspkr/input/input1
tg3.c:v3.86 (November 9, 2007)
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 17 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:05:00.0 to 64
eth0: Tigon3 [partno(BCM95787m) rev b002 PHY(5787)] (PCI Express) 10/100/1000Base-T Ethernet 00:1d:72:0a:01:c9
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
input: Power Button (FF) as /devices/virtual/input/input2
usbcore: registered new device driver usb
hda: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/virtual/input/input3
piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
Linux agpgart interface v0.102
ACPI: Power Button (CM) [PWRB]
input: Lid Switch as /devices/virtual/input/input4
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ACPI: Lid Switch [LID0]
input: Sleep Button (CM) as /devices/virtual/input/input5
thermal: Unknown symbol acpi_processor_set_thermal_limit
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 16 (level, low) -> IRQ 16
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:13.0: irq 16, io mem 0xf0504000
ACPI: Sleep Button (CM) [SLPB]
ACPI: WMI-Acer: Mapper loaded
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input6
NET: Registered protocol family 23
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
ACPI: PCI Interrupt 0000:00:13.1[B] -> GSI 17 (level, low) -> IRQ 18
ohci_hcd 0000:00:13.1: OHCI Host Controller
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:13.1: irq 18, io mem 0xf0505000
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[fglrx] Maximum main memory to use for locked dma buffers: 3640 MBytes.
[fglrx] ASYNCIO init succeed!
[fglrx] PAT is enabled successfully!
[fglrx] module loaded - fglrx 8.45.5 [Feb  1 2008] on minor 0
ACPI: Thermal Zone [TZS0] (46 C)
ACPI: Thermal Zone [TZS1] (53 C)
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
power_supply BAT0: uevent
power_supply BAT0: No power supply yet
power_supply BAT0: power_supply_changed
power_supply BAT0: power_supply_changed_work
rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month
ACPI: Battery Slot [BAT0] (battery present)
acer_acpi: Acer Laptop ACPI Extras version 0.11.1
acer_acpi: Detected Acer AMW0 version 2 interface
power_supply BAT0: power_supply_update_bat_leds 1
power_supply BAT0: uevent
power_supply BAT0: POWER_SUPPLY_NAME=BAT0
power_supply BAT0: Static prop TYPE=Battery
power_supply BAT0: 11 dynamic props
power_supply BAT0: prop STATUS=Charging
power_supply BAT0: prop PRESENT=1
power_supply BAT0: prop TECHNOLOGY=Li-ion
power_supply BAT0: prop VOLTAGE_MIN_DESIGN=10800000
power_supply BAT0: prop VOLTAGE_NOW=12544000
power_supply BAT0: prop CURRENT_NOW=907000
power_supply BAT0: prop CHARGE_FULL_DESIGN=5800000
power_supply BAT0: prop CHARGE_FULL=5350000
power_supply BAT0: prop CHARGE_NOW=5088000
power_supply BAT0: prop MODEL_NAME=GARDA53
power_supply BAT0: prop MANUFACTURER=Panasonic
power_supply ADP1: uevent
power_supply ADP1: No power supply yet
power_supply ADP1: power_supply_changed
ACPI: AC Adapter [ADP1] (on-line)
power_supply ADP1: power_supply_changed_work
power_supply ADP1: power_supply_update_gen_leds 1
power_supply ADP1: uevent
power_supply ADP1: POWER_SUPPLY_NAME=ADP1
power_supply ADP1: Static prop TYPE=Mains
power_supply ADP1: 1 dynamic props
power_supply ADP1: prop ONLINE=1
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:1f/LNXVIDEO:01/input/input7
ACPI: PCI Interrupt 0000:00:13.2[C] -> GSI 18 (level, low) -> IRQ 19
ohci_hcd 0000:00:13.2: OHCI Host Controller
ohci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:13.2: irq 19, io mem 0xf0506000
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
sysfs: duplicate filename 'pcspkr' can not be created
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
Pid: 1250, comm: modprobe Tainted: P        2.6.24.3 #38
 [<c01dbecf>] sysfs_add_one+0x9f/0xe0
 [<c01dc438>] create_dir+0x48/0x90
 [<c01dc4a9>] sysfs_create_dir+0x29/0x50
 [<c022a19f>] kobject_get+0xf/0x20
 [<c022a671>] kobject_add+0x91/0x1b0
 [<c022a821>] kobject_register+0x21/0x50
 [<c0287b31>] bus_add_driver+0x71/0x1e0
 [<c0154a46>] sys_init_module+0x126/0x1b20
 [<c01434f0>] param_get_int+0x0/0x20
 [<c010854a>] syscall_call+0x7/0xb
 =======================
kobject_add failed for pcspkr with -EEXIST, don't try to register things with the same name in the same directory.
Pid: 1250, comm: modprobe Tainted: P        2.6.24.3 #38
 [<c022a6f1>] kobject_add+0x111/0x1b0
 [<c022a821>] kobject_register+0x21/0x50
 [<c0287b31>] bus_add_driver+0x71/0x1e0
 [<c0154a46>] sys_init_module+0x126/0x1b20
 [<c01434f0>] param_get_int+0x0/0x20
 [<c010854a>] syscall_call+0x7/0xb
 =======================
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 8250
ACPI: PCI Interrupt 0000:00:13.3[B] -> GSI 17 (level, low) -> IRQ 18
ohci_hcd 0000:00:13.3: OHCI Host Controller
ohci_hcd 0000:00:13.3: new USB bus registered, assigned bus number 4
ohci_hcd 0000:00:13.3: irq 18, io mem 0xf0507000
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using ohci_hcd and address 2
ACPI: PCI Interrupt 0000:00:13.4[C] -> GSI 18 (level, low) -> IRQ 19
ohci_hcd 0000:00:13.4: OHCI Host Controller
ohci_hcd 0000:00:13.4: new USB bus registered, assigned bus number 5
ohci_hcd 0000:00:13.4: irq 19, io mem 0xf0508000
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
input: PS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input8
parport_pc 00:0c: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 16
usb 2-1: configuration #1 chosen from 1 choice
XXX setting pin 0x12 to 0x20
XXX setting pin 0x18 to 0x24
XXX mute pin 0x18
XXX setting pin 0x1a to 0x24
XXX mute pin 0x1a
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
nsc_ircc_open(), can't get iobase of 0x2f8
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
nsc_ircc_open(), can't get iobase of 0x2f8
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
nsc-ircc 00:0b: disabled
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ACPI: PCI Interrupt 0000:00:13.5[D] -> GSI 19 (level, low) -> IRQ 20
ehci_hcd 0000:00:13.5: EHCI Host Controller
ehci_hcd 0000:00:13.5: new USB bus registered, assigned bus number 6
ehci_hcd 0000:00:13.5: debug port 1
ehci_hcd 0000:00:13.5: irq 20, io mem 0xf0709400
ehci_hcd 0000:00:13.5: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 10 ports detected
ACPI: PCI Interrupt 0000:0e:06.0[A] -> GSI 20 (level, low) -> IRQ 21
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[21]  MMIO=[f0404000-f04047ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
mice: PS/2 mouse device common for all mice
usb 2-1: USB disconnect, address 2
usb 6-6: new high speed USB device using ehci_hcd and address 3
usb 6-6: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
usbcore: registered new interface driver hiddev
uvcvideo: Found UVC 1.00 device Acer CrystalEye webcam (064e:a101)
usbcore: registered new interface driver uvcvideo
USB Video Class driver (SVN r189)
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[001d72ffff0a01c9]
usb 2-1: new low speed USB device using ohci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:13.1/usb2/2-1/2-1:1.0/input/input9
input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:13.1-1
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:13.1/usb2/2-1/2-1:1.1/input/input10
input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:13.1-1
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
usb 4-2: new full speed USB device using ohci_hcd and address 2
usb 4-2: configuration #1 chosen from 1 choice
Adding 3212960k swap on /dev/sda1.  Priority:-1 extents:1 across:3212960k
EXT3 FS on sda2, internal journal
lp0: using parport0 (interrupt-driven).
lp0: console ready

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-06 12:31       ` Rus V. Brushkoff
@ 2008-03-07  3:54         ` Tejun Heo
  2008-03-07  9:17           ` Rus V. Brushkoff
  2008-03-07 14:45           ` SATA HDD password problem Mark Lord
  0 siblings, 2 replies; 17+ messages in thread
From: Tejun Heo @ 2008-03-07  3:54 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: Jeff Garzik, linux-ide, Mark Lord

Hello, Rus.

Rus V. Brushkoff wrote:
>  Controller is SATA controller [0106]: ATI Technologies Inc SB600 
> Non-Raid-5 SATA (1002:4380). dmesg attached. hdparm -I /dev/sda :

Ah.. okay.  ahci uses SRST for probing the AHCI controller
initialization sequence involves controller-wide reset which results in
PHY reset.

> ATA device, with non-removable media
> 	Model Number:       WDC WD2500BEVS-22UST0                   
> 	Serial Number:      WD-WXEX07G90288
> 	Firmware Revision:  01.01A01
<---snip--->
> 	   *	Software settings preservation
>
> Seems like SSP supported for this unit. But issuing hdparm -k/-K gives :

Yeap, SSP is supported and enabled.  If supported, SSP is turned on by
default unless explicitly disabled and is supposed to preserve security
mode state.

> [Hors]:root:~ # hdparm -k /dev/sda
> 
> /dev/sda:
>  HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
> [Hors]:root:~ # hdparm -K 1 /dev/sda
> 
> /dev/sda:
>  setting drive keep features to 1 (on)
>  HDIO_DRIVE_CMD(keepsettings) failed: Input/output error
> .....

Those two are different ones.  These are to keep software setting over
soft resets and doesn't have much to do with SSP.  Mark, maybe we need
to add a feature to hdparm to configure SSP?

> :As SATA PHY events can happen at any time and PHY events mean COMRESET
> :which is hardreset for the device and resets most configurations, it's a
> :bit difficult.  Basically, OS should record all relevant configurations
> :and reprogram the drive after such event.  OS can also do thing which
> :are BIOS dependent via ACPI _GTF but the problem is that _GTF can only
> :issue no-data command and SECURITY_UNLOCK isn't one of them.  Even if
> :that wasn't the problem, it's pretty dumb to pass clear text to OS via
> :ACPI method.
> :
> :To solve the problem, ATA added Software Setting Preservation
> :featureset, which makes the drive remember configurations over
> :hardresets but it's an optional feature and not all drives implement it.
> : I think having SSP support in the drive is the only sane way to support
> :password locking on SATA; otherwise, the drive can just go away while
> :the system is running.  That said, it would be nice to have a parameter
> :to force SRST or no reset at all for odd cases.
> 
>  Hmm, if someone enable SSP in the drive after password unlock - does this 
> mean that it will be unlocked forever ? Or drive can distinguish between 
> power-on and hard-reset states ?

SSP by default stays on, so once unlocked it will stay unlocked as long
as power stays applied.  On power loss, it gets locked again.  On
reboots, the BIOS can always lock it again if it wants to.

This is weird.  The drive should have stayed unlocked over
initialization sequence as SSP is in effect.  Either the BIOS is turning
off SSP during POST or the drive isn't preserving security mode state
although SSP is in effect.  Testing who's to blame can be a bit
cumbersome and involves removing power from the drive while the rest of
the system is running.  Can you do that?

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-07  3:54         ` Tejun Heo
@ 2008-03-07  9:17           ` Rus V. Brushkoff
  2008-03-08  1:17             ` Tejun Heo
  2008-03-07 14:45           ` SATA HDD password problem Mark Lord
  1 sibling, 1 reply; 17+ messages in thread
From: Rus V. Brushkoff @ 2008-03-07  9:17 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Jeff Garzik, linux-ide, Mark Lord

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1364 bytes --]

On Fri, 7 Mar 2008, Tejun Heo wrote:

:>  Hmm, if someone enable SSP in the drive after password unlock - does this 
:> mean that it will be unlocked forever ? Or drive can distinguish between 
:> power-on and hard-reset states ?
:
:SSP by default stays on, so once unlocked it will stay unlocked as long
:as power stays applied.  On power loss, it gets locked again.  On
:reboots, the BIOS can always lock it again if it wants to.

 I made no reboots - after bios drive unlock, laptop got lilo - then lilo 
boots kernel - and boom - drive became locked after sata probe, so kernel 
can't mount root.

:
:This is weird.  The drive should have stayed unlocked over
:initialization sequence as SSP is in effect.  Either the BIOS is turning
:off SSP during POST or the drive isn't preserving security mode state
:although SSP is in effect.  Testing who's to blame can be a bit
:cumbersome and involves removing power from the drive while the rest of
:the system is running.  Can you do that?

 Sure - I can simply hot-unplug/hot-plug hdd from laptop. For now I've 
attached good dmesg (normal boot without hdd password set), and bad one - 
with a kernel panic. Please clarify what exact power-on/power-off hdd log 
do you need - with hdd password set (do not know if the kernel panic state 
can be interrupted by sata events) or without hdd password set ?

:
:

		Rus

[-- Attachment #2: Type: TEXT/PLAIN, Size: 64159 bytes --]

Linux version 2.6.24.3 (root@Hors) (gcc version 4.2.3) #39 SMP PREEMPT Fri Mar 7 10:54:52 EET 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ce000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000bde80000 (usable)
 BIOS-e820: 00000000bde80000 - 00000000bde91000 (ACPI data)
 BIOS-e820: 00000000bde91000 - 00000000bde93000 (ACPI NVS)
 BIOS-e820: 00000000bde93000 - 00000000ce000000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000132000000 (usable)
4000MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f7230
NX (Execute Disable) protection: active
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->   229376
  HighMem    229376 ->  1253376
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->  1253376
DMI present.
ACPI: RSDP 000F70E0, 0024 (r2 PTLTD )
ACPI: XSDT BDE86493, 005C (r1 ACRSYS ACRPRDCT  6040000 INNA        0)
ACPI: FACP BDE9096D, 00F4 (r3 ATI    Herring   6040000 ATI     F4240)
ACPI: DSDT BDE864EF, A47E (r1    ATI    SB600  6040000 MSFT  3000000)
ACPI: FACS BDE92FC0, 0040
ACPI: SLIC BDE90AD5, 0176 (r1 ACRSYS ACRPRDCT  6040000 ANNI        1)
ACPI: SSDT BDE90C4B, 028A (r1 PTLTD  POWERNOW  6040000  LTP        1)
ACPI: APIC BDE90ED5, 0054 (r1 PTLTD  	 APIC    6040000  LTP        0)
ACPI: MCFG BDE90F29, 003C (r1 PTLTD    MCFG    6040000  LTP        0)
ACPI: HPET BDE90F65, 0038 (r1 PTLTD  HPETTBL   6040000  LTP        1)
ACPI: ASF! BDE90F9D, 0063 (r32    DMA AMDTBL    6040000 PTL         1)
ACPI: DMI detected: Acer
ATI board detected. Disabling timer routing over 8254.
ACPI: PM-Timer IO Port: 0x8008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:8 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:8 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 33, address 0xfec00000, GSI 0-23
Enabling APIC mode:  Flat.  Using 1 I/O APICs
ACPI: HPET id: 0x43538301 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at d0000000 (gap: ce000000:12000000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000ce000
swsusp: Registered nosave memory region: 00000000000ce000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1243584
Kernel command line: BOOT_IMAGE=Linux ro root=802 resume=/dev/sda1 vt.default_utf8=0 netconsole=4444@10.0.0.7/eth0,9353@10.0.0.100/00:1E:8C:2D:BD:1D
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c05c5000 soft=c05c3000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2294.284 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 3889760k/5013504k available (3041k kernel code, 39752k reserved, 1465k data, 332k init, 3013120k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff9a000 - 0xfffff000   ( 404 kB)
    pkmap   : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xf8800000 - 0xffbfe000   ( 115 MB)
    lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
      .init : 0xc056c000 - 0xc05bf000   ( 332 kB)
      .data : 0xc03f8647 - 0xc0566b44   (1465 kB)
      .text : 0xc0100000 - 0xc03f8647   (3041 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=2, Nodes=1
Calibrating delay using timer specific routine.. 4673.67 BogoMIPS (lpj=9347351)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(2) -> Core 0
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
CPU0: AMD Turion(tm) 64 X2 Mobile Technology TL-66 stepping 01
SMP alternatives: switching to SMP code
Booting processor 1/1 eip 3000
CPU 1 irqstacks, hard=c05c6000 soft=c05c4000
Initializing CPU#1
Calibrating delay using timer specific routine.. 4588.55 BogoMIPS (lpj=9177101)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 1(2) -> Core 1
AMD C1E detected late. 	Force timer broadcast.
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: AMD Turion(tm) 64 X2 Mobile Technology TL-66 stepping 01
Total of 2 processors activated (9262.22 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...  failed.
...trying to set up timer as Virtual Wire IRQ... works.
Brought up 2 CPUs
net_namespace: 64 bytes
Booting paravirtualized kernel on bare hardware
xor: automatically using best checksumming function: pIII_sse
   pIII_sse  :  6909.000 MB/sec
xor: using function: pIII_sse (6909.000 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG
PCI: No mmconfig possible on device 00:18
Setting up standard PCI resources
ACPI: BIOS _OSI(Linux) query ignored via DMI
ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.kernel.org
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: EC: GPE = 0x3, I/O: command/status = 0x66, data = 0x62
ACPI: EC: driver started in poll mode
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Transparent bridge - 0000:00:14.4
ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
ACPI: EC: non-query interrupt received, switching to interrupt mode
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Cannot allocate resource region 7 of bridge 0000:00:04.0
PCI: Cannot allocate resource region 8 of bridge 0000:00:04.0
PCI: Cannot allocate resource region 7 of bridge 0000:00:06.0
PCI: Cannot allocate resource region 8 of bridge 0000:00:06.0
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
hpet0: 4 32-bit timers, 14318180 Hz
ACPI: RTC can wake from S4
Time: hpet clocksource has been installed.
Clockevents: could not switch to one-shot mode:<6>Clockevents: could not switch to one-shot mode: lapic is not functional.
Could not switch to high resolution mode on CPU 1
 lapic is not functional.
Could not switch to high resolution mode on CPU 0
system 00:01: iomem range 0xfec00000-0xfec00fff could not be reserved
system 00:01: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:06: ioport range 0x1080-0x1080 has been reserved
system 00:06: ioport range 0x220-0x22f has been reserved
system 00:06: ioport range 0x40b-0x40b has been reserved
system 00:06: ioport range 0x4d0-0x4d1 has been reserved
system 00:06: ioport range 0x4d6-0x4d6 has been reserved
system 00:06: ioport range 0x530-0x537 has been reserved
system 00:06: ioport range 0xc00-0xc01 has been reserved
system 00:06: ioport range 0xc14-0xc14 has been reserved
system 00:06: ioport range 0xc50-0xc52 has been reserved
system 00:06: ioport range 0xc6c-0xc6c has been reserved
system 00:06: ioport range 0xc6f-0xc6f has been reserved
system 00:06: ioport range 0xcd0-0xcd1 has been reserved
system 00:06: ioport range 0xcd2-0xcd3 has been reserved
system 00:06: ioport range 0xcd4-0xcd5 has been reserved
system 00:06: ioport range 0xcd6-0xcd7 has been reserved
system 00:06: ioport range 0xcd8-0xcdf has been reserved
system 00:06: ioport range 0x8000-0x805f has been reserved
system 00:06: ioport range 0xf40-0xf47 has been reserved
system 00:06: ioport range 0x87f-0x87f has been reserved
system 00:06: iomem range 0xff800000-0xffefffff has been reserved
system 00:07: iomem range 0xe0000-0xfffff could not be reserved
system 00:07: iomem range 0xfff00000-0xffffffff could not be reserved
system 00:07: iomem range 0x0-0x0 could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: 9000-9fff
  MEM window: f0000000-f01fffff
  PREFETCH window: d0000000-dfffffff
PCI: Bridge: 0000:00:04.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:05.0
  IO window: disabled.
  MEM window: f0200000-f02fffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:06.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:07.0
  IO window: disabled.
  MEM window: f0300000-f03fffff
  PREFETCH window: cfd00000-cfdfffff
PCI: Bridge: 0000:00:14.4
  IO window: disabled.
  MEM window: f0400000-f04fffff
  PREFETCH window: disabled.
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1204888111.432:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
async_tx: api initialized (sync-only)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
assign_interrupt_mode Found MSI capability
assign_interrupt_mode Found MSI capability
assign_interrupt_mode Found MSI capability
assign_interrupt_mode Found MSI capability
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
tg3.c:v3.86 (November 9, 2007)
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 17 (level, low) -> IRQ 16
eth0: Tigon3 [partno(BCM95787m) rev b002 PHY(5787)] (PCI Express) 10/100/1000Base-T Ethernet 00:1d:72:0a:01:c9
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
netconsole: local port 4444
netconsole: local IP 10.0.0.7
netconsole: interface eth0
netconsole: remote port 9353
netconsole: remote IP 10.0.0.100
netconsole: remote ethernet address 00:1e:8c:2d:bd:1d
netconsole: device eth0 not up yet, forcing it
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.
console [netcon0] enabled
netconsole: network logging started
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SB600_PATA: IDE controller (0x1002:0x438c rev 0x00) at  PCI slot 0000:00:14.1
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 17
SB600_PATA: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8420-0x8427, BIOS settings: hda:DMA, hdb:pio
hda: MATSHITADVD-RAM UJ-857G, ATAPI CD/DVD-ROM drive
hda: UDMA/66 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Loading iSCSI transport class v2.0-724.
iscsi: registered transport (tcp)
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
SCSI Media Changer driver v0.25 
Driver 'ch' needs updating - please use bus_type methods
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 22 (level, low) -> IRQ 18
ahci 0000:00:12.0: controller can't do 64bit DMA, forcing 32bit
ahci 0000:00:12.0: controller can't do PMP, turning off CAP_PMP
ahci 0000:00:12.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode
ahci 0000:00:12.0: flags: ncq sntf ilck pm led clo pio slum part 
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709100 irq 18
ata2: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709180 irq 18
ata3: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709200 irq 18
ata4: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709280 irq 18
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-8: WDC WD2500BEVS-22UST0, 01.01A01, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500BEVS-2 01.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda:<3>ata1: failed to read log page 10h (errno=-5)
ata1.00: exception Emask 0x1 SAct 0x1 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
         res 51/04:00:00:00:00/00:00:00:00:00/40 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1: failed to read log page 10h (errno=-5)
ata1.00: exception Emask 0x1 SAct 0x1 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
         res 51/04:00:00:00:00/00:00:00:00:00/40 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1: failed to read log page 10h (errno=-5)
ata1.00: exception Emask 0x1 SAct 0x1 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
         res 51/04:00:00:00:00/00:00:00:00:00/40 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1: failed to read log page 10h (errno=-5)
ata1.00: NCQ disabled due to excessive errors
ata1.00: exception Emask 0x1 SAct 0x1 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in
         res 51/04:00:00:00:00/00:00:00:00:00/40 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1: limiting SATA link speed to 1.5 Gbps
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x4
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/133
ata1: EH complete
ata1.00: limiting speed to UDMA/100:PIO4
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/100
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: limiting speed to UDMA/33:PIO4
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ldm_validate_partition_table(): Disk read failed.
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
ata1: EH complete
Dev sda: unable to read RDB block 0
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 18 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 24
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:18:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:18:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 18 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 24
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:00:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 
        00 00 00 00 
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
ata1: EH complete
 unable to read partition table
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
PNP: PS/2 Controller [PNP0303:KBD0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
raid6: int32x1    865 MB/s
raid6: int32x2    915 MB/s
raid6: int32x4    869 MB/s
raid6: int32x8    631 MB/s
raid6: mmxx1     1854 MB/s
raid6: mmxx2     3319 MB/s
raid6: sse1x1    1854 MB/s
raid6: sse1x2    3132 MB/s
raid6: sse2x1    3107 MB/s
raid6: sse2x2    4229 MB/s
raid6: using algorithm sse2x2 (4229 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.0.5 loaded
device-mapper: multipath round-robin: version 1.0.0 loaded
device-mapper: multipath emc: version 0.0.3 loaded
device-mapper: multipath hp-sw: version 1.0.0 loaded
device-mapper: multipath rdac: rdac: version 0.4 loaded
cpuidle: using governor ladder
cpuidle: using governor menu
NET: Registered protocol family 1
Starting balanced_irq
Using IPI No-Shortcut mode
registered taskstats version 1
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "802" or unknown-block(8,2)
Please append a correct "root=" boot option; here are the available partitions:
0800  244198584 sda driver: sd
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)

[-- Attachment #3: Type: TEXT/PLAIN, Size: 17135 bytes --]

Linux version 2.6.24.3 (root@Hors) (gcc version 4.2.3) #39 SMP PREEMPT Fri Mar 7 10:54:52 EET 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ce000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000bde80000 (usable)
 BIOS-e820: 00000000bde80000 - 00000000bde91000 (ACPI data)
 BIOS-e820: 00000000bde91000 - 00000000bde93000 (ACPI NVS)
 BIOS-e820: 00000000bde93000 - 00000000ce000000 (reserved)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000132000000 (usable)
4000MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f7230
NX (Execute Disable) protection: active
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->   229376
  HighMem    229376 ->  1253376
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->  1253376
DMI present.
ACPI: RSDP 000F70E0, 0024 (r2 PTLTD )
ACPI: XSDT BDE86493, 005C (r1 ACRSYS ACRPRDCT  6040000 INNA        0)
ACPI: FACP BDE9096D, 00F4 (r3 ATI    Herring   6040000 ATI     F4240)
ACPI: DSDT BDE864EF, A47E (r1    ATI    SB600  6040000 MSFT  3000000)
ACPI: FACS BDE92FC0, 0040
ACPI: SLIC BDE90AD5, 0176 (r1 ACRSYS ACRPRDCT  6040000 ANNI        1)
ACPI: SSDT BDE90C4B, 028A (r1 PTLTD  POWERNOW  6040000  LTP        1)
ACPI: APIC BDE90ED5, 0054 (r1 PTLTD  	 APIC    6040000  LTP        0)
ACPI: MCFG BDE90F29, 003C (r1 PTLTD    MCFG    6040000  LTP        0)
ACPI: HPET BDE90F65, 0038 (r1 PTLTD  HPETTBL   6040000  LTP        1)
ACPI: ASF! BDE90F9D, 0063 (r32    DMA AMDTBL    6040000 PTL         1)
ACPI: DMI detected: Acer
ATI board detected. Disabling timer routing over 8254.
ACPI: PM-Timer IO Port: 0x8008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:8 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:8 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 33, address 0xfec00000, GSI 0-23
Enabling APIC mode:  Flat.  Using 1 I/O APICs
ACPI: HPET id: 0x43538301 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at d0000000 (gap: ce000000:12000000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000ce000
swsusp: Registered nosave memory region: 00000000000ce000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1243584
Kernel command line: BOOT_IMAGE=Linux ro root=802 resume=/dev/sda1 vt.default_utf8=0 netconsole=4444@10.0.0.7/eth0,9353@10.0.0.100/00:1E:8C:2D:BD:1D
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c05c5000 soft=c05c3000
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:07.0
  IO window: disabled.
  MEM window: f0300000-f03fffff
  PREFETCH window: cfd00000-cfdfffff
PCI: Bridge: 0000:00:14.4
  IO window: disabled.
  MEM window: f0400000-f04fffff
  PREFETCH window: disabled.
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1204887973.424:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
async_tx: api initialized (sync-only)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
assign_interrupt_mode Found MSI capability
assign_interrupt_mode Found MSI capability
assign_interrupt_mode Found MSI capability
assign_interrupt_mode Found MSI capability
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
tg3.c:v3.86 (November 9, 2007)
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 17 (level, low) -> IRQ 16
eth0: Tigon3 [partno(BCM95787m) rev b002 PHY(5787)] (PCI Express) 10/100/1000Base-T Ethernet 00:1d:72:0a:01:c9
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
netconsole: local port 4444
netconsole: local IP 10.0.0.7
netconsole: interface eth0
netconsole: remote port 9353
netconsole: remote IP 10.0.0.100
netconsole: remote ethernet address 00:1e:8c:2d:bd:1d
netconsole: device eth0 not up yet, forcing it
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.
console [netcon0] enabled
netconsole: network logging started
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SB600_PATA: IDE controller (0x1002:0x438c rev 0x00) at  PCI slot 0000:00:14.1
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 17
SB600_PATA: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8420-0x8427, BIOS settings: hda:DMA, hdb:pio
hda: MATSHITADVD-RAM UJ-857G, ATAPI CD/DVD-ROM drive
hda: UDMA/66 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Loading iSCSI transport class v2.0-724.
iscsi: registered transport (tcp)
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
SCSI Media Changer driver v0.25 
Driver 'ch' needs updating - please use bus_type methods
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 22 (level, low) -> IRQ 18
ahci 0000:00:12.0: controller can't do 64bit DMA, forcing 32bit
ahci 0000:00:12.0: controller can't do PMP, turning off CAP_PMP
ahci 0000:00:12.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode
ahci 0000:00:12.0: flags: ncq sntf ilck pm led clo pio slum part 
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709100 irq 18
ata2: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709180 irq 18
ata3: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709200 irq 18
ata4: SATA max UDMA/133 abar m1024@0xf0709000 port 0xf0709280 irq 18
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-8: WDC WD2500BEVS-22UST0, 01.01A01, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500BEVS-2 01.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
PNP: PS/2 Controller [PNP0303:KBD0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
raid6: int32x1    864 MB/s
raid6: int32x2    917 MB/s
raid6: int32x4    871 MB/s
raid6: int32x8    631 MB/s
raid6: mmxx1     1829 MB/s
raid6: mmxx2     3364 MB/s
raid6: sse1x1    1851 MB/s
raid6: sse1x2    3128 MB/s
raid6: sse2x1    3099 MB/s
raid6: sse2x2    4210 MB/s
raid6: using algorithm sse2x2 (4210 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.0.5 loaded
device-mapper: multipath round-robin: version 1.0.0 loaded
device-mapper: multipath emc: version 0.0.3 loaded
device-mapper: multipath hp-sw: version 1.0.0 loaded
device-mapper: multipath rdac: rdac: version 0.4 loaded
cpuidle: using governor ladder
cpuidle: using governor menu
NET: Registered protocol family 1
Starting balanced_irq
Using IPI No-Shortcut mode
registered taskstats version 1
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 332k freed
Write protecting the kernel read-only data: 1211k
input: PC Speaker as /devices/platform/pcspkr/input/input1
rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month
parport_pc 00:0c: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Linux agpgart interface v0.102
hda: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ACPI: WMI-Acer: Mapper loaded
input: Power Button (FF) as /devices/virtual/input/input2
piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/virtual/input/input3
ACPI: Power Button (CM) [PWRB]
input: Lid Switch as /devices/virtual/input/input4
ACPI: PCI Interrupt 0000:0e:06.0[A] -> GSI 20 (level, low) -> IRQ 19
thermal: Unknown symbol acpi_processor_set_thermal_limit
ACPI: Lid Switch [LID0]
input: Sleep Button (CM) as /devices/virtual/input/input5
acer_acpi: Acer Laptop ACPI Extras version 0.11.1
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[19]  MMIO=[f0404000-f04047ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ACPI: Sleep Button (CM) [SLPB]
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input6
[fglrx] Maximum main memory to use for locked dma buffers: 3640 MBytes.
[fglrx] ASYNCIO init succeed!
[fglrx] PAT is enabled successfully!
[fglrx] module loaded - fglrx 8.45.5 [Feb  1 2008] on minor 0
NET: Registered protocol family 23
ACPI: PCI Interrupt 0000:00:13.5[D] -> GSI 19 (level, low) -> IRQ 20
ehci_hcd 0000:00:13.5: EHCI Host Controller
ehci_hcd 0000:00:13.5: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:13.5: debug port 1
ehci_hcd 0000:00:13.5: irq 20, io mem 0xf0709400
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
ehci_hcd 0000:00:13.5: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
ACPI: Battery Slot [BAT0] (battery present)
ACPI: AC Adapter [ADP1] (on-line)
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:1f/LNXVIDEO:01/input/input7
ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 16 (level, low) -> IRQ 17
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:13.0: irq 17, io mem 0xf0504000
ACPI: Thermal Zone [TZS0] (60 C)
ACPI: Thermal Zone [TZS1] (69 C)
sysfs: duplicate filename 'pcspkr' can not be created
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
Pid: 1275, comm: modprobe Tainted: P        2.6.24.3 #39
 [<c01dbecf>] sysfs_add_one+0x9f/0xe0
 [<c01dc438>] create_dir+0x48/0x90
 [<c01dc4a9>] sysfs_create_dir+0x29/0x50
 [<c022ce5f>] kobject_get+0xf/0x20
 [<c022d331>] kobject_add+0x91/0x1b0
 [<c022d4e1>] kobject_register+0x21/0x50
 [<c028a7f1>] bus_add_driver+0x71/0x1e0
 [<c0154a46>] sys_init_module+0x126/0x1b20
 [<c01434f0>] param_get_int+0x0/0x20
 [<c010854a>] syscall_call+0x7/0xb
 =======================
kobject_add failed for pcspkr with -EEXIST, don't try to register things with the same name in the same directory.
Pid: 1275, comm: modprobe Tainted: P        2.6.24.3 #39
 [<c022d3b1>] kobject_add+0x111/0x1b0
 [<c022d4e1>] kobject_register+0x21/0x50
 [<c028a7f1>] bus_add_driver+0x71/0x1e0
 [<c0154a46>] sys_init_module+0x126/0x1b20
 [<c01434f0>] param_get_int+0x0/0x20
 [<c010854a>] syscall_call+0x7/0xb
 =======================
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 8250
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:13.1[B] -> GSI 17 (level, low) -> IRQ 16
ohci_hcd 0000:00:13.1: OHCI Host Controller
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:13.1: irq 16, io mem 0xf0505000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:13.2[C] -> GSI 18 (level, low) -> IRQ 21
ohci_hcd 0000:00:13.2: OHCI Host Controller
ohci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 4
ohci_hcd 0000:00:13.2: irq 21, io mem 0xf0506000
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 1-6: new high speed USB device using ehci_hcd and address 3
ACPI: PCI Interrupt 0000:00:13.3[B] -> GSI 17 (level, low) -> IRQ 16
ohci_hcd 0000:00:13.3: OHCI Host Controller
ohci_hcd 0000:00:13.3: new USB bus registered, assigned bus number 5
ohci_hcd 0000:00:13.3: irq 16, io mem 0xf0507000
input: PS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input8
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
nsc_ircc_open(), can't get iobase of 0x2f8
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
nsc_ircc_open(), can't get iobase of 0x2f8
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
nsc-ircc 00:0b: disabled
usb 1-6: configuration #1 chosen from 1 choice
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ACPI: PCI Interrupt 0000:00:13.4[C] -> GSI 18 (level, low) -> IRQ 21
ohci_hcd 0000:00:13.4: OHCI Host Controller
ohci_hcd 0000:00:13.4: new USB bus registered, assigned bus number 6
ohci_hcd 0000:00:13.4: irq 21, io mem 0xf0508000
mice: PS/2 mouse device common for all mice
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 17
Linux video capture interface: v2.00
usb 3-1: new low speed USB device using ohci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device Acer CrystalEye webcam (064e:a101)
usb 5-2: new full speed USB device using ohci_hcd and address 2
usb 5-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver uvcvideo
USB Video Class driver (SVN r189)
usbcore: registered new interface driver hiddev
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:13.1/usb3/3-1/3-1:1.0/input/input9
input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:13.1-1
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:13.1/usb3/3-1/3-1:1.1/input/input10
input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:13.1-1
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Adding 3212960k swap on /dev/sda1.  Priority:-1 extents:1 across:3212960k
EXT3 FS on sda2, internal journal
lp0: using parport0 (interrupt-driven).
lp0: console ready

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-07  3:54         ` Tejun Heo
  2008-03-07  9:17           ` Rus V. Brushkoff
@ 2008-03-07 14:45           ` Mark Lord
  2008-03-08  0:51             ` Tejun Heo
  1 sibling, 1 reply; 17+ messages in thread
From: Mark Lord @ 2008-03-07 14:45 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Rus V. Brushkoff, Jeff Garzik, linux-ide

Tejun Heo wrote:
> Hello, Rus.
> Rus V. Brushkoff wrote:
...
>> [Hors]:root:~ # hdparm -K 1 /dev/sda
>>
>> /dev/sda:
>>  setting drive keep features to 1 (on)
>>  HDIO_DRIVE_CMD(keepsettings) failed: Input/output error
>> .....
> 
> Those two are different ones.  These are to keep software setting over
> soft resets and doesn't have much to do with SSP.  Mark, maybe we need
> to add a feature to hdparm to configure SSP?
..

MMmm..  yes, there are a bunch of newish things there, specificially for SATA.
I'll extend hdparm to give access to changing those things.
..
>> :To solve the problem, ATA added Software Setting Preservation
>> :featureset, which makes the drive remember configurations over
>> :hardresets but it's an optional feature and not all drives implement it.
>> : I think having SSP support in the drive is the only sane way to support
>> :password locking on SATA; otherwise, the drive can just go away while
>> :the system is running.  That said, it would be nice to have a parameter
>> :to force SRST or no reset at all for odd cases.
>>
>>  Hmm, if someone enable SSP in the drive after password unlock - does this 
>> mean that it will be unlocked forever ? Or drive can distinguish between 
>> power-on and hard-reset states ?
> 
> SSP by default stays on, so once unlocked it will stay unlocked as long
> as power stays applied.  On power loss, it gets locked again.  On
> reboots, the BIOS can always lock it again if it wants to.
..

The problem here, is that SSP itself gets turned-OFF after COMMRESET.
It does preserve settings over the COMMRESET, but it then has to be
renewed (re-issued by the driver) for things to survive a subsequent
COMMRESET after the first one.   This has to go into libata,
as it's not something we can control entirely from hdparm.

??

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-07 14:45           ` SATA HDD password problem Mark Lord
@ 2008-03-08  0:51             ` Tejun Heo
  0 siblings, 0 replies; 17+ messages in thread
From: Tejun Heo @ 2008-03-08  0:51 UTC (permalink / raw)
  To: Mark Lord; +Cc: Rus V. Brushkoff, Jeff Garzik, linux-ide

Mark Lord wrote:
>>>  Hmm, if someone enable SSP in the drive after password unlock - does
>>> this mean that it will be unlocked forever ? Or drive can distinguish
>>> between power-on and hard-reset states ?
>>
>> SSP by default stays on, so once unlocked it will stay unlocked as long
>> as power stays applied.  On power loss, it gets locked again.  On
>> reboots, the BIOS can always lock it again if it wants to.
> ..
> 
> The problem here, is that SSP itself gets turned-OFF after COMMRESET.
> It does preserve settings over the COMMRESET, but it then has to be
> renewed (re-issued by the driver) for things to survive a subsequent
> COMMRESET after the first one.   This has to go into libata,
> as it's not something we can control entirely from hdparm.

The following is from ACS8 SSP feature set description.

  Software settings preservation may be enabled or disabled using SET
  FEATURES with a Count field of 06h. If a device supports software
  settings preservation, the feature shall be enabled by default.  See
  SATA 2.6 for more information.

And the following is from enable/disable SSP description (7.48.18.7).

  The enable/disable state for software settings preservation shall
  persist across software reset. The enable/disable state for software
  settings preservation shall be reset to its default state upon
  COMRESET. The host may disable software settings preservation in
  order to not preserve software settings across COMRESET.

So, the default state being enabled and COMRESET always returning it
to default.  I don't think libata needs to take further action.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-07  9:17           ` Rus V. Brushkoff
@ 2008-03-08  1:17             ` Tejun Heo
  2008-03-08 16:12               ` Rus V. Brushkoff
  0 siblings, 1 reply; 17+ messages in thread
From: Tejun Heo @ 2008-03-08  1:17 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: Jeff Garzik, linux-ide, Mark Lord

Hello,

Rus V. Brushkoff wrote:
> :This is weird.  The drive should have stayed unlocked over
> :initialization sequence as SSP is in effect.  Either the BIOS is turning
> :off SSP during POST or the drive isn't preserving security mode state
> :although SSP is in effect.  Testing who's to blame can be a bit
> :cumbersome and involves removing power from the drive while the rest of
> :the system is running.  Can you do that?
> 
>  Sure - I can simply hot-unplug/hot-plug hdd from laptop. For now I've 
> attached good dmesg (normal boot without hdd password set), and bad one - 
> with a kernel panic. Please clarify what exact power-on/power-off hdd log 
> do you need - with hdd password set (do not know if the kernel panic state 
> can be interrupted by sata events) or without hdd password set ?

Okay, here's the sequence.

1. Boot w/o password set.  hdparm -I will show that security feature is
not enabled.

2. Execute "hdparm --user-master u --security-set-pass PASSWORD
/dev/sda".  hdparm -I will show that security is enabled but not locked.

3. Remove power from the drive and reapply.  Now hdparm -I will show
that security is enabled and locked and dd'ing from the drive will fail.

4. Execute "hdparm --user-master -u --security-unlock PASSWORD
/dev/sda".  hdparm -I will show security enabled but unlocked and you'll
be able to access the drive again.

5. Unload and reload ahci.  This will trigger controller initialization
causing hardresets on the ports.  Execute hdparm -I and see whether the
drive is still unlocked and verify that you can read from the drive.

If the drive stays unlocked over #5, it means that the BIOS is
explicitly disabling SSP during POST.  If the drive locks up again, it
means its SSP implementation isn't preserving security mode state over
hardreset.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-08  1:17             ` Tejun Heo
@ 2008-03-08 16:12               ` Rus V. Brushkoff
  2008-03-09  5:13                 ` Tejun Heo
  0 siblings, 1 reply; 17+ messages in thread
From: Rus V. Brushkoff @ 2008-03-08 16:12 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Jeff Garzik, linux-ide, Mark Lord

[-- Attachment #1: Type: TEXT/PLAIN, Size: 4944 bytes --]

On Sat, 8 Mar 2008, Tejun Heo wrote:

	Hi,

:Rus V. Brushkoff wrote:
:> :This is weird.  The drive should have stayed unlocked over
:> :initialization sequence as SSP is in effect.  Either the BIOS is turning
:> :off SSP during POST or the drive isn't preserving security mode state
:> :although SSP is in effect.  Testing who's to blame can be a bit
:> :cumbersome and involves removing power from the drive while the rest of
:> :the system is running.  Can you do that?
:> 
:>  Sure - I can simply hot-unplug/hot-plug hdd from laptop. For now I've 
:Okay, here's the sequence.
:1. Boot w/o password set.  hdparm -I will show that security feature is
:not enabled.
:2. Execute "hdparm --user-master u --security-set-pass PASSWORD
:/dev/sda".  hdparm -I will show that security is enabled but not locked.
:3. Remove power from the drive and reapply.  Now hdparm -I will show
:that security is enabled and locked and dd'ing from the drive will fail.
:4. Execute "hdparm --user-master -u --security-unlock PASSWORD
:/dev/sda".  hdparm -I will show security enabled but unlocked and you'll
:be able to access the drive again.
:5. Unload and reload ahci.  This will trigger controller initialization
:causing hardresets on the ports.  Execute hdparm -I and see whether the
:drive is still unlocked and verify that you can read from the drive.

 I've used debian live-cd, which has achi compiled as module (booted with 
acpi=off because of the 2.6.22 kernel problems with 8254 timer), uname -a :

Linux debian 2.6.22-3-486 #1 Mon Nov 12 07:53:08 UTC 2007 i686 unknown

files with 'hdpam -I' output is attached, numerating by the said sequence, 
boot.pass is the output booted with bios enabled password. Shortly diffs 
between stages are :

--- boot.1	2008-03-08 17:39:34.000000000 +0200
+++ boot.2	2008-03-08 17:40:16.000000000 +0200
@@ -33,7 +33,7 @@
 Commands/features:
 	Enabled	Supported:
 	   *	SMART feature set
-	    	Security Mode feature set
+	   *	Security Mode feature set
 	   *	Power Management feature set
 	   *	Write cache
 	   *	Look-ahead
@@ -74,11 +74,12 @@
 Security: 
 	Master password revision code = 65297
 		supported
-	not	enabled
+		enabled
 	not	locked
 	not	frozen
 	not	expired: security count
 	not	supported: enhanced erase
+	Security level high
 	88min for SECURITY ERASE UNIT. 
 Logical Unit WWN Device Identifier: 50014ee256031961
 	NAA		: 5

--- boot.2	2008-03-08 17:40:16.000000000 +0200
+++ boot.3	2008-03-08 17:41:34.000000000 +0200
@@ -23,7 +23,7 @@
 	LBA, IORDY(can be disabled)
 	Queue depth: 32
 	Standby timer values: spec'd by Standard, with device specific minimum
-	R/W multiple sector transfer: Max = 16	Current = 16
+	R/W multiple sector transfer: Max = 16	Current = 0
 	Advanced power management level: 128
 	Recommended acoustic management value: 128, current value: 254
 	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
@@ -43,7 +43,7 @@
 	   *	NOP cmd
 	   *	DOWNLOAD_MICROCODE
 	   *	Advanced Power Management feature set
-	   *	SET_MAX security extension
+	    	SET_MAX security extension
 	    	Automatic Acoustic Management feature set
 	   *	48-bit Address feature set
 	   *	Device Configuration Overlay feature set
@@ -75,7 +75,7 @@
 	Master password revision code = 65297
 		supported
 		enabled
-	not	locked
+		locked
 	not	frozen
 	not	expired: security count
 	not	supported: enhanced erase

--- boot.3	2008-03-08 17:41:34.000000000 +0200
+++ boot.4	2008-03-08 17:42:52.000000000 +0200
@@ -26,7 +26,7 @@
 	R/W multiple sector transfer: Max = 16	Current = 0
 	Advanced power management level: 128
 	Recommended acoustic management value: 128, current value: 254
-	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
+	DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 udma6 
 	     Cycle time: min=120ns recommended=120ns
 	PIO: pio0 pio1 pio2 pio3 pio4 
 	     Cycle time: no flow control=120ns  IORDY flow control=120ns
@@ -75,7 +75,7 @@
 	Master password revision code = 65297
 		supported
 		enabled
-		locked
+	not	locked
 	not	frozen
 	not	expired: security count
 	not	supported: enhanced erase

--- boot.4	2008-03-08 17:42:52.000000000 +0200
+++ boot.5	2008-03-08 17:44:32.000000000 +0200
@@ -26,7 +26,7 @@
 	R/W multiple sector transfer: Max = 16	Current = 0
 	Advanced power management level: 128
 	Recommended acoustic management value: 128, current value: 254
-	DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 udma6 
+	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
 	     Cycle time: min=120ns recommended=120ns
 	PIO: pio0 pio1 pio2 pio3 pio4 
 	     Cycle time: no flow control=120ns  IORDY flow control=120ns

:
:If the drive stays unlocked over #5, it means that the BIOS is
:explicitly disabling SSP during POST.  If the drive locks up again, it
:means its SSP implementation isn't preserving security mode state over
:hardreset.

Drive remains unlocked, so BIOS is the problem ;(

:
:

		Rus

[-- Attachment #2: Type: TEXT/PLAIN, Size: 2836 bytes --]


/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD2500BEVS-22UST0                   
	Serial Number:      WD-WXEX07G90288
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  488397168
	device size with M = 1024*1024:      238475 MBytes
	device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	   *	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65297
		supported
		enabled
		locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
	Security level high
	88min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256031961
	NAA		: 5
	IEEE OUI	: 14ee
	Unique ID	: 256031961
Checksum: correct

[-- Attachment #3: Type: TEXT/PLAIN, Size: 2838 bytes --]


/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD2500BEVS-22UST0                   
	Serial Number:      WD-WXEX07G90288
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  488397168
	device size with M = 1024*1024:      238475 MBytes
	device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 0
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	   *	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65297
		supported
		enabled
	not	locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
	Security level high
	88min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256031961
	NAA		: 5
	IEEE OUI	: 14ee
	Unique ID	: 256031961
Checksum: correct

[-- Attachment #4: Type: TEXT/PLAIN, Size: 2838 bytes --]


/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD2500BEVS-22UST0                   
	Serial Number:      WD-WXEX07G90288
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  488397168
	device size with M = 1024*1024:      238475 MBytes
	device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 0
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	   *	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65297
		supported
		enabled
	not	locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
	Security level high
	88min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256031961
	NAA		: 5
	IEEE OUI	: 14ee
	Unique ID	: 256031961
Checksum: correct

[-- Attachment #5: Type: TEXT/PLAIN, Size: 2835 bytes --]


/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD2500BEVS-22UST0                   
	Serial Number:      WD-WXEX07G90288
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  488397168
	device size with M = 1024*1024:      238475 MBytes
	device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 0
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	   *	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65297
		supported
		enabled
		locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
	Security level high
	88min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256031961
	NAA		: 5
	IEEE OUI	: 14ee
	Unique ID	: 256031961
Checksum: correct

[-- Attachment #6: Type: TEXT/PLAIN, Size: 2839 bytes --]


/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD2500BEVS-22UST0                   
	Serial Number:      WD-WXEX07G90288
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  488397168
	device size with M = 1024*1024:      238475 MBytes
	device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	   *	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	   *	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65297
		supported
		enabled
	not	locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
	Security level high
	88min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256031961
	NAA		: 5
	IEEE OUI	: 14ee
	Unique ID	: 256031961
Checksum: correct

[-- Attachment #7: Type: TEXT/PLAIN, Size: 2820 bytes --]


/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD2500BEVS-22UST0                   
	Serial Number:      WD-WXEX07G90288
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  488397168
	device size with M = 1024*1024:      238475 MBytes
	device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	   *	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65297
		supported
	not	enabled
	not	locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
	88min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256031961
	NAA		: 5
	IEEE OUI	: 14ee
	Unique ID	: 256031961
Checksum: correct

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-08 16:12               ` Rus V. Brushkoff
@ 2008-03-09  5:13                 ` Tejun Heo
  2008-03-09  5:13                   ` Tejun Heo
  0 siblings, 1 reply; 17+ messages in thread
From: Tejun Heo @ 2008-03-09  5:13 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: Jeff Garzik, linux-ide, Mark Lord

[-- Attachment #1: Type: text/plain, Size: 2357 bytes --]

Rus V. Brushkoff wrote:
> On Sat, 8 Mar 2008, Tejun Heo wrote:
> 
> 	Hi,
> 
> :Rus V. Brushkoff wrote:
> :> :This is weird.  The drive should have stayed unlocked over
> :> :initialization sequence as SSP is in effect.  Either the BIOS is turning
> :> :off SSP during POST or the drive isn't preserving security mode state
> :> :although SSP is in effect.  Testing who's to blame can be a bit
> :> :cumbersome and involves removing power from the drive while the rest of
> :> :the system is running.  Can you do that?
> :> 
> :>  Sure - I can simply hot-unplug/hot-plug hdd from laptop. For now I've 
> :Okay, here's the sequence.
> :1. Boot w/o password set.  hdparm -I will show that security feature is
> :not enabled.
> :2. Execute "hdparm --user-master u --security-set-pass PASSWORD
> :/dev/sda".  hdparm -I will show that security is enabled but not locked.
> :3. Remove power from the drive and reapply.  Now hdparm -I will show
> :that security is enabled and locked and dd'ing from the drive will fail.
> :4. Execute "hdparm --user-master -u --security-unlock PASSWORD
> :/dev/sda".  hdparm -I will show security enabled but unlocked and you'll
> :be able to access the drive again.
> :5. Unload and reload ahci.  This will trigger controller initialization
> :causing hardresets on the ports.  Execute hdparm -I and see whether the
> :drive is still unlocked and verify that you can read from the drive.
> 
>  I've used debian live-cd, which has achi compiled as module (booted with 
> acpi=off because of the 2.6.22 kernel problems with 8254 timer), uname -a :
> 
> Linux debian 2.6.22-3-486 #1 Mon Nov 12 07:53:08 UTC 2007 i686 unknown
> 
> files with 'hdpam -I' output is attached, numerating by the said sequence, 
> boot.pass is the output booted with bios enabled password. Shortly diffs 
> between stages are :

Unless I'm mistaken, this means that the BIOS is disabling SSP during
POST, which it really shouldn't.  There's no guarantee that a hardreset
won't occur even if the OS doesn't do it explicitly and when that
happens the drive will get locked and OS can't unlock it without asking
the user for password.  Eeeeek, ugly.

 specified, The attached patch implements ahci.skip_host_reset module
parameter.  If specified, host reset is skipped during controller
initialization.  Does this work around the problem?

Thanks.

-- 
tejun

[-- Attachment #2: ahci-implement-skip-host-reset.patch --]
[-- Type: text/x-patch, Size: 2059 bytes --]

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 70a0f07..fb1af0f 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -49,6 +49,10 @@
 #define DRV_NAME	"ahci"
 #define DRV_VERSION	"3.0"
 
+static int ahci_skip_host_reset;
+module_param_named(skip_host_reset, ahci_skip_host_reset, int, 0444);
+MODULE_PARM_DESC(skip_host_reset, "skip global host reset (0=don't skip, 1=skip)");
+
 static int ahci_enable_alpm(struct ata_port *ap,
 		enum link_pm policy);
 static void ahci_disable_alpm(struct ata_port *ap);
@@ -1057,29 +1061,35 @@ static int ahci_reset_controller(struct ata_host *host)
 	ahci_enable_ahci(mmio);
 
 	/* global controller reset */
-	tmp = readl(mmio + HOST_CTL);
-	if ((tmp & HOST_RESET) == 0) {
-		writel(tmp | HOST_RESET, mmio + HOST_CTL);
-		readl(mmio + HOST_CTL); /* flush */
-	}
+	if (!ahci_skip_host_reset) {
+		tmp = readl(mmio + HOST_CTL);
+		if ((tmp & HOST_RESET) == 0) {
+			writel(tmp | HOST_RESET, mmio + HOST_CTL);
+			readl(mmio + HOST_CTL); /* flush */
+		}
 
-	/* reset must complete within 1 second, or
-	 * the hardware should be considered fried.
-	 */
-	ssleep(1);
+		/* reset must complete within 1 second, or
+		 * the hardware should be considered fried.
+		 */
+		ssleep(1);
 
-	tmp = readl(mmio + HOST_CTL);
-	if (tmp & HOST_RESET) {
-		dev_printk(KERN_ERR, host->dev,
-			   "controller reset failed (0x%x)\n", tmp);
-		return -EIO;
-	}
+		tmp = readl(mmio + HOST_CTL);
+		if (tmp & HOST_RESET) {
+			dev_printk(KERN_ERR, host->dev,
+				   "controller reset failed (0x%x)\n", tmp);
+			return -EIO;
+		}
 
-	/* turn on AHCI mode */
-	ahci_enable_ahci(mmio);
+		/* turn on AHCI mode */
+		ahci_enable_ahci(mmio);
 
-	/* some registers might be cleared on reset.  restore initial values */
-	ahci_restore_initial_config(host);
+		/* Some registers might be cleared on reset.  Restore
+		 * initial values.
+		 */
+		ahci_restore_initial_config(host);
+	} else
+		dev_printk(KERN_INFO, host->dev,
+			   "skipping global host reset\n");
 
 	if (pdev->vendor == PCI_VENDOR_ID_INTEL) {
 		u16 tmp16;

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-09  5:13                 ` Tejun Heo
@ 2008-03-09  5:13                   ` Tejun Heo
  2008-03-09 17:42                     ` Rus V. Brushkoff
  0 siblings, 1 reply; 17+ messages in thread
From: Tejun Heo @ 2008-03-09  5:13 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: Jeff Garzik, linux-ide, Mark Lord

Tejun Heo wrote:
> Unless I'm mistaken, this means that the BIOS is disabling SSP during
> POST, which it really shouldn't.  There's no guarantee that a hardreset
> won't occur even if the OS doesn't do it explicitly and when that
> happens the drive will get locked and OS can't unlock it without asking
> the user for password.  Eeeeek, ugly.
> 
>  specified, The attached patch implements ahci.skip_host_reset module
> parameter.  If specified, host reset is skipped during controller
> initialization.  Does this work around the problem?

Oh, and if it does, please post the result of "hdparm -I" after booting.

-- 
tejun

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-09  5:13                   ` Tejun Heo
@ 2008-03-09 17:42                     ` Rus V. Brushkoff
  2008-03-10  0:37                       ` Tejun Heo
  2008-03-10  1:25                       ` [PATCH #upstream-fixes] ahci: implement skip_host_reset parameter Tejun Heo
  0 siblings, 2 replies; 17+ messages in thread
From: Rus V. Brushkoff @ 2008-03-09 17:42 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Jeff Garzik, linux-ide, Mark Lord

[-- Attachment #1: Type: TEXT/PLAIN, Size: 313 bytes --]

On Sun, 9 Mar 2008, Tejun Heo wrote:

:Oh, and if it does, please post the result of "hdparm -I" after booting.

 Wow, with this patch all works like a sharm ! hdparm -I output attached. 
If something has to be send for bogus acer phoenix bios writers - I can do 
this dirty job with special pleasure ;)

:

		Rus

[-- Attachment #2: Type: TEXT/PLAIN, Size: 2836 bytes --]


/dev/sda:

ATA device, with non-removable media
	Model Number:       WDC WD2500BEVS-22UST0                   
	Serial Number:      WD-WXEX07G90288
	Firmware Revision:  01.01A01
Standards:
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  488397168
	device size with M = 1024*1024:      238475 MBytes
	device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Advanced power management level: 128
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	   *	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	    	Automatic Acoustic Management feature set
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Segmented DOWNLOAD_MICROCODE
	   *	SATA-I signaling speed (1.5Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	    	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Long Sector Access (AC1)
	   *	SCT LBA Segment Access (AC2)
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65297
		supported
		enabled
	not	locked
		frozen
	not	expired: security count
	not	supported: enhanced erase
	Security level high
	88min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 50014ee256031961
	NAA		: 5
	IEEE OUI	: 14ee
	Unique ID	: 256031961
Checksum: correct

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: SATA HDD password problem
  2008-03-09 17:42                     ` Rus V. Brushkoff
@ 2008-03-10  0:37                       ` Tejun Heo
  2008-03-10  1:25                       ` [PATCH #upstream-fixes] ahci: implement skip_host_reset parameter Tejun Heo
  1 sibling, 0 replies; 17+ messages in thread
From: Tejun Heo @ 2008-03-10  0:37 UTC (permalink / raw)
  To: Rus V. Brushkoff; +Cc: Jeff Garzik, linux-ide, Mark Lord

Rus V. Brushkoff wrote:
> On Sun, 9 Mar 2008, Tejun Heo wrote:
> 
> :Oh, and if it does, please post the result of "hdparm -I" after booting.
> 
>  Wow, with this patch all works like a sharm ! hdparm -I output attached. 
> If something has to be send for bogus acer phoenix bios writers - I can do 
> this dirty job with special pleasure ;)
>
> /dev/sda:
> 
> ATA device, with non-removable media
> 	Model Number:       WDC WD2500BEVS-22UST0                   
> 	Serial Number:      WD-WXEX07G90288
> 	Firmware Revision:  01.01A01
<--snip-->
> 	    	Software settings preservation

Yeap, the BIOS is turning off SSP explicitly.  I wonder what the heck
they tried to achieved by doing this.  Definitely worth reporting to the
vendor.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH #upstream-fixes] ahci: implement skip_host_reset parameter
  2008-03-09 17:42                     ` Rus V. Brushkoff
  2008-03-10  0:37                       ` Tejun Heo
@ 2008-03-10  1:25                       ` Tejun Heo
  2008-03-17 12:27                         ` Jeff Garzik
  1 sibling, 1 reply; 17+ messages in thread
From: Tejun Heo @ 2008-03-10  1:25 UTC (permalink / raw)
  To: Rus V. Brushkoff, Jeff Garzik; +Cc: linux-ide, Mark Lord

Under certain circumstances (SSP turned off by the BIOS) and for
debugging purposes, skipping global controller reset is helpful.  Add
a kernel parameter for it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
---
 drivers/ata/ahci.c |   48 +++++++++++++++++++++++++++++-------------------
 1 file changed, 29 insertions(+), 19 deletions(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 70a0f07..fb1af0f 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -49,6 +49,10 @@
 #define DRV_NAME	"ahci"
 #define DRV_VERSION	"3.0"
 
+static int ahci_skip_host_reset;
+module_param_named(skip_host_reset, ahci_skip_host_reset, int, 0444);
+MODULE_PARM_DESC(skip_host_reset, "skip global host reset (0=don't skip, 1=skip)");
+
 static int ahci_enable_alpm(struct ata_port *ap,
 		enum link_pm policy);
 static void ahci_disable_alpm(struct ata_port *ap);
@@ -1057,29 +1061,35 @@ static int ahci_reset_controller(struct ata_host *host)
 	ahci_enable_ahci(mmio);
 
 	/* global controller reset */
-	tmp = readl(mmio + HOST_CTL);
-	if ((tmp & HOST_RESET) == 0) {
-		writel(tmp | HOST_RESET, mmio + HOST_CTL);
-		readl(mmio + HOST_CTL); /* flush */
-	}
+	if (!ahci_skip_host_reset) {
+		tmp = readl(mmio + HOST_CTL);
+		if ((tmp & HOST_RESET) == 0) {
+			writel(tmp | HOST_RESET, mmio + HOST_CTL);
+			readl(mmio + HOST_CTL); /* flush */
+		}
 
-	/* reset must complete within 1 second, or
-	 * the hardware should be considered fried.
-	 */
-	ssleep(1);
+		/* reset must complete within 1 second, or
+		 * the hardware should be considered fried.
+		 */
+		ssleep(1);
 
-	tmp = readl(mmio + HOST_CTL);
-	if (tmp & HOST_RESET) {
-		dev_printk(KERN_ERR, host->dev,
-			   "controller reset failed (0x%x)\n", tmp);
-		return -EIO;
-	}
+		tmp = readl(mmio + HOST_CTL);
+		if (tmp & HOST_RESET) {
+			dev_printk(KERN_ERR, host->dev,
+				   "controller reset failed (0x%x)\n", tmp);
+			return -EIO;
+		}
 
-	/* turn on AHCI mode */
-	ahci_enable_ahci(mmio);
+		/* turn on AHCI mode */
+		ahci_enable_ahci(mmio);
 
-	/* some registers might be cleared on reset.  restore initial values */
-	ahci_restore_initial_config(host);
+		/* Some registers might be cleared on reset.  Restore
+		 * initial values.
+		 */
+		ahci_restore_initial_config(host);
+	} else
+		dev_printk(KERN_INFO, host->dev,
+			   "skipping global host reset\n");
 
 	if (pdev->vendor == PCI_VENDOR_ID_INTEL) {
 		u16 tmp16;

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH #upstream-fixes] ahci: implement skip_host_reset parameter
  2008-03-10  1:25                       ` [PATCH #upstream-fixes] ahci: implement skip_host_reset parameter Tejun Heo
@ 2008-03-17 12:27                         ` Jeff Garzik
  0 siblings, 0 replies; 17+ messages in thread
From: Jeff Garzik @ 2008-03-17 12:27 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Rus V. Brushkoff, linux-ide, Mark Lord

Tejun Heo wrote:
> Under certain circumstances (SSP turned off by the BIOS) and for
> debugging purposes, skipping global controller reset is helpful.  Add
> a kernel parameter for it.
> 
> Signed-off-by: Tejun Heo <htejun@gmail.com>
> ---
>  drivers/ata/ahci.c |   48 +++++++++++++++++++++++++++++-------------------
>  1 file changed, 29 insertions(+), 19 deletions(-)

applied



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2008-03-17 12:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05  9:50 SATA HDD password problem Rus V. Brushkoff
2008-03-05 12:30 ` Jeff Garzik
2008-03-05 12:49   ` Rus V. Brushkoff
2008-03-06  9:47     ` Tejun Heo
2008-03-06 12:31       ` Rus V. Brushkoff
2008-03-07  3:54         ` Tejun Heo
2008-03-07  9:17           ` Rus V. Brushkoff
2008-03-08  1:17             ` Tejun Heo
2008-03-08 16:12               ` Rus V. Brushkoff
2008-03-09  5:13                 ` Tejun Heo
2008-03-09  5:13                   ` Tejun Heo
2008-03-09 17:42                     ` Rus V. Brushkoff
2008-03-10  0:37                       ` Tejun Heo
2008-03-10  1:25                       ` [PATCH #upstream-fixes] ahci: implement skip_host_reset parameter Tejun Heo
2008-03-17 12:27                         ` Jeff Garzik
2008-03-07 14:45           ` SATA HDD password problem Mark Lord
2008-03-08  0:51             ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).