2003-07-15 05:03:23

by Amit Shah

[permalink] [raw]
Subject: 2.6.0-test1: ALSA problem

I don't know what the problem is exactly, since alsa shows it found one
card... I'm using debian woody with alsa-base installed. Even if alsa shows
one card detected, it doesn't play. (It doesn't recognize /dev/dsp?)


Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09 12:01:18
2003 UTC).
kobject_register failed for Ensoniq AudioPCI (-17)
Call Trace:
[<c01f6b8a>] kobject_register+0x32/0x48
[<c0248a1b>] bus_add_driver+0x3f/0xa0
[<c0248e0a>] driver_register+0x36/0x3c
[<c01fb236>] pci_register_driver+0x6a/0x90
[<c04117ba>] alsa_card_ens137x_init+0xe/0x3c
[<c03f86f5>] do_initcalls+0x39/0x94
[<c03f876c>] do_basic_setup+0x1c/0x20
[<c010509b>] init+0x33/0x188
[<c0105068>] init+0x0/0x188
[<c0107145>] kernel_thread_helper+0x5/0xc

ALSA device list:
#0: Intel 82801BA-ICH2 at 0xe800, irq 17

--
Amit Shah
http://amitshah.nav.to/

Why do you want to read your code?
The machine will.
-- Sunil Beta


2003-07-15 14:45:55

by Chris Meadors

[permalink] [raw]
Subject: Re: 2.6.0-test1: ALSA problem

On Tue, 2003-07-15 at 01:18, Amit Shah wrote:
> I don't know what the problem is exactly, since alsa shows it found one
> card... I'm using debian woody with alsa-base installed. Even if alsa shows
> one card detected, it doesn't play. (It doesn't recognize /dev/dsp?)
>
>
> Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09 12:01:18
> 2003 UTC).
> kobject_register failed for Ensoniq AudioPCI (-17)
> Call Trace:
> [<c01f6b8a>] kobject_register+0x32/0x48
> [<c0248a1b>] bus_add_driver+0x3f/0xa0
> [<c0248e0a>] driver_register+0x36/0x3c
> [<c01fb236>] pci_register_driver+0x6a/0x90
> [<c04117ba>] alsa_card_ens137x_init+0xe/0x3c
> [<c03f86f5>] do_initcalls+0x39/0x94
> [<c03f876c>] do_basic_setup+0x1c/0x20
> [<c010509b>] init+0x33/0x188
> [<c0105068>] init+0x0/0x188
> [<c0107145>] kernel_thread_helper+0x5/0xc
>
> ALSA device list:
> #0: Intel 82801BA-ICH2 at 0xe800, irq 17

I see exactly the same thing with my Sound Blaster 16 PCI.

Output of lspci:

02:06.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI128
Flags: bus master, slow devsel, latency 96, IRQ 18
I/O ports at 3400 [size=64]
Capabilities: [dc] Power Management version 1

I'm also CCing alsa-devel, but I'm not on the list, hopefully a
moderator will pick this up though.

--
Chris

2003-07-15 14:56:42

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.6.0-test1: ALSA problem

At 15 Jul 2003 10:57:55 -0400,
Chris Meadors wrote:
>
> On Tue, 2003-07-15 at 01:18, Amit Shah wrote:
> > I don't know what the problem is exactly, since alsa shows it found one
> > card... I'm using debian woody with alsa-base installed. Even if alsa shows
> > one card detected, it doesn't play. (It doesn't recognize /dev/dsp?)
> >
> >
> > Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09 12:01:18
> > 2003 UTC).
> > kobject_register failed for Ensoniq AudioPCI (-17)
> > Call Trace:
> > [<c01f6b8a>] kobject_register+0x32/0x48
> > [<c0248a1b>] bus_add_driver+0x3f/0xa0
> > [<c0248e0a>] driver_register+0x36/0x3c
> > [<c01fb236>] pci_register_driver+0x6a/0x90
> > [<c04117ba>] alsa_card_ens137x_init+0xe/0x3c
> > [<c03f86f5>] do_initcalls+0x39/0x94
> > [<c03f876c>] do_basic_setup+0x1c/0x20
> > [<c010509b>] init+0x33/0x188
> > [<c0105068>] init+0x0/0x188
> > [<c0107145>] kernel_thread_helper+0x5/0xc
> >
> > ALSA device list:
> > #0: Intel 82801BA-ICH2 at 0xe800, irq 17
>
> I see exactly the same thing with my Sound Blaster 16 PCI.


hmm, something gets wrong when no irq is generated and the pcm stream
is forced to be closed. i'll check this.

are you using a UP kernel or an SMP kernel?


> Output of lspci:
>
> 02:06.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
> Subsystem: Ensoniq Creative Sound Blaster AudioPCI128
> Flags: bus master, slow devsel, latency 96, IRQ 18
> I/O ports at 3400 [size=64]
> Capabilities: [dc] Power Management version 1
>
> I'm also CCing alsa-devel, but I'm not on the list, hopefully a
> moderator will pick this up though.

most likely you post won't appear on the list.
the posts by non-subscribers are passed to the moderator, Dave Null.

--
Takashi Iwai <[email protected]> SuSE Linux AG - http://www.suse.de
ALSA Developer ALSA Project - http://www.alsa-project.org

2003-07-15 15:22:02

by Jaroslav Kysela

[permalink] [raw]
Subject: Re: [Alsa-devel] Re: 2.6.0-test1: ALSA problem

On Tue, 15 Jul 2003, Takashi Iwai wrote:

> At 15 Jul 2003 10:57:55 -0400,
> Chris Meadors wrote:
> >
> > On Tue, 2003-07-15 at 01:18, Amit Shah wrote:
> > > I don't know what the problem is exactly, since alsa shows it found one
> > > card... I'm using debian woody with alsa-base installed. Even if alsa shows
> > > one card detected, it doesn't play. (It doesn't recognize /dev/dsp?)
> > >
> > >
> > > Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09 12:01:18
> > > 2003 UTC).
> > > kobject_register failed for Ensoniq AudioPCI (-17)
> > > Call Trace:
> > > [<c01f6b8a>] kobject_register+0x32/0x48
> > > [<c0248a1b>] bus_add_driver+0x3f/0xa0
> > > [<c0248e0a>] driver_register+0x36/0x3c
> > > [<c01fb236>] pci_register_driver+0x6a/0x90
> > > [<c04117ba>] alsa_card_ens137x_init+0xe/0x3c
> > > [<c03f86f5>] do_initcalls+0x39/0x94
> > > [<c03f876c>] do_basic_setup+0x1c/0x20
> > > [<c010509b>] init+0x33/0x188
> > > [<c0105068>] init+0x0/0x188
> > > [<c0107145>] kernel_thread_helper+0x5/0xc
> > >
> > > ALSA device list:
> > > #0: Intel 82801BA-ICH2 at 0xe800, irq 17
> >
> > I see exactly the same thing with my Sound Blaster 16 PCI.
>
>
> hmm, something gets wrong when no irq is generated and the pcm stream
> is forced to be closed. i'll check this.
>
> are you using a UP kernel or an SMP kernel?

It might be related that we have not initialized the owner field from the
pci_dev structure for 2.6 kernels. I will fix that soon.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

2003-07-15 15:27:06

by Takashi Iwai

[permalink] [raw]
Subject: Re: [Alsa-devel] Re: 2.6.0-test1: ALSA problem

At Tue, 15 Jul 2003 17:33:14 +0200 (CEST),
Jaroslav Kysela wrote:
>
> On Tue, 15 Jul 2003, Takashi Iwai wrote:
>
> > At 15 Jul 2003 10:57:55 -0400,
> > Chris Meadors wrote:
> > >
> > > On Tue, 2003-07-15 at 01:18, Amit Shah wrote:
> > > > I don't know what the problem is exactly, since alsa shows it found one
> > > > card... I'm using debian woody with alsa-base installed. Even if alsa shows
> > > > one card detected, it doesn't play. (It doesn't recognize /dev/dsp?)
> > > >
> > > >
> > > > Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09 12:01:18
> > > > 2003 UTC).
> > > > kobject_register failed for Ensoniq AudioPCI (-17)
> > > > Call Trace:
> > > > [<c01f6b8a>] kobject_register+0x32/0x48
> > > > [<c0248a1b>] bus_add_driver+0x3f/0xa0
> > > > [<c0248e0a>] driver_register+0x36/0x3c
> > > > [<c01fb236>] pci_register_driver+0x6a/0x90
> > > > [<c04117ba>] alsa_card_ens137x_init+0xe/0x3c
> > > > [<c03f86f5>] do_initcalls+0x39/0x94
> > > > [<c03f876c>] do_basic_setup+0x1c/0x20
> > > > [<c010509b>] init+0x33/0x188
> > > > [<c0105068>] init+0x0/0x188
> > > > [<c0107145>] kernel_thread_helper+0x5/0xc
> > > >
> > > > ALSA device list:
> > > > #0: Intel 82801BA-ICH2 at 0xe800, irq 17
> > >
> > > I see exactly the same thing with my Sound Blaster 16 PCI.
> >
> >
> > hmm, something gets wrong when no irq is generated and the pcm stream
> > is forced to be closed. i'll check this.
> >
> > are you using a UP kernel or an SMP kernel?
>
> It might be related that we have not initialized the owner field from the
> pci_dev structure for 2.6 kernels. I will fix that soon.

hmm, it might be also different -- i once experienced a similar
behavior on 2.4 kernel, too. i'll try to reproduce it now...


Takashi

2003-07-15 15:22:03

by Chris Meadors

[permalink] [raw]
Subject: Re: 2.6.0-test1: ALSA problem

On Tue, 2003-07-15 at 11:11, Takashi Iwai wrote:

> hmm, something gets wrong when no irq is generated and the pcm stream
> is forced to be closed. i'll check this.
>
> are you using a UP kernel or an SMP kernel?

