Please CC me at edward.kuns at rockwellfirstpoint.com in your responses.
I have a Gigabyte GA-8PE667 Ultra motherboard (aka P4 Titan 667 Ultra) with
the i845PE chipset. According to the motherboard manual, it uses the
Realtek ALC650 CODEC.
With Red Hat 8.0's default kernel (2.4.18-14) and with the most recent
update kernel (2.4.18-18.8.0) -- both the i686 version -- sound works but
will stop and start at random, long intervals. This occurs no matter what
the source of the sound. (xine, chromium, whatever) Of course, those two
kernel versions use the same i810 source file (version 0.22).
I've tried to boot 2.4.20-ac2 but it doesn't even boot (due to the Promise
controller and other issues I'll bring up in a separate EMail) so I naively
copied the i810_audio.c file from that kernel tree to the Red Hat
2.4.18-18.8.0 tree and recompiled. There is no difference in behavior. I
threw a SoundBlaster Live! card in there and with that card, sound output
works perfectly. (I first disabled the i810 sound in the BIOS ... I
haven't tried the two together.)
Below are the dmesg output for 2.4.18-14 default (first) and for
2.4.18-18.8.0 with i810_audio.c from 2.4.20-ac2:
Red Hat 8.0 kernel 2.4.18-14
Dec 14 22:51:31 kilroy kernel: Intel 810 + AC97 Audio, version 0.22,
13:45:06 Sep 4 2002
Dec 14 22:51:31 kilroy kernel: PCI: Found IRQ 11 for device 00:1f.5
Dec 14 22:51:31 kilroy kernel: PCI: Sharing IRQ 11 with 00:1f.3
Dec 14 22:51:31 kilroy kernel: PCI: Setting latency timer of device 00:1f.5
to 64
Dec 14 22:51:31 kilroy kernel: i810: Intel ICH4 found at IO 0xd800 and
0xd400, IRQ 11
Dec 14 22:51:31 kilroy kernel: i810_audio: Audio Controller supports 6
channels.
Dec 14 22:51:31 kilroy kernel: i810_audio: Defaulting to base 2 channel
mode.
Dec 14 22:51:31 kilroy kernel: ac97_codec: AC97 Audio codec, id:
0x414c:0x4720 (ALC650)
Dec 14 22:51:31 kilroy kernel: i810_audio: AC'97 codec 0, new EID value =
0x05c7
Dec 14 22:51:31 kilroy kernel: i810_audio: AC'97 codec 0, DAC map
configured, total channels = 6
Dec 14 22:51:31 kilroy modprobe: modprobe: Can't locate module
sound-service-0-3
Red Hat 8.0 kernel 2.4.18-18.8.0 but with i810_audio.c from 2.4.20-ac2
Dec 14 23:43:06 kilroy kernel: Intel 810 + AC97 Audio, version 0.24,
23:22:57 Dec 14 2002
Dec 14 23:43:06 kilroy kernel: PCI: Found IRQ 11 for device 00:1f.5
Dec 14 23:43:06 kilroy kernel: PCI: Sharing IRQ 11 with 00:1f.3
Dec 14 23:43:06 kilroy kernel: PCI: Setting latency timer of device 00:1f.5
to 64
Dec 14 23:43:06 kilroy kernel: i810: Intel ICH4 found at IO 0xd800 and
0xd400, MEM 0xec002000 and 0xec003000, IRQ 11
Dec 14 23:43:06 kilroy kernel: i810: Intel ICH4 mmio at 0xe1c85000 and
0xe1c87000
Dec 14 23:43:07 kilroy kernel: i810_audio: Primary codec has ID 0
Dec 14 23:43:07 kilroy kernel: i810_audio: Audio Controller supports 6
channels.
Dec 14 23:43:07 kilroy kernel: i810_audio: Defaulting to base 2 channel
mode.
Dec 14 23:43:07 kilroy kernel: i810_audio: Resetting connection 0
Dec 14 23:43:07 kilroy kernel: i810_audio: Connection 0 with codec id 0
Dec 14 23:43:07 kilroy kernel: ac97_codec: AC97 Audio codec, id:
0x414c:0x4720 (ALC650)
Dec 14 23:43:07 kilroy kernel: i810_audio: AC'97 codec 0, new EID value =
0x05c7
Dec 14 23:43:07 kilroy kernel: i810_audio: AC'97 codec 0, DAC map
configured, total channels = 6
Output of "lspci" with no options (from after I threw the SoundBlaster
Live! on):
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host
Bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge
(rev 02)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 02)
00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev
02)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX440]
(rev a3)
02:00.0 SCSI storage controller: Adaptec AIC-7892B U160/m (rev 02)
02:02.0 Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev
01)
02:03.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev
04)
02:03.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev
01)
02:07.0 USB Controller: NEC Corporation USB (rev 41)
02:07.1 USB Controller: NEC Corporation USB (rev 41)
02:07.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (CNR) Ethernet
Controller (rev 82)
02:0c.0 RAID bus controller: Promise Technology, Inc. PDC20276 IDE (rev 01)
Output of "lspci -vv" pasting in only the piece from the Intel audio
controller:
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev
02)
Subsystem: Giga-byte Technology: Unknown device a002
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
Interrupt: pin B routed to IRQ 11
Region 0: I/O ports at d400 [size=256]
Region 1: I/O ports at d800 [size=64]
Region 2: Memory at ec002000 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at ec003000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
I see the dmesg messages shown above whenever something starts using sound,
but when the sound stops and later restarts, there are no messages to dmesg
nor to /var/log/message. The sound just quits, and some time later (two
minutes, five minutes, ten minutes.....) comes back. Again, this happens
regardless of the sound source.
I do not have these problems on another board with the i845G chipset, so I
am assuming the i845PE has changed something. (?) Or perhaps something
else is different between an Intel board with i845G and a Gigabyte board
with i845PE.
I haven't yet tried any of the 2.5.XX series, nor have I tried other
versions of 2.4.xx beyond what i mentioned above.
Any suggestions? Ideas? Patches? (grin) Let me know if there is
anything I can do to help research this. I'm not afraid of patches or
mucking around in kernel code -- part of my living involves working with
kernel code and drivers on a simpler and older OS -- but I'm not at all
familiar with PCI or the details of modern chipset programming.
Thanks
Eddie
P.S. We are required to use Notes here. I hope that this message will not
be sent HTML formatted.....
--
Edward Kuns
Technical Staff Member
Rockwell FirstPoint Contact
[email protected]
http://www.rockwellfirstpoint.com
On Mon, 2002-12-16 at 21:03, [email protected] wrote:
> Please CC me at edward.kuns at rockwellfirstpoint.com in your responses.
>
> I have a Gigabyte GA-8PE667 Ultra motherboard (aka P4 Titan 667 Ultra) with
> the i845PE chipset. According to the motherboard manual, it uses the
> Realtek ALC650 CODEC.
At a first guess it may be IRQ routing. If you build a kernel with
apic/local apic support does that work any better ?
Alan Cox <[email protected]> wrote on 12/16/2002 04:21:42 PM:
> On Mon, 2002-12-16 at 21:03, [email protected] wrote:
> At a first guess it may be IRQ routing. If you build a kernel with
> apic/local apic support does that work any better ?
Sadly, no, it doesn't help. But you're absolutely right that it must be
IRQ routing. Here is additional information from experimentation. This
kernel is derived from the Red Hat 2.4.18-18.8.0 kernel, with the
i810_audio.c replaced with the version 0.24 from Alan's 2.4.20-ac2, and I
ran "make xconfig" to add APIC support. My config file is attached to this
message.
When I run Chromium (as a great test of whether sound works, grin) and
watch /proc/interrupts, as long as sound is audibly playing I watch the
interrupt counter for IRQ 17 (labelled "Intel ICH4") increase. When the
sound disappears but should be playing, that interrupt counter stays put,
no increase. When the sound reappears, the interrupt counter begins
increasing again as it should. There is no sudden jump in value, so it's
not like "lost" interrupts suddenly get delivered. (Which I know would
make no sense in hardware, but still thought I'd point that out. The
hardware I'm familiar with in terms of drivers and kernels and interrupts
is Motorola 68k family. Intel is thus far alien to me!)
After recompiling APIC support into the kernel, I see the following dmesg
upon bootup:
6
PCI->APIC IRQ transform: (B0,I31,P1) -> 17
PCI->APIC IRQ transform: (B0,I31,P1) -> 17
PCI->APIC IRQ transform: (B1,I0,P0) -> 16
PCI->APIC IRQ transform: (B2,I0,P0) -> 18
PCI->APIC IRQ transform: (B2,I2,P0) -> 22
PCI->APIC IRQ transform: (B2,I7,P0) -> 16
PCI->APIC IRQ transform: (B2,I7,P1) -> 18
PCI->APIC IRQ transform: (B2,I7,P2) -> 21
PCI->APIC IRQ transform: (B2,I8,P0) -> 20
PCI->APIC IRQ transform: (B2,I12,P0) -> 18
Remember that all of the "md" messages I get (I use RAID5 for my /home
partition) wipe out the kernel's circular message buffer so the above is
missing the top part. Following the above part is the normal boot stuff
with nothing to do with APIC. Next, here is /proc/interrupts with the
newer kernel:
CPU0
0: 301241 IO-APIC-edge timer
1: 1441 IO-APIC-edge keyboard
2: 0 XT-PIC cascade
8: 1 IO-APIC-edge rtc
14: 494 IO-APIC-edge ide0
15: 2498 IO-APIC-edge ide1
16: 34105 IO-APIC-level usb-ohci, usb-uhci, nvidia
17: 7696 IO-APIC-level Intel ICH4
18: 55676 IO-APIC-level ide2, aic7xxx, usb-ohci, usb-uhci
19: 0 IO-APIC-level usb-uhci
20: 7 IO-APIC-level eth0
21: 0 IO-APIC-level ehci-hcd
23: 0 IO-APIC-level ehci-hcd
NMI: 0
LOC: 301191
ERR: 0
MIS: 0
Next, the full set of i810 messages from when sound is enabled:
i810: Intel ICH4 found at IO 0xd800 and 0xd400, MEM 0xec002000 and
0xec003000, IRQ 17
i810: Intel ICH4 mmio at 0xe1c03000 and 0xe1c05000
i810_audio: Primary codec has ID 0
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 0
ac97_codec: AC97 Audio codec, id: 0x414c:0x4720 (ALC650)
i810_audio: AC'97 codec 0, new EID value = 0x05c7
i810_audio: AC'97 codec 0, DAC map configured, total channels = 6
Next /proc/iomem:
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000d8000-000da7ff : Extension ROM
000db000-000e03ff : Extension ROM
000f0000-000fffff : System ROM
00100000-1ffeffff : System RAM
00100000-00236d22 : Kernel code
00236d23-0032cca3 : Kernel data
1fff0000-1fff2fff : ACPI Non-volatile Storage
1fff3000-1fffffff : ACPI Tables
20000000-200003ff : Intel Corp. 82801DB IDE U100
d0000000-d7ffffff : PCI device 8086:2560 (Intel Corp.)
d8000000-e7ffffff : PCI Bus #01
d8000000-dfffffff : nVidia Corporation NV1x
e0000000-e007ffff : nVidia Corporation NV1x
e8000000-e9ffffff : PCI Bus #01
e8000000-e8ffffff : nVidia Corporation NV1x
eb000000-eb003fff : Promise Technology, Inc. PDC20276 IDE
eb004000-eb004fff : NEC Corporation USB
eb004000-eb004fff : usb-ohci
eb005000-eb005fff : NEC Corporation USB (#2)
eb005000-eb005fff : usb-ohci
eb006000-eb0060ff : NEC Corporation USB 2.0
eb006000-eb0060ff : ehci-hcd
eb007000-eb007fff : PCI device 8086:103a (Intel Corp.)
eb007000-eb007fff : eepro100
eb008000-eb008fff : Adaptec AIC-7892B U160/m
eb008000-eb008fff : aic7xxx
ec000000-ec0003ff : Intel Corp. 82801DB USB EHCI Controller
ec000000-ec0003ff : ehci-hcd
ec002000-ec0021ff : Intel Corp. 82801DB AC'97 Audio
ec002000-ec0021ff : ich_audio MMBAR
ec003000-ec0030ff : Intel Corp. 82801DB AC'97 Audio
ec003000-ec0030ff : ich_audio MBBAR
fec00000-ffffffff : reserved
next /proc/ioports:
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
5000-501f : Intel Corp. 82801DB SMBus
9000-90ff : Adaptec AIC-7892B U160/m
9400-9407 : US Robotics/3Com 56K FaxModem Model 5610
9400-9407 : serial(auto)
9800-983f : PCI device 8086:103a (Intel Corp.)
9800-983f : eepro100
9c00-9c07 : Promise Technology, Inc. PDC20276 IDE
9c00-9c07 : ide2
a000-a003 : Promise Technology, Inc. PDC20276 IDE
a002-a002 : ide2
a400-a407 : Promise Technology, Inc. PDC20276 IDE
a800-a803 : Promise Technology, Inc. PDC20276 IDE
ac00-ac0f : Promise Technology, Inc. PDC20276 IDE
ac00-ac07 : ide2
ac08-ac0f : ide3
b000-b01f : Intel Corp. 82801DB USB (Hub #2)
b000-b01f : usb-uhci
b400-b41f : Intel Corp. 82801DB USB (Hub #3)
b400-b41f : usb-uhci
b800-b81f : Intel Corp. 82801DB USB (Hub #1)
b800-b81f : usb-uhci
01f0-0000 : Intel Corp. 82801DB IDE U100
03f4-0000 : Intel Corp. 82801DB IDE U100
0170-0000 : Intel Corp. 82801DB IDE U100
0374-0000 : Intel Corp. 82801DB IDE U100
cc00-cc0f : Intel Corp. 82801DB IDE U100
cc00-cc07 : ide0
cc08-cc0f : ide1
d400-d4ff : Intel Corp. 82801DB AC'97 Audio
d400-d4ff : Intel ICH4
d800-d83f : Intel Corp. 82801DB AC'97 Audio
d800-d83f : Intel ICH4
Any ideas on what I can test next? Thanks! Again, this all worked
perfectly for me on an i845G board, but I'm having this problem on an
i845PE board. I'm guessing something changed.
Eddie
(See attached file: config)
--
Edward Kuns
Technical Staff Member
Rockwell FirstPoint Contact
[email protected]
http://www.rockwellfirstpoint.com
Last weekend I tried out 2.4.21-pre3-ac2 and that resolved the sound
problems I was having with i810 audio. Since moving the sound driver
itself back to an earlier release did not make the difference, I conclude
that the IRQ steering code was updated between 2.4.18 and the latest
releases. This is with the i845PE chipset on the Gigabyte 8PE667 Ultra
motherboard (aka P4 Titan 667 Ultra) .
It's possible that this IRQ fix was present in an earlier load. I had
separate issues with 2.4.20-*** loads that prevented this computer from
booting. I'm pretty sure that a fix included in 2.4.21-pre3 resolved that
problem.
Eddie
--
Edward Kuns
Technical Staff Member
Rockwell FirstPoint Contact
300 Bauman Ct
Wood Dale, IL 60191
Phone: +1-630-227-8070
Fax: +1-630-227-8040
[email protected]
http://www.rockwellfirstpoint.com
This e-mail is intended solely for the person or entity to which it is
addressed and may contain confidential or privileged material. Any
duplication, dissemination, action taken in reliance upon, or other use of
this information by persons or entities other than the intended recipient
is prohibited and may violate applicable law. If this e-mail has been
received in error, please notify the sender and delete the information from
your system.