Folks,
I upgraded to Ubuntu 17.10 to re-install SIMH emulator for VAX emulator. I tried to set up DECnet config files but it did not work well. When I tried to execute any DECnet commands, it hung up forever and ^C or ^Z did not response. I have to close terminal window to kill it. I checked dmesg log files and found a problem in decent module (kernel space). It can't handle NULL pointer during dn_nsp_send function call. Does anyone have got DECnet working on Ubuntu 17.10? Thanks, Tim Look at my config files and dmesg log file: sword7@sword7ux1:~$ cat /etc/issue Ubuntu 17.10 \n \l sword7@sword7ux1:~$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback # auto eno1 iface eno1 inet dhcp hwaddress ether AA:00:04:00:0A:04 # #auto br0 #iface br0 inet dhcp #pre-up tunctl -t tap0 -u sword7 #pre-up ip link set dev eno1 down #pre-up brctl addbr br0 #pre-up brctl addif br0 eno1 #pre-up brctl addif br0 tap0 #pre-up ip link set dev tap0 up #up chmod 0666 /dev/net/tun #post-down ip link set dev eno1 down #post-down ip link set dev tap0 down #post-down ip link set dev br0 down #post-down brctl delif br0 eno1 #post-down brctl delif br0 tap0 #post-down brctl delbr br0 sword7@sword7ux1:~$ cat /etc/decnet.conf # # DECnet hosts file # #Node Node Name Node Line Line #Type Address Tag Name Tag Device #----- ------- ----- ----- ----- ------ executor 1.10 name tsux1 line eno1 node 1.11 name tsvax1 sword7@sword7ux1:~$ cat /etc/decnet.proxy # /etc/decnet.proxy # # DECnet proxy database. # The format of this file is (one entry per line) # node::remoteuser localuser # # Regular expressions are allowed for node and remote user. Remember these are # POSIX regular expressions so use .* where you would use just * on VMS. # Also it is IMPORTANT that whole names (node and user) are enclosed # in anchors as below. # The entries are checked in the order they appear in this file. # * as a local user will be replaced by the remote username. # # is a comment. # # Here are some examples (commented out of course): # # ^tramp$::^test$ chrissie # Explicitly convert 'test' on tramp to 'chrissie' # ^zaphod$::.* none # Disable proxies from zaphod (assuming you don't have # # a user called 'none') # .*::.* decnet # Like a default DECnet account # .*::.* * # Equivalent to VMS *::* * proxy (make this last # # if you use it) .*::.* */DEFAULT sword7@sword7ux1:~$ cat /etc/dnetd.conf # /etc/dnetd.conf # # Define DECnet objects # # Fields # name: object name (or * for any named object, number must be 0) # number: object number (or 0 for a named object) # options: auth[,auto accept]: # auth: Whether to authenticate users: Y or N # auto accept: Should we accept incoming connections # This is needed for non-decnet daemons # (not calling dnet_accept) # user: If auth is N then use this user # daemon: program to run or 'internal' # # name number options user daemon # FAL 17 Y,N none fal MIRROR 25 Y,N nobody internal MAIL 27 N,N vmsmail vmsmaild CTERM 42 N,N root ctermd DTERM 23 N,N root rmtermd NML 19 N,N nobody dnetnml * * Y,R none internal word7@sword7ux1:~$ dneigh Node HWtype HWaddress Flags MTU Iface sword7@sword7ux1:~$ dnping tsux1 -c 3 [hung forever.. ^c or ^z unresponsive until close terminal window] dmesg log file here: [ 477.532821] ------------[ cut here ]------------ [ 477.532841] WARNING: CPU: 6 PID: 2474 at /build/linux-tt6jd0/linux-4.13.0/include/net/dst.h:188 dn_rt_set_next_hop+0x63/0x180 [decnet] [ 477.532842] Modules linked in: decnet snd_hda_codec_hdmi nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi cmdlinepart snd_seq snd_seq_device snd_timer intel_spi_platform intel_spi spi_nor mtd snd joydev mei_me soundcore intel_rapl x86_pkg_temp_thermal intel_powerclamp shpchp mei lpc_ich coretemp input_leds kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf soc_button_array mac_hid hid_generic parport_pc ppdev lp parport ip_tables x_tables autofs4 uas usb_storage hid_holtek_mouse usbhid hid nouveau mxm_wmi ttm drm_kms_helper syscopyarea sysfillrect sysimgblt igb e1000e fb_sys_fops [ 477.532929] dca drm i2c_algo_bit ahci ptp libahci pps_core wmi video [ 477.532945] CPU: 6 PID: 2474 Comm: dnping Tainted: G I 4.13.0-19-generic #22-Ubuntu [ 477.532947] Hardware name: Gigabyte Technology Co., Ltd. Z87X-UD7 TH/Z87X-UD7 TH-CF, BIOS F4 03/18/2014 [ 477.532950] task: ffff8f17f2d2ae80 task.stack: ffffb4ecc8004000 [ 477.532958] RIP: 0010:dn_rt_set_next_hop+0x63/0x180 [decnet] [ 477.532961] RSP: 0018:ffffb4ecc8007ce8 EFLAGS: 00010287 [ 477.532964] RAX: ffff8f17f1dec000 RBX: ffff8f17f9a46700 RCX: 000000000000001d [ 477.532966] RDX: ffff8f17fbc01000 RSI: 00000000fffffe01 RDI: ffffffff85de1d3e [ 477.532968] RBP: ffffb4ecc8007d00 R08: ffff8f180ed9f4e0 R09: ffff8f17fe003080 [ 477.532970] R10: 0000000080000000 R11: ffff8f17f2d2ae80 R12: ffff8f17fbc01000 [ 477.532973] R13: ffff8f17f9a467dc R14: 000000000000040a R15: ffff8f17fbc01000 [ 477.532976] FS: 00007f9e34648740(0000) GS:ffff8f180ed80000(0000) knlGS:0000000000000000 [ 477.532979] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 477.532981] CR2: 00007ffea9eebfc8 CR3: 0000000478bf6000 CR4: 00000000001406e0 [ 477.532983] Call Trace: [ 477.532996] __dn_route_output_key+0x560/0x8d0 [decnet] [ 477.533004] dn_route_output_sock+0x23/0x70 [decnet] [ 477.533011] __dn_connect+0x121/0x380 [decnet] [ 477.533018] dn_connect+0x5a/0x90 [decnet] [ 477.533027] SYSC_connect+0x98/0x110 [ 477.533034] ? ____fput+0xe/0x10 [ 477.533044] ? task_work_run+0x7b/0x90 [ 477.533053] ? exit_to_usermode_loop+0x9b/0xd0 [ 477.533058] SyS_connect+0xe/0x10 [ 477.533065] entry_SYSCALL_64_fastpath+0x1e/0xa9 [ 477.533068] RIP: 0033:0x7f9e33f6c8c6 [ 477.533070] RSP: 002b:00007ffea9eed1b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 477.533074] RAX: ffffffffffffffda RBX: 000056541def0260 RCX: 00007f9e33f6c8c6 [ 477.533076] RDX: 000000000000001a RSI: 00007ffea9eed250 RDI: 0000000000000003 [ 477.533078] RBP: 00007f9e3422e3e0 R08: 0000000000000000 R09: 00007f9e3423af67 [ 477.533079] R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000 [ 477.533081] R13: 00007f9e3423af58 R14: 00007ffea9eec8ec R15: 00007ffea9eecd00 [ 477.533085] Code: 83 c8 01 48 89 43 28 0f b6 46 12 4d 85 e4 89 83 e8 00 00 00 0f 84 ca 00 00 00 48 83 bb a0 00 00 00 00 4c 89 e2 0f 84 c0 00 00 00 <0f> ff 48 8b 73 28 44 8b aa 38 02 00 00 48 89 f0 48 83 e0 fc 44 [ 477.533152] ---[ end trace 38740f2592f9bbb8 ]--- [ 477.533171] ------------[ cut here ]------------ [ 477.533179] WARNING: CPU: 6 PID: 2474 at /build/linux-tt6jd0/linux-4.13.0/include/net/dst.h:254 dn_insert_route+0x204/0x230 [decnet] [ 477.533180] Modules linked in: decnet snd_hda_codec_hdmi nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi cmdlinepart snd_seq snd_seq_device snd_timer intel_spi_platform intel_spi spi_nor mtd snd joydev mei_me soundcore intel_rapl x86_pkg_temp_thermal intel_powerclamp shpchp mei lpc_ich coretemp input_leds kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf soc_button_array mac_hid hid_generic parport_pc ppdev lp parport ip_tables x_tables autofs4 uas usb_storage hid_holtek_mouse usbhid hid nouveau mxm_wmi ttm drm_kms_helper syscopyarea sysfillrect sysimgblt igb e1000e fb_sys_fops [ 477.533249] dca drm i2c_algo_bit ahci ptp libahci pps_core wmi video [ 477.533260] CPU: 6 PID: 2474 Comm: dnping Tainted: G W I 4.13.0-19-generic #22-Ubuntu [ 477.533262] Hardware name: Gigabyte Technology Co., Ltd. Z87X-UD7 TH/Z87X-UD7 TH-CF, BIOS F4 03/18/2014 [ 477.533264] task: ffff8f17f2d2ae80 task.stack: ffffb4ecc8004000 [ 477.533270] RIP: 0010:dn_insert_route+0x204/0x230 [decnet] [ 477.533272] RSP: 0018:ffffb4ecc8007cc8 EFLAGS: 00010246 [ 477.533275] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000001d [ 477.533277] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8f17f6128000 [ 477.533279] RBP: ffffb4ecc8007d00 R08: ffff8f180ed9f4e0 R09: ffff8f17fe003080 [ 477.533281] R10: 0000000080000000 R11: ffff8f17f2d2ae80 R12: ffff8f17f9a46700 [ 477.533283] R13: ffff8f17f6128000 R14: 0000000000000000 R15: ffff8f17fbc01000 [ 477.533286] FS: 00007f9e34648740(0000) GS:ffff8f180ed80000(0000) knlGS:0000000000000000 [ 477.533288] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 477.533290] CR2: 00007ffea9eebfc8 CR3: 0000000478bf6000 CR4: 00000000001406e0 [ 477.533291] Call Trace: [ 477.533298] __dn_route_output_key+0x5a9/0x8d0 [decnet] [ 477.533306] dn_route_output_sock+0x23/0x70 [decnet] [ 477.533312] __dn_connect+0x121/0x380 [decnet] [ 477.533319] dn_connect+0x5a/0x90 [decnet] [ 477.533323] SYSC_connect+0x98/0x110 [ 477.533327] ? ____fput+0xe/0x10 [ 477.533333] ? task_work_run+0x7b/0x90 [ 477.533338] ? exit_to_usermode_loop+0x9b/0xd0 [ 477.533342] SyS_connect+0xe/0x10 [ 477.533347] entry_SYSCALL_64_fastpath+0x1e/0xa9 [ 477.533349] RIP: 0033:0x7f9e33f6c8c6 [ 477.533351] RSP: 002b:00007ffea9eed1b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 477.533354] RAX: ffffffffffffffda RBX: 000056541def0260 RCX: 00007f9e33f6c8c6 [ 477.533356] RDX: 000000000000001a RSI: 00007ffea9eed250 RDI: 0000000000000003 [ 477.533358] RBP: 00007f9e3422e3e0 R08: 0000000000000000 R09: 00007f9e3423af67 [ 477.533360] R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000 [ 477.533362] R13: 00007f9e3423af58 R14: 00007ffea9eec8ec R15: 00007ffea9eecd00 [ 477.533365] Code: 00 00 00 e8 cf 21 5c c5 48 8b 45 c8 4c 89 20 e9 78 ff ff ff 8d 50 01 f0 0f b1 11 74 c3 85 c0 75 f3 48 8b 3d 77 97 00 00 4c 01 f7 <0f> ff eb bb 85 c0 74 0f 8d 50 01 f0 0f b1 11 0f 84 18 ff ff ff [ 477.533430] ---[ end trace 38740f2592f9bbb9 ]--- [ 477.533453] ------------[ cut here ]------------ [ 477.533460] WARNING: CPU: 6 PID: 2474 at /build/linux-tt6jd0/linux-4.13.0/include/net/dst.h:254 __dn_route_output_key+0x81d/0x8d0 [decnet] [ 477.533461] Modules linked in: decnet snd_hda_codec_hdmi nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi cmdlinepart snd_seq snd_seq_device snd_timer intel_spi_platform intel_spi spi_nor mtd snd joydev mei_me soundcore intel_rapl x86_pkg_temp_thermal intel_powerclamp shpchp mei lpc_ich coretemp input_leds kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf soc_button_array mac_hid hid_generic parport_pc ppdev lp parport ip_tables x_tables autofs4 uas usb_storage hid_holtek_mouse usbhid hid nouveau mxm_wmi ttm drm_kms_helper syscopyarea sysfillrect sysimgblt igb e1000e fb_sys_fops [ 477.533529] dca drm i2c_algo_bit ahci ptp libahci pps_core wmi video [ 477.533540] CPU: 6 PID: 2474 Comm: dnping Tainted: G W I 4.13.0-19-generic #22-Ubuntu [ 477.533542] Hardware name: Gigabyte Technology Co., Ltd. Z87X-UD7 TH/Z87X-UD7 TH-CF, BIOS F4 03/18/2014 [ 477.533544] task: ffff8f17f2d2ae80 task.stack: ffffb4ecc8004000 [ 477.533550] RIP: 0010:__dn_route_output_key+0x81d/0x8d0 [decnet] [ 477.533551] RSP: 0018:ffffb4ecc8007c80 EFLAGS: 00010246 [ 477.533554] RAX: 0000000000000000 RBX: ffff8f17f9a46700 RCX: 0000000000000000 [ 477.533556] RDX: 00000000000003ff RSI: 000000010000ad19 RDI: 0000000000000000 [ 477.533558] RBP: ffffb4ecc8007d08 R08: 00000000000002c0 R09: ffff8f17fe002f00 [ 477.533560] R10: ffffb4ecc8007cd8 R11: ffff8f17fe002f00 R12: ffff8f17bdbb6530 [ 477.533562] R13: ffffb4ecc8007d48 R14: 0000000000000000 R15: 0000000000000000 [ 477.533564] FS: 00007f9e34648740(0000) GS:ffff8f180ed80000(0000) knlGS:0000000000000000 [ 477.533566] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 477.533568] CR2: 00007ffea9eebfc8 CR3: 0000000478bf6000 CR4: 00000000001406e0 [ 477.533569] Call Trace: [ 477.533578] ? __kmalloc_node_track_caller+0x1ea/0x2a0 [ 477.533583] ? __alloc_skb+0x87/0x1e0 [ 477.533590] dn_route_output_sock+0x23/0x70 [decnet] [ 477.533597] dn_nsp_send+0xf2/0x180 [decnet] [ 477.533604] dn_nsp_send_conninit+0x20a/0x4b0 [decnet] [ 477.533610] __dn_connect+0x17a/0x380 [decnet] [ 477.533617] dn_connect+0x5a/0x90 [decnet] [ 477.533621] SYSC_connect+0x98/0x110 [ 477.533625] ? ____fput+0xe/0x10 [ 477.533631] ? task_work_run+0x7b/0x90 [ 477.533636] ? exit_to_usermode_loop+0x9b/0xd0 [ 477.533640] SyS_connect+0xe/0x10 [ 477.533645] entry_SYSCALL_64_fastpath+0x1e/0xa9 [ 477.533647] RIP: 0033:0x7f9e33f6c8c6 [ 477.533648] RSP: 002b:00007ffea9eed1b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 477.533652] RAX: ffffffffffffffda RBX: 000056541def0260 RCX: 00007f9e33f6c8c6 [ 477.533653] RDX: 000000000000001a RSI: 00007ffea9eed250 RDI: 0000000000000003 [ 477.533655] RBP: 00007f9e3422e3e0 R08: 0000000000000000 R09: 00007f9e3423af67 [ 477.533657] R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000 [ 477.533659] R13: 00007f9e3423af58 R14: 00007ffea9eec8ec R15: 00007ffea9eecd00 [ 477.533662] Code: ff 48 8b 00 48 85 c0 75 ee e9 f7 fe ff ff b9 ea ff ff ff e9 b4 fd ff ff 85 c0 74 0f 8d 50 01 f0 0f b1 17 0f 84 d8 f8 ff ff eb ed <0f> ff e9 cf f8 ff ff 0f 0b 48 c7 c7 a8 2f 95 c0 e8 4f 76 d9 c4 [ 477.533727] ---[ end trace 38740f2592f9bbba ]--- [ 477.533735] BUG: unable to handle kernel NULL pointer dereference at (null) [ 477.533775] IP: dn_nsp_send+0x150/0x180 [decnet] [ 477.533787] PGD 0 [ 477.533788] P4D 0 [ 477.533809] Oops: 0000 [#1] SMP [ 477.533817] Modules linked in: decnet snd_hda_codec_hdmi nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi cmdlinepart snd_seq snd_seq_device snd_timer intel_spi_platform intel_spi spi_nor mtd snd joydev mei_me soundcore intel_rapl x86_pkg_temp_thermal intel_powerclamp shpchp mei lpc_ich coretemp input_leds kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf soc_button_array mac_hid hid_generic parport_pc ppdev lp parport ip_tables x_tables autofs4 uas usb_storage hid_holtek_mouse usbhid hid nouveau mxm_wmi ttm drm_kms_helper syscopyarea sysfillrect sysimgblt igb e1000e fb_sys_fops [ 477.533954] dca drm i2c_algo_bit ahci ptp libahci pps_core wmi video [ 477.533975] CPU: 6 PID: 2474 Comm: dnping Tainted: G W I 4.13.0-19-generic #22-Ubuntu [ 477.533988] Hardware name: Gigabyte Technology Co., Ltd. Z87X-UD7 TH/Z87X-UD7 TH-CF, BIOS F4 03/18/2014 [ 477.534002] task: ffff8f17f2d2ae80 task.stack: ffffb4ecc8004000 [ 477.534017] RIP: 0010:dn_nsp_send+0x150/0x180 [decnet] [ 477.534027] RSP: 0018:ffffb4ecc8007d48 EFLAGS: 00010246 [ 477.534038] RAX: 0000000000000000 RBX: ffff8f17f8367000 RCX: 0000000000000000 [ 477.534050] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 477.534062] RBP: ffffb4ecc8007d98 R08: 0000000000000000 R09: ffff8f17fe002f00 [ 477.534073] R10: ffffb4ecc8007cd8 R11: ffff8f17fe002f00 R12: 0000000000000000 [ 477.534085] R13: ffff8f17bdbb6400 R14: 0000000000000000 R15: 0000000000000000 [ 477.534097] FS: 00007f9e34648740(0000) GS:ffff8f180ed80000(0000) knlGS:0000000000000000 [ 477.534109] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 477.534120] CR2: 0000000000000000 CR3: 0000000478bf6000 CR4: 00000000001406e0 [ 477.534131] Call Trace: [ 477.534144] dn_nsp_send_conninit+0x20a/0x4b0 [decnet] [ 477.534158] __dn_connect+0x17a/0x380 [decnet] [ 477.534173] dn_connect+0x5a/0x90 [decnet] [ 477.534184] SYSC_connect+0x98/0x110 [ 477.534195] ? ____fput+0xe/0x10 [ 477.534207] ? task_work_run+0x7b/0x90 [ 477.534219] ? exit_to_usermode_loop+0x9b/0xd0 [ 477.534230] SyS_connect+0xe/0x10 [ 477.534242] entry_SYSCALL_64_fastpath+0x1e/0xa9 [ 477.534251] RIP: 0033:0x7f9e33f6c8c6 [ 477.534260] RSP: 002b:00007ffea9eed1b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 477.534273] RAX: ffffffffffffffda RBX: 000056541def0260 RCX: 00007f9e33f6c8c6 [ 477.534285] RDX: 000000000000001a RSI: 00007ffea9eed250 RDI: 0000000000000003 [ 477.534296] RBP: 00007f9e3422e3e0 R08: 0000000000000000 R09: 00007f9e3423af67 [ 477.534308] R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000 [ 477.534319] R13: 00007f9e3423af58 R14: 00007ffea9eec8ec R15: 00007ffea9eecd00 [ 477.534332] Code: d2 74 4d 8b 82 80 00 00 00 48 89 d6 85 c0 74 40 8d 48 01 48 8d ba 80 00 00 00 f0 0f b1 8a 80 00 00 00 75 1d 49 89 d4 49 83 e4 fe <48> 8b 06 48 8b 80 d0 00 00 00 49 89 85 d8 01 00 00 e9 fe fe ff [ 477.534422] RIP: dn_nsp_send+0x150/0x180 [decnet] RSP: ffffb4ecc8007d48 [ 477.534433] CR2: 0000000000000000 [ 477.546959] ---[ end trace 38740f2592f9bbbb ]---
_______________________________________________ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh