All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Mark Lord <liml@rtr.ca>
Cc: Jeff Garzik <jgarzik@pobox.com>, linux-ide@vger.kernel.org
Subject: Re: libata-dev#upstream pdc_adma fails IDENTIFY w/ AC_ERR_HSM
Date: Sat, 05 Aug 2006 00:02:14 +0900	[thread overview]
Message-ID: <44D36176.7030407@gmail.com> (raw)
In-Reply-To: <44D3572E.6040907@gmail.com>

Tejun Heo wrote:
>> But not finding the HD is more of an issue.  I wonder what 
>> motherboard/CPU
>> you are trying this on, and has it *ever* worked for you Tejun?
> 
> This is P5LD2 (ICH7R) w/ P4 celeron.  The kernel was built for i386. 
> This is my first time to actually try these cards.  I'm updating 
> initialization, so I'm doing sweep-test on all the cards I have.  I'll 
> put it into via-c3 and see what happens.  I'll also try older kernel 
> before big libata EH updates.

Okay, the same on via-c3 with the same libata-dev#upstream.

ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKA] -> GSI 10 (level, 
low) -> IRQ 10
[ata_device_add      ] ENTER
[ata_host_add        ] ENTER
[ata_port_start      ] prd alloc, virt cc46c000, dma c46c000
ata1: PATA max UDMA/66 cmd 0xCE8AC000 ctl 0xCE8AC038 bmdma 0x0 irq 10
[ata_host_add        ] ENTER
[ata_port_start      ] prd alloc, virt cca6d000, dma ca6d000
ata2: PATA max UDMA/66 cmd 0xCE8AC040 ctl 0xCE8AC078 bmdma 0x0 irq 10
[ata_device_add      ] probe begin
scsi0 : pdc_adma
[ata_device_add      ] ata1: bus probe begin
[ata_bus_reset       ] ENTER, host 1, port 0
[ata_bus_softreset   ] ata1: bus reset via SRST
[ata_dev_classify    ] found ATA device by sig
[ata_dev_classify    ] found ATA device by sig
[ata_bus_reset       ] EXIT
[ata_exec_command_mmio] ata1: cmd 0xEC
[adma_intr_mmio      ] ata1: protocol 2 (dev_stat 0x58)
[ata_port_flush_task ] ENTER
[ata_port_flush_task ] flush #1
ata1.00: failed to IDENTIFY (I/O error, err_mask=0x2)
[ata_bus_reset       ] ENTER, host 1, port 0
[ata_bus_softreset   ] ata1: bus reset via SRST
[ata_dev_classify    ] found ATA device by sig
[ata_dev_classify    ] found ATA device by sig
[ata_bus_reset       ] EXIT
[ata_exec_command_mmio] ata1: cmd 0xEC
[adma_intr_mmio      ] ata1: protocol 2 (dev_stat 0x58)
[ata_port_flush_task ] ENTER
[ata_port_flush_task ] flush #1
ata1.00: failed to IDENTIFY (I/O error, err_mask=0x2)
[ata_bus_reset       ] ENTER, host 1, port 0
[ata_bus_softreset   ] ata1: bus reset via SRST
[ata_dev_classify    ] found ATA device by sig
[ata_dev_classify    ] found ATA device by sig
[ata_bus_reset       ] EXIT
[ata_exec_command_mmio] ata1: cmd 0xEC
[adma_intr_mmio      ] ata1: protocol 2 (dev_stat 0x58)
[ata_port_flush_task ] ENTER
[ata_port_flush_task ] flush #1
ata1.00: failed to IDENTIFY (I/O error, err_mask=0x2)
ata1.00: limiting speed to PIO0
ata1.00: disabled
[ata_bus_reset       ] ENTER, host 1, port 0
[ata_bus_softreset   ] ata1: bus reset via SRST
[ata_dev_classify    ] found ATA device by sig
[ata_dev_classify    ] found ATA device by sig
[ata_bus_reset       ] EXIT
[ata_device_add      ] ata1: bus probe end
scsi1 : pdc_adma
[ata_device_add      ] ata2: bus probe begin
[ata_bus_reset       ] ENTER, host 2, port 1
[ata_bus_softreset   ] ata2: bus reset via SRST
ata2: disabling port
[ata_bus_reset       ] EXIT
[ata_device_add      ] ata2: bus probe end
[ata_device_add      ] host probe begin

===============================================================

