A new OpenBSD mirror in France

2006-07-26 Thread Landry Breuil
Hello list !

I've set up a new ftp mirror for OpenBSD, located physically in
Rennes / West of France, on the RENATER Network (National Research 
Teaching Network, maybe one of the biggest bandwidth in the country)

It is available at ftp://ftp.irisa.fr/pub/OpenBSD/ , and works well..
i've tested if for several installations.

(README)
- updated nightly (cvs from anoncvs.de.openbsd.org, snapshots from
ftp.scarlet.be)
- 3.8/  3.9/  doc/  OpenBGPD/  OpenNTPD/  OpenSSH/  patches/
snapshots/  and src/ are mirrored
- Available bandwidth : approx ~100Mb upload
- passive ftp only
- reachable using IPv4 and IPv6
- Maintainer contact : landry -dot- breuil -at- irisa -dot- fr

Feel free to use it :)

Landry Breuil
Expert Engineer, IRISA/INRIA



Flash Media Server: fmsini fails with Abort trap

2006-07-26 Thread Alexander Farber

Hello,

has anybody please succeeded in installing and running
Macromedia's Flash Media Server for Linux on OpenBSD?

I'm currently stuck with the fmsini tool failing to
run on OpenBSD: it prints Abort trap and quits:

gate:FMS_2_0_2_r51_linux {1008} sudo sh -x ./installFMS -platformWarnOnly
+ PRODUCT=Macromedia Flash Media Server
+ VERSION=2.0
+ 
PATH=.:/bin:/usr/bin:/usr/local/bin:/sbin:/home/afarber/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
+ export PATH
+ dirname ./installFMS
+ cwd=.
+ NLSPATH=./tcSrvMsg:
+ export NLSPATH
+ LICENSE=License.txt
+ WARN=0
+ [ 1 -gt 0 ]
+ WARN=1
+ shift
+ [ 0 -gt 0 ]
+ id
+ sed -e s/).*//; s/^.*(//;
+ USERID=root
+ [ Xroot != Xroot ]
+ ./fmsini -help
Abort trap
+ RETVAL=
+ [ 134 -ne 0 ]
+ exit_wrong_platform

ERROR: Your are running the Macromedia Flash Media Server installer
  on the wrong platform.

When I comment the first fmsini call in the script
(RETVAL=`$cwd/fmsini -help`) then the next one fails
with the same error (Abort trap):

`$cwd/fmsini -checkports $FMS_SERVER_PORT`

I'm going to run fmsini on real Linux and copy the produced
files to OpenBSD, but still I wonder, what call is this fmsini
missing in the Linux emulation. Is there a way to find this out?

I'm attaching the partial output of strings fmsini and dmesg below.

Thank you
Alex


gate:FMS_2_0_2_r51_linux {1009} strings fmsini
/lib/ld-linux.so.2
libpthread.so.0
pthread_cond_wait
pthread_cond_timedwait
pthread_getspecific
pthread_exit
pthread_create
lseek
pthread_detach
pthread_key_create
pthread_cond_signal
pthread_cond_init
pthread_mutexattr_settype
pthread_mutex_unlock
pthread_self
pthread_mutexattr_init
pthread_mutex_destroy
pthread_mutex_lock
__errno_location
pthread_cond_destroy
pthread_mutex_init
_Jv_RegisterClasses
pthread_setspecific
libdl.so.2
__gmon_start__
dlopen
libstdc++.so.5
_ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj
_Znaj
_ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE
__cxa_rethrow
_ZNSt24__default_alloc_templateILb1ELi0EE5_LockD1Ev
_ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE
_ZSt17__throw_bad_allocv
_ZdlPv
__cxa_end_catch
_ZNSt24__default_alloc_templateILb1ELi0EE5_LockC1Ev
__gxx_personality_v0
_ZNSt24__default_alloc_templateILb1ELi0EE9_S_refillEj
_ZTVN10__cxxabiv117__class_type_infoE
_ZdaPv
_ZNSt24__default_alloc_templateILb1ELi0EE22_S_node_allocator_lockE
_ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvj
__cxa_begin_catch
_Znwj
libm.so.6
libgcc_s.so.1
_Unwind_Resume
libc.so.6
strcpy
__strtod_internal
utime
vswprintf
ungetc
memmove
getenv
wcslen
__strtol_internal
getpid
wcsrchr
vwprintf
memcpy
tmpfile
puts
tolower
feof
remove
iswspace
vsnprintf
wcsstr
rmdir
wcstombs
readdir
isspace
fflush
mbstowcs
gmtime_r
chmod
rename
strrchr
wcscpy
strcat
fseek
mktime
strstr
strncmp
strncpy
unlink
towupper
__cxa_atexit
isalpha
wcschr
fread
__xstat64
regcomp
gettimeofday
ftell
vfwprintf
regexec
opendir
strcmp
fgetc
sprintf
fclose
regerror
fputc
localtime_r
isdigit
fwrite
access
__xstat
wcsftime
towlower
__fxstat
wcscmp
fopen
catopen
fileno
_IO_stdin_used
__libc_start_main
toupper
strchr
realpath
closedir
fgetwc
mkdir
mbtowc
...skipped..
GLIBC_2.1
GCC_3.0
GLIBC_2.0
GLIBCPP_3.2.2
CXXABI_1.2
GLIBCPP_3.2
GLIBC_2.3.2
GLIBC_2.3
GLIBC_2.1.3
GLIBC_2.2
...skipped..

gate:FMS_2_0_2_r51_linux {1011} dmesg
OpenBSD 3.9-current (GENERIC.MP.gate) #0: Sat Apr 15 12:10:43 CEST 2006
   [EMAIL PROTECTED]:/sys/arch/i386/compile/GENERIC.MP.gate
cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 499 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 402214912 (392788K)
avail mem = 359591936 (351164K)
using 4278 buffers containing 20213760 bytes (19740K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(0f) BIOS, date 04/03/00, BIOS32 rev. 0 @ 0xfd7ac
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 @ 0xfd720/0x8e0
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 #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x3800 0xcb800/0x4000
mainbus0: Intel MP Specification (Version 1.4) (HP   XU/XW   )
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 99 MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 499 MHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x02
pci1 at 

Re: Flash Media Server: fmsini fails with Abort trap

2006-07-26 Thread Alexander Farber

On 7/26/06, Alexander Farber [EMAIL PROTECTED] wrote:

I'm going to run fmsini on real Linux and copy the produced
files to OpenBSD, but still I wonder, what call is this fmsini
missing in the Linux emulation. Is there a way to find this out?


Actually copying the files from Linux won't help to run FMS,
because most of its programs fail to start on OpenBSD:

gate:FMS_2_0_2_r51_linux {1017} ./fmscore
Abort
gate:FMS_2_0_2_r51_linux {1018} ./fmsadmin
Abort
gate:FMS_2_0_2_r51_linux {1019} ./fmsedge
Abort
gate:FMS_2_0_2_r51_linux {1020} ./fmsmaster
Abort
gate:FMS_2_0_2_r51_linux {1021} ./fmsmgr

Unknown command
Usage: ./fmsmgr command

Commands:
   list
   suggestName
   getAdmin
   setAdmin
   add service name install dir
   remove service name
   setAutoStart|clearAutoStart service name
   server service name options
   adminserver options

It looks like some single call is missing in the Linux emulation
in order to run the programs above, probably something basic...

Regards
Alex



Re: VPN(8)

2006-07-26 Thread Rogier Krieger

On 7/26/06, Gustavo Rios [EMAIL PROTECTED] wrote:

 # Pass encrypted traffic to/from security gateways
 pass in proto esp from $GATEWAY_B to $GATEWAY_A
 pass out proto esp from $GATEWAY_A to $GATEWAY_B

In the last two line above, if i wanted to specify the interface,
which of enc0 or $ext_if, should i use?


$ext_if, given the following rationale:

Your external interface will see the packets with ESP payload coming
from / going to the other gateway(s). Inbound, these packets require
processing; outbound, they are the result of processing. Your external
interface cannot - unless you do *very* unwise things - see the
internals of those packets; that's what your enc(4) interfaces can
help you with.


From enc(4):

The enc interface allows an administrator to see outgoing packets before
they have been processed by ipsec(4), or incoming packets after they have
been similarly processed, via tcpdump(8).

Cheers,

Rogier

--
If you don't know where you're going, any road will get you there.



Re: Help to debug Openbsd freezes...

2006-07-26 Thread Rogier Krieger

On 7/24/06, Xavier Mertens [EMAIL PROTECTED] wrote:

It's still running 3.5 (ok, ok, don't shoot, it's an old one but upgrades are 
not easy).


As another poster already mentioned: upgrades are an easy and well
documented process. Do your specific circumstances (e.g. problems to
physically access your co-located machines) make upgrades painful?

If so, you should probably solve that problem. If you can't perform
routine work such as upgrades, what do you do when an emergency pops
up?



For two weeks now, the box freezes randomly...


I've encountered such trouble as well. Several times, replacing the
power supply did the trick. You may want to keep those around at the
data centre.

Cheers,

Rogier

--
If you don't know where you're going, any road will get you there.



Re: ftp: -: short write on current when using pkg_add on ftp mirrors

2006-07-26 Thread Andreas Bartelt

Hi,

I've compiled some older snapshots of CURRENT and the last time it 
worked for me was July, 12th 00:00 (the build failed at texinfo, but 
pkg_add -ui -F update -F updatedepends worked afterwards).


A build from July, 14th 00:00 didn't work anymore, so I suppose the 
breakage was introduced on July 12th or 13th. There were no pkg_add or 
ftp related commits in this timeframe. What else could be the cause?


regards,
Andreas



Man mksmbpasswd

2006-07-26 Thread Karel Kulhavy
[EMAIL PROTECTED]:~$ which mksmbpasswd
/usr/local/bin/mksmbpasswd
[EMAIL PROTECTED]:~$ man mksmbpasswd
man: no entry for mksmbpasswd in the manual.
[EMAIL PROTECTED]:~$ pkg_info | grep samba
samba-3.0.21bp2 SMB and CIFS client and server for UNIX

Is there an aim in OpenBSD to have also manual pages for programs where
the original supplier doesn't supply a manual page?

CL



Re: Man mksmbpasswd

2006-07-26 Thread Will Maier
On Wed, Jul 26, 2006 at 12:50:41PM +0200, Karel Kulhavy wrote:
 [EMAIL PROTECTED]:~$ which mksmbpasswd
 /usr/local/bin/mksmbpasswd
 [EMAIL PROTECTED]:~$ man mksmbpasswd
 man: no entry for mksmbpasswd in the manual.
 [EMAIL PROTECTED]:~$ pkg_info | grep samba
 samba-3.0.21bp2 SMB and CIFS client and server for UNIX
 
 Is there an aim in OpenBSD to have also manual pages for programs
 where the original supplier doesn't supply a manual page?

Sure, but not every binary has/needs its own man page. The package
you're talking about comes with fully 39 man pages, including
smbpasswd(8). I don't use samba, but I'd be surprised if whatever it
was you were looking for wasn't described in one of those 39 pages.

$ grep '@man' /usr/ports/net/samba/pkg/PLIST*
39

net/samba could hardly be called undocumented. If you think
mksmbpasswd needs a man page, you should probably send a diff to the
samba folks.

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



Re: Flash Media Server: fmsini fails with Abort trap

2006-07-26 Thread Alexander Farber

I have kern.emul.linux=1 in /etc/sysctl.conf and
have installed the newest redhat_base-8.0p8 package.

Also I've updated to the newest -current.

Then I've copied these libraries from a RH Linux PC:

# ll /usr/local/emul/redhat/RHEL4
2848 -rwxr-xr-x  1 afarber  users  1438761 Jul 26 17:12 libc-2.3.4.so
 12 -rwxr-xr-x  1 afarber  users 5668 Jul 26 17:10 libcom_err.so.2.1
1888 -rwxr-xr-x  1 afarber  users   935112 Jul 26 17:05 libcrypto.so.0.9.7a
 60 -rwxr-xr-x  1 afarber  users29308 Jul 26 16:45
libgcc_s-3.4.4-20050721.so.1
160 -rwxr-xr-x  1 afarber  users80948 Jul 26 17:07 libgssapi_krb5.so.2.2
264 -rwxr-xr-x  1 afarber  users   134640 Jul 26 17:11 libk5crypto.so.3.0
864 -rwxr-xr-x  1 afarber  users   413704 Jul 26 17:08 libkrb5.so.3.2
376 -rwxr-xr-x  1 afarber  users   191052 Jul 26 16:59 libnspr4.so
 28 -rwxr-xr-x  1 afarber  users14332 Jul 26 17:00 libplc4.so
 20 -rwxr-xr-x  1 afarber  users 8264 Jul 26 17:00 libplds4.so
180 -rwxr-xr-x  1 afarber  users91889 Jul 26 17:18 libpthread-2.3.4.so
448 -rwxr-xr-x  1 afarber  users   211948 Jul 26 16:45 libssl.so.4
1472 -rwxr-xr-x  1 afarber  users   733488 Jul 26 16:45 libstdc++.so.5.0.7
208 -rwxr-xr-x  1 afarber  users  105213 Jul 26 17:45 ld-2.3.4.so

After that I've put that dir on the top of ld.so.conf:

# cat /emul/linux/etc/ld.so.conf
/RHEL4
/usr/lib
/usr/X11R6/lib
/usr/i486-linux-libc5/lib

And have run /emul/linux/sbin/ldconfig

Now the binaries seem to resolve libraries ok:

# ldd ~/FMS_2_0_2_r51_linux/fmsini
/home/afarber/FMS_2_0_2_r51_linux/fmsini:
   libpthread.so.0 = /RHEL4/libpthread.so.0 (0x52d98000)
   libdl.so.2 = /lib/libdl.so.2 (0x4c819000)
   libstdc++.so.5 = /RHEL4/libstdc++.so.5 (0x4dd1c000)
   libm.so.6 = /lib/libm.so.6 (0x5576e000)
   libgcc_s.so.1 = /RHEL4/libgcc_s.so.1 (0x48e91000)
   libc.so.6 = /RHEL4/libc.so.6 (0x56a62000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x51aed000)

But the binaries still don't run:

# ~/FMS_2_0_2_r51_linux/fmsini
~/FMS_2_0_2_r51_linux/fmsini: relocation error: /RHEL4/libc.so.6:
symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file
ld-linux.so.2 with link time reference

Does anybody have an idea here?

This has smth. to do with ld-linux.so.2 or libc.so.6? I've changed the links:

# ll /usr/local/emul/redhat/lib/ld-linux.so
0 lrwxr-xr-x  1 root  wheel  20 Jul 26 17:48
/usr/local/emul/redhat/lib/ld-linux.so - ../RHEL4/ld-2.3.4.so
# ll /usr/local/emul/redhat/lib/libc.so.6
0 lrwxr-xr-x  1 root  wheel  22 Jul 26 17:51
/usr/local/emul/redhat/lib/libc.so.6 - ../RHEL4/libc-2.3.4.so

But that didn't change anything

Regards
Alex



Re: Flash Media Server: fmsini fails with Abort trap

2006-07-26 Thread Alexander Farber

On 7/26/06, Alexander Farber [EMAIL PROTECTED] wrote:

# ~/FMS_2_0_2_r51_linux/fmsini
~/FMS_2_0_2_r51_linux/fmsini: relocation error: /RHEL4/libc.so.6:
symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file
ld-linux.so.2 with link time reference


I've found that symbol in /lib/ld-linux.so.2 on Linux

# objdump -T /lib/ld-linux.so.2 | grep rtld_global_ro
00015ca0 gDO .data.rel.ro   01cc  GLIBC_PRIVATE _rtld_global_ro

but after I've copied ld-2.3.4.so into /usr/local/emul/redhat/lib
I get the next error :-(

# ~/FMS_2_0_2_r51_linux/fmsini
/home/afarber/FMS_2_0_2_r51_linux/fmsini: relocation error:
/RHEL4/libpthread.so.0: symbol errno, version GLIBC_PRIVATE not
defined in file libc.so.6 with link time reference

# objdump -T /emul/linux/lib/libc-2.3.2.so|grep errno
000f41a8 gDF .text  00e5  GLIBC_2.0   clnt_perrno
00127ec0 gDO .bss   0004  GLIBC_2.0   errno
00129aa4 gDO .bss   0004  GLIBC_2.0   h_errno
00127ec0 gDO .bss   0004 (GLIBC_2.0)  _errno
000ea560  w   DF .text  0034  GLIBC_2.0   __h_errno_location
00015788  w   DF .text  0034  GLIBC_2.0   __errno_location
00129aa4  w   DO .bss   0004 (GLIBC_2.0)  _h_errno
000f4154 gDF .text  0054  GLIBC_2.0   clnt_sperrno

I've copied the file ld-2.3.4.so from the Linux PC (where FMS2 works),
but the error doesn't go away

# objdump -T /emul/linux/lib/libc-2.3.4.so | grep errno
000ea970 gDF .text  0106  GLIBC_2.0   clnt_perrno
00128340 gDO .bss   0004 (GLIBC_2.0)  _errno
00128340 gDO .bss   0004 (GLIBC_2.0)  errno
000de5d0 gDF .text  0031  GLIBC_2.0   __h_errno_location
00129f54 gDO .bss   0004 (GLIBC_2.0)  h_errno
00015610 gDF .text  0036  GLIBC_2.0   __errno_location
00129f54  w   DO .bss   0004 (GLIBC_2.0)  _h_errno
000ea5b0 gDF .text  0085  GLIBC_2.0   clnt_sperrno

# ll /emul/linux/lib/libc.so.6
0 lrwxr-xr-x  1 root  wheel  13 Jul 26 18:20 /emul/linux/lib/libc.so.6
- libc-2.3.4.so

Regards
Alex



Re: What do you use for MIME email?

2006-07-26 Thread David Terrell
On Wed, Jul 26, 2006 at 10:47:17AM -0400, Matthew P Szudzik wrote:
 My understanding is that Mail (equivalently mail or mailx) is the only 
 email client that is in the OpenBSD default install.  But Mail does not 
 handle MIME-encoded messages, so I was wondering what most people use to 
 read and send them.
 
 Do you download metamail and/or mpack from ports?
 Do you use a different email client like nail, nmh, or pine?

mutt.

 Why isn't there a MIME encoding/decoding solution in the default install?  
 (Or maybe there is, but I'm ignorant of it?)

Because there are a lot of different ones, many with non-BSD licenses
(mutt is GPLed, pine is not free at all), and you can't include just
one or two and make every one happy?

Because traditionally BSD didn't ship with anything more complex?

Because Theo uses mail(1) so clearly it's good enough for everyone?

Who knows.


-- 
David Terrell
[EMAIL PROTECTED]
((meatspace)) http://meat.net/



Re: What do you use for MIME email?

2006-07-26 Thread Paul de Weerd
On Wed, Jul 26, 2006 at 10:47:17AM -0400, Matthew P Szudzik wrote:
| My understanding is that Mail (equivalently mail or mailx) is the only
| email client that is in the OpenBSD default install.  But Mail does not
| handle MIME-encoded messages, so I was wondering what most people use to
| read and send them.
|
| Do you download metamail and/or mpack from ports?
| Do you use a different email client like nail, nmh, or pine?

Check out mutt, it's in packages and it's very nice. I don't know nail
or nmh, but it doesn't have the downsides of pine so I'd definitely
prefer mutt over pine.

Yes, I am a mutt user, so I'm biased. Please take that into
consideration ;) You should probably try out a couple of different
solutions and settle with what you like best.

Cheers,

Paul 'WEiRD' de Weerd

--
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: What do you use for MIME email?

2006-07-26 Thread Aaron W. Hsu
On Wed, Jul 26, 2006 at 10:47:17AM -0400, Matthew P Szudzik wrote:

 My understanding is that Mail (equivalently mail or mailx) is the
 only email client that is in the OpenBSD default install.  But Mail
 does not handle MIME-encoded messages, so I was wondering what most
 people use to read and send them.

I use Mutt, but have in the past used nmh (excellent), Gnus, and
Sylpheed.

 Do you download metamail and/or mpack from ports?  Do you use a
 different email client like nail, nmh, or pine?

IIRC, there is a solution to reading MIME messages with Mail, but I do
forget the precise method. 

 Why isn't there a MIME encoding/decoding solution in the default
 install?  (Or maybe there is, but I'm ignorant of it?)

Why would you want a MIME encoding solution in the default
installation? I mean, really, what do a large majority of systems need
MIME for? I would guess most people who use MIME are end-users who
want much more than the average Mail interface. It's just not a
practical idea to put that extra overhead for such a little
benefit. There are very adequate solutions in Ports, and they are easy
to install. Server systems running lean and mean will likely have no
use whatsoever for a MIME-enabled mail client.

Plus, there is, for me, that little sense of tradition that says you
don't want to see Pine or Mutt as the default mail client anyways on a
UNIX system. It's like always making sure ed is around. :-)

-- 
Aaron Hsu [EMAIL PROTECTED] 
http://www.aaronhsu.com 
XMPP/Jabber/GTalk: [EMAIL PROTECTED] | ICQ: 153114301
AIM/Yahoo: NoorahAbeer | MSN: [EMAIL PROTECTED]



Re: What do you use for MIME email?

2006-07-26 Thread Darrin Chandler
On Wed, Jul 26, 2006 at 10:47:17AM -0400, Matthew P Szudzik wrote:
 My understanding is that Mail (equivalently mail or mailx) is the only 
 email client that is in the OpenBSD default install.  But Mail does not 
 handle MIME-encoded messages, so I was wondering what most people use to 
 read and send them.
 
 Do you download metamail and/or mpack from ports?
 Do you use a different email client like nail, nmh, or pine?
 
 Why isn't there a MIME encoding/decoding solution in the default install?  
 (Or maybe there is, but I'm ignorant of it?)

Why would I want or need a MIME email client on my firewall? ;)

Also, there are a LOT of choices and opinions on which client to use,
and with pkg_add they are very easy to install.

I had used pine for many years, and Thunderbird. I've given them up and
now I use mutt.

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: What do you use for MIME email?

2006-07-26 Thread Aaron W. Hsu
On Wed, Jul 26, 2006 at 07:13:06PM +0200, Paul de Weerd wrote:
 On Wed, Jul 26, 2006 at 10:47:17AM -0400, Matthew P Szudzik wrote:
 | My understanding is that Mail (equivalently mail or mailx) is the only
 | email client that is in the OpenBSD default install.  But Mail does not
 | handle MIME-encoded messages, so I was wondering what most people use to
 | read and send them.
 |
 | Do you download metamail and/or mpack from ports?
 | Do you use a different email client like nail, nmh, or pine?
 
 Check out mutt, it's in packages and it's very nice. I don't know nail
 or nmh, but it doesn't have the downsides of pine so I'd definitely
 prefer mutt over pine.
 
 Yes, I am a mutt user, so I'm biased. Please take that into
 consideration ;) You should probably try out a couple of different
 solutions and settle with what you like best.

Speaking from all sides here's my layout of the MIME capable readers:

- Mutt
  Excellent IMAP/PGP support, which is why I currently use it.
- Gnus
  Configurable like nothing I have ever seen before, also excellent
  PGP and IMAP support, but YMMV since it's Emacs.
- NMH
  Great little client if you work at a command line a lot, since each
  piece is a unique program, making it easy to intersperse commands
  and mail commands. MIME support is good, but can be clumsy if you
  don't understand how it does it (kind of like the commands
  interface).
- Sylpheed
  Nice GUI, seems small enough, but, it's a GUI, so . . . yeah. :-)
  Good IMAP support.
- Thunderbird
  Nice for the masses, does things that it does fairly well, but feels
  larger than necessary. PGP support is good through and extension.
- Mailx
  This *is* a good program, but handling MIME is a bit strange IIRC.

-- 
Aaron Hsu [EMAIL PROTECTED] 
http://www.aaronhsu.com 
XMPP/Jabber/GTalk: [EMAIL PROTECTED] | ICQ: 153114301
AIM/Yahoo: NoorahAbeer | MSN: [EMAIL PROTECTED]



Re: What do you use for MIME email?

2006-07-26 Thread Lyndon Nerenberg

Why would you want a MIME encoding solution in the default
installation? I mean, really, what do a large majority of systems need
MIME for?


1) Character set support.  These days I suspect the number of Unix users 
who can live completely within the US-ASCII glyph set are in the minority.


2) PGP/MIME and S/MIME.  Even without doing crypto processing, MIME lets 
the MUA display only the human readable parts without contortions.


MIME has been around for 14 years.  There's no excuse for any MUA not to 
be able to deal with it at least minimally.  In the case of /usr/bin/Mail 
that means recognizing content types and only displaying text/* sections 
when printing to the screen.  It doesn't *have* to be complicated.


--lyndon



Re: What do you use for MIME email?

2006-07-26 Thread Aaron W. Hsu
On Wed, Jul 26, 2006 at 11:31:39AM -0600, Lyndon Nerenberg wrote:
 Why would you want a MIME encoding solution in the default
 installation? I mean, really, what do a large majority of systems need
 MIME for?
 
 1) Character set support.  These days I suspect the number of Unix users 
 who can live completely within the US-ASCII glyph set are in the minority.

Again, I doubt that an MUA having this functionality is really going
to be in high demand on the large majority of firewalls, web servers,
mail servers, or other such servers which are not meant to be the end
point to reading mail. Of course, that does not mean that it is not
useful, but I do believe this means it is outside the scope of the
default installation, which, to my understanding, is to be a minimal
installation with minimal feature-set and minimal problem points.

 2) PGP/MIME and S/MIME.  Even without doing crypto processing, MIME lets 
 the MUA display only the human readable parts without contortions.

Again, I don't see this as applicable to the problem that ought to be
solved by the default installation of OpenBSD. The purpose of the
default base installation is not be be a full on installation designed
to fit every users need, but the smallest basic set of generally
useful functions that allows for easy expansion and addition. Under
this notion, it seems easier and more productive to relegate such
additional features to packages and Ports.

 MIME has been around for 14 years.  There's no excuse for any MUA not to 
 be able to deal with it at least minimally.  In the case of /usr/bin/Mail 
 that means recognizing content types and only displaying text/* sections 
 when printing to the screen.  It doesn't *have* to be complicated.

It would still represent an unnecessary additional effort for an
arguably minimal amount of gain for the developer's purposes, imo. Of
course, this is not to say that I have anything really great to say
here. I am not an official developer, and I don't really have that
much clout around here, so I can't really say. What I can say is that
if I had the choice, I would not put in an MUA that supported MIME for
just the reasons you have expressed here, even though I use OpenBSD as
a Desktop Development Workstation and I deal and use PGP, MIME, and my
mail client on a daily basis.

-- 
Aaron Hsu [EMAIL PROTECTED] 
http://www.aaronhsu.com 
XMPP/Jabber/GTalk: [EMAIL PROTECTED] | ICQ: 153114301
AIM/Yahoo: NoorahAbeer | MSN: [EMAIL PROTECTED]



Re: What do you use for MIME email?

2006-07-26 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] 
  Why isn't there a MIME encoding/decoding solution in the 
 default install?  
  (Or maybe there is, but I'm ignorant of it?)

Why does it matter? There are lots of things not in the default install.

Why do people always act like not having something in the default install is
a problem?

 $ pkg_add -i mutt   # or whatever you like...

DS



Re: What do you use for MIME email?

2006-07-26 Thread J Moore
On Wed, Jul 26, 2006 at 11:31:39AM -0600, the unit calling itself Lyndon 
Nerenberg wrote:
 Why would you want a MIME encoding solution in the default
 installation? I mean, really, what do a large majority of systems need
 MIME for?
 
 1) Character set support.  These days I suspect the number of Unix users 
 who can live completely within the US-ASCII glyph set are in the minority.
 
 2) PGP/MIME and S/MIME.  Even without doing crypto processing, MIME lets 
 the MUA display only the human readable parts without contortions.
 
 MIME has been around for 14 years.  There's no excuse for any MUA not to 
 be able to deal with it at least minimally.  In the case of /usr/bin/Mail 
 that means recognizing content types and only displaying text/* sections 
 when printing to the screen.  It doesn't *have* to be complicated.

Lyndon is right... and in recognition of that I understand that the 
project lead is negotiating with Microsoft (through Warren Buffet) to 
port Outlook to OpenBSD. Theo will provide more details...



Re: What do you use for MIME email?

2006-07-26 Thread Inigo Tejedor Arrondo
El mii, 26-07-2006 a las 10:40 -0700, Spruell, Darren-Perot escribis:
 From: [EMAIL PROTECTED] 
   Why isn't there a MIME encoding/decoding solution in the 
  default install?  
   (Or maybe there is, but I'm ignorant of it?)
 
 Why does it matter? There are lots of things not in the default install.

I think it is a good feature... you can use a Terabyte or a 256Mb flash
card :)

 Why do people always act like not having something in the default install is
 a problem?

Because of others influences ?

  $ pkg_add -i mutt   # or whatever you like...

# pkg_add windowsvista doesn't work ;)

 
 DS
 



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y msviles desde 1 cintimo por minuto. 
http://es.voice.yahoo.com




Re: What do you use for MIME email?

2006-07-26 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] 
 MIME has been around for 14 years.  There's no excuse for any 
 MUA not to 
 be able to deal with it at least minimally.  In the case of 
 /usr/bin/Mail 
 that means recognizing content types and only displaying 
 text/* sections 
 when printing to the screen.  It doesn't *have* to be complicated.

Good lord, do these threads never end?

Email support as configured in the base install serves one purpose -
delivering system notifications to the admin.

Since the base install won't be delivering MIME messages, what purpose does
it serve? You don't get other email functionality without reconfiguring your
MTA. Since you're going to have to reconfigure mail support in the first
place to receive inbound PGP, S/MIME, and attachments, install a new MUA
while you're at it.

DS



Re: What do you use for MIME email?

2006-07-26 Thread Darrin Chandler
On Wed, Jul 26, 2006 at 11:40:30AM -0700, Spruell, Darren-Perot wrote:
 
 Good lord, do these threads never end?

Replying with that somewhat invalidates your point. That is something
that one should mumble while hitting the delete key. ;)

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: What do you use for MIME email?

2006-07-26 Thread Diana Eichert
On Wed, 26 Jul 2006, Matthew P Szudzik wrote:

 My understanding is that Mail (equivalently mail or mailx) is the only
 email client that is in the OpenBSD default install.  But Mail does not
 handle MIME-encoded messages, so I was wondering what most people use to
 read and send them.

For reading mail on my OpenBSD systems I use mail on the local system.
 However I have my systems configured to forward all my accounts to a
single account on one system.  On that system I use either mutt or pine.
When I want to send an e-mail with a MIME attachment from the command line
or in a script I use mailit from Chuck Gagnon.  He posted about it here,
http://archives.neohapsis.com/archives/openbsd/2005-03/2792.html and it is
available from here, http://homepage.mac.com/gagnocg/downloads/ .

 Do you download metamail and/or mpack from ports?
 Do you use a different email client like nail, nmh, or pine?

nope, yes, mailit

 Why isn't there a MIME encoding/decoding solution in the default install?
 (Or maybe there is, but I'm ignorant of it?)

What part of the default install requires the use of a MUA that supports
MIME attachments?

diana

Past hissy-fits are not a predictor of future hissy-fits.
Nick Holland(06 Dec 2005)



Looking to start developing OpenBSD

2006-07-26 Thread Nick Price
I'm interested in starting to do development on the OpenBSD OS.  What are
some good tasks that need to be done that someone isn't currently working
on?  Someone suggested ACPId, but apparently it's already being worked on.

Thanks
Nick



Re: Looking to start developing OpenBSD

2006-07-26 Thread Pedro Martelletto
On Wed, Jul 26, 2006 at 12:19:45PM -0700, Nick Price wrote:
 What are some good tasks that need to be done that someone isn't
 currently working on?

Searching the archives :-)

-p.



Re: Looking to start developing OpenBSD

2006-07-26 Thread Leonardo Rodrigues

Would you please implement the C99 %a string format support that is
missing in our libc? :DD
I'd love if someone could do it =)

Anyway, you could start by taking a look at the bug tracking system
(http://www.openbsd.org/query-pr.html). *Plenty* of work to be done
there.

On 7/26/06, Nick Price [EMAIL PROTECTED] wrote:

I'm interested in starting to do development on the OpenBSD OS.  What are
some good tasks that need to be done that someone isn't currently working
on?  Someone suggested ACPId, but apparently it's already being worked on.

Thanks
Nick





--
An OpenBSD user... and that's all you need to know =)



Re: Looking to start developing OpenBSD

2006-07-26 Thread Otto Moerbeek
On Wed, 26 Jul 2006, Nick Price wrote:

 I'm interested in starting to do development on the OpenBSD OS.  What are
 some good tasks that need to be done that someone isn't currently working
 on?  Someone suggested ACPId, but apparently it's already being worked on.

General guideline: pick something that interests you or something you
need yourself. I would suggest starting with small tasks, to get to
know the ways of getting code into the tree; as a start the PR
database contains a lot of tasks. 

-Otto



Re: What do you use for MIME email?

2006-07-26 Thread Melameth, Daniel D.
J Moore wrote:
 Lyndon is right... and in recognition of that I understand that the
 project lead is negotiating with Microsoft (through Warren Buffet) to
 port Outlook to OpenBSD. Theo will provide more details...

(Can't... help... it...  Must... reply...)

That's great news!  I look forward to seeing more of Warren's 40+
billion dollar stipend to the Bill and Melinda Gates Foundation being
applied towards improving lives around the world through supporting
better open software for all.



Re: Looking to start developing OpenBSD

2006-07-26 Thread Greg Thomas

On 7/26/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:

Would you please implement the C99 %a string format support that is
missing in our libc? :DD
I'd love if someone could do it =)

Anyway, you could start by taking a look at the bug tracking system
(http://www.openbsd.org/query-pr.html). *Plenty* of work to be done
there.



Yeah, yeah.  Preferrably start on #5054.

Greg



Re: Looking to start developing OpenBSD

2006-07-26 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] 
 On 7/26/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
  Would you please implement the C99 %a string format support that is
  missing in our libc? :DD
  I'd love if someone could do it =)
 
  Anyway, you could start by taking a look at the bug tracking system
  (http://www.openbsd.org/query-pr.html). *Plenty* of work to be done
  there.
 
 
 Yeah, yeah.  Preferrably start on #5054.

No, no. Fix the alpha bug.

 http://archives.neohapsis.com/archives/openbsd/2005-12/1418.html

DS



OpenBSD Gateway to replace old Linux gateway

2006-07-26 Thread elaconta.com Webmaster
Howdy

We have here an old (Mandrake Linux 8 - yeah i know...) PC with two NICs
which serves as a firewall for our LAN and runs a Bind caching nameserver.
Although the machine is getting old, it still works well. Thing is, i'm
having a hard time trying to reproduce it, that is, getting another PC
to do exactly the same thing this PC is doing. It was configured by a
guy that left the company, so i can't simply ask him how he configured
it configured.
It's a precautionary measure, if the machine breaks down we need another
one to go in its place.
So while am at it i would love to replace the crusty old thing with a
new one running OpenBSD.
The networking scheme is:

Router (192.168.1.120) - (192.168.1.121) Firewall PC (192.168.1.122)
- (192.168.1.0/24) LAN

Now, thing is, the Linux firewall has two NICs:

NIC 1: 192.168.1.121
NIC 2: 192.168.1.122

The two NICs on the Linux box are configured with 192.168.1.121 and
192.168.1.122, both interfaces on the same subnet. 192.168.1.121 acesses
the company router (192.168.1.120) and 192.168.1.122 acesses the company
LAN (192.168.1.0/24)
From what i've googled, this shouldn't even be possible, everything is
on the same subnet. Regardless, it works great, and if i went and got an
OpenBSD rig to replace the old Linux rig, it would have to retain this
networking scheme, we can't afford to reconfigure the entire network
just for switching our firewall.

I known we could use a network bridge, but we need the caching
nameserver functionality.

I'm an all round Unix guy, but i'm a bit green on the routing departament.

Can an OpenBSD box be configured the same way the Linux box is so it can
be a drop-in replacement for the Linux box? I can of course depict in
further detail the configuration of the Linux box (netstat -r to show
the routes, ifconfig or whatever).

-
Elaconta.com Webmaster
-



Re: stopping robots

2006-07-26 Thread Nick Guenther

On 7/25/06, Mike Erdely [EMAIL PROTECTED] wrote:

prad wrote:
 what is the best way to stop those robots and spiders from getting in?

Someone on this list (who can reveal themselves if they want) has a
pretty good setup to block disrespectful robots.

They have a robots.txt file that specifies a Disallow: /somedir/.
Anyone that actually GOES into that directory gets blocked by PF.

It'd be pretty easy to parse your /var/www/logs/access_log for accesses
of /somedir/ and have them added to a table.

-ME



Arxiv dumps massive amounts of data at you and then blocks you if you
access a special robot-trap page. See
http://arxiv.org/RobotsBeware.html.

If using a CGI/template-based or frame-based site It would not be
difficult to generate a new trap page every day and link it on all
pages for robots to fall in to. You could even make the url sound
reasonable by using a wordbank so that statistical analysis of the
characters can't pick out the real links from the trap ones. You'd
also have to make sure to move the link around (i.e. just having the
trap as the last link on every page is obvious).

However the above is probably excessive; robot authors really aren't
that unlazy (that's the whole reason they are running a robot in the
first place).

-Nick



Re: OpenBSD Gateway to replace old Linux gateway

2006-07-26 Thread Stuart Henderson
On 2006/07/26 23:37, elaconta.com Webmaster wrote:
 Router (192.168.1.120) - (192.168.1.121) Firewall PC (192.168.1.122)
 - (192.168.1.0/24) LAN

 From what i've googled, this shouldn't even be possible, everything is
 on the same subnet. Regardless, it works great, and if i went and got an
 OpenBSD rig to replace the old Linux rig, it would have to retain this
 networking scheme, we can't afford to reconfigure the entire network
 just for switching our firewall.

Ah, it sounds like you're not running DHCP then... If you do get
the opportunity sometime, it's probably worth doing (even if you use
it to hand out static addresses).

 I known we could use a network bridge, but we need the caching
 nameserver functionality.

Bridging doesn't prevent this. The main problem area I've seen is
with ftp-proxy (some old posts suggested it can work but I've never
been able to get it running. ftpsesame isn't as clean but is great
in this situation). Running standard services on a box that's also
a bridge works ok.

You can probably bridge and on one of the interfaces, set one address
as /24, one as /32 alias. If the default route of LAN machines is .122
rather than .120, also turn on inet.ip.forwarding. In that case,
packets LAN-router will be routed via 122, packets router-LAN will
be bridged. If it doesn't work out, tcpdump (from various points on
the network) is your friend.

I guess that the Linux box may be proxy-arp'ing. With Linux
proxy-arp can be bound to a certain interface; that's not the
case here so it doesn't really work in this situation (you'd
be answering ARP requests on the same network the real host
is on).



Re: OpenBSD Gateway to replace old Linux gateway

2006-07-26 Thread Nick Holland

elaconta.com Webmaster wrote:

Howdy

We have here an old (Mandrake Linux 8 - yeah i know...) PC with two NICs
which serves as a firewall for our LAN and runs a Bind caching nameserver.
Although the machine is getting old, it still works well. Thing is, i'm
having a hard time trying to reproduce it, that is, getting another PC
to do exactly the same thing this PC is doing. It was configured by a
guy that left the company, so i can't simply ask him how he configured
it configured.
It's a precautionary measure, if the machine breaks down we need another
one to go in its place.


Yes You Do.


So while am at it i would love to replace the crusty old thing with a
new one running OpenBSD.
The networking scheme is:

Router (192.168.1.120) - (192.168.1.121) Firewall PC (192.168.1.122)
- (192.168.1.0/24) LAN

Now, thing is, the Linux firewall has two NICs:

NIC 1: 192.168.1.121
NIC 2: 192.168.1.122

The two NICs on the Linux box are configured with 192.168.1.121 and
192.168.1.122, both interfaces on the same subnet. 192.168.1.121 acesses
the company router (192.168.1.120) and 192.168.1.122 acesses the company
LAN (192.168.1.0/24)
From what i've googled, this shouldn't even be possible, everything is
on the same subnet. Regardless, it works great, and if i went and got an
OpenBSD rig to replace the old Linux rig, it would have to retain this
networking scheme, we can't afford to reconfigure the entire network
just for switching our firewall.


NO, you can't afford to avoid switching your firewall because of a 
misconfigured network.


Your network is broke NOW.  If that old box dies or gets rooted (if it 
hasn't been already), you will be looking at a lot bigger problems than 
renumbering a network.



I known we could use a network bridge, but we need the caching
nameserver functionality.


Not everything has to be in one box.  I don't know how big your company 
is, but I'm sure you have spare boxes lying around you can use as a DNS 
resolver/server.  Split the task up if you need to.  Or..put an IP 
address on one leg of the bridge.  Lots of options.



I'm an all round Unix guy, but i'm a bit green on the routing departament.

Can an OpenBSD box be configured the same way the Linux box is so it can
be a drop-in replacement for the Linux box? I can of course depict in
further detail the configuration of the Linux box (netstat -r to show
the routes, ifconfig or whatever).


If your network is dependent upon strange tricks, it is misconfigured. 
If you can't pull one part out and replace it with another one, it is 
misconfigured.  You should be able to chose the components that serve 
you best, not live with the only thing that works.


It is better to fix this on your schedule than to react to a disaster 
when it happens (note use of the word when...)


Keep in mind...rather than renumbering your internal network, you can 
just re-address your router to a different subnet, then you can put a 
standard network configuration in place, ta-da, problem solved.


(ew, ick.  I might have just thought of how to do what you want with 
OpenBSD, but the basic idea is so wrong, I don't want to do anything to 
encourage you to do anything other than FIX YOUR NETWORK PROPERLY).


Nick.



Re: What do you use for MIME email?

2006-07-26 Thread Nick Holland

Lyndon Nerenberg wrote:
...
MIME has been around for 14 years.  There's no excuse for any MUA not to 
be able to deal with it at least minimally.  In the case of 
/usr/bin/Mail that means recognizing content types and only displaying 
text/* sections when printing to the screen.  It doesn't *have* to be 
complicated.


Your diff demonstrating this simplicity seems to have been stripped by 
the mail lists.  Please resubmit it in-line...


Nick.



Re: What do you use for MIME email?

2006-07-26 Thread Darrin Chandler
On Wed, Jul 26, 2006 at 08:29:17PM -0400, Nick Holland wrote:
 Lyndon Nerenberg wrote:
 ...
 MIME has been around for 14 years.  There's no excuse for any MUA not to 
 be able to deal with it at least minimally.  In the case of 
 /usr/bin/Mail that means recognizing content types and only displaying 
 text/* sections when printing to the screen.  It doesn't *have* to be 
 complicated.
 
 Your diff demonstrating this simplicity seems to have been stripped by 
 the mail lists.  Please resubmit it in-line...
 
 Nick.

Now and then you make me chuckle.

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: OpenBSD Gateway to replace old Linux gateway

2006-07-26 Thread Jason Stubbs

elaconta.com Webmaster wrote:

The networking scheme is:

Router (192.168.1.120) - (192.168.1.121) Firewall PC (192.168.1.122)
- (192.168.1.0/24) LAN

Now, thing is, the Linux firewall has two NICs:

NIC 1: 192.168.1.121
NIC 2: 192.168.1.122

The two NICs on the Linux box are configured with 192.168.1.121 and
192.168.1.122, both interfaces on the same subnet. 192.168.1.121 acesses
the company router (192.168.1.120) and 192.168.1.122 acesses the company
LAN (192.168.1.0/24)
  
Looks like a host route to me... I'd have to look up the equivalents on 
OpenBSD but, to give you a start, the above would be configured on Linux 
with:

# ifconfig eth0 192.168.1.121 netmask 255.255.255.0 metric 10
# ifconfig eth1 192.168.1.122 netmask 255.255.255.0 metric 5
# route add -host 192.168.1.120 dev eth0
# route add default gw 192.168.1.120

--
Jason Stubbs



Re: OpenBSD Gateway to replace old Linux gateway

2006-07-26 Thread Lars Hansson
On Thursday 27 July 2006 06:37, elaconta.com Webmaster wrote:

 Router (192.168.1.120) - (192.168.1.121) Firewall PC (192.168.1.122)
 - (192.168.1.0/24) LAN

 Now, thing is, the Linux firewall has two NICs:

 NIC 1: 192.168.1.121
 NIC 2: 192.168.1.122

 The two NICs on the Linux box are configured with 192.168.1.121 and
 192.168.1.122, both interfaces on the same subnet. 192.168.1.121 acesses
 the company router (192.168.1.120) and 192.168.1.122 acesses the company
 LAN (192.168.1.0/24)


This setup is broken 8 days to Sunday.  I cant fathom how incompetent the 
previous guy had to be to even come up with it.

 Regardless, it works great,
I think you mean against all odds this horror of a network design hasn't 
exploded in our faces yet.

 OpenBSD rig to replace the old Linux rig, it would have to retain this
 networking scheme, we can't afford to reconfigure the entire network
 just for switching our firewall.

No, you cant afford to keep the fundamentally broken scheme.
Seriously, it WILL come back and bite you in the ass sooner or later.
It's not a lot to do really. Presuming all workstations has .122 as default 
gateway all you should have to do is get an openbsd box with two network 
interfaces, connect one to the lan and the other to the router (via a 
crosscable) and use some other private IP space between the router and the fw 
(say, 192.168.0.0/30).
Heck, if the wan interface of the router is ethernet you can get rid of the 
router alltogether.

 I known we could use a network bridge, but we need the caching
 nameserver functionality.

As Nick said, I'm sure you have some old box around you can use as a caching 
nameserver.

 Can an OpenBSD box be configured the same way the Linux box is so it can
 be a drop-in replacement for the Linux box?

Probably but I don't want to help you put a bullet to your head.

---
Lars Hansson



ping brad (was Re: em(4) remains in unknown link state until inserting a cable)

2006-07-26 Thread Matthew R. Dempsky
(Apologies to the list: I was unable to make direct contact with Brad.)

Brad:

I sent you email twice this month regarding em(4)'s unknown link state 
behavior, but have not heard back yet.  Have you simply not had time to 
reply yet or were my messages lost in transit?

Thanks.


Date: Sun, 9 Jul 2006 12:30:23 -0500
From: Matthew R. Dempsky [EMAIL PROTECTED]
To: Brad [EMAIL PROTECTED]
Subject: Re: em(4) remains in unknown link state until inserting a cable
Message-ID: [EMAIL PROTECTED]

On Sun, Jul 09, 2006 at 12:36:51PM -0400, Brad wrote:
 Are you running 3.9 -release/-stable or -current?

-current.

 If I send you a diff could you test it out?

Sure.


Date: Fri, 21 Jul 2006 20:26:57 -0500
From: Matthew R. Dempsky [EMAIL PROTECTED]
To: Brad [EMAIL PROTECTED]
Subject: Re: em(4) remains in unknown link state until inserting a cable
Message-ID: [EMAIL PROTECTED]

On Sun, Jul 09, 2006 at 12:30:00PM -0500, Matthew R. Dempsky wrote:
 On Sun, Jul 09, 2006 at 12:36:51PM -0400, Brad wrote:
  If I send you a diff could you test it out?
 
 Sure.

Did I miss this patch or is it still forthcoming?

Thanks.



SMP - dual xeon issue

2006-07-26 Thread ax
Hi all.

Brand new dual xeon machine - looking forward to getting OpenBSD 3.9
running on it.  Problem... getting this message every second.

  ichiic0: timeout, status 0x0
  ichiic0: transaction abort failed, status 0x42INTR,INUSE

I've searched the archives and googled and I've found this issue raised,
but no solutions proposed.  I've messed with my BIOS settings, no joy.

Complete dmesg posted below (with the repeating error messages chopped).

Thanks for any help!

Cheers,
Alex
[EMAIL PROTECTED]

- - - - - - -

OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 3757404160 (3669340K)
avail mem = 3422244864 (3342036K)
using 4278 buffers containing 187973632 bytes (183568K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 03/29/05, BIOS32 rev. 0 @
0xf0010
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 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf51d0/336 (19 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev
0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000
ipmi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4) (INTELLINDENHURST )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
mainbus0: bus 0 is type PCI   
mainbus0: bus 1 is type PCI   
mainbus0: bus 2 is type PCI   
mainbus0: bus 3 is type PCI   
mainbus0: bus 4 is type PCI   
mainbus0: bus 5 is type ISA   
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 9 pa 0xfec1, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7320 MCH rev 0x0c
ppb0 at pci0 dev 2 function 0 Intel MCH PCIE rev 0x0c
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 Intel MCH PCIE rev 0x0c
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 0 Intel 6300ESB PCIX rev 0x02
pci3 at ppb2 bus 3
em0 at pci3 dev 3 function 0 Intel PRO/1000MT (82541GI) rev 0x00: apic
9 int 2 (irq 10), address 00:30:48:56:81:86
em1 at pci3 dev 4 function 0 Intel PRO/1000MT (82541GI) rev 0x00: apic
9 int 3 (irq 10), address 00:30:48:56:81:87
uhci0 at pci0 dev 29 function 0 Intel 6300ESB USB rev 0x02: apic 8 int
16 (irq 10)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 5300ESB USB rev 0x02: apic 8 int
19 (irq 5)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
Intel 6300ESB WDT rev 0x02 at pci0 dev 29 function 4 not configured
Intel 6300ESB APIC rev 0x02 at pci0 dev 29 function 5 not configured
ehci0 at pci0 dev 29 function 7 Intel 6300ESB USB rev 0x02: apic 8 int
23 (irq 5)
ehci0: timed out waiting for BIOS
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x0a
pci4 at ppb3 bus 4
vga1 at pci4 dev 5 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 Intel 6300ESB LPC rev 0x02
pciide0 at pci0 dev 31 function 2 Intel 6300ESB SATA rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-RW GWA-4082N, CS01 SCSI0
5/cdrom removable
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd0 at pciide0 channel 1 drive 0: WDC WD4000KD-00NAB0
wd0: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd1 at pciide0 channel 1 drive 1: WDC WD4000KD-00NAB0
wd1: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 6300ESB SMBus rev
0x02pci_intr_map: bus 0 dev 31 func 3 pin 2; line 11
pci_intr_map: no MP mapping found
: irq 11
iic0 at ichiic0
lm1 at iic0 addr 0x2c: W83627HF
lm2 at iic0 addr 0x2f: W83782D rev D
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at