Subject: port-sparc64/18432: DHCP autoconfiguration kbd breakpoint in netbsd-sparc64 1.6 INSTALL kernel on SunFire V100
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 09/26/2002 23:10:49
>Number:         18432
>Category:       port-sparc64
>Synopsis:       DHCP autoconfiguration kbd breakpoint in netbsd-sparc64 1.6 INSTALL kernel on SunFire V100
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 26 20:11:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        1.6
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD 1.6 sparc64
Architecture: sparc64
Machine: sparc64
Platform: SunFire V100
>Description:

	attempting to use DHCP autoconfiguration during sysinst with the
	1.6 sparc64 INSTALL kernel on a SunFire V100 causes the kernel
	to drop into the debugger.

	Note also that it seems dhcpclient (or whatever's run right
	afterwards) wants to run 'date' near the end of its process, but
	it's not available.

>How-To-Repeat:

	Choose "DHCP autoconfiguration" in the sysinst process -- here's
	the trace as after that point as captured by conserver, with
	CR's and ESC's translated to ^M and ^[ respectively

[Thu Sep 26 22:57:19 2002]^M
[Thu Sep 26 22:57:19 2002]Internet Software Consortium DHCP Client V3.0rc10^M
[Thu Sep 26 22:57:19 2002]Copyright 1995-2001 Internet Software Consortium.^M
[Thu Sep 26 22:57:19 2002]All rights reserved.^M
[Thu Sep 26 22:57:19 2002]For info, please visit http://www.isc.org/products/DHCP^M
[Thu Sep 26 22:57:19 2002]^M
[Thu Sep 26 22:57:19 2002]Listening on BPF/tlp0/00:03:ba:14:e4:c5^M
[Thu Sep 26 22:57:19 2002]Sending on   BPF/tlp0/00:03:ba:14:e4:c5^M
[Thu Sep 26 22:57:19 2002]Sending on   Socket/fallback^M
[Thu Sep 26 22:57:21 2002]DHCPDISCOVER on load_mbuf: mapsize 0 != len 156
[Thu Sep 26 22:57:21 2002]^Mtlp0 to 0.0.0.0 kdb breakpoint at 12cf164
[Thu Sep 26 22:57:21 2002]^Mport 67 intervalStopped in pid 46 (dhclient) at  0x12cf168:     nop
[Thu Sep 26 22:57:22 2002]^Mdb> trace
[Thu Sep 26 22:57:32 2002]^M?(2808068, 28084b8, 2876420, 2, 0, 1d403da) at  0x10ae928
[Thu Sep 26 22:57:32 2002]^M?(0, 2, 1d403d8, 0, 119e0f8, 154) at  0x119ed08
[Thu Sep 26 22:57:32 2002]^M?(28, 1d403d8, 1, 20d0, 181b298, 1194de0) at  0x1194ec0
[Thu Sep 26 22:57:32 2002]^M?(0, 60, 11938e0, 2717000, badcafe, badcafe) at  0x1193998
[Thu Sep 26 22:57:32 2002]^M?(196b9940, 11398e8, 60, 2716a00, badcafe, badcafe) at  0x1139930
[Thu Sep 26 22:57:32 2002]^M?(18e43700, 196b9b70, 1, 2715f80, badcafe, badcafe) at  0x118eb8c
[Thu Sep 26 22:57:32 2002]^M?(196802d0, 19680308, 196b9b70, 2715f80, 1, 118e370) at  0x118e434
[Thu Sep 26 22:57:32 2002]^M?(0, 5, 196802d0, ffffffffffffce60, 3, 19680308) at  0x116c77c
[Thu Sep 26 22:57:32 2002]^M?(19649c20, 196b9dd0, 196b9dc0, 116c5bc, 0, ffffffffff) at  0x116c62c
[Thu Sep 26 22:57:32 2002]^M?(196b9ed0, 79, 245948, 181dc00, 0, 154) at  0x12cdb54
[Thu Sep 26 22:57:32 2002]^M?(5, ffffffffffffce60, 3, 0, ffffffff, 43) at  0x1009638
[Thu Sep 26 22:57:32 2002]^Mdb> cont
[Thu Sep 26 23:01:57 2002]^M 4load_mbuf: dmamap sglen 0 != len 156
[Thu Sep 26 23:01:57 2002]^Mkdb breakpoint at 12cf164
[Thu Sep 26 23:01:58 2002]^MStopped in pid 46 (dhclient) at  0x12cf168:     nop
[Thu Sep 26 23:01:58 2002]^Mdb> cont
[Thu Sep 26 23:02:09 2002]^M^M
[Thu Sep 26 23:02:10 2002]ip length 371 diload_mbuf: mapsize 0 != len 156
[Thu Sep 26 23:02:10 2002]^Msagrees with bytkdb breakpoint at 12cf164
[Thu Sep 26 23:02:10 2002]^Mes received 375.Stopped in pid 46 (dhclient) at  0x12cf168:     nop
[Thu Sep 26 23:02:10 2002]^Mdb> cont
[Thu Sep 26 23:02:20 2002]^Mload_mbuf: dmamap sglen 0 != len 156
[Thu Sep 26 23:02:20 2002]^Mkdb breakpoint at 12cf164
[Thu Sep 26 23:02:20 2002]^MStopped in pid 46 (dhclient) at  0x12cf168:     nop
[Thu Sep 26 23:02:21 2002]^Mdb> cont
[Thu Sep 26 23:02:22 2002]^M^M
[Thu Sep 26 23:02:22 2002]accepting packet with data after udp payload.^M
[Thu Sep 26 23:02:22 2002]DHCPOFFER from 204.92.254.2^M
[Thu Sep 26 23:02:22 2002]DHCPREQUEST on tlp0 to 0.0.0.0 port 67^M
[Thu Sep 26 23:02:23 2002]ip length 371 disagrees with bytes received 375.^M
[Thu Sep 26 23:02:23 2002]accepting packet with data after udp payload.^M
[Thu Sep 26 23:02:23 2002]DHCPACK from 204.92.254.2^M
[Thu Sep 26 23:02:23 2002]New Network Number: 204.92.254.0^M
[Thu Sep 26 23:02:23 2002]New Broadcast Address: 0.0.0.0^M
[Thu Sep 26 23:02:23 2002]date: not found^M
[Thu Sep 26 23:02:23 2002]^[[5;23r^[[H^[[H^[[23;1H^M
[Thu Sep 26 23:02:23 2002]^[[1;24r^[[H^[[H^[[24;1H^[[Abound to 204.92.254.135 -- renewal in 16672 seconds.^M
[Thu Sep 26 23:02:23 2002]^[[1;14H^[[7mFinished^[[3;6H^[[m^[[1;6H^[[K^M
[Thu Sep 26 23:02:23 2002]    ^[[K^M

	as you can see continuing to type "cont<CR>" eventually gets
	things running properly again.


>Fix:

	unknown

>Release-Note:
>Audit-Trail:
>Unformatted: