Menu

Tru64 adventure

2008-02-20
2013-04-03
  • David Leonard

    David Leonard - 2008-02-20

    Has anyone tried booting the Tru64 install CD?
    I have :) And I was amazed to see it get so far.. But it hit some hiccups.. looks like the USB driver didn't like the way it was probed

    AlphaServer ES40
    pci1 (primary bus:1) at nexus
    pci0 (primary bus:0) at nexus
    vga0 at pci0 slot 2
    640x480 VGA, 16 colors
    vga0: generic VGA driver
    isa0 at pci0
    gpc0 at isa0
    gpc1 not probed
    Baud 0 is unsupported; setting console port to 9600 baud
    ace0 at isa0
    ace1 at isa0
    lp0 at isa0
    <FDI: FATAL ERROR #114  sra:00000000 dor:00000000 msr:00000000>
    <FDI: FATAL ERROR #125  sra:00000000 dor:00000000 msr:00000000>
    fd internal driver error: FDI PROBE FAIL (A,11).

    fdi0 not probed
    ata0 at pci0 slot 15
    ata0: ACER M1543C

    then

    ide1.0 aborting on command 0xec
    pci0.19(ali_usb).0 No BAR read handler installed!
    Freeing memory in use by system...
    pci0.15(ali_ide).disk0.0(file): Closing file.
    pci0.15(ali_ide).disk1.0(file): Closing file.
    %VGA-I-SHUTDOWN: vga console has shut down.

    So, I disabled the ali_usb line in es40.cfg and tried again, but this time the Cirrus driver didn't expect a read from 0x3ca.

    %VGA-W-PORT: Unhandled port 3ca read
    Freeing memory in use by system...
    pci0.15(ali_ide).disk0.0(file): Closing file.
    pci0.15(ali_ide).disk1.0(file): Closing file.
    %VGA-I-SHUTDOWN: vga console has shut down.

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 1082132816 (LWP 18580)]
    0x0000000000463170 in typeinfo name for CSystemComponent ()
    (gdb) where
    #0  0x0000000000463170 in typeinfo name for CSystemComponent ()
    #1  0x0000000000453f60 in bx_sdl_gui_c::text_update (this=0x69fae0,
        old_text=0x6abfd4 "fOoOrOcOiOnOgO OiOnOtOeOrOrOuOpOtO OiOnO OtOlO_OdOoO_OcOoOmOmOaOnOdO O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O OFOiOrOmOwOaOrOeO OrOeOvOiOsOiOoOnO:O O7O"...,
        new_text=0x2b4513afc010 "fOoOrOcOiOnOgO OiOnOtOeOrOrOuOpOtO OiOnO OtOlO_OdOoO_OcOoOmOmOaOnOdO O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O OFOiOrOmOwOaOrOeO OrOeOvOiOsOiOoOnO:O O7O"...,
        cursor_x=0, cursor_y=24, tm_info=
          {start_address = 0, cs_start = 13 '\r', cs_end = 15 '\017', line_offset = 160, line_compare = 1023, h_panning = 0 '\0', v_panning = 0 '\0', line_graphics = true, split_hpanning = false}, nrows=25) at gui/sdl.cpp:273
    #2  0x0000000000427b89 in CCirrus::update (this=0x6a9e50) at Cirrus.cpp:2211
    #3  0x000000000042939c in refresh_proc_cirrus (lpParam=<value optimized out>)
        at Cirrus.cpp:122
    #4  0x00002b45024e6317 in start_thread () from /lib/libpthread.so.0
    #5  0x00002b4502257d5d in clone () from /lib/libc.so.6
    #6  0x0000000000000000 in ?? ()

    This is pretty cool.
    I made read the Cirrus driver's 0x3ca reads return 0. This got a bit further: es40 threw an exception on reads to cirrus 0x3c2, which I addressed by making read_b_3c2 return read_b3cc(). [shrug]

    This seemed to allow Tru64 to initialise the vga, but then it hit that X11-thread problem (unexpected async reply) and es40 SEGV'd out inside of libSDL.

    totally awesome!

     
    • David Leonard

      David Leonard - 2008-02-20

      Okay, I put a whole bunch of pthread_mutex_lock() inside Keyboard.cpp and Cirrus.cpp and, that got rid of the unexpected asyncs.
      Amazingly, the Tru64 CD got far along enough to start its X server :) But it then just stays at a black screen for more than my attention span.
      Now to find the boot -param that does a serial install...

       
      • Camiel Vanderhoeven

        Hello David,

        The VGA part of the emulator is probably the least developed (apart from the USB); it is notoriously difficult to find all the proper documentation needed for the emulation.

        I'm very interested in the changes you made to Keyboard.cpp and Cirrus.cpp; could you send me a mail at camiel@camicom.com with your changes?

        Thanks,

        Camiel.

         
    • David Leonard

      David Leonard - 2008-02-20
       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.