Re: WIFI compiling error: Can anyone fix it on main branch?

2025-01-26 Thread Adrian Chadd
versions as I build it on FreeBSD 14.0 ENV. > > Please check the attached discussing thread. > > The macros defined for auto pointer free borrowed from Linux kernel would > be improved. > > > > Internal Use - Confidential > > *From:* Adrian Chadd > *Sent:* Wedne

Re: "don't know how to make /usr/main-src/sys/contrib/dev/iwm/iwm-3160-17.fw.uu. Stop"

2025-01-26 Thread Adrian Chadd
Hi! So, there's no longer a build target for the firmware uuencoded files -> kernel module. Being able to build iwm in the kernel rather than a module is broken. Now, the real issue(s) are that iwm needs firmware to initialise, and the firmware needs to exist, and thus it needs access to the roo

Re: WIFI compiling error: Can anyone fix it on main branch?

2025-01-14 Thread Adrian Chadd
I did temporarily break -head on some platforms for like 30 minutes like a week ago? Is everything ok now? What was the error? -adrian On Tue, 7 Jan 2025 at 04:17, Dave Cottlehuber wrote: > On Tue, 7 Jan 2025, at 09:39, Chen, Alvin W wrote: > > Thanks! > > > > Internal Use - Confidential > >

Re: iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05)

2025-01-09 Thread Adrian Chadd
On Thu, 9 Jan 2025 at 21:25, Graham Perrin wrote: > On 10/01/2025 04:19, Adrian Chadd wrote: > > > … > > > > Can you provide a "this is good" and "this is broken" pair of commit > > hashes from all of your build environments? > > > &

Re: OS resume occasionally troublesome, again, since main-n274579-50c1e179b584 (2025-01-05)

2025-01-09 Thread Adrian Chadd
it /looks/ like there was an ACPICA import about 6 days ago? If you're having suspend/resume issues then it could be that? Maybe look at the changelog and try building / booting / testing a kernel from before the import. -adrian On Thu, 9 Jan 2025 at 21:14, Graham Perrin wrote: > FreeBSD 15.

Re: iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05)

2025-01-09 Thread Adrian Chadd
Hi! There's a lot here. And there's been a bunch of change in 802.11 bits over the last few weeks. Can you provide a "this is good" and "this is broken" pair of commit hashes from all of your build environments? Thanks! -adrian

rtwn updates, please test (especially if you're using an RTL8192CU)

2024-12-19 Thread Adrian Chadd
hi! I've pushed a bunch more changes / fixes into rtwn. This includes a bunch of RTL8192CU fixes and preparation for firmware rate control support. One of the changes removes an old work-around. I've tested it locally on my 11bg and 11bgn APs in 11b, 11g and 11n modes. It seemed to behave just fi

Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way!

2021-05-15 Thread Adrian Chadd
Hi! So, my Lenovo T540p also doesn't work right now; it just panics the kernel with a NULL pointer deref inside some deferred interrupt registration / callback thing. If I disable it at the boot console then it's fine. -adrian ___ freebsd-current@fr

Re: Correct net80211 channel flag.

2021-04-02 Thread Adrian Chadd
lemme go see (again). That's why I wanted to re-review it all before I landed stuff! -a On Fri, 2 Apr 2021 at 13:41, Bjoern A. Zeeb wrote: > > On 2 Apr 2021, at 6:44, Adrian Chadd wrote: > > > I've got this in my local tree now. > > That’s not a good idea? &

Re: Correct net80211 channel flag.

2021-04-01 Thread Adrian Chadd
I've got this in my local tree now. I have a note to go dig up which draft I yanked this from and update it with reference to the draft and the current spec. Thanks for pointing this out! -adrian ___ freebsd-current@freebsd.org mailing list https://lis

Re: Correct net80211 channel flag.

2021-04-01 Thread Adrian Chadd
gt; I had tried using this section of code and found these flags are not > satisfied, after changing them, I can negotiate VHT80, VHT160 fine with iwm, > so I pointed out this problem. I am also wondering what's the badly wrong of > you said in draft VHT implementation? > > thank

Re: Correct net80211 channel flag.

2021-03-29 Thread Adrian Chadd
hm! On Mon, 29 Mar 2021 at 08:02, qcwap <1051244...@qq.com> wrote: > > This patch corrects ieee80211_vht_get_vhtcap_ie for 160/80P80 channel width > recognition. > > diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h > index 86ab1459cca..76c43629b33 100644 > --- a/sys/net80211/ieee8

Re: mips32 + gcc9 -- still broken

2020-10-05 Thread Adrian Chadd
rid of these errors.) > > -Dimitry > > > On 5 Oct 2020, at 05:40, Adrian Chadd wrote: > > > > ping! > > > > I've got the world building on gcc + mips32 just patching > cxx_contention_t to be 32 bits, but it looks like an ABI change. > > > >

Re: mips32 + gcc9 -- still broken

2020-10-04 Thread Adrian Chadd
On Sat, 3 Oct 2020 at 13:35, Adrian Chadd wrote: > > > On Mon, 21 Sep 2020 at 00:43, Alexander Richardson < > arichard...@freebsd.org> wrote: > >> >> On Mon, 21 Sep 2020, 07:38 Adrian Chadd, wrote: >> >>> So, the big list of unknown symbols was my f

Re: mips32 + gcc9 -- still broken

2020-10-03 Thread Adrian Chadd
On Mon, 21 Sep 2020 at 00:43, Alexander Richardson wrote: > > On Mon, 21 Sep 2020, 07:38 Adrian Chadd, wrote: > >> So, the big list of unknown symbols was my fault! Whoops. >> >> i've gotten further using gcc-6.4 by fixing some of the warnings/issues >> tha

Re: mips32 + gcc9 -- still broken

2020-09-20 Thread Adrian Chadd
So, the big list of unknown symbols was my fault! Whoops. i've gotten further using gcc-6.4 by fixing some of the warnings/issues that have crept up. Here's a review for one of them: https://reviews.freebsd.org/D26504 However, now I've hit: /usr/local/bin/mips-unknown-freebsd13.0-ld: /usr/home

Re: Plans for git

2020-09-20 Thread Adrian Chadd
On Sun, 20 Sep 2020 at 15:37, Rick Macklem wrote: > Christian Weisgerber wrote: > > On 2020-09-19, Zaphod Beeblebrox wrote: > > > > > Hrm. Maybe what I hear others saying, tho, and not entirely being > replied > > > to is just a nice concise document of the why. What I hear you saying > is > >

mips32 + gcc9 -- still broken

2020-09-20 Thread Adrian Chadd
hi! So mips32 and gcc9 is broken, and things have been broken with mips32+gcc for months now. I've been poking slowly at the various build failures and they're getting slowly fixed, but this one deep in linker fun is stumping me: === /usr/local/bin/mips-unknown-freebsd13.0-gcc9 --sysroot=/usr/h

Re: svn commit: r364936 - in head: lib lib/libnetmap share/mk

2020-09-20 Thread Adrian Chadd
hi! This code fails compilation on mips32 + gcc, as it assumes uint64_t and pointer casts are the same underlying size. === /usr/local/bin/mips-unknown-freebsd13.0-gcc9 --sysroot=/usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/usr/home/adrian/work/freebsd/head-embedded/src/mips.mips/tmp

Re: Panic with wifi + usb in latest FreeBSD-current

2020-09-13 Thread Adrian Chadd
On Sun, 13 Sep 2020 at 22:34, Warner Losh wrote: > > > On Sun, Sep 13, 2020, 11:29 PM Adrian Chadd > wrote: > >> Yeah, this was also reported in #freebsd-wireless today. >> >> Is there a lock being held in the rtwn path that shouldn't be? >> > &

Re: Panic with wifi + usb in latest FreeBSD-current

2020-09-13 Thread Adrian Chadd
Yeah, this was also reported in #freebsd-wireless today. Is there a lock being held in the rtwn path that shouldn't be? -adrian On Sun, 13 Sep 2020 at 21:30, Warner Losh wrote: > I'm running current as of -2h ago. > > When I plug in my rtwn0 device and it configures, etc, I get: > > rtwn0 o

Re: driver for cp2112 (USB GPIO and I2C gadget)

2020-07-13 Thread Adrian Chadd
hi! On Wed, 8 Jul 2020 at 02:39, Andriy Gapon wrote: > On 19/06/2020 17:14, Andriy Gapon wrote: > > > > If anyone interested in reviewing a new driver please help yourself to: > > https://reviews.freebsd.org/D25359 > > https://reviews.freebsd.org/D25360 > > What might be curious about it is that

Re: iflib and options RSS is a no go for igbX

2020-05-26 Thread Adrian Chadd
On Tue, 26 May 2020 at 17:01, Matthew Macy wrote: > > > > > I can go setup my second PC this week (I have PTO!) and go see if I > > have any PCIe igb hardware here. I /think/ I do but it's fibre. > > The RSS compile time option used to be disabled in part because of > this. The drivers had working

Re: iflib and options RSS is a no go for igbX

2020-05-26 Thread Adrian Chadd
reply to all this time: On Tue, 26 May 2020 at 02:03, Hans Petter Selasky wrote: > > Hi, > > I just found a bug where outgoing TCP connections over igb0 doesn't work > because likely the software computed hash is wrong, so the incoming > packets get dropped because they are received on the wrong

Re: Can't cross-compile HEAD

2020-02-22 Thread Adrian Chadd
On Fri, 21 Feb 2020 at 12:57, Kyle Evans wrote: > Ahhh, this makes more sense now. > > > Not sure about Makefile.depend file as it says 'Autogenerated - do NOT > > edit!' (would be great to extend the comment with info autogenerated > > by 'what' exactly), and not sure if I pointed dependency dir

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
ore work. -adrian On Thu, 19 Sep 2019 at 15:21, Johannes Lundberg wrote: > > On 9/19/19 3:06 PM, Adrian Chadd wrote: > > So roaming in ifconfig/net80211 is what's set to manual. > > wpa_supplicant right now does RSSI threshold based roaming. All of the > roaming

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
triggering bgscan too periodically rather than only when the RSSI is low. -adrian On Thu, 19 Sep 2019 at 15:04, Cy Schubert wrote: > On September 19, 2019 8:20:07 AM PDT, Adrian Chadd > wrote: > >Roaming is done in wpa_supplicant when it's running.That's w

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
Roaming is done in wpa_supplicant when it's running.That's where the smarts need to be. :( -adrian On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb wrote: > On 19 Sep 2019, at 12:28, Tom Jones wrote: > > Hi, > > freebsd-wireless might be a better list for all this .. > > > > On Tue, Sep 17, 2019

Re: ath10k driver status?

2019-02-11 Thread Adrian Chadd
hi, I'm trying to update things with Geramy right now. We hit a snag where his updates broke my QCA9880 NIC in STA mode, so we're working through that right now. -adrian On Mon, 11 Feb 2019 at 09:51, Ben Widawsky wrote: > On 19-02-04 00:29:29, Anthony Jenkins wrote: > > [snip] > > Hi Adrian

Re: ath(4) issues?

2018-11-23 Thread Adrian Chadd
hi! No. It's a side effect of how ath_rate_sample works. The TL;DR is: * ath_rate_sample uses a fixed set of rates for each attempt - so say you want to transmit at 54MBit OFDM, the second/third/fourth slower rates are in a fixed table; * net80211 negotiates which rates are acceptable to the host

Re: ath(4) issues?

2018-11-23 Thread Adrian Chadd
And I think 0x1b is "1mbit CCK", so I bet that's disabled on your AP? On Fri, 23 Nov 2018 at 11:28, Adrian Chadd wrote: > hi! > > No. It's a side effect of how ath_rate_sample works. The TL;DR is: > > * ath_rate_sample uses a fixed set of rates for each atte

Re: numa involved in instability and swap usage despite RAM free?

2018-06-26 Thread Adrian Chadd
Hi, Aren't there now per-domain VM counters you can query via sysctl? Maybe they'd help in diagnosing what's going on. -adrian On Mon, 25 Jun 2018 at 11:23, Steve Kargl wrote: > > On Sun, Jun 24, 2018 at 12:03:29PM +0200, Alexander Leidinger wrote: > > > > I don't have hard evidence, but ther

Re: Can't seem to use 5GHz APs with Intel wireless

2018-06-13 Thread Adrian Chadd
hm. Which country are you in? india? It seems to think you're in the FCC4 regdomain and DE country, which if I read it right won't give you 5G. So somehow it determined you're in the "wrong" country? -adrian On Mon, 4 Jun 2018 at 07:15, Adam wrote: > > On Sun, Jun 3, 2018 at 9:50 PM, Dhananja

Re: [RFC] Deprecation and removal of the drm2 driver

2018-06-13 Thread Adrian Chadd
On Mon, 4 Jun 2018 at 22:36, Matthew Macy wrote: > > Implementing a callback in 140 different files for the sake of a handful of > out of tree drivers and people not reading updating is pretty prohibitive. 11 > may be more your cup of tea. This was the in tree wifi drivers.. :-) Dude, we're on

Re: [RFC] Deprecation and removal of the drm2 driver

2018-06-04 Thread Adrian Chadd
Hi, If there's an API that isn't being used then great, I'll go find it and fix up pieces in my spare time to use it. But the last drive by cut/paste didn't do that; it just changed the code in place. :-) -adrian ___ freebsd-current@freebsd.org mailin

Re: [RFC] Deprecation and removal of the drm2 driver

2018-06-04 Thread Adrian Chadd
Hi, As a driver/framework developer - no, don't do that. It's worked mostly great for the video side of things because your touch points are "the VM system" and "linuxkpi". And they're all in one big driver pull from Linux. For wifi as an example - it has a bunch of userland components, a kernel

Re: Periodical interrupt storm when playing game with USB keyboard

2018-01-22 Thread Adrian Chadd
Hi Yeah the timers eventually get coalesced unless someone's asking for a ridciulously accurate timer value. So is some driver asking for hyper-accurate callout timer that isn't being coalesced? hps, is there any useful debugging to try and find callouts that are requesting stupidly accurate time

Re: Programmatically cache line

2017-12-31 Thread Adrian Chadd
On 30 December 2017 at 00:28, Konstantin Belousov wrote: > On Sat, Dec 30, 2017 at 07:50:19AM +, blubee blubeeme wrote: >> Is there some way to programmatically get the CPU cache line sizes on >> FreeBSD? > > There are, all of them are MD. > > On x86, the CPUID instruction leaf 0x1 returns the

Re: [mips32] build is broken due to lack of .cfi-sections support in gcc 4.2.1

2017-11-11 Thread Adrian Chadd
Hi, Have a look at what the atheros ports now do. They've been building using the external toolchain gcc for a while now. I think we need to kick over to that. -adrian On 11 November 2017 at 12:54, Michael Zhilin wrote: > Hi, > > I've got compilation error for mips32 build by gcc 4.2.1 > (f

Re: iwm not in GENERIC kernel

2017-11-02 Thread Adrian Chadd
ugh okay So it's a chicken/egg problem. You can't finish the device probe/attach until the firmware loads. For iwn, you can read the chipset abilities and mac address from EPROM/flash on the chip without the firmware being loaded, so you can complete probe/attach before the root filesystem i

Re: cve-2017-13077 - WPA2 security vulni

2017-10-23 Thread Adrian Chadd
[snip] yes you need to rebuild; the ioctl layout changed between -11 and -12 to account for the beginnings of 11ac. -adrian On 17 October 2017 at 11:30, Cy Schubert wrote: > I had no problems last night. It associated with one of my netgear APs. I > used /etc/wpa_supplicant.conf. > > I am r

Re: cve-2017-13077 - WPA2 security vulni

2017-10-16 Thread Adrian Chadd
ext few days but I'm busy with family and employment. -adrian On 16 October 2017 at 10:19, Kevin Oberman wrote: > On Mon, Oct 16, 2017 at 8:55 AM, Adrian Chadd > wrote: >> >> hi, >> >> I got the patches a couple days ago. I've been busy with per

Re: cve-2017-13077 - WPA2 security vulni

2017-10-16 Thread Adrian Chadd
hi, I got the patches a couple days ago. I've been busy with personal life stuff so I haven't updated our in-tree hostapd/wpa_supplicant. If someone beats me to it, great, otherwise I'll try to do it in the next couple days. I was hoping (!) for a hostap/wpa_supplicant 2.7 update to just update e

Re: Ports still broken by ino64?

2017-06-26 Thread Adrian Chadd
I'm sure stas can figure it out! -a On 25 June 2017 at 22:44, Thomas Mueller wrote: > from Adrian Chadd: > >> valgrind broke as part of the ino64 work :( > > Valgrind was not on my mind! Your post sent me to > > ls -d /usr/ports/*/val* > > to find va

Re: Ports still broken by ino64?

2017-06-25 Thread Adrian Chadd
Hi, valgrind broke as part of the ino64 work :( -a ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: [RESOLVED] Failover Mode Between Ethernet and Wireless Interfaces broken on >= 11

2017-06-23 Thread Adrian Chadd
hi! Thanks! Yes please let's update the handbook at least. -a On 23 June 2017 at 10:06, Renato Botelho wrote: > On 23/06/17 13:43, Adrian Chadd wrote: >> Hi, >> >> You can't change a wifi mac address /after the interface is up/. So if >> that's happ

Re: Failover Mode Between Ethernet and Wireless Interfaces broken on >= 11

2017-06-23 Thread Adrian Chadd
Hi, You can't change a wifi mac address /after the interface is up/. So if that's happening with this RC script combination then we should kinda fix that. -adrian ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/f

Re: [rfc] breaking out if_ath into ... lots of modules

2017-05-22 Thread Adrian Chadd
On 22 May 2017 at 13:17, John Baldwin wrote: > Why not have if_ath.ko just be a wrapper module that depends on everything > like dtraceall.ko? That would let 'kldload if_ath' and the auto-loading > code in ifconfig still DTRT. You could name the "only the driver" module > ath.ko or some such.

[rfc] breaking out if_ath into ... lots of modules

2017-05-22 Thread Adrian Chadd
Hi, I've been putting this off for a few years, but now I've reached a point where I kind of need to do this. The TL;DR is this - I'd like to break the ath driver /back/ out into separate modules, and then have them be run-time loadable. It's part for space savings, and part for the upcoming ath1

Re: make concurrency kit a module

2017-05-19 Thread Adrian Chadd
On 17 May 2017 at 23:37, Warner Losh wrote: > On Wed, May 17, 2017 at 11:53 PM, Baptiste Daroussin wrote: >> On Wed, May 17, 2017 at 06:04:09PM -0700, Adrian Chadd wrote: >>> https://reviews.freebsd.org/D10778 >>> >> >> Except there are plans to use it else

Re: make concurrency kit a module

2017-05-17 Thread Adrian Chadd
https://reviews.freebsd.org/D10778 -a On 17 May 2017 at 17:46, Adrian Chadd wrote: > hi, > > this is a quick change that makes concurrency_kit a module. Right now > the only thing using it is linuxkpi so it's all dead code on > non-linuxkpi platfo

make concurrency kit a module

2017-05-17 Thread Adrian Chadd
hi, this is a quick change that makes concurrency_kit a module. Right now the only thing using it is linuxkpi so it's all dead code on non-linuxkpi platforms. -adrian ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listi

Re: regression suspend/resume on Lenovo T420

2017-05-01 Thread Adrian Chadd
There were lots of commits that could break things. :-) Can you compile up some intermediary versions between 315141 and r317559 to find which commit range broke things? That'll make chasing it down much quicker! Thanks! -a On 29 April 2017 at 04:50, Manuel Stühn wrote: > Hi, > I'd been suc

Re: increased power consumption lately?

2017-04-26 Thread Adrian Chadd
>> >>> Thanks Ngie, that was a good one! (I really need to learn dtrace...) >>> >>> Got this among other: >>> >>> AcpiNsLookup:entry PathInfo: \/ _SB_PCI0IGPUGSSE�GSMI\/ >>> _SB_PCI0IGPUGSCI�K p >>> >>> Might be related to: >&g

Re: altq and head

2017-04-26 Thread Adrian Chadd
It'll be supported as much as someone is willing to pay for it. It isn't out of the realm of possibility to implement an if_transmit style layer for altq, etc so it could be a generic queue discipline. It'd be nice to have a multi-queue version of this but we're not there yet. Thanks, -adrian

Re: increased power consumption lately?

2017-04-05 Thread Adrian Chadd
r 4, 2017 at 9:39 PM, Adrian Chadd wrote: >> >> hiya, >> >> looks like yeah, you're going to have to do a bit more debugging. Can you >> see what args are being passed to AcpiNsLookup() ? >> >> >> >> -adrian >> >> >> On

Re: increased power consumption lately?

2017-04-04 Thread Adrian Chadd
so > total 100% of one core. > > Machine is 2013 MBP > > pmcstat screenshot attached. > > > > On Thu, 30 Mar 2017 at 21:16, Adrian Chadd wrote: > >> I don't /think/ so - which thread is it on your end? Can you run >> pmcstat -S instructions -T to s

Re: increased power consumption lately?

2017-03-30 Thread Adrian Chadd
sage. Need to lock CPU freq at lower value otherwise it runs with > turboboost all the time. > > Could it be the same for you? > > On Tue, 28 Mar 2017 at 20:58, Adrian Chadd wrote: >> >> hiya, >> >> I've noticed that my battery life on my haswell laptop (

increased power consumption lately?

2017-03-28 Thread Adrian Chadd
hiya, I've noticed that my battery life on my haswell laptop (T540p) seems to have taken a nosedive lately. I could've /sworn/ it was getting better than 15-16W at idle. Has anyone noticed any massive decrease in battery life lately? -adrian ___ free

Re: cross compiling freebsd-head is sigh, now broken - thanks libllvm

2017-03-20 Thread Adrian Chadd
WITHOUT_CLANG fixed it for me. Thanks. -adrian On 20 March 2017 at 11:23, Ed Maste wrote: > On 19 March 2017 at 03:00, Adrian Chadd wrote: >> gcc version 5.3.0 (FreeBSD Ports Collection for mips) >> >> ... so uhm, why are we building libllvm? > > As of the Clang

cross compiling freebsd-head is sigh, now broken - thanks libllvm

2017-03-19 Thread Adrian Chadd
===> lib/clang (all) ===> lib/clang/libllvm (all) In file included from /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap/mips.mips/usr/home/adrian/work/freebsd/head-embedded/src/tmp/usr/include/c++/v1/math.h:309:0, from /usr/home/adrian/work/freebsd/head-embedded/obj/mips_ap

Re: panic: invalid bcd xxx

2017-03-03 Thread Adrian Chadd
On 2 March 2017 at 01:31, Matthias Apitz wrote: > On Thursday, 2 March 2017 00:37:35 CET, Michael Gmelin > wrote: >> >> >> >>> On 2 Mar 2017, at 00:35, Adrian Chadd wrote: >>> >>> This is an emulated BIOS though, right? >>&

Re: panic: invalid bcd xxx

2017-03-01 Thread Adrian Chadd
This is an emulated BIOS though, right? I don't know if we're going to get the RTC 'bugfixed'... -adrian On 28 February 2017 at 15:26, Michael Gmelin wrote: > On Tue, 28 Feb 2017 17:16:02 -0600 > Eric van Gyzen wrote: > >> On 02/28/2017 16:57, Conrad Meyer wrote: >> > On Tue, Feb 28, 2017 at

Re: Possible overlooked "svn add" in r314192?

2017-02-24 Thread Adrian Chadd
fxed! -a On 24 February 2017 at 09:20, Ngie Cooper wrote: > >> On Feb 24, 2017, at 05:39, David Wolfskill wrote: >> >> Updating head in place from r314136 -> r314200, I find I can't build the >> kernel because: >> >> ... >> ===> iwifw/iwi_ibss (all) >> --- all_subdir_iwifw/iwi_monitor ---

Re: asmc driver patch merge request

2017-02-16 Thread Adrian Chadd
ok, lemme do a build and if it succeeds i'll commit it -a On 16 February 2017 at 06:39, Johannes Lundberg wrote: > My emacs remove trailing white spaces automatically on save. > > On Wed, Feb 15, 2017 at 22:59 Adrian Chadd wrote: >> >> this looks fine to me.

Re: asmc driver patch merge request

2017-02-15 Thread Adrian Chadd
this looks fine to me. what's with the whitespace changes? -a On 15 February 2017 at 19:27, Johannes Lundberg wrote: > Hi > > This patch adds support for MacBook Pro 11,2 to asmc. > > The other day I tried patching my old > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214836 > > submis

Re: vt(4) chops off the leftmost three columns

2017-01-24 Thread Adrian Chadd
ht thing even if it takes longer. Really appreciate you > taking the time to respond, thanks! > > Anindya > > From: Adrian Chadd [adrian.ch...@gmail.com] > Sent: January 20, 2017 3:11 PM > To: Anindya Mukherjee > Cc: freebsd-current

Re: vt(4) chops off the leftmost three columns

2017-01-20 Thread Adrian Chadd
hiya, Mechanically it doesn't look /that/ hard: * vesa.ko pulls in the vesa.c bits and the syscons vesa control bits. Ideally we'd have them as two separate modules, so you could load "vesa" without needing the syscons bits. * Maybe then write a vt 'fb' interface to talk to the old-school framebu

Re: Installing opt_*.h kernel headers

2017-01-15 Thread Adrian Chadd
hi, As much as I'd like to see everything be default-options and ABI compliant, things like INET/INET6 throw that assumption under the bus a bit. (Yes, I'd love to see INET/INET6 be .ko's..) So yes, I'd like to see a solution to this too. I think installing the kernel config for the running kerne

Re: vt(4) chops off the leftmost three columns

2017-01-14 Thread Adrian Chadd
upport like sc has. > > > > Adrian Chadd wrote: >> >> hi, >> >> no, the vt_vga backend doesn't yet do VESA. >> >> I keep meaning to sit down and fix this, but life and wifi gets in the >> way. >> >> >> -adrian >> >>

Re: vt(4) chops off the leftmost three columns

2017-01-14 Thread Adrian Chadd
hi, no, the vt_vga backend doesn't yet do VESA. I keep meaning to sit down and fix this, but life and wifi gets in the way. -adrian On 14 January 2017 at 16:27, Kevin Oberman wrote: > On Sat, Jan 14, 2017 at 2:11 PM, Adrian Chadd > wrote: >> >> It depends(tm). I thin

Re: vt(4) chops off the leftmost three columns

2017-01-14 Thread Adrian Chadd
It depends(tm). I think the VT code just does "640x480x4bpp" and lets the BIOS sort it out. A lot of things don't cope well with 640x480 these days - they try autodetecting picture edges, but a black border makes that very difficult. -adrian On 14 January 2017 at 08:57, Matthias Andree wrote:

Re: onboard wifi raspberry pi3 and aarch64/freebsd-current

2017-01-09 Thread Adrian Chadd
hi! no, and maybe. -a On 9 January 2017 at 05:30, tech-lists wrote: > Hello lists, > > [x-posted to freebsd-arm because this question appears to be equally > relevant there] > > Does the onboard wireless on the raspberry pi 3 work in 12-current-aarch64? > > If not, are there plans afoot to ma

Re: PQ_LAUNDRY: unexpected behaviour

2017-01-06 Thread Adrian Chadd
email freebsd-wireless with the wifi details. i know our iwm driver gets antenna configs wrong sometimes and that can cause issues. -a On 6 January 2017 at 11:07, Jonathan Anderson wrote: > On 6 Jan 2017, at 13:53, Pete Wright wrote: >> >> >> i've been having the same problems with iwm too (fa

Re: RFC: DTrace probes for debugging or testing in userland programs

2016-12-19 Thread Adrian Chadd
*mumble* damnit jordan this requires libdispatch *mumble* -a ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: RFC: DTrace probes for debugging or testing in userland programs

2016-12-19 Thread Adrian Chadd
On 19 December 2016 at 16:04, Jordan Hubbard wrote: > > On Dec 19, 2016, at 12:27 PM, Adrian Chadd wrote: > > So although I like the sentiment, I don't think using dtrace for > program logging is the right answer. I like what apple did to wrap > the program logging stuf

Re: RFC: DTrace probes for debugging or testing in userland programs

2016-12-19 Thread Adrian Chadd
Hi, I'd love to see a unified-ish logging API for FreeBSD applications. I always end up reusing some C code I have here that I based on some Squid style logging API in ages past. I could always polish it up and put it up for review. I'm not a big fan of requiring dtrace to use it though. On a lot

Re: best approximation of getcpu() ?

2016-12-16 Thread Adrian Chadd
On 16 December 2016 at 11:45, Luigi Rizzo wrote: > On Fri, Dec 16, 2016 at 09:29:15AM +, David Chisnall wrote: >> On 16 Dec 2016, at 03:10, Alan Somers wrote: >> > >> > What about pthread_setaffinity(3) and friends? You can use it to pin >> > a thread to a single CPU, and know that it will n

Re: Enabling NUMA in BIOS stop booting FreeBSD

2016-12-15 Thread Adrian Chadd
heh, an updated BIOS that solves the problem will solve the problem. :) I think you have enough information to provide to supermicro. Ie, "SMAP says X, when physical memory pages at addresses X are accessed, they don't behave like memory, maybe something is wrong". All I can think of is some hack

Re: drm-next update and longer term plans

2016-12-01 Thread Adrian Chadd
Hi, The challenge right now is figuring out how to implement / commit the linux-y bits that the linux layer really wants. Kip has done a pretty great job at figuring out the minimum set of hilarity that needs to go into base versus linuxkpi. But the "challenge" is figuring out some comprimise bet

Re: Enabling NUMA in BIOS stop booting FreeBSD

2016-11-27 Thread Adrian Chadd
On 26 November 2016 at 13:59, Slawa Olhovchenkov wrote: > On Sat, Nov 26, 2016 at 01:55:14PM -0800, Adrian Chadd wrote: > >> ok, hm. then i don' know offhand, not without putting in printf debugging. :) > > I am not expert in this code, I am need you patches for printf debu

Re: Enabling NUMA in BIOS stop booting FreeBSD

2016-11-26 Thread Adrian Chadd
ok, hm. then i don' know offhand, not without putting in printf debugging. :) -a On 26 November 2016 at 13:51, Slawa Olhovchenkov wrote: > On Sat, Nov 26, 2016 at 01:49:00PM -0800, Adrian Chadd wrote: > >> Ok. So boot verbose and let's see what it says. > > See

Re: Enabling NUMA in BIOS stop booting FreeBSD

2016-11-26 Thread Adrian Chadd
Ok. So boot verbose and let's see what it says. -adrian On 26 November 2016 at 10:39, Slawa Olhovchenkov wrote: > On Sat, Nov 26, 2016 at 09:44:49AM -0800, Adrian Chadd wrote: > >> The ACPI SRAT parsing code - sys/x86/acpica/srat.c . >> >> I'd start by en

Re: Enabling NUMA in BIOS stop booting FreeBSD

2016-11-26 Thread Adrian Chadd
, Nov 26, 2016 at 09:35:08AM -0800, Adrian Chadd wrote: > >> It may be something to do with memory topology parsing. Maybe we need >> some more debugging there to try and catch it. > > What debug you need? > >> On 26 November 2016 at 01:21, Slawa Olhovchenkov wrote: &g

Re: Enabling NUMA in BIOS stop booting FreeBSD

2016-11-26 Thread Adrian Chadd
It may be something to do with memory topology parsing. Maybe we need some more debugging there to try and catch it. -a On 26 November 2016 at 01:21, Slawa Olhovchenkov wrote: > I am try to enable NUMA in bios and can't boot FreeBSD. > Boot stoped after next messages: > > === > Booting... > K

Re: tput failing on 10 and 12 systems?

2016-11-21 Thread Adrian Chadd
Hiya, Just to follow through - part of tput is to decode command args, but it then just requests it from the ncurses tputs() call. So it could be tput, but it could also be the BSD ncurses work. -adrian On 21 November 2016 at 07:54, Julian Elischer wrote: > example on freefall (FreeBSD 1

Re: SM bus ioctls incorrect in FreeBSD 11

2016-11-10 Thread Adrian Chadd
+10 on option 2. Hate to say it, but I'd rather this little corner of freebsd be "right" before it gets more heavily used. -a On 10 November 2016 at 03:21, Andriy Gapon wrote: > On 14/10/2016 18:51, Lewis Donzis wrote: >> Our opinion doesn’t count for much, but I like 2 or 4. Option 1 would >

Re: hang during kldload if_bwn

2016-11-08 Thread Adrian Chadd
I don't know why it's hanging; and unfortunately I'll have to reinstall -head to get a working console (since the device I have here for doing ppc+bwn work wants syscons, /not/ vt.. :( ) -a On 6 November 2016 at 14:42, Justin Hibbits wrote: > Hi folks, > > I have a PowerBook G4 with an Airport

Re: urtwn(4) / rtwn(4) drivers are merged - call for review / testing

2016-10-11 Thread Adrian Chadd
Hiya, So uhm - normal rtwn works fine, but andriy's merged version doesn't? -a ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebs

Re: urtwn(4) / rtwn(4) drivers are merged - call for review / testing

2016-10-02 Thread Adrian Chadd
hi, can you turn on debugging? Do you see RX frames? -a On 1 October 2016 at 08:09, Kevin Lo wrote: > Strange, rtwn(4) stops working. I tried to scan for the available network, > but it just returns empty results. > > On Fri, Sep 23, 2016 at 02:44:13PM +0300, Andriy Voskoboinyk wrote: >> >>

Re: urtwn(4) / rtwn(4) drivers are merged - call for review / testing

2016-09-19 Thread Adrian Chadd
hi, I'll try it out tonight! Is the rtwn repo still "ok" to try as a standalone thing? The usbdevs patch is fine standalone - would you like to just commit this in advance? -adrian On 19 September 2016 at 06:26, Andriy Voskoboinyk wrote: > Thu, 01 Sep 2016 19:29:03 +0300 було написано Andr

Re: FreeBSD12-RC2 and bluetooth?

2016-09-15 Thread Adrian Chadd
hi, bluetooth uses netgraph. -a On 15 September 2016 at 11:36, Steve Kargl wrote: > I recently got a spanky new Dell Precision 7510. After > freeing up space on the nvme device, I installed > FreeBSD-12.0-CURRENT-amd64-20160829-r305028-memstick.img > on her. Nice, painless experience. Tha

Re: 11.0-RC2 suspend/resume on thinkpad x201 kills poweroff

2016-09-09 Thread Adrian Chadd
is it too new to "kldload i915kms" ? -adrian On 9 September 2016 at 00:45, Philip Homburg wrote: >>What graphics driver are you using? > > Just the default: > 'VT(vga): resolution 640x480' > > Booting with -v and switching I now noticed that each time I switch to a > different console I get a

Re: 11.0-RC2 suspend/resume on thinkpad x201 kills poweroff

2016-09-08 Thread Adrian Chadd
Try forcing a console switch - hit alt-f1, alt-f2, etc. -a On 8 September 2016 at 15:10, Glen Barber wrote: > On Thu, Sep 08, 2016 at 11:32:24PM +0200, Philip Homburg wrote: >> The main culprit seems to be putting 'hw.acpi.reset_video=1' in >> /boot/loader.conf >> > > Yes, I have seen this cau

Re: Intel ac8260 and wpa_supplicant

2016-09-06 Thread Adrian Chadd
hi, There's some interesting issues with the scan logic in -HEAD where we abort/finish a scan if there's active traffic, but there's no way to say "the scan was interrupted by active traffic and will continue" versus "the scan was aborted" or "the scan is finished". So sometimes the scan results l

Re: Arcan [0.5.1] on FreeBSD/KMS

2016-09-05 Thread Adrian Chadd
Hey, this looks really cool! -a On 5 September 2016 at 06:25, bbjowhn . wrote: > I'm guessing most of you seeing this post aren't too familiar with the > project, so I'll start with something of a synopsis. > > Arcan is a mix between a streaming realtime graphics (and audio) processor, > a gam

Re: APU2C4 information (was Re: 11.0-RC2 and 12-CURRENT won't boot on apu2c4)

2016-09-03 Thread Adrian Chadd
hi, no, ar988x is 11ac, and i haven't finished the port. -a On 3 September 2016 at 06:36, O. Hartmann wrote: > Am Sat, 3 Sep 2016 15:25:17 +0200 > Guido Falsi schrieb: > >> On 09/03/16 15:11, O. Hartmann wrote: >> > Am Sat, 3 Sep 2016 14:01:15 +0200 >> > Michael Tuexen schrieb: >> > >> >>>

Re: FreeBSD 11 RC1 - no wifi

2016-08-25 Thread Adrian Chadd
On 25 August 2016 at 12:45, Stefan Wendler wrote: > Hi, > > is this fixed in RC2? I haven't tried it yet but would be nice to know Hi, Just so everyone who may be interested/involved can see - I don't have the spare bandwidth/cycles to try and make wifi + lagg "work", and personally I still main

compiling elf toolchain under gcc-5.3 mips

2016-08-14 Thread Adrian Chadd
hiya, This seems to be needed for compiling elftoolchain under gcc-5.3 targeting mips (CROSS_TOOLCHAIN=mips-gcc) otherwise it complains that sz isn't always initialised: adrian@gertrude:~/work/freebsd/head-embedded/src % svn diff contrib Index: contrib/elftoolchain/elfcopy/ascii.c ===

Re: Hardware rendered Wayland client up and running

2016-08-13 Thread Adrian Chadd
w! ok, what has to be committed to -head? -a On 13 August 2016 at 19:12, Lundberg, Johannes wrote: > Hi FreeBSD hackers! > > Today we reached a big milestone. For the first time, we could render > Wayland clients, backed by hardware, not shm (shared memory), on Intel Atom > Cherryview. >

  1   2   3   4   5   6   7   8   9   10   >