public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Praveen C" <cpravn-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: "Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: RE: acpi on r40e
Date: Sat, 21 Feb 2004 14:27:30 +0000 (GMT)	[thread overview]
Message-ID: <20040221142730.45974.qmail@web14525.mail.yahoo.com> (raw)

 --- Praveen C <cpravn-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > Hello
> I have discovered some more info regarding the problems with
> processor
> and thermal modules on R40e. It looks like there is some problem with
> processor module and IDE. When I boot kernel 2.6.2 with all acpi
> modules inbuilt into the kernel, then the machine hangs while
> executing
> drivers/ide/ide-disk.c
> 
> in function idedisk_check_hpa (This checks if the machine has a host
> protected area, which is present on r40e)
>
-----------------------------------------------------------------------------------------------
> if(lba48)
>         set_max = idedisk_read_native_max_address_ext(drive);
> else
>         //control reaches here
>         set_max = idedisk_read_native_max_address(drive);
>         // HANGS, DOES NOT COME OUT OF ABOVE FUNCTION
> 
> if(set_max <= capacity)
>    return;
> 
> printk(KERN_INFO "%s: Host protected area ..........
>
-----------------------------------------------------------------------------------------------
> 
> WIth acpi inbuilt, I see in the boot messages that processor modules
> loads and says 8 throttling states found, thermal loads and displays
> current temperature; then the ide is probed and it hangs in the
> position I indicated above.
> 
> If I build the acpi stuff as modules, and try to load them (modprobe)
> after full boot, then the machine hangs if I try to modprobe
> processor
> module. I dont get any messages in the log because the processor
> module
> seems to be doing something to IDE.
> 
> Can you please tell me what the processor module is doing to IDE ? 
> praveen

lspci on R40e gives the IDE Interface

00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if fa)
	Subsystem: IBM: Unknown device 053d
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0 (500ns min, 1000ns max)
	Interrupt: pin A routed to IRQ 0
	Region 4: I/O ports at 8080 [size=16]
	Capabilities: [60] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-


In the linux kernel I select Ali M15x3 chipset support which provides
the IDE controller for M5229.

Snip from dmesg

ALI15X3: IDE controller at PCI slot 0000:00:0f.0
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8080-0x8087, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x8088-0x808f, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU MHS2020AT E, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CD-224E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB

praveen

=====
http://www.cpraveen.tk/

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

             reply	other threads:[~2004-02-21 14:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-21 14:27 Praveen C [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-18 15:27 acpi on r40e Praveen C
2004-03-02  5:57 Praveen C
2004-02-25 17:53 Praveen C
2004-02-25  9:29 Yu, Luming
2004-02-17  8:14 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6CD-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-17 16:36   ` Praveen C
2004-02-17  7:03 Brown, Len
     [not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2004-02-17  7:40   ` Ian Pilcher
2004-02-19 14:04   ` Praveen C
2004-02-21 13:26   ` Praveen C
2004-02-17  5:47 Yu, Luming
2004-02-17  5:10 Brown, Len
2004-02-16 10:25 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6C4-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-16 14:03   ` Praveen C
2004-02-13  5:46 Brown, Len
2004-02-13  4:22 Yu, Luming
2004-02-12  3:18 Yu, Luming
2004-02-10  5:18 Praveen C
     [not found] ` <Pine.LNX.4.44.0402101040090.27892-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
2004-02-11 21:48   ` Sandro Weiser
2004-02-08  5:31 Praveen C
2004-02-07 16:20 Praveen C
     [not found] ` <Pine.LNX.4.44.0402072145280.2886-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
2004-02-10  4:34   ` Len Brown
     [not found]     ` <1076387688.4110.576.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-10 16:12       ` Nate Lawson
2004-02-12 16:57       ` Praveen C
     [not found]         ` <20040212165744.446.qmail-78ZWb/MBLhGA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-02-12 18:01           ` Nate Lawson

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=20040221142730.45974.qmail@web14525.mail.yahoo.com \
    --to=cpravn-/e1597as9lqavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=luming.yu-ral2JQCrhuEAvxtiuMwx3w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox