Opened 4 years ago

Last modified 3 years ago

#16275 new bug

hda: buffer_exchange: Error waiting for playback buffer to finish (Interrupted system call)!

Reported by: eml Owned by: korli
Priority: normal Milestone: Unscheduled
Component: Drivers/Audio/HDA Version: R1/beta2
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I'll attempt to fill this with more information, but before I boot back into Haiku I'll at least provide the syslog.

This is on a ThinkPad T460s (TODO: lspci) running on R1beta2 with updated software, 64-bit.

I get fairly random results when booting (install worked flawlessly), hard to say how often it works and when it does not. Safe mode so far hasn't really changed anything.

The syslog ends with the same line as the title, so I suppose this is related to audio:

hda: buffer_exchange: Error waiting for playback buffer to finish (Interrupted system call)!

Very happy to provide more information and possibly help fix it.

Attachments (4)

SYSLOG00.TXT (115.7 KB ) - added by eml 4 years ago.
drivers1.txt (1.6 KB ) - added by eml 4 years ago.
listdev1.txt (2.1 KB ) - added by eml 4 years ago.
listusb1.txt (30.2 KB ) - added by eml 4 years ago.

Download all attachments as: .zip

Change History (9)

by eml, 4 years ago

Attachment: SYSLOG00.TXT added

comment:1 by waddlesplash, 4 years ago

Component: - GeneralDrivers/Audio/HDA
Owner: changed from nobody to korli

comment:2 by eml, 4 years ago

After blacklisting the HDA driver I'm still having random boot errors, so this ticket may be invalid.

by eml, 4 years ago

Attachment: drivers1.txt added

by eml, 4 years ago

Attachment: listdev1.txt added

by eml, 4 years ago

Attachment: listusb1.txt added

comment:3 by ttcoder, 4 years ago

Platform: x86-64All

Well some essential code is failing a few lines before that error, here : https://dev.haiku-os.org/attachment/ticket/16275/SYSLOG00.TXT#L2561

hda: hda_audio_group_get_widgets failed for  playback stream
2562	hda: hda_audio_group_get_widgets failed for record stream
2563	hda: streams playback 0x0000000000000000, record 0x0000000000000000
2564	hda: Failed to setup new audio function group (No such device)!

It's strange that the driver does not bail out at that point, but instead goes on with init and attempts to setup buffers and so on. Anyway yea, seems your HDA audio chipset is not supported at this point.

comment:4 by ttcoder, 4 years ago

Sorry disregard the above, the "no such device" is obviously related to Codec 3, the rest of the log is about Codec 0, so the driver appears to be functioning normally in that respect.

I cannot talk to your boot errors (separate ticket?) but the part of your syslog you highlighted...

hda: buffer_exchange: Error waiting for playback buffer to finish (Interrupted system call)!

Is the same I get on my T410, as seen in my syslog just now...

KERN: debug_server: Killing team 603 (/boot/system/servers/media_addon_server)
KERN: hda: buffer_exchange: Error waiting for playback buffer to finish (Interrupted system call)!
KERN: hda_stream_stop()

... at boot-up, right as media_addon_server crashes, on older Haiku hrevs. Restarting media services gets audio going. Just in case that errors puts you on an interesting track, I'll mention that there are various tickets about media_addon_server crashes, some mention some kind of interaction with firewire, so you could try to blacklist that. I thought those tickets were fixed a while back but might be wrong.

comment:5 by korli, 3 years ago

Please check with a current nightly.

Note: See TracTickets for help on using tickets.