All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sérgio Monteiro Basto" <sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org>
To: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Cc: Andrew de Quincey
	<adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org>,
	acpi-devel
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Instability without ACPI and quirks
Date: 12 Jul 2003 04:25:23 +0100	[thread overview]
Message-ID: <1057980324.1470.61.camel@darkstar.portugal> (raw)
In-Reply-To: <20030711184648.GN22636-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>

Hi thanks for replying 
Results:
root@darkstar:~#/setpci -v -H1 -s 0:0.0 52
00:00.0:52 = eb
root@darkstar:~#setpci -v -H1 -s 0:0.0 52=$(printf %x $((0x$(setpci -H1 -s 0:0.0 52) | 0x80)))
00:00.0:52 eb
root@darkstar:~#setpci -v -H1 -s 0:0.0 52=$(printf %x $((0x$(setpci -H1 -s 0:0.0 52) & 0x7f)))
00:00.0:52 6b
root@darkstar:~#setpci -v -H1 -s 0:0.0 52=$(printf %x $((0x$(setpci -H1 -s 0:0.0 52) | 0x80)))
00:00.0:52 eb

I don't resit to tell you, this doesn't do nothing !
so why 52 ? 

I have a compaq presario 706EA
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
(rev 80)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
40)

Seems to be one KT133 but I am not sure,
This for me doesn't make sense every via chipset or every Athlons have a
rol of bugs, but for me the conclusion is:
Without acpi, we can put this kind of machine working correctly. 
first because they are purely ACPI implementation ( the beginning of
implementation of ACPI in ordinary laptops? )   
Other thing is APIC, with someones APIC is disable by kernel, sometimes
we have to disable it and other time APIC seems to be detected but we
have problems with IRQ routing.
So many time I ask people to disable APIC no know if it work better or
if can resolve some problem, for me, is a test that I like to be
informed.
So I try to find out IRQ routing problems on my laptop (of course) and I
found one bunch of quirks, so my (not well proved) theory is that bunch
of quirks is to correct the problem of don't have ACPI. 
Since now (happily) have ACPI in main kernel maybe we can begging
removing quirks from kernel.
I am testing (in my laptop) the first two removing quirks
quirk_via_acpi 
quirk_vt82c686_acpi
this two applied are applied to 00:07.4 Apollo Super ACPI
after 4 days, nothing happens (everything works fine).
And now I am going for next two 
this are applied to 00:07.5 VT82C686 AC97 Audio Controller and 00:07.2
USB Controller and is the same function in drivers/pci/quirks.c where
you can read :
 * Via 686A/B:  The PCI_INTERRUPT_LINE register for the on-chip
 * devices, USB0/1, AC97, MC97, and ACPI, has an unusual feature:
 * when written, it makes an internal connection to the PIC.
 * For these devices, this register is defined to be 4 bits wide.
 * Normally this is fine.  However for IO-APIC motherboards, or
 * non-x86 architectures (yes Via exists on PPC among other places),
 * we must mask the PCI_INTERRUPT_LINE value versus 0xf to get
 * interrupts delivered properly.
 *
 * TODO: When we have device-specific interrupt routers,
 * quirk_via_irqpic will go away from quirks.


Thanks


On Fri, 2003-07-11 at 19:46, Ducrot Bruno wrote:
> On Fri, Jul 11, 2003 at 07:17:25PM +0100, Sérgio Monteiro Basto wrote:
> > On Fri, 2003-07-11 at 18:26, Ducrot Bruno wrote:
> > > 
> > > You probably need acpi due to power states for the cpu.  Common problem
> > > with laptop shipped with athlon in general (there is a tool called
> > > lvcool though if you do not have acpi).
> > 
> > sounds cool
> > I have one athlon 4 on one KT133.
> > but after reading 
> > http://cip.uni-trier.de/nofftz/linux/Athlon-Powersaving-HOWTO.html
> > 
> > in 2.5
> > This is the only solution which does not use the ACPI system of the
> > Linux kernel. 
> 
> This one will do exactly what ACPI does (that is, in the main loop,
> read LVL2 register).  So the exact same issue will likely happens.
> 
> ...
> 
> > 2.1. The Command-line Hack
> > you can enable/disable the power-saving right from the command-line
> > without any need for rebooting.
> > 
> > on KT133/133A, KX133, KL/KLE133, KM/KN133, ...:
> > enable: setpci -v -H1 -s 0:0.0 52=$(printf %x $((0x$(setpci -H1 -s 0:0.0
> > 52) | 0x80)))
> > disable: setpci -v -H1 -s 0:0.0 52=$(printf %x $((0x$(setpci -H1 -s
> > 0:0.0 52) & 0x7f))) 
> > 
> > How I know if it enable or disable ?
> 
> setpci -H1 -s 0:0.0 52
> then look if bit 8 is set (enable) or not (disable).
> 
> > is it safe try this commands?
> 
> I don't know.
> 
> -- 
> Ducrot Bruno
> 
> --  Which is worse:  ignorance or apathy?
> --  Don't know.  Don't care.
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
-- 
SérgioMB
email: sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org

Who gives me one shell, give me everything.



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1

  parent reply	other threads:[~2003-07-12  3:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-10 23:22 ACPI PCI routing problem Andrew de Quincey
     [not found] ` <200307110022.29512.adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org>
2003-07-11  0:14   ` Andrew de Quincey
2003-07-11 10:14   ` Ducrot Bruno
     [not found]     ` <20030711101441.GO7796-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-07-11 11:43       ` Andrew de Quincey
     [not found]         ` <200307111243.34695.adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org>
2003-07-11 12:51           ` Ducrot Bruno
     [not found]             ` <20030711125126.GA22636-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-07-11 12:56               ` Andrew de Quincey
     [not found]                 ` <200307111356.22376.adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org>
2003-07-11 14:02                   ` Ducrot Bruno
     [not found]                     ` <20030711140227.GF22636-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-07-11 16:23                       ` Andrew de Quincey
2003-07-11 17:06                       ` Instability without ACPI Andrew de Quincey
     [not found]                         ` <200307111806.57883.adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org>
2003-07-11 17:26                           ` Ducrot Bruno
     [not found]                             ` <20030711172639.GL22636-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-07-11 18:17                               ` Sérgio Monteiro Basto
     [not found]                                 ` <1057947446.1451.51.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2003-07-11 18:46                                   ` Ducrot Bruno
     [not found]                                     ` <20030711184648.GN22636-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-07-12  3:25                                       ` Sérgio Monteiro Basto [this message]
     [not found]                                         ` <1057980324.1470.61.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2003-07-12 12:39                                           ` Instability without ACPI and quirks Andrew de Quincey
2003-07-11 14:09           ` ACPI PCI routing problem Alan Cox
     [not found]             ` <1057932596.20629.0.camel-2MMpYkNvuYAXoXS6vNje7nviChZXdy279dF7HbQ/qKg@public.gmane.org>
2003-07-11 16:29               ` Andrew de Quincey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1057980324.1470.61.camel@darkstar.portugal \
    --to=sergiomb-hho3weeoaswvhhzd4jos4w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=adq_dvb-fmPXVN3awWJAJAzL26g0SA@public.gmane.org \
    --cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.