Re: document 'machine boot' on i386/amd64

2013-11-08 Thread Tobias Weingartner
They found it... :) -Toby. On Wed, Nov 6, 2013 at 9:08 AM, Brynet wrote: > It seems boot(8) on i386/amd64 has an undocumented feature that is > occasionally handy. This adds a small blurb to the man pages for both > so that people can find it. > > -Bryan. > > Index: i386/stand/boot/boot.8 > ==

Re: Configure ttys and console.

2013-08-02 Thread Tobias Weingartner
A "single user shell" is the shell you get if you boot with the "-s" flag, not the way your system is usually running. -Toby. On Fri, Aug 2, 2013 at 9:02 AM, sven falempin wrote: > Hello, > > For obscure reason i would like to have a root shell with no login on the > com port. > I of course get

Re: Security and ignorance from the major ISPs

2013-02-16 Thread Tobias Weingartner
There is really only one know good firewall that works 100% of the time... -Toby.

Re: Pipe text from mg to external command

2012-03-29 Thread Tobias Weingartner
irrespective of all the talk going on here... :) -Toby.

Re: Scheduler improvements

2011-10-12 Thread Tobias Weingartner
I like what I see. It could be the start for the means of managing a single socket's queue of processes. You do mention that this won't really scale beyond roughly 8 cores. I would love to see you extend this with a 2D array of weights that can be populated by various means (run-time testing, or

Re: two minor carp and pfsync fixes

2011-06-22 Thread Tobias Weingartner
I'm sure you did. Did you test it with one patched and one not? -Toby. On Wed, Jun 22, 2011 at 1:37 AM, Stefan Rinkes wrote: > On Tue, Jun 21, 2011 at 9:42 PM, Tobias Weingartner wrote: >> On Tue, Jun 21, 2011 at 11:52 AM, Stefan Rinkes >> wrote: >>> >>&

Re: two minor carp and pfsync fixes

2011-06-21 Thread Tobias Weingartner
On Tue, Jun 21, 2011 at 11:52 AM, Stefan Rinkes wrote: > > while playing around with carp and pfsync I spotted > two minor bugs. > > 1. Not all pfstate flags are synced, cause pfsync uses >u_int8_t, while pf uses u_int16_t for state_flags. >Currently that means PFSTATE_SCRUB_TCP flags don'

Re: horribly slow fsck_ffs pass1 performance

2011-04-04 Thread Tobias Weingartner
On Saturday, April 2, Amit Kulkarni wrote: > > FreeBSD which is the origin of FFS does a > background fsck, and if Kirk McCusick feels so strongly I will do it > too. FreeBSD was not the origin of the FFS code. Background fsck in freebsd is mainly meant to reduce the amount of time it takes to g

Re: top, systat and hw.cpuspeed

2011-03-23 Thread Tobias Weingartner
On Wednesday, March 23, Amit Kulkarni wrote: > Never know what they can do. But the current max is 6 GHz by IBM for > any core, right? :) > > The majority of current hardware do per core frequency scaling (or > bursting), but hw.cpuspeed is reporting the BIOS CPU speed > (considering over and unde

Re: top, systat and hw.cpuspeed

2011-03-23 Thread Tobias Weingartner
On Wednesday, March 23, David Vasek wrote: > > As majority of current hardware use some form of dynamic CPU frequency > scaling and it is frequently controlled by ampd, wouldn't it be good to > have the current hw.cpuspeed displayed somewhere in the header lines of > systat(1) and top(1)? Just

Re: mfi(4): use 64-bit frames (unconditionally?)

2011-03-14 Thread Tobias Weingartner
On Monday, March 14, Jacob Meuser wrote: > > so, the question is, is the impact on i386 enough to warrant using > 32-bit frames on 32-bit platforms? if so, should this be decided > at runtime or compile time? > > any other thoughts? IMHO, simpler is better, and i386 may have PAE so more than 4G

Re: carp shutdown in /etc/rc

2011-02-04 Thread Tobias Weingartner
On Friday, February 4, Henning Brauer wrote: > > i don't think there is is special treatment for the carp group. but > memory is fuzzy. we might very well "forget" to clean up when a group > becomes empty. There is a bit of an inconsistency when it comes to 'ifconfig foo' style of the ifconfig co

Re: Allegations regarding OpenBSD IPSEC

2010-12-15 Thread Tobias Weingartner
On Wednesday, December 15, Kevin Chadwick wrote: > >The real work on OCF did not begin in earnest until February 2000. > > I can't see how this gives you credibility but maybe the people who > worked with you at the time can understand how your evidence supports > what you say. I've known Jason f

Re: better matching of boot devices on amd64

2010-12-06 Thread Tobias Weingartner
On Thursday, December 2, David Gwynne wrote: > the boot loader passes a variable that identifies the disk its > booting off made up of a bunch of fields like adapter, controller, > disk, and partition offsets, plus a table of all the disks it can > see which includes this id and a checksum. Unfort

Re: AES-GCM Part 1: AES-GCM implementation

2010-08-23 Thread Tobias Weingartner
Not sure if anyone has responded yet... been a while since I've actually had time to read any of these lists. :( Anyways, comments inline On Friday, August 20, Mike Belopuhov wrote: > > Index: crypto/cryptodev.h > === > RCS file: /

Re: cvsinfo

2010-07-13 Thread Tobias Weingartner
On Tuesday, July 13, Jonathan Gray wrote: > On Mon, Jul 12, 2010 at 09:32:30PM -0400, Ted Unangst wrote: > > To help investigate some changes recently, I wrote a tool that will > > extract (reverse) patches from cvs. I was telling a coworker about this > > today, and he said it was a lot like cv

Re: better cpu throttling

2010-06-30 Thread Tobias Weingartner
On Wednesday, June 30, Darrin Chandler wrote: > > What you're saying is true, but that's not the only use case. Streaming > media may not benefit from 100% cpu but may not be able to work properly > at 0%. The same goes for other common tasks as well. Running at 30% or > 50% will indeed save power

Re: [BUG] Fix int 0x15, e820 call

2010-06-24 Thread Tobias Weingartner
On Wednesday, June 23, Daniel Dickman wrote: > > Index: amd64/stand/libsa/memprobe.c > === > RCS file: /usr/cvs/src/sys/arch/amd64/stand/libsa/memprobe.c,v > retrieving revision 1.6 > diff -u -r1.6 memprobe.c > --- amd64/stand/libsa/m

Re: diff to add posix_madvise().

2010-04-25 Thread Tobias Weingartner
On Sunday, April 25, Brad wrote: > On Sat, Apr 24, 2010 at 08:52:25PM -0700, Philip Guenther wrote: > > On Sat, Apr 24, 2010 at 1:33 PM, Brad wrote: > > ... > > > I have updated the diff with your suggestions. > > > > Close: I think the #include of needs to be moved up in > > sys/mman.h so that

Re: Source Overview

2010-04-19 Thread Tobias Weingartner
On Monday, April 19, "Adam M. Dutko" wrote: > > 1) Are there areas that are easier for "relative newbies" to start in versus > other areas? I know this depends on a lot of things, to include experience. > Hypothetically, someone that has some C experience, but not a lot of kernel > (and subsyste

Re: Patch for boot for enabling gate A20 with BIOS

2010-03-01 Thread Tobias Weingartner
On Monday, March 1, Giuseppe Magnotta wrote: > > My question is, if this functionality is available in the BIOS, why > can't we use it? The problem is having a broken BIOS out there that simply hangs because you're calling something that it does not support. When this stuff was written, there we

Re: Patch for boot for enabling gate A20 with BIOS

2010-03-01 Thread Tobias Weingartner
On Monday, March 1, Giuseppe Magnotta wrote: > > +/* > + * Author: Giuseppe Magnotta While I applaud your efforts to send in patches, I do have a small niggle. Why do you feel the need to splatter your authorship all over the code in comments? Why not just add your name to the copyright statem

Re: enhancing i386 mbr.S

2010-02-20 Thread Tobias Weingartner
On Saturday, February 20, Kenneth R Westerback wrote: > > I vote with Ted. Booting, even the wrong partition, seems better to me > than not booting anything. The MBR is not really supposed to boot if it is corrupted. There are plenty of MBR codes out there that check for this condition, and will

Re: enhancing i386 mbr.S

2010-02-20 Thread Tobias Weingartner
On Saturday, February 20, Miod Vallat wrote: > > There's a huge difference between garbage in the mbr, and user error > causing two partitions to be marked as active. >From the point of view of the MBR, not really. They're both corruption. One just happens to be more likely to be survivable, bu

Re: enhancing i386 mbr.S

2010-02-20 Thread Tobias Weingartner
On Saturday, February 20, Ted Unangst wrote: > > Is this really an improvement? If I have two bootable partitions, at > least one of them will boot now, letting me fix the problem. If you > refuse to boot, now I need to dig around in my toy box for a floppy > drive or something before I can fix

Re: enhancing i386 mbr.S

2010-02-20 Thread Tobias Weingartner
I like it... for the most part. On Saturday, February 20, Giuseppe Magnotta wrote: > Index: mbr.S > === > RCS file: /cvs/src/sys/arch/i386/stand/mbr/mbr.S,v > retrieving revision 1.21 > diff -u -r1.21 mbr.S > --- mbr.S 25 Jun 2007

Re: enhancing i386 mbr.S

2010-02-20 Thread Tobias Weingartner
On Saturday, February 20, Giuseppe Magnotta wrote: > > The original source is "$OpenBSD: mbr.S,v 1.21 2007/06/25 14:10:17 tom > Exp $" fetched from 4.6 release. > > I hope this can be useful... > > Best Regards > > Giuseppe > > > The patch is: > > diff mbr.S.orig mbr.S: Ugh... please send '

Re: [PATCH] i386: Disable the Pentium3 (model 8) serial number

2009-11-01 Thread Tobias Weingartner
On Friday, October 30, Remco wrote: > I don't know if this is still relevant but I noticed that the Pentium III > processor serial number isn't disabled for model 8 processors. > (patch was tested on 4.6-STABLE) > > Index: sys/arch/i386/i386/machdep.c > ===