All of lore.kernel.org
 help / color / mirror / Atom feed
* assertion failure in libata-core
@ 2005-10-28 10:40 Bram Stolk
  0 siblings, 0 replies; 3+ messages in thread
From: Bram Stolk @ 2005-10-28 10:40 UTC (permalink / raw)
  To: linux-kernel

Hi,


When enabling atapi, I got the following assertion failure:

Assertion failed! qc->flags &
ATA_QCFLAG_ACTIVE,drivers/scsi/libata-core.c,ata_qc_complete,line=3232

This is when booting my 2.6.14-rc5 kernel with two sata devices:
a maxtor hd, and a plextor dvd writer.

   Bram
-------------------------------------
Some context for the failure:

ata1: SATA max UDMA/133 cmd 0xF8806100 ctl 0x0 bmdma 0x0 irq 19
ata2: SATA max UDMA/133 cmd 0xF8806180 ctl 0x0 bmdma 0x0 irq 19
ata3: SATA max UDMA/133 cmd 0xF8806200 ctl 0x0 bmdma 0x0 irq 19
ata4: SATA max UDMA/133 cmd 0xF8806280 ctl 0x0 bmdma 0x0 irq 19
ata1: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:001f
ata1: dev 0 ATAPI, max UDMA/66
ata1(0): applying bridge limits
ata1: dev 0 configured for UDMA/66
scsi0 : ahci
ata2: no device found (phy stat 00000000)
scsi1 : ahci
ata3: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4063 85:7c69 86:3e01 87:4063 88:007f
ata3: dev 0 ATA, max UDMA/133, 490234752 sectors: lba48
ata3: dev 0 configured for UDMA/133
scsi2 : ahci
ata4: no device found (phy stat 00000000)
scsi3 : ahci
   Vendor: PLEXTOR   Model: DVDR   PX-716A    Rev: 1.07
   Type:   CD-ROM                             ANSI SCSI revision: 05
ata1: error occurred, port reset
ata1: error occurred, port reset
Assertion failed! qc->flags &
ATA_QCFLAG_ACTIVE,drivers/scsi/libata-core.c,ata_qc_complete,line=3232
  0:0:0:0: timing out command, waited 18s
  0:0:0:0: timing out command, waited 18s
   Vendor: ATA       Model: Maxtor 6L250S0    Rev: BANC
   Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sda: drive cache: write back
  sda: sda1 sda2 < sda5 > sda3
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
sr 0:0:0:0: timing out command, waited 90s
sr 0:0:0:0: timing out command, waited 90s
sr 0:0:0:0: timing out command, waited 90s
sr 0:0:0:0: timing out command, waited 90s
sr 0:0:0:0: timing out command, waited 90s
sr 0:0:0:0: timing out command, waited 90s
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 5
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0,  type 0



^ permalink raw reply	[flat|nested] 3+ messages in thread
* assertion failure in libata-core
@ 2005-10-29 17:09 Bram Stolk
  2005-10-29 17:27 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Bram Stolk @ 2005-10-29 17:09 UTC (permalink / raw)
  To: linux-ide

Hello,


I've been trying very hard to get my sata dvd burner to work.
It is a plextor PX-716SA.

I tried the following kernels:

linux-2.6.14-rc5
linux-2.6.14
linux-2.6.14-rc5-mm1 (contains sil24 support)

All with the same result: assertion failure.

Assertion failed! qc->flags &
ATA_QCFLAG_ACTIVE,drivers/scsi/libata-core.c,ata_qc_complete,line=3232

Now, my board has 2 sata interfaces: one from intel,
and one from Sillicon Image.

If I use libata.atapi_enabled=1 and connect the drive to the
intel sata, I get the assertion mentioned above.

If I connect the drive to the sil sata, it is not detected,
and I get this error:
sata_sil24 version 0.22
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:05:00.0 to 64
ata5: SATA max UDMA/100 cmd 0xF8838000 ctl 0x0 bmdma 0x0 irq 19
ata6: SATA max UDMA/100 cmd 0xF883A000 ctl 0x0 bmdma 0x0 irq 19
ata5: no device found (phy stat 00000000)
scsi4 : sata_sil24
sata_sil24 ata6: error interrupt on port1
   stat=0x80000001 irq=0xb60002 cmd_err=1 sstatus=0x113 serror=0x0
sata_sil24 ata6: resetting controller...
scsi5 : sata_sil24

How can I use this SATA DVD drive under linux on sata-ahci or sata-sil24?

thanks,

   Bram Stolk

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

end of thread, other threads:[~2005-10-29 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 10:40 assertion failure in libata-core Bram Stolk
  -- strict thread matches above, loose matches on Subject: below --
2005-10-29 17:09 Bram Stolk
2005-10-29 17:27 ` Jeff Garzik

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.