From owner-freebsd-current@freebsd.org Fri Dec 11 21:55:21 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16B0C4BC28B for ; Fri, 11 Dec 2020 21:55:21 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ct4Mr55Dgz3CsK for ; Fri, 11 Dec 2020 21:55:20 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 0BBLtE4I052769; Fri, 11 Dec 2020 13:55:20 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) MIME-Version: 1.0 Date: Fri, 11 Dec 2020 13:55:14 -0800 From: Chris To: Jeffrey Bouquet Cc: freebsd-current Subject: Re: Updating current i386 broke wlan0... In-Reply-To: References: User-Agent: UDNSMS/17.0 Message-ID: <6859ff6366b746196953e3b7ab26b459@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Ct4Mr55Dgz3CsK X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2020 21:55:21 -0000 On 2020-12-11 13:07, Jeffrey Bouquet wrote: > On Fri, 11 Dec 2020 10:53:55 -0800, Chris wrote: > >> On 2020-12-11 10:32, Chris wrote: >> > On 2020-12-11 08:10, Steve Kargl wrote: >> >> On Fri, Dec 11, 2020 at 06:12:42AM -0800, Jeffrey Bouquet wrote: >> >>> Longtime BSD current user, due to several constraints I had to update from >> >>> a recent dec 10 image in >> >>> a quasi-piecemeal fashion. Fixed all issues [ I think ] From 11-Current >> >>> to 13-Current except >> >>> service netif onestart wlan0 up >> >>> no longer completes. >> >>> .................................... >> >>> /etc/rc.d/netif set_rcvar_obsolete: not found >> >>> eval: wlan_up: not found >> >>> starting wpa_supplicant >> >>> /etc/rc.d/wpa_supplicant: WARNING: failed to start... >> >>> starting dhclient >> >>> eval: wlan0: not found >> >>> /etc/rc.d/dhclient: WARNING: failed to start dhclient >> >>> /etc/rc.d/netif: WARNING: $ipv6_enable is not set properly, see >> >>> rc.conf(5) >> >>> starting network wlan0 >> >>> eval: check_startmsgs: not found >> >>> eval: afexits: not found >> >>> .......................................................................................... >> >>> Piecemeal update was needed because make toolchain and make buildworld >> >>> failed each early on. >> >> >> >> I have a Dec 2 i386-*-freebsd (typing on it now), which uses wlan0 >> >> over a lowly D-Link DWL-G630. Works fine. The change causing >> >> you problems appears to have occurred after Dec 2. >> > >> > mergemaster appears to have not been done (I know. You said >> > quasi-piecemeal). Fair >> > enough. Assuming you have both your /etc && (proposed 13) /etc; >> > perhaps a diff -ruN /your-etc /13-etc >./new-stuff.diff >> > will help you discover what function names were changed/moved/deleted. As >> > well >> > as what services were altered/added/deleted >> Actually. As I think about it. Adding a p to the diff(1) line above may >> make >> it >> easier to visually determine the differences eg; >> >> $ diff -rupN orig-etc/ 13-etc/ >> >> > >> > --Chris >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > I had done a full mergemaster previously... > It gets stranger. > I tried etcmerge, it could not do any useful work [ no conflicts found iirc > ] > I tried etcupdate, it could neither [ no /usr/src on the .img file > filesytem iirc ] > I found a wpa_supplicant line that creates wlan0 but run0 never gets beyond > 'no carrier' > ..................................... > then I started Xorg and it worked... so maybe I just forgot to copy the new > kernel over, > but then why would the newer binaries and .ko files be working? > .................................... > Also, when trying the install of the dec 10 .img again, it failed in a > second or so > ..................................... > When copying several files I missed in /etc over, I accidently converted the > system to a 'live cd'... in other words, the system boots normally [ except > the > run0 not starting and other error messages ] but after login I am presented > with the install menu even thought the thumbdrive is not present. And get > a real boot completed by choosing 'live CD ' > .... which is also off topic though... > ................................... > So I got further along, [ fixed Xorg ... ] but it maybe shouldn't be. > ................................... > Thanks for the suggestions. I don't wish anyone to spend any more time on > this, eventually > I may revert to a wired interface [ if only I was certain how to connect > [ type of ethernet cable, ifconfig, route add paramaters... ] > to the wifi > modem ethernet > router ports] ... I have more research to do. > ........................... Well FWIW when I've been confronted with the need to perform an "unorthodox" upgrade path. I always perform a cd / && cp -rp /etc /eetc *prior* to a mergemaster(8) because you never know. ;-) Sorry for your grief, and best wishes for a quick & easy resolve. :-) --Chris