From owner-freebsd-current@freebsd.org Fri Dec 11 22:40:26 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 008A64BD270 for ; Fri, 11 Dec 2020 22:40:26 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ct5Ms1wd2z3GB9 for ; Fri, 11 Dec 2020 22:40:24 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.129] (helo=rmmprod07.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1knr5K-0004aE-GQ; Fri, 11 Dec 2020 23:40:22 +0100 Received: from mail by rmmprod07.runbox with local (Exim 4.86_2) (envelope-from ) id 1knr5K-0001P0-FP; Fri, 11 Dec 2020 23:40:22 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated alias (650894)] by runbox.com with http (RMM6); Fri, 11 Dec 2020 22:40:22 GMT From: "Jeffrey Bouquet" To: "Chris" CC: "freebsd-current" Subject: Re: Updating current i386 broke wlan0... Date: Fri, 11 Dec 2020 14:40:22 -0800 (PST) X-RMM-Aliasid: 650894 X-Mailer: RMM6 In-Reply-To: <6859ff6366b746196953e3b7ab26b459@bsdforge.com> Message-Id: X-Rspamd-Queue-Id: 4Ct5Ms1wd2z3GB9 X-Spamd-Bar: / X-Spamd-Result: default: False [0.79 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.220.196.211:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[91.220.196.211:from]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[iherebuywisely.com]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[91.220.196.211:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.01)[-0.012]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50304, ipnet:91.220.196.0/24, country:NO]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[91.220.196.211:from] 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 22:40:26 -0000 On Fri, 11 Dec 2020 13:55:14 -0800, Chris wrote: > On 2020-12-11 13:07, Jeffrey Bouquet wrote: > > On Fri, 11 Dec 2020 10:53:55 -0800, Chris wrot= e: > >=20 > >> 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 upd= ate 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 buildw= orld > >> >>> 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/delete= d. As > >> > well > >> > as what services were altered/added/deleted > >> Actually. As I think about it. Adding a p to the diff(1) line above ma= y=20 > >> make > >> it > >> easier to visually determine the differences eg; > >>=20 > >> $ diff -rupN orig-etc/ 13-etc/ > >>=20 > >> > > >> > --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" > >=20 > > I had done a full mergemaster previously... > > It gets stranger. > > I tried etcmerge, it could not do any useful work [ no conflicts found = iirc=20 > > ] > > I tried etcupdate, it could neither [ no /usr/src on the .img file=20 > > filesytem iirc ] > > I found a wpa_supplicant line that creates wlan0 but run0 never gets be= yond > > 'no carrier' > > ..................................... > > then I started Xorg and it worked... so maybe I just forgot to copy the= new=20 > > 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= =20 > > second or so > > ..................................... > > When copying several files I missed in /etc over, I accidently converte= d the > > system to a 'live cd'... in other words, the system boots normally [ ex= cept=20 > > the > > run0 not starting and other error messages ] but after login I am prese= nted > > 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 tim= e on=20 > > this, eventually > > I may revert to a wired interface [ if only I was certain how to conne= ct > > [ 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 "unorthod= ox"=20 > upgrade > path. I always perform a > cd / && cp -rp /etc /eetc > *prior* to a mergemaster(8) > because you never know. ;-) >=20 > Sorry for your grief, and best wishes for a quick & easy resolve. :-) >=20 > --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 don't know if to laugh or cry. I copied base.* and kernel.* from /usr/freebsd-dist on the thumbdrive to / then using a ten minute forum search results, I succeeded in from / gtar -xpJf base.txz gtar -xpJf kernel.txz [ tar failed with an error ] and presto chango=20 all I had to do was change v11 to v13 in /usr/local/etc/pkg/repos/FreeBSD.c= onf and what works: run0 at boot xorg !!! which means also the drivers. and all the dmesg errors are gone, as well as not having to 'service netif onestart' !!! ...... For those using this as a guide, I made a backup of /etc from which I had to, or chose to, restore master.password, and the three others, [ and come to think of it have not checked 'shells' 'group' files yet.=20 as well as rc.conf and wpa_supplicant.conf . and others I will remember ...................... Thanks for all the replies, they were very encouraging. As is this end res= ult...=20 .....................=