linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.5.31 boot failure on pdc20267
@ 2002-08-16  9:21 Petr Vandrovec
  2002-08-16  9:27 ` Andre Hedrick
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vandrovec @ 2002-08-16  9:21 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: martin, linux-kernel

On 15 Aug 02 at 22:13, Mikael Pettersson wrote:
> Petr Vandrovec writes:
>  > On 15 Aug 02 at 17:15, Mikael Pettersson wrote:
>  > > Booting 2.5.31 (non-bk) on hde5, a UDMA(66) Quantum Fireball
>  > > on a PDC20267 add-on card, resulted in a complete hang as init
>  > > came to its "mount -n -o remount,rw /" point. No visible messages
>  > > or anything in the log.
>  > 
>  > Known bug. Apply IDE113 (Aug 06, 11:02 CEST, from Martin), or just open 
>  > drivers/ide/pcidma.c in your favorite text editor, look for (first) 
>  > #ifdef CONFIG_BLK_DEV_TRM290, and replace whole ifdef block with 
>  > '*--table |= cpu_to_le32(0x80000000);'
> 
> Tested. First time 2.5.31 + the patch booted it seemed to work, but hung
> later on while compiling a 2.4.19 kernel. No messages of any kind. The
> hang _seemed_ to coincide with the console screen blanker kicking in.
> Second boot went ok and I made sure the screen blanker wouldn't kick
> in while doing the compile, and it didn't hang.
> 
> This box is the only one so far I've seen this problem on, my other
> Intel chipset boxes actually seem to work fairly well with 2.5.31.

Yes. If you'll look at d1510r0c.pdf from ATA guys, you'll find that
between 0b and 0c revisions definition of EOT bit (highest bit of
length) was removed. It is very unfortunate because of now host
adapters cannot prefetch across segment boundaries, because of host
adapter does not know when transfer will terminate (unless host monitors
all accesses to the disk and maintains its own set of IDE registers 
(including HOB, so using > 256sectors transfers with such host adapters
which do not implement HOB is impossible)). It is also very dangerous 
because of for reads when drive generates more data than expected, with 
EOT flag transfer was terminated with error, but without EOT host will 
just fetch random entries after last valid, and will (silently) corrupt 
random memory. 

And Promise implements old, safe&prefetchable, interface, while Intel
just fetches more and more PRD entries as long as drive has/wants more 
data.
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    

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

* Re: 2.5.31 boot failure on pdc20267
  2002-08-16  9:21 2.5.31 boot failure on pdc20267 Petr Vandrovec
@ 2002-08-16  9:27 ` Andre Hedrick
  0 siblings, 0 replies; 7+ messages in thread
From: Andre Hedrick @ 2002-08-16  9:27 UTC (permalink / raw)
  To: Petr Vandrovec; +Cc: Mikael Pettersson, linux-kernel

On Fri, 16 Aug 2002, Petr Vandrovec wrote:

> Yes. If you'll look at d1510r0c.pdf from ATA guys, you'll find that

BUZZIT!

That is an totally new transport protocol and if you research the pci
device class you would know that it has nothing to do with the problem.
If you guys are playing with ADMA on DMA Hosts, oh my!

The context of what is the EOT between the two HOST protocols has no
meaning.

Regards,


Andre Hedrick
LAD Storage Consulting Group


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

* Re: 2.5.31 boot failure on pdc20267
  2002-08-16  9:48 Petr Vandrovec
@ 2002-08-16 10:10 ` Andre Hedrick
  0 siblings, 0 replies; 7+ messages in thread
From: Andre Hedrick @ 2002-08-16 10:10 UTC (permalink / raw)
  To: Petr Vandrovec; +Cc: Mikael Pettersson, linux-kernel


Petr,

No d1510r0c.pdf refers to a new created device class 0x0105.
But then again you do not read or vote on the documents so why should I
expect more from you?

[root@xathy root]# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 11)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 02)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 03)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 02)
00:08.0 Unknown mass storage controller: CMD Technology Inc: Unknown device 3112 (rev 01)
00:09.0 Ethernet controller: Intel Corp. 82543GC Gigabit Ethernet Controller (rev 02)
00:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 02)
01:05.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01)
02:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-768 [Opus] USB (rev 07)
02:04.0 Class 0105: Pacific Digital Corp: Unknown device 1841 (rev 40)
02:06.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 21)

Now LOOK who is STUPID NOW!
Now read the head of the document and the name of the company?

Now go look at page 26 table 14.

Some day you will learn I am an expert in my field.  I have the hardware
that document refers to and you are smoking a crack pipe.

Proper document you want, heh?  e02105r0 amendment to d1510r0c.pdf

For those who are clueless "Petr Vandrovec", e02105r0 is a direct
reference to the retired SFF-8038i document orginally put forward by
Intel.

If I did not know any better, you are becoming what I used to be.

Regards,

Andre Hedrick
LAD Storage Consulting Group


On Fri, 16 Aug 2002, Petr Vandrovec wrote:

> On 16 Aug 02 at 2:27, Andre Hedrick wrote:
> > On Fri, 16 Aug 2002, Petr Vandrovec wrote:
> > 
> > > Yes. If you'll look at d1510r0c.pdf from ATA guys, you'll find that
> > 
> > BUZZIT!
> > 
> > That is an totally new transport protocol and if you research the pci
> > device class you would know that it has nothing to do with the problem.
> > If you guys are playing with ADMA on DMA Hosts, oh my!
> 
> No. It just reveals that you have no idea what you are talking about.
> It was proven when you talked about EDD, and now it is proven again.
> Table 3 of rev 0f, page 11:
> 
> 
> Byte offset         Description              Attribute     Value
> 09h            Programming Interface Code  | See Table 4 | Defined in table 1
> 0Ah            Subclass code                 Read-only     01h - IDE
> 0Bh            Base class code               Read-only     01h - Mass Storage
> 
> and to your surprise, my IDE interface is:
> 00:1f.1 Class 0101: 8086:244b (rev 05) (prog-if 80 [Master])
> so if this device should not have Class 0101, then there is certainly
> some problem somewhere.
>  
> > The context of what is the EOT between the two HOST protocols has no
> > meaning.
> 
> Yes? Then please tell me what chapter 6, PCI Compatibility and Native
> Bus Master Adapters, pages 22-28 of rev 0c, talks about...
> 
> In rev 0f it is chapter 5, same name, PDF pages 19-26, document pages 10-17.
> EOT is back here in this revision, so actually current standard is OK,
> and Intel is misbehaving (or maybe just "extending" standard?).
> 
> And if you insist that this chapter does not describe UDMA busmastering
> programming interface, then please point me to the correct document.
> There is no other document with simillar name on the T13 web.
>                                                 Petr Vandrovec
>                                                 vandrove@vc.cvut.cz
>                                                 
> 


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

* Re: 2.5.31 boot failure on pdc20267
@ 2002-08-16  9:48 Petr Vandrovec
  2002-08-16 10:10 ` Andre Hedrick
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vandrovec @ 2002-08-16  9:48 UTC (permalink / raw)
  To: Andre Hedrick; +Cc: Mikael Pettersson, linux-kernel

On 16 Aug 02 at 2:27, Andre Hedrick wrote:
> On Fri, 16 Aug 2002, Petr Vandrovec wrote:
> 
> > Yes. If you'll look at d1510r0c.pdf from ATA guys, you'll find that
> 
> BUZZIT!
> 
> That is an totally new transport protocol and if you research the pci
> device class you would know that it has nothing to do with the problem.
> If you guys are playing with ADMA on DMA Hosts, oh my!

No. It just reveals that you have no idea what you are talking about.
It was proven when you talked about EDD, and now it is proven again.
Table 3 of rev 0f, page 11:


Byte offset         Description              Attribute     Value
09h            Programming Interface Code  | See Table 4 | Defined in table 1
0Ah            Subclass code                 Read-only     01h - IDE
0Bh            Base class code               Read-only     01h - Mass Storage

and to your surprise, my IDE interface is:
00:1f.1 Class 0101: 8086:244b (rev 05) (prog-if 80 [Master])
so if this device should not have Class 0101, then there is certainly
some problem somewhere.
 
> The context of what is the EOT between the two HOST protocols has no
> meaning.

Yes? Then please tell me what chapter 6, PCI Compatibility and Native
Bus Master Adapters, pages 22-28 of rev 0c, talks about...

