Skip to contentSkip to conversation

the last changes to trident driver

DISCUSSION Takashi Iwai 3 participants 10 messages Jan 7, 2003 – Jan 8, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

if someone has a Trident 4DNX (not DX), could you test the latest CVS driver? i hope my last change doesn't break, but i couldn't test the board atm...

thanks in advance,

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#1 lore raw
Quoted 10 lines · On Tue, 07 Jan 2003 17:04:47 +0100 Takashi Iwai <[email protected]> wrote:

Hi,

if someone has a Trident 4DNX (not DX), could you test the latest CVS driver? i hope my last change doesn't break, but i couldn't test the board atm...

thanks in advance,

Takashi

Hi Takashi.

I get a problem with the gameport options not resolving with the following build.

00:09.0 Multimedia audio controller: Trident Microsystems 4DWave NX (rev 02)

./cvscompile --with-cards=trident --with-sequencer --without-isapnp --with-oss

gabrielle:/gsoft/build/ALSA/CVS/alsa-driver# /sbin/depmod -ae 2.4.20
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/sound/pci/trident/snd-trident.o
depmod:         gameport_unregister_port_R70daab68
depmod:         gameport_register_port_R98692e58

Best regards,
James

Signature · 9 lines
James Tappin,             O__      "I forget the punishment for using
[email protected]       --  \/`    Microsoft --- Something lingering
http://www.tappin.me.uk/            with data loss in it I fancy"  


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
#2 lore raw
Quoted 25 lines · On Tue, 7 Jan 2003 19:33:19 +0000 James Tappin <[email protected]> wrote:
Quoted 10 lines · On Tue, 07 Jan 2003 17:04:47 +0100 Takashi Iwai <[email protected]> wrote:

Hi,

if someone has a Trident 4DNX (not DX), could you test the latest CVS driver? i hope my last change doesn't break, but i couldn't test the board atm...

thanks in advance,

Takashi

Hi Takashi.

I get a problem with the gameport options not resolving with the following build.

00:09.0 Multimedia audio controller: Trident Microsystems 4DWave NX (rev
02)

./cvscompile --with-cards=trident --with-sequencer --without-isapnp --with-oss

Quoted 8 lines
gabrielle:/gsoft/build/ALSA/CVS/alsa-driver# /sbin/depmod -ae 2.4.20
depmod: *** Unresolved symbols in
/lib/modules/2.4.20/kernel/sound/pci/trident/snd-trident.o depmod:      
  gameport_unregister_port_R70daab68
depmod:         gameport_register_port_R98692e58

Best regards,
James

Ooops dumbcluck error -- /usr/src/linux was pointing to the 2.5 sources, I'll try again with the right settings.

James

Signature · 9 lines
James Tappin,             O__      "I forget the punishment for using
[email protected]       --  \/`    Microsoft --- Something lingering
http://www.tappin.me.uk/            with data loss in it I fancy"  


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
#3 lore raw
In reply to Takashi Iwai
Quoted 7 lines · On Tue, 07 Jan 2003 17:04:47 +0100 Takashi Iwai <[email protected]> wrote:

Hi,

if someone has a Trident 4DNX (not DX), could you test the latest CVS driver? i hope my last change doesn't break, but i couldn't test the board atm...

Hi Takashi,
I've managed to resolve my unresolved references problem by rebuilding
the kernel without gameport support, but now attempting to aplay a wav file produces an immediate segfault (but it refuses to dump core). Likewise gwc which uses the OSS interface. Also attempting to restart alsa now (after the gwc crash) gives a series of device busy messages:

Shutting down sound driver: snd-pcm-oss: Device or resource busy
snd-mixer-oss: Device or resource busy
snd-trident: Device or resource busy
snd-pcm: Device or resource busy
snd-timer: Device or resource busy
snd-ac97-codec: Device or resource busy
snd-mpu401-uart: Device or resource busy
snd-rawmidi: Device or resource busy
snd-util-mem: Device or resource busy
snd-seq-device: Device or resource busy
snd: Device or resource busy
done

