Re: installboot fails where upgrading to 5.3 (and 5.2) with softraid RAID 1

2013-05-14 Thread Stefan Sperling
On Tue, May 14, 2013 at 12:16:57PM +0200, Federico Giannici wrote: Apart from the MAKEDEV of the missing disk devices, the upgrade script apparently worked correctly in two amd64 PCs with softraid 1 boot. Yes, I believe that works. installboot will already handle what's needed so the upgrade

Re: ls(1) prints non-ascii characters as the character '?'

2013-08-30 Thread Stefan Sperling
On Fri, Aug 30, 2013 at 02:45:25PM +0200, Piotr Durlej wrote: ls(1) prints non-ascii characters as the character '?' despite of LC_ALL and/or LC_CTYPE being set in the environment. Here is a diff: http://www.durlej.net/diffs/ls.diff That patch doesn't work for multibyte characters.

malloc panic during shutdown on amd64

2013-10-10 Thread Stefan Sperling
I got the panic below on a -current amd64 system. It happened after triggering a shutdown from the menu in GNOME 3.10. It looks like a use after free and I haven't got the faintest idea what the reason could be. I'm copying it here in case it means anything to anyone. The system was built from

panic in rt_missmsg()

2013-11-30 Thread Stefan Sperling
This happened shortly after unplugging a cardbus ral(4) card without bringing it down first. vm_fault(0xd0af91a0, 0xd41f2000, 0, 1) - e kernel: page fault trap, code=0 Stopped at rt_missmsg+0x79:movzwl 0x58(%ebx),%eax ddb{0} trace rt_missmsg(5, f5c7de14,802,d41f2030,0) at

net80211 panic: bogus xmit rate 9 setup

2013-11-30 Thread Stefan Sperling
I have already fixed a similar problem before: revision 1.72 date: 2012/08/17 14:49:17; author: stsp; state: Exp; lines: +2 -1; Fix possible panic while switching from STA mode into hostap/ibss modes. ieee80211_create_ibss() resets the set of supported rates but

Re: missing packets when not in promiscuous mode

2014-01-10 Thread Stefan Sperling
On Sun, Jan 05, 2014 at 11:35:51AM +0100, Petr Hoffmann wrote: Synopsis: missing packets when not in promiscuous mode Category: kernel Environment: System : OpenBSD 5.4 Details : OpenBSD 5.4-stable (GENERIC.MP) #0: Thu Jan 2 07:25:09 CET 2014

Re: missing packets when not in promiscuous mode

2014-01-16 Thread Stefan Sperling
Ping. I haven't heard from Petr yet. Does anyone else want to review/test/ok this? On Fri, Jan 10, 2014 at 01:20:41PM +0100, Stefan Sperling wrote: On Sun, Jan 05, 2014 at 11:35:51AM +0100, Petr Hoffmann wrote: Synopsis: missing packets when not in promiscuous mode Category: kernel

Re: pkg_add -u: /usr/local/jdk-1.7.0/man//mandoc.db: unable to open database file

2014-04-24 Thread Stefan Sperling
On Thu, Apr 24, 2014 at 01:44:33PM +0200, Ingo Schwarze wrote: and /usr/local/jdk-1.7.0/man/mandoc.db. Now, as you just upgraded past the makewhatis(8)/apropos(1) switch, such databases do not yet exist. Consequently, makewhatis(8) warns you about that fact - and initializes the databases

Re: athn0: device timeout

2014-06-10 Thread Stefan Sperling
On Mon, Jun 09, 2014 at 11:23:47AM -0400, kbenjamin Coplon wrote: On 6/8/14, kbenjamin Coplon mr.g...@gmail.com wrote: I'm using an ALIX board with a WLM200NX as a 802.11g access point using OpenBSD 5.5. It works great for a while until i get athn0: device timeout a few times, then it

Re: Disklabel on usb hdd wiped on crypto boot

2014-07-21 Thread Stefan Sperling
On Mon, Jul 21, 2014 at 08:17:19PM +1200, Peter Kane wrote: Hello I have run into another strange problem on the Optiplex 745 in the dmesg below. It usually boots with a usb crypto key disk, but if I try to boot with a particular usb hard disk attached it will fail to find the key disk and

Re: tor segmentation fault on amd64 current

2014-09-28 Thread Stefan Sperling
On Sun, Sep 28, 2014 at 07:51:19PM +0400, ba...@yandex.ru wrote: Synopsis:tor segmentation fault on amd64 current Category:user Environment: System : OpenBSD 5.6 Details : OpenBSD 5.6-current (GENERIC.MP) #390: Thu Sep 25 14:38:54 MDT 2014

Re: OpenBSD -current: panic on intensive web browser usage.

2014-11-06 Thread Stefan Sperling
On Thu, Nov 06, 2014 at 12:31:36AM +0100, Jakub Skrzypnik wrote: When I try to browse web as usual, this problem doesn't encounter. But when I open more tabs or try to scroll more advanced websites, web browser hangs on a moment, causing constant disk activity and, after a while, system

Re: Feature request: hostname.default

2014-11-12 Thread Stefan Sperling
On Wed, Nov 12, 2014 at 10:11:23AM +0200, Lars Engblom wrote: Please consider to add support for a hostname.default. If no hostname.X is matching the interface, this file would be used as last resource before giving up configuring the interface. Before configuring _which_ interface?

Re: urtwn(4) is unstable

2014-11-12 Thread Stefan Sperling
On Wed, Nov 12, 2014 at 05:36:26PM +, S wrote: Synopsis:urtwn(4) is unstable Category:kernel Environment: System : OpenBSD 5.6 Details : OpenBSD 5.6-current (GENERIC.MP) #555: Wed Nov 12 00:58:05 MST 2014

Re: bce(4) - descriptor error

2015-01-21 Thread Stefan Sperling
On Wed, Jan 21, 2015 at 12:21:46PM -0500, j...@johnmerriam.net wrote: Synopsis:bce(4) infinite loop of descriptor error Category:kernel Environment: System : OpenBSD 5.7 Details : OpenBSD 5.7-beta (GENERIC.MP) #0: Tue Jan 20 12:38:44 EST 2015

Re: bce(4) - descriptor error

2015-01-22 Thread Stefan Sperling
On Thu, Jan 22, 2015 at 11:34:47AM -0500, John Merriam wrote: So, what could be the problem then? Theoretically it did work as of the 1.35 if_bce.c revision which seems to have shipped in OpenBSD 5.0. This message: http://marc.info/?l=openbsd-techm=130217668909255 seems to verify that

Re: bce(4) - descriptor error

2015-01-22 Thread Stefan Sperling
On Thu, Jan 22, 2015 at 12:47:28PM -0500, John Merriam wrote: The machine currently has the 1GB DIMM in it. I tested the patch and it seems to work with = 1GB RAM. ping -f test returned similar results so performance likely isn't affected. You sure? This would be the first time I wrote a

Re: Add example to ifconfig(8) for wireless monitor mode

2015-01-29 Thread Stefan Sperling
On Thu, Jan 29, 2015 at 09:02:52AM +0100, Bradain Foley wrote: Synopsis:Add example to ifconfig(8) for wireless monitor mode Category:documentation Environment: System : OpenBSD 5.6 Details : OpenBSD 5.6 (GENERIC) #310: Fri Aug 8 00:14:24 MDT 2014

Re: bce(4) - descriptor error

2015-01-23 Thread Stefan Sperling
On Thu, Jan 22, 2015 at 07:59:07PM -0500, John Merriam wrote: This diff from mark.kettenis also seems to work with 4GM of RAM installed. I also did the ping -f and scp tests. It seems that performance may be a bit better with this patch but it is hard to tell for sure. Thanks! I like Mark's

Re: uvm_fault with bwi on i386 when scanning or bringing up.

2015-02-19 Thread Stefan Sperling
On Thu, Feb 19, 2015 at 06:26:10PM -0330, Michael wrote: Hi, When doing a scan or bringing up the bwi0 interface a uvm fault occurs. This is always repeatable and nothing specific has to be set. Have a boot dump from the same crash before this one if needed. The ps output shows an ifconfig

Re: uvm_fault with bwi on i386 when scanning or bringing up.

2015-03-07 Thread Stefan Sperling
On Sat, Mar 07, 2015 at 03:35:29PM -0330, Michael wrote: So here is the mentioned bootup/dmesg output with Stefans debug patch, where the snip in this output is, is just me typing in the command to shutdown as it is quite hard to work with the system with the number of messages being printed.

Re: uvm_fault with bwi on i386 when scanning or bringing up.

2015-03-07 Thread Stefan Sperling
On Sat, Mar 07, 2015 at 04:29:40PM -0330, Michael wrote: I can't find anything inherently bad in there. The interrupts you're getting are receive interrupts. So it seems receive is working, but transmit is broken (watchdog timeout triggers if attempts to transmit time out). I don't know

panic: pci_make_tag: bad request

2015-02-27 Thread Stefan Sperling
Replaced a broken motherboard with Asrock K8NF6G-VSTA motherboard. Now a -current kernel fails early in the boot process. Updating the BIOS from rev 1.20 to 1.70 made no difference. The box still has a 5.5-current snap from April 2014 on disk which fails in the same way. The problem occurs with

Re: uvm_fault with bwi on i386 when scanning or bringing up.

2015-02-22 Thread Stefan Sperling
On Sun, Feb 22, 2015 at 11:11:50PM -0330, Michael wrote: So it's running into a NULL pointer but it's still unclear where and why. Perhaps it's an unchecked allocation failure, perhaps some other problem. Are you comfortable with adding some debug printf to see which function in bwi is

Re: uvm_fault with bwi on i386 when scanning or bringing up.

2015-02-21 Thread Stefan Sperling
On Fri, Feb 20, 2015 at 10:15:15PM -0330, Michael wrote: On 20 February 2015 at 05:03, Stuart Henderson st...@openbsd.org wrote: On 2015/02/19 17:30, Mike Larkin wrote: On Thu, Feb 19, 2015 at 09:02:42PM -0330, Michael wrote: There's a slim chance that killing processes (sshd, smtpd,

Re: uvm_fault with bwi on i386 when scanning or bringing up.

2015-02-21 Thread Stefan Sperling
On Sat, Feb 21, 2015 at 09:03:43AM +0100, Stefan Sperling wrote: On Fri, Feb 20, 2015 at 10:15:15PM -0330, Michael wrote: sudo ifconfig bwi0 up uvm_fault(0xd211a2d0, 0x0, 0, 1) - e fatal page fault (6) in supervisor mode trap type 6 code 0 eip 0 cs d0f60008 eflags 10202 cr2 0 cpl 60

Re: urtwn timeout and system freez

2015-03-06 Thread Stefan Sperling
On Fri, Mar 06, 2015 at 08:45:20AM +0100, Remi Locherer wrote: Hi, Since about fall 2014 I see urtwn0 timeout every now an then like others that reported it. An unplug and replut of the urtwn device usually helped. But with the snapshots from March 1st and 3rd the system just freezes

Re: crash on urtwn removal

2015-04-27 Thread Stefan Sperling
On Mon, Apr 27, 2015 at 01:55:30PM +0200, Remi Locherer wrote: I rebuilt a kernel with /etc/mk.conf containing this: SUDO=/usr/bin/sudo DEBUG=-g #DEBUGLIB=-g But there are no line numbers in the ddb output (see end of dmesg). Is there another why to build a kernel with debug symbols? It

Re: athn(4) AR9280+AR7010 2GHz/5GHz 2x2:2 USB 2.0 device problem on OpenBSD 5.4

2015-04-09 Thread Stefan Sperling
On Thu, Apr 09, 2015 at 01:25:26PM +0300, Denis Lapshin wrote: I'm interested in using USB AR9280 in host ap mode only. Stefan, are you sure that it still has no support for AP mode for AR9280+AR7010 USB dongle? My testing done while hacking the driver a few weeks back indicates that it

Re: athn(4) AR9280+AR7010 2GHz/5GHz 2x2:2 USB 2.0 device problem on OpenBSD 5.4

2015-04-09 Thread Stefan Sperling
On Thu, Apr 09, 2015 at 12:36:43PM +0300, Denis Lapshin wrote: For some years using Atheros WiFi modules as AP points using athn(4). Both of the listed below are working pretty fine as APs on various OpenBSD machines using 5GHz band. AR5008E-2NX (AR5418+AR5122)2GHz/5GHz2x2:2PCIe

Re: malo driver NMI after sending auth: Stopped at ieee80211_recv_auth+0x23

2015-04-08 Thread Stefan Sperling
On Tue, Apr 07, 2015 at 07:06:20PM -0500, Walter Daugherity wrote: Synopsis: malo driver NMI after sending auth: Stopped at ieee80211_recv_auth+0x23 This is a 90MHz Pentium (Compaq Deskpro XL 590) with a Netgear WG311v3 WiFi card which uses the malo driver. On bootup the malo driver

Re: NMI crash in ieee80211_recv_auth called from malo driver

2015-07-06 Thread Stefan Sperling
On Mon, Jul 06, 2015 at 09:15:42AM +0200, Stefan Sperling wrote: On Sun, Jul 05, 2015 at 08:21:15PM -0500, Walter Daugherity wrote: Synopsis: NMI crash in ieee80211_recv_auth called from malo driver Category: kernel Environment: System : OpenBSD CVS + debug

Re: NMI crash in ieee80211_recv_auth called from malo driver

2015-07-06 Thread Stefan Sperling
On Sun, Jul 05, 2015 at 08:21:15PM -0500, Walter Daugherity wrote: Synopsis: NMI crash in ieee80211_recv_auth called from malo driver Category: kernel Environment: System : OpenBSD CVS + debug flags Details : OpenBSD 5.8-beta (GENERIC.DEBUG) #1: Fri Jul 3

Re: OpenBSD CD-ROM installation media

2015-08-18 Thread Stefan Sperling
On Tue, Aug 18, 2015 at 02:40:27PM +0300, averl...@nextmail.ru wrote: Hello. I report a bug in OpenBSD sparc64 after 5.5 release, in 5.6 and 5.7. OBP no longer loaded cdrom OpenBSD install57.iso with error OpenBSD IEEE 1275 Bootblock 1.4 .. The file just loaded does not appear to be

Re: problem to install OpenBSD 5.7 on iMAC G5 (1.6Ghz)

2015-08-02 Thread Stefan Sperling
On Sun, Aug 02, 2015 at 02:50:18PM +0002, Laurent Masson wrote: 0 devalias cd/ht/pci@5/ata-6/disk@0 I don't understand where your assertion comes from that the correct device path was /ht/pci@5/ata-6/disk@0:2. I'll note that you are using \ instead of / as path separator in

Re: problem to install OpenBSD 5.7 on iMAC G5 (1.6Ghz)

2015-08-02 Thread Stefan Sperling
On Sat, Aug 01, 2015 at 08:35:58PM +0002, Laurent Masson wrote: Hello, I can't install OpenBSD on iMac G5, when I booted on cd with the command : boot cd:,ofwboot \5.7\macppc\bsd.rd The boot started and stopped quickly with the message : Loading ELF OpenBSD/macppc BOOT 1.3 boot

Re: Thinkpad X220: rebooting, last(1) says crash

2015-08-03 Thread Stefan Sperling
On Sun, Aug 02, 2015 at 09:58:33PM +0200, Patrik Lundin wrote: Hello, I have noticed that my laptop has been rebooting itself from time to time. Unfortunately it does not go into ddb. The only hint I have that something went wrong is the following messages in last: === patrik@major:~$ last

Re: bsd.rd on Sparc64

2015-10-14 Thread Stefan Sperling
On Wed, Oct 14, 2015 at 02:02:12PM +0100, Andrew Grillet wrote: > Is there a way to get a copy of bsd.rd that is not corrupt? (if that is the > problem). > If that is not the problem, what is? The problem is in ofwboot, not bsd.rd. See here for a desription of how the boot components fit

Re: iwm0 not working during upgrade with bsd.rd

2015-08-27 Thread Stefan Sperling
On Thu, Aug 27, 2015 at 08:37:53AM +0200, Remi Locherer wrote: Synopsis:iwm0 not working during upgrade with bsd.rd Category:kernel Environment: System : OpenBSD 5.8 Details : OpenBSD 5.8-current (GENERIC.MP) #1269: Tue Aug 25 06:26:14 MDT 2015

Re: wifi (iwn(4)) won't connect in a trunk(4)

2015-10-03 Thread Stefan Sperling
On Sat, Oct 03, 2015 at 05:10:01PM +0200, Daniel Jakots wrote: > On Sat, 3 Oct 2015 16:47:44 +0200, Stefan Sperling <s...@stsp.name> wrote: > > I'm not sure, but this could be an uncommitted patch in the snapshot > > you're running. Could you compile a kernel from CVS head and

fix iwm bsd.rd / lladdr random (was: Re: iwm0 not working during upgrade with bsd.rd)

2015-09-26 Thread Stefan Sperling
On Sat, Sep 26, 2015 at 03:37:22PM +0200, Stefan Sperling wrote: > This diff fixes the issue for me. Same diff, + my uncommitted mac context diff from http://marc.info/?l=openbsd-tech=144294310002198=2 Also adds a tweak to the ioctl handler which finally fixes ifconfig iwm0 lladdr ran

Re: fix iwm bsd.rd / lladdr random (was: Re: iwm0 not working during upgrade with bsd.rd)

2015-09-26 Thread Stefan Sperling
On Sat, Sep 26, 2015 at 11:32:06AM -0400, Ted Unangst wrote: > can we please use memcpy in new code? Sure. New diff below. Also uses less pointless casts in net/if.c as requested by guenther@ Index: dev/pci/if_iwm.c === RCS file:

Re: iwm0 not working during upgrade with bsd.rd

2015-09-26 Thread Stefan Sperling
On Thu, Aug 27, 2015 at 09:23:33AM +0200, Stefan Sperling wrote: > On Thu, Aug 27, 2015 at 08:37:53AM +0200, Remi Locherer wrote: > > >Synopsis: iwm0 not working during upgrade with bsd.rd > > >Category: kernel > > >Environment: > > System : OpenBSD 5

Re: your mail

2015-09-27 Thread Stefan Sperling
On Sun, Sep 27, 2015 at 12:13:08PM +0200, Giovanni Bechis wrote: > Before this athn(4) I had, on this same laptop, an urtwn(4) wireless device > that worked fine. This might be related to power consumption. Perhaps the athn draws more power than urtwn does and triggers hub driver problems more

Re: kernel panic - sparc64 on Netra X1 - psycho0: uncorrectable DMA error AFAR

2015-11-20 Thread Stefan Sperling
On Thu, Nov 19, 2015 at 11:48:00PM +, Steven Chamberlain wrote: > panic: psycho0: uncorrectable DMA error AFAR 6e868448 (pa=0 tte=0/69a12012) > AFSR 4100ff002080 FWIW, I've seen this happen yesterday on my blade100 while running 'ifconfig ral0 scan'. Could not repeat it so far, though.

Re: kernel panic - sparc64 on Netra X1 - psycho0: uncorrectable DMA error AFAR

2015-11-20 Thread Stefan Sperling
On Fri, Nov 20, 2015 at 12:35:22PM +0100, Stefan Sperling wrote: > On Thu, Nov 19, 2015 at 11:48:00PM +, Steven Chamberlain wrote: > > panic: psycho0: uncorrectable DMA error AFAR 6e868448 (pa=0 tte=0/69a12012) > > AFSR 4100ff002080 > > FWIW, I've seen this h

Re: kernel panic when booting MP kernel

2016-01-13 Thread Stefan Sperling
On Wed, Jan 13, 2016 at 01:30:39PM +0200, timo.my...@wickedbsd.net wrote: > >Synopsis:kernel panic when booting MP kernel, SP works > >Category:kernel > >Environment: > System : OpenBSD 5.9 > Details : OpenBSD 5.9-beta (GENERIC) #1679: Fri Jan 8 23:44:41 MST > 2016 >

Re: inet6 autoconf does not work with iwm(4) in -current

2016-06-03 Thread Stefan Sperling
On Mon, May 30, 2016 at 10:52:50AM +0100, Dimitris Papastamos wrote: > On Sun, May 29, 2016 at 08:10:02PM +0200, Stefan Sperling wrote: > > On Sun, May 29, 2016 at 01:25:02PM +0100, Dimitris Papastamos wrote: > > > Hi all, > > > > > > I recently bought a Thin

Re: bsd.rd from May 31 fails to load the firmware for iwm-7265-16

2016-06-05 Thread Stefan Sperling
On Sat, Jun 04, 2016 at 11:16:32PM +0200, Remi Locherer wrote: > On my installation the upgrade process looks like this (snapshot bsd.rd > from Jun 2): > [...] > iwm0: no link ... sleeping > My /etc/hostname.iwm0: > > nwid tsunami wpakey > dhcp > inet6 autoconf > !pkill -9 -lf

Re: bsd.rd from May 31 fails to load the firmware for iwm-7265-16

2016-06-05 Thread Stefan Sperling
On Sun, Jun 05, 2016 at 01:26:41PM +0200, Remi Locherer wrote: > On Sun, Jun 05, 2016 at 09:48:47AM +0200, Stefan Sperling wrote: > > On Sat, Jun 04, 2016 at 11:16:32PM +0200, Remi Locherer wrote: > > > On my installation the upgrade process looks like this (snapshot bsd.r

Re: bsd.rd from May 31 fails to load the firmware for iwm-7265-16

2016-06-06 Thread Stefan Sperling
On Mon, Jun 06, 2016 at 02:15:35PM +0200, Remi Locherer wrote: > Today I built a bsd.rd with IWM_DEBUG. Now the iwm0 works as expected. This indicates there is a race condition bug which is avoided by the additional time spent on printing data to the console.

Re: bsd.rd from May 31 fails to load the firmware for iwm-7265-16

2016-06-03 Thread Stefan Sperling
On Thu, Jun 02, 2016 at 11:04:48PM +0200, Remi Locherer wrote: > On Thu, Jun 02, 2016 at 08:23:24PM +0200, Stefan Sperling wrote: > > On Wed, Jun 01, 2016 at 11:12:25PM +0200, Remi Locherer wrote: > > > >Synopsis:bsd.rd from May 31 fails to load the firmware fo

Re: bsd.rd from May 31 fails to load the firmware for iwm-7265-16

2016-06-02 Thread Stefan Sperling
On Wed, Jun 01, 2016 at 11:12:25PM +0200, Remi Locherer wrote: > >Synopsis:bsd.rd from May 31 fails to load the firmware for iwm-7265-16 > >Category:kernel > >Environment: > System : OpenBSD 6.0 > Details : OpenBSD 6.0-beta (GENERIC.MP) #26: Wed May 25 07:34:23 > CEST

Re: Screen brightness is reset when changing from X to console

2016-05-29 Thread Stefan Sperling
On Sun, May 29, 2016 at 09:19:58PM +0200, Mark Kettenis wrote: > And I can't reproduce this on my x220. So either this issue depends on > specific BIOS revisions, or the description of how to reproduce the problem > is incomplete. I've been seeing it on my x201 for a while. Isn't this the same

Re: inet6 autoconf does not work with iwm(4) in -current

2016-05-29 Thread Stefan Sperling
On Sun, May 29, 2016 at 01:25:02PM +0100, Dimitris Papastamos wrote: > Hi all, > > I recently bought a Thinkpad x250 and just noticed that IPv6 stateless > autoconfiguraton is not working using iwm(4). It works if I use em(4) > instead. > > Not sure how this could be driver related. I have a

Re: bsd.rd from May 31 fails to load the firmware for iwm-7265-16

2016-06-22 Thread Stefan Sperling
On Wed, Jun 22, 2016 at 09:34:08PM +1200, Carlin Bingham wrote: > I've seen fatal iwm firmware errors the last couple of days, that I > think coincide with this going in, although I can't figure out how to > reproduce it to see if backing this out makes them go away. Just seems > to happen

Re: bsd.rd from May 31 fails to load the firmware for iwm-7265-16

2016-06-19 Thread Stefan Sperling
On Tue, Jun 07, 2016 at 01:10:34AM +0200, Theo Buehler wrote: > On Mon, Jun 06, 2016 at 03:09:34PM +0200, Stefan Sperling wrote: > > On Mon, Jun 06, 2016 at 02:15:35PM +0200, Remi Locherer wrote: > > > Today I built a bsd.rd with IWM_DEBUG. Now the iwm0 works as expected. >

Re: bsd.rd from May 31 fails to load the firmware for iwm-7265-16

2016-06-21 Thread Stefan Sperling
On Tue, Jun 21, 2016 at 08:13:25AM +0200, Remi Locherer wrote: > I noticed that this is allready commited. So I did cvs up and built a > new release (with r 1.89 of if_iwm.c). iwm0 now works fine in bsd.rd. > Thanks! > > Remi Great. Thanks for confirming!

Re: kernel panic when booting MP kernel

2016-01-13 Thread Stefan Sperling
On Wed, Jan 13, 2016 at 03:29:24PM +0200, Timo Myyrä wrote: > Stefan Sperling <s...@stsp.name> writes: > > > On Wed, Jan 13, 2016 at 01:30:39PM +0200, timo.my...@wickedbsd.net wrote: > > > >> >Synopsis: kernel panic when booting MP kernel, SP works >

Re: ral(4) leaks mbufs instead of setting oactive

2016-02-06 Thread Stefan Sperling
On Wed, Feb 03, 2016 at 04:41:34PM +1300, Richard Procter wrote: > > On Tue, 2 Feb 2016, Stefan Sperling wrote: > > > On Sat, Jan 30, 2016 at 10:49:38PM +1300, Richard Procter wrote: > > > - ring->queued--; > > > + atomic_dec_int(&

Re: softraid panics

2016-02-13 Thread Stefan Sperling
On Sat, Feb 13, 2016 at 03:42:16PM +1100, Jonathan Gray wrote: > On Fri, Feb 12, 2016 at 11:07:35AM -0500, Johan Huldtgren wrote: > > uvm_fault(0x8193f240, 0x38, 0, 1) -> e > > kernel: page fault trap, code=0 > > Stopped at sr_validate_io+0x36:movl0x38(%r9),%r10d > > ddb{1}>

Re: ral(4) leaks mbufs instead of setting oactive

2016-02-02 Thread Stefan Sperling
On Sat, Jan 30, 2016 at 10:49:38PM +1300, Richard Procter wrote: > - ring->queued--; > + atomic_dec_int(>queued); > - ring->queued += ntxds; > + atomic_add_int(>queued, ntxds); I don't think these make a difference in the current way of things. Wireless drivers

Re: ral(4) leaks mbufs instead of setting oactive

2016-02-02 Thread Stefan Sperling
On Tue, Feb 02, 2016 at 09:14:06AM +0100, Stefan Sperling wrote: > On Sat, Jan 30, 2016 at 10:49:38PM +1300, Richard Procter wrote: > > + atomic_add_int(>queued, ntxds); > > + /* XXX card may interrupt here and invalidate this guard; the > > You can easi

no root disk with GENERIC on adi rcc-ve board

2016-03-11 Thread Stefan Sperling
Install with bsd.rd works fine. The installed system can't find the root disk (emmc flash on usb) because: ehci_sync_hc: tsleep() = 35 ehci_sync_hc: tsleep() = 35 ehci_sync_hc: tsleep() = 35 ehci_sync_hc: tsleep() = 35 ehci_sync_hc: tsleep() = 35 ehci_sync_hc: tsleep() = 35 ehci_sync_hc:

Re: no root disk with GENERIC on adi rcc-ve board

2016-03-12 Thread Stefan Sperling
On Fri, Mar 11, 2016 at 11:56:41AM -0700, Theo de Raadt wrote: > > But what we really should do the SMBALERT# dance of reading the Alert > > Response Address, which will make sure the device de-asserts the > > SMBALERT# line. > > Ah, I did not check the spec. That sounds very reasonable... I've

Re: no root disk with GENERIC on adi rcc-ve board

2016-03-12 Thread Stefan Sperling
On Sat, Mar 12, 2016 at 02:19:49PM +0100, Stefan Sperling wrote: > On Fri, Mar 11, 2016 at 11:56:41AM -0700, Theo de Raadt wrote: > > > But what we really should do the SMBALERT# dance of reading the Alert > > > Response Address, which will make sure the device de-asserts the

Re: no root disk with GENERIC on adi rcc-ve board

2016-03-12 Thread Stefan Sperling
On Fri, Mar 11, 2016 at 08:08:14PM +0100, Martin Pieuchot wrote: > But taking a step back, why is the SMBALERT firing constantly on your > system, what does that mean? If it is always on when you have a USB > interrupt then this really smells like the symptom of something else. > > But if we're

Re: no root disk with GENERIC on adi rcc-ve board

2016-03-11 Thread Stefan Sperling
On Fri, Mar 11, 2016 at 02:47:08PM +0100, Stefan Sperling wrote: > Ignoring it in ichiic, an indicating that we didn't handle it, > allows OpenBSD to boot: > > Index: ichiic.c > === > RCS file: /cvs/src/sys/

Re: no root disk with GENERIC on adi rcc-ve board

2016-03-12 Thread Stefan Sperling
On Sat, Mar 12, 2016 at 07:57:16PM +0100, Mark Kettenis wrote: > Simply ignoring the SMBALERT_STS bit, like your latest diff does, is a > bit dangerous. It seems that on later generations of the controller > there is a SMBALERT_DIS bit in the SLV_CMD register that determines > whether

Re: no root disk with GENERIC on adi rcc-ve board

2016-03-12 Thread Stefan Sperling
On Sat, Mar 12, 2016 at 02:19:49PM +0100, Stefan Sperling wrote: > I now prefer this diff. I can make additional code cleanups in this driver > in separate commits. But this is enough to fix the problem and matches what > FreeBSD (dev/ichsmb) and Linux (drivers/i2c/busses/i2c-i

Re: no root disk with GENERIC on adi rcc-ve board

2016-03-11 Thread Stefan Sperling
On Fri, Mar 11, 2016 at 11:34:11AM +0100, Stefan Sperling wrote: > Install with bsd.rd works fine. > > The installed system can't find the root disk (emmc flash on usb) because: > > ehci_sync_hc: tsleep() = 35 > ehci_sync_hc: tsleep() = 35 > ehci_sync_hc: tsleep() = 35 &

Re: no root disk with GENERIC on adi rcc-ve board

2016-03-11 Thread Stefan Sperling
On Fri, Mar 11, 2016 at 02:58:12PM +0100, Stefan Sperling wrote: > Here's another suggestion which doesn't impact the code path for > other interrupts. Fixes the problem just as well. This also helps -- all ideas in here from deraadt@. It's better than my other diffs, but we're not entirel

Re: FETCH_PACKAGES=Yes does not work when quirks is installed

2016-04-12 Thread Stefan Sperling
On Tue, Apr 12, 2016 at 05:38:59PM +0200, Martin Pieuchot wrote: > stsp@ told me that FETCH_PACKAGES=Yes was not totally broken, I just > have to manually do "# pkg_delete quirks" every time I want to build > a port: > > $ cd /usr/ports/www/mozilla-firefox && make > ===> firefox-45.0.1 depends

Re: FETCH_PACKAGES=Yes does not work when quirks is installed

2016-04-12 Thread Stefan Sperling
On Tue, Apr 12, 2016 at 05:45:39PM +0200, Stefan Sperling wrote: > FWIW, this will show you the error message: And, as far as I remember, removing any quirks packages from /usr/ports/packages/`uname -m`/cache works around the problem, too.

Re: kernel PPP doesn't set IP address on PPPOE interface from IPV6CP

2016-03-23 Thread Stefan Sperling
On Wed, Mar 23, 2016 at 01:15:03PM +0900, Tranchemer Stephane wrote: > So, I do have PPPoE session, I do have connectivity, problem is that no IPv6 > is given to the pppoe1 interface (except the local-link of course) and no > information is given about the gateway. > from what I could understand,

Re: kernel PPP doesn't set IP address on PPPOE interface from IPV6CP

2016-03-23 Thread Stefan Sperling
On Wed, Mar 23, 2016 at 09:40:24PM +0900, stephane Tranchemer wrote: > So the connection should be fine, problem is how to get gateway information > on the hosts behind the router... > FYI, I have a /56 class assigned. So it sounds like this should work: Make sure your router can ping the IPv6

Re: kernel PPP doesn't set IP address on PPPOE interface from IPV6CP

2016-03-23 Thread Stefan Sperling
On Wed, Mar 23, 2016 at 02:07:32PM +0100, Stefan Sperling wrote: > Make sure your router can ping the IPv6 interface across its pppoe1 Correction: This should have said "IPv6 internet" not "IPv6 interface".

Re: athn PCI card (AR9281) AP not found by scan on some devices

2016-03-07 Thread Stefan Sperling
On Mon, Mar 07, 2016 at 09:06:12AM +0200, cho...@jtan.com wrote: > I've been poking at it (and little more than poking in ignorance) and a > few more symptoms have cropped up: > > * If I include any chan setting in hostname.athn0 and reboot, I can't > set the chan at runtime to anything between

Re: athn PCI card (AR9281) AP not found by scan on some devices

2016-03-07 Thread Stefan Sperling
On Sun, Mar 06, 2016 at 10:22:17PM +0200, cho...@jtan.com wrote: > >Description: > /etc/hostname.athn0 contains: > inet 192.168.42.1 255.255.255.0 > mediaopt hostap chan 56 > nwid Testies > wpakey insecure Note that setting an address puts the interface UP implicitly. So you'll want to

Re: athn PCI card (AR9281) AP not found by scan on some devices

2016-03-06 Thread Stefan Sperling
On Sun, Mar 06, 2016 at 10:22:17PM +0200, cho...@jtan.com wrote: > >Synopsis:athn PCI card (AR9281) AP not found by scan on some devices > >Category:wifi driver? > >Environment: > System : OpenBSD 5.8 > Details : OpenBSD 5.8 (GENERIC) #1170: Sun Aug 16 02:26:00 MDT

Re: athn PCI card (AR9281) AP not found by scan on some devices

2016-03-07 Thread Stefan Sperling
On Mon, Mar 07, 2016 at 03:12:33PM +0200, cho...@jtan.com wrote: > Note that I got the order of configuration lines directly from athn(4) > and some other wireless driver manpages also have examples with inet > lines prior to media settings. I"ve fixed this in CVS, thanks.

gnome-shell segfaults in Mesa on startup (OpenBSD 5.9)

2016-04-01 Thread Stefan Sperling
>Synopsis: gnome-shell segfaults in Mesa on startup >Environment: System : OpenBSD 5.9 Details : OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Re: gnome-shell segfaults in Mesa on startup (OpenBSD 5.9)

2016-04-05 Thread Stefan Sperling
On Fri, Apr 01, 2016 at 09:58:57PM +0200, Mark Kettenis wrote: > Can you compile libGL with debug info? (gdb) run Starting program: /usr/local/bin/gnome-shell Program received signal SIGSEGV, Segmentation fault. 0x09e116f930b3 in ?? () (gdb) bt #0 0x09e116f930b3 in ?? () #1

Re: sparc64 reproducable panic on 5.9

2016-03-30 Thread Stefan Sperling
On Wed, Mar 30, 2016 at 07:54:31AM +0100, Fred wrote: > This looks similar to the issues in this thread: > > http://marc.info/?t=14346611501 > > I'm not sure a definative solution was found - but having dc nic's was part > of the issue. It's not driver dependent. On my blade100 a similar

Re: sparc64 ntpd panic crash

2016-05-19 Thread Stefan Sperling
On Fri, May 20, 2016 at 02:27:49AM +0100, Stuart Henderson wrote: > On 2016/05/19 18:15, rick...@nym.hush.com wrote: > > Info in file, comment at top. Includes trace, ps, dmesg. > > > > Very reproducable. I'm willing to provide more info if requested. > > > > Kind regards, > > Rick > >

Re: iwm0: unhandled firmware response 0x7e/0xe0000004 rx ring 9[23]

2016-05-21 Thread Stefan Sperling
On Sat, May 21, 2016 at 01:10:13PM +0200, pe...@bsdly.net wrote: > >Synopsis:iwm0: unhandled firmware response 0x7e/0xe004 rx ring 9[23] > >followed by fatal firmware error, link loss > >Category:firmware / driver bug > >Environment: > System : OpenBSD 6.0 > Details

Re: iwm0: unhandled firmware response 0x7e/0xe0000004 rx ring 9[23]

2016-05-21 Thread Stefan Sperling
On Sat, May 21, 2016 at 04:04:35PM +0200, Peter N. M. Hansteen wrote: > The main reason I reported this was that I also had an episode of lost > link for long enough for me to notice for the first time in quite a > while. Again, could be unrelated. Did your AP decide to switch channels when this

Re: iwm0: unhandled firmware response 0x7e/0xe0000004 rx ring 9[23]

2016-05-23 Thread Stefan Sperling
On Sun, May 22, 2016 at 12:43:41PM -0500, Ira Taylor wrote: > I am having issues with wifi also, mine connection keeps dropping. Could you take some time to add more details to your problem report? What are you running exactly? Could you post a dmesg? Under which conditions does the connection

Re: iwm0: unhandled firmware response 0x7e/0xe0000004 rx ring 9[23]

2016-05-25 Thread Stefan Sperling
On Mon, May 23, 2016 at 12:24:03PM -0500, Ira Taylor wrote: > iwm0: unhandled firmware response 0x7e/0xe004 rx ring 9[23] This message shows you were running a snapshot with a known bug. The bug is not related to this message; this message is just a debug message which my code triggered by

Re: wireless USB adapter firmware could not be loaded on an APU1D board.

2016-05-25 Thread Stefan Sperling
On Wed, May 25, 2016 at 01:23:32AM +0200, Quentin Bourgeois wrote: > >Synopsis: wireless USB adapter firmware could not be loaded on > an APU1D board. > >Category: > >Environment: > System : OpenBSD 5.9 > Details : OpenBSD 5.9 (GENERIC.MP) #1888:

Re: iwm0: unhandled firmware response 0x7e/0xe0000004 rx ring 9[23]

2016-05-25 Thread Stefan Sperling
On Wed, May 25, 2016 at 11:19:22AM +0200, Stefan Sperling wrote: > A better diff was posted here: > http://marc.info/?l=openbsd-tech=146384048501213=raw > Can you please try this? This is now committed so upcoming snaps should include it. Let me know how it works out. Thanks.

Re: relayd: http protocol not supporting some http methods

2016-07-27 Thread Stefan Sperling
On Wed, Jul 27, 2016 at 09:55:24AM +0200, Paul Fariello wrote: > Do you know which http method svn is using ? See https://svn.apache.org/repos/asf/subversion/trunk/notes/http-and-webdav

Re: kernel panic from if_em.c

2016-07-25 Thread Stefan Sperling
On Mon, Jul 25, 2016 at 10:17:28AM -0400, Jay Reffner wrote: > >Synopsis: System panics after several weeks of runtime > >Category: kernel > >Environment: > System : OpenBSD 5.9 > Details : OpenBSD 5.9 (GENERIC.MP) #1: Tue Jun 7 11:50:36 EDT > 2016 > >

Re: Wifi TEW-649UB RSU(4) problem

2016-07-26 Thread Stefan Sperling
On Tue, Jul 26, 2016 at 09:26:47AM -0500, Jake Swensen wrote: > Hello, > > My name is Jake Swensen and I would appreciate any help with using the > rsu wireless network adapter driver. > > My friend's RTL8187L 802.11g USB wifi adapter works well (with the urtw > driver) on my laptop with OpenBSD

Re: iwm0: unhandled firmware response

2016-07-05 Thread Stefan Sperling
On Tue, Jul 05, 2016 at 06:22:00PM +0100, Dimitris Papastamos wrote: > Hi, > > I am have some issues with iwm(4). I think this started happening > around the 22nd-23rd of June. > > I cannot reproduce it very easily but it seems to trigger during > a large download (3-4GB or so). > > Anything I

Re: iwm: fatal firmware error

2016-08-07 Thread Stefan Sperling
On Tue, Aug 02, 2016 at 07:42:16PM +0200, Guillermo Bernaldo de Quiros Maraver wrote: > Hi, goord afternoon. > > I have a similar problem. Sometimes I get the message "iwm0: fatal firmware > error" and then, I have to restart the network interface doing sh > /etc/netstart. But most of the time,

Re: iwm: fatal firmware error

2016-08-08 Thread Stefan Sperling
On Mon, Aug 08, 2016 at 05:57:45AM +0200, Guillermo Bernaldo de Quiros Maraver wrote: > OK Stefan, thank you so much. > > I've seen that the file if_iwm.c has declared the variable iwm_debug which > prints more information depending on the level you set on that variable. If > you want, I can set

Re: IPv6 link-local not working on gre(4) since 5.9

2016-06-29 Thread Stefan Sperling
On Wed, Jun 29, 2016 at 05:06:10PM +0200, Martin Pieuchot wrote: > On 29/06/16(Wed) 14:55, Michael Lechtermann wrote: > > > Could you please include the output of: > > > > > > "# ifconfig" and > > > "# route -n show" ? > > > > > > > Host 2 (OpenBSD 6.0-beta) #1837, June 28th: > > Thanks,

Re: tail(1) issue with large numbers

2017-01-31 Thread Stefan Sperling
On Tue, Jan 31, 2017 at 03:36:21PM +0300, Soner Tari wrote: > >Synopsis: With large line numbers, tail(1) makes the system unusable. > >Category: system > >Environment: > System  : OpenBSD 6.0 > Details : OpenBSD 6.0 (GENERIC) #2148: Tue Jul 26 12:55:20 > MDT 2016 >

Re: tail(1) issue with large numbers

2017-02-01 Thread Stefan Sperling
On Wed, Feb 01, 2017 at 03:25:30PM +0100, Stefan Sperling wrote: > On Tue, Jan 31, 2017 at 04:22:24PM +0100, Martijn van Duren wrote: > > Here's a patch to allocate memory in chunks of 1024. > > This value arbitrarily chosen. > > > > It still won't save you if your i

  1   2   3   4   5   >