2002-02-26 12:23:04

by Sven-Haegar Koch

[permalink] [raw]
Subject: Problems with orinoco_cs and i810_audio

hi...

Keywords: Kernel 2.4.18-pre7, orinoco_cs and i810_audio,
Toshiba Satellite Pro 4600 Built-In Wavelancard,
IRQ Sharing

While playing streaming mp3 over the orinoco-network:

Feb 26 13:13:40 aurora kernel: i810_audio: Audio Controller supports 6
channels.
Feb 26 13:13:40 aurora kernel: ac97_codec: AC97 Audio codec, id:
0x594d:0x4800 (
Unknown)
Feb 26 13:13:40 aurora kernel: i810_audio: only 48Khz playback available.
Feb 26 13:13:40 aurora kernel: i810_audio: AC'97 codec 0 supports AMAP,
total ch
annels = 2
Feb 26 13:13:40 aurora kernel: ac97_codec: AC97 Modem codec, id:
0x5349:0x4c27 (
Unknown)
Feb 26 13:13:50 aurora kernel: i810_audio: timed out waiting for codec 1
analog
ready<4>eth1: Null event in orinoco_interrupt!
Feb 26 13:13:50 aurora kernel: eth1: Null event in orinoco_interrupt!
Feb 26 13:14:21 aurora last message repeated 2478 times
Feb 26 13:15:22 aurora last message repeated 4866 times
Feb 26 13:16:23 aurora last message repeated 4871 times
Feb 26 13:17:24 aurora last message repeated 5026 times


Both sound and net work, but my syslog is spammed with this message. The
same interrupt-message happens when I insert a pcmcia-card.
My bios seems to put every interrupt onto irq 11, and there is no setting
to move them somewhere else.

aurora:~# cat /proc/interrupts
CPU0
0: 4648825 XT-PIC timer
1: 32405 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 4 XT-PIC rtc
11: 439062 XT-PIC Texas Instruments PCI1410 PC card Cardbus
Controller, Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge
with ZV Support, Toshiba America Info Systems ToPIC95 PCI to Cardbus
Bridge with ZV Support (#2), usb-uhci, usb-uhci, orinoco_cs, Intel ICH2
12: 927659 XT-PIC PS/2 Mouse
14: 132987 XT-PIC ide0
15: 0 XT-PIC ide1
NMI: 0
ERR: 0

Please ask if you need more informations

c'ya
sven

--

The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)


2002-02-26 12:32:44

by Alan

[permalink] [raw]
Subject: Re: Problems with orinoco_cs and i810_audio

> Feb 26 13:13:40 aurora kernel: i810_audio: only 48Khz playback available.
> Feb 26 13:13:40 aurora kernel: i810_audio: AC'97 codec 0 supports AMAP,
> total ch annels = 2
> Feb 26 13:13:40 aurora kernel: ac97_codec: AC97 Modem codec, id:
> 0x5349:0x4c27 (Unknown)
> Feb 26 13:13:50 aurora kernel: i810_audio: timed out waiting for codec 1
> analog

Ok the codec timeout I fixed in -ac but it isnt related to your other
problem.