So at least for me right now it looks well-and-truly busted. If you can let me know what further info you need and how to get it I'll try to provide it though it make take a little while if any major builds are needed as the box with the trident in it isn't exactly the fastest in the world (PII 333).

James

Signature · 9 lines
James Tappin,             O__      "I forget the punishment for using
[email protected]       --  \/`    Microsoft --- Something lingering
http://www.tappin.me.uk/            with data loss in it I fancy"  


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
#4 lore raw

At Tue, 7 Jan 2003 23:20:51 +0000,

Quoted 12 lines · James Tappin
Quoted 7 lines · On Tue, 07 Jan 2003 17:04:47 +0100 Takashi Iwai <[email protected]> wrote:

Hi,

if someone has a Trident 4DNX (not DX), could you test the latest CVS driver? i hope my last change doesn't break, but i couldn't test the board atm...

Quoted 4 lines

Hi Takashi,
I've managed to resolve my unresolved references problem by rebuilding
the kernel without gameport support, but now attempting to aplay a wav file produces an immediate segfault (but it refuses to dump core).

hmm, perhaps it caused oops in kernel.
could you check the kernel message and get the trace via ksymoops if possible?

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

At Wed, 8 Jan 2003 11:06:50 +0000,

Quoted 28 lines · James Tappin

On Wed, 08 Jan 2003 11:08:39 +0100
Takashi Iwai <[email protected]> wrote:

TI> At Tue, 7 Jan 2003 23:20:51 +0000,
TI> James Tappin wrote:
TI> >
TI> > On Tue, 07 Jan 2003 17:04:47 +0100
TI> > Takashi Iwai <[email protected]> wrote:
TI> >
TI> > > Hi,
TI> > >
TI> > > if someone has a Trident 4DNX (not DX), could you test the latest CVS TI> > > driver? i hope my last change doesn't break, but i couldn't test the TI> > > board atm...
TI> > >
TI> > >
TI> >
TI> > Hi Takashi,
TI> > I've managed to resolve my unresolved references problem by rebuilding
TI> > the kernel without gameport support, but now attempting to aplay a wav TI> > file produces an immediate segfault (but it refuses to dump core). TI>
TI> hmm, perhaps it caused oops in kernel.
TI> could you check the kernel message and get the trace via ksymoops if TI> possible?
TI>

Quoted 3 lines

I've just logged into the machine from work and looked back at the system logs and this is what I see from "ksymoops syslog.0":

hmm, unfortunately the stack wasn't parsed correctly with symbols. did you build the alsa drivers with debug option (--with-debug=full)? anyway, please rebuild the drivers with the attached patch (and debug option, if not yet). i hope a fatal oops or hang-up can be avoided now...
oh, also, please update the cvs tree again. i've done some changes since yesterday.

thanks,

Takashi

#7 lore raw

On Wed, 08 Jan 2003 13:00:29 +0100
Takashi Iwai <[email protected]> wrote:

TI> At Wed, 8 Jan 2003 11:06:50 +0000,
TI> James Tappin wrote:
TI> >
TI> > On Wed, 08 Jan 2003 11:08:39 +0100
TI> > Takashi Iwai <[email protected]> wrote:
TI> >
TI> > TI> At Tue, 7 Jan 2003 23:20:51 +0000,
TI> > TI> James Tappin wrote:
TI> > TI> >
TI> > TI> > On Tue, 07 Jan 2003 17:04:47 +0100
TI> > TI> > Takashi Iwai <[email protected]> wrote:
TI> > TI> >
TI> > TI> > > Hi,
TI> > TI> > >
TI> > TI> > > if someone has a Trident 4DNX (not DX), could you test the TI> > TI> > > latest CVS driver? i hope my last change doesn't break, TI> > TI> > > but i couldn't test the board atm...
TI> > TI> > >
TI> > TI> > >
TI> > TI> >
TI> > TI> > Hi Takashi,
TI> > TI> > I've managed to resolve my unresolved references problem
TI> > TI> > by rebuilding
TI> > TI> > the kernel without gameport support, but now attempting to TI> > TI> > aplay a wav file produces an immediate segfault (but it TI> > TI> > refuses to dump core).
TI> > TI>
TI> > TI> hmm, perhaps it caused oops in kernel.
TI> > TI> could you check the kernel message and get the trace via TI> > TI> ksymoops if possible?
TI> > TI>
TI> >
TI> > I've just logged into the machine from work and looked back at the TI> > system logs and this is what I see from "ksymoops syslog.0":
TI> >
TI>
TI> hmm, unfortunately the stack wasn't parsed correctly with symbols. TI> did you build the alsa drivers with debug option
TI> (--with-debug=full)? anyway, please rebuild the drivers with the TI> attached patch (and debug option, if not yet). i hope a fatal oops TI> or hang-up can be avoided now...
TI> oh, also, please update the cvs tree again. i've done some changes TI> since yesterday.

As far as I can tell that works, i.e. the modules load, aplay plays a wav file and there's nothing in /var/log/syslog -- I can't tell if any sound's coming out.

Best regards,
James

P.S. any ideas on the incompatibility with a kernel with gameport enabled as modules?

Signature · 11 lines
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| [email protected] | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
#8 lore raw

At Wed, 8 Jan 2003 12:52:27 +0000,

Quoted 10 lines · James Tappin

TI>
TI> hmm, unfortunately the stack wasn't parsed correctly with symbols. TI> did you build the alsa drivers with debug option
TI> (--with-debug=full)? anyway, please rebuild the drivers with the TI> attached patch (and debug option, if not yet). i hope a fatal oops TI> or hang-up can be avoided now...
TI> oh, also, please update the cvs tree again. i've done some changes TI> since yesterday.

Quoted 3 lines

As far as I can tell that works, i.e. the modules load, aplay plays a wav file and there's nothing in /var/log/syslog -- I can't tell if any sound's coming out.

thanks. then it's better to commit it to cvs, to avoid for other people to get oops :)

Quoted 6 lines

Best regards,
James

P.S. any ideas on the incompatibility with a kernel with gameport enabled as modules?

ehm, i thought you had compiled the driver with a different kernel tree? you build the modules with versions, so it must be incompatible...

ciao,

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#9 lore raw

On Wed, 08 Jan 2003 14:05:35 +0100
Takashi Iwai <[email protected]> wrote:

TI> > P.S. any ideas on the incompatibility with a kernel with gameport TI> > enabled as modules?
TI>
TI> ehm, i thought you had compiled the driver with a different kernel TI> tree? you build the modules with versions, so it must be TI> incompatible...

No, even after I fixed that problem, it still gave unresolved symbols until I disabled the gameport stuff in the kernel and rebuilt that, rebooted with the new kernel and did a clean rebuild of ALSA.

James

Signature · 11 lines
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| [email protected] | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
#10 lore raw
In reply to Takashi Iwai
Quoted 12 lines · On Wed, 08 Jan 2003 14:05:35 +0100 Takashi Iwai <[email protected]> wrote:

At Wed, 8 Jan 2003 12:52:27 +0000,

Quoted 10 lines · James Tappin

TI>
TI> hmm, unfortunately the stack wasn't parsed correctly with symbols. TI> did you build the alsa drivers with debug option
TI> (--with-debug=full)? anyway, please rebuild the drivers with the TI> attached patch (and debug option, if not yet). i hope a fatal TI> oops or hang-up can be avoided now...
TI> oh, also, please update the cvs tree again. i've done some TI> changes since yesterday.

Quoted 6 lines
Quoted 3 lines

As far as I can tell that works, i.e. the modules load, aplay plays a wav file and there's nothing in /var/log/syslog -- I can't tell if any sound's coming out.

thanks. then it's better to commit it to cvs, to avoid for other people to get oops :)

Just a quickie to say that the updated version does indeed produce sound as it should. I can't test anything other than PCM output as thats the only hardware I have.

Thanks for the good work,
James

Signature · 9 lines
James Tappin,             O__      "I forget the punishment for using
[email protected]       --  \/`    Microsoft --- Something lingering
http://www.tappin.me.uk/            with data loss in it I fancy"  


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com