[haiku-bugs] Re: [Haiku] #10336: TRIM fails on OCZ Agility 3

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 22 Dec 2013 22:55:07 -0000

#10336: TRIM fails on OCZ Agility 3
----------------------------+----------------------------
   Reporter:  kallisti5     |      Owner:  axeld
       Type:  bug           |     Status:  in-progress
   Priority:  normal        |  Milestone:  R1
  Component:  Drivers/Disk  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by kallisti5):

 Yup.  Wasn't poking you too much, just wanted to get the current issues on
 paper :-)

 {{{
 KERN: ahci: generic AHCI controller found! vendor 0x1022, device 0x7804
 KERN: ahci: ahci_register_device
 KERN: ahci: ahci_init_driver
 KERN: ahci: ahci_sim_init_bus
 KERN: ahci: ahci_sim_init_bus: pciDevice 0x82b6b360
 KERN: ahci: AHCIController::Init 0:17:0 vendor 1022, device 7804
 KERN: ahci: PCI SATA capability found at offset 0x70
 KERN: ahci: satacr0 = 0x00100012, satacr1 = 0x0000000f
 KERN: ahci: pcicmd old 0x0007
 KERN: ahci: pcicmd new 0x0006
 KERN: allocate_io_interrupt_vectors: allocated 1 vectors starting from 24
 KERN: msi_allocate_vectors: allocated 1 vectors starting from 24
 KERN: msi enabled: 0x0089
 KERN: ahci: using MSI vector 24
 KERN: ahci: registers at 0xf034e000, size 0x800
 KERN: ahci: mapping physical address 0xf034e000 with 2048 bytes for AHCI
 HBA regs
 KERN: add_memory_type_range(672, 0xf034e000, 0x1000, 0)
 KERN: ahci: physical = 0xf034e000, virtual = 0x81bfc000, offset = 0,
 phyadr = 0xf034e000, mapadr = 0x81bfc000, size = 4096, area = 0x000002a0
 KERN: ahci: cap: Interface Speed Support: generation 3
 KERN: ahci: cap: Number of Command Slots: 32 (raw 0x1f)
 KERN: ahci: cap: Number of Ports: 2 (raw 0x1)
 KERN: ahci: cap: Supports Port Multiplier: yes
 KERN: ahci: cap: Supports External SATA: no
 KERN: ahci: cap: Enclosure Management Supported: no
 KERN: ahci: cap: Supports Command List Override: yes
 KERN: ahci: cap: Supports Staggered Spin-up: no
 KERN: ahci: cap: Supports Mechanical Presence Switch: yes
 KERN: ahci: cap: Supports 64-bit Addressing: yes
 KERN: ahci: cap: Supports Native Command Queuing: yes
 KERN: ahci: cap: Supports SNotification Register: yes
 KERN: ahci: cap: Supports Command List Override: yes
 KERN: ahci: cap: Supports AHCI mode only: no
 KERN: ahci: ghc: AHCI Enable: yes
 KERN: ahci: Ports Implemented Mask: 0x000003
 KERN: ahci: Number of Available Ports: 2
 KERN: ahci: AHCI Version 1.0
 KERN: ahci: Interrupt 24
 KERN: ahci: AHCIPort::Init1 port 0
 KERN: ahci: allocating 4096 bytes for AHCI port 0
 KERN: ahci: area = 673, size = 4096, virt = 0x81bfd000, phy = 0xa0d4000
 KERN: ahci: PRD table is at 0x81bfd580
 KERN: ahci: AHCIPort::Init1 port 1
 KERN: ahci: allocating 4096 bytes for AHCI port 1
 KERN: ahci: area = 674, size = 4096, virt = 0x81bfe000, phy = 0xa0d3000
 KERN: ahci: PRD table is at 0x81bfe580
 KERN: ahci: AHCIPort::Init2 port 0
 KERN: ahci: AHCIPort::ResetPort port 0
 KERN: ahci: AHCIPort::ResetPort port 0, deviceBusy 0, forceDeviceReset 1
 KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive
 0x00000000, is 0x00400000, ci 0x00000000
 KERN: ahci: ssts 0x00000001
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04090000
 KERN: ahci: sact 0x00000000
 rt port 0, deviceBusy 0, forceDeviceReset 1
 KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive
 0x00000000, is 0x00400000, ci 0x00000000
 KERN: ahci: ssts 0x00000001
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04090000
 KERN: ahci: sact 0x00000000
 KERN: ahci: PhyReady Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04080000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04080000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04080000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04080000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000133
 KERN: ahci: sctl 0x00000300
 KERN: ahci: serr 0x040d0000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::PostReset port 0
 KERN: ahci: device signature 0x00000101 (ATA)
 KERN: ahci: ie   0x7dc0007f
 KERN: ahci: is   0x00000000
 KERN: ahci: cmd  0x0000e017
 KERN: ahci: ssts 0x000KERN: 00133
 KERN: ahci: sctl 0x00000300
 KERN: ahci: serr 0x00000000
 KERN: ahci: sact 0x00000000
 KERN: ahci: tfd  0x00000150
 KERN: ahci: AHCIPort::Init2 port 1
 KERN: ahci: AHCIPort::ResetPort port 1
 KERN: ahci: AHCIPort::ResetPort port 1, deviceBusy 0, forceDeviceReset 1
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00400000, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04090000
 KERN: ahci: sact 0x00000000
 KERN: ahci: PhyReady Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04090000
 KERN: ahci: sact 0x00000000
 KERN: ahci: PhyReady Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04080000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04080000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000000
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04080000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000001
 KERN: ahci: sctl 0x00000301
 KERN: ahci: serr 0x04080000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000001
 KERN: ahci: sctl 0x00000300
 KERN: ahci: serr 0x040c0000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00000040, ci 0x00000000
 KERN: ahci: ssts 0x00000001
 KERN: ahci: sctl 0x00000300
 KERN: ahci: serr 0x040c0000
 KERN: ahci: sact 0x00000000
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive
 0x00000000, is 0x00400040, ci 0x00000000
 KERN: ahci: ssts 0x00000113
 KERN: ahci: sctl 0x00000300
 KERN: ahci: serr 0x040d0000
 KERN: ahci: sact 0x00000000
 KERN: ahci: PhyReady Change
 KERN: ahci: Port Connect Change
 KERN: ahci: AHCIPort::PostReset port 1
 KERN: ahci: device signature 0xeb140101 (ATAPI)
 KERN: ahci: ie   0x7dc0007f
 KERN: ahci: is   0x00000000
 KERN: ahci: cmd  0x0100e017
 KERN: ahci: ssts 0x00000113
 KERN: ahci: sctl 0x00000300
 KERN: ahci: serr 0x00000000
 KERN: ahci: sact 0x00000000
 KERN: ahci: tfd  0x00000100
 KERN: ahci: cookie = 0x8280b900
 KERN: ahci: ahci_path_inquiry, cookie 0x8280b900
 Last message repeated 1 time
 KERN: ahci: ahci_scan_bus, cookie 0x8280b900
 KERN: ahci: AHCIPort::ScsiTestUnitReady port 0
 KERN: ahci: AHCIPort::ScsiInquiry port 0
 KERN: ahci: lba 1, lba48 1, fUse48BitCommands 1, sectors 117231408,
 sectors48 117231408, size 60022480896
 KERN: ahci: trim supported, 1 ranges blocks, reads are deterministic,
 random.
 KERN: ahci: model number: OCZ-AGILITY3
 KERN: ahci: serial number: OCZ-X78XWFG4D28DS609
 KERN: ahci: firmware rev.: 2.15
 KERN: ahci: trim support: yes
 KERN: ahci: sg_memcpy phyAddr 0x253442c, size 96
 KERN: ahci: ahci_get_restrictions, cookie 0x8280b900
 KERN: ahci: AHCIPort::ScsiGetRestrictions port 0: isATAPI 0, noAutoSense
 0, maxBlocks 65536
 KERN: publish device: node 0x82b59d00, path disk/scsi/0/0/0/raw, module
 drivers/disk/scsi/scsi_disk/device_v1
 KERN: ahci: ahci_get_restrictions, cookie 0x8280b900
 KERN: ahci: AHCIPort::ScsiGetRestrictions port 1: isATAPI 1, noAutoSense
 1, maxBlocks 256
 KERN: publish device: node 0x82b59c60, path disk/scsi/0/1/0/raw, module
 drivers/disk/scsi/scsi_cd/device_v1
 KERN: ata 0: controller doesn't support DMA, disabling
 KERN: ata 0: _DevicePresent: device selection failed for device 0
 KERN: ata 0: _DevicePresent: device 1, presence 0
 KERN: ata 0: deviceMask 0
 KERN: ata 0: ignoring device 0
 KERN: ata 0: ignoring device 1
 KERN: ata 0 error: target device not present
 Last message repeated 1 time
 KERN: ata 0 error: invalid target device
 KERN: Last message repeated 12 times.
 KERN: ata 1: controller doesn't support DMA, disabling
 KERN: ata 1: _DevicePresent: device selection failed for device 0
 KERN: ata 1: _DevicePresent: device 1, presence 0
 KERN: ata 1: deviceMask 0
 KERN: ata 1: ignoring device 0
 KERN: ata 1: ignoring device 1
 KERN: ata 1 error: target device not present
 Last message repeated 1 time
 KERN: ata 1 error: invalid target device
 KERN: Last message repeated 12 times.
 KERN: KDiskDeviceManager::_Scan(/dev/disk/scsi)
 i: tfd  0x00000100
 KERN: ahci: cookie = 0x8280b900
 KERN: ahci: ahci_path_inquiry, cookie 0x8280b900
 }}}

--
Ticket URL: <http://dev.haiku-os.org/ticket/10336#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: