Re: minphys woes

2014-08-28 Thread David Gwynne
is it something msdos isnt doing that ffs does? On 29 Aug 2014, at 15:55, Stefan Fritsch wrote: > On Friday 29 August 2014 10:34:20, David Gwynne wrote: >> are you expecting minphys to appear in that backtrace? > > > No. In that trace minphys should have limited the transfer size and I > had

Re: newfs.8

2014-08-28 Thread Jason McIntyre
On Fri, Aug 29, 2014 at 12:13:58AM -0400, Navan Carson wrote: > disklabel is not required for mount_mfs > > Index: newfs.8 > === > RCS file: /cvs/src/sbin/newfs/newfs.8,v > retrieving revision 1.70 > diff -u -p -r1.70 newfs.8 > --- ne

Re: minphys woes

2014-08-28 Thread Stefan Fritsch
On Friday 29 August 2014 10:34:20, David Gwynne wrote: > are you expecting minphys to appear in that backtrace? No. In that trace minphys should have limited the transfer size and I had put an KASSERT() into vioblk_scsi_cmd() which verified that xs- >datalen is not larger than that limit. A call

newfs.8

2014-08-28 Thread Navan Carson
disklabel is not required for mount_mfs Index: newfs.8 === RCS file: /cvs/src/sbin/newfs/newfs.8,v retrieving revision 1.70 diff -u -p -r1.70 newfs.8 --- newfs.8 23 May 2011 10:56:17 - 1.70 +++ newfs.8 29 Aug 2014 04:

Re: minphys woes

2014-08-28 Thread David Gwynne
are you expecting minphys to appear in that backtrace? On 29 Aug 2014, at 5:07, Stefan Fritsch wrote: > Hi, > > while debugging some problems on a virtio host that supports only few dma > segments per request, I noticed that the minphys function is not called in > all code paths. It is only u

Re: bge(4) Jumbo support for newer chipsets

2014-08-28 Thread David Gwynne
On 28 Aug 2014, at 11:05 pm, Mike Belopuhov wrote: > On 28 August 2014 12:32, David Gwynne wrote: >> >> On 28 Aug 2014, at 3:02 am, Mike Belopuhov wrote: >> >>> On 27 August 2014 08:25, Brad Smith wrote: Looking for some testing of the following diff to add Jumbo support for the B

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Alexander Hall
On 08/28/14 23:06, Paul de Weerd wrote: On Thu, Aug 28, 2014 at 06:27:48PM +, Miod Vallat wrote: | > >Which is why the current way to remove softdep from a filesystem is a | > >rw+softdep -> ro -> rw transition, which would no longer work with your | > >diff. | > | > It would work, but you'd

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Paul de Weerd
On Thu, Aug 28, 2014 at 06:27:48PM +, Miod Vallat wrote: | > >Which is why the current way to remove softdep from a filesystem is a | > >rw+softdep -> ro -> rw transition, which would no longer work with your | > >diff. | > | > It would work, but you'd have to explicitly disable softdep, as on

minphys woes

2014-08-28 Thread Stefan Fritsch
Hi, while debugging some problems on a virtio host that supports only few dma segments per request, I noticed that the minphys function is not called in all code paths. It is only used for physio but not for other (cached) disk operations. An example trace is below. Am I missing something or i

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Miod Vallat
> >Which is why the current way to remove softdep from a filesystem is a > >rw+softdep -> ro -> rw transition, which would no longer work with your > >diff. > > It would work, but you'd have to explicitly disable softdep, as one might > expect to be required when removing softdep: Oh, indeed. Th

Re: dlopen after dlclose crash

2014-08-28 Thread Henri Kemppainen
> > The issue is the change in ld.so/library_subr.c rev 1.34. If you back that > > change out, the crash disappears. > > > > The problem is that no one makes changes to the linkages inside ld.so out > > of boredom: there was some previous program that crashed without that > > change, but the detai

sysmerge w/ local sets

2014-08-28 Thread RD Thrush
sysmerge hangs while fetching the SHA256.sig file when working with local sets, ie.: #export SM_PATH=/nas2/public/OpenBSD/snapshots/amd64 #cd $SM_PATH #ls -l SHA256.sig xetc56.tgz -rw-r--r-- 1 rd rd 1977 Aug 26 23:39 SHA256.sig -rw-r--r-- 1 rd rd 69066 Aug 6 16:10 xetc56.tgz #sysmerge -bd

Re: bge(4) Jumbo support for newer chipsets

2014-08-28 Thread Mike Belopuhov
On 28 August 2014 12:32, David Gwynne wrote: > > On 28 Aug 2014, at 3:02 am, Mike Belopuhov wrote: > >> On 27 August 2014 08:25, Brad Smith wrote: >>> Looking for some testing of the following diff to add Jumbo support for the >>> BCM5714 / BCM5780 and BCM5717 / BCM5719 / BCM5720 / BCM57765 / BC

i386/isa/clock.c Y2K complexities

2014-08-28 Thread Boudewijn Dijkstra
Until we start to worry about Y2K1, does it really matter what the NVRAM_CENTURY byte says? --- /usr/src/sys/arch/i386/isa/clock.c.orig Mon May 6 02:15:11 2013 +++ /usr/src/sys/arch/i386/isa/clock.c Wed Aug 27 19:02:46 2014 @@ -502,85 +502,6 @@ static int timeset; /* - * check whethe

Re: bge(4) Jumbo support for newer chipsets

2014-08-28 Thread David Gwynne
On 28 Aug 2014, at 3:02 am, Mike Belopuhov wrote: > On 27 August 2014 08:25, Brad Smith wrote: >> Looking for some testing of the following diff to add Jumbo support for the >> BCM5714 / BCM5780 and BCM5717 / BCM5719 / BCM5720 / BCM57765 / BCM57766 >> chipsets. >> >> > > i have tested this o

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Boudewijn Dijkstra
Op Thu, 28 Aug 2014 11:51:32 +0200 schreef Miod Vallat : Because if we were to apply this diff, there would be no way to switch from rw+softdep to rw. That was already broken; rw->rw is not affected as per the enclosing if-block. Which is why the current way to remove softdep from a filesy

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Miod Vallat
Because if we were to apply this diff, there would be no way to switch from rw+softdep to rw. That was already broken; rw->rw is not affected as per the enclosing if-block. Which is why the current way to remove softdep from a filesystem is a rw+softdep -> ro -> rw transition, which would n

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Boudewijn Dijkstra
Op Wed, 27 Aug 2014 20:50:34 +0200 schreef Miod Vallat : Why not keep the softdep flag when updating rw->ro? E.g. via mount -ur /usr/obj fstab(5) already allows ro+softdep. Because if we were to apply this diff, there would be no way to switch from rw+softdep to rw. That was already broken; r

Re: Bug in gethostbyaddr and patch to solve

2014-08-28 Thread Eric Faurot
On Mon, Aug 25, 2014 at 10:39:59PM -0500, Vladimir Támara Patiño wrote: > Using tcpdump in a firewall with 5.5 (also happens with 5.4 and I guess with > current) and certain addres of the LAN I got always a segfault. > > It is a bug within the function gethostbyaddr. It can be reproduced with > t