UP but on a dual Athlon board with APIC and IO-APIC enabled.

> most likely you post won't appear on the list.
> the posts by non-subscribers are passed to the moderator, Dave Null.

Okay, trimming them from the CC list.

--
Chris

2003-07-15 15:58:07

by Takashi Iwai

[permalink] [raw]
Subject: Re: [Alsa-devel] Re: 2.6.0-test1: ALSA problem

At Tue, 15 Jul 2003 17:37:16 +0200,
I wrote:
>
> At Tue, 15 Jul 2003 17:33:14 +0200 (CEST),
> Jaroslav Kysela wrote:
> >
> > On Tue, 15 Jul 2003, Takashi Iwai wrote:
> >
> > > At 15 Jul 2003 10:57:55 -0400,
> > > Chris Meadors wrote:
> > > >
> > > > On Tue, 2003-07-15 at 01:18, Amit Shah wrote:
> > > > > I don't know what the problem is exactly, since alsa shows it found one
> > > > > card... I'm using debian woody with alsa-base installed. Even if alsa shows
> > > > > one card detected, it doesn't play. (It doesn't recognize /dev/dsp?)
> > > > >
> > > > >
> > > > > Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09 12:01:18
> > > > > 2003 UTC).
> > > > > kobject_register failed for Ensoniq AudioPCI (-17)
> > > > > Call Trace:
> > > > > [<c01f6b8a>] kobject_register+0x32/0x48
> > > > > [<c0248a1b>] bus_add_driver+0x3f/0xa0
> > > > > [<c0248e0a>] driver_register+0x36/0x3c
> > > > > [<c01fb236>] pci_register_driver+0x6a/0x90
> > > > > [<c04117ba>] alsa_card_ens137x_init+0xe/0x3c
> > > > > [<c03f86f5>] do_initcalls+0x39/0x94
> > > > > [<c03f876c>] do_basic_setup+0x1c/0x20
> > > > > [<c010509b>] init+0x33/0x188
> > > > > [<c0105068>] init+0x0/0x188
> > > > > [<c0107145>] kernel_thread_helper+0x5/0xc
> > > > >
> > > > > ALSA device list:
> > > > > #0: Intel 82801BA-ICH2 at 0xe800, irq 17
> > > >
> > > > I see exactly the same thing with my Sound Blaster 16 PCI.
> > >
> > >
> > > hmm, something gets wrong when no irq is generated and the pcm stream
> > > is forced to be closed. i'll check this.
> > >
> > > are you using a UP kernel or an SMP kernel?
> >
> > It might be related that we have not initialized the owner field from the
> > pci_dev structure for 2.6 kernels. I will fix that soon.
>
> hmm, it might be also different -- i once experienced a similar
> behavior on 2.4 kernel, too. i'll try to reproduce it now...

err, sorry, i mixed up different posts there.
the bug found here is likely the missing entry.


Takashi

2003-07-16 04:36:03

by Amit Shah

[permalink] [raw]
Subject: Re: 2.6.0-test1: ALSA problem

On Tuesday 15 Jul 2003 20:41, Takashi Iwai wrote:
> At 15 Jul 2003 10:57:55 -0400,
>
> Chris Meadors wrote:
> > On Tue, 2003-07-15 at 01:18, Amit Shah wrote:
> > > I don't know what the problem is exactly, since alsa shows it found
> > > one card... I'm using debian woody with alsa-base installed. Even if
> > > alsa shows one card detected, it doesn't play. (It doesn't recognize
> > > /dev/dsp?)
> > >
> > >
> > > Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09
> > > 12:01:18 2003 UTC).
> > > kobject_register failed for Ensoniq AudioPCI (-17)
> > > Call Trace:
> > > [<c01f6b8a>] kobject_register+0x32/0x48
> > > [<c0248a1b>] bus_add_driver+0x3f/0xa0
> > > [<c0248e0a>] driver_register+0x36/0x3c
> > > [<c01fb236>] pci_register_driver+0x6a/0x90
> > > [<c04117ba>] alsa_card_ens137x_init+0xe/0x3c
> > > [<c03f86f5>] do_initcalls+0x39/0x94
> > > [<c03f876c>] do_basic_setup+0x1c/0x20
> > > [<c010509b>] init+0x33/0x188
> > > [<c0105068>] init+0x0/0x188
> > > [<c0107145>] kernel_thread_helper+0x5/0xc
> > >
> > > ALSA device list:
> > > #0: Intel 82801BA-ICH2 at 0xe800, irq 17
> >
> > I see exactly the same thing with my Sound Blaster 16 PCI.
>
> hmm, something gets wrong when no irq is generated and the pcm stream
> is forced to be closed. i'll check this.
>
> are you using a UP kernel or an SMP kernel?

It's a UP Pentium IV kernel.

--
Amit Shah
http://amitshah.nav.to/

Why do you want to read your code?
The machine will.
-- Sunil Beta