acpi on r40e
--- Praveen C <cpravn-/[email protected]> wrote: > Hello
Quoted 11 lines
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 executingdrivers/ide/ide-disk.cin function
idedisk_check_hpa(This checks if the machine has a host protected area, which is present on r40e)
-----------------------------------------------------------------------------------------------
Quoted 7 lines
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
Quoted 5 lines
if(set_max <= capacity)
return;printk(KERN_INFO "%s: Host protected area ..........
-----------------------------------------------------------------------------------------------
Quoted 13 lines
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.
Quoted 2 lines
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=0mAPME(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:piohda: 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
________________________________________________________________________
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