I am pretty sure the problem has something to do with the cx88_alsa driver. I am running the latest KnoppixMyth R5D1 and have it pretty much setup where it is working properly for ATSC recording/playback. Now the problem happens everytime I shutdown or stop the alsa driver. The system partially hangs and I get the following error when I stop the alsa service:

I am not really sure what I am looking at but it looks like something bad happened in the kernel with the cx88_alsa driver. Can anyone point me in the direction on how to fix this bug? As it stands, it really is the last major thing I need to fix because it makes me have to login to the machine remotely and kill the alsa stop command in order for the machine to power down.

Posted: Wed Sep 06, 2006 7:57 pm

xyzzy

Joined: 12 Feb 2006

Posts: 225

What kernel are you using? What version of the v4l-dvb drivers? Can you check if running /usr/sbin/alsactl store as root will also cause this crash?

Posted: Thu Sep 07, 2006 7:17 am

Lurker

Joined: 02 Mar 2005

Posts: 8

I will try it tonight, but I do remember seeing [alsactl] in the ps list and IIRC I couldn't kill that process.

I am not certain I am basically using whatever was included in knoppmyth R5D1 and haven't updated any of the drivers or kernel files. So from the change log the kernel should be 2.6.17-chw-8. The changelog does mention an update to the 4vl-dvb drivers to support the HD5500 and other cards but it doesn't mention a version.

Posted: Thu Sep 07, 2006 10:54 pm

Lurker

Joined: 02 Mar 2005

Posts: 8

Ok the kernel is 2.6.17-chw-8
and in syslog:
cx2388x dvb driver version 0.0.5 loaded
cx2388x v4l2 driver version 0.0.5 loaded

Yes running alsactl store crashes when I run it. Same error as above too.

Posted: Fri Sep 15, 2006 10:51 am

mmcgrath10

Joined: 15 Sep 2006

Posts: 2

I am also using a "fresh out of the box" install of knoppmyth R5D10 and I am getting the same errors as the poster above.

Posted: Fri Sep 15, 2006 11:13 am

mmcgrath10

Joined: 15 Sep 2006

Posts: 2

I should add that this problem prevents KnoppMyth from installing correctly becuase the auto configuration program that runs after the installation is completed hangs when configuring ALSA.

Any suggestions?

Posted: Sat Sep 23, 2006 9:10 pm

Lurker

Joined: 02 Mar 2005

Posts: 8

Well I didn't really solve the problem but I worked around it by simply calling:
rmmod cx88_alsa

before the alsactl store call in the script. Now powering down isn't a problem.

mmcgrath10: I didn't install R5D1 with the 5500 installed. I can think of maybe 2 ways to get around it. First install with audio disabled and then install alsa later. And the other, is to install regularly, but before you get to the alsa part try to switch to another terminal screen and just rmmod the cx88_alsa driver.

Posted: Sat Sep 23, 2006 11:56 pm

tscholl

Joined: 25 Aug 2006

Posts: 5

IF you try to install R5D1 with the HD5500 installed it gives kernel error when you run the alsa config

Posted: Sun Sep 24, 2006 4:04 pm

nybbler

Joined: 06 Jul 2006

Posts: 125

I wonder if perhaps you have one of the PCHDTV-5500 boards which doesn't have the sound function enabled. I'd expect this to just keep the driver from loading, but maybe there's a bug which causes this crash instead.

Lurker:
Well I didn't really solve the problem but I worked around it by simply calling:
rmmod cx88_alsa

What script does this get called in? /etc/init.d/alsasound ?

Thanks,

Tim

Posted: Sat Oct 07, 2006 8:56 pm

Lurker

Joined: 02 Mar 2005

Posts: 8

tscholl wrote:

Quote:

Lurker:
Well I didn't really solve the problem but I worked around it by simply calling:
rmmod cx88_alsa

What script does this get called in? /etc/init.d/alsasound ?

Thanks,

Tim

Sorry I can't access the computer right now so I don't know the filename, but yes one of the scripts in /etc/init.d/ is where I put it in. You should see a stop) case and then a couple of lines later you should see a 'alsactl store' command. I just put the line before that command. If you really want to properly do it you might want to make a small script to check if cx88_alsa is loaded before you try to unload it.

Posted: Mon Oct 16, 2006 10:22 pm

rworne

Joined: 14 Oct 2006

Posts: 1

Lurker wrote:

tscholl wrote:

Quote:

Lurker:
Well I didn't really solve the problem but I worked around it by simply calling:
rmmod cx88_alsa

What script does this get called in? /etc/init.d/alsasound ?

Thanks,

Tim

Sorry I can't access the computer right now so I don't know the filename, but yes one of the scripts in /etc/init.d/ is where I put it in. You should see a stop) case and then a couple of lines later you should see a 'alsactl store' command. I just put the line before that command. If you really want to properly do it you might want to make a small script to check if cx88_alsa is loaded before you try to unload it.

I'll try this again, since my post from a few days ago disappeared:

I am having this same issue on shutdown as well as when calling the alsactl store command.