Re: [RFC][CFT] GEOM direct dispatch and fine-grained CAM locking

2013-09-16 Thread Marius Strobl
2 controller): Used for generating package with > poudriere? no probleme since; > - HAL/Fujitsu SPARC64-V (sparc64: r255178) with two SCSI-3 disks in > gmirror: Used for generating package with poudriere too? no probleme > since; For testing GEOM direct dispatch on sparc64, please additionally

Re: Replace bcopy() to update ether_addr

2012-08-21 Thread Marius Strobl
actually rather mixed experiences on x86 with it as the compiler doesn't necessarily produce the small and efficient one would expect from code it. Such a change certainly shouldn't be done just on the assumption that the compiler has all hints required to produce good code from it but

Re: Replace bcopy() to update ether_addr

2012-08-21 Thread Marius Strobl
bcopy() calls, for !__NO_STRICT_ALIGNMENT architectures these places probably should use memcpy() instead as bcopy() additionally has to check for overlap while the former does not. Overlaps unlikely are an issue in these cases and at least NetBSD apparently has done the switch to memcpy() 5.5

Re: Disabling ethernet link on an Intel nic?

2012-08-16 Thread Marius Strobl
ituations remotely avoiding having to visit the system in person. > > > > Any thoughts? We can modify the system so if it means modifying the driver > > or some other code, I am willing to try. Just need a little direction. > > Marius talked about doing this. Maybe it'

Re: [CFC/CFT] large changes in the loader(8) code

2012-07-16 Thread Marius Strobl
y indicated that on sparc64 we should rather look at the disk devices listed in the "boot-device" environment variable in order to mimic what Solaris does rather than trying to probe anything that might be a disk device, mimicking what the FreeBSD/i386 ZFS loader does. Maybe that's a

Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool

2012-05-01 Thread Marius Strobl
On Mon, Apr 30, 2012 at 10:04:17AM +0300, Andriy Gapon wrote: > on 29/04/2012 19:46 Marius Strobl said the following: > > Given that you certainly have a well better knowledge of ZFS, it > > would be great if we could do it the other way around, i.e. commit > > the sparc64 s

Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool

2012-04-29 Thread Marius Strobl
On Fri, Apr 27, 2012 at 12:06:08PM +0300, Andriy Gapon wrote: > on 23/04/2012 00:21 Marius Strobl said the following: > > On Sat, Apr 14, 2012 at 06:37:54PM +0300, Andriy Gapon wrote: > [snip] > >> I am particularly interested in reviews of my attempt to make ZFS boot &

Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool

2012-04-22 Thread Marius Strobl
implementation x86-specific is zfs_dev_init(). If you could move it to the MD part in the course of these patches that would be great. If you could also take the second patch in PR 165025 into account, which I plan to commit once the issue with the current ofw_disk.c are properly solved, that would

Re: Embedded switch instead of stadard PHY

2011-05-08 Thread Marius Strobl
On Sun, May 08, 2011 at 03:52:29PM +0200, Damjan Marion wrote: > > On May 8, 2011, at 3:16 PM, Marius Strobl wrote: > > > On Sat, May 07, 2011 at 07:22:23PM +0200, Damjan Marion wrote: > >> > >> Hi, > >> > >> > >> I would like

Re: Embedded switch instead of stadard PHY

2011-05-08 Thread Marius Strobl
the PHY registers from userland similar to what pci(4)/pciconf(8) allows, which is another thing I'd like to see in order to provide miitool-like functionality, one could also easily handle the port configuration from userland instead of putting everything into the kern

Re: Avoiding sysctl at program startup using ELF aux vector (was: concurrent sysctl implementation)

2010-08-16 Thread Marius Strobl
On Sat, Aug 14, 2010 at 05:32:25PM +0300, Kostik Belousov wrote: > On Sat, Aug 07, 2010 at 09:37:22PM +0200, Marius Strobl wrote: > > On Sat, Aug 07, 2010 at 09:09:04PM +0300, Kostik Belousov wrote: > > > On Sat, Aug 07, 2010 at 03:59:39PM +0200, Marius Strobl wrote: > >

Re: glabel "force sectorsize" patch

2010-08-08 Thread Marius Nünnerich
On Sun, Aug 8, 2010 at 21:08, Ivan Voras wrote: > On 8.8.2010 14:57, Marius Nünnerich wrote: >> On Sun, Aug 8, 2010 at 14:02, Ivan Voras wrote: > >>>>> This mechanism is a band-aid until there's a better way of dealing >>>>> with 4k drives. > &

Re: glabel "force sectorsize" patch

2010-08-08 Thread Marius Nünnerich
On Sun, Aug 8, 2010 at 14:02, Ivan Voras wrote: > On 8.8.2010 12:30, Pawel Jakub Dawidek wrote: >> On Sun, Aug 08, 2010 at 03:57:44AM +0200, Ivan Voras wrote: >>> Hi, >>> >>> In order to help users having 4k sector drives which the system >>> recognizes as 512 byte sector drives, I'm proposing a p

Re: Avoiding sysctl at program startup using ELF aux vector (was: concurrent sysctl implementation)

2010-08-07 Thread Marius Strobl
On Sat, Aug 07, 2010 at 09:09:04PM +0300, Kostik Belousov wrote: > On Sat, Aug 07, 2010 at 03:59:39PM +0200, Marius Strobl wrote: > > On Fri, Aug 06, 2010 at 02:11:31PM +0300, Kostik Belousov wrote: > > > On Fri, Aug 06, 2010 at 01:08:08PM +0200, Marius Strobl wrote: > >

Re: Avoiding sysctl at program startup using ELF aux vector (was: concurrent sysctl implementation)

2010-08-07 Thread Marius Strobl
On Fri, Aug 06, 2010 at 02:11:31PM +0300, Kostik Belousov wrote: > On Fri, Aug 06, 2010 at 01:08:08PM +0200, Marius Strobl wrote: > > On Fri, Aug 06, 2010 at 12:04:04PM +0300, Kostik Belousov wrote: > > > On Fri, Aug 06, 2010 at 07:06:33AM +0200, Jeremie Le Hen wro

Re: Avoiding sysctl at program startup using ELF aux vector (was: concurrent sysctl implementation)

2010-08-06 Thread Marius Strobl
stik Belousov wrote: > > > On Tue, Jun 29, 2010 at 10:26:39AM +0200, Marius Strobl wrote: > > > > On Mon, Jun 28, 2010 at 05:48:59PM +0300, Kostik Belousov wrote: > > > > > On Wed, Jun 23, 2010 at 11:09:59PM +0200, Jeremie Le Hen wrote: > > > > >

Re: Avoiding sysctl at program startup using ELF aux vector (was: concurrent sysctl implementation)

2010-06-29 Thread Marius Strobl
e), uid 0: exited on signal 11 Segmentation fault Jun 29 12:20:50 getty[36]: open /dev/ttyv3: No such file or directory <...> Unfortunately, I currently lack the time to debug this. Marius ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: How to troubleshoot why VirtualBox kernel module freezes the system?

2010-04-29 Thread Marius Nünnerich
On Wed, Apr 28, 2010 at 22:18, Yuri wrote: > VirtualBox kernel module (port emulators/virtualbox-ose-kmod) began to cause > system freezes from some kernel change around the end of January. > Once the system freezes it has to be rebooted. Soundcard, if it was playing > something, begins to cycle s

Re: ctfconvert dependency...

2010-03-11 Thread Marius Nünnerich
2010/3/11 "C. Bergström" : > Shrikanth Kamath wrote: >> >> Just trying to understand the build dependency for ctfconvert... >> >> I see ctfconvert (cddl/usr.bin/ctfconvert/)  has dependency on libctf.a >> (cddl/lib/libctf/) >> >> Now the snippet in bsd.lib.mk has this check for various target suffi

Re: ctfconvert dependency...

2010-03-11 Thread Marius Nünnerich
2010/3/11 "C. Bergström" : > Marius Nünnerich wrote: >> >> 2010/3/11 "C. Bergström" : >> >>> >>> Shrikanth Kamath wrote: >>> >>>> >>>> Just trying to understand the build dependency for ctfconvert... >

Re: ctfconvert dependency...

2010-03-11 Thread Marius Nünnerich
On Thu, Mar 11, 2010 at 10:26, Shrikanth Kamath wrote: > Any idea if ctfconvert is needed to run on the cddl and sys/cddl files? My > understanding here is ctfconvert > needs to build the ctfdata for the kernel image and the kernel loadable > modules. If we were to DTrace 'DTrace' then > we need t

Re: sx locks and memory barriers

2009-09-29 Thread Marius Nünnerich
On Tue, Sep 29, 2009 at 21:15, Attilio Rao wrote: > 2009/9/29 John Baldwin : >> On Tuesday 29 September 2009 11:39:37 am Attilio Rao wrote: >>> 2009/9/25 Fabio Checconi : >>> > Hi all, >>> >  looking at sys/sx.h I have some troubles understanding this comment: >>> > >>> >  * A note about memory ba

Re: How best to debug locking/scheduler problems

2009-06-16 Thread Marius Nünnerich
a while ago and it's really easy. Feel free to ask for more help. Kind regards Marius ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Clang: now available from a SVN server near you!

2009-06-04 Thread Marius Nünnerich
Thanks to the team for this! On Thu, Jun 4, 2009 at 11:38, Ed Schouten wrote: > Good news everyone! > > As I mentioned at BSDCan, I was going to import my FreeBSD+Clang branch > into SVN. Tuesday I finally had some time to do it, so here's the > result: > >        http://svn.freebsd.org/viewvc/ba

Re: Memory leak on thread removal

2009-05-16 Thread Marius Nünnerich
On Sat, May 16, 2009 at 19:05, Mikolaj Golub wrote: > > On Fri, 15 May 2009 13:48:51 +0200 Marius Nünnerich wrote: > >  MN> On Tue, May 12, 2009 at 08:27, Mikolaj Golub > wrote: >  >> Hi, >  >> >  >> The code below is compiled with -

Re: Memory leak on thread removal

2009-05-15 Thread Marius Nünnerich
On Tue, May 12, 2009 at 08:27, Mikolaj Golub wrote: > Hi, > > The code below is compiled with -fopenmp and run on FreeBSD6/7 (i386, amd64): > > #include > #include > > int n = 4, m = 2; > > int main () { >        for (;;) { >                int i; > >                //sleep(2); > #pragma omp par

Re: C99: Suggestions for style(9)

2009-05-01 Thread Marius Strobl
On Fri, May 01, 2009 at 01:37:23PM +0200, Christoph Mallon wrote: > Marius Strobl schrieb: > >On Sun, Apr 26, 2009 at 09:02:36AM +0200, Christoph Mallon wrote: > >>return with parentheses: > >>Removed, because it does not improve maintainability in any way. There >

Re: C99: Suggestions for style(9)

2009-05-01 Thread Marius Strobl
\ printf("returning from %s with %d\n", __func__, (x)); \ return (x); \ } while (0) Given the this is a nifty feature and parentheses around the return value don't hurt maintainability in any way I

Re: Question about adding flags to mmap system call / NVIDIA amd64 driver implementation

2009-04-28 Thread Marius Nünnerich
On Tue, Apr 28, 2009 at 22:19, Julian Bangert wrote: > Hello, > > I am currently trying to work a bit on the remaining "missing feature" that > NVIDIA requires ( http://wiki.freebsd.org/NvidiaFeatureRequests  or a back > post in this ML) -  the improved mmap system call. >  For now, I am trying to

Re: Debugging init process.

2009-03-11 Thread Marius Nünnerich
On Wed, Mar 11, 2009 at 08:51, Alexander Leidinger wrote: > Quoting Nate Eldredge (from Tue, 10 Mar 2009 > 19:02:16 -0700 (PDT)): > >> On Tue, 10 Mar 2009, vasanth raonaik wrote: >> >>> Hello Team, >>> >>> I need to debug init process. I am not able to attach init to gdb and it >>> throws >> >> A

Re: Syscons with xterm emulation: one step closer to UTF-8 support?

2008-12-09 Thread Marius Strobl
nts please take into account 12x22 fonts as framebuffers used on sparc64 have to be considered fixed mode and fonts smaller than the Sun default look really bad with these resolutions. Marius ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.

Re: Why safe using msleep with timeout=0 but not tsleep?

2008-12-08 Thread Marius Nünnerich
On Mon, Dec 8, 2008 at 9:17 PM, John Baldwin <[EMAIL PROTECTED]> wrote: > On Sunday 07 December 2008 02:00:30 pm Marius Nünnerich wrote: >> See subject. >> Interesting commit: >> http://svn.freebsd.org/viewvc/base?view=revision&revision=77059 > > Lost wak

Why safe using msleep with timeout=0 but not tsleep?

2008-12-07 Thread Marius Nünnerich
See subject. Interesting commit: http://svn.freebsd.org/viewvc/base?view=revision&revision=77059 - Marius ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to &qu

Re: the future of sun4v

2008-08-22 Thread Marius Strobl
ps Kip can explain some more about what things he looked at, but > the most serious bugs might be in pmap or perhaps trap handling. > Operationally, things like buildworld -jN die quickly with random > signals, kernel traps, etc. > > Kris > > P.S. It looks like marius has ma

Re: ATKBD_DFLT_KEYMAP kernel's options ???

2007-01-12 Thread Marius Strobl
ux(4) man page or just remove it from your kernel). {AT,SUN,U}KBD_DFLT_KEYMAP can't work with kbdmux(4) and so far kbdmux(4) doesn't implement something equivalent itself. Marius ___ freebsd-hackers@freebsd.org mailing list http://lists.freebs

Re: Duplicate inodes in 5.4-RELEASE-i386-disc1.iso

2005-06-23 Thread Marius Strobl
previous non-empty file. > > > >The attached patch will make mkisofs assign the lowest valid non-zero > >address to all empty files. They will therefore appear to be hard > >links to eachother, but not to random non-empty files. > > > >DES > > > >

Re: Kernel documentation and specification

2005-03-24 Thread Marius Nünnerich
e itself too while you > read. > Is there much difference to "The Design and Implementation of the 4.4BSD Operating System"? I have already read that, and don't know if the new book is just the same with a few parts updated? cheers Marius pgpCU0pnKoUfU.pgp Description: PGP signature

Re: kqueue, NOTE_EOF

2003-11-12 Thread marius aamodt eriksen
* Jason Thorpe <[EMAIL PROTECTED]> [031112 14:00]: > On Nov 12, 2003, at 10:57 AM, marius aamodt eriksen wrote: > > >right - the idea was to preserve existing semantics, while leaving the > >poll-like semantics optional. > > I'm not sure the "existing

Re: kqueue, NOTE_EOF

2003-11-12 Thread marius aamodt eriksen
* Jason Thorpe <[EMAIL PROTECTED]> [031112 13:54]: > On Nov 12, 2003, at 10:40 AM, marius aamodt eriksen wrote: > > >correct - this is the difference, kqueue will not yield any event at > >EOF. > > So, kqueue should simply be changed to report the event. I don&#x

Re: kqueue, NOTE_EOF

