More info on port 80 symptoms on MCP51 machine.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David P. Reed
Date: Wednesday, December 12, 2007 - 1:07 pm

Sadly, I've been busy with other crises in my day job for the last few 
days.   I did modify Rene's test program and ran it on my "problem" 
machine, with the results below.

The interesting part of this is that port 80 seems to respond to "in" 
instructions faster than the presumably "unused" ports 0xEC  and 0XEF  
(those were mentioned by someone as alternatives to port 80).

That, and the fact that the port 80 test reliably freezes the machine 
solid the second time it is run, and the "hwclock" utility reliably 
hangs the machine if the port 80's are used in the CMOS_READ/CMOS_WRITE 
loop, seems to strongly indicate that this chipset or motherboard 
actually uses port 80, rather than there being a bus problem.

Someone might have an in to nVidia to clarify this, since I don't.  In 
any case, the udelay(2) approach seems to be a safe fix for this machine.

Hope input from an "outsider" is helpful in going forward.   I put a lot 
of time and effort into tracking down this problem on this particular 
machine model, largely because I like the machine.

Running the (slightly modified to test ports 80, ec, ef instead of just 
port 80) test when the 2 GHz max speed CPU is running at 800 MHz, here's 
what I get for port 80 and port ec and port ef.

port 80:   cycles: out 1430, in 792
port ef:    cycles: out 1431, in 1378
port ec:   cycles: out 1432, in 1372
----------------------------

System info:  HP Pavilion dv9000z laptop (AMD64x2)

PCI bus controller is nVidia MCP51.
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 72
model name      : AMD Turion(tm) 64 X2 Mobile Technology TL-60
stepping        : 2
cpu MHz         : 800.000
cache size      : 512 KB
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern ..., Dr. David Alan Gilbert, (Sun Dec 9, 6:41 am)
Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern ..., linux-os (Dick Johnson), (Tue Dec 11, 8:41 am)
Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern ..., linux-os (Dick Johnson), (Tue Dec 11, 1:27 pm)
Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern ..., linux-os (Dick Johnson), (Wed Dec 12, 6:11 am)
More info on port 80 symptoms on MCP51 machine., David P. Reed, (Wed Dec 12, 1:07 pm)
Re: More info on port 80 symptoms on MCP51 machine., Rene Herman, (Wed Dec 12, 1:26 pm)
Re: Attitude problems., linux-os (Dick Johnson), (Wed Dec 12, 1:31 pm)
Re: More info on port 80 symptoms on MCP51 machine., David P. Reed, (Wed Dec 12, 1:37 pm)
Re: More info on port 80 symptoms on MCP51 machine., H. Peter Anvin, (Wed Dec 12, 2:05 pm)
Re: Attitude problems., linux-os (Dick Johnson), (Fri Dec 14, 9:01 am)
Re: More info on port 80 symptoms on MCP51 machine., Chuck Ebbert, (Fri Dec 14, 3:05 pm)
Re: More info on port 80 symptoms on MCP51 machine., Rene Herman, (Sat Dec 15, 12:22 am)
RE: More info on port 80 symptoms on MCP51 machine., Allen Martin, (Sat Dec 15, 3:34 pm)
Re: More info on port 80 symptoms on MCP51 machine., H. Peter Anvin, (Sat Dec 15, 3:46 pm)