2002-10-29 23:47:30

by Orion Poplawski

[permalink] [raw]
Subject: Running linux-2.4.20-rc1 on Dell Dimension 4550

Thought I'd post some information about what I'm seeing running RH7.3 with
kernel 2.4.20-rc1 on a brand new Dell Dimension 4550. Currently there are
two problems with the machine:

- When I swtich to a text console and back to the X screen, the machine locks
up (or at least the console does not respond anymore).

- The sound driver does not load, although it seems to try.

I'm seeing the following lines of concern from the kernel:

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller on PCI bus 00 dev f9
PCI: Device 00:1f.1 not available because of resource collisions
PCI: Found IRQ 9 for device 00:1f.1
PCI: Sharing IRQ 9 with 00:1d.2
ICH4: BIOS setup was incomplete.
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio

and:

Intel 810 + AC97 Audio, version 0.21, 15:48:58 Oct 29 2002
PCI: Found IRQ 11 for device 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH4 found at IO 0xcc40 and 0xc800, IRQ 11
i810_audio: Audio Controller supports 6 channels.
i810_audio: Primary codec not ready.

lspci -v for the devices of concern:

00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub (rev 01) (prog-if 00
[UHCI])
Subsystem: Dell Computer Corporation: Unknown device 0142
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at ff40 [size=32]

00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 01) (prog-if 8a
[Master SecP PriP])
Subsystem: Dell Computer Corporation: Unknown device 0142
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at <unassigned> [size=8]
I/O ports at <unassigned> [size=4]
I/O ports at <unassigned> [size=8]
I/O ports at <unassigned> [size=4]
I/O ports at ffa0 [size=16]
Memory at 10000000 (32-bit, non-prefetchable) [disabled] [size=1K]

00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 01)
Subsystem: Dell Computer Corporation: Unknown device 0142
Flags: medium devsel, IRQ 11
I/O ports at cc80 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 01)
Subsystem: Dell Computer Corporation: Unknown device 0142
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at c800 [size=256]
I/O ports at cc40 [size=64]
Memory at ffa04400 (32-bit, non-prefetchable) [size=512]
Memory at ffa04000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

Any help/advice would be greatly appreciated. I'm happy to try out new
patches.

Orion Poplawski


2002-10-30 06:36:19

by Mitch Adair

[permalink] [raw]
Subject: Re: Running linux-2.4.20-rc1 on Dell Dimension 4550

> Thought I'd post some information about what I'm seeing running RH7.3 with
> kernel 2.4.20-rc1 on a brand new Dell Dimension 4550. Currently there are
> two problems with the machine:
>
> - When I swtich to a text console and back to the X screen, the machine locks
> up (or at least the console does not respond anymore).

you don't say the kernel, X, or hardware, but I've seen that personally
with radeon 7500... that what you have?

> - The sound driver does not load, although it seems to try.

seems to be ich4 audio - you need 0.23/24 driver for this to work -
check with the AC series - OR -

with my _particular_ i845E chipset - commenting out the "break;" immediately
after the line that goes "Primary codec not ready" makes this work fine --
probably your computer will burst into flames if you do the same or
something... this is *NOT* a recommendation.

M

2002-10-30 14:57:38

by Alan

[permalink] [raw]
Subject: Re: Running linux-2.4.20-rc1 on Dell Dimension 4550

On Tue, 2002-10-29 at 23:53, Orion Poplawski wrote:
> Thought I'd post some information about what I'm seeing running RH7.3 with
> kernel 2.4.20-rc1 on a brand new Dell Dimension 4550. Currently there are
> two problems with the machine:

The -ac tree may get your sound working. Please let me know either way
(you can just pull the i810_audio and ac97 patches from the tree). The
onboard video probably needs the 4.2 Xservers from 8.0 and may even need
the upcoming 4.3 XFree86 release (or try CVS XFree86 if you are bold)

Alan

2002-10-30 16:52:23

by Orion Poplawski

[permalink] [raw]
Subject: Re: Running linux-2.4.20-rc1 on Dell Dimension 4550

On Wednesday 30 October 2002 08:23 am, Alan Cox wrote:
> The -ac tree may get your sound working. Please let me know either way
> (you can just pull the i810_audio and ac97 patches from the tree). The
> onboard video probably needs the 4.2 Xservers from 8.0 and may even need
> the upcoming 4.3 XFree86 release (or try CVS XFree86 if you are bold)

