[LAU] hdsp not happy with recent kernels

peter at peterlutek.com peter at peterlutek.com
Sat Sep 15 18:32:21 UTC 2012


> On 09/15/2012 08:04 AM, peter at peterlutek.com wrote:
>>> i've just switched over to jack1... it fails as well, with a different
>>> error message (don't know if this sheds any more light on the
>>> situation!):
>>>
>>> plutek at palnote:~$ jackd 0.122.0
>>> Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben
>>> Hohn
>>> and others.
>>> jackd comes with ABSOLUTELY NO WARRANTY
>>> This is free software, and you are welcome to redistribute it
>>> under certain conditions; see the file COPYING for details
>>>
>>> JACK compiled with System V SHM support.
>>> loading driver ..
>>> apparent rate = 44100
>>> creating alsa driver ...
>>> hw:0,0|hw:0,0|256|2|44100|0|0|nomon|swmeter|-|32bit
>>> control device hw:0
>>> configuring for 44100Hz, period = 256 frames (5.8 ms), buffer = 2
>>> periods
>>> ALSA: final selected sample format for capture: 32bit integer
>>> little-endian
>>> ALSA: use 2 periods for capture
>>> ALSA: final selected sample format for playback: 32bit integer
>>> little-endian
>>> ALSA: use 2 periods for playback
>>> ALSA: prepare error for playback on "hw:0,0" (Input/output error)
>>> DRIVER NT: could not run driver cycle
>>>
>>> **** alsa_pcm: xrun of at least 0.013 msecs
>>>
>>> thanks again for any help on this!
>>
>> ooops... getting rid of the extra -p flag, and going with -p1024, i get
>> this:
>>
>> plutek at palnote:~$ jackd -dalsa -r44100 -p1024 -n2 -D -Chw:0,0 -Phw:0,0&
>> [1] 3580
>> plutek at palnote:~$ jackd 0.122.0
>> Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn
>> and others.
>> jackd comes with ABSOLUTELY NO WARRANTY
>> This is free software, and you are welcome to redistribute it
>> under certain conditions; see the file COPYING for details
>>
>> JACK compiled with System V SHM support.
>> loading driver ..
>> apparent rate = 44100
>> creating alsa driver ...
>> hw:0,0|hw:0,0|1024|2|44100|0|0|nomon|swmeter|-|32bit
>> control device hw:0
>> configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2
>> periods
>> ALSA: final selected sample format for capture: 32bit integer
>> little-endian
>> ALSA: use 2 periods for capture
>> ALSA: final selected sample format for playback: 32bit integer
>> little-endian
>> ALSA: use 2 periods for playback
>> jackd watchdog: timeout - killing jackd
>
> All errors seem to point to a problem with interrupts. Somehow the
> kernel is not handling interrupts from the soundcard, or the soundcard
> is not generating them. Jack's driver waits for them and they never
> arrive and as a result eventually the watchdog kills the whole thing in
> the case of jack1.
>
> Anything in /var/log/messages?

maybe, if i knew what to look for!  ;-)

comparing a 3.2.0 (jack fails) boot with a 3.1-6 (jack is ok) boot, i
noticed two things:

3.2.0: NMI watchdog is active (disabling it via kernel params didn't fix
jack)

BOTH show this:
Sep 15 10:52:17 palnote kernel: [    0.810792] pci 0000:00:1c.3: PCI INT D
-> GSI 19 (level, low) -> IRQ 19
Sep 15 10:52:17 palnote kernel: [    1.391566] firewire_ohci 0000:0d:00.3:
PCI INT D -> GSI 19 (level, low) -> IRQ 19
Sep 15 10:52:17 palnote kernel: [    1.567717] ahci 0000:00:1f.2: PCI INT
B -> GSI 19 (level, low) -> IRQ 19
Sep 15 10:52:17 palnote kernel: [   11.827204] snd_hdsp 0000:05:00.0: PCI
INT A -> GSI 19 (level, low) -> IRQ 19

so, perhaps the hdsp sharing IRQ 19 with ohci and ahci is not a good
thing?? but that's the same in BOTH boots, so i dunno....

anything else i should look for, or any other info you might be interested
in seeing?

big thanks for any help on this, fernando!!

cheers!
.pltk.



More information about the Linux-audio-user mailing list