[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Why is C so popular?



On Fri, 2003-08-29 at 11:03, Pigeon wrote:
> On Fri, Aug 29, 2003 at 08:05:31AM -0500, Ron Johnson wrote:
> > On Fri, 2003-08-29 at 00:59, Paul Johnson wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > > 
> > > On Wed, Aug 27, 2003 at 12:02:23PM -0500, Michael Heironimus wrote:
> > > > The world jumped off the IBM PC cliff, so we're still dealing with some
> > > > of the design mistakes IBM made the first time around.
> > > 
> > > And then people discovered they didn't have to jump off the retarded
> > > PC-BIOS cliff and started ignoring it for the most part.  I think the
> > > only people who still have to deal with bios retardation are WinDOS folks.
> > 
> > No, you're wrong.  Unless you've got APIC running, if your Linux 
> > box is x86, you're still carrying baggage from 1981.  Namely, the
> > limited number of IRQs. 
> 
> Which reminds me, that people may find this useful...
> 
> Problem: APIC-enabled kernel on VIA chipset hangs very early in
> booting (2.4.20, 82C686)
> 
> Solution: Disable APIC in BIOS... Instead of hanging, the kernel
> re-enables the APIC and proceeds merrily on its way.

Hey, I never noticed that!

$ dmesg | grep APIC
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Using local APIC timer interrupts.
calibrating APIC timer ...
PCI: Disabling Via external APIC routing

Note, though, "Disabling Via external APIC routing" and this:
$ cat /proc/interrupts
           CPU0
  0:  563586560          XT-PIC  timer
  1:    3329762          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:       1461          XT-PIC  usb-uhci, usb-uhci, ohci1394
  4:    9363329          XT-PIC  eth0
  8:        522          XT-PIC  rtc
 10:   38402578          XT-PIC  ide2
 12:   18145483          XT-PIC  PS/2 Mouse
 14:    7005607          XT-PIC  ide0
 15:       1311          XT-PIC  ide1

I'd have noticed a long time ago if there were more than 15 IRQs.



-- 
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA

"Oh, great altar of passive entertainment, bestow upon me thy 
discordant images at such speed as to render linear thought impossible"
Calvin, regarding TV



Reply to: