public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ATI Radeon IGP 320M and Kern. 2.4.21-pre2 Warnings/Problems...
@ 2002-12-23  3:40 Mark F.
  2002-12-23 14:52 ` Fedor Karpelevitch
  0 siblings, 1 reply; 3+ messages in thread
From: Mark F. @ 2002-12-23  3:40 UTC (permalink / raw)
  To: linux-kernel

Hello

In trying to help out the issue with the Radeon IGP Chipsets, I have posted 
out the problems that occured on my system.  This is a Readon IGP 320M chip, 
running on a Compaq 900Z.  BTW, these logs don't include loading sound 
driver.  Sound driver cause the my hda, hdc links to timeout, and the hard 
drives are completely inaccesable till i remake kernel without them.



Kernel Log Output:  (IRQ Porting Issue,  Computer wants IRQ11 to be used)

EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
Adding Swap: 1076344k swap-space (priority -1)
ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org>
PCI: Assigned IRQ 10 for device 00:13.0
IRQ routing conflict for 00:0b.0, have irq 11, want irq 10
PCI: Sharing IRQ 10 with 00:0c.0
PCI: Sharing IRQ 10 with 01:05.0
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[10]  MMIO=[f4017000-f40177ff]  Max 
Packet=[2048]
ieee1394: SelfID completion called outside of bus reset!
ieee1394: Host added: Node[00:1023]  GUID[000802719b9e938a]  [Linux 
OHCI-1394]


LSPCI Output:
00:00.0 Host bridge: ATI Technologies Inc: Unknown device cab0 (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 700f (rev 01)
00:02.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 
03)
00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge 
[Aladdin IV]
00:08.0 Multimedia audio controller: Acer Laboratories Inc. [ALi] M5451 PCI 
AC-Link Controller Audio Device (rev 02)
00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller 
(rev 02)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 20)
00:0c.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
00:0f.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 
03)
00:10.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c4)
00:11.0 Bridge: Acer Laboratories Inc. [ALi] M7101 PMU
00:13.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 
Controller (PHY/Link)
01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4336


>From what I know, usb doesn't work either.
will give kernel2.5.52 notes as well at a later time.

Mark

_________________________________________________________________
MSN 8: advanced junk mail protection and 3 months FREE*. 
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_advancedjmf_3mf


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ATI Radeon IGP 320M and Kern. 2.4.21-pre2 Warnings/Problems...
  2002-12-23  3:40 Mark F.
@ 2002-12-23 14:52 ` Fedor Karpelevitch
  0 siblings, 0 replies; 3+ messages in thread
From: Fedor Karpelevitch @ 2002-12-23 14:52 UTC (permalink / raw)
  To: Mark F., linux-kernel; +Cc: Marcelo Tosatti, Vicente Aguilar

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

Mark F. wrote:
> Hello
>
> In trying to help out the issue with the Radeon IGP Chipsets, I
> have posted out the problems that occured on my system.  This is a
> Readon IGP 320M chip, running on a Compaq 900Z.  BTW, these logs
> don't include loading sound driver.  Sound driver cause the my hda,
> hdc links to timeout, and the hard drives are completely
> inaccesable till i remake kernel without them.
>

attached is the patch which makes sound work.

Fedor.

[-- Attachment #2: patch-tridfix.txt --]
[-- Type: text/plain, Size: 1467 bytes --]

--- linux-2.4.21-pre1/drivers/sound/trident.c	2002-12-12 15:28:00.000000000 -0800
+++ linux-2.4.21-pre1-tridfix/drivers/sound/trident.c	2002-12-12 15:30:48.000000000 -0800
@@ -3368,15 +3368,17 @@
         pci_dev = pci_find_device(PCI_VENDOR_ID_AL,PCI_DEVICE_ID_AL_M1533, pci_dev);
         if (pci_dev == NULL)
                 return -1;
-	temp = 0x80;
-	pci_write_config_byte(pci_dev, 0x59, ~temp);
+	pci_read_config_byte(pci_dev, 0x59, &temp);
+	temp &= ~0x80;
+	pci_write_config_byte(pci_dev, 0x59, temp);
 	
 	pci_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101, pci_dev);
 	if (pci_dev == NULL)
                 return -1;
 
-	temp = 0x20;
-	pci_write_config_byte(pci_dev, 0xB8, ~temp);
+	pci_read_config_byte(pci_dev, 0xB8, &temp);
+	temp &= ~0x20;
+	pci_write_config_byte(pci_dev, 0xB8, temp);
 
 	return 0;
 }
@@ -3390,13 +3392,15 @@
 	pci_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, pci_dev);
 	if (pci_dev == NULL)
                 return -1;
-	temp = 0x80;
+	pci_read_config_byte(pci_dev, 0x59, &temp);
+	temp |= 0x80;
 	pci_write_config_byte(pci_dev, 0x59, temp);
 	
 	pci_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101, pci_dev);
  	if (pci_dev == NULL)
                 return -1;
-	temp = 0x20;
+	pci_read_config_byte(pci_dev, (int)0xB8, &temp);
+	temp |= 0x20;
 	pci_write_config_byte(pci_dev, (int)0xB8,(u8) temp);
 	if (chan_nums == 6) {
 		dwValue = inl(TRID_REG(card, ALI_SCTRL)) | 0x000f0000;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ATI Radeon IGP 320M and Kern. 2.4.21-pre2 Warnings/Problems...
@ 2002-12-23 15:46 Roel Teuwen
  0 siblings, 0 replies; 3+ messages in thread
From: Roel Teuwen @ 2002-12-23 15:46 UTC (permalink / raw)
  To: Mark F.; +Cc: linux-kernel

On Mon, 2002-12-23 at 04:40, Mark F. wrote:
> Hello

Hi Mark,

> In trying to help out the issue with the Radeon IGP Chipsets, I have posted 
> out the problems that occured on my system.  This is a Readon IGP 320M chip, 
> running on a Compaq 900Z.  BTW, these logs don't include loading sound 
> driver.  Sound driver cause the my hda, hdc links to timeout, and the hard 
> drives are completely inaccesable till i remake kernel without them.
> 

I have succeeded in loading the sound drivers after removing line 3379
from trident.c :

pci_write_config_byte(pci_dev, 0xB8, ~temp);

As described on :

http://marc.theaimsgroup.com/?l=linux-kernel&m=103962262721310&w=2

I'm not sure about your other problems, but adding the ACPI patch (and
enabling it), enabling Local APIC and IO-APIC for single processor fixed
all other problems I saw with this laptop (not sure which of these
options was the key). I still use the vesa driver for XFree86 though.

Best regards,

Roel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-23 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-23 15:46 ATI Radeon IGP 320M and Kern. 2.4.21-pre2 Warnings/Problems Roel Teuwen
  -- strict thread matches above, loose matches on Subject: below --
2002-12-23  3:40 Mark F.
2002-12-23 14:52 ` Fedor Karpelevitch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox