Re: Driving 4k Display for OpenBSD Workstation

2016-07-23 Thread Nick Bender
I just got a 50" Vizio E50u-D2 working at 3840x2160 @60hz with my Macbook
Pro running an AMD Radeon R9 M370X. The TV was $570 at Costco and I needed
a mini display port to display port adaptor, a display port to HDMI
adapter, a Club3D Displayport 1.2 to HDMI 2.0 adapter and a high speed HDM
cable. Throw in SwitchResX to convince OS X to drive it at 60hz and I'm
under $650 total for 50" of 4K happiness.

So the hardware and adaptors are now in place for 4K on consumer TVs, not
sure about the software under OpenBSD...



On Fri, Jul 22, 2016 at 8:22 AM,  wrote:

> Thu, 21 Jul 2016 21:41:23 -0700 Bryan Vyhmeister 
> > On Fri, Jul 22, 2016 at 02:05:07PM +1000, Jonathan Gray wrote:
> > > There is no kernel support for skylake and it will require firmware.
> > > https://01.org/linuxgraphics/intel-linux-graphics-firmwares
> > >
> > > The intel code in Mesa does not use gallium or LLVM.
> > >
> > > Using efifb with a 4k display would likely be horribly slow due to the
> > > high number of pixels to push.
> >
> > I guess I will find out just how slow. I have two 4k monitors on the
> > way (the Dell P4317W and also an HP Z27s). Perhaps I will pick up some
> > more 30-inch 2560x1600 monitors for now. Thanks for all the info.
>
> 27" are less expensive, plus have all the better colour depth numbers, see:
>
> http://www.tftcentral.co.uk/articles/panel_parts_content_files/sheet008.htm
>
> You will see there are much less panels in the database above 27", which is
> another hint for you, on top of the ~100 DPI paper / book printing quality.
>
> > Short answer from user level: I'd personally get more 2560x1440 27" IPS
> > monitors for now, and use the excess budget for another set of the same.
> > You'd probably have to get a slightly older & cheaper video card (6450).
> > I know of no justification for a 5K monitor yet, though I want one too..



Re: OT: True hardware UNIX terminal

2016-04-04 Thread Nick Bender
Just a couple added memories.

Punched cards were my first experience with "copy/paste" - there was a
"duplicate card" key on the card machine which would create a duplicate of
the card you queued up in the input slot. Of course you could also
cut/paste just by moving the card :-).

Above the card reader at the computing center there was a very colorful
"beware the rubber bandito" sign to remind you to remove the rubber band
from your card deck :-)

I also remember the transition from 300 baud modems to 1200 baud modems
than made a full screen editor usable vs. the line editor that we used with
300 baud modems.

I wonder if any FORTRAN programmers out there remember the trick of putting
line numbers after column 72 so the card sort could sort your program back
into order when you dropped your card deck?

Finally I'll never get back the three days I spent finding the zero I had
mistakenly put in place of the letter O in my JCL at the front of the card
deck. Good times...

On Sun, Apr 3, 2016 at 10:31 PM, Dave Anderson 
wrote:

> On Mon, 4 Apr 2016, ropers wrote:
>
> On 4 April 2016 at 02:06, Adam Thompson  wrote:
>>
>> On 2016-04-01 11:07, ropers wrote:
>>>
>>> And if anyone has ever operated the OpenBSD installer via a teleprinter,
 I want to hear that story.


>>> I think there's still a first-generation TI Silent 700 somewhere in my
>>> parents' basement.  If, when they either die and/or move out to a
>>> seniors'
>>> residence prior to that certain event, I should run across it, and I can
>>> find a compatible telephone (acoustic handset coupler, remember!), and
>>> can
>>> find a compatible 300bps modem to dial into, and can find an
>>> honest-to-god
>>> POTS phone line (I expect this to be the hardest part) and can find a
>>> compatible system with a serial console that can be stepped down to
>>> 300bps,
>>> and the thermal paper is still viable, I'll do a fresh install just so I
>>> can mail you the ~3-4m of thermal paper I suspect that would generate.
>>> Would that be close enough for you?  :-)
>>>
>>>
>> YES! I'd be extremely honoured to receive something like that. But, I
>> think
>> there are probably more worthy recipients. Computer museums, even.
>>
>>
>> (Actually, it just occurred to me that I don't need the phone line as long
>>> as I can also find the old PENRIL modem that can start training on a
>>> front-panel button-press instead of a -90v ring signal.  Or maybe the
>>> local
>>> museum will have a 300bps acoustic-coupler modem I can borrow?)
>>>
>>>
>> Wikipedia currently says that at least some Silent 700s could be locally
>> connected:
>> https://en.wikipedia.org/wiki/Silent_700
>> Of course, that technically sort of takes away the tele- part from the
>> teleprinter (which is not to say that the device was now just a printer),
>> but I definitely think that an install to a locally attached teleprinter
>> counts. The key here is that it's monitorless, so not a glass terminal;
>> the
>> paper is the only place where you get to see output.
>>
>
> I love it, btw., that the Wikipedia article speaks of "the new high-speed
>> interactive computing environment" -- at 1200 baud. :)
>>
>
> That was advanced stuff.  I remember how pleased we were when we upgraded
> to blazingly fast 300 baud 'glass teletypes' from 110 baud KSR35 teletypes.
>
> Dave
>
>
> Those were days when actual interactive use of a computer was not unlike
>> getting telescope time at a major observatory -- and before time-sharing
>> allowed concurrent multi-user access, it must have been almost exactly
>> alike.
>> Like Woz said in the Youtube video I linked: "Your use on these company
>> computers, it was so far above us in value."
>>
>>
>> I vaguely recall once doing an OpenBSD install where the "console" path
>>> was:
>>> Local VT220 -> multiplexer -> modem -> DATAPAC 3101 (Canadian X.25
>>> service) PAD -> remote PAD -> remote dial-out service -> another modem ->
>>> another multiplexer -> serial line into, IIRC, ttyA on a Sun system I was
>>> helping someone repurpose.  The entire install completed successfully
>>> off a
>>> network boot in about an hour at 2400bps (*and* simultaneously 2400baud,
>>> all you pedants out there...).
>>>
>>>
>> Wow.
>>
>>
> --
> Dave Anderson
> 



Re: NAT reliability in light of recent checksum changes

2014-01-27 Thread Nick Bender
On Mon, Jan 27, 2014 at 8:19 AM, Simon Perreault <
simon.perrea...@viagenie.ca> wrote:

> Le 2014-01-25 14:40, Richard Procter a écrit :
>
>  I'm not saying the calculation is bad. I'm saying it's being
>> calculated from the wrong copy of the data and by the wrong
>> device. And it's not just me saying it: I'm quoting the guys
>> who designed TCP.
>>
>
> Those guys didn't envision NAT.
>
> If you want end-to-end checksum purity, don't do NAT.
>
> Simon
>
>
Relying on TCP checksums is risky - they are too weak.

I live at the end of a wireless link that starts at around 7K feet
elevation, goes over a 12K foot ridge, lands at my neighbors roof at 10k
feet and then bounces across the street to my house. At one point I was
having lots of issues with data corruption - updates failing, even images
on web pages going technicolor half way through the download. The ISP
ultimately determined there was a bad transmitter and replaced it. The
corruption was so severe that it was overwhelming the TCP checksums to the
point that as far as TCP was concerned it was delivering good data (just
not the same data twice :-). Until they fixed the issue I was able to run a
proxy over ssh which gave me slower but reliable network service.

-N



Re: OpenBSD pxe automated install

2013-08-13 Thread Nick Bender
On Tue, Aug 13, 2013 at 6:45 AM, Jiri B  wrote:

> On Tue, Aug 13, 2013 at 02:38:36PM +0200, Peter Hessler wrote:
> > On 2013 Aug 13 (Tue) at 14:27:40 +0200 (+0200), Marian Hettwer wrote:
> > :Looks like it's time to do this. And maybe I can sync up with some
> > :others in this thread and we could work together.
> >
> > I'm looking at the diffs originally from Nick Bender (links are earlier
> > in the thread), and will try to review and work this in.  I and some
> > other developers want this for our own projects as well.
>
> Wouldn't be better to work on install.sub[1] and also maybe to
> move networking setup more in the beginning of install process
> so one could download some setup script from network?
>
> [1]
> http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/miniroot/install.sub?rev=1.683
>
> jirib
>
>
Redux is mostly a set of patches against the standard install scripts (
http://hiqu.biz/redux).

I'm not apposed to doing more work on it if there is interest...



Re: the idea of /fastboot ?

2012-10-11 Thread Nick Bender
On Thu, Oct 11, 2012 at 5:24 AM, Eric Furman  wrote:
> On Thu, Oct 11, 2012, at 07:10 AM, Илья Шипицин wrote:
>> ÓÒÅÄÁ, 10 ÏËÔÑÂÒÑ 2012 Ç. ÐÏÌØÚÏ×ÁÔÅÌØ Nick
Holland
> ÐÉÓÁÌ:
>>
>> >  how it supposed
>> >> to work for non-nfs filesystems ?
>> >>
>> >
>> > "properly"?
>> >
>> > they'll be not checked, too?
>> >
>> > Just one more question.
>> If /fastboot presents, filesystem won't be checked, right?
>> But how does fsck detects if there's /fastboot? Is it possible thing to
>> do
>> without actually mount it?
>>
>> Is it possible to mount dirty filesystem in read-only mode ? If not, it
>> doesn't make sense at all.
>>
>
> Dude, stop worrying about it. It is deprecated.
> Unless you put it there it will never be there.
>

I recall seeing a script called fastboot that looked something like:

  #!/bin/sh
  touch /fastboot
  sync
  sync
  halt

Not sure what OS that was but I know the fastboot command was present in
4.2 BSD and SunOS 4.1.3.



Re: Customizing the install process

2012-06-07 Thread Nick Bender
> I would love to see some automated install solution on OpenBSD,
> but it is tricky and SUSE-based xml autoyast is hell :D

> I would love to see some automated install solution on OpenBSD,
> but it is tricky and SUSE-based xml autoyast is hell :D

I developed a very crude version of a fully automated install
(http://nbender.com/install.netboot/install.html) and then a much
more friendly version (http://hiqu.biz/redux). Due to lack of
interest I haven't updated it since 4.9.

-N



Re: Polite enquiry as to if anyone is working on 64 bit time_t, and if so, what's the plan?

2011-10-20 Thread Nick Bender
On Thu, Oct 20, 2011 at 7:33 AM, Henning Brauer  wrote:
> * Janne Johansson  [2011-10-20 15:11]:
>> What I meant was as you say, we can change the include file to say "use 64
>> bits for time" and recompile some apps, but if the database file format or
>> the over-the-wire formats don't support 64 bits for specifying time, you'd
>> be screwed anyway. That's why applications, formats and protocols need to
>> change, since many of them use 32 bits today.
>
> anything clean just uses time_t and is thus fixed by recompiling.
>
> now, reality check, there is way too much crap out there that makes
> dumb assumptions. but "many of them use 32 bits today" makes it sound
> like a) that was common and b) right. it isn't. certainly not b). time
> will tell us (oh the irony) about a).

Not a) for the two examples mentioned.

HTTP Expires header: ascii date string. Good until at least ...

NTP (from wikipedia):

Implementations should disambiguate NTP time using a knowledge
of the approximate time from other sources. Since NTP only works
with the differences between timestamps and never their absolute
values, the wraparound is invisible as long as the timestamps are
within 68 years of each other.

-N



Re: Detect APC UPS is on battery

2011-10-17 Thread Nick Bender
On Mon, Oct 17, 2011 at 9:34 AM, mailing list  wrote:
> Hello Everyone,
>
> I have a machine running OBSD 4.4 which as an APC Back-UPS ES 550.
>
> Anyway to have OpenBSD detect when power is coming from Battery?
> (Plan on sending the system sending me an sms if so)
>
> I found the following: http://www.apcupsd.com/
> My understanding is you need a usb connection to the ups. (one I have has no
> USB)
>

Looks like that model does have USB - I believe it's labelled "Data Port" on the
back based on the picture I found on the web. You will need a USB to RJ45
cable though...

-N



redux automated installation tool: alpha version available for testing

2011-05-12 Thread Nick Bender
Get the distribution at http://hiqu.biz/redux.

This has been lightly tested with 4.8 and 4.9 - some things will
not to work :-)

Comments/bugs/suggestions/pleas for help should be directed to
the redux Google Group at:

http://groups.google.com/group/obsd-redux

-N

Here is the Readme file:

Welcome to redux, an OpenBSD automated installation framework.

redux enhances the standard OpenBSD installation procedure by
enabling the following functionality:

1. Record all choices made during an installation.
2. Enable an automated installation using recorded choices.
3. Allow interactive revision of a previously recorded
   installation session.
4. Provide support for network based fully automated
   installation using only tools provided by OpenBSD.

redux is ditributed as a Makefile, a set of patches to the
standard installation scripts and a small number of additional
installation scripts. Building the entire source tree is not
required as redux uses an existing ditribution as the starting
point. By default it assumes that the OpenBSD source tree is
loaded in /usr/src and that the installation CD is mounted on
/mnt (see the top of the makefile to adjust these locations).
The output of the make process is a modified installation
ramdisk which can be booted using pxeboot which has been
enhanced with additional features.

An effort has been made to minimize the changes to the default
scripts to minimize ongoing maintenance as the base system
evolves. redux has been tested on i386 and amd64 and may be
usable on other architectures.



Re: Unattended OpenBSD Installation

2010-11-14 Thread Nick Bender
On Sun, Nov 14, 2010 at 10:10 AM, OpenBSD Geek  wrote:
> Hi,
> I read OpenBSD FAQ at
> [url]http://www.openbsd.org/faq/fr/faq4.html#site[/url]
> I understood well, that install.site/ Upgrade.site and of course
> SiteXX.tgz is enabled at the end of the installation.
>
> My question, i boot on 4.7 RELEASE, choose "Install".
> Is it possible to have an "true automatic installation" for example don't
> need to put mygate, myname, "root password" ... put all the answers in a
> script ? And so have an install without any interaction with the user ?
>
> I suppose not possible ? because all of that are in the "install.sub"
> script (from bsd.rd)

You could have a look at http://nbender.com/install.netboot/install.html which
is no longer current and was brittle and difficult to use.

I am currently working on  the next version which is much better - it meets
all your requirements. I'm calling it redux and I'm including the readme below.

What's left to do is additional testing, documentation, and updating for any
changes in 4.8 (it is working now against 4.7).

-N



Welcome to redux, an OpenBSD automated installation framework.

redux enhances the standard OpenBSD installation procedure by
enabling the following functionality:

1. Record all choices made during an installation.
2. Enable an automated installation using recorded choices.
3. Allow interactive revision of a previously recorded
   installation session.
4. Provide support for network based fully automated
   installation using only tools provided by OpenBSD.

redux is ditributed as a Makefile, a set of patches to the
standard installation scripts and a small number of additional
installation scripts. Building the entire source tree is not
required as redux uses an existing ditribution as the starting
point. By default it assumes that the OpenBSD source tree is
loaded in /usr/src and that the installation CD is mounted on
/mnt (see the top of the makefile to adjust these locations).
The output of the make process is a modified installation
ramdisk which can be booted using pxeboot. The ramdisk could
also be used to construct a boot CD which will be supported
in a future release.

An effort has been made to minimize the changes to the default
scripts to minimize ongoing maintenance as the base system
evolves. A patch to the standard pxeboot program is also
provided which enables additional network boot functionality
for the i386 and amd64 architectures. redux has been tested on
the i386 and amd64 architectures but should be usable on other
architectures.



Re: Some secure way of updating sources?

2010-05-18 Thread Nick Bender
On Tue, May 18, 2010 at 7:14 PM, QIU Quan  wrote:
> SSL has some authorities which other current PKI systems, e.g. SSH,
> PGP, lacks. Usually, the trusted authorities are delivered along with
> OS distributions. Although a vendor should take the responsibility to
> validate the authorities, this eases the first step of trust
> establishment after all.
>
> At least, the ordering page 
> works. That means OpenBSD has already a registered SSL service on the
> go.

http://arstechnica.com/security/news/2010/03/govts-certificate-authorities-conspire-to-spy-on-ssl-users.ars

-N



Re: format of i386/index.txt

2010-03-17 Thread Nick Bender
On Wed, Mar 17, 2010 at 9:44 AM, J.C. Roberts 
wrote:
> On Wed, 17 Mar 2010 15:02:19 +0100 Jan Stary  wrote:
>
>> Anyway, what really is the purpose of index.txt being there then?
>> To tell the times and sizes?
>
> To break scripts? ;)
>
> To put it bluntly, index.txt seems pointless, or more likely, there is
> some super double secret reason for it to still exist that I simply
> don't know...
>
> My only *GUESS* is, some mirrors are HTTP, but due to brainless
> accountants mindlessly running "security auditing tools," they forbid
> real directory listings, and are configured to only return an existing
> "/index.*" file to the useragent.
>
> Hopefully, someone who actually has a clue (not me) will chime in with
> the real reason why index.txt exists.
>
>jcr
>

Actually the installer uses it to make a list of file sets to present
to the user.
If it isn't there then no sets are presented.

>From src/distrib/miniroot/install.sub:

# Get list of files from the server.
if [[ $_url_type == ftp && -z $ftp_proxy ]] ; then
_file_list=$(ftp $FTPOPTS "$_url_base/")
ftp_error "Login failed." "$_file_list" && return
ftp_error "No such file or directory." "$_file_list" && return
else
# Assumes index file is "index.txt" for http (or proxy)
# We can't use index.html since the format is server-dependent
_file_list=$(ftp $FTPOPTS -o - "$_url_base/index.txt" | \
sed -e 's/^.* //' | sed -e 's/
//')
fi

-N



Re: OpenBSD Volunteer needed today in Los Angeles - Solved!

2010-02-22 Thread Nick Bender
On Monday, February 22, 2010, Bret S. Lambert  wrote:
> Unless some benefactor is willing to come forward and deal with the
> logistical headache of doing the paperwork and keeping it all as
> up to date as it needs to be, it's not going to happen, even if
> getting an EAL meant ponies, rainbows, and money trees for everybody.
>

Ponies and rainbows? Forget it.

Money tree? Drop me an email. I would love to get paid to do somethng
with my CISA...

-N



Re: vi in /bin

2009-12-18 Thread Nick Bender
On Fri, Dec 18, 2009 at 10:10 AM, Internet Retard  wrote:
>> On Fri, Dec 18, 2009 at 7:33 AM, Eugene Yunak  wrote:
>>
>> Real men use punch cards. Paper tape is acceptable for backups...
>
> You mean real *Internet* men. In person, these men (for lack of a better word)
> are easily de-assified and can be made to cry. However, they are fearless
> keyboard warriors while alone, in the dark, dusty corner of their mother's
> basement at night. I made one of these Internet Men cry once by scattering his
> nicely organized punch card program all over the floor.
>

Fail. Real men put sequence numbers in the comment columns
so the card sorter can put them back in order.

-N



Re: vi in /bin

2009-12-18 Thread Nick Bender
On Fri, Dec 18, 2009 at 7:33 AM, Eugene Yunak  wrote:
> 2009/12/18 Gregory Edigarov :
>> On Fri, 18 Dec 2009 10:28:25 +0100
>> Igor Sobrado  wrote:
>>
>>> On Fri, Dec 18, 2009 at 6:07 AM, David Gwynne 
>>> wrote:
>>> > On 18/12/2009, at 1:26 PM, Raymond Lillard wrote:
>>> >>
>>> >> Real men use cat. :-)
>>> >
>>> > real men use COPY CON PROGRAM.EXE
>>>
>>> real men use EDIT/TECO.
>>>
>> real men use XEDIT.
>>
>
> REAL men use butterflies
>
> // http://xkcd.com/378/

Real men use punch cards. Paper tape is acceptable for backups...



Re: Comparing large amounts of files

2009-12-15 Thread Nick Bender
On Saturday, December 12, 2009, Andy Hayward  wrote:
> On Fri, Dec 11, 2009 at 23:24, STeve Andre'  wrote:
>> B  I am wondering if there is a port or otherwise available
>> code which is good at comparing large numbers of files in
>> an arbitrary number of directories? B I always try avoid
>> wheel re-creation when possible. B I'm trying to help some-
>> one with large piles of data, most of which is identical
>> across N directories. B Most. B Its the 'across dirs' part
>> that involves the effort, hence my avoidance of thinking
>> on it if I can help it. ;-)
>
> sysutils/fdupes
>
> -- ach
>

If you have a database available yo can store file hashes and use SQL.
I used postgres for the job and had reasonable performance on a 10
million file collection. I stored directory paths in one table and
filename, size, and sha1 in another table. Scripting the table
creation was fairly easy...

-N



Re: Defending OpenBSD Performance

2009-09-16 Thread Nick Bender
> If there genuinely is something as easy as "yum update bind", then
> great. But if so, it doesn't seem to be documented, and this is the
> reason I haven't rolled out more OpenBSD boxen in the real world. I
> run OpenBSD on my own machines. But I'm with Cian here. Keeping up
> to date really is its Achilles heel compared to other OSes, and is
> holding it back for corporate use.

So when you do "yum update bind" how many people are you extending
trust to? Note that this isn't a rhetorical question, I'm actually quite curious
how people rationalize this aspect of binary updates.

When I apply a patch that I can read I'm pretty sure what I'm getting*.

-N

* If you haven't read it before you must read "Reflections on Trust":

http://cm.bell-labs.com/who/ken/trust.html



Re: boot disk ???

2009-08-05 Thread Nick Bender
On Wed, Aug 5, 2009 at 6:08 PM, PJ wrote:
> Peter N. M. Hansteen wrote:
>> Once you've cleared that hurdle, It would help a lot with more details
>> about the hardware, what image file you are using and where it came
>> from (ie is it the i386 one, the amd64 one, off an official mirror
>> site, or something different) and what application and options you use
>> to burn the CD.
> I already posted wherefrom - openBSD ftp site; the burning was done
> exaactly the same as for the FreeBSD and many other files without ever
> having any problems... and I mean, EVER !

How about giving actual details. Here let me help:

Downloaded install45.iso from ftp://ftp.openbsd.org/pub/OpenBSD/4.5/amd64/.
Attempted to boot on an IBM x305 with the following errors: ...
Maybe a dmesg from another OS would help...

See? That wouldn't be too hard now would it?

>>   Burning CD images to DVD media does not always work,
>> for example (probably a stupid one that risks insistent
>> contradictions, but well,), so any detail you supply could be helpful
>> in sorting out whatever the problem is.
> It really pisses me off that everyone assumes that the poor sap who is
> asking for help is too stupid to have done things right and they just
> forget that maybe the problem is in the SOURCE !

Rather than details you get all defensive. And for the record I assume
that you are doing something wrong. Why? Because I've booted both
install45.iso and install46.iso hundreds of times without any problems.
Notice I didn't say stupid, just wrong. I've made my share of brainos
over the years - are you capable of laughing at yourself?

> I know what a bootable image usually looks like... but neither of those
> I downloaded look right.

What color is yours? I see the amd64 installer as mauve and the
i386 as more of a dark green. Again, no details...

> Unless, of course the booting is supposed to be done in some
> incomprehesible way from some other operating system in some mysterious
> way that is not spelled out anywhere where I can find it, anyway. :-)

Search the archives. Very few people get stuck at the same point as you.

> Sorry, but I'm ust laughing all theway back to FreeBSD... they may be
> fucked-up but at least I can managed to figure out how to to deal with
them.
> I liked the idea of how your head honcho runs things and the general
> response to the OS, but by gosh and by golly, Molly, somebody ai'nt got
> the steering sheel pointed right!

Buh-bye. Don't let the iso hit you in the ass on the way out...

-N



Re: complete restore using NFS

2009-08-02 Thread Nick Bender
> How to reach that server when in shell mode? Or is there another way to
> do this?

NFS isn't available on the install media, and neither is ssh. If the
server has ftp or
http then you can use ftp like:

ftp -o - http://someserver/part.dump | restore ...

-N



Re: online documentation for new smtpd

2009-07-21 Thread Nick Bender
On Tue, Jul 21, 2009 at 5:16 PM, Lars Nooden wrote:
>
> The man pages are great.  It's just sometimes I have opportunities to
> point out tools to Herr Doktor Uber Direktor types and having a URL is
> the only non-paper option.

http://www.openbsd.org/cgi-bin/man.cgi?query=smtpd&apropos=0&sektion=8&manpat
h=OpenBSD+Current&arch=i386&format=html

-N



Re: Winbind & Samba on OpenBSD

2009-07-06 Thread Nick Bender
On Mon, Jul 6, 2009 at 6:01 PM, Jason Beaudoin wrote:
>
> to clarify.. you are using Samba, or Samba & Winbind?
>
> ~Jason

Not a user, but samba/winbind was discussed on ports last week:

http://marc.info/?l=openbsd-ports&m=124653912620380&w=2



Re: ftp limits bandwidth

2009-06-20 Thread Nick Bender
On Saturday, June 20, 2009, Jean-Frangois SIMON 
wrote:
> Hi all,
>
> It looks like the max bandwidth of ftp is somehow 350 Kb/s.
> Is this normaland if so can it be increased ?
>
> Thx
> Bye.

I don't think FTP is rate limited by default. Wild guess is you need
to google tcp window size. What does ping say the round trip time is?

Or you could be limited upstream, what is the topology of the network
connecting the end points?

-N



[Way OT] Roadtrip...

2009-04-23 Thread Nick Bender
Apologies to most people who won't give a shit but I'm finally moving
to New Mexico and am posting updates at http://nbender.com more
or less daily as we make our way across the country.

Regards,
-N



Re: Silly serial console question

2009-02-10 Thread Nick Bender
On Tue, Feb 10, 2009 at 11:38 AM, Dave Wilson
 wrote:
> In my grandfather's attic (RIP) I unearthed one of these:
>
> http://www.omnidatasys.net/product/spec_dataterminal_ti703.htm
>
> which in a nutshell is a paper terminal which runs at 300 baud.
>
> I figured it could be fun to set it up as a serial console on one of my
> machines, and maybe useful if I left it tailing logfiles to a hard copy
> or perhaps using it for a machine I have which keeps PANICing
>
> So I edited the line in /etc/ttys for tty00 to be:
>
> tty00   "/usr/libexec/getty std.300"vt100 on
>
> and now (after some init HUPing) I get a login prompt, and it takes my
> username. When I try and give it a password however, it turns off echo,
> but it never seems to notice the carriage return. It just sits there. If
> I send a break, it wakes up and says login incorrect, so it's not
> completely died.
>

I would try dumbing it down - a vt100 is a pretty complex beast.

Searching in /etc/termcap for "paper" yields tty33 and tty37 as options:

 Teletype (tty)
#
# These are the hardcopy Teletypes from before AT&T bought the company,
# clattering electromechanical dinosaurs in Bakelite cases that printed on
# pulpy yellow roll paper.  If you remember these you go back a ways.
# Teletype-branded VDTs are listed in the AT&T section.
#

I don't remeber these but I do have fond memories of  decwriters
clattering away in the CS lab. If those don't work you could
man 5 termcap and make up your own entry...

-N



Re: Find - Sillyness

2009-01-23 Thread Nick Bender
On Fri, Jan 23, 2009 at 9:07 AM, Morris, Roy  wrote:
> Here is the actual command I am trying to run and it's error
> output.
>
> spider:/var/logtransfer/dc-fw1# find . -name pflog.*.gz -exec zcat {} |
> tcpdump -entttv -r -  \;
> find: -exec: no terminating ";"
> tcpdump: fread: Invalid argument
>

Me thinks you need to quote you're pattern (or set noglob) and terminate
your exec (just like find is telling you):

   find . -name 'pflog.*.gz' -exec zcat {} \; | ...

-N



Re: Virtualization, OpenBSD as host

2009-01-16 Thread Nick Bender
On Fri, Jan 16, 2009 at 3:03 PM, Allie Daneman  wrote:
> Marti Martinez wrote:
>>
>> Obviously none of us know WHAT you're really trying to do, so this
>> suggestion may or may not be workable for you, but in your situation
>> my preferred solution is to set up a crap machine with XP as the
>> native OS, and just use rdesktop to log in to it.
>
> Not an option...see I work in a unique situation. I need a laptop running XP
> that I can use to VPN into work for email,etc.

Not at all unique. I've solved this by using an OS X laptop. XP and
OpenBSD live in VMs (VMWare has better BIOS emulation but
Parallels works well also). Things like video, power management,
sleep/hibernate, and wireless all work well. When all that works
under OpenBSD I'll switch :-) I did put a puffy wireframe sticker
over the Apple though (thanks Wim).

-N



Re: OpenBSD at Defcon 16

2008-08-17 Thread Nick Bender
On Sat, Aug 16, 2008 at 6:41 PM, Johan Beisser <[EMAIL PROTECTED]> wrote:
> On Sat, Aug 16, 2008 at 2:33 PM, Travers Buda <[EMAIL PROTECTED]> wrote:
>
>> Are they protecting DefCon from the internet or the internet from DefCon?
>
> Does it have to be one or the other?

I went to a talk called "stealing the internet" - it was added the last day.

Using BGP the presenters were able to hijack the defcon /24 ip range and
route it to their server in New York. Normally that's the end of it  - just
another DOS.

The new thing was that they were able to create a path back to the defcon
network over a single route so they could actually return packets. They did
the hijack at noon and at the end of the 4pm-5pm talk they showed a 75 gb
and growing capture file.

-N



Re: There's something about OpenBSD...

2008-02-21 Thread Nick Bender
On Thu, Feb 21, 2008 at 5:08 PM, Jussi Peltola <[EMAIL PROTECTED]> wrote:

>  Displaying the name of the file and the matched line nicely like grep -r
>  does is not elegant with find + grep without using a script or a long
>  and inelegant alias - or if it is, I'd be interested in how it can be
>  done in case I need to work on some ancient unix.

Never used -r so I'm not sure what the output looks like but how about:

  find . -type f -exec grep something {} /dev/null \;

-N



Re: File upload/download to https server

2008-01-30 Thread Nick Bender
> I have an upcoming project where I need to be able to automate the upload and
> download of files to/from an HTTPS server (not owned by me).  The server says
> it requires 128 bit encryption.  I would like to be able to do this using
> python because it is the language that I know the best and it is available on
> the OpenBSD box that I would like to do this all from.  (please note I am not
> a real great programmer, but I get by).

ftp my do the job depending on your specific needs.

OpenBSD's ftp supports https URLs, no programming or ports needed

-N



Re: OT Re: OpenBSD and ISDN TA

2008-01-09 Thread Nick Bender
> give me X.25 any day, instead of this new fangled ISDN technology.

Don't forget to run uucp over it ;-)



Re: Pre-Orders for Limited Edition Puffy the Blowfish

2008-01-09 Thread Nick Bender
On Jan 8, 2008 11:40 AM, Sunnz <[EMAIL PROTECTED]> wrote:
> 2008/1/8, Sam Fourman Jr. <[EMAIL PROTECTED]>:
> > do you have a website that has pictures, the mail server stripped your
> > attachemnts
> >
> > Sam Fourman Jr.
> >
> >
> I second that, me want see pictures!!!
>

http://icanhascheezburger.com/2008/01/04/funny-pictures-i-this-means-i-not-happy/



Re: OpenBSD and ISDN TA

2008-01-09 Thread Nick Bender
> Any suggestions?

Get a Netgear ISDN router - used one for a number of years with no problems.

They come in either single network connection or with 4 port hub.

-N



Re: Code signing in OpenBSD

