Opened 17 years ago

Closed 16 years ago

Last modified 13 years ago

#1919 closed bug (fixed)

Cursor hangs on startup

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

Description

On startup, Haiku rev. #24385 has a frozen cursor on a blue desktop with nothing on it.

Attachments (9)

serialconnect.txt (151.5 KB ) - added by meanwhile 17 years ago.
serial25477.txt (72.9 KB ) - added by meanwhile 17 years ago.
3sessionserial25565.txt (64.7 KB ) - added by meanwhile 17 years ago.
r25575serial.txt (74.3 KB ) - added by meanwhile 17 years ago.
r25593serial.txt (65.6 KB ) - added by meanwhile 17 years ago.
r25593serial2.txt (42.9 KB ) - added by meanwhile 17 years ago.
r245619boot.txt (77.7 KB ) - added by meanwhile 17 years ago.
r26003.txt (67.2 KB ) - added by meanwhile 16 years ago.
serial26375.txt (84.9 KB ) - added by meanwhile 16 years ago.

Download all attachments as: .zip

Change History (38)

by meanwhile, 17 years ago

Attachment: serialconnect.txt added

comment:1 by meanwhile, 17 years ago

I got it to run normally just once, which was after choosing 'Default' Video Mode in the Haiku Boot Loader menu. It's maybe because the screen prefs were adjusted after that, that this couldn't be repeated. Running Haiku in VESA mode doesn't help either.

comment:2 by mmlr, 17 years ago

Component: - GeneralDrivers/Audio
Owner: changed from axeld to korli

This seems pretty obvious to me:

auich: installing interrupt : 9
More than 99% interrupts of vector 9 are unhandled

So from the syslog it starts immediately after auich apparently installed it's interrupt handler (and probably activated the interrupts). Also checking the syslog the only devices present at interrupt line 9 are audio, a modem and SMBus. So it would make sense if this was actually triggered by auich.

comment:3 by meanwhile, 17 years ago

Thanks for kicking the ball onward, mmlr!

comment:4 by korli, 17 years ago

Could you try again with hrev25476+ and provide the usual serial output ?

by meanwhile, 17 years ago

Attachment: serial25477.txt added

comment:5 by meanwhile, 17 years ago

Serial output is in attachment 'serial25477'; the behaviour's unchanged.

comment:6 by korli, 17 years ago

Status: newassigned

I need to patch the ac97 code. I hope to do so soon.

comment:7 by korli, 17 years ago

Could you try again with hrev25516+ please ?

comment:8 by meanwhile, 17 years ago

I will. (but there are haven't been any new builds after hrev25477 from May 12th)

comment:9 by meanwhile, 17 years ago

Mixed results now (with hrev25565): the attached serial data show the second boot which was successfull, then the third boot, which wasn't and the fourth, which wasn't either (but got further and showed a Terminal window). I didn't catch data from the first boot as I had the cable connected to the wrong serial port at that time...

by meanwhile, 17 years ago

Attachment: 3sessionserial25565.txt added

comment:10 by korli, 17 years ago

Could you try again with hrev25574 please ?

by meanwhile, 17 years ago

Attachment: r25575serial.txt added

comment:11 by meanwhile, 17 years ago

It now shows the Deskbar each time, but the boot process ends there; the OS freezes.

comment:12 by korli, 17 years ago

Once again, could you check with hrev25592 ?

by meanwhile, 17 years ago

Attachment: r25593serial.txt added

by meanwhile, 17 years ago

Attachment: r25593serial2.txt added

comment:13 by meanwhile, 17 years ago

(Please ignore the first attachment, r25593serial.txt. Use r25593serial2.txt instead) The last message from the log seemed to repeat forever, so I shut down the PC after a while. Perhaps because of the size of the log caused by this behaviour, copy and paste didn't save the very first part of the log, or I somehow messed up. Let me know when and if you need this part too. Sorry!

comment:14 by korli, 17 years ago

Could you check with hrev25616 ?

comment:15 by meanwhile, 17 years ago

Hi korli, well it works now: the OS boots nicely (and fully).

BTW, I never had any sound from Haiku yet, but this may be too early, judging by the fact that all sliders in Media prefs. are muted by default and immediately return to that situation after 'unmuting' each and then closing the prefs. window.

comment:16 by meanwhile, 17 years ago

Thanks for your patience and hard work!

in reply to:  15 comment:17 by korli, 17 years ago

Replying to meanwhile:

Hi korli, well it works now: the OS boots nicely (and fully).

BTW, I never had any sound from Haiku yet, but this may be too early, judging by the fact that all sliders in Media prefs. are muted by default and immediately return to that situation after 'unmuting' each and then closing the prefs. window.

Didn't understand : there is no sound ? Could you post a serial output ?

comment:18 by meanwhile, 17 years ago

Earlier Haiku revisions on this PC never had working sound, so in fact this may be a seperate issue/bug. In hrev245619 I do notice a very short crack through my headphones at the moment after the Terminal shows up and before the Deskbar shows up, so there was an audio signal for a short moment. In 'Media' preferences window, when selecting 'Auich ICH' on the tab called 'AC97 Mixer', all the sliders have 'Mute' selected with a blue cross. When removing the blue crosses and then closing the Media preferences window and re-opening it, the blue crosses are there again; that's what I meant by "all sliders are muted". Anyhow, I hope the r245619boot.txt attachment will be informative.

by meanwhile, 17 years ago

Attachment: r245619boot.txt added

comment:19 by korli, 16 years ago

Could you check again ? Rudolf made a change which could help in your case.

in reply to:  19 ; comment:20 by meanwhile, 16 years ago

Replying to korli:

Could you check again ? Rudolf made a change which could help in your case.

It did help...thanks both of you; CD playback is very good and I'll test other audio files. (A 'BeStartup.wav' from BeOS is a bit troublesome for example, but that might end up in another ticket) Thanks again :-) ...and this bug can be closed, I think.

in reply to:  20 ; comment:21 by korli, 16 years ago

Replying to meanwhile:

It did help...thanks both of you; CD playback is very good and I'll test other audio files.

Ok, we would need to check accessed registers, some could be invalid uses.

(A 'BeStartup.wav' from BeOS is a bit troublesome for example, but that might end up in another ticket)

Yes. I have problems with such files too.

Thanks again :-) ...and this bug can be closed, I think.

in reply to:  21 comment:22 by korli, 16 years ago

Replying to korli:

Replying to meanwhile:

It did help...thanks both of you; CD playback is very good and I'll test other audio files.

Ok, we would need to check accessed registers, some could be invalid uses.

Meanwhile, could you check again with hrev25978 and provide the serial output ? Thanks.

by meanwhile, 16 years ago

Attachment: r26003.txt added

comment:23 by meanwhile, 16 years ago

Hi korli, the attachment is from the 1st boot of a new install (hrev26003). Cheers, Meanwhile.

in reply to:  23 comment:24 by korli, 16 years ago

Replying to meanwhile:

Hi korli, the attachment is from the 1st boot of a new install (hrev26003). Cheers, Meanwhile.

Thanks. It seems ac97_reg_is_valid() should be updated for CODEC_ID_AD1885, avoiding 0x56.

in reply to:  23 comment:25 by korli, 16 years ago

Replying to meanwhile:

Hi korli, the attachment is from the 1st boot of a new install (hrev26003). Cheers, Meanwhile.

Could you check again with hrev26168 and provide the serial output ? Thanks.

comment:26 by meanwhile, 16 years ago

I'm stuck for the moment on another issue that prevents me from running a new revision on this hardware...(see bugs #2461 and #2470)

comment:27 by meanwhile, 16 years ago

Got a recent working Haiku partition again: hrev26375

by meanwhile, 16 years ago

Attachment: serial26375.txt added

comment:28 by korli, 16 years ago

Resolution: fixed
Status: assignedclosed

Thanks. Bug really fixed.

comment:29 by diver, 13 years ago

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