2003-11-12 Thread marius aamodt eriksen
, the event is always successful, so the process will not sleep on the kevent() call. in a preemptible kernel, there is a race between the EOF condition is determined and kevent() actually returns. semantically, in this case it makes sense to cancel the event (for which there is no infrastruc

kqueue, NOTE_EOF

2003-11-10 Thread marius aamodt eriksen
as well? i have discussed this with provos@, and we seem to agree this is a viable solution. thanks, marius. [1] http://monkey.org/~provos/libevent -- > [EMAIL PROTECTED] > http://monkey.org/~marius ___ [EMAIL PROTECTED] mailing list http://

Re: Intel PILA 8460B LAN adapter

2003-10-27 Thread Marius Strobl
On Mon, Oct 27, 2003 at 01:43:38PM +0400, Sergey V. Belov wrote: > On Mon, 27 Oct 2003 07:53:27 +0100 > Marius Strobl <[EMAIL PROTECTED]> wrote: > > > On Mon, Oct 27, 2003 at 01:09:25AM +0400, Sergey V. Belov wrote: > > > Hello all, > > > I had an experienc

Re: Intel PILA 8460B LAN adapter

2003-10-27 Thread Marius Strobl
On Mon, Oct 27, 2003 at 01:09:25AM +0400, Sergey V. Belov wrote: > Hello all, > I had an experience of install this LAN adapter on latest FreeBSD RELENG_4_8 > (4.8p13): > PILA 8460B \ EtherExpress PRO/100+ Server Adapter (PCI; TPE; 100 / 10 Mbps). > After install, this card has not been responsed;

Re: 5.0-RUSH: -current install testers wanted!

2002-10-22 Thread marius
On Tue, Oct 22, 2002 at 04:40:12PM -0400, Brian F. Feldman wrote: > For what it's worth; I'm also using a dual-Athlon that gets spontaneous > reboots once in a while and seems like it could possibly have to do with > ACPI activating while the system is trying to cool itself down. Do you have >

Re: 5.0-RUSH: -current install testers wanted!

2002-10-22 Thread marius
On Tue, Oct 22, 2002 at 10:39:32PM +0200, Poul-Henning Kamp wrote: > > That is intentional > Is it ok then that the sysinstall in /stand of the 0917-JPSNAP immediately dumps core with signal 10 when run on a 1017 -current ? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freeb

Re: 5.0-RUSH: -current install testers wanted!

2002-10-22 Thread marius
Is sysinstall still supposed to copy the contents of the mfsroot- image to /stand ? This at least results in two copies of sysinstall, one in /stand and the other one in /usr/sbin. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: 5.0-RUSH: -current install testers wanted!

2002-10-22 Thread marius
","SCSI CDROM drive", 15, 2, 8, 4 but: ls -la /dev/cd0c crw-r- 1 root operator 15, 0 Oct 22 19:02 /dev/cd0c At least the minor matches for acd0c. Marius To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

buffer cache question

2000-06-27 Thread Marius Bendiksen
I should ask. Marius To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: sys/ufs/ufs/ufs_quota.c

2000-06-25 Thread Marius Bendiksen
that any requrest with uid 0 should, at the moment, have Super powers anyway. Marius To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: sys/ufs/ufs/ufs_quota.c

2000-06-24 Thread Marius Bendiksen
you are checking for a particular user id. As such things as CAP_FOO become more common, the latter method is a quite unneccessary obstacle. Marius To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

sys/ufs/ufs/ufs_quota.c

2000-06-24 Thread Marius Bendiksen
any objections to changing this? --- Marius Bendiksen To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: CD-RW long filenames/rw filesystem.

2000-01-05 Thread Marius Bendiksen
y, but is there really much demand for this in a server OS? You can blank the CD-RW medium, with wormcontrol... - marius To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: linux and freebsd kernels conceptually different?

1999-06-11 Thread Marius Bendiksen
> > at it because the source tree is a consistently moving target. > s#moving#wreckless# s/wreckless/reckless/. wreckless is most certainly not true ;) - marius - To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message

Re: xl driver for 3Com

1999-06-02 Thread Marius Bendiksen
> Of course now that you've publically badmouthed us Im sure your requests > well get very high priority :-) This is very unprofessional. I hope I shall never have to order from your company, and will advice others of this as appropriate. - Marius - To Unsubscribe: send mai

Re: fsck and large file system

1999-05-12 Thread Marius Bendiksen
ht not the use of LFS improve this, or have I completely misunderstood the purpose of LFS? > We would like to treat this array as a single large disk, and was wondering > if anyone else had run into this situation, and had a work around. Sorry. - Marius - To Unsubscribe: send mail t

Re: Native Applixware for FreeBSD -- When?

1999-05-11 Thread Marius Bendiksen
Office handles these perfectly. I am by no means going to pay for anything two years in advance. - Marius - To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message

Re: Sockets and SYSTEM V message queue

1999-05-11 Thread Marius Bendiksen
isk is the source of this data). - Marius - To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message