Re: Virtio drivers for OpenBSD

2012-07-12 Thread Jiri B
On Thu, Jul 12, 2012 at 11:02:54AM +0200, Stefan Fritsch wrote: On Wed, 11 Jul 2012, Matthew Dempsky wrote: There are quite a few pretendy-SCSI drivers in the tree, but most of them deal with fairly complicated hardware so they're not good reference points. sparc64's vdsk(4) driver is

Re: Virtio drivers for OpenBSD

2012-07-12 Thread Stefan Fritsch
On Thu, 12 Jul 2012, Jiri B wrote: On Thu, Jul 12, 2012 at 11:02:54AM +0200, Stefan Fritsch wrote: On Wed, 11 Jul 2012, Matthew Dempsky wrote: There are quite a few pretendy-SCSI drivers in the tree, but most of them deal with fairly complicated hardware so they're not good reference points.

Hibernate enabled for i386

2012-07-12 Thread Mike Larkin
Hibernate (suspend-to-disk) is enabled in -current for i386+wd configurations. You'll see a bunch of disk activity as the pages are written out after 'ZZZ'. On resume, a full kernel boot is performed, at which point (at the very end), the hibernated image is read back from disk (more disk I/O)

Re: Virtio drivers for OpenBSD

2012-07-12 Thread Mark Kettenis
Date: Wed, 11 Jul 2012 08:34:44 -0700 From: Matthew Dempsky matt...@dempsky.org On Wed, Jul 11, 2012 at 8:28 AM, Stefan Fritsch s...@sfritsch.de wrote: There is a virtio-scsi device, too, but this is only supported in very recent versions of qemu. To attach the simpler virtio-block device

Re: Virtio drivers for OpenBSD

2012-07-12 Thread Stuart Henderson
On 2012/07/11 13:01, Matthew Dempsky wrote: Are you able to configure VMWare to emulate a different mpi(4) device? E.g., one that uses SAS or FC instead? Do you use the 53c1030 with Linux too? Yes, dmesg below from a VM with one of each type of emulated mpi(4). Note the lack of scsibus

Re: ftp mput recursiv upload diff for testing

2012-07-12 Thread Alexander Bluhm
Comments inline: On Mon, Jul 09, 2012 at 02:04:27PM +0200, Jan Klemkow wrote: Index: cmds.c === RCS file: /cvs/src/usr.bin/ftp/cmds.c,v retrieving revision 1.70 diff -u -p -r1.70 cmds.c --- cmds.c5 May 2009 19:35:30 -

Re: mask support for ethernet bridge filtering

2012-07-12 Thread sven falempin
Inline diff 2012/7/3 sven falempin sven.falem...@gmail.com This diff enables the possibilty of using a mask on bridges rules. I have test it like this : $ cat /etc/hostname.bridge0 up add re0 add vether0 rule pass out on vether0 src 78:2b:4f:00:00:00 mask ff:ff:ff:00:00:00 tag booz

make net80211_input be nice to soekris

2012-07-12 Thread Stefan Sperling
Running ifconfig ral0 debug down up can leave slow systems, such as edd@'s soekris, with an unusable wireless interface until reboot. The net80211 layer will run a scan when the interface comes up. The scan hops from channel to channel every 200msec. This hopping is controlled via a timeout

make acpiec _GLK aware

2012-07-12 Thread Paul Irofti
This is a preparation diff making acpiec(4) global lock aware. Others will build on it when doing reads and writes. Okay? Index: acpiec.c === RCS file: /cvs/src/sys/dev/acpi/acpiec.c,v retrieving revision 1.45 diff -u -p -r1.45

Re: make acpiec _GLK aware

2012-07-12 Thread Matthew Dempsky
On Thu, Jul 12, 2012 at 9:48 AM, Paul Irofti p...@irofti.net wrote: + if (aml_evalname(sc-sc_acpi, sc-sc_devnode, _GLK, 0, NULL, res)) + sc-sc_glk = 0; + if (res.type != AML_OBJTYPE_INTEGER) + sc-sc_glk = 0; + else + sc-sc_glk =

Re: make acpiec _GLK aware

2012-07-12 Thread Mark Kettenis
Date: Thu, 12 Jul 2012 19:48:33 +0300 From: Paul Irofti p...@irofti.net This is a preparation diff making acpiec(4) global lock aware. Others will build on it when doing reads and writes. Okay? Makes sense to me, except for: Index: acpidev.h

Re: make acpiec _GLK aware

2012-07-12 Thread Mark Kettenis
Date: Thu, 12 Jul 2012 19:46:27 +0200 (CEST) From: Mark Kettenis mark.kette...@xs4all.nl With that change this is ok kettenis@ Except for the thing that matthwe@ pointed out of course.

Re: fun with libtool for masochistic guys

2012-07-12 Thread Joerg Sonnenberger
On Thu, Jul 12, 2012 at 12:33:18AM +0200, Marc Espie wrote: On Wed, Jul 11, 2012 at 11:24:37PM +0200, Joerg Sonnenberger wrote: On Wed, Jul 11, 2012 at 03:13:19PM +0200, Marc Espie wrote: On Wed, Jul 11, 2012 at 01:08:43PM +0200, Joerg Sonnenberger wrote: On Wed, Jul 11, 2012 at

Re: ncheck_ffs DUID support

2012-07-12 Thread Alexander Hall
On 07/11/12 23:43, Jan Stary wrote: On Jul 11 19:18:21, Alexander Hall wrote: This adds DUID support to ncheck_ffs. Testers? ok? This indeed enables ncheck_ffs for DUIDs, but breaks ncheck_ffs for /dev/wd0x My fstab says 5d2ade1fc5a8d569.n /tmp ffs rw,softdep,nodev,nosuid 1

Re: Virtio drivers for OpenBSD

2012-07-12 Thread Jiri B
On Wed, Jul 11, 2012 at 01:01:03PM -0700, Matthew Dempsky wrote: I'm not terribly familiar with mpi(4), but I see it has code to call scsi_req_probe() if it receives a MPI_EVT_SASCH_REASON_ADDED or MPI_EVT_SASCH_REASON_NO_PERSIST_ADDED event from the adapter controller. However, it appears to

Re: ftp mput recursiv upload diff for testing

2012-07-12 Thread Jan Klemkow
I fixed the most things. It took me a while to figure out what that code does, so I think the comments are usefull for everybody who tries to read it. The file type information comes from this special remglob2() function. There is no equivalent thing in the context of mput(). So I check the