Opened 12 years ago

Closed 11 years ago

Last modified 8 years ago

#1217 closed bug (fixed)

AUICH looping media_server

Reported by: atomozero Owned by: korli
Priority: normal Milestone: R1
Component: Drivers/Audio/auich Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

AUICH driver sends the media_server into a loop making it use the 100% of the CPU

Attachments (7)

syslog (53.0 KB ) - added by atomozero 12 years ago.
syslog_no_driver (147.5 KB ) - added by atomozero 12 years ago.
syslog_whit_driver (72.2 KB ) - added by atomozero 12 years ago.
syslog_use_tread (72.5 KB ) - added by atomozero 12 years ago.
100cpuload.png (110.2 KB ) - added by atomozero 12 years ago.
syslog r23263 (75.9 KB ) - added by atomozero 12 years ago.
2172611476_2c13c07896_b.jpg (423.5 KB ) - added by atomozero 12 years ago.

Download all attachments as: .zip

Change History (22)

by atomozero, 12 years ago

Attachment: syslog added

by atomozero, 12 years ago

Attachment: syslog_no_driver added

by atomozero, 12 years ago

Attachment: syslog_whit_driver added

comment:1 by korli, 12 years ago

It seems there is no interrupt set for your audio device, hence no automatic support for it. You can eventually try to play with the auich settings file (there is a "use_thread" setting).

in reply to:  1 comment:2 by atomozero, 12 years ago

Replying to korli:

You can eventually try to play with the auich settings file (there is a "use_thread" setting).

nothing, the media_Server is always 100% :(

by atomozero, 12 years ago

Attachment: syslog_use_tread added

comment:3 by korli, 12 years ago

any hardware specifications ? sound working on other OSes ?

comment:4 by atomozero, 12 years ago

works on windows and linux

if i dellete the driver it works whit OpenSound System

the system is a centrino laptop Asus M2400N

comment:5 by korli, 12 years ago

Could you try to change in src/add-ons/kernel/drivers/audio/ac97/auich/io.c ? auich_codec_wait(): snooze(1) => snooze(10)

comment:6 by korli, 12 years ago

Could you try to change in src/add-ons/kernel/drivers/audio/ac97/auich/auich.c ? auich_setup()

cmd | PCI_command_io => cmd | PCI_command_memory

comment:7 by marcusoverhagen, 12 years ago

ICH4 needs memory mapped io, and everything earlier uses port io

comment:8 by atomozero, 12 years ago

i cant test :(( whit last version i cant boot :(

PANIC: wm_page_fault:unhadled page fault in kernel space at 0x91bc48b, ip 0x800a4f63

comment:9 by korli, 12 years ago

then update to a working revision ...

comment:10 by korli, 12 years ago

Could you test again ? the current haiku build is supposed to be working.

by atomozero, 12 years ago

Attachment: 100cpuload.png added

comment:11 by atomozero, 12 years ago

:( the media add on is full load :(

by atomozero, 12 years ago

Attachment: syslog r23263 added

comment:12 by atomozero, 12 years ago

is there some test i may do?

by atomozero, 12 years ago

Attachment: 2172611476_2c13c07896_b.jpg added

comment:13 by korli, 11 years ago

Could you try again with hrev26239 ?

comment:14 by korli, 11 years ago

Resolution: fixed
Status: newclosed

Closing. Please reopen if needed.

comment:15 by diver, 8 years ago

Component: Drivers/AudioDrivers/Audio/AUICH
Note: See TracTickets for help on using tickets.