> with ZV Support, Toshiba America Info Systems ToPIC95 PCI to Cardbus
> Bridge with ZV Support (#2), usb-uhci, usb-uhci, orinoco_cs, Intel ICH2

Exclude IRQ11 in your /etc/pcmcia/config - the orinoco card probably isnt
going to like sharing if its pcmcia not cardbus

2002-02-26 12:44:46

by Sven-Haegar Koch

[permalink] [raw]
Subject: Re: Problems with orinoco_cs and i810_audio

On Tue, 26 Feb 2002, Alan Cox wrote:

> > Feb 26 13:13:40 aurora kernel: i810_audio: only 48Khz playback available.
> > Feb 26 13:13:40 aurora kernel: i810_audio: AC'97 codec 0 supports AMAP,
> > total ch annels = 2
> > Feb 26 13:13:40 aurora kernel: ac97_codec: AC97 Modem codec, id:
> > 0x5349:0x4c27 (Unknown)
> > Feb 26 13:13:50 aurora kernel: i810_audio: timed out waiting for codec 1
> > analog
>
> Ok the codec timeout I fixed in -ac but it isnt related to your other
> problem.

ack
It only seems to happen once after loading the i810_audio module and does
not affect function.

> > with ZV Support, Toshiba America Info Systems ToPIC95 PCI to Cardbus
> > Bridge with ZV Support (#2), usb-uhci, usb-uhci, orinoco_cs, Intel ICH2
>
> Exclude IRQ11 in your /etc/pcmcia/config - the orinoco card probably isnt
> going to like sharing if its pcmcia not cardbus

This does not work.

Even with "exclude irq 11" in /etc/pcmcia/config.opts (included by
/etc/pcmcia/config) orinoco_cs reports on loading:

Feb 26 13:38:46 aurora kernel: orinoco_cs.c 0.09b (David Gibson
<[email protected]> and others)
Feb 26 13:38:46 aurora kernel: eth1: Station identity 001f:0001:0006:000e
Feb 26 13:38:46 aurora kernel: eth1: Looks like a Lucent/Agere firmware
version 6.14
Feb 26 13:38:46 aurora kernel: eth1: Ad-hoc demo mode supported
Feb 26 13:38:46 aurora kernel: eth1: IEEE standard IBSS ad-hoc mode
supported
Feb 26 13:38:46 aurora kernel: eth1: WEP supported, 104-bit key
Feb 26 13:38:46 aurora kernel: eth1: MAC address 00:02:2D:12:3C:48
Feb 26 13:38:46 aurora kernel: eth1: Station name "HERMES I"
Feb 26 13:38:46 aurora kernel: eth1: ready
Feb 26 13:38:46 aurora kernel: eth1: index 0x01: Vcc 3.3, irq 11, io
0x0100-0x013f


c'ya
sven

--

The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)

2002-02-26 16:21:15

by Alan

[permalink] [raw]
Subject: Re: Problems with orinoco_cs and i810_audio

> > Exclude IRQ11 in your /etc/pcmcia/config - the orinoco card probably isnt
> > going to like sharing if its pcmcia not cardbus
>
> This does not work.
>
> Even with "exclude irq 11" in /etc/pcmcia/config.opts (included by
> /etc/pcmcia/config) orinoco_cs reports on loading:

You don't have IRQ 11 excluded

> Feb 26 13:38:46 aurora kernel: eth1: index 0x01: Vcc 3.3, irq 11, io
^^^^^^^^
> 0x0100-0x013f


Make sure you restart pcmcia-cs and check for any errors in the logs

2002-02-26 23:59:20

by David Gibson

[permalink] [raw]
Subject: Re: Problems with orinoco_cs and i810_audio

On Tue, Feb 26, 2002 at 12:47:10PM +0000, Alan Cox wrote:
> > Feb 26 13:13:40 aurora kernel: i810_audio: only 48Khz playback available.
> > Feb 26 13:13:40 aurora kernel: i810_audio: AC'97 codec 0 supports AMAP,
> > total ch annels = 2
> > Feb 26 13:13:40 aurora kernel: ac97_codec: AC97 Modem codec, id:
> > 0x5349:0x4c27 (Unknown)
> > Feb 26 13:13:50 aurora kernel: i810_audio: timed out waiting for codec 1
> > analog
>
> Ok the codec timeout I fixed in -ac but it isnt related to your other
> problem.
>
> > with ZV Support, Toshiba America Info Systems ToPIC95 PCI to Cardbus
> > Bridge with ZV Support (#2), usb-uhci, usb-uhci, orinoco_cs, Intel ICH2
>
> Exclude IRQ11 in your /etc/pcmcia/config - the orinoco card probably isnt
> going to like sharing if its pcmcia not cardbus

In theory we can share. Maybe. There is some evidence of a firmware
bug which means we can get interrupts without status bits being set
properly. If this is so, then sharing will be very difficult. At the
moment the "Null event" message is in there to help track this down -
with the side effect that sharing is not possible - at least not
without dealing with thousands of "Null event" messages.

--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong. -- H.L. Mencken
http://www.ozlabs.org/people/dgibson

Subject: Re: Problems with orinoco_cs and i810_audio


Hello,
i'm having some random hangs in a Satellite Pro 4600, mostly when
the laptop is idle (it seems to be related to apm/pcmcia yenta socket...)
and i found your message ...
now, about your problem: try the alsa-modules and you won't regret
it. the i810 drivers that are in stock linux kernel seem to be a bit
braindead ... dunno if it fixes since altough i can get my wavelan card
to work i don't use it often to connect to the network but instead the
bultin e100 card...oh, and i also use the driver from intel for this
one not the one in the kernel...
right now i'm using kernel 2.4.17

()s
Nuno Sucena
--