2007-12-05 Thread Nick Bender
On Dec 5, 2007 2:23 PM, Ted Unangst <[EMAIL PROTECTED]> wrote:
> On 12/5/07, Rui Miguel Silva Seabra <[EMAIL PROTECTED]> wrote:
> > Come on... twice a year and get the benefit of not being excluded from
> > company policies which require digital signature of software downloaded
> > through the internet.
>
> sign it yourself, then download it.  problem solved.
>

Buy the CDs?



Re: RAID1 powerloss - can parity rewrite be safely backgrounded?

2007-09-28 Thread Nick Bender
> Anyone got any similar experiences with hardware RAID cards? Hardware
> RAID has always been misery for me.

I've never lost data under RAIDframe - 3 years plus using cheap SATA
gear and featuring a number of unplanned hard boots and flaky air
conditioning.

Can't say the same for a certain hardware raid solution (not supported
under OpenBSD) which ate a 2.5TB filesystem due to a firmware bug

-N



Re: RAIDFrame root autoconfig fails in -current

2007-06-13 Thread Nick Bender

I have current running under VMWare Server using both single and multiprocessor
raidframe enabled kernels (dmsgs below). As far as I  can tell everything is
working and softraid is not causing any issues with raidframe autoconfiguration.

I'll try and test on VMWare ESX tomorrow - that emulates an LSI SCSI
controlller.
I'll also see if I can round up some real hardware to test on as well.

disklabel for wd0 (same for wd1):

# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: VMware Virtual I
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 15
sectors/cylinder: 945
cylinders: 16383
total sectors: 41943040
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
a:  1887442263  4.2BSD   2048 163841 # Cyl 0*-
19972
b:   2097900  18874485swap   # Cyl 19973 -
22192
c:  41943040 0  unused  0 0  # Cyl 0 -
44384*
d:  20957265  20972385RAID   # Cyl 22193 -
44369

disklabel for raid partition:

# /dev/rraid0c:
type: RAID
disk: raid
label: fictitious
flags:
bytes/sector: 512
sectors/track: 128
tracks/cylinder: 8
sectors/cylinder: 1024
cylinders: 20466
total sectors: 20957184
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
a:   2097152 0  4.2BSD   2048 163841 # Cyl 0 -
2047
b:   2097152   2097152swap   # Cyl  2048 -
4095
c:  20957184 0  unused  0 0  # Cyl 0 -
20465
d:   2097152   4194304  4.2BSD   2048 163841 # Cyl  4096 -
6143
e:   8388608   6291456  4.2BSD   2048 163841 # Cyl  6144 -
14335
f:   2097152  14680064  4.2BSD   2048 163841 # Cyl 14336 -
16383
g:   4179968  16777216  4.2BSD   2048 163841 # Cyl 16384 -
20465

raid0.conf:

START array
1 2 0
START disks
/dev/wd0d
/dev/wd1d
START layout
128 1 1 1
START queue
fifo 100

Any other info required just email...

-N


