Re: FT232H variant in uftdi(4)

2020-12-09 Thread Daniel Bolgheroni
On Wed, Dec 09, 2020 at 09:11:35AM +0100, Jan Klemkow wrote: > On Tue, Dec 08, 2020 at 09:03:53PM -0300, Daniel Bolgheroni wrote: > > I have a FT232H variant (marked FT232HQ, 0403:6014) which works with > > uftdi(4). > > > > Still related to uftdi(4), sys/dev/usb/

Re: FT232H variant which works

2020-12-08 Thread Daniel Bolgheroni
On Tue, Dec 08, 2020 at 03:04:58PM -0300, Daniel Bolgheroni wrote: > Hi tech@, > Sorry, duplicate, disconsider since I sent it again just to find out I had no rDNS. -- db

FT232H variant which works

2020-12-08 Thread Daniel Bolgheroni
Hi tech@, I have a FT232H variant (marked FT232HQ, 0403:6014) which works with uftdi(4). Still related to uftdi(4), sys/dev/usb/ftdi.c has a comment saying uftdi(4) does not support multiple serial ports because ucom(4), but I'm able to use both ucom(4) in parallel from a FT2232H (dual). Thank y

FT232H variant in uftdi(4)

2020-12-08 Thread Daniel Bolgheroni
Hi tech@, I have a FT232H variant (marked FT232HQ, 0403:6014) which works with uftdi(4). Still related to uftdi(4), sys/dev/usb/ftdi.c has a comment saying uftdi(4) does not support multiple serial ports because ucom(4), but I'm able to use both ucom(4) in parallel from the same FT2232H (dual).

rcctl(8) does not set flags

2017-02-15 Thread Daniel Bolgheroni
Hi tech@, Setting, for example # rcctl enable nfsd # rcctl set nfsd flags -tun 4 has no effect on /etc/rc.conf.local. This is also true for other cases where the default flags for the daemon are equal to the flags you're trying to set. It seemed a problem at first, since there is no reference

guest crashes when ping'ing host

2016-11-04 Thread Daniel Bolgheroni
Hi, guest running -current crashes trying to ping host running the same -current snapshot. The configuration is based on a diff to faq6.html from Edd Barrett, which is going to be commited for 6.1: http://marc.info/?l=openbsd-tech&m=147654794511843&w=2 Don't know if it is related to the recent c

[patch] Some consistence

2016-09-07 Thread Daniel Bolgheroni
Some consistence. Index: ls.1 === RCS file: /cvs/src/bin/ls/ls.1,v retrieving revision 1.77 diff -u -p -r1.77 ls.1 --- ls.110 Aug 2016 19:46:43 - 1.77 +++ ls.18 Sep 2016 01:44:18 - @@ -370,7 +370,7 @@ and

Re: armv7 cache flushing: don't take shortcuts

2016-08-15 Thread Daniel Bolgheroni
On Mon, Aug 15, 2016 at 09:56:09PM +0200, Mark Kettenis wrote: > The functions that clean/invalidate the caches by virtual address, > bail out after cleaning 32k worth of data. The 32k matches the L1 > cache of most of the CPUs we current run on. But the Cortex-A7 has an > integrated L2 cache tha

typo in bytgpio(4) manpage

2016-08-15 Thread Daniel Bolgheroni
Typo. s/drirect/direct/ Index: bytgpio.4 === RCS file: /cvs/src/share/man/man4/bytgpio.4,v retrieving revision 1.2 diff -u -p -r1.2 bytgpio.4 --- bytgpio.4 28 Mar 2016 20:08:56 - 1.2 +++ bytgpio.4 15 Aug 2016 17:11:31 -0

Re: armv7 Cortex-A7 fix

2016-08-10 Thread Daniel Bolgheroni
On Thu, Aug 11, 2016 at 05:23:08AM +0300, Artturi Alm wrote: > Did you rememeber to revert the whatever patch you were using before? No. Thank you. -- U-Boot SPL 2016.07 (Aug 05 2016 - 23:44:57) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC1 U-Boot 2016.07 (Aug 0

Re: armv7 Cortex-A7 fix

2016-08-10 Thread Daniel Bolgheroni
On Thu, Aug 11, 2016 at 02:30:59AM +0200, Mark Kettenis wrote: > Finally found the pmap bug that kept Cortex-A7 from working. Turns > out we have to flush the TLB when removing a L1 slot as well. Already > committed the diff, but here it is for those that are interested. This diff makes Cubieboa

Re: pmap7.c cleanup

2016-08-08 Thread Daniel Bolgheroni
On Mon, Aug 08, 2016 at 09:17:39PM +0200, Mark Kettenis wrote: > This diff should not introduce any change in behaviour. Another round tested with a kernel build and works for me on BeagleBone Black. -- db

Re: Another armv7 pmap diff

2016-08-07 Thread Daniel Bolgheroni
On Sun, Aug 07, 2016 at 01:58:06PM +0200, Mark Kettenis wrote: > Further testing, especially on Cortex-A8, would be appreciated. Works for me. Tested on BeagleBone Black. Kernel compile times remains pretty much the same, though. -- db

Re: Cache page tables on armv7

2016-08-06 Thread Daniel Bolgheroni
On Sat, Aug 06, 2016 at 12:02:53PM +0200, Mark Kettenis wrote: > I'd appreciate it if somebody could test this on a system with a > Cortex-A8 processor. Before this patch, it used to take around 58 min to build kernel on BeagleBone Black here. It's now taking around 23 min. -- db

Re: armv7 pmap fix for Cortex A53 (and Cortex A7?)

2016-08-01 Thread Daniel Bolgheroni
On Mon, Aug 01, 2016 at 10:19:17PM -0300, Daniel Bolgheroni wrote: > On Sun, Jul 31, 2016 at 08:03:58PM +0200, Mark Kettenis wrote: > > So the CPU might speculatively load TLB entries. The upshot from this > > is that we always have to perform a TLB flush if we modify a valid &g

Re: armv7 pmap fix for Cortex A53 (and Cortex A7?)

2016-08-01 Thread Daniel Bolgheroni
On Sun, Jul 31, 2016 at 08:03:58PM +0200, Mark Kettenis wrote: > So the CPU might speculatively load TLB entries. The upshot from this > is that we always have to perform a TLB flush if we modify a valid > entry. So we can't rely on PV_BEEN_REFD() to decide whether we should > flush or not. The

Re: armv7 pmap fix for Cortex A53 (and Cortex A7?)

2016-07-31 Thread Daniel Bolgheroni
On Sun, Jul 31, 2016 at 08:03:58PM +0200, Mark Kettenis wrote: > So the CPU might speculatively load TLB entries. The upshot from this > is that we always have to perform a TLB flush if we modify a valid > entry. So we can't rely on PV_BEEN_REFD() to decide whether we should > flush or not. The

Re: arm: pmap uvm_fault findings

2016-07-27 Thread Daniel Bolgheroni
On Wed, Jul 27, 2016 at 08:06:57PM +0200, Patrick Wildt wrote: > > There are more places in that pmap where we explicitly check for zero > and not for being valid. Unfortunately this place was missed. Wandboard with your patch, recompiling a kernel, and no problems so far. Thank you. -- db

Re: armv7 diff for testing

2016-07-26 Thread Daniel Bolgheroni
On Mon, Jul 25, 2016 at 04:26:26PM +0200, Mark Kettenis wrote: > > Also, are you plugged into a gigabit switch? If not, "ifconfig fec0 > media 100baseTX" might help. Missed that. Thank you. -- db

Re: armv7 diff for testing

2016-07-25 Thread Daniel Bolgheroni
On Mon, Jul 25, 2016 at 04:26:26PM +0200, Mark Kettenis wrote: > > Can you show us the output of "ifconfig fec0" and "vmstat -zi"? Sure. At the bottom of the message. > Also, are you plugged into a gigabit switch? If not, "ifconfig fec0 > media 100baseTX" might help. No, cheap Fast Ethernet sw

Re: armv7 diff for testing

2016-07-25 Thread Daniel Bolgheroni
On Thu, Jul 21, 2016 at 01:06:50PM +1000, Jonathan Gray wrote: > > Actually the pad configuration in those commits may mean this isn't > enough. Hi, I saw the r1.9 for if_fec.c and then it says it was tested on SABRE lite by Patrick. I tested on Wandboard Solo again. Now fec(4) shows up, howeve

Re: armv7 diff for testing

2016-07-20 Thread Daniel Bolgheroni
On Wed, Jul 13, 2016 at 11:39:54AM +0200, Mark Kettenis wrote: > The diff below removes the last board ID dependent code for the i.MX6 > platform. It affects all boards that use a Micrel PHY, which would > show up as "ukphy0" in your dmesg. If you have such a board (udoo, > novena and sabrelight,

[patch] Fix device

2016-06-01 Thread Daniel Bolgheroni
Hi, between the 1.318 and 1.319 commits, a device was left unchanged, so fix it. http://cvsweb.openbsd.org/cgi-bin/cvsweb/www/faq/faq14.html.diff?r1=1.318&r2=1.319&f=h Index: faq14.html === RCS file: /cvs/www/faq/faq14.html,v retrie

Re: Scheduler hack for multi-threaded processes

2016-03-19 Thread Daniel Bolgheroni
On Sat, Mar 19, 2016 at 01:53:07PM +0100, Martin Pieuchot wrote: > I experimented with various values for "p_priority" and this one is > the one that generates fewer # IPIs when watching a HD video on firefox. > Because yes, with this diff, now I can. YouTube on Firefox on ThinkPad T420: It's def

Fix mount point in FAQ section 14.10.3

2016-03-08 Thread Daniel Bolgheroni
The newly created partition is in sd1, not sd0. Index: faq14.html === RCS file: /cvs/www/faq/faq14.html,v retrieving revision 1.300 diff -u -p -r1.300 faq14.html --- faq14.html 8 Mar 2016 01:14:03 - 1.300 +++ faq14.html 9

Re: arm: dmamap_destroy: remove explicit unload of map

2016-03-08 Thread Daniel Bolgheroni
On Sun, Mar 06, 2016 at 12:53:24PM +0100, Tobias Ulmer wrote: > map is passed straight into free where it gets overwritten with junk. > No other arch makes map invalid before free, and my N2100 didn't > suddenly misbehave either. > > ok? Have been building -current with this diff applied too and

Re: arm: support Allwinner A20 Ethernet

2016-03-04 Thread Daniel Bolgheroni
On Sat, Feb 27, 2016 at 11:09:10PM +0100, Patrick Wildt wrote: > > + /* print interrupt state */ > + snprintb(buf, sizeof(buf), "\177\20" > + "b\x10""NI\0" > + "b\x0f""AI\0" > + "b\x0e""ER\0" > + "b\x0d""FB\0" > + "b\x0a""ET\0" > + "b\x09""RW

Re: arm: support Allwinner A20 Ethernet

2016-03-02 Thread Daniel Bolgheroni
On Wed, Mar 02, 2016 at 05:22:50PM +0100, Patrick Wildt wrote: > Nice, glad to hear that! > > Looks like you're in a DDB panic? What happened? Can you > do "show panic" in DDB? Yes, it's in ddb. There is a trace in the previous message also, but here it is a new one. This happens everytime when

Re: arm: support Allwinner A20 Ethernet

2016-03-02 Thread Daniel Bolgheroni
On Sat, Feb 27, 2016 at 11:09:10PM +0100, Patrick Wildt wrote: > Hi, > > the Allwinner A10 and A20 SoC include an EMAC, but it's only used in > few devices like the Cubieboard. The A20, like the A31 and A80, contain > a GMAC, which is a Synopsys Designware controller. This is commonly > used on

Re: sunxi: don't use sxitimer on the sun7i/A20

2016-02-03 Thread Daniel Bolgheroni
On Wed, Feb 03, 2016 at 12:31:33PM +1100, Jonathan Gray wrote: > You'll want a kernel with the sxidog patch that was committed earlier today. That's right. Thank you. However, stressing it out a little further, sometimes I still get some pmap-related issues. Maybe something related to U-Boot? I h

Re: sunxi: don't use sxitimer on the sun7i/A20

2016-02-02 Thread Daniel Bolgheroni
On Tue, Feb 02, 2016 at 10:55:57AM +1100, Jonathan Gray wrote: > Thanks, both diffs committed. Any chance you could create another to > move the sxitimer_* globals into the softc? I didn't have time to test each diff separately, but now my Cubieboard 2 stops at sxidog (log below). I'm expecting t

Re: Firefox, malloc(3) and threads

2016-01-25 Thread Daniel Bolgheroni
On Sat, Jan 23, 2016 at 03:53:32PM +0100, Martin Natano wrote: > Yes! This absolutely makes Youtube videos watchable for me (on a > Thinkpad T520). There still is occassional stuttering, but _far_ less > disruptive than before. Another usecase where I see improvements is > reloading a resource-heav

[patch] option DEBUG_INTC + option DDB in ampintc.c

2015-11-04 Thread Daniel Bolgheroni
When compiling kernel with option DEBUG_INTC, we do not have AMPINTC_IRQ_TO_REG nor AMPINTC_IRQ_TO_REGi. In the same file, most uses of Debugger() is protected with either #ifdef DDB or with a #if defined(DEBUG_SOMETHING) && defined(DDB) as it is with sys/arch/amd64/amd64/cpu.c, sys/arch/arm/a

Re: inteldrm(4) diff that needs testing

2015-10-25 Thread Daniel Bolgheroni
On Sat, Oct 24, 2015 at 11:48:01PM +0200, Mark Kettenis wrote: > This diff needs to be tested on a wide range of hardware. So if you > have a machine with inteldrm(4), please give it a shot. I'm > particularly interested in testing on an x40. Works for me on a ThinkPad T420. OpenBSD 5.8-current

Re: Add support for Arduino Leonardo to umodem(4)

2015-02-23 Thread Daniel Bolgheroni
On Mon, Feb 16, 2015 at 03:31:43PM +0100, Gregor Best wrote: > +/* Arduino SA products */ > +product ARDUINO LEONARDO 0x8036 Arduino Lenoardo Leonardo, not Lenoardo. -- db

Re: Speeding up openbsd on amd64 MP

2014-09-15 Thread Daniel Bolgheroni
On Sun, Sep 14, 2014 at 02:54:54PM +0200, Stefan Fritsch wrote: > Hi, > > Apart from testing, I would of course also appreciate reviews. Compared to > art's patch from 2005 which tried to use the direct mapping for > everything, the current patch is much less intrusive. Therefore I hope > that

Re: HID parser

2014-05-05 Thread Daniel Bolgheroni
On Sun, May 04, 2014 at 06:11:41PM +0200, Martin Pieuchot wrote: > In December 2012 a user reported on misc@ that the Noppoo Mini Choc > 84 USB keyboard does not work on OpenBSD [0]. More recently, mcbride@ > and yasuoka@ contacted me because they have a mouse that is not properly > recognized. B

VideoCore driver stack released under BSD license

2014-02-28 Thread Daniel Bolgheroni
http://blog.broadcom.com/chip-design/android-for-all-broadcom-gives-developers-keys-to-the-videocore-kingdom/ -- db

Re: Iso image integrity verification

2013-09-12 Thread Daniel Bolgheroni
On Thu, Sep 12, 2013 at 07:52:22PM +0300, Valentin Zagura wrote: > > I thought if we buy the CDs we WILL get "a solid evidentuary path from > commit to" our hands. > > So this isn't the case? You'll be safe enough.

Re: Iso image integrity verification

2013-09-11 Thread Daniel Bolgheroni
On Wed, Sep 11, 2013 at 03:17:20PM +0300, Valentin Zagura wrote: > Yes, we know, but that file can also be easily compromised if it's not > available for download with a secure protocol (HTTPS) If you're paranoid, build your own hardware from the ground up, including designing your own CPU and com

Re: goodbye to some isa devices

2013-03-28 Thread Daniel Bolgheroni
On Thu, Mar 28, 2013 at 05:46:30AM +, Miod Vallat wrote: > > You can't say in substance "it's a pity OpenBSD doesn't support the VAX > 11/780 anymore" in one mail, "you guys really ought to ditch floppy > installation media" in another, and expect people not to question your > logic or your mo

Re: Rapoo V7 Keyboard Driver

2013-01-30 Thread Daniel Bolgheroni
On Mon, Jan 28, 2013 at 03:01:08PM -0800, Mike Larkin wrote: > > The diff above might work but when I tried something akin to that last year > when implementing support for the Monoprice keyboard (similar mechanical > 'gaming' style keyboard), the boot protocol only allowed one key pressed at > a

Rapoo V7 Keyboard Driver

2013-01-28 Thread Daniel Bolgheroni
Hi tech@, anyone with a patch lurking around to work with a Rapoo V7 keyboard? Linux has a workaround, but don't know if works: https://github.com/Golevka/rapoov7-keyboard-driver The dmesg for the kbd is: uhidev1 at uhub5 port 1 configuration 1 interface 0 "Holtek USB Gaming Keyboard" rev 1.1

Re: upstream vendors and why they can be really harmful

2012-11-06 Thread Daniel Bolgheroni
On Tue, Nov 06, 2012 at 01:38:32PM +0100, Marc Espie wrote: > > It's also quickly turning Posix and Unix into a travesty: either you have > the linux goodies, or you don't. And if you don't, you can forget anything > modern... This IS the main problem.

Re: Any idea of donate a Raspberry Pi to a developer?

2012-07-17 Thread Daniel Bolgheroni
On Tue, Jul 17, 2012 at 06:08:24PM +0200, Johan Ryberg wrote: > Hi. > > I wounder if it's any idea to donate a Raspberry Pi to a developer to > make it work on OpenBSD? As understood it is the hardware spec to > closed give it a chance but I rather ask then not. > > If anyone for real can make it

Re: tmux and login shells

2012-06-21 Thread Daniel Bolgheroni
On Thu, Jun 21, 2012 at 04:21:30PM +0100, Nicholas Marriott wrote: > > I'm afraid tmux defaults are never going to please everyone. Some even > had the gall to hate on the nice green status line ;-). Oh, the green... I should have mentioned this... I don't want to "bikeshed"[1], but colors are ne

Re: Only noise from azalia

2012-01-18 Thread Daniel Bolgheroni
On Tue, Jan 17, 2012 at 02:24:19PM -0200, Jairo Souto wrote: > > I have been tried all bsd.mp from > ftp.openbsd.org:/pub/OpenBSD/snapshots/amd64/bsd.mp Are you running 4.9 or -current? > misc@ did not answer... Usually, people in tech@ are in misc@ too. They probably won't because you're ru

Re: Only noise from azalia

2012-01-17 Thread Daniel Bolgheroni
On Mon, Jan 16, 2012 at 08:49:13PM -0200, Jairo Souto wrote: > I can get only noise from the audio of a notebook Acer Aspire > 5820T-6825. > > OpenBSD uranio.dlg 4.9 GENERIC.MP#6 amd64 > > The snapshots until "9051675 Jan 13 19:04 bsd.mp" have not worked. > > dmesg, audioctl -a and mixerct