I applied i810_audio patch from the patch-2.4.20-pre10-ac2 patch bundle.
Didn't see an ac97 patch. Modules loads okay with the following output.
Sound appears to work fine. I'll probably hold off on the X for a little
while...

Thanks for the help!

Intel 810 + AC97 Audio, version 0.24, 09:29:28 Oct 30 2002
PCI: Found IRQ 11 for device 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH4 found at IO 0xcc40 and 0xc800, MEM 0xffa04400 and
0xffa04000, IRQ 11
i810: Intel ICH4 mmio at 0xd2dc5400 and 0xd2dc7000
i810_audio: Primary codec has ID 2
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 2
ac97_codec: AC97 Audio codec, id: ADS114(Unknown)
i810_audio: AC'97 codec 2 supports AMAP, total channels = 2

2002-10-30 17:01:55

by Orion Poplawski

[permalink] [raw]
Subject: Re: Running linux-2.4.20-rc1 on Dell Dimension 4550

On Tuesday 29 October 2002 11:42 pm, Mitch Adair wrote:
> > Thought I'd post some information about what I'm seeing running RH7.3
> > with kernel 2.4.20-rc1 on a brand new Dell Dimension 4550. Currently
> > there are two problems with the machine:
> >
> > - When I swtich to a text console and back to the X screen, the machine
> > locks up (or at least the console does not respond anymore).
>
> you don't say the kernel, X, or hardware, but I've seen that personally
> with radeon 7500... that what you have?

Kernel is 2.4.20-rc1, X is 4.2.0-8 from RH. The X log reports:

(--) Chipset ATI Rage 128 Pro ULTRA TF (AGP) found

Warnings/errors are:

(WW) R128(0): Can't determine panel dimensions, and none specified.
Disabling programming of FP registers.

(EE) R128(0): No DFP detected

The Dell packing list reports: 32MB ATI RAGE ULTRA 4X AGP.

Probably should take this off linux-kernel....

- Orion

2002-10-30 17:40:38

by Christian Guggenberger

[permalink] [raw]
Subject: Re: Running linux-2.4.20-rc1 on Dell Dimension 4550

> On Tuesday 29 October 2002 11:42 pm, Mitch Adair wrote:
>> > Thought I'd post some information about what I'm seeing running RH7.3
>> > with kernel 2.4.20-rc1 on a brand new Dell Dimension 4550. Currently
>> > there are two problems with the machine:
>> >
>> > - When I swtich to a text console and back to the X screen, the machine
>> > locks up (or at least the console does not respond anymore).
>>
>> you don't say the kernel, X, or hardware, but I've seen that personally
>> with radeon 7500... that what you have?
>
> Kernel is 2.4.20-rc1, X is 4.2.0-8 from RH. The X log reports:
>
> (--) Chipset ATI Rage 128 Pro ULTRA TF (AGP) found
>
> Warnings/errors are:
>
> (WW) R128(0): Can't determine panel dimensions, and none specified.
> Disabling programming of FP registers.
>
> (EE) R128(0): No DFP detected
>
> The Dell packing list reports: 32MB ATI RAGE ULTRA 4X AGP.
>
> Probably should take this off linux-kernel....

Hi,

its definitly an X problem.
i ran into similar probs with radeons and rage128s... and seemed to be the
same with different kernels.
Debian unstable contains a fix for that behaviour, but I don't know about RH
7.x and 8.x:

A temporary fix would be disabling drm.

....
Debian changelog:

xfree86 (4.2.1-2) unstable; urgency=low

* patch #000_post421: resynced with xf-4_2-branch as of 2002-10-06
+ Xdm patches: realloc usage, zero malloc()ated memory, enable
/dev/urandom on NetBSD 1.4 and later (#5345, Mike A. Harris, #5401,
Matthias Scheler) (Matthieu Herrb)
+ Fix crash in the TextWidget reported by Hans Wilmer. The bug is fixed in
the TextAction.c patch (actually it was fixed in head, but I forgot to
update the 4.2 branch, that is what most people are using). Also synced
some other bug fixes only in CVS head. (Paulo Cesar Pereira de Andrade)

* patch #002: resynced with xf-4_2-branch updates
* patch #024: new; fix for hangs upon VT switch back to XFree86 on Rage128
and Radeon cards due to failure to set and reset PCI busmastering properly
(thanks, Michel D?nzer) (Closes: #163359)

...

Christian