{"action":"created","issue":{"url":"https://api.github.com/repos/simh/simh/issues/366","repository_url":"https://api.github.com/repos/simh/simh","labels_url":"https://api.github.com/repos/simh/simh/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/simh/simh/issues/366/comments","events_url":"https://api.github.com/repos/simh/simh/issues/366/events","html_url":"https://github.com/simh/simh/issues/366","id":196304747,"number":366,"title":"MicroVAX 3900 - old original SIMH bootrom fails self test","user":{"login":"agn453","id":5526341,"avatar_url":"https://avatars.githubusercontent.com/u/5526341?v=3","gravatar_id":"","url":"https://api.github.com/users/agn453","html_url":"https://github.com/agn453","followers_url":"https://api.github.com/users/agn453/followers","following_url":"https://api.github.com/users/agn453/following{/other_user}","gists_url":"https://api.github.com/users/agn453/gists{/gist_id}","starred_url":"https://api.github.com/users/agn453/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agn453/subscriptions","organizations_url":"https://api.github.com/users/agn453/orgs","repos_url":"https://api.github.com/users/agn453/repos","events_url":"https://api.github.com/users/agn453/events{/privacy}","received_events_url":"https://api.github.com/users/agn453/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-18T22:49:27Z","updated_at":"2016-12-30T23:40:38Z","closed_at":null,"body":"Something has happened that now causes the old SIMH MicroVAX 3900 microcode self-test to fail.  This is using the original ka655.bin that I've been using since SIMH V3.1 (or before).\r\n\r\ntrillian:~/simh$ ls -la ka655.bin \r\n-rwxrwx---+ 1 Tony Tony 131072 Nov 23  2001 ka655.bin\r\n\r\nUsing the current (latest) GitHub sources -\r\n\r\ntrillian:~/simh$ vax\r\n\r\nMicroVAX 3900 simulator V4.0-0 Beta        git commit id: 36276a79\r\nsim> show version\r\nMicroVAX 3900 simulator V4.0-0 Beta\r\n        Simulator Framework Capabilities:\r\n                64b data\r\n                64b addresses\r\n                Ethernet Packet transports:PCAP:NAT:UDP\r\n                Idle/Throttling support is available\r\n                Virtual Hard Disk (VHD) support\r\n                Asynchronous I/O support\r\n                Asynchronous Clock support\r\n                FrontPanel API Version 2\r\n        Host Platform:\r\n                Compiler: GCC 5.4.0\r\n                Simulator Compiled as C arch: x86 (Release Build) on Dec 19 2016 at 08:59:27\r\n                Memory Access: Little Endian\r\n                Memory Pointer Size: 32 bits\r\n                Large File (>2GB) support\r\n                SDL Video support: SDL Version 2.0.3\r\n                No RegEx support for EXPECT commands\r\n                OS clock resolution: 1ms\r\n                OS: CYGWIN_NT-10.0-WOW trillian 2.6.0(0.304/5/3) 2016-08-31 14:27 i686 Cygwin\r\n        git commit id: 36276a79\r\nsim> load -r ka655.bin\r\nsim> att nvr vaxnvram.bin\r\nNVR: buffering file in memory\r\nsim> boot cpu\r\n\r\n\r\nKA655-B V5.3, VMB 2.7\r\nPerforming normal system tests.\r\n40..39..38..37..36..35..34..33..32..31..\r\n\r\n?53 2 09 FF 00 0000\r\n\r\nP1=00000002  P2=00000028  P3=80001B43  P4=00D40077  P5=00000000\r\nP6=FFFFFFFF  P7=00000000  P8=00000000  P9=00000000 P10=20051CE0\r\nr0=00000000  r1=20140110  r2=C5FC3F66  r3=000302F5  r4=C5FC3F70\r\nr5=2004E8F9  r6=00018678  r7=000186C8  r8=00016B5D ERF=80000000\r\n30..29..28..27..26..25..\r\n24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..\r\n08..07..06..05..04..03..\r\nNormal operation not possible.\r\n\r\n\r\nCompared with a version I compiled a few weeks ago -\r\n\r\ntrillian:~/simh$ ../src/simh-master-f8147fca/BIN/microvax3900.exe \r\n\r\nMicroVAX 3900 simulator V4.0-0 Beta        git commit id: f8147fca\r\nsim> show version\r\nMicroVAX 3900 simulator V4.0-0 Beta\r\n        Simulator Framework Capabilities:\r\n                64b data\r\n                64b addresses\r\n                Ethernet Packet transports:PCAP:NAT:UDP\r\n                Idle/Throttling support is available\r\n                Virtual Hard Disk (VHD) support\r\n                Asynchronous I/O support\r\n                Asynchronous Clock support\r\n                FrontPanel API Version 2\r\n        Host Platform:\r\n                Compiler: GCC 5.4.0\r\n                Simulator Compiled as C arch: x86 (Release Build) on Nov 28 2016 at 12:02:57\r\n                Memory Access: Little Endian\r\n                Memory Pointer Size: 32 bits\r\n                Large File (>2GB) support\r\n                SDL Video support: SDL Version 2.0.3\r\n                No RegEx support for EXPECT commands\r\n                OS clock resolution: 1ms\r\n                Time taken by msleep(1): 2ms\r\n                OS: CYGWIN_NT-10.0-WOW trillian 2.6.0(0.304/5/3) 2016-08-31 14:27 i686 Cygwin\r\n        git commit id: f8147fca\r\nsim> load -r ka655.bin\r\nsim> att nvr vaxnvram.bin\r\nNVR: buffering file in memory\r\nsim> boot cpu\r\n\r\n\r\nKA655-B V5.3, VMB 2.7\r\nPerforming normal system tests.\r\n40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..\r\n24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..\r\n08..07..06..05..04..03..\r\nTests completed.\r\n>>>\r\n\r\nIf I switch to using the built-in ka655x rom code things appear to be fine (maybe more selftests have been bypassed in this).  Just reporting in case you get other reports like this!  I've been using the same old version of KA655.BIN for a very long time!  According to the KA655 System Maintenance guide - test 53 is a TOY Clock test.\r\n\r\nI also tried this under Visual Studio Express 2013 for Desktop - and the old boot rom selftest sometimes hangs after test 30 or 31 - and sometimes completes normally to the chevron >>> prompt.  Weird!\r\n\r\nTony"},"comment":{"url":"https://api.github.com/repos/simh/simh/issues/comments/269835417","html_url":"https://github.com/simh/simh/issues/366#issuecomment-269835417","issue_url":"https://api.github.com/repos/simh/simh/issues/366","id":269835417,"user":{"login":"markpizz","id":422671,"avatar_url":"https://avatars.githubusercontent.com/u/422671?v=3","gravatar_id":"","url":"https://api.github.com/users/markpizz","html_url":"https://github.com/markpizz","followers_url":"https://api.github.com/users/markpizz/followers","following_url":"https://api.github.com/users/markpizz/following{/other_user}","gists_url":"https://api.github.com/users/markpizz/gists{/gist_id}","starred_url":"https://api.github.com/users/markpizz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markpizz/subscriptions","organizations_url":"https://api.github.com/users/markpizz/orgs","repos_url":"https://api.github.com/users/markpizz/repos","events_url":"https://api.github.com/users/markpizz/events{/privacy}","received_events_url":"https://api.github.com/users/markpizz/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T23:40:38Z","updated_at":"2016-12-30T23:40:38Z","body":"Hmmm...  This is crazy!!  I've got the script I provided running for 5 + hours in an RDP session without failure.\r\n\r\nPlease pick up the latest code and run the tests again using this script:\r\n\r\n    set env LAST_ONE=\"28..\"\r\n    set debug -rpn tmr.dbg\r\n    set console log=debug\r\n    set int-clock debug=time;queue;calib\r\n    set sysd debug=todr;int;schd;regr;regw\r\n    set remote telnet=12347\r\n    load -r ka655.bin\r\n    set quiet\r\n    expect -p %LAST_ONE% ; set debug -rpn tmr.dbg ; set console log=debug; goto boot\r\n    expect \"?53\" noexpect %LAST_ONE%; echo ; show clock ; return\r\n    expect \"?52\" noexpect %LAST_ONE%; echo ; show clock ; return\r\n    :boot\r\n    boot\r\n    noexpect %LAST_ONE%\r\n    show clock\r\n\r\nThe resulting debug file will be shorter and what I need to look at should be near the end of the file.\r\n\r\nIn your above output, test 52 failed twice (once for each of the interval timers).  Since they both fail, things are very consistent in your environment.  The first failure will be more than sufficient to try and understand what is happening especially if it can be uncluttered from the subsequent activities with the interval timers.\r\n\r\nThanks.\r\n\r\n- Mark"}}
{"actor":{"display_login":"markpizz"}}