[haiku-bugs] Re: [Haiku] #5128: Booting on Shuttle SN41G2 (Nvidia Nforce2 chipset) only possible within Safe Mode

  • From: "JscBeTrayer" <trac@xxxxxxxxxxxx>
  • Date: Thu, 17 Dec 2009 21:18:21 -0000

#5128: Booting on Shuttle SN41G2 (Nvidia Nforce2 chipset) only possible within
Safe Mode
--------------------------------+-------------------------------------------
 Reporter:  JscBeTrayer         |       Owner:  nobody        
     Type:  bug                 |      Status:  new           
 Priority:  normal              |   Milestone:  R1            
Component:  - General           |     Version:  R1/Development
 Keywords:  SN41G2 boot freeze  |   Blockedby:                
 Platform:  x86                 |    Blocking:                
--------------------------------+-------------------------------------------

Comment(by JscBeTrayer):

 Hello,
 I have now proof that it's the media_server failing :)
 First, answers: yes yesterday I entered KDL by pressing "alt-sysreq-d".

 Here is now what I did: installed the latest nightly again (r34684), tried
 to boot with on screen debug: result was freeze again, and no possiblity
 to enter KDL (alt-sysreq-d didn't work that time).

 So I rebooted in safe mode, sent firewire driver to Trash, and edited my
 Bootscript file: the only change I did was to comment out the two lines
 that launch media_server and midi_server.
 I rebooted normally, and tada! Haiku was there working fine with working
 network, backgrounds, etc. :)
 So I opened a Terminal and tailed syslog to monitor changes in it, opened
 another Terminal and launched media_server from there... and I was thrown
 to KDL without even having to request it this time ^_^
 In KDL I pictured ints, teams, threads of the media_server team. I wanted
 to take pictures of the sems but there were too many out there and I gave
 up after the 5th screen ;-)
 PLease find below transcript of this output (syslog tail, media_server
 last messages in the Terminal, ints, threads of the media_server team):

 1/ Latest Syslog tail before KDL took over:
 {{{
 KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/bus/usb_raw
 KERN: auich: init_hardware()
 KERN: auich: init_driver()
 KERN: auich: auich_setup(0xcee77240)
 KERN: auich: audio/hmulti/auich/1 deviceid - 0x6a chiprev = a1 model =
 f541 enhanced at d800
 KERN: auich: PCI command before: 7
 KERN: auich: PCI command after: 7
 }}}

 2/ Latest media_server output to Terminal before KDL took over:
 {{{
 DefaultManager: Trying connect in format 2
 DefaultManager: can't find free mixer output
 DefaultManager: can't find free mixer output
 DefaultManager: failed to connect mixer and soundcard
 DefaultManager: RescanThread() leave
 DefaultManager: can't find free mixer output
 BMediaRoster::Connect: aborted after BBufferProducer::PrepareToConnect,
 status = 0x80004077
 DefaultManager: failed to connect mixer and soundcard
 DefaultManager: RescanThread() leave
 DefaultManager: Trying connect in format 2
 DefaultManager: failed to connect mixer and soundcard
 DefaultManager: RescanThread() leave
 BMediaRoster::Connect: aborted after BBufferProducer::PrepareToConnect,
 status = 0x80004077
 BMediaRoster::ReleaseNode, trying to release reference counting disabled
 timesource, node 1, port 729223, team 267
 BTimeSource::DirectAddMe should not add itself to slave nodes
 DefaultManager: Trying connect in format 3
 BMediaRoster::Connect: aborted after BBufferProducer::PrepareToConnect,
 status = 0x80004077
 }}}
 Note: team 267 was media_addon_server, but I forgot to capture threads of
 this team


 3/ Auto-entering KDL:
 {{{
 PANIC: port 737420: no messages found

 Welcome to Kernel Debugging Land...
 Thread 828 "Audio Mixer control" running on CPU 0
 kdebug>
 }}}

 4/ ints in KDL:
 {{{
 int   1, enabled 1, handled      177, unhandled        0
    ps2:ps2_interrupt                          (0xceaa26a4), data
 0x00000000, handled      177

 int  10, enabled 2, handled     6525, unhandled        0
    nvidia:nv_interrupt                        (0x803d284c), data
 0xcd469030, handled     6525
    ohci:_InterruptHandler__4OHCIPv            (0x804cace8), data
 0x80e37220, handled     0

 int  11, enabled 2, handled       15, unhandled        0
    ehci:InterruptHandler__4EHCIPv             (0x8049cde8), data
 0x80e37440, handled        0
    nforce:nfe_intr                            (0x803dcfe4), data
 0x81bd3d80, handled <unknown>

 int  12, enabled 3, handled      751, unhandled        0
    auich:auich_int                           (0xcee70934), data
 0xcee77240, handled        8
    ps2:ps2_interrupt                         (0xceaa26a4), data
 0x00000000, handled        0
    ohci:_InterruptHandler__4OHCIPv           (0x804cace8), data
 0x80e37000, handled      743

 int  14, enabled 1, handled     4391, unhandled        2
                                           func 0x80461aec, data
 0x80e39038, handled     4391

 int  15, enabled 1, handled        0, unhandled        0
                                           func 0x80461aec, data
 0x80e39070, handled        0

 int 219, enabled 1, handled    50800, unhandled   108787
                                           func 0x800ece10, data
 0x00000000, handled    50800
 }}}

 5/ threads (260) / 260 being number of media_server team in KDL:
 {{{
 thread         id  state     wait for   object  cpu pri  stack      team
 name
 0xcd4f1000    281  waiting   sem          1743    -   8  0xceea5000  260
 rescan defaults
 0xcd4f3000    284  ready             -            -   8  0xceeb1000  260
 rescan defaults
 0xcd4f3800    285  waiting   sem          1743    -   8  0xceeb5000  260
 rescan defaults
 0xcd4ee000    260  waiting   cvar   0x80d22f70    -  10  0xcee38000  260
 media_server
 0xcd4ea800    263  waiting   sem          1767    -  19  0xcee40000  260
 notification broadcast
 0xcd4ee800    264  waiting   sem          1775    -  10  0xcee44000  260
 big brother is watching you
 0xcd4eb800    265  waiting   cvar   0x80d2309c    - 105  0xcee48000  260
 media_server cotrol
 0xcd4fb000    268  waiting   cvar   0x80d232f4    -  10  0xcee50000  260
 AddOnMonitor
 0xcd4fe000    275  waiting   cvar   0x80d2354c    -  20  0xcee68000  260
 _BMediaRoster_
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5128#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: