NatSemi SC1200 timer problems

NatSemi SC1200 timer problems

Post by Christer Weinige » Sat, 23 Mar 2002 01:30:14



Hi,

I'm seeing some very strange problems with a NatSemi SC1200 based
system.  The problems is that the code to read the PIT counter
sometimes returns the bytes swapped:

    outb(0, 0x43);
    count = inb(0x40);
    count |= inb(0x40) << 8;

This sometimes gives 0x822e instead of 0x2e82 that is reasonable.  I
first thought this was a bug in another driver, but sometimes the
counter read from the timer would be 0xd5dd and that value should be
impossible to get, so I'm starting to suspect the hardware.

Besides this, I have a report that the TSC sometimes jumps ahead, so
that the reported time of day will be about 7 seconds more than it
should be.  

Does any of this sound familar?


timer bug on his web page, but I have been unable to find any
information on the net on what the bug actually is.  Could you tell me
a bit more about it?  I'm trying to figure out if it has reappeared in
the SC1200 or if this is a completely new problem.

Alan, i think did a patch to disable the TSC on the MediaGX and I have
seen posts by you where you say about the MediaGX that "It reports a
TSC but the TSC is unreliable at least in certain strange
circumstances".  Do you refer to the TSC being stopped or turned off
on halt or suspend or is it a completely different problem?  Could you
please tell me what kind of problems you saw?

Regards,
   Christer (pulling his hair in confusion)

--
"Just how much can I get away with and still go to heaven?"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

NatSemi SC1200 timer problems

Post by Alan Co » Sat, 23 Mar 2002 01:40:11


Quote:> Alan, i think did a patch to disable the TSC on the MediaGX and I have
> seen posts by you where you say about the MediaGX that "It reports a
> TSC but the TSC is unreliable at least in certain strange
> circumstances".  Do you refer to the TSC being stopped or turned off
> on halt or suspend or is it a completely different problem?  Could you
> please tell me what kind of problems you saw?

On the 5510/5520 bugs in the timers prevent use getting the TSC/delay
calibrated. This works ok on the 5530. I also saw some really bizarre goings
on with the TSC on some devices like joystick.

The older kernels kill TSC on any MediaGX (but will miss newer geodes due
to the cpuid change). Current one will kill tsc on 5510/5520 and knows
the new geode idents

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Can't find watchdog timer (sc1200)

Hi

I can't make linux (2.4.19-rc1) detect the watchdog timer in the sc1200. Any
ideas?

Should this one show up in /proc/pci?

output from cpuinfo is below

thanks

roy


processor       : 0
vendor_id       : Geode by NSC
cpu family      : 5
model           : 9
model name      : Unknown
stepping        : 1
cpu MHz         : 266.651
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu tsc msr cx8 cmov mmx cxmmx
bogomips        : 530.84

--
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Problem with timing

3. Problems with Natsemi.c (Netgear FA311) and Alpha?

4. PPP & Bay Networks X2 box problem

5. natsemi.c - Problems/Questions

6. Apache, PHP, HTTP/1.1 (Expect header)

7. monte/natsemi problem

8. Anyone out there using a qic-02 tape drive?

9. Natsemi Multicast rx problem, workaround

10. NatSemi DP83820 driver problem

11. 2.0.36 boot problem - NatSemi PC87306 FDC doesn't boot

12. High-res-timers part 3 (POSIX clocks & timers) take 5

13. POSIX timers versus System V timers