{"action":"created","issue":{"url":"https://api.github.com/repos/simh/simh/issues/315","repository_url":"https://api.github.com/repos/simh/simh","labels_url":"https://api.github.com/repos/simh/simh/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/simh/simh/issues/315/comments","events_url":"https://api.github.com/repos/simh/simh/issues/315/events","html_url":"https://github.com/simh/simh/issues/315","id":155208108,"number":315,"title":"VAX simulators fail to bood old versions of NetBSD","user":{"login":"jguillaumes","id":1552242,"avatar_url":"https://avatars.githubusercontent.com/u/1552242?v=3","gravatar_id":"","url":"https://api.github.com/users/jguillaumes","html_url":"https://github.com/jguillaumes","followers_url":"https://api.github.com/users/jguillaumes/followers","following_url":"https://api.github.com/users/jguillaumes/following{/other_user}","gists_url":"https://api.github.com/users/jguillaumes/gists{/gist_id}","starred_url":"https://api.github.com/users/jguillaumes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jguillaumes/subscriptions","organizations_url":"https://api.github.com/users/jguillaumes/orgs","repos_url":"https://api.github.com/users/jguillaumes/repos","events_url":"https://api.github.com/users/jguillaumes/events{/privacy}","received_events_url":"https://api.github.com/users/jguillaumes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-17T08:56:29Z","updated_at":"2016-05-18T16:03:02Z","closed_at":null,"body":"How to reproduce:\r\n\r\n- Grab an 'old' NetBSD ISO (I've tried with 1.6.2, 2.1 and 3.0).\r\n- Start the vax simulator (no config file needed)\r\n- Try to boot the install CD\r\n\r\n```\r\nsim> attach rq0 vaxcd210.iso\r\nsim> boot\r\nLoading boot code from internal ka655x.bin\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>>>boot dua0\r\n(BOOT/R5:0 DUA0\r\n\r\n\r\n\r\n  2..\r\n-DUA0\r\n  1..0..\r\n\r\n\r\n>> NetBSD/vax boot [1.11 Tue Oct 25 01:22:31 UTC 2005] <<\r\n>> Press any key to abort autoboot 0\r\ngetdisklabel: no disk label\r\nnfs_open: must mount first.\r\n2490992+155176=0x286284\r\nCopyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005\r\n\r\nInfinite loop, PC: 800B505D (RET)\r\nsim>                                                      \r\n```\r\n\r\nI have bissected the repository, and it looks this was introduced in commit 90ea285c\r\n\r\n```\r\nsim> show ver\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:TAP:VDE:NAT:UDP\r\n                Idle/Throttling support is available\r\n                Virtual Hard Disk (VHD) support\r\n                Asynchronous I/O support\r\n                FrontPanel API Version 1\r\n        Host Platform:\r\n                Compiler: GCC 5.3.0\r\n                Simulator Compiled: May 17 2016 at 10:47:46\r\n                Memory Access: Little Endian\r\n                Memory Pointer Size: 64 bits\r\n                Large File (>2GB) support\r\n                SDL Video support: SDL Version 2.0.4\r\n                PCRE RegEx support for EXPECT commands\r\n                OS clock resolution: 1ms\r\n                Time taken by msleep(1): 2ms\r\n                OS: Darwin MacJordi.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64\r\n\r\n        git commit id: 90ea285c\r\nsim>                                                            \r\n```\r\n\r\nFor reference, this is the log message:\r\n\r\n```\r\ncommit 90ea285c1a0bc6437fe51a493ed72786c7f9fd48\r\nAuthor: Mark Pizzolato <mark@infocomm.com>\r\nDate:   Sun Dec 6 11:15:11 2015 -0800\r\n\r\n    VAX: Generalized idle checks for all branch to self cases and fixed logic for 32V idle\r\n                                                                                                            \r\n```\r\n\r\nThe previous commit works:\r\n\r\n```\r\nMicroVAX 3900 simulator V4.0-0 Beta        git commit id: b942bac4\r\nsim> att rq0 vaxcd210.iso\r\nsim> b\r\nLoading boot code from internal ka655x.bin\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>>>b dua0\r\n(BOOT/R5:0 DUA0\r\n\r\n\r\n\r\n  2..\r\n-DUA0\r\n  1..0..\r\n\r\n\r\n>> NetBSD/vax boot [1.11 Tue Oct 25 01:22:31 UTC 2005] <<\r\n>> Press any key to abort autoboot 5\r\ngetdisklabel: no disk label\r\nnfs_open: must mount first.\r\n2490992+155176=0x286284\r\nCopyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005\r\n    The NetBSD Foundation, Inc.  All rights reserved.\r\nCopyright (c) 1982, 1986, 1989, 1991, 1993\r\n    The Regents of the University of California.  All rights reserved.\r\n\r\nNetBSD 2.1 (INSTALL) #0: Tue Oct 25 01:38:26 UTC 2005\r\n        jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/vax/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/vax/compile/INSTALL\r\n\r\nMicroVAX 3800/3900\r\ncpu: KA655, CVAX microcode rev 6 Firmware rev 83\r\ntotal memory = 16328 KB\r\navail memory = 12860 KB\r\nmainbus0 (root)\r\nibus0 at mainbus0\r\nuba0 at ibus0: Q22\r\ndz1 at uba0 csr 160100 vec 304 ipl 17\r\nmtc0 at uba0 csr 174500 vec 774 ipl 17\r\nmscpbus0 at mtc0: version 5 model 3\r\nmscpbus0: DMA burst size set to 4\r\nmt0 at mscpbus0 drive 0: TK50\r\nmt1 at mscpbus0 drive 1: TK50\r\nmt2 at mscpbus0 drive 2: TK50                                 \r\n...\r\n```\r\n\r\nPS: Also fails using the vax780 and vax8600 simulators.\r\n"},"comment":{"url":"https://api.github.com/repos/simh/simh/issues/comments/220074850","html_url":"https://github.com/simh/simh/issues/315#issuecomment-220074850","issue_url":"https://api.github.com/repos/simh/simh/issues/315","id":220074850,"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-05-18T16:03:02Z","updated_at":"2016-05-18T16:03:02Z","body":"Please give the latest code a try and close the issue if you're happy."}}