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 11 years ago.
syslog r23263 (75.9 KB) - added by atomozero 11 years ago.
2172611476_2c13c07896_b.jpg (423.5 KB) - added by atomozero 11 years ago.

Download all attachments as: .zip

Change History (22)

Changed 12 years ago by atomozero

Attachment: syslog added

Changed 12 years ago by atomozero

Attachment: syslog_no_driver added

Changed 12 years ago by atomozero

Attachment: syslog_whit_driver added

comment:1 Changed 12 years ago by korli

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).

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

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% :(

Changed 12 years ago by atomozero

Attachment: syslog_use_tread added

comment:3 Changed 12 years ago by korli

any hardware specifications ? sound working on other OSes ?

comment:4 Changed 12 years ago by atomozero

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 Changed 12 years ago by korli

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 Changed 12 years ago by korli

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 Changed 12 years ago by marcusoverhagen

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

comment:8 Changed 12 years ago by atomozero

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 Changed 12 years ago by korli

then update to a working revision ...

comment:10 Changed 11 years ago by korli

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

Changed 11 years ago by atomozero

Attachment: 100cpuload.png added

comment:11 Changed 11 years ago by atomozero

:( the media add on is full load :(

Changed 11 years ago by atomozero

Attachment: syslog r23263 added

comment:12 Changed 11 years ago by atomozero

is there some test i may do?

Changed 11 years ago by atomozero

Attachment: 2172611476_2c13c07896_b.jpg added

comment:13 Changed 11 years ago by korli

Could you try again with hrev26239 ?

comment:14 Changed 11 years ago by korli

Resolution: fixed
Status: newclosed

Closing. Please reopen if needed.

comment:15 Changed 8 years ago by diver

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