From owner-freebsd-current@freebsd.org Wed Nov 2 13:54:46 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35600C2BAF7; Wed, 2 Nov 2016 13:54:46 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92DF6175E; Wed, 2 Nov 2016 13:54:45 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id a197so142454548wmd.0; Wed, 02 Nov 2016 06:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:subject:references:to:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=v5rUtqPX5NBfiKOuhyraxRQzIwXfq76NRX9ziSpLNSk=; b=VM2zfl4ee7+T/8aDNCN/xJEFCP72x8qpwYTYOlVIswZVjRyb89V6DBIx+CSSkiQZ0D vbygNtdQbVIiWRd6iF+aVK3xYUpoUrgJw4VE4R0jFHSkVRMsdfZTY9Ayv61w4EO7hUC+ k6KCsfL/I4V0v+4pYKhlgGQAx1nXCPZ6rtu8T0twL4AH9AH2shKFVZyTgL20LmcQU8bp V0VxFokNSyiOpBt9QXBkJ4wbe4Rcw31vbLBU+UFTe+IVLBRuiTC4pvAAyoCto63/P0LJ 2IwAiay1lnUZ9yIct1U/BRSQxImYzC3T3uri7pZnu+c+O162iyZqlbMjQtzOmIOGOtvP WsGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=v5rUtqPX5NBfiKOuhyraxRQzIwXfq76NRX9ziSpLNSk=; b=iM70jHvFVJmLC1+hVPPkKjv3S9GPM/v/Aouekrny+4ZGQL9tsq5fuTylK3uMLTHBHl p83Lsyy5pXD1pj+DmwZjGYy93BjCawKa5YmPXsFF88y8NG+02FgBRs2BgH+ecQVPxAZA bm4BGzbgYziKkCku3HJl14xVRKwqwNu7qTvIVkphs7FNkOGEXE8d69TikwoYRRIfjebv WCOrygXjaoqjMF/fKT6OYkEfoHPLzeE2UFhWrG+sIrl5iYYwuKI4qq9OEIrtfloHLyc0 njhNguSuW4rZlwDvGRHJ870iUZFEtAwj1qsikqTJkb+7qr3LdqMVT7JIWW7At/UX/nWa 9NSQ== X-Gm-Message-State: ABUngvfYE77byMILSFSSs+Vn+eIycCP/b+d7uHHa/JIkUCw8yK/PPlqxR8sokHJsz/0ghg== X-Received: by 10.28.210.1 with SMTP id j1mr3285652wmg.86.1478094883699; Wed, 02 Nov 2016 06:54:43 -0700 (PDT) Received: from [172.20.10.2] (154.236.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch. [178.197.236.154]) by smtp.gmail.com with ESMTPSA id 71sm36466911wmo.7.2016.11.02.06.54.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Nov 2016 06:54:43 -0700 (PDT) Reply-To: mattia.rossi.mailinglists@gmail.com Subject: Re: urtwm -> rtwm References: <4DC1B743-33EA-4AD7-B124-9D133316552C@cs.huji.ac.il> <9109ACA4-DBD4-4735-86A7-2F3F383829C7@cs.huji.ac.il> To: Daniel Braniss , Andriy Voskoboinyk Cc: freebsd-current , freebsd-wireless@freebsd.org, freebsd-arm From: Mattia Rossi Message-ID: Date: Wed, 2 Nov 2016 14:54:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <9109ACA4-DBD4-4735-86A7-2F3F383829C7@cs.huji.ac.il> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 02 Nov 2016 13:54:46 -0000 >> Hi! >> >> rtwn_usb(4) depends on rtwn(4) module; you can try to >> 1) add them to the kernel config; >> 2) check / fix WITHOUT_MODULES and MODULES_OVERRIDE make.conf(5) variables >> 3) compile / install them manually >> >> P.S. There is no 'rtwm' module in the tree; what is the exact error message >> where it was? > the problem was that if_rtwn.ko was not compiled! > all the others where, i.e. if_rtwn_[pci,usb].ko. > I added all of them to the config, and now it seems to work > > so the problem is that the loadable module if_rtwn.ko is NOT compiled > by default, while all the others are, > what is the magic to have it compiled? From my experience you always have to specify all modules and the modules they depend on. I for example had to specify this for zfs support in the config file: makeoptions MODULES_OVERRIDE="zfs opensolaris acl_nfs4" I actually only wanted zfs, which depends on opensolaris which then again depends on acl_nfs4 (probably because I sepcified nfs4 support in the config file) I only found out after a few tries. It's really not ideal, that module dependencies are not resolved. But once you know about it, you can live with it :-) > > BTW, I tried this on RPI2, and now will try on an orangepi one. Is that the SDIO based internal WiFi? Let me know if it works! Cheers, Mat >>>> On 30 Oct 2016, at 14:07, Daniel Braniss wrote: >>>> >>>> hi, >>>> between r30666 and r30808 i lost my wireless, >>> s/r30666/r306333/ and s/r30808/r308087/ >>> >>>> so reading UPDATE clarified why, I also did a mergemaster so now devd et.all. seem to be in sync, >>>> but now devd complains that if_rtwn_usb depends on rtwm and there is no rtwn, instead there are >>>> several rtwn-rtl8…., the closest being rtwn-rt18188eufw.ko >>>> >>>> this is what the old urtwn has to say: >>>> ... >>>> Starting devd. >>>> wlan: <802.11 Link Layer> >>>> urtwn0 on uhub1 >>>> urtwn0: on usbus0 >>>> urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R >>>> urtwn0: enabling 11n >>>> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps >>>> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps >>>> urtwn0: 1T1R >>>> urtwn0: 11ng MCS 20MHz >>>> urtwn0: MCS 0-7: 6.5Mbps - 65Mbps >>>> >>>> please help >>>> >>>> thanks, >>>> danny >>>> >>>> _______________________________________________ >>>> 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" >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > _______________________________________________ > 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"