* SATA CDDVDRW and kernel 2.6.23.12 problems
@ 2008-01-11 15:19 Paul Surgeon
2008-01-21 7:36 ` Tejun Heo
0 siblings, 1 reply; 7+ messages in thread
From: Paul Surgeon @ 2008-01-11 15:19 UTC (permalink / raw)
To: linux-ide
I keep getting the following error messages during bootup with kernel
2.6.23.12 :
scsi 4:0:0:0: CD-ROM TSSTcorp CDDVDW TS-L633A UO00 PQ: 0 ANSI: 5
ata3.00: qc timeout (cmd 0xa0)
ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata3.00: (irq_stat 0x40000001)
ata3.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
res 51/60:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 (timeout)
ata3: soft resetting port
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.00: configured for PIO4
ata3: EH complete
The error repeats many times and it takes about 10 minutes for the box to boot.
If I unplug the DVD drive the problem naturally disappears.
The machine is an Intel SR1530SH.
Below is the output from lspci :
00:00.0 Host bridge: Intel Corporation Server DRAM Controller
00:01.0 PCI bridge: Intel Corporation Server Host-Primary PCI Express Bridge
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit
Network Connection (rev 02)
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 6 port SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02)
01:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit
Ethernet Controller (rev 06)
01:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit
Ethernet Controller (rev 06)
03:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e
[Pilot] ServerEngines (SEP1) (rev 02)
04:02.0 Ethernet controller: Intel Corporation 82541GI Gigabit
Ethernet Controller (rev 05)
I've tried switching acpi off, using irqpoll, switching from AHCI to
RAID in the BIOS but it makes no difference at all.
I also tried kernel 2.6.21.5 (Slackware 12.0) and the problem is still there.
Any ideas?
Thanks
Paul
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: SATA CDDVDRW and kernel 2.6.23.12 problems
2008-01-11 15:19 SATA CDDVDRW and kernel 2.6.23.12 problems Paul Surgeon
@ 2008-01-21 7:36 ` Tejun Heo
[not found] ` <Pine.BSO.4.64.0801210243230.22203@transpose.10k.org>
0 siblings, 1 reply; 7+ messages in thread
From: Tejun Heo @ 2008-01-21 7:36 UTC (permalink / raw)
To: Paul Surgeon; +Cc: linux-ide
Paul Surgeon wrote:
> I keep getting the following error messages during bootup with kernel
> 2.6.23.12 :
>
> scsi 4:0:0:0: CD-ROM TSSTcorp CDDVDW TS-L633A UO00 PQ: 0 ANSI: 5
> ata3.00: qc timeout (cmd 0xa0)
> ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> ata3.00: (irq_stat 0x40000001)
> ata3.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
> res 51/60:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 (timeout)
> ata3: soft resetting port
> ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata3.00: configured for PIO4
> ata3: EH complete
>
> The error repeats many times and it takes about 10 minutes for the box to boot.
> If I unplug the DVD drive the problem naturally disappears.
> The machine is an Intel SR1530SH.
>
> Below is the output from lspci :
> 00:00.0 Host bridge: Intel Corporation Server DRAM Controller
> 00:01.0 PCI bridge: Intel Corporation Server Host-Primary PCI Express Bridge
> 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit
> Network Connection (rev 02)
> 00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02)
> 00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 02)
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
> 00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
> 00:1f.2 SATA controller: Intel Corporation 6 port SATA AHCI Controller (rev 02)
> 00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02)
> 01:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit
> Ethernet Controller (rev 06)
> 01:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit
> Ethernet Controller (rev 06)
> 03:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e
> [Pilot] ServerEngines (SEP1) (rev 02)
> 04:02.0 Ethernet controller: Intel Corporation 82541GI Gigabit
> Ethernet Controller (rev 05)
>
> I've tried switching acpi off, using irqpoll, switching from AHCI to
> RAID in the BIOS but it makes no difference at all.
> I also tried kernel 2.6.21.5 (Slackware 12.0) and the problem is still there.
> Any ideas?
Hmm... Can you please give a shot at 2.6.24-rc8 and if that fails post
full kernel log?
--
tejun
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dvdrw->cdrom
[not found] ` <Pine.BSO.4.64.0801210243230.22203@transpose.10k.org>
@ 2008-01-21 8:49 ` Tejun Heo
2008-01-21 10:05 ` dvdrw->cdrom Jake
0 siblings, 1 reply; 7+ messages in thread
From: Tejun Heo @ 2008-01-21 8:49 UTC (permalink / raw)
To: Jake; +Cc: IDE/ATA development list
[restoring linux-ide. please don't drop cc's. use reply-to-all.]
Jake wrote:
> Hi, Tejun:
>
> http://marc.info/?l=linux-ide&m=120069298104580&w=4
>
> It has been 2 weeks here hunting for some solutions,
> can you recommend anything that I should try? Thank you.
Can you please post full boot log from the working kernel && broken
kernel? It seems you were using ide-scsi driver previously, right?
Also, w/ libata driver, does the reading part work okay? Can you read cd's?
--
tejun
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dvdrw->cdrom
2008-01-21 8:49 ` dvdrw->cdrom Tejun Heo
@ 2008-01-21 10:05 ` Jake
2008-01-21 10:13 ` dvdrw->cdrom Tejun Heo
0 siblings, 1 reply; 7+ messages in thread
From: Jake @ 2008-01-21 10:05 UTC (permalink / raw)
To: Tejun Heo; +Cc: IDE/ATA development list
>> http://marc.info/?l=linux-ide&m=120069298104580&w=4
>>
>> It has been 2 weeks here hunting for some solutions,
>> can you recommend anything that I should try? Thank you.
>
> Can you please post full boot log from the working kernel && broken
> kernel? It seems you were using ide-scsi driver previously, right?
> Also, w/ libata driver, does the reading part work okay? Can you read cd's?
Sure, Tejun, here they are:
working 2.6.16 kernel boot log
http://tinyurl.com/2xtzjf
broken 2.6.23.9 kernel boot log
http://tinyurl.com/yvkq6v
I will reboot as soon as my batch job completes to test the cds.
Jake
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dvdrw->cdrom
2008-01-21 10:05 ` dvdrw->cdrom Jake
@ 2008-01-21 10:13 ` Tejun Heo
2008-01-21 14:12 ` dvdrw->cdrom Robert Hancock
0 siblings, 1 reply; 7+ messages in thread
From: Tejun Heo @ 2008-01-21 10:13 UTC (permalink / raw)
To: Jake; +Cc: IDE/ATA development list, Robert Hancock
Jake wrote:
>>> http://marc.info/?l=linux-ide&m=120069298104580&w=4
>>>
>>> It has been 2 weeks here hunting for some solutions,
>>> can you recommend anything that I should try? Thank you.
>>
>> Can you please post full boot log from the working kernel && broken
>> kernel? It seems you were using ide-scsi driver previously, right?
>> Also, w/ libata driver, does the reading part work okay? Can you read
>> cd's?
>
> Sure, Tejun, here they are:
>
> working 2.6.16 kernel boot log
> http://tinyurl.com/2xtzjf
>
> broken 2.6.23.9 kernel boot log
> http://tinyurl.com/yvkq6v
>
> I will reboot as soon as my batch job completes to test the cds.
Does sata_nv.adma=0 fix your problem?
--
tejun
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dvdrw->cdrom
2008-01-21 10:13 ` dvdrw->cdrom Tejun Heo
@ 2008-01-21 14:12 ` Robert Hancock
2008-01-22 3:42 ` dvdrw->cdrom Jake
0 siblings, 1 reply; 7+ messages in thread
From: Robert Hancock @ 2008-01-21 14:12 UTC (permalink / raw)
To: Tejun Heo; +Cc: Jake, IDE/ATA development list
Tejun Heo wrote:
> Jake wrote:
>>>> http://marc.info/?l=linux-ide&m=120069298104580&w=4
>>>>
>>>> It has been 2 weeks here hunting for some solutions,
>>>> can you recommend anything that I should try? Thank you.
>>> Can you please post full boot log from the working kernel && broken
>>> kernel? It seems you were using ide-scsi driver previously, right?
>>> Also, w/ libata driver, does the reading part work okay? Can you read
>>> cd's?
>> Sure, Tejun, here they are:
>>
>> working 2.6.16 kernel boot log
>> http://tinyurl.com/2xtzjf
>>
>> broken 2.6.23.9 kernel boot log
>> http://tinyurl.com/yvkq6v
>>
>> I will reboot as soon as my batch job completes to test the cds.
>
> Does sata_nv.adma=0 fix your problem?
This is almost certainly the already-known DMA mask issue with ADMA
enabled and memory over 4GB present.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: dvdrw->cdrom
2008-01-21 14:12 ` dvdrw->cdrom Robert Hancock
@ 2008-01-22 3:42 ` Jake
0 siblings, 0 replies; 7+ messages in thread
From: Jake @ 2008-01-22 3:42 UTC (permalink / raw)
To: Tejun Heo; +Cc: Robert Hancock, IDE/ATA development list
>> Jake wrote:
>>>>> http://marc.info/?l=linux-ide&m=120069298104580&w=4
>>>>>
>>>>> It has been 2 weeks here hunting for some solutions, can you
>>>>> recommend anything that I should try? Thank you.
>>>> Can you please post full boot log from the working kernel && broken
>>>> kernel? It seems you were using ide-scsi driver previously, right?
>>>> Also, w/ libata driver, does the reading part work okay? Can you
>>>> read cd's?
>>>
>>> I will reboot as soon as my batch job completes to test the cds.
>>
>> Does sata_nv.adma=0 fix your problem?
>
> This is almost certainly the already-known DMA mask issue with ADMA enabled
> and memory over 4GB present.
Tejun,
the boot flag made the difference!
Ahh, so it is > and = 4GB (I have exactly 4GB).
I will pass on the wisdom in hope to save someone
else a few hours down the road.
Thank you!
Jake
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-01-22 3:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-11 15:19 SATA CDDVDRW and kernel 2.6.23.12 problems Paul Surgeon
2008-01-21 7:36 ` Tejun Heo
[not found] ` <Pine.BSO.4.64.0801210243230.22203@transpose.10k.org>
2008-01-21 8:49 ` dvdrw->cdrom Tejun Heo
2008-01-21 10:05 ` dvdrw->cdrom Jake
2008-01-21 10:13 ` dvdrw->cdrom Tejun Heo
2008-01-21 14:12 ` dvdrw->cdrom Robert Hancock
2008-01-22 3:42 ` dvdrw->cdrom Jake
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).