v2.6.17 successfully identifies the disk but times out while trying to 
read the partition table and locks up the whole machine. (complete 
lockup, IRQ dead)


ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKA] -> GSI 10 (level, 
low) -> IRQ 10
ata1: PATA max UDMA/66 cmd 0xCE8AC000 ctl 0xCE8AC038 bmdma 0x0 irq 10
ata2: PATA max UDMA/66 cmd 0xCE8AC040 ctl 0xCE8AC078 bmdma 0x0 irq 10
ata1: dev 0 ATA-7, max UDMA/100, 156368016 sectors: LBA48
ata1: dev 0 configured for UDMA/66
scsi0 : pdc_adma
ata2: disabling port
scsi1 : pdc_adma
   Vendor: ATA       Model: SAMSUNG SP0802N   Rev: TK30
   Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 156368016 512-byte hdwr sectors (80060 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 156368016 512-byte hdwr sectors (80060 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
  sda:<3>ata1: command 0xc8 timeout, stat 0x58 host_stat 0x0
ata1: translated ATA stat/err 0x58/00 to SCSI SK/ASC/ASCQ 0xb/47/00
<---- locked up ---->
===============================================================

2.6.16 successfully identifies the disk but locks up the whole machine 
while trying to read partition table.  (complete lockup, IRQ dead)

ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKA] -> GSI 10 (level, 
low) -> IRQ 10
[ata_device_add      ] ENTER
[ata_host_add        ] ENTER
[ata_port_start      ] prd alloc, virt cd563000, dma d563000
ata1: PATA max UDMA/66 cmd 0xCE8AC000 ctl 0xCE8AC038 bmdma 0x0 irq 10
[ata_host_add        ] ENTER
[ata_port_start      ] prd alloc, virt cc593000, dma c593000
ata2: PATA max UDMA/66 cmd 0xCE8AC040 ctl 0xCE8AC078 bmdma 0x0 irq 10
[ata_device_add      ] probe begin
[ata_device_add      ] ata1: probe begin
[ata_bus_reset       ] ENTER, host 1, port 0
[ata_bus_softreset   ] ata1: bus reset via SRST
[ata_dev_classify    ] found ATA device by sig
[ata_dev_classify    ] found ATA device by sig
[ata_bus_reset       ] EXIT
[ata_dev_identify    ] ENTER, host 1, dev 0
[ata_dev_identify    ] do ATA identify
[ata_exec_command_mmio] ata1: cmd 0xEC
[ata_pio_sector      ] data read
[ata_dump_id         ] 49==0x2f00  53==0x0007  63==0x0407  64==0x0003 
75==0x0000
[ata_dump_id         ] 80==0x00fe  81==0x001e  82==0x346b  83==0x7f01 
84==0x4003
[ata_dump_id         ] 88==0x003f  93==0x600b
ata1: dev 0 ATA-7, max UDMA/100, 156368016 sectors: LBA48
[ata_dev_identify    ] EXIT, drv_stat = 0x50
[ata_dev_identify    ] ENTER/EXIT (host 1, dev 1) -- nodev
[ata_host_set_pio    ] base 0x8 xfer_mode 0xc mask 0x10 x 4
[ata_dev_set_xfermode] set features - xfer mode
[ata_exec_command_mmio] ata1: cmd 0xEF
[adma_intr_mmio      ] ata1: protocol 1 (dev_stat 0x50)
[ata_dev_set_xfermode] EXIT
[ata_dev_set_mode    ] idx=4 xfer_shift=0, xfer_mode=0x44, base=0x40, 
offset=4
ata1: dev 0 configured for UDMA/66
[ata_device_add      ] ata1: probe end
scsi0 : pdc_adma
[ata_device_add      ] ata2: probe begin
[ata_bus_reset       ] ENTER, host 2, port 1
[ata_bus_softreset   ] ata2: bus reset via SRST
ata2: disabling port
[ata_bus_reset       ] EXIT
[ata_device_add      ] ata2: probe end
scsi1 : pdc_adma
[ata_device_add      ] probe begin
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 12 00 00 00 24 00 5a 5a 5a
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 12 00 00 00 60 00 5a 5a 5a
   Vendor: ATA       Model: SAMSUNG SP0802N   Rev: TK30
   Type:   Direct-Access                      ANSI SCSI revision: 05
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 00 00 00 00 00 00 5a 5a 5a
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 25 00 00 00 00 00 00 00 00
SCSI device sda: 156368016 512-byte hdwr sectors (80060 MB)
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 5a 00 3f 00 00 00 00 00 08
sda: Write Protect is off
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 5a 00 08 00 00 00 00 00 08
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 5a 00 08 00 00 00 00 00 24
SCSI device sda: drive cache: write back
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 00 00 00 00 00 00 5a 5a 5a
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 25 00 00 00 00 00 00 00 00
SCSI device sda: 156368016 512-byte hdwr sectors (80060 MB)
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 5a 00 3f 00 00 00 00 00 08
sda: Write Protect is off
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 5a 00 08 00 00 00 00 00 08
[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 5a 00 08 00 00 00 00 00 24
SCSI device sda: drive cache: write back
  sda:<3>[ata_scsi_dump_cdb   ] CDB (1:0,0,0) 28 00 00 00 00 00 00 00 08
[ata_sg_setup        ] 1 sg elements mapped
<-----locked up------>

-- 
tejun

  reply	other threads:[~2006-08-04 15:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04 12:00 libata-dev#upstream pdc_adma fails IDENTIFY w/ AC_ERR_HSM Tejun Heo
2006-08-04 13:56 ` Mark Lord
2006-08-04 14:18   ` Tejun Heo
2006-08-04 15:02     ` Tejun Heo [this message]
2006-08-04 15:30 ` Jeff Garzik
2006-08-04 16:09   ` Mark Lord
2006-08-04 16:26     ` Tejun Heo
2006-08-08  6:18       ` Albert Lee
2006-08-09  9:30         ` Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44D36176.7030407@gmail.com \
    --to=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.