In rev 0f it is chapter 5, same name, PDF pages 19-26, document pages 10-17.
EOT is back here in this revision, so actually current standard is OK,
and Intel is misbehaving (or maybe just "extending" standard?).

And if you insist that this chapter does not describe UDMA busmastering
programming interface, then please point me to the correct document.
There is no other document with simillar name on the T13 web.
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz
                                                

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

* Re: 2.5.31 boot failure on pdc20267
  2002-08-15 15:34 Petr Vandrovec
@ 2002-08-15 20:13 ` Mikael Pettersson
  0 siblings, 0 replies; 7+ messages in thread
From: Mikael Pettersson @ 2002-08-15 20:13 UTC (permalink / raw)
  To: Petr Vandrovec; +Cc: martin, linux-kernel

Petr Vandrovec writes:
 > On 15 Aug 02 at 17:15, Mikael Pettersson wrote:
 > > Booting 2.5.31 (non-bk) on hde5, a UDMA(66) Quantum Fireball
 > > on a PDC20267 add-on card, resulted in a complete hang as init
 > > came to its "mount -n -o remount,rw /" point. No visible messages
 > > or anything in the log.
 > 
 > Known bug. Apply IDE113 (Aug 06, 11:02 CEST, from Martin), or just open 
 > drivers/ide/pcidma.c in your favorite text editor, look for (first) 
 > #ifdef CONFIG_BLK_DEV_TRM290, and replace whole ifdef block with 
 > '*--table |= cpu_to_le32(0x80000000);'

Tested. First time 2.5.31 + the patch booted it seemed to work, but hung
later on while compiling a 2.4.19 kernel. No messages of any kind. The
hang _seemed_ to coincide with the console screen blanker kicking in.
Second boot went ok and I made sure the screen blanker wouldn't kick
in while doing the compile, and it didn't hang.

This box is the only one so far I've seen this problem on, my other
Intel chipset boxes actually seem to work fairly well with 2.5.31.

/Mikael

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

* Re: 2.5.31 boot failure on pdc20267
@ 2002-08-15 15:34 Petr Vandrovec
  2002-08-15 20:13 ` Mikael Pettersson
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vandrovec @ 2002-08-15 15:34 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: martin, linux-kernel

On 15 Aug 02 at 17:15, Mikael Pettersson wrote:
> Booting 2.5.31 (non-bk) on hde5, a UDMA(66) Quantum Fireball
> on a PDC20267 add-on card, resulted in a complete hang as init
> came to its "mount -n -o remount,rw /" point. No visible messages
> or anything in the log.

Known bug. Apply IDE113 (Aug 06, 11:02 CEST, from Martin), or just open 
drivers/ide/pcidma.c in your favorite text editor, look for (first) 
#ifdef CONFIG_BLK_DEV_TRM290, and replace whole ifdef block with 
'*--table |= cpu_to_le32(0x80000000);'

Test in the ifdef is exactly opposite, and #ifdef is also wrong.
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz
                                            

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

* 2.5.31 boot failure on pdc20267
@ 2002-08-15 15:15 Mikael Pettersson
  0 siblings, 0 replies; 7+ messages in thread
From: Mikael Pettersson @ 2002-08-15 15:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: martin

Booting 2.5.31 (non-bk) on hde5, a UDMA(66) Quantum Fireball
on a PDC20267 add-on card, resulted in a complete hang as init
came to its "mount -n -o remount,rw /" point. No visible messages
or anything in the log.

2.5.29 worked ok on this box, as does 2.4 and 2.2+Andre's IDE code.
ASUS P3B-F, 440BX UDMA(33) chipset, disks on a Promise Ultra100 card.

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

end of thread, other threads:[~2002-08-16 10:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-16  9:21 2.5.31 boot failure on pdc20267 Petr Vandrovec
2002-08-16  9:27 ` Andre Hedrick
  -- strict thread matches above, loose matches on Subject: below --
2002-08-16  9:48 Petr Vandrovec
2002-08-16 10:10 ` Andre Hedrick
2002-08-15 15:34 Petr Vandrovec
2002-08-15 20:13 ` Mikael Pettersson
2002-08-15 15:15 Mikael Pettersson

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).