OpenBSD 4.1-current (RAID) #9: Wed Jun 13 11:09:24 EDT 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAID
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,DS-CPL
real mem  = 267939840 (255MB)
avail mem = 250142720 (238MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/17/06, BIOS32 rev. 0 @ 0xfd880,
SMBIOS rev. 2.31 @ 0xe0010 (45 entries)
bios0: VMware, Inc. VMware Virtual Platform
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xdc000/0x4000!
0xe/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
pci1 at ppb0 bus 1
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 64-sector PIO, LBA, 20480MB, 41943040 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom
removable
wd1 at pciide0 channel 1 drive 1: 
wd1: 64-sector PIO, LBA, 20480MB, 41943040 sectors
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus
disabled
vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
bha3 at pci0 dev 16 function 0 "BusLogic MultiMaster" rev 0x01: irq 11,
BusLogic 9xxC SCSI
bha3: model BT-958, firmware 5.07B
bha3: sync, parity
scsibus1 at bha3: 8 targets
pcn0 at pci0 dev 17 function 0 "AMD 79c970 PCnet-PCI" rev 0x10,
Am79c970A, rev 0: irq 9, address 00:0c:29:9b:9e:b9
isa0 at piixpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at i

Re: upgrading RAIDFRAME systems

2007-06-12 Thread Nick Bender

On 6/12/07, Josh Grosse <[EMAIL PROTECTED]> wrote:

On Mon, Jun 11, 2007 at 06:59:46PM -0400, Nick Holland wrote:
> am I missing something, or did you neglect to help him with his question,
> which was about how to upgrade with RAIDframe in use?

I had everything except building the kernel, and placing it on the one (or
two) non-RAIDFrame controlled partitions for booting.  Yep, I forgot
that. :(



I have several low end machines with dual SATA drives and have the full
install under raidframe with the recommended a=/, b=swap, d=/usr, etc...
Both drives have separate 4gb partitions which each have a full install
serve as the boot partition.

1. Backup all data.
2. Disabe raidframe autoconfiguration.
3. Do a full install on the second drive's 4gb partition and boot on that.
4. Enable raidframe and make install a new kernel.
5. Boot the new version on the second drive.

At this point if everything works you can newfs any of the pre-upgrade
raid partitions and dump/restore from the new install on the second
drive to the raid partitions. If you made separate data partitions that don't
need upgraded you don't have to touch them. Don't forget to resync the
first boot partition with the second and turn on autoconfiguration. Oh,
remember to run installboot as part of resyncing (DOH!).

If for some reason you're new install is faulty you can just resync the
second boot partition with the first (installboot!), re-enable autoconfig,
and a reboot gets you back to square one.

-N



Re: RAIDFrame root autoconfig fails in -current

2007-06-11 Thread Nick Bender

On 6/11/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote:

On Mon, 11 Jun 2007, Brian A. Seklecki wrote:

> On Mon, 11 Jun 2007, Otto Moerbeek wrote:
>
> >
> > Please contact krw@, he has been searching testers for RAIDframe root
> > autoconfig on [EMAIL PROTECTED] There's even a diff posted there, iirc.
>
> I'm your point-man there.  A while back I wrote 3 pages of technical detritus
> on making it work in 3.9/4.0.  ISOs w/ install.sh patches, too.
>
> So we're changing the software raid subsystems eh?

Well, if possible, we would like to have a working RAIDframe with the
new disklabel stuff. Hence krw@ searching for testers. I believe he
got very little responce on [EMAIL PROTECTED]

Anyway, to anwer your question, yes, at some point in time RAIDFrame
will probaly be even more unsupported than it is now; in contrast, the
new softraid(4) will become part of a release in the future. But do
not draw the conclusion that these two events will occur at the same
time.

-Otto



I have the patch sitting in my inbox - it was against rev. 1.35 while current
looks to be up to 1.39. I should have time to test it on Wednesday, any
chance of an updated diff? If not I'll make do...

-N



errata for US daylight savings time change?

2007-01-12 Thread Nick Bender

Looks like 3.9 and 4.0 are both missing the new DST rules -
src/share/zoneinfo/datfiles/northamerica was patched on Oct 29.

Should this be an errata?

-N



Re: PHP5 install error

2006-12-01 Thread Nick Bender

On 11/30/06, Brendan Grossman <[EMAIL PROTECTED]> wrote:

Hmm, in the Makefile it has this:

# the hardened flavor is used by both core and extensions
FLAVORS+=   hardened
FLAVOR?=

It starts to compile hardened after completing core. I loaded the core
module then in Apache and it doesn't give any errors, however php code isn't
executed (just a blank screen). I also tried just adding the core package
from ftp and same problem.

I don't know why I'm having problems... Have followed the instructions that
I used that worked perfectly on 3.8 and 3.9.


I noticed this when one of my build scripts started failing in 4.0. Now I
just do make install in www/php5/core and www/php5/extensions rather
than in www/php5 and problem solved.

A related question is say that you have decided you want to use the
hardened version of php5 for a dependent package like phpMyAdmin.
Is there a way short of makefile hacking to get the hardened version
to satisfy the RUN_DEPENDS clause?

-N



mpi messages at boot running current under VMWare Server

2006-08-23 Thread Nick Bender

Just did an August 22nd snapshot install in a VM running under the
free VMWare Server product. The host is Windows XP and the guest
is intalled on a scsi disk (LSI Logic chosen during create) in the VM.

During boot there are a number of mpi messsages which do not seem
to have any effect on the running system and are not repeated when
doing things like dd from /dev/rsd0a, find / , and building from source.

Checking the archives I see that this was crashing the vm at some
point and the changelog indicates it was fixed so maybe these should
just be viewed as warnings?

-N

dmesg:

OpenBSD 4.0-beta (GENERIC) #1083: Mon Aug 21 21:24:02 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,DS-CPL
real mem  = 267939840 (261660K)
avail mem = 236683264 (231136K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(8f) BIOS, date 04/17/06, BIOS32 rev. 0 @
0xfd880, SMBIOS rev. 2.31 @ 0xe0010 (45 entries)
bios0: VMware, Inc. VMware Virtual Platform
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1a00! 0xca000/0x1000
0xdc000/0x4000! 0xe/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 ignored (disabled)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus
disabled
vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: irq 9
scsibus1 at mpi0: 16 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI2
0/direct fixed
sd0: 20480MB, 2610 cyl, 255 head, 63 sec, 512 bytes/sec, 41943040 sec
total
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
pcn0 at pci0 dev 17 function 0 "AMD 79c970 PCnet-PCI" rev 0x10,
Am79c970A, rev 0: irq 11, address 00:0c:29:5e:5a:a3
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask e765 netmask ef65 ttymask ffe7
pctr: user-level cycle counter enabled
mpi0:  xs cmd: 0x1b len: 0 error: 0x01 flags 0x1a8
mpi0:  target_id: 0 bus: 0 msg_length: 8 function: 0x00
mpi0:  cdb_length: 6 sense_buf_length: 0 msg_flags: 0x00
mpi0:  msg_context: 0x0058
mpi0:  scsi_status: 0x02 scsi_state: 0x01 ioc_status: 0x
mpi0:  ioc_loginfo: 0x
mpi0:  transfer_count: 0
mpi0:  sense_count: 18
mpi0:  response_info: 0x
mpi0:  tag: 0x
mpi0:  xs error: 0x01 xs status: 2
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
mpi0:  xs cmd: 0x1b len: 0 error: 0x01 flags 0x188
mpi0:  target_id: 0 bus: 0 msg_length: 8 function: 0x00
mpi0:  cdb_length: 6 sense_buf_length: 0 msg_flags: 0x00
mpi0:  msg_context: 0x005f
mpi0:  scsi_status: 0x02 scsi_state: 0x01 ioc_status: 0x
mpi0:  ioc_loginfo: 0x
mpi0:  transfer_count: 0
mpi0:  sense_count: 18
mpi0:  response_info: 0x
mpi0:  tag: 0x
mpi0:  xs error: 0x01 xs status: 2
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
mpi0:  xs cmd: 0x1b len: 0 error: 0x01 flags 0x1a8
mpi0:  target_id: 0 bus: 0 msg_length: 8 function: 0x00
mpi0:  cdb_length: 6 sense_buf_length: 0 msg_flags: 0x00
mpi0:  msg_context: 0x0065
mpi0:  scsi_status: 0x02 scsi_state: 0x01 ioc_status: 0x
mpi0:  ioc_loginfo: 0x
mpi0:  transfer_count: 0
mpi0:  sense_count: 18
mpi0:  response_info: 0x
mpi0:  tag: 0x
mpi0:  xs error: 0x01 xs status: 2
mpi0:  xs 

Re: Apple MacBook Pro support

2006-02-03 Thread Nick Bender
Quick update on this.

My intel iMac came this week and of course will not boot off a 3.8 cd
as it uses EFI instead of BIOS.

There's currently a $10,000 bounty for getting XP to boot:

  http://windowsxp.onmac.net

There's also a FAQ tracking some of what's been tried, including
some having "bricked" their machines and how to fix it:

http://appleintelfaq.com/

There are also links to outputs from various commands like the
OS X dmesg (http://appleintelfaq.com/imac/dmesg.html).

I'm flat out in the day job at the moment but the machine is sitting
here serving as a jukebox at the moment so if anyone has ideas
on things to try that won't take too much time then fire away...

-N



Re: RAIDframe question

2006-02-01 Thread Nick Bender
> Side question:
> I tried unsuccessfully using the same procedure to set up two disks (sd0
> and sd1) attached to a QLogic FibreChannel controller (isp driver).  I
> probably don't have the correct terminology but upon startup the boot code
> could not be found (would not get beyond the point where the kernel
> usually kicks in).  I'm wondering whether RAIDframe has limitations with
> this hardware.

man installboot ?

-N



Re: openbsd newbie question - lfs, ffs, and cf cards

2006-01-18 Thread Nick Bender
> > Wrt LFS .. is it production ready?
>
> no, it's a disaster.
>

Kind of off topic, but has any work been done towards implementing
McKusick's snapshot and background fsck techniques in ffs?

-N



Re: Apple MacBook Pro support

2006-01-11 Thread Nick Bender
I have one of the developer transition systems:

Machine Name:   Apple Development Platform
  Machine Model:ADP2,1
  CPU Type: ADP2,1
  Number Of CPUs:   1
  CPU Speed:3.6 GHz
  L2 Cache (per CPU):   2 MB
  CPU Features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE
MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON
DSCPL EST TM2 CX16 TPR
  Memory:   1 GB
  Bus Speed:800 MHz
  Boot ROM Version: EV91510A.86X.0450.2005.0513.0933 (Intel Corp.)


It boots from the 3.8 CD just fine. I didn't see much point in trying to do
much with it with respect to OpenBSD since they are not production.

Now they are offering to exchange it for one of the new iMacs, which
I plan on doing as soon as they fix the web form and let me order it.
When I get that I'll post full details...

-N



Re: Intel PRO/1000 MT Dual Port Server Adapter Issues

2005-10-18 Thread Nick Bender
On 10/18/05, Bill Chmura <[EMAIL PROTECTED]> wrote:
> On Mon, 17 Oct 2005 22:10:53 -0400
> Jason Dixon <[EMAIL PROTECTED]> spake:
>
> > On Oct 17, 2005, at 8:59 PM, Damien Gardner Jnr wrote:
> > [ Redirecting back to misc@ where this belongs ]
> >
> > > From: "Ken Gunderson" <[EMAIL PROTECTED]>
> > > To: 
> > >
> > >> I'm having some issues w/an Intel PRO/1000 MT Dual Port Server
> > >> Adapter
> > >> in an OBSD-3.7 firewall.  The card is in the pci-x riser on one of
> > >> these puppies;
> > >> Dmesg complains the "The EEPROM Checksum Is Not Valid".  I've tested
> > >> the card in a Winblows machine and it works.  Any insights as to what
> > >> is going on here greatly appreciated.
> > >
> > > We had exactly the same problem with dual and quad versions of
> > > these same
> > > cards - we ended up swapping to PCI cards and changing the
> > > motherboard to
> > > something with enough PCI slots to support all the cards..  :\
> >
> > If this is the case, I'm glad this became public.  I'm about to fork
> > out for some of these.  Can anyone suggest any specific Gig-E dual
> > port cards that work well with 3.7-3.8?  Vendor recommendations welcome.
> >
> > Thanks,
> >
> > --
> > Jason Dixon
> > DixonGroup Consulting
> > http://www.dixongroup.net
> >
>
> Jason,
>
> I have a Quad and Dual of these cards in the same machine - same as what
> Ken is showing and no problems.  In a 1U system on a riser.  Absolutely
> no problems with them.
>
> Not sure on the motherboard but I can send a full dmesg if you want one.
>
> Bill
>
>
> --
>
> Bill Chmura
> w. http://www.explosivo.com

What exactly does "The EEPROM Checksum Is Not Valid"? indicate?

I have three cheapo SuperMicro 1U servers (sm5013ct) which come
up with em0/em1 for the motherboard nics:

  em0 at pci1 dev 10 function 0 "Intel PRO/1000MT (82541EI)"
rev 0x00: irq 10, address: 00:30:48:73:38:c6
  em1 at pci1 dev 11 function 0 "Intel PRO/1000MT (82541EI)"
rev 0x00: irq 5, address: 00:30:48:73:38:c7


One of them will every three or four days drop the network and cough
up this message when you do a netstart. A reboot doesn't fix it but
a cold start usually will. The other two boxes have had no problems.
There are several messages in the archives relating to this including
one which suggests flashing the EEPROM using a SuperMicro utility,
which I have yet to try. I tracked it all the way to sys/dev/pci/if_em.c
but I'm afraid I've exhausted my capabilities at that point.

For now the bad box is the test box but I'm still curious...

-N



Re: Automatic setup of partitions

2005-08-23 Thread Nick Bender
Here's a snippet of something I've been working on along the same lines -
this is /bin/csh syntax, and works on raid0 but should work on regular
partitions as well:

echo "get raid size..."
@ r_tot = `disklabel -p g raid0 | awk '/total bytes/ { print int($3) }'`

@ r_root = 1;   @ r_tot -= $r_root
@ r_swap = 1;   @ r_tot -= $r_swap
@ r_tmp  = 1;   @ r_tot -= $r_tmp
@ r_usr  = 10;  @ r_tot -= $r_usr
@ r_home = 4;   @ r_tot -= $r_home
@ r_obj  = 4;   @ r_tot -= $r_obj
@ r_xobj = 4;   @ r_tot -= $r_xobj
@ r_pobj = 20;  @ r_tot -= $r_pobj
@ r_var  = $r_tot

if ($r_var < 0) then
echo 'not enough space on raid0 for all partitions'
exit 1
endif

echo "create raid label partitions..."
# NB: blank lines matter here
disklabel -E raid0 << _EOF_
a a

${r_root}G

a b

${r_swap}G

a d

${r_tmp}G

a e

${r_usr}G

a f

${r_home}G

a g

${r_obj}G

a h

${r_xobj}G

a i

${r_pobj}G

a j



w
q
_EOF_



Re: CCD on /

2005-06-16 Thread Nick Bender
> Oh, sure, you might want your system to stay running after it wuffs a
> drive, but if you are running an IDE system, it almost certainly won't.
>  If you are running SCSI, it *might*, but don't count on it.  Consider
> cheap (i.e., software) RAID systems a way to rapidly repair a broken
> computer, not a way to keep the system running without interruption.

Why wouldn't a two drive ATA/SATA system which was raidframe mirrored
stay up if one of the drives went belly up? I've been spending some
cycles automating the kernel build/raidframe configure process
assuming it was worth the extra effort



Re: Will different CPU and RAM matter?

2005-05-06 Thread Nick Bender
On 5/5/05, Ian Watts <[EMAIL PROTECTED]> wrote:
> On Thu, 5 May 2005, Niall O'Higgins wrote:
> 
> > As of 2005/02/01 ccd(4) man page mentions mirroring. So we now have:
> >
> > A ccd may be either serially concatenated, interleaved, or mirrored.
> > To serially concatenate partitions, specify an interleave factor of 0.
> > Mirroring configurations require an even number of components.
> 
> Cool.  Is that in 3.7-release?
> 

Don't have my 3.7 cds yet, any chance booting to a root partition on ccd
works yet? Have it working under RAIDframe but would love to ditch the
custom kernel build

-N