Re: Dell PE1950 III - Perc 6i

2008-01-28 Thread J.W. Zondag
Below dmesg:

OpenBSD 4.2-current (RAMDISK_CD) #612: Tue Jan 22 17:56:50 MST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Xeon(R) CPU E5440 @ 2.83GHz (GenuineIntel 686-class) 2.83 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,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 1068400640 (1018MB)
avail mem = 1027047424 (979MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/27/07, BIOS32 rev. 0 @
0xffe90, SMBIOS rev. 2.4 @ 0x3fb9c000 (64 entries)
bios0: vendor Dell Inc. version 2.0.1 date 10/27/2007
bios0: Dell Inc. PowerEdge 1950
acpi0 at bios0: rev 2, can't enable ACPI
bios0: ROM list: 0xc/0x9000! 0xc9000/0x1000 0xca000/0x1e00
0xcc000/0x5e00 0xec000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
pci3 at ppb2 bus 6
ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci4 at ppb3 bus 7
bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01
pci5 at ppb4 bus 8
ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
pci6 at ppb5 bus 9
ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
pci7 at ppb6 bus 1
mfi0 at pci7 dev 0 function 0 Symbios Logic SAS1078 rev 0x04, Dell
PERC 6/i integrated: irq 5
mfi0: firmware stuck in state 0
mfi0: can't attachppb7 at pci0 dev 4 function 0 Intel 5000 PCIE rev 0x12
pci8 at ppb7 bus 10
bge0 at pci8 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
(0x4201): irq 5, address 00:10:18:31:68:d0
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb8 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12
pci9 at ppb8 bus 11
ppb9 at pci0 dev 6 function 0 Intel 5000 PCIE rev 0x12
pci10 at ppb9 bus 12
ppb10 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12
pci11 at ppb10 bus 13
pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12
pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12
pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12
pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12
pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12
pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12
pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12
ppb11 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09
pci12 at ppb11 bus 2
ppb12 at pci12 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
pci13 at ppb12 bus 3
bnx1 at pci13 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: irq 11
uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: irq 10
uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: irq 11
uhci3 at pci0 dev 29 function 3 Intel 6321ESB USB rev 0x09: irq 10
ehci0 at pci0 dev 29 function 7 Intel 6321ESB USB rev 0x09: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb13 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xd9
pci14 at ppb13 bus 14
vga1 at pci14 dev 13 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 Intel 6321ESB LPC rev 0x09: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 6321ESB IDE rev 0x09: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR-T10N, 1.02 SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
usb1 at uhci0: USB revision 1.0
-snip-

2008/1/25, Marco Peereboom [EMAIL PROTECTED]:
 I added the pci ids but it obviously didn't work.  Can you send me the
 dmesg?

 On Fri, Jan 25, 2008 at 12:18:36AM +0100, J.W. Zondag wrote:
  Hi,
 
  Just got this machine from Dell.
  Tried to install OpenBSD 4.2-current (23-01-2008) but it dit not
  recognize the raid1 disk.
  Any idea when Perc 6i will be added?
 
  ---
  Thanks
  JW



Re: vlan trunking with a powerconnect 5224

2008-01-28 Thread Kent Watsen
On a lark I just executed `ifconfig trunk0 up` and now my trunk is 
working!  And, to make it come up automatically, I just added the single 
line up to hostname.trunk0...


BTW, the trunk interface is not documented in hostname.if(5)

Thanks anyways,
Kent




Kent Watsen wrote:


Looking at the output from `ifconfig` (see below), I notice that the 
trunk0 doesn't show that its UP - why wouldn't it be up?


Thanks,
Kent




Re: looking for openbsd friendly server vendor

2008-01-28 Thread NetOne - Doichin Dokov

Lord Sporkton ??:

Perhaps i was wrong but i thought openbsd was only 32 bit for now?
Yup, you're wrong. There's amd64 port, which runs fine on all x86 64-bit 
CPUs.




Test, please ignore...

2008-01-28 Thread Zbigniew Baniewski
Just testing; sorry for inconvenience.
-- 
pozdrawiam / regards

Zbigniew Baniewski



panic: bogus long slot station count 0

2008-01-28 Thread Frank Bax

It's been an interesting two days.  About a week ago, my OLPC XO arrived
in the mail; I turned it on and tried to find my wireless network.
Almost immediately my family complains there's no internet!  Panic on
the OpenBSD router.  Well, I had my work cut out for me because I'd
never setup serial console before.  Thanks to FAQ; changes on router
were quite easy (even though it's i386 and there were lots of caveats
about maybe it won't work).  Then to find a null-modem cable (I knew I
had usb/serial cable, but it took some time to find it).  I could have
done it with just the null-modem cable; but that would mean I'd use a
windows system for console and I thought if I was going to do this; I'd
do it right - OpenBSD all the way.  I did use a windows machine to make
sure everything was setup and hookup correctly; since I had used
hyperterm and null modems cables in another life.  Then came a BIG
problem (for me).  What program does one use on OpenBSD to talk on the
serial port?  I figured the answer had to be out there somewhere (it was
- 'tip'); but it took me HOURS to find it.  By comparison, it took only
a few minutes to learn how to modify /etc/remote to talk to usb/serial
cable on ttyU0.  Then I had to wait for the people in the house to stop
using the internet...

panic is easily reproducible...
- power up the OLPC XO
- goto neighbourhood
- click on icon for my router.
- the OpenBSD router panics.

I'm not sure what to include, but here is ifconfig, trace, ps, dmesg.

$ ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33208
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
fxp0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:06:29:33:a4:91
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::206:29ff:fe33:a491%fxp0 prefixlen 64 scopeid 0x1
vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:50:ba:0a:33:9d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::250:baff:fe0a:339d%vr0 prefixlen 64 scopeid 0x2
ral0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:12:17:99:70:2d
groups: wlan
media: IEEE802.11 autoselect mode 11g hostap
status: active
ieee80211: nwid XX chan 11 bssid 00:12:17:99:70:2d nwkey
not displayed 100dBm
inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255
inet6 fe80::212:17ff:fe99:702d%ral0 prefixlen 64 scopeid 0x3
enc0: flags=0 mtu 1536
pppoe0: flags=8851UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST mtu 1492
dev: vr0 state: session
sid: 0x395 PADI retries: 0 PADR retries: 0 time: 00:15:51
sppp: phase network authproto pap authname b1XX
groups: pppoe egress
inet6 fe80::206:29ff:fe33:a491%pppoe0 -  prefixlen 64 scopeid 0x6
inet 65.95.136.148 -- 64.230.197.50 netmask 0x
bridge0: flags=41UP,RUNNING mtu 1500
groups: bridge
pflog0: flags=141UP,RUNNING,PROMISC mtu 33208
groups: pflog



panic: bogus long slot station count 0
Stopped at  Debugger+0x4:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb trace
Debugger(d6445800,d07ac840,d08c7bdc,d0f48030,d1082e00) at Debugger+0x4
panic(d0686960,0,d08c7c1c,d0f4a0c0,d0f28300) at panic+0x63
ieee80211_node_leave_11g(d0f48030,d1082e00,d08c7c0c,0) at
ieee80211_node_leave_
11g+0xa2
ieee80211_node_leave(d0f48030,d1082e00,d1082e00,58,0) at
ieee80211_node_leave+0
x94
ieee80211_input(d0f48030,d6615d00,d1082e00,58,0,d62e0800) at
ieee80211_input+0x
267
rt2560_decryption_intr(d0f48000,d08c,0,0) at rt2560_decryption_intr+0x296
rt2560_intr(d0f48000) at rt2560_intr+0xfa
Xrecurse_legacy9() at Xrecurse_legacy9+0xb1
--- interrupt ---
apm_cpu_idle(c0,d078d380,d078d200,7fff,d0335a7b) at apm_cpu_idle+0x42
idle_loop(d08c7f00,4,d08c7f18,d0332d66,d08c7f00) at idle_loop+0x5
sleep_finish(d08c7f00,1,4,d06979cc,0) at sleep_finish+0x4d
tsleep(d078d200,4,d06979cc,0) at tsleep+0x7a
uvm_scheduler(d078d1dc,3,0,d064e610,2) at uvm_scheduler+0x1b
main(0,0,0,0,0) at main+0x713
ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 25243  27935  27935 67  3   0x180  netconhttpd
 18572  1  18572  0  3  0x4082  ttyin getty
  6770  1   6770  0  3  0x4082  ttyin getty
 23595  1  23595  0  3  0x4082  ttyin getty
 12594  1  12594  0  3  0x4082  ttyin getty
 30877  1  30877  0  3  0x4082  ttyin getty
 18003  1  18003  0  3  0x4082  ttyin getty
  8486  17547  17547  0  3   0x181  pause smbd
 21508  1  21508  0  3   

Re: looking for openbsd friendly server vendor

2008-01-28 Thread Ryan Corder
On Sun, Jan 27, 2008 at 12:25:40PM -0800, Lord Sporkton wrote:
| Im about to buy a small server, mostly for personal use
| looking for a 1u
| 
| was hoping to find some vendors that are openbsd friendly
| if they offer more than just i386 that is a plus as im investigating
| other archs as a possiblilty, any suggestions welcome

http://www.ironsystems.com

only caveat is to watch which RAID card you select.  They tend to use cards
from 3ware.  The 95xx series works just fine with the twe(4) driver, but the
very new 96xx series don't work as of 4.2.  I'm not sure about -current though.

peace.
ryanc



don't stop chroot httpd + cronolog

2008-01-28 Thread Takumitsu Itoh
 Hi,

I tried using cronolog and chroot httpd. I confirmed start(apachectl
startssl) and rotation log files.
But when executed [apachectl stop|restart] command, didn't stop rotatelogs
and parent httpd process.

Can't use rotatelogs without -u option ?
Others ideas ? What is rotation logs best way without stopping httpd ?


OpenBSD 4.1-stable
(httpd.conf)
ServerRoot /var/www
CustomLog |/usr/local/sbin/cronolog /var/www/logs/access_log.%Y%m%d common

(ps -ax : after apachectl stop)
31777 ??  Is  0:00.12 httpd: parent [chroot /var/www] (httpd)
3472 ??  I   0:00.11 /usr/local/sbin/cronolog
/var/www/logs/access_log.%Y%m%d



Re: strange crash after kernel update ?

2008-01-28 Thread Otto Moerbeek
On Sun, Jan 27, 2008 at 11:14:14AM +0100, jul wrote:

 i juste get a strange crash after updating my kernel on a soekris4501
 kernel is built with source updated from cvs.

 Maybe source are corrupted ?
 others ideas ?

Hmmm, I have no time to investigate further now, but try reverting the
last revision of arch/i386/i386/machdep.c. 

-Otto


 thanks
 regards


 ddb trace
 strncmp(d074674c0c4) at strncmp+0x14
 identifycpu(d083c3e0d069ef45100d0750044) at identifycpu+0x77
 cpu_startup(d067cb0ad067b9e0d08c8fa0d03222832) at cpu_startup+0x94
 main(0) at main+0x5d
 ddb ps
PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 ddb show registers
 ds0x0010APTmap+0x3f0010
 es  0x10
 fs  0x58
 gs 0
 edi0
 esi0
 ebp   0xd08c8e78end+0x8c5c8
 ebx   0xd074674ccpu_vendor
 edx0
 ecx  0xc
 eax  0x4
 eip   0xd064abc4strncmp+0x14
 cs0x0008APTmap+0x3f0008
 eflags   0x10006
 esp   0xd08c8e70end+0x8c5c0
 ss0xd08c0010end+0x83760
 strncmp+0x14:   b   0(%esi%al
 ddb show map
 No such command
 ddb boot reboot
 rebooting...


 POST: 0123456789bcefghipajklnoq,,,tvwxy

 [...]

 comBIOS ver. 1.26a  20040819  Copyright (C) 2000-2004 Soekris Engineering.

 net45xx

 0064 Mbyte MemoryCPU 80486 133 Mhz

 Pri Mas  SanDisk SDCFH-512   LBA 993-16-63  500 Mbyte

 Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1Base2   Int
 ---
 0:00:0 1022 3000 0600 0006 2280 00 00 00  
 0:18:0 100B 0020 0200 0107 0290 00 3F 00 E001 A000 10
 0:19:0 100B 0020 0200 0107 0290 00 3F 00 E101 A0001000 11
 0:20:0 100B 0020 0200 0107 0290 00 3F 00 E201 A0002000 05

  4 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.
 Using drive 0, partition 3.
 Loading...
 probing: pc0 com0 com1 pci mem[639K 63M a20=on]
 disk: hd0+
  OpenBSD/i386 BOOT 3.01
 -
 com0: 19200 baud
 switching console to com0
  OpenBSD/i386 BOOT 3.01
 boot
 booting hd0a:/bsd: 5667092+872060 [52+291168+272312]=0x6c6250
 entry point at 0x200120

 [ using 563904 bytes of bsd ELF symbol table ]
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2007 OpenBSD. All rights reserved. 
 http://www.OpenBSD.org

 OpenBSD 4.2-stable (GENERIC) #0: Sat Jan 26 13:36:40 CET 2008
 [EMAIL PROTECTED]:/share2/ob/usr/src/sys/arch/i386/compile/GENERIC
 kernel:  trap, code=0
 Stopped at  strncmp+0x14:   b   0(%esi%al
 strncmp(d074674c0c4) at strncmp+0x14
 identifycpu(d083c3e0d069ef45100d0750044) at identifycpu+0x77
 cpu_startup(d067cb0ad067b9e0d08c8fa0d03222832) at cpu_startup+0x94
 main(0) at main+0x5d
 ddb trace
 strncmp(d074674c0c4) at strncmp+0x14
 identifycpu(d083c3e0d069ef45100d0750044) at identifycpu+0x77
 cpu_startup(d067cb0ad067b9e0d08c8fa0d03222832) at cpu_startup+0x94
 main(0) at main+0x5d
 ddb ps
PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 ddb show registers
 ds0x0010APTmap+0x3f0010
 es  0x10
 fs  0x58
 gs 0
 edi0
 esi0
 ebp   0xd08c8e78end+0x8c5c8
 ebx   0xd074674ccpu_vendor
 edx0
 ecx  0xc
 eax  0x4
 eip   0xd064abc4strncmp+0x14
 cs0x0008APTmap+0x3f0008
 eflags   0x10006
 esp   0xd08c8e70end+0x8c5c0
 ss0xd08c0010end+0x83760
 strncmp+0x14:   b   0(%esi%al
 ddb



don't stop chroot httpd + cronolog

2008-01-28 Thread Takumitsu Itoh
Hi,

I tried using cronolog and chroot httpd. I confirmed start(apachectl
startssl) and rotation log files.
But when executed [apachectl stop|restart] command, didn't stop rotatelogs
and parent httpd process.

Can't use rotatelogs without -u option ?
Others ideas ? What is rotation logs best way without stopping httpd ?


OpenBSD 4.1-stable
(httpd.conf)
ServerRoot /var/www
CustomLog |/usr/local/sbin/cronolog /var/www/logs/access_log.%Y%m%d common

(ps -ax : after apachectl stop)
31777 ??  Is  0:00.12 httpd: parent [chroot /var/www] (httpd)
3472 ??  I   0:00.11 /usr/local/sbin/cronolog
/var/www/logs/access_log.%Y%m%d



Re: Dell PE1950 III - Perc 6i

2008-01-28 Thread Marco Peereboom
dlg@ is working on a fix.  If I get my hands on one I might beat him to
it :-)

On Mon, Jan 28, 2008 at 03:14:03PM +0100, J.W. Zondag wrote:
 Below dmesg:
 
 OpenBSD 4.2-current (RAMDISK_CD) #612: Tue Jan 22 17:56:50 MST 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
 cpu0: Intel(R) Xeon(R) CPU E5440 @ 2.83GHz (GenuineIntel 686-class) 2.83 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,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
 real mem  = 1068400640 (1018MB)
 avail mem = 1027047424 (979MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 10/27/07, BIOS32 rev. 0 @
 0xffe90, SMBIOS rev. 2.4 @ 0x3fb9c000 (64 entries)
 bios0: vendor Dell Inc. version 2.0.1 date 10/27/2007
 bios0: Dell Inc. PowerEdge 1950
 acpi0 at bios0: rev 2, can't enable ACPI
 bios0: ROM list: 0xc/0x9000! 0xc9000/0x1000 0xca000/0x1e00
 0xcc000/0x5e00 0xec000/0x4000!
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12
 ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12
 pci1 at ppb0 bus 4
 ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
 pci2 at ppb1 bus 5
 ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01
 pci3 at ppb2 bus 6
 ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
 pci4 at ppb3 bus 7
 bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
 ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01
 pci5 at ppb4 bus 8
 ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01
 pci6 at ppb5 bus 9
 ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12
 pci7 at ppb6 bus 1
 mfi0 at pci7 dev 0 function 0 Symbios Logic SAS1078 rev 0x04, Dell
 PERC 6/i integrated: irq 5
 mfi0: firmware stuck in state 0
 mfi0: can't attachppb7 at pci0 dev 4 function 0 Intel 5000 PCIE rev 0x12
 pci8 at ppb7 bus 10
 bge0 at pci8 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): irq 5, address 00:10:18:31:68:d0
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb8 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12
 pci9 at ppb8 bus 11
 ppb9 at pci0 dev 6 function 0 Intel 5000 PCIE rev 0x12
 pci10 at ppb9 bus 12
 ppb10 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12
 pci11 at ppb10 bus 13
 pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12
 pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12
 pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12
 pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12
 pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12
 pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12
 pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12
 ppb11 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09
 pci12 at ppb11 bus 2
 ppb12 at pci12 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3
 pci13 at ppb12 bus 3
 bnx1 at pci13 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 5
 uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: irq 11
 uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: irq 10
 uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: irq 11
 uhci3 at pci0 dev 29 function 3 Intel 6321ESB USB rev 0x09: irq 10
 ehci0 at pci0 dev 29 function 7 Intel 6321ESB USB rev 0x09: irq 11
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb13 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xd9
 pci14 at ppb13 bus 14
 vga1 at pci14 dev 13 function 0 ATI ES1000 rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 ichpcib0 at pci0 dev 31 function 0 Intel 6321ESB LPC rev 0x09: PM disabled
 pciide0 at pci0 dev 31 function 1 Intel 6321ESB IDE rev 0x09: DMA,
 channel 0 configured to compatibility, channel 1 configured to
 compatibility
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR-T10N, 1.02 SCSI0
 5/cdrom removable
 cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 pciide0: channel 1 ignored (disabled)
 usb1 at uhci0: USB revision 1.0
 -snip-
 
 2008/1/25, Marco Peereboom [EMAIL PROTECTED]:
  I added the pci ids but it obviously didn't work.  Can you send me the
  dmesg?
 
  On Fri, Jan 25, 2008 at 12:18:36AM +0100, J.W. Zondag wrote:
   Hi,
  
   Just got this machine from Dell.
   Tried to install OpenBSD 4.2-current (23-01-2008) but it dit not
   recognize the raid1 disk.
   Any idea when Perc 6i will be added?
  
   ---
   Thanks
   JW



Computer name question

2008-01-28 Thread Eric Johnson
I recently changed the name of a computer with OpenBSD 4.2 by editing
the /etc/myname file.  That seems to have taken care of the renaming
almost everywhere.  I also changed the name in the /etc/hosts file as
well.

However, when I send an e-mail from it using mail, the from address
shows the original name, not the changed name.  Also, if I don't specify
a hostname for the to address, it appends the old hostname instead of
the new hostname.

The configuration file in /etc/mail doesn't have the original name
anywhere.  Neither does the mc file.

Does anyone know what else I need to change?

Thanks,

Eric Johnson

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



Re: halt -p does not work with GENERIC.MP on 4.2-STABLE

2008-01-28 Thread Marc Peters

On Fri, 25 Jan 2008 09:43:36 +0100, Pierre Riteau wrote:

 On Jan 25, 2008 9:13 AM, Nicolas Letellier [EMAIL PROTECTED] 

wrote:

 I use OpenBSD 4.2-stable with a core2duo laptop. When I use GENERIC

kernel, 'halt -p' works perfectly. However, when I use GENERIC.MP,
'halt -p' does not work and says :

apm0: APM set power state: interface not connected (3)
the operating system has halted
Please press any key to reboot



You should try with -current. Much work was done on ACPI since 4.2.
And I don't think the developers are interested in these kind of bugs
in -stable.



I can confirm that it doesn't work on a fairly recent snapshot.
It does work with GENERIC but when you do a `halt -p` under
GENERIC.MP you get syncing disks and then something like UHCI
controller halted and then nothing.
This is on a ThinkPad T60 (ACPI only) running amd64.

Jona


same thing on my thinkpad t60 with a recently fetched -current here on
amd64.

dmesg:

~ # dmesg
OpenBSD 4.2-current (GENERIC.MP) #1: Mon Jan 28 12:50:29 CET 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2145841152 (2046MB)
avail mem = 2072260608 (1976MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ETD4WW (2.14 ) date 06/07/2007
bios0: LENOVO 2007QPG
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) 
EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) 
HDEF(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.29 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG

cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG

cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T5246 serial 12287 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpidock at acpi0 not configured
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2506000c25
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2000 MHz (1292 mV): speeds: 2000, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
agp0 at pchb0: no integrated graphics
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 
16 (irq 11)

pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: 
apic 1 int 17 (irq 11)
azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using Analog 
Devices/0x1981

audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 
20 (irq 11)

pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 
1 int 16 (irq 11), address 00:16:41:e3:4a:ff
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 
21 (irq 11)

pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: 
apic 1 int 17 (irq 11), MoW2, address 00:19:d2:07:cf:36
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 
22 (irq 11)

pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 
23 (irq 11)

pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 
16 (irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 
17 (irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 
18 (irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 
19 (irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 
19 (irq 11)

usb0 at ehci0: 

Xenocara, defaults and xorg.conf means double loading of settings and modules

2008-01-28 Thread Jan
Using Xenocara from and with snapshot from last week, but same behaviour for 
longer time;

I noticed that when no xorg.conf is there, my X was using less memory and 
glxgears was giving better results then with xorg.conf based on my system. 
After some searching in the logs and comparing those with my xorg.conf, I found 
out that although my xorg.conf is used, still the defaults which are compiled 
in X, are also used.
This means that although you disable some modules, they are still loaded, the 
same for the path settings.
And worser, when they are the defaults and in your xorg.conf, they are used 
twice...

Now I have disabled the path settings and module settings in my xorg.conf like 
this;

Section Files
# USED BY DEFAULT:
# RgbPath  /usr/X11R6/share/X11/rgb
# ModulePath   /usr/X11R6/lib/modules
# FontPath /usr/X11R6/lib/X11/fonts/misc/
# FontPath /usr/X11R6/lib/X11/fonts/TTF/
# FontPath /usr/X11R6/lib/X11/fonts/OTF
# FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
# FontPath /usr/X11R6/lib/X11/fonts/100dpi/
# FontPath /usr/X11R6/lib/X11/fonts/Type1/
EndSection

Section Module
# USED BY DEFAULT:
# Load extmod
# Load dbe
# Load glx
# Load freetype
# Load type1
# Load record
# Load dri
EndSection

And X is using 17Mb now instead of 19Mb, with still all modules and path 
settings as mentioned above used, because they are the built-in defaults.

I think it would be better when the defaults are disabled when using a 
configuration file to prevent behaviour like this.

Jan



Re: looking for openbsd friendly server vendor

2008-01-28 Thread Henning Brauer
what?
that is close to an offense.
sys/arch/alpha/conf/GENERIC has been in the repository from Wed Oct 18 
08:49:41 1995 UTC on - the beginning.

* Lord Sporkton [EMAIL PROTECTED] [2008-01-27 21:46]:
 Perhaps i was wrong but i thought openbsd was only 32 bit for now?
 
 On 27/01/2008, NetOne - Doichin Dokov [EMAIL PROTECTED] wrote:
  Lord Sporkton ??:
   Im about to buy a small server, mostly for personal use
   looking for a 1u
  
   was hoping to find some vendors that are openbsd friendly
   if they offer more than just i386 that is a plus as im investigating
   other archs as a possiblilty, any suggestions welcome
  
   this server will be doing mostly webhosting, dns, mail, small
   firewalling, and a vpn or 2
  
   thanks
  
  
  We use lots of SuperMicros here (www.supermicro.com), lately their A+
  (AMD64) solutions, and are very glad with them.You can get an AMD64 1U
  system for as low as $500-600, which will do the work.intended.
 
 
 
 
 -- 
 -Lawrence
 -Student ID 1028219
 

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Petition to VIA

2008-01-28 Thread sebastian . rother
Hi everybody,

I don't know if it's known but there's a online petition for VIA.
Hopefully some people sign up and name also OpenBSD (in the
optional-section).

It's about VIAs policy with docs/drivers and the lies they spread (about
supporting Opensouce).

Link:
http://www.petitiononline.com/vialinux/petition.html

Kind regards,
Sebastian



Dinero en Efectivo por sus Opiniones

2008-01-28 Thread Consumidores de Vanguardia
Dinero en Efectivo por sus Opiniones



Re: separate processors

2008-01-28 Thread Lord Sporkton
what keywords should be be searching for?
i have no idea what this would be called?

On 28/01/2008, johan beisser [EMAIL PROTECTED] wrote:

 On Jan 27, 2008, at 9:24 PM, Lord Sporkton wrote:

  I am setting up a duel core server, the server will be doing 2 things,
  firewall/routing and user-services
 
  since my needs are pretty small for this server and its a duel 2.0
  64bit i was hoping to sort of partition the cpus such that
  firewalling/kernel processes get one processor and user services like
  webhosting, mail, fileserver, and all userland gets the other
  processor, that way my firewall wont be bothered by anything else im
  doing.

 Multiple CPU systems don't work like that, generally.

  is this possible and if so where should i start with this.

 - Google.
 - the misc@ archives.




-- 
-Lawrence
-Student ID 1028219



Re: Petition to VIA

2008-01-28 Thread Andrés
On Jan 28, 2008 4:10 PM, Gilles Chehade [EMAIL PROTECTED] wrote:
 On Mon, Jan 28, 2008 at 11:11:53AM +0100, [EMAIL PROTECTED] wrote:
  Hi everybody,
 
  I don't know if it's known but there's a online petition for VIA.
  Hopefully some people sign up and name also OpenBSD (in the
  optional-section).
 
  It's about VIAs policy with docs/drivers and the lies they spread (about
  supporting Opensouce).
 
  Link:
  http://www.petitiononline.com/vialinux/petition.html
 
  Kind regards,
  Sebastian
 

 RELEASE DECENT LINUX DRIVERS!

  I won't sign and I doubt it is a good idea to say to a vendor that we want 
 decent drivers
  when this will only encourage them into providing blobs instead of 
 documentation.

  Gilles

 --
 Gilles Chehade



I won't sign anything which uses the word Linux.

Ask for documentation for UNIX-like operating systems for Christ's sake.



Public Show: _Solutions Linux_ in Paris

2008-01-28 Thread Marc Espie
There is a public show in Paris, starting tomorrow and lasting 3 days
(CNIT at La Defense, most specifically)

There will be an OpenBSD booth, with lots of goodies, brought
by Wim, as usual.

It's also your chance to meet quite a handful of developers.
It is expected we will outnumber the NetBSD and FreeBSD people
by a *huge* margin this year.

The following developers and friends have said they will attend (in
no particular order):

Wim Vandeputte
Charles Longeau
Gilles Chehade
Alexandre Ratchov
Antoine Jacoutot
Landry Breuil (will be hiding in the GCU booth, most probably)
Saad Kadhi
Marc Espie



Test, please ignore...

2008-01-28 Thread Z.B.
Just testing, sorry...



Re: Petition to VIA

2008-01-28 Thread Gilles Chehade
On Mon, Jan 28, 2008 at 11:11:53AM +0100, [EMAIL PROTECTED] wrote:
 Hi everybody,
 
 I don't know if it's known but there's a online petition for VIA.
 Hopefully some people sign up and name also OpenBSD (in the
 optional-section).
 
 It's about VIAs policy with docs/drivers and the lies they spread (about
 supporting Opensouce).
 
 Link:
 http://www.petitiononline.com/vialinux/petition.html
 
 Kind regards,
 Sebastian
 

RELEASE DECENT LINUX DRIVERS!

 I won't sign and I doubt it is a good idea to say to a vendor that we want 
decent drivers
 when this will only encourage them into providing blobs instead of 
documentation.

 Gilles

-- 
Gilles Chehade



Test, please ignore...

2008-01-28 Thread Z.B.


Re: separate processors

2008-01-28 Thread Lord Sporkton
On 28/01/2008, Geoff Steckel [EMAIL PROTECTED] wrote:
 Lord Sporkton wrote:
  what keywords should be be searching for?
  i have no idea what this would be called?
 
  On 28/01/2008, johan beisser [EMAIL PROTECTED] wrote:
  On Jan 27, 2008, at 9:24 PM, Lord Sporkton wrote:
 
  I am setting up a duel core server, the server will be doing 2 things,
  firewall/routing and user-services
 
  since my needs are pretty small for this server and its a duel 2.0
  64bit i was hoping to sort of partition the cpus such that
  firewalling/kernel processes get one processor and user services like
  webhosting, mail, fileserver, and all userland gets the other
  processor, that way my firewall wont be bothered by anything else im
  doing.
  Multiple CPU systems don't work like that, generally.
 In general, you either don't want it or the system can't do it.

 Firewall software and routing run in the kernel and therefore have
 very high priority. They will run regardless of any user services
 except in rare and very ugly cases.

 Partitioning like you are asking for is done on extremely large
 and complex systems.

 hope this helps
geoff steckel


well my main concern was that things like fileserver, monitoring,
hosting, other user services might spike the cpu and cause degradation
on the firewall/router functions, however Geoff's statement seems to
indicate that shouldnt be a problem
-- 
-Lawrence



Kernel Compile Crashes

2008-01-28 Thread Russell Ault
First off, I'd like to say that I'm very, very new to
OpenBSD, and that this is also my first mailing list
message ever, so I'd like to apologize in advance if
(when) I make a really bone-headed mistake(s). So
here's what happened:

Last November, I bought a copy of OpenBSD
4.2(-release). My goal was to install it on an older
i386 machine with a couple decent-sized hard drives
and make it a file  (etc.) server with RAID 1. To that
end, I tried to recompile the GENERIC kernel with RAID
support. At the same, I decided it would be good to
update to the 4.2-stable branch, since I had to
recompile anyway. Somewhere along the way, the compile
didn't work, so I thought maybe -stable isn't for
me, so I tried to do the same with the 4.2-release
code; this failed as well. Then, for the sake of being
thorough, I tried compiling GENERIC with both -stable
and -release sources with the default config file, and
these also failed, and since they all failed the same
way, it appeared to me that it was neither RAID
support nor the -stable branch that was causing the
problem. (Just to be absolutely positive, I've also
reinstalled from both CD and floppy/http, and have
acquired the sources via CD, http, and AnonCVS, and
none of the above made any difference.)

At first I wondered if it was a memory problem (it is,
after all, an old machine), so I ran Memtest86+ for 13
straight hours (7 passes) with absolutely 0 errors.
This was the point at which I knew I was in over my
head, so I brought over a friend who's far better at
programming than I am. He couldn't figure out he
problem, and told me to pass it on to the people who
would know best what's happening with my poor machine.

Following the instructions for updating to the
4.2-stable branch from FAQ 5 (although, as I say, it
doesn't matter what branch I'm compiling from or what
my config file says, the result is the same), I get as
far as 5.3.4, specifically as far as # make clean 
make depend  make. While executing 'make depend',
it comes to an item called swapgeneric.c, which it
sits on for a long time, then pops into the
interactive kernel debugger with the following message
(sorry if I've included not enough/too much
information):

uvm_fault(0xd718417c, 0xcfc1f000, 0, 1) - e
kernel: page fault trap, code=0
Stopped at  pmap_enter+0xaf:movl0(%edx,%eax,4),%eax
ddb ps
   PID   PPID   PGRPUID  S  FLAGS  WAIT   
  COMMAND
*31500   2160  24858  0  70x2 
  cc
 31501   9957  24858  0  3 0x4082  piperd 
  sed
  2160988  24858  0  3 0x4082  wait   
  cc
  9957  15499  24858  0  3   0x82  pause  
  sh
   988  15499  24858  0  3   0x82  pause  
  sh
 15499   2977  24858  0  3 0x4082  pause  
  sh
  2799  24858  24858  0  3 0x4082  pause  
  sh
 24858   1606  24858  0  3 0x4082  wait   
  make
  2654  1   2654  0  30x40180  select 
  sendmail
 24441  1  24441  0  3 0x4082  ttyin  
  getty
 32275  1  32275  0  3 0x4082  ttyin  
  getty
  6003  1   6003  0  3 0x4082  ttyin  
  getty
 24921  1  24921  0  3 0x4082  ttyin  
  getty
  1606  1   1606  0  3 0x4082  pause  
  ksh
  6918  1   6918  0  3   0x80  select 
  cron
  6795  1   6795  0  3   0x80  select 
  sshd
 27639  1  27639  0  3  0x180  select 
  inetd
 19301   5409   5409 83  3  0x180  poll   
  ntpd
  5409  1   5409  0  3   0x80  poll   
  ntpd
 11438   1072   1072 73  2  0x180 
  syslogd
  1072  1   1072  0  3   0x88  netio  
  syslogd
 25707  1  25707 77  3  0x180  poll   
  dhclient
 27924  1  26765  0  3   0x82  poll   
  dhclient
13  0  0  0  3   0x100200  crypto_wait
  crypto
12  0  0  0  3   0x100200  aiodoned   
  aiodoned
11  0  0  0  3   0x100200  syncer 
  update
10  0  0  0  3   0x100200  cleaner
  cleaner
 9  0  0  0  3   0x100200  reaper 
  reaper
 8  0  0  0  3   0x100200  pgdaemon   
  pgdaemon
 7  0  0  0  3   0x100200  pftm   
  pfpurge
 6  0  0  0  3   0x100200  usbevt 
  usb1
 5  0  0  0  3   0x100200  usbtsk 
  usbtask
 4  0  0  0  3   0x100200  usbevt 
  usb0
 3  0  0  0  3   0x100200  bored  
  syswq
 2  0  0  0  3   0x100200  kmalloc
  kmthread
 1  0  1  0  3 0x4080  wait   
  init
 0 -1  0  0  30x80200  scheduler  
  swapper
ddb trace
pmap_enter(d72b8417c,7f91000,586d000,5,20,7f98000,dc671ea4,0)
at pmap_enter+0xaf

uvm_fault(d718417c,7f94000,0,1,dc66bea0) at
uvm_fault+0xd0c
trap() at trap+0x269
--- trap (number 6) ---
0x7f942b1


# dmesg
OpenBSD 4.2 (GENERIC) #375: 

Re: halt -p does not work with GENERIC.MP on 4.2-STABLE

2008-01-28 Thread Karl Sjodahl - dunceor
On Jan 26, 2008 5:35 AM, Jona Joachim [EMAIL PROTECTED] wrote:

 On Fri, 25 Jan 2008 09:43:36 +0100, Pierre Riteau wrote:

  On Jan 25, 2008 9:13 AM, Nicolas Letellier [EMAIL PROTECTED] wrote:
  I use OpenBSD 4.2-stable with a core2duo laptop. When I use GENERIC
  kernel, 'halt -p' works perfectly. However, when I use GENERIC.MP,
  'halt -p' does not work and says :
 
  apm0: APM set power state: interface not connected (3)
  the operating system has halted
  Please press any key to reboot
 
 
  You should try with -current. Much work was done on ACPI since 4.2.
  And I don't think the developers are interested in these kind of bugs
  in -stable.

 I can confirm that it doesn't work on a fairly recent snapshot.
 It does work with GENERIC but when you do a `halt -p` under
 GENERIC.MP you get syncing disks and then something like UHCI
 controller halted and then nothing.
 This is on a ThinkPad T60 (ACPI only) running amd64.

 Jona



I can confirm that I get the same behaviour with a the last 10 or so
snapshots. Works in GENERIC but not GENERIC.MP.

BR
dunceor



Re: looking for openbsd friendly server vendor

2008-01-28 Thread Allie Daneman

Netra T1 (like a 105) or a Dell...the Netras are cheap on Ebay.

Lord Sporkton wrote:

Im about to buy a small server, mostly for personal use
looking for a 1u

was hoping to find some vendors that are openbsd friendly
if they offer more than just i386 that is a plus as im investigating
other archs as a possiblilty, any suggestions welcome

this server will be doing mostly webhosting, dns, mail, small
firewalling, and a vpn or 2

thanks




ksh history question

2008-01-28 Thread Denny White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 

I've read the ksh man page, googled for days,  can't seem to come
up with the answer. Either I put no mention of HISTFILE and HISTSIZE
in $HOME/.profile and I don't have a lasting history file of previous
commands. Or, I put it in and I do have a history file, but the
HISTSIZE setting has no effect. It doesn't change and the file grows
and grows. Currently I have it set as shown below to save my command
line history:

HISTFILE=.ksh_history
HISTSIZE=50

I've tried using .ksh_history$$ to have a different file each login,
and know I can run a cronjob nightly to clean them up if I want to,
but I can't figure out how to make the history turn over just like
it's supposed to with the HISTSIZE value without all that other mess.
Thanks for any help I can get on this.

-- 

Denny White 

All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===
iD8DBQFHnQ+ey0Ty5RZE55oRAm+IAJ4mFSIXHqORlxAmbuIu4VTOd7Z35QCgpwDP
X6R0e88UGv5D/5VGHG4rX6I=
=hMAH
-END PGP SIGNATURE-



Re: vlan trunking with a powerconnect 5224

2008-01-28 Thread Jason McIntyre
On Sun, Jan 27, 2008 at 06:32:36PM -0500, Kent Watsen wrote:
 On a lark I just executed `ifconfig trunk0 up` and now my trunk is 
 working!  And, to make it come up automatically, I just added the single 
 line up to hostname.trunk0...
 
 BTW, the trunk interface is not documented in hostname.if(5)
 

well, neither is, say, bge(4). there's no need to specifically mention
trunk - you can configure it like any other interface. anything specific
to trunk is covered in trunk(4) and ifconfig(8).

jmc



2 questions from new user: wsconscfg and /usr/local

2008-01-28 Thread Zbigniew Baniewski
Hallo,

I'm pretty new to OpenBSD, I've installed recently newest stable 4.2 (i386).
I would to ask here about two things, this time:

- starting the system I'm loading different VGA charset - unfortunately,
  although system initializes consoles by default in VT220 emulation mode,
  wsconscfg (which I had to use when loading new charset) switches them to
  VT100, of limited (comparing to VT220) functionality. I see no parameter
  to keep VT220. Is it possible some other way, which I don't know yet?

- I noticed, that the default path, where software from binaries and ports
  gets unpacked, is /usr/local hierarchy; unfortunately, it's also the
  traditional default of every individual source *.tar.gz package - such
  way the software ported to OpenBSD gets mixed with any other package,
  which I had installed. Wouldn't be reasonable to create new hierarchy,
  especially for the native OpenBSD software (from binary packages and
  ports) - I mean something like /usr/pkg in NetBSD? What do you think?

-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: separate processors

2008-01-28 Thread johan beisser

On Jan 27, 2008, at 9:24 PM, Lord Sporkton wrote:


I am setting up a duel core server, the server will be doing 2 things,
firewall/routing and user-services

since my needs are pretty small for this server and its a duel 2.0
64bit i was hoping to sort of partition the cpus such that
firewalling/kernel processes get one processor and user services like
webhosting, mail, fileserver, and all userland gets the other
processor, that way my firewall wont be bothered by anything else im
doing.


Multiple CPU systems don't work like that, generally.


is this possible and if so where should i start with this.


- Google.
- the misc@ archives.



Just testing - ignore, please...

2008-01-28 Thread Zbigniew Baniewski
It's just a test.
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: Petition to VIA

2008-01-28 Thread Stuart Henderson
 I don't know if it's known but there's a online petition for VIA.
 http://www.petitiononline.com/vialinux/petition.html

The petition authors don't get it...

Other manufacturers, such as Intel, cooperate with the Free Software
community providing Linux drivers as good as the Windows ones,

drivers as good as the Windows ones, they think this is a good thing?

There are only a few viable, reasonable or even rationale options:
1. VIA could develop decent Linux drivers that allow Linux users to
experience the same level of stability and performance as Windows users
do on the same hardware. This would show VIA respect for its clients and
would not cost much: A small group of developers, with access to
hardware specs, can improve current drivers easily and quickly.
2. VIA could release full internal hardware specifications to the Linux
community, so that Open Source developers could develop working drivers.
3. VIA could simply say that it doesn't support Linux (which is true).
This should be clear in all VIA communications (website, product boxes,
etc). This would prevent misinformed buyers, which plan on using Linux,
from buying hardware based on it.

the last two, I'd go for, but I wouldn't sign a petition giving 1 as
an option (let alone the first, implying it's what they would like the
most).

developers want docs, not unmaintainable vendor crap GPL drivers.



Installation of base system without xbase42 disallow ports compiling.

2008-01-28 Thread Kyrylo Klimakov
Hello all

I'm two day new to OpenBSD but 8 years old to Linux world.

Yesterday I've successfully got running OpenBSD 4.2 under VMware server.
Due to limitation on internet channel bandwidth i decided install only required
packages and skip recommended.
Later I tried to install bash from ports and from packages but without
any luck.
In both cases installation process was stopped on resolving dependencies for
 the gettext packages. After some researches i found that gettext depends
 on the expat library but did not found it on my system, among packages.
Only reference in ports.
I tried to build expat from ports but after make i got.
===  expat-2.0.0p0 -- expat comes with OpenBSD as of release 4.2.

I was weird for me because of
I did not found expat on the system and on the packages.
I tried to find something via google and get link to the article on
upgrade from
OpenBSD 4.1 to OpenBSD 4.2. Where was noticed that expat now is located
in xbase42.tgz packages which was in recommended section.

I think that such behavior of the installer could be treated like a
bug and package
xbase42 should be moved to required section or at least in the
installation documents
should be described such trouble.

What do you think about?

Thanks in advance

Kyrylo Klimakov
NIK-HDL  KK2640-RIPE



packet loss and intel dual nic

2008-01-28 Thread Vinicius Vianna

Hi all,

I'm getting some packet loss on our firewall here (4.1 GENERIC), after 
changing the old nic (msk0) we are still getting some packet loss but 
very little.
Can be any improvement from changing the external nic from em2 to em0 in 
our case? Can this packet loss be sure coming from cable problems or is 
something with interrupts?

Changing from bsd.mp to bsd will improve?
Systat show me 14k interrupts in total, but the cpu is 99% idle.

Thanks in advance for all help, bellow is some info about the fw, 
anything more just tell me.


netstat -nid:
NameMtu   Network Address  Ipkts IerrsOpkts 
Oerrs Colls

Drop
em1 1500  Link  00:04:23:df:7c:e1 199851517  1294 191814637 0
00
em2 1500  Link  00:04:23:b2:ea:b8 19179893898 199071744 0
00
em1 is the internal nic, em2 the external, this info is from about 10h 
of uptime.


dmesg:
OpenBSD 4.1 (GENERIC.MP) #1225: Sat Mar 10 19:23:18 MST 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
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,CF

LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 1073180672 (1048028K)
avail mem = 971771904 (948996K)
using 4278 buffers containing 53784576 bytes (52524K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 06/28/05, BIOS32 rev. 0 @ 0xf0010, 
SMBIOS

rev. 2.3 @ 0xfcf10 (69 entries)
bios0: Intel SE7520BD2S
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf55c0/352 (20 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)
pcibios0: PCI bus #7 is the last bus
bios0: ROM list: 0xc/0xa800 0xca800/0x4000 0xce800/0x1000 0xcf800/0x1000
acpi at mainbus0 not configured
ipmi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF

LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
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 PCI
mainbus0: bus 6 is type PCI
mainbus0: bus 7 is type PCI
mainbus0: bus 8 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 9 pa 0xfec8, version 20, 24 pins
ioapic2 at mainbus0: apid 10 pa 0xfec80400, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7520 MCH rev 0x0c
Intel E7520 MCH ERR rev 0x0c at pci0 dev 0 function 1 not configured
Intel E7520 MCH DMA rev 0x0c at pci0 dev 1 function 0 not configured
ppb0 at pci0 dev 2 function 0 Intel MCH PCIE rev 0x0c
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci2 at ppb1 bus 2
em0 at pci2 dev 3 function 0 Intel PRO/1000MT (82546EB) rev 0x01: apic 
9 int 0

(irq 10), address 00:04:23:df:7c:e0
em1 at pci2 dev 3 function 1 Intel PRO/1000MT (82546EB) rev 0x01: apic 
9 int 3

(irq 7), address 00:04:23:df:7c:e1
mpi0 at pci2 dev 5 function 0 Symbios Logic 53c1030 rev 0x08: apic 9 
int 2 (ir

q 15)
scsibus0 at mpi0: 16 targets
sd0 at scsibus0 targ 0 lun 0: SEAGATE, ST336607LC, 0007 SCSI3 0/direct 
fixed

sd0: 35003MB, 49855 cyl, 2 head, 718 sec, 512 bytes/sec, 71687372 sec total
mpi0: target 0 Sync at 160MHz width 16bit offset 63 QAS 1 DT 1 IU 1
Intel IOxAPIC rev 0x09 at pci1 dev 0 function 1 not configured
ppb2 at pci1 dev 0 function 2 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 3
Intel IOxAPIC rev 0x09 at pci1 dev 0 function 3 not configured
ppb3 at pci0 dev 4 function 0 Intel MCH PCIE rev 0x0c
pci4 at ppb3 bus 4
ppb4 at pci0 dev 5 function 0 Intel MCH PCIE rev 0x0c
pci5 at ppb4 bus 5
mskc0 at pci5 dev 0 function 0 Marvell Yukon 88E8050 rev 0x17, Yukon-2 
EC rev.

A2 (0x1): apic 8 int 16 (irq 10)
msk0 at mskc0 port A, address 00:04:23:b2:ea:b9
eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2
ppb5 at pci0 dev 6 function 0 Intel MCH PCIE rev 0x0c
pci6 at ppb5 bus 6
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER 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 82801EB/ER USB rev 0x02: apic 8 
int 19 (

irq 7)
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
uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: apic 8 
int 18 (

irq 15)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 

Re: separate processors

2008-01-28 Thread Chris Kuethe
On Jan 28, 2008 11:46 AM, Lord Sporkton [EMAIL PROTECTED] wrote:
 what keywords should be be searching for?
 i have no idea what this would be called?

TLB Shootdowns from 20nm at dawn.

...

start reading up on processor affinity and maybe even asymmetric
multiprocessing.

-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



Console mode problems

2008-01-28 Thread Zbigniew Baniewski
Hallo,

I'm new to OpenBSD, I've recently installed newest version - 4.2 (i386)
- and noticed some problems while working in console mode:


1. I'm loading console font set, which is including national characters
- the first problem is, that wsconscfg doesn't want to init consoles
using default VT220 emulation. Everytime, when I've got to use
wsconscfg (it's written into /etc/rc.local anyway...), it's using VT100
- although the system itself seems to be able to initialize consoles
as VT220 (when not using wsconscfg).

I would to keep VT220 emulation on all consoles, because it's the most
comfortable way to have proper colours in curses-based programs (when
setting TERM=wsvt25). Unfortunately, wsconscfg doesn't accept vt220
as parameter.  Can it be changed?


2. The second problem is with function keys, especially annoying when
using f.e. Midnight Commander. Playing with terminal settings, I noticed
that changing - in the section wsvt25 of /usr/share/misc/termcap - the
definition: tc=vt220 to: tc=ecma+color seems to be a cure for this
problem (no side effects noticed). I'm not sure, whether this problem
with F-keys is caused by faulty terminal definition, or bug in ncurses
rather?


3. The third problem is, that even having console initialized as VT220
with wsvt25 definition (modified the way described above) there are
still some little false colour choices anyway (it can be seen f.e. on
the bottom line of mc, the one with description of function keys). But
when one runs screen (having wsvt25 on VT220), at last the console
is working fully properly. Well, this third paragraph is not a
question, but an example of workaround how to obtain the proper results
rather.


But perhaps someone does know answer to previous two?
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: separate processors

2008-01-28 Thread johan beisser

On Jan 28, 2008, at 11:46 AM, Lord Sporkton wrote:


what keywords should be be searching for?
i have no idea what this would be called?


Parallel processing.

Massively Parallel-processing Systems can usually have assigned CPU  
usage.


I believe Solaris permits some level of CPU assignment, but most  
systems don't use thread/process isolation to a single assigned CPU,  
preferring symmetric allocation of resources (spread over all  
available CPU cores).


There is no reason to avoid SMP style assignment. Not at your scale of  
usage.




Re: spamd - 250 return text

2008-01-28 Thread Frank Bax

On Aug 4, 2007 Peter Fraser wrote:

I think that the problem is a bad mail program at your clients,
A user should not see the 250 status, it is not a
failure of any sort but I have seen it as a return
status sent to a user.

Here is an example that I have seen from someone who sent us
a message. The message failed and this is the status that they
received:

Reporting-MTA: dns; toq7.bellnexxia.net
Arrival-Date: Fri, 20 Jul 2007 21:26:11 -0400
Received-From-MTA: dns; Christine (64.230.70.248)
Content-Type: text/plain

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 4.4.7
Remote-MTA: dns; thinkage.ca
Diagnostic-Code: smtp; 250 This is hurting you more than it is hurting me.




This bounce message has nothing to do with client mail program.
It's the ISP's mail server.  bellnexxia.net is part of bell/sympatico in
Canada.  I got an almost identical bounce message (below) this morning
after trying to post to misc@ on the weekend.  My mail client is
Thunderbird on OpenBSD.  I suspect the problem is that bellnexxia's smtp
server has managed to get itself on a spam blacklist; in which case;
the 250 msg doesn't really convey that point.  In any case; I'm sending via
a different isp so this msg has a chance of getting through.

- - - - -

The following recipients did not receive this message:

 misc@openbsd.org

Reporting-MTA: dns; tomts16.bellnexxia.net
Arrival-Date: Sat, 26 Jan 2008 19:06:06 -0500
Received-From-MTA: dns; toip5.srvr.bell.ca (209.226.175.88)

Final-Recipient: RFC822; misc@openbsd.org
Action: failed
Status: 4.4.7
Remote-MTA: dns; openbsd.org
Diagnostic-Code: smtp; 250 This is hurting you more than it is hurting me.



Re: looking for openbsd friendly server vendor

2008-01-28 Thread elpinguim
On Sun, Jan 27, 2008 at 12:25:40PM -0800, Lord Sporkton wrote:
 Im about to buy a small server, mostly for personal use
 looking for a 1u
 
 was hoping to find some vendors that are openbsd friendly
 if they offer more than just i386 that is a plus as im investigating
 other archs as a possiblilty, any suggestions welcome
 
 this server will be doing mostly webhosting, dns, mail, small
 firewalling, and a vpn or 2
 
 thanks
 
 -- 
 -Lawrence
 

http://www.cybertronpc.com/

see:
QUANTUM XL1010 1U RACKMOUNT SERVER - $399.99

also under Operating Systems:
UNIX OPEN BSD O/S - INSTALL ONLY [subtract $0.00]

Kind regards,

Luis

-- 
i am jack's annoying signature.



usb wifi adapter

2008-01-28 Thread Pau Amaro-Seoane
Hi,

I have looked for a while, but I could not find a concrete answer to
my problem. I would like to buy an usb wifi adapter which works with
OpenBSD. I know that OpenBSD is the free OS which most chipsets
supports in the world but... what about the usb thing? Does it require
blobs? Will it work ou of the box? What's your experience? If  you
can name me some cheap adapters, I would be very grateful!

thanks for your patience

Pau



Re: Public Show: _Solutions Linux_ in Paris

2008-01-28 Thread Marc Espie
On Mon, Jan 28, 2008 at 04:43:17PM +0100, Marc Espie wrote:
 
 Wim Vandeputte
 Charles Longeau
 Gilles Chehade
 Alexandre Ratchov
 Antoine Jacoutot
 Landry Breuil (will be hiding in the GCU booth, most probably)
 Saad Kadhi
 Marc Espie

And my editor (or my totoro ?) is playing games with me, and removed
Miod Vallat from this list, even though he WILL be there too.

Sorry, Miod ;-)



Xenocara; prevent loading path and modules twice

2008-01-28 Thread Jan
I noticed that when using no xorg.conf, X was using less memory then when using 
my xorg.conf.
After some searching, and comparing logs I noticed X is having some defaults 
built in, which are used always; with or without xorg.conf.
After disabling those lines in my xorg.conf X was using two megabytes less, 
with still the same paths and modules loaded: 

Section Files
# RgbPath  /usr/X11R6/share/X11/rgb
# ModulePath   /usr/X11R6/lib/modules
# FontPath /usr/X11R6/lib/X11/fonts/misc/
# FontPath /usr/X11R6/lib/X11/fonts/TTF/
# FontPath /usr/X11R6/lib/X11/fonts/OTF
# FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
# FontPath /usr/X11R6/lib/X11/fonts/100dpi/
# FontPath /usr/X11R6/lib/X11/fonts/Type1/
EndSection

Section Module
# Load extmod
# Load dbe
# Load glx
# Load freetype
# Load type1
# Load record
# Load dri
EndSection

I guess it would be better when X was not using these defaults when the 
configuration file is used.
It seems that mentioned modules are loaded always, even when not mentioned in 
xorg.conf.
And worser, when mentioned (same for path), X is using 19M instead of 17M here 
with same functionality.

Btw, using snap from the 22th of january here.

Jan



Re: uath as access point ?

2008-01-28 Thread Jason McIntyre
On Sun, Jan 27, 2008 at 09:02:03AM +0100, jul wrote:
 
 after reading man uath, i'm not sure. can uath driver be used as access 
 point ?

no it can't. if it could, the man page would document it. generally we
don;t document that this or that feature is not supported. but we do
document the ones that are supported ;)

on the other hand, i've just noticed that uath(4) contains an example on
how to set up an access point. oops! i will remove that in a second...

 else which usb adapters supported by openbsd could ?
 

the ones which document that they support host ap mode. though read the
pages carefully that there aren;t any caveats with the device.

jmc



Re: Petition to VIA

2008-01-28 Thread Richard Daemon
On Jan 28, 2008 5:11 AM, [EMAIL PROTECTED] wrote:

 Hi everybody,

 I don't know if it's known but there's a online petition for VIA.
 Hopefully some people sign up and name also OpenBSD (in the
 optional-section).

 It's about VIAs policy with docs/drivers and the lies they spread (about
 supporting Opensouce).

 Link:
 http://www.petitiononline.com/vialinux/petition.html

 Kind regards,
 Sebastian


Interesting, I didn't think many Linux developers cared about things like
this so long as they happily sign NDA's, use BLOB's or accept vendor binary
drivers that should never make it's way to OSS.



2 questions from new user: wsconscfg and /usr/local

2008-01-28 Thread Zbigniew Baniewski
Hallo everybody,

I'm pretty new to OpenBSD, I've installed recently newest stable 4.2 (i386).
This time I would to ask here about two things:

- starting the system I'm loading different VGA charset - unfortunately,
  although system initializes consoles by default in VT220 emulation mode,
  wsconscfg (which I had to use when loading new charset) switches them to
  VT100, of limited (comparing to VT220) functionality. I see no parameter
  to keep VT220. Is there some other way available, which I don't know yet?

- I noticed, that default path, where software from binary pkg and ports
  gets unpacked, is /usr/local hierarchy - unfortunately, it's also the
  traditional default of every individual source *.tar.gz package - such
  way the software ported to OpenBSD gets mixed with any other package,
  which I had installed. Wouldn't be reasonable to create new hierarchy,
  especially for the native OpenBSD software (from binary packages and
  ports) - I mean: something like /usr/pkg in NetBSD? What do you think?
-- 
pozdrawiam / regards

Zbigniew Baniewski



One more try (sorry) - please ignore...

2008-01-28 Thread Zbigniew Baniewski
Testing: still problems...
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: mailing list server downtime

2008-01-28 Thread Darrin Chandler
Back up? No need to reply, as this message is its own answer :)

On Fri, Jan 25, 2008 at 06:35:30PM -0500, Todd C. Miller wrote:
 The OpenBSD mailing list server will be down from 5am to 6pm MST
 on Saturday, Jan 26th.  Facilities needs to shut down the computer
 room cooling system for some plumbing work, and they are scheduled
 to finish by 6pm.  If they finish earlier the list server will be
 back sooner.
 
 This also affects anoncvs3.usa.openbsd.org which resides in the
 same machine room.
 
  - todd
 

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation



Re: APACHE source modification

2008-01-28 Thread Josh Grosse
On Sun, Jan 27, 2008 at 02:12:38PM +0100, Bambero wrote:
 Hello
 
 I have modified apache source in /usr/src/usr.sbin/httpd.
 What commands should I use to build it to override my current binary
 instalation ?

FAQ 5.3.5 will work.  Of course, afterwards, your browser may not.



Re: APACHE source modification

2008-01-28 Thread Henning Brauer
* Bambero [EMAIL PROTECTED] [2008-01-27 14:13]:
 Hello
 
 I have modified apache source in /usr/src/usr.sbin/httpd.
 What commands should I use to build it to override my current binary
 instalation ?
 
 ./configure  make  make install
 
 will be good ?

no.

make -f Makefile.bsd-wrapper obj
make -f Makefile.bsd-wrapper
sudo make -f Makefile.bsd-wrapper install


-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: mysqld: Error in accept: Bad file descriptor

2008-01-28 Thread Takumitsu Itoh
 Did you follow /usr/local/share/doc/mysql/README.OpenBSD?

I Couldn't find this file in the path in the system. 
Is it installed from building that using port system?

http://fixunix.com/bsd/87683-openbsd-mysql.html
I found this site from your hint, so added configuration below.


(login.conf)
mysql:\
:datasize=infinity:\
:maxproc=infinity:\
:openfiles-cur=10240:\
:openfiles-max=16384:\
:stacksize-cur=8M:\
:localcipher=blowfish,8:\
:tc=default:


(my.cnf)
open_files = 6048
innodb_open_files = 2048
open_files_limit = 8192


(_mysql user)
_mysql user's login class changed to mysql.

But now crash... do you have any ideas...



4.2 install freezes at rd0: fixed, 3800 blocks

2008-01-28 Thread Juan Miscaro
Hi.  I'm attempting to install 4.2 on a Dell Poweredge R200.  Initially
the blue install screen froze at a USB device (husb4 I think).  I
disabled all USB ports in the BIOS and now the freeze occurs at the
following line:

rd0: fixed, 3800 blocks

Does anyone know what I can do to install OpenBSD on this machine?

Thanks in advance,

/juan


  Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/



Re: PCI ADSL Card on OpenBSD

2008-01-28 Thread Claudio Jeker
On Sun, Jan 27, 2008 at 05:25:27PM +1100, Mikel Lindsaar wrote:
 I have been googling around and found various answers, but some of
 them conflict and so I wanted to ask the list:
 
 What PCI ADSL card do you use in your OpenBSD box?
 
 The use case will be a rack mounted firewall (thus the wish for a PCI
 card to sit inside the server) handling an ADSL connection for backup
 access and bulk traffic.  The card and drivers need to be reliable and
 just handle the line as this will be the backup way in.
 
 Preferably I want a card that is going to do the ADSL protocol layer
 itself and not hand anything off to the CPU which will be handling a
 transparent firewall.
 
 Should be able to support PPPoE, ADSL2+ would be good to have, though
 plain v1 ADSL is also fine if the driver / card combination is more
 robust.
 

Use an external modem and terminate the pppoe session on your OpenBSD box.
The only PCI based ADSL card around is based on a very old chipset that is
not ADSL2+ capable and people using the card had stability issues on OpenBSD.

-- 
:wq Claudio



Re: Petition to VIA

2008-01-28 Thread Breen Ouellette

[EMAIL PROTECTED] wrote:

Hi everybody,

I don't know if it's known but there's a online petition for VIA.
Hopefully some people sign up and name also OpenBSD (in the
optional-section).

It's about VIAs policy with docs/drivers and the lies they spread (about
supporting Opensouce).

Link:
http://www.petitiononline.com/vialinux/petition.html

Kind regards,
Sebastian

  


I still say the best petition is to avoid buying VIA products - and then 
post about it in a public forum, list the alternatives you chose for 
your task, and send the link to VIA. If enough people would follow this 
simple process then Via would react.


The TdR method is also sometimes effective, but it seems to have 
diminishing returns the larger the target corporation.


I haven't seen or heard of a single company being persuaded by an online 
petition. That's not to say that it couldn't or hasn't happened - I've 
just never heard of it. You would think that people would hear more 
about them if online petitions of companies were indeed successful.


Corporations are concerned with one thing - profit. Take from their 
profit, be vocal about the reasons in a public forum while listing 
alternatives (both of which also threaten their profit), and make the 
corporation aware of it. They will then be forced to address the 
situation or continue to risk a negative and public boycott.


Breeno



Error in softraid documentation?

2008-01-28 Thread Matthew Szudzik
I recently noticed that the examples in the softraid man page

 http://www.openbsd.org/cgi-bin/man.cgi?query=softraid

contain many lines such as

 echo d a\na\n\n\n\nRAID\nw\nq\n | disklabel -E wd1

Of course, not every version of echo interprets \n as a newline.  In
fact, /bin/echo treats \n as a literal backslash followed by a literal
n.  The version of echo that is built into csh also interprets it as a
literal backslash followed by a literal n.  But the softraid man page
certainly intends it to be interpreted as a newline.

So, is the man page in error?  Or are the examples in man pages only
intended for use in the default shell?  (Note that ksh is the default
shell, and ksh has a built-in echo command that interprets \n as a
newline.)



Acer notebook with invilink wifi

2008-01-28 Thread Daniel
Hi!

I'm looking at these acer travelmate notebooks, which claims to be 
equipped with Acer InviLink wireless devices. What chipset is this? 
Is this supported?
Also, I heard some rumors that it uses marvell chipset for its gigabit 
lan. What are the experiences with these notebooks (if there are any)?

Thanks!

Daniel



test, ignore it

2008-01-28 Thread Daniel
test



Re: uath as access point ?

2008-01-28 Thread Stuart Henderson
On 2008/01/27 09:02, jul wrote:
 Hello

 after reading man uath, i'm not sure. can uath driver be used as access 
 point ?
 else which usb adapters supported by openbsd could ?

the ralink ones, rum(4) and ural(4), but note the caveats in
the man pages.



Re: looking for openbsd friendly server vendor

2008-01-28 Thread Darrin Chandler
On Sun, Jan 27, 2008 at 12:44:35PM -0800, Lord Sporkton wrote:
 Perhaps i was wrong but i thought openbsd was only 32 bit for now?

Yes, you are wrong. Thankfully :)

See http://www.openbsd.org/plat.html for supported platforms.

I have a supermicro amd64 that I'm quite happy with.

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation




Re: mysqld: Error in accept: Bad file descriptor

2008-01-28 Thread Takumitsu Itoh
 Did you follow /usr/local/share/doc/mysql/README.OpenBSD?

I Couldn't find this file in the path in the system. 
Is it installed from building that using port system?

http://fixunix.com/bsd/87683-openbsd-mysql.html
I found this site from your hint, so added configuration below.


(login.conf)
mysql:\
:datasize=infinity:\
:maxproc=infinity:\
:openfiles-cur=10240:\
:openfiles-max=16384:\
:stacksize-cur=8M:\
:localcipher=blowfish,8:\
:tc=default:


(my.cnf)
open_files = 6048
innodb_open_files = 2048
open_files_limit = 8192


(_mysql user)
_mysql user's login class changed to mysql.

But now crash ... moo...



Re: OpenSSH vpn without using remote root user

2008-01-28 Thread Lars Noodén
Claudio Jeker wrote:

 Only root can open /dev/tun, this is enforced in the code. You would need
 to patch the code as well (see tunopen()'s  suser() call).

A compromise might be to do that via sudo. Or, a bit tighter, have a
script do it and call that via sudo.  However, that still requires root
to set up.

Regards,
-Lars



Re: APACHE source modification

2008-01-28 Thread Rosen Iliev

As per some of the patches, for example:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.0/common/001_httpd.patch
rebuild and install httpd and its modules:
cd usr.sbin/httpd
make -f Makefile.bsd-wrapper obj
make -f Makefile.bsd-wrapper cleandir
make -f Makefile.bsd-wrapper depend
make -f Makefile.bsd-wrapper
make -f Makefile.bsd-wrapper install

If httpd had been started, you might want to run
apachectl stop
before running make install, and
apachectl start
afterwards.

Rosen

Bambero wrote:

On Sun, 27 Jan 2008 08:36:22 -0500
Josh Grosse [EMAIL PROTECTED] wrote:

  

On Sun, Jan 27, 2008 at 02:12:38PM +0100, Bambero wrote:


Hello

I have modified apache source in /usr/src/usr.sbin/httpd.
What commands should I use to build it to override my current binary
instalation ?
  

FAQ 5.3.5 will work.  Of course, afterwards, your browser may not.



Read post carefully. As i suppose apache is specific package, there is
no Makefile like in others packages, so reding FAQ 5.3.5 doesn't help.

I used the following command but I'm not sure it's correct
cd /usr/src/usr.sbin/httpd
make -f Makefile.bsd-wrapper install




Re: Archiving pkg's added by pkg_add -u

2008-01-28 Thread Laurence Tratt
On Sat, Jan 26, 2008 at 12:00:22PM +0100, Marc Espie wrote:

 As a possibly complimentary idea to PKG_CACHE, I wrote a simple script a
 while back which bulk downloads packages:
 You don't need this script to minimize service down time.

 The normal way to slurp down packages of on an installed machine is to run
 pkg_add -uin with PKG_CACHE set (in fact, I had to tweak pkg_add -n
 behavior right after implementing PKG_CACHE to make sure it would download
 the whole package).

 Then, once your full set is downloaded, you can pkg_add them.

Even better - I can drop that script (it's quite old, and predates pkg_add
-u IIRC)! I am a huge fan of the pkg_* tools, and their improvement over the
time I have used OpenBSD has been nothing short of incredible.

The only issue I have with pkg_add is that I find the options overwhelming
(e.g. -r and -u confuse me every time, as a quick read of the man page
suggests they do virtually the same thing). When you say the normal way I
expect most people had no idea that -uin and PKG_CACHE in combination do the
right thing. Perhaps this could be added to the man page or the FAQ so it
can become the normal way? I'm sure you know a number of useful tricks with
the pkg_* tools that the rest of us remain sadly ignorant of, and it would
be great if such things became more widely known.

Of course, it's entirely possible that I'm the only person who didn't
realise that the above was possible, in which case please pretend I never
said anything :)


Laurie
-- 
http://tratt.net/laurie/ -- Personal
http://convergepl.org/   -- The Converge programming language



Napisite Biznis Plan. Softver za preduzetnike.

2008-01-28 Thread [EMAIL PROTECTED]
 - This mail is a HTML mail. Not all elements could be shown in plain text
mode. -

Postovani,

molimo Vas razmotrite nas predlog saradnje za koriscenje softverskih alata,
pod imenom: VAS MENADZER.

Opstinske uprave, Privredne komore, Banke i niz uspesnih preduzeca koriste
nase softverske alate.

PRIDRUZITE SE NAJUSPESNIJIM, koristite Vas Menadzer alate:

BIZNIS PLAN 2.0 - Cena: 6.900.00 dinara
POSLOVNA PISMA 7.0 - Cena: 6.900.00 dinara
FORMULAR 2.0 - Cena: 6.900.00 dinara

CENA PAKETA, (sva tri softverska alata) IZNOSI: 13.800.00 dinara.

Biznis Plan 2.0
- ZASTO TREBA KUPITI OVAJ PROIZVOD?

1. Kreiranje biznis plana na srpskom jeziku - na 125 stampanih strana

2. Kreiranje biznis plana na engleskom jeziku - cetiri razlicita koncepta

3. Primer biznis plana

4. Smernice za izradu biznis plana

5. Instrukcije za izradu biznis plana

6. Adresar banaka u SCG

7. Proracun kamate

8. Zahtevi za izdavanje kredita - elektronski obrasci

9. Zahtev za izdavanje poljoprivrednog kredita - elektronski obrazac
10. Upitnik o podnosiocu kreditnog zahteva - elektronski obrazac
11. Modifikovanje biznis plana: 100%
12. Mogucnost ubacivanja Vasih slika, logo preduzeca i tabela
13. Stampanje biznis plana: u neogranicenom obimu

Poslovna Pisma 7.0
- ZASTO TREBA KUPITI OVAJ PROIZVOD?
1. Poslovna pisma
na: srpskom, engleskom, nemackom, francuskom, italijanskom, spanskom i
portugalskom.
2. Ukupno 2100 pisama.
3. Modifikovanje poslovnih pisama: 100%
4. Mogucnost kombinovanja. Iz jednog pisma izvuci pasus i ubaciti u drugo
pismo.
5. Mogucnost ubacivanja Vasih slika, logo preduzeca i tabela
6. Stampanje poslovnih pisama: u neogranicenom obimu

Formular 2.0
- ZASTO TREBA KUPITI OVAJ PROIZVOD?
Formular 2.0 je usluzna aplikacija koja ima za cilj da ubrza Vas rad i smanji
utrosak vremena. Sadrzi elektronske obrasce i namenjen je uspesnim poslovnim
subjektima, ciji posao zahteva da u svakom trenutku i u sto kracem roku
odgovore na razlicite zahteve svojih poslovnih klijenata.

Program Formular 2.0 sadrzi:
Model poslovnih i radnih ugovora, Zahteve, Resenja, Tuzbe, Prijave ... Sve ono
sto predstavlja desnu ruku svakog uspesnog rukovodioca.

NARUCIVANJE ISKLJUCIVO NA EMAIL:
[EMAIL PROTECTED]

DOSTAVITE SVE NEOPHODNE PODATKE:
[Naziv softvera koji narucujete ili ceo paket]
[Vase ime i prezime]
[Naziv preduzeca
i Vasa funkcija u preduzecu
]

[adresa]
[grad] - [postanski broj]
[telefon]

VAS MENADZER TIM
S postovanjem, zastupnik: Violeta Loncar.



Re: looking for openbsd friendly server vendor

2008-01-28 Thread RedShift

Lord Sporkton wrote:

Im about to buy a small server, mostly for personal use
looking for a 1u

was hoping to find some vendors that are openbsd friendly
if they offer more than just i386 that is a plus as im investigating
other archs as a possiblilty, any suggestions welcome

this server will be doing mostly webhosting, dns, mail, small
firewalling, and a vpn or 2

thanks



Hello,

I use HP and Supermicro servers, they usually work quite fine. I can 
recommend the DL320G5P, it has an optional 4-disk bay and has 800 Mhz 
DDR2 memory. Processor is a xeon 3xxx series.


Glenn



Re: vlan trunking with a powerconnect 5224

2008-01-28 Thread Kent Watsen
Looking at the output from `ifconfig` (see below), I notice that the 
trunk0 doesn't show that its UP - why wouldn't it be up?


Thanks,
Kent


# ifconfig
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33168
   groups: lo
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
gem0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:03:ba:0f:34:09
   groups: egress
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet xx.xxx.xxx.x netmask 0xff00 broadcast 96.231.191.255   
 [public ip masked]

   inet6 fe80::203:baff:fe0f:3409%gem0 prefixlen 64 scopeid 0x1
gem1: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:03:ba:0f:34:0a
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
hme0: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST 
mtu 1500

   lladdr 08:00:20:f2:e3:d4
   trunk: trunkdev trunk0
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::a00:20ff:fef2:e3d4%hme0 prefixlen 64 scopeid 0x3
hme1: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST 
mtu 1500

   lladdr 08:00:20:f2:e3:d4
   trunk: trunkdev trunk0
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::a00:20ff:fef2:e3d5%hme1 prefixlen 64 scopeid 0x4
hme2: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST 
mtu 1500

   lladdr 08:00:20:f2:e3:d4
   trunk: trunkdev trunk0
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::a00:20ff:fef2:e3d6%hme2 prefixlen 64 scopeid 0x5
hme3: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST 
mtu 1500

   lladdr 08:00:20:f2:e3:d4
   trunk: trunkdev trunk0
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::a00:20ff:fef2:e3d7%hme3 prefixlen 64 scopeid 0x6
enc0: flags=0 mtu 1536
trunk0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   lladdr 08:00:20:f2:e3:d4
   trunk: trunkproto roundrobin
   trunkport hme3 active
   trunkport hme2 active
   trunkport hme1 active
   trunkport hme0 master,active
   groups: trunk
   media: Ethernet autoselect
   status: active
vlan2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 08:00:20:f2:e3:d4
   vlan: 2 priority: 0 parent interface: trunk0
   groups: vlan
   inet 10.0.2.1 netmask 0xff00 broadcast 10.0.2.255
   inet6 fe80::a00:20ff:fef2:e3d4%vlan2 prefixlen 64 scopeid 0xa
vlan3: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 08:00:20:f2:e3:d4
   vlan: 3 priority: 0 parent interface: trunk0
   groups: vlan
   inet 10.0.3.1 netmask 0xff00 broadcast 10.0.3.255
   inet6 fe80::a00:20ff:fef2:e3d4%vlan3 prefixlen 64 scopeid 0xb
pflog0: flags=141UP,RUNNING,PROMISC mtu 33168
   groups: pflog



vlan trunking with a powerconnect 5224

2008-01-28 Thread Kent Watsen
I successfully have two vlans running over one physical interface 
connected to my managed switch (a PowerConnect 5224), but I can't get 
the same two vlans to work when running over a trunk interface spanning 
four physical interfaces.



Before:  (this works, but only uses one physical interface)
-
   # cat hostname.gem0
   inet xx.xxx.xxx.x 255.255.255.0 NONE   [public ip masked]

   # cat hostname.hme0
   up

   # cat hostname.vlan2
   inet 10.0.2.1 255.255.255.0 NONE vlan 2 vlandev hme0

   # cat hostname.vlan3
   inet 10.0.3.1 255.255.255.0 NONE vlan 3 vlandev hme0



After: (this doesn't work)

   # cat hostname.gem0
   inet xx.xxx.xxx.x 255.255.255.0 NONE   [public ip masked]

   # cat hostname.hme0
   up

   # cat hostname.hme1
   up

   # cat hostname.hme2
   up

   # cat hostname.hme3
   up

   # cat hostname.trunk0
   trunkproto roundrobin trunkport hme0 trunkport hme1 trunkport hme2 
trunkport hme3


   # cat hostname.vlan2
   inet 10.0.2.1 255.255.255.0 NONE vlan 2 vlandev trunk0

   # cat hostname.vlan3
   inet 10.0.3.1 255.255.255.0 NONE vlan 3 vlandev trunk0



Assuming all looks good above, the changes I made on the switch were:
   - create a bogus vlan (id )
   - make the four ports untagged members of vlan id 
   - remove the four ports as members of vlan id 1
   - make the four ports be members of trunk 1
   - make trunk 1 tagged member of vlans 2 and vlan 3


But no traffic gets through.  For instance, ssh-ing through the firewall 
and switch to target results in Network is unreachable during which 
pflog shows a match for pass out on vlan2;  `tcpdump -n -i trunk0` 
shows nothing;  `tcpdump -n -i vlan2` shows nothing; heck, even `tcpdump 
-n -i hme0` shows nothing.  Likewise,  `tcpdump` on the target shows no 
traffic.


Any ideas?


Thanks,
Kent



Test Limerick, please ignore

2008-01-28 Thread Darrin Chandler
There once was a message to test
Repeated unto being a pest
While marked to ignore
It was seen more and more
Until other begged, Give it a rest!

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation



[SOLVED] mysqld: Error in accept: Bad file descriptor

2008-01-28 Thread Takumitsu Itoh
  When starting daemon via login shell below, not crash during 8 hours. % su
-c _mysql root -c '/usr/local/bin/mysqld_safe '  /dev/null 

Thank you :)


 Ah, perhaps your OS is older, this was added in 4.2. The file is
 available in cvsweb and should also be relevant to you.

Ok. I use 4.1-stable.


http://www.openbsd.org/cgi-bin/cvsweb/ports/databases/mysql/files/README.Ope
nBSD?rev=1.1content-type=text/x-cvsweb-markup

  http://fixunix.com/bsd/87683-openbsd-mysql.html
  I found this site from your hint, so added configuration below.

 You don't mention changing the sysctl which controls the maximum
 number of files that can be opened in the system.



Re: looking for openbsd friendly server vendor

2008-01-28 Thread Reza Muhammad
anyone knows about IBM xSeries 3550? I checked on 
http://www.openbsd.org/i386.html and I saw that IBM xSeries 3550 were listed a 
few times.  

I am also looking to buy a U1 server, and I'm looking at either IBM xSeries 
3550 or a Dell PowerEdge 1950. Anyone has any experience with these machines?

As Allie Daneman described on Sun, Jan 27, 2008 at 12:43:41PM -0800:
 Netra T1 (like a 105) or a Dell...the Netras are cheap on Ebay.

 Lord Sporkton wrote:
 Im about to buy a small server, mostly for personal use
 looking for a 1u

 was hoping to find some vendors that are openbsd friendly
 if they offer more than just i386 that is a plus as im investigating
 other archs as a possiblilty, any suggestions welcome

 this server will be doing mostly webhosting, dns, mail, small
 firewalling, and a vpn or 2

 thanks



Re: Installation of base system without xbase42 disallow ports compiling.

2008-01-28 Thread Nick Holland
Kyrylo Klimakov wrote:
...[snip the same ol' libexpat stuff]...
 I think that such behavior of the installer could be treated like a
 bug and package
 xbase42 should be moved to required section or at least in the
 installation documents
 should be described such trouble.
 
 What do you think about?

I think you should read the instructions that were scattered
everywhere we could think to put them:

http://www.openbsd.org/faq/upgrade42.html#libexpat
http://www.openbsd.org/faq/upgrade42.html#Pkgup
http://www.openbsd.org/faq/faq1.html#WhatsNew
http://www.openbsd.org/faq/faq15.html#NoFun
http://www.openbsd.org/faq/faq4.html#FilesNeeded

The last one is a bit weak, but I think you will find the rest are
making it pretty clear that this has been recognized as a major
problem and will be fixed for the next release (and, in fact, has
long been so: http://www.openbsd.org/faq/current.html).

So, ignoring things that can't be changed, the release
documentation that is already on the CD and in the release, where
do you wish us to make these changes?

Original plan was to chop up the developers responsible for this,
tattoo a note about it on each piece and mail the bits to people
who bought the CD sets, but the postal service objected to this.
There was also some question about the long term impact on the
sales of CDs, so plastering it all over the website was considered
a reasonable alternative. ;)

(Slightly more seriously: Theo himself charged me with making sure
this was plastered all over the things people would be looking at,
and told me to make it clear it was an error, and would be fixed
for the next release.  upgrade43.html will include a bit about
removing xbase42.tgz if you had to install it for 4.2)


Nick.



Re: Error in softraid documentation?

2008-01-28 Thread Philip Guenther
On Jan 26, 2008 7:11 PM, Matthew Szudzik [EMAIL PROTECTED] wrote:
...
 Of course, not every version of echo interprets \n as a newline.  In
 fact, /bin/echo treats \n as a literal backslash followed by a literal
 n.  The version of echo that is built into csh also interprets it as a
 literal backslash followed by a literal n.  But the softraid man page
 certainly intends it to be interpreted as a newline.

Sounds like it should use printf(1) instead of echo(1), as that does
have consistent behavior between shells (and platforms).


Philip



Re: Error in softraid documentation?

2008-01-28 Thread Jason McIntyre
On Sun, Jan 27, 2008 at 02:11:26AM +, Matthew Szudzik wrote:
 I recently noticed that the examples in the softraid man page
 
  http://www.openbsd.org/cgi-bin/man.cgi?query=softraid
 
 contain many lines such as
 
  echo d a\na\n\n\n\nRAID\nw\nq\n | disklabel -E wd1
 
 Of course, not every version of echo interprets \n as a newline.  In
 fact, /bin/echo treats \n as a literal backslash followed by a literal
 n.  The version of echo that is built into csh also interprets it as a
 literal backslash followed by a literal n.  But the softraid man page
 certainly intends it to be interpreted as a newline.
 
 So, is the man page in error?  Or are the examples in man pages only
 intended for use in the default shell?  (Note that ksh is the default
 shell, and ksh has a built-in echo command that interprets \n as a
 newline.)

well, the man page is not exactly in error - it just presupposes the use
of the default shell. unfortunately /bin/echo does not support character
sequences such as \n, even though they are noted as mandated by XSI.
bummer.

marco: can we use printf(1) instead? i think we'd need an extra \n (no
idea why):

echo d a\na\n\n\n\nRAID\nw\nq\n
would become:
printf d a\na\n\n\n\nRAID\nw\nq\n\n

we'd maybe need to replace all echo commands with printf. it would at
least be more portable.

jmc



Re: ksh history question

2008-01-28 Thread Denny White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

On Mon, Jan 28, 2008 at 11:32:00PM +, Jason McIntyre sez:  On Sun, Jan 27, 
2008 at 05:27:26PM -0600, Denny White wrote:
  
  I've read the ksh man page, googled for days,  can't seem to come
  up with the answer. Either I put no mention of HISTFILE and HISTSIZE
  in $HOME/.profile and I don't have a lasting history file of previous
  commands. Or, I put it in and I do have a history file, but the
  HISTSIZE setting has no effect. It doesn't change and the file grows
  and grows. Currently I have it set as shown below to save my command
  line history:
  
  HISTFILE=.ksh_history
  HISTSIZE=50
  
  I've tried using .ksh_history$$ to have a different file each login,
  and know I can run a cronjob nightly to clean them up if I want to,
  but I can't figure out how to make the history turn over just like
  it's supposed to with the HISTSIZE value without all that other mess.
  Thanks for any help I can get on this.
  
 
 notice that the variable is named HISTSIZE, not HISTFILESIZE :)
 
 HISTSIZE affects how many commands are kept in history (in memory - not
 file). so, for example, if you set HISTSIZE=3 you'll only be able to
 recall the past 3 commands in history. it does not turn over HISTFILE,
 however.
 
 i'm a bit confused by this myself, though - it does seem logical that
 the HISTFILE not store more commands than history itself is able to
 recall. i can;t tell by looking at the code what goes on in there -
 maybe someone else can chip in...
 
 jmc
 

Thanks, Jason. Yeah, I tried the HISTFILESIZE too. What's really
weird is, just all of a sudden, it started working! But, instead
of it starting with the number 1 on the beginning, with HISTSIZE
set at 50, e.g., you run 'fc -l 0'  you might see the beginning
number 163 with the most current command number being 211. It
never goes all the way to 50 commands, usually just 48 before
dropping one off the tail end. This is no problem, I just must be
misunderstanding the man page. Another thing I found out is, after
copying $HOME/.profile to $HOME.kshrc, removing all mention of
HISTFILE  HISTSIZE from .kshrc  putting only the following in
.profile

HISTSIZE=50;export HISTSIZE
HISTFILE=.ksh_history;export HISTFILE
ENV=$HOME/.kshrc
export ENV

it works just the same as if there was no .kshrc file  everything
was still all in .profile. I've got it running one way on one box
 the other way on another box,  they're both working. Why they
didn't work before is a mystery to me. But, I learned something
anyway about being able to do it two different ways. Thanks for
the answer.

-- 

Denny White

All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===
iD8DBQFHnoXpy0Ty5RZE55oRAlWQAJ0dPTy8YPFpLUkFhwvffPPBGqQlegCgyCD/
wiyKY3CVLCv20grRO5N7dgc=
=lGiL
-END PGP SIGNATURE-



Re: usb wifi adapter

2008-01-28 Thread Eric
On Saturday 26 January 2008 2:38:07 pm Pau Amaro-Seoane wrote:
 Hi,

 I have looked for a while, but I could not find a concrete answer to
 my problem. I would like to buy an usb wifi adapter which works with
 OpenBSD. I know that OpenBSD is the free OS which most chipsets
 supports in the world but... what about the usb thing? Does it require
 blobs? Will it work ou of the box? What's your experience? If  you
 can name me some cheap adapters, I would be very grateful!

 thanks for your patience

 Pau

Linksys WUSB54GC has worked fine out of the box for me.



TEST EMAILS

2008-01-28 Thread Jason Dixon
Do *NOT* send test emails to the list.  If you think that you're not  
getting emails, or your posts aren't making it to the list, follow  
this friendly advice.



1) Check the archives.  If there's nothing there, that should tell you  
the lists are a) under maintenance, b) having problems.  Either way,  
rest assured that the OpenBSD listserv administrator already knows  
about it.


2) Check your subscription to the list (http://lists.openbsd.org/).   
Maybe you've been tweaking your settings recently and changed your  
delivery options.


3) Check your own mailserver.  Are you getting mail normally?  This is  
probably the least likely, unless you really are having other mail  
problems.



REGARDLESS, DO NOT SEND TEST EMAILS TO THE LIST.  Nobody wants your  
spam.  Least of all the rest of the members who have to routinely wade  
through the noise ratio that has increased exponentially of late.  As  
I mentioned in #1, the list administrator will certainly be aware of  
any problems much earlier than you could have.


---
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



Re: separate processors

2008-01-28 Thread Douglas A. Tutty
On Mon, Jan 28, 2008 at 11:46:44AM -0800, Lord Sporkton wrote:
 On 28/01/2008, johan beisser [EMAIL PROTECTED] wrote:
  On Jan 27, 2008, at 9:24 PM, Lord Sporkton wrote:
 
   I am setting up a duel core server, the server will be doing 2 things,
   firewall/routing and user-services
  
   since my needs are pretty small for this server and its a duel 2.0
   64bit i was hoping to sort of partition the cpus such that
   firewalling/kernel processes get one processor and user services like
   webhosting, mail, fileserver, and all userland gets the other
   processor, that way my firewall wont be bothered by anything else im
   doing.
 
  Multiple CPU systems don't work like that, generally.
 
   is this possible and if so where should i start with this.
 
  - Google.
  - the misc@ archives.
 
 what keywords should be be searching for?
 i have no idea what this would be called?

The real question which you should ask yourself is why you want to keep
the kernel and the user processes on separate CPUs.  What is it to you
which CPU the scheduler places processes?

Firwall happens within the kernel but so do all the system calls that
the other processes issue.  AFAIK, the kernel stays on one CPU and is
why MP doesn't help firewall performance.  If your firewall can't keep
up and other CPUs are idle, then you need a more powerful CPU or a
separate box just for the firewall.

Doug.



Re: Installation of base system without xbase42 disallow ports compiling.

2008-01-28 Thread Ted Unangst
On Jan 26, 2008 12:51 PM, Kyrylo Klimakov [EMAIL PROTECTED] wrote:
 I think that such behavior of the installer could be treated like a
 bug and package
 xbase42 should be moved to required section or at least in the
 installation documents
 should be described such trouble.

 What do you think about?

i think you should read the faq.



Re: ksh history question

2008-01-28 Thread Jason McIntyre
On Sun, Jan 27, 2008 at 05:27:26PM -0600, Denny White wrote:
 
 I've read the ksh man page, googled for days,  can't seem to come
 up with the answer. Either I put no mention of HISTFILE and HISTSIZE
 in $HOME/.profile and I don't have a lasting history file of previous
 commands. Or, I put it in and I do have a history file, but the
 HISTSIZE setting has no effect. It doesn't change and the file grows
 and grows. Currently I have it set as shown below to save my command
 line history:
 
 HISTFILE=.ksh_history
 HISTSIZE=50
 
 I've tried using .ksh_history$$ to have a different file each login,
 and know I can run a cronjob nightly to clean them up if I want to,
 but I can't figure out how to make the history turn over just like
 it's supposed to with the HISTSIZE value without all that other mess.
 Thanks for any help I can get on this.
 

notice that the variable is named HISTSIZE, not HISTFILESIZE :)

HISTSIZE affects how many commands are kept in history (in memory - not
file). so, for example, if you set HISTSIZE=3 you'll only be able to
recall the past 3 commands in history. it does not turn over HISTFILE,
however.

i'm a bit confused by this myself, though - it does seem logical that
the HISTFILE not store more commands than history itself is able to
recall. i can;t tell by looking at the code what goes on in there -
maybe someone else can chip in...

jmc



Re: Petition to VIA

2008-01-28 Thread Ioan Nemes
 AndrC)s [EMAIL PROTECTED] 29/01/2008 09:24 
On Jan 28, 2008 4:10 PM, Gilles Chehade [EMAIL PROTECTED] wrote:
 On Mon, Jan 28, 2008 at 11:11:53AM +0100,
[EMAIL PROTECTED] wrote:
  Hi everybody,
 
  I don't know if it's known but there's a online petition for VIA.
  Hopefully some people sign up and name also OpenBSD (in the
  optional-section).
 
  It's about VIAs policy with docs/drivers and the lies they spread
(about
  supporting Opensouce).
 
  Link:
  http://www.petitiononline.com/vialinux/petition.html
 
  Kind regards,
  Sebastian
 

 RELEASE DECENT LINUX DRIVERS!

  I won't sign and I doubt it is a good idea to say to a vendor that
we want decent drivers
  when this will only encourage them into providing blobs instead of
documentation.

  Gilles

 --
 Gilles Chehade



 I won't sign anything which uses the word Linux.

 Ask for documentation for UNIX-like operating systems for Christ's
sake.

You still talk to your relatives despite hating your mother-in-law!
Read this:  http://en.wikipedia.org/wiki/Henry_IV_of_France

ioan





This e-mail is intended for the addressee(s) named and may contain
confidential and/or privileged information. If you are not the intended
recipient, please delete it immediately and notify the sender. Any views
expressed in this email are those of the individual sender except where
the sender expressly and with authority states them to be the views of
Fairfield City Council.



Re: Petition to VIA

2008-01-28 Thread chefren

On 1/29/08 12:17 AM, Andris wrote:


I won't sign anything which uses the word Linux.

Ask for documentation for UNIX-like operating systems for Christ's sake.


Just documentation without unnecessary strings attached will do.

So no NDA's, Non Disclosure Agreements.

+++chefren



Apologies - there were troubles with (new?) list protection

2008-01-28 Thread Zbigniew Baniewski
I'm sorry, that I had to test several times the connection to the list - but
it was done in strict cooperation with Mr. Todd C. Miller, list maintainer
and administrator.

There were problems with list protection, and - at first - my mails were
considered filtered, which - as we can see - weren't the case. It seems, that
all is fully functional now.

Sorry for all inconvenience.
-- 
pozdrawiam / regards

Zbigniew Baniewski



Re: Installation of base system without xbase42 disallow ports compiling.

2008-01-28 Thread Anders Langworthy

Kyrylo Klimakov wrote:


I tried to build expat from ports but after make i got.
===  expat-2.0.0p0 -- expat comes with OpenBSD as of release 4.2.

I was weird for me because of
I did not found expat on the system and on the packages.
I tried to find something via google and get link to the article on
upgrade from
OpenBSD 4.1 to OpenBSD 4.2. Where was noticed that expat now is located
in xbase42.tgz packages which was in recommended section.

I think that such behavior of the installer could be treated like a
bug and package
xbase42 should be moved to required section or at least in the
installation documents
should be described such trouble.


Hello.

Making libexpat part of xbase42.tgz was perhaps an error in judgment. 
It has been moved to the base system in -current and this will be 
reflected in the next release.


I think building of ports isn't supported without *all* installation 
packages installed anyway, so this isn't technically a bug.


This is mentioned numerous places, such as in the docs here:
http://openbsd.org/faq/upgrade42.html

Cheers!



Re: ksh history question

2008-01-28 Thread Steve Mayer

Have you tried it without the quotes?

HISTSIZE=50

Steve

On Jan 27, 2008, at 3:27 PM, Denny White wrote:


-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

I've read the ksh man page, googled for days,  can't seem to come
up with the answer. Either I put no mention of HISTFILE and HISTSIZE
in $HOME/.profile and I don't have a lasting history file of previous
commands. Or, I put it in and I do have a history file, but the
HISTSIZE setting has no effect. It doesn't change and the file grows
and grows. Currently I have it set as shown below to save my command
line history:

HISTFILE=.ksh_history
HISTSIZE=50

I've tried using .ksh_history$$ to have a different file each login,
and know I can run a cronjob nightly to clean them up if I want to,
but I can't figure out how to make the history turn over just like
it's supposed to with the HISTSIZE value without all that other mess.
Thanks for any help I can get on this.

--

Denny White

All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===
iD8DBQFHnQ+ey0Ty5RZE55oRAm+IAJ4mFSIXHqORlxAmbuIu4VTOd7Z35QCgpwDP
X6R0e88UGv5D/5VGHG4rX6I=
=hMAH
-END PGP SIGNATURE-




Re: ksh history question

2008-01-28 Thread Jordi Espasa Clofent

HISTFILE=.ksh_history
HISTSIZE=50


Try it without double quotes on HISTSIZE value; and remember to export them.

--
Thanks,
Jordi Espasa Clofent



PoPToP Vulnerability Question

2008-01-28 Thread Richard P. Koett
Dear Misc:

I've been asked to look into an issue on a i386 system running OpenBSD 3.7. I
realize this is rather out-of-date, so feel free to ignore this question if
it's inappropriate...

The machine is running poptop-1.1.4.b4p1. Someone did an audit and declared
PoPToP servers prior to version 1.1.4-bs are vulnerable to a buffer
overflow. I notice that even the current version of OpenBSD has a package for
poptop-1.1.4.b4p1, so I find it hard to believe that this version contains a
known buffer overflow. My question is - what information can I provide the
auditor to assure them of this?

Thanks in advance for any comments. For what it's worth I am aware of
alternatives to PoPToP such as OpenVPN.

RPK.



install error: uid 0 on /: file system full

2008-01-28 Thread Juan Miscaro
I'm trying to install using cd42.iso from the 230108 snapshot and I get
a critical error when I try to set up my hard disk.

Right after the question Do you want to use *all* of wd0 for OpenBSD?

Whether I answer y or no (and then try to create a partition) this
is what I get:

uid 0 on /: file system full

/: write failed, file system is full
Segmentation fault
ERROR: No root partition (wd0a).


This has happened to a real machine as well as a virtual one.  Is this
standard stuff when using a snapshot?

Thanks for any advice,

/juan









  Get a sneak peak at messages with a handy reading pane with All new 
Yahoo! Mail: http://ca.promos.yahoo.com/newmail/overview2/



Re: Petition to VIA

2008-01-28 Thread johan beisser

On Jan 28, 2008, at 11:10 AM, Gilles Chehade wrote:


RELEASE DECENT LINUX DRIVERS!

I won't sign and I doubt it is a good idea to say to a vendor that  
we want decent drivers
when this will only encourage them into providing blobs instead of  
documentation.


The average user doesn't know the difference between a driver and  
firmware.


See the Stallman rants earlier this year.



openBSD 4.2 and LSI raid

2008-01-28 Thread Rami Sik
Hi All,



I am trying to mirror an openBSD4.2 install on a Sun v20z box. That box
has LSI 1030 internal raid controller. According to the LSI manual, I
reboot the box into the LSI tool by pressing Ctrl-C while booting. When
I try to mark the primary disk, it says Can't keep data. Incompatible
partition. So, it could not mirror a disk with already installed
openBSD4.2 partitions.



I did a research and found the similar problem already reported for
Linux installations, and Sun released a workaround for it. However, I
cannot find anything about openBSD installations.



So, has anyone run into that problem? If so, how did you succeed
mirroring an openBSD4.2 disk on such a hardware platform?



Thanks,





Rami Sik



Re: Error in softraid documentation?

2008-01-28 Thread Marco Peereboom
sure.

On Tue, Jan 29, 2008 at 01:50:59AM +0001, Jason McIntyre wrote:
 On Sun, Jan 27, 2008 at 02:11:26AM +, Matthew Szudzik wrote:
  I recently noticed that the examples in the softraid man page
  
   http://www.openbsd.org/cgi-bin/man.cgi?query=softraid
  
  contain many lines such as
  
   echo d a\na\n\n\n\nRAID\nw\nq\n | disklabel -E wd1
  
  Of course, not every version of echo interprets \n as a newline.  In
  fact, /bin/echo treats \n as a literal backslash followed by a literal
  n.  The version of echo that is built into csh also interprets it as a
  literal backslash followed by a literal n.  But the softraid man page
  certainly intends it to be interpreted as a newline.
  
  So, is the man page in error?  Or are the examples in man pages only
  intended for use in the default shell?  (Note that ksh is the default
  shell, and ksh has a built-in echo command that interprets \n as a
  newline.)
 
 well, the man page is not exactly in error - it just presupposes the use
 of the default shell. unfortunately /bin/echo does not support character
 sequences such as \n, even though they are noted as mandated by XSI.
 bummer.
 
 marco: can we use printf(1) instead? i think we'd need an extra \n (no
 idea why):
 
   echo d a\na\n\n\n\nRAID\nw\nq\n
 would become:
   printf d a\na\n\n\n\nRAID\nw\nq\n\n
 
 we'd maybe need to replace all echo commands with printf. it would at
 least be more portable.
 
 jmc



Re: PoPToP Vulnerability Question

2008-01-28 Thread Axton
On Jan 28, 2008 11:05 PM, Richard P. Koett [EMAIL PROTECTED] wrote:
 Dear Misc:

 I've been asked to look into an issue on a i386 system running OpenBSD 3.7. I
 realize this is rather out-of-date, so feel free to ignore this question if
 it's inappropriate...

 The machine is running poptop-1.1.4.b4p1. Someone did an audit and declared
 PoPToP servers prior to version 1.1.4-bs are vulnerable to a buffer
 overflow. I notice that even the current version of OpenBSD has a package for
 poptop-1.1.4.b4p1, so I find it hard to believe that this version contains a
 known buffer overflow. My question is - what information can I provide the
 auditor to assure them of this?

 Thanks in advance for any comments. For what it's worth I am aware of
 alternatives to PoPToP such as OpenVPN.

 RPK.

http://www.openbsd.org/faq/faq15.html#Intro

See the third paragraph in this section.



Re: ksh history question

2008-01-28 Thread Denny White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

On Mon, Jan 28, 2008 at 11:56:56PM +0100, Jordi Espasa Clofent sez:
 HISTFILE=.ksh_history
 HISTSIZE=50
 
 Try it without double quotes on HISTSIZE value; and remember to export them.
 
 -- 
 Thanks,
 Jordi Espasa Clofent
 

Thanks for the reply, Jordi. Yeah, I saw that while googling around
 tried it, but by the time I'd posted my question, I'd taken the
quotes off. It still wasn't working. Why, all of a sudden it started
working last night, I don't know. I'm just glad it did. I think I
copied that in from a something other than the working file when I
posted to [EMAIL PROTECTED] Probably a .profile~ in $HOME. My bad. Thanks for
answering, though.

-- 

Denny White

All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===
iD8DBQFHnr4Ly0Ty5RZE55oRAlbNAKCogEisCCKulQyADSlPVptb/Rd1fACgg2XG
n8nZLrmDibOfWCyJobqC3M0=
=Z76v
-END PGP SIGNATURE-



Re: install error: uid 0 on /: file system full

2008-01-28 Thread Chris Kuethe
disklabel is broken in that snapshot. use the one from today (2008-01-28)

On Jan 28, 2008 6:19 PM, Juan Miscaro [EMAIL PROTECTED] wrote:
 I'm trying to install using cd42.iso from the 230108 snapshot and I get
 a critical error when I try to set up my hard disk.

 Right after the question Do you want to use *all* of wd0 for OpenBSD?

 Whether I answer y or no (and then try to create a partition) this
 is what I get:

 uid 0 on /: file system full

 /: write failed, file system is full
 Segmentation fault
 ERROR: No root partition (wd0a).


 This has happened to a real machine as well as a virtual one.  Is this
 standard stuff when using a snapshot?

 Thanks for any advice,

 /juan









   Get a sneak peak at messages with a handy reading pane with All new 
 Yahoo! Mail: http://ca.promos.yahoo.com/newmail/overview2/





-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



sendmail setup mail server error

2008-01-28 Thread Chris
I'm trying to setup a mail server. But getting an error: m4:
mydomain.mc at line 11: include(../domain/mydomain.com.m4): No such
file or directory

This is what I did so far -

cd /usr/share/sendmail/cf

cp openbsd-proto.mc mydomain.mc

vi mydomain.mc

divert(0)dnl
VERSIONID(`@(#)mydomain.mc $Revision: 1.11 $')dnl
OSTYPE(openbsd)dnl
DOMAIN(mydomain.com)dnl
FEATURE(`virtusertable', `dbm /etc/mail/virtusertable')dnl
MAILER(local)dnl
MAILER(smtp)dnl

divert(-1)

I didn't change anything else in this file.

m4 ../m4/cf.m4 mydomain.mc  mydomain.cf

m4: mydomain.mc at line 11: include(../domain/mydomain.com.m4): No
such file or directory

Any help would be much appreciated. Thanks.



Re: PoPToP Vulnerability Question

2008-01-28 Thread Eduardo Tongson
Did you look at ports if it has patch applied for the vulnerability?
The administrator of that OpenBSD machine should already be aware the
installed software. It is not an automagical secure system after all.

On Jan 29, 2008 12:05 PM, Richard P. Koett [EMAIL PROTECTED] wrote:
 Dear Misc:

 I've been asked to look into an issue on a i386 system running OpenBSD 3.7. I
 realize this is rather out-of-date, so feel free to ignore this question if
 it's inappropriate...

 The machine is running poptop-1.1.4.b4p1. Someone did an audit and declared
 PoPToP servers prior to version 1.1.4-bs are vulnerable to a buffer
 overflow. I notice that even the current version of OpenBSD has a package for
 poptop-1.1.4.b4p1, so I find it hard to believe that this version contains a
 known buffer overflow. My question is - what information can I provide the
 auditor to assure them of this?

 Thanks in advance for any comments. For what it's worth I am aware of
 alternatives to PoPToP such as OpenVPN.

 RPK.



Re: ksh history question

2008-01-28 Thread Denny White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

 On Jan 27, 2008, at 3:27 PM, Denny White wrote:
 I've read the ksh man page, googled for days,  can't seem to come
 up with the answer. Either I put no mention of HISTFILE and HISTSIZE
 in $HOME/.profile and I don't have a lasting history file of previous
 commands. Or, I put it in and I do have a history file, but the
 HISTSIZE setting has no effect. It doesn't change and the file grows
 and grows. Currently I have it set as shown below to save my command
 line history:
 
 HISTFILE=.ksh_history
 HISTSIZE=50
 
 I've tried using .ksh_history$$ to have a different file each login,
 and know I can run a cronjob nightly to clean them up if I want to,
 but I can't figure out how to make the history turn over just like
 it's supposed to with the HISTSIZE value without all that other mess.
 Thanks for any help I can get on this.
 
 -- 
 
 Denny White
 
On Mon, Jan 28, 2008 at 03:26:20PM -0800, Steve Mayer sez:
 Have you tried it without the quotes?
 
 HISTSIZE=50
 
 Steve

Yeah, dumbass me, I just answered the same question in another reply.
Should've looked at the rest of the messages. ;) Anyway, yeah, I had
tried it both ways  it still didn't work. Like I said before, why
all of a sudden it started working, I don't know. But it now it works.
Each time I made changes, I tried various ways of getting it to take
effect. I did '. ./.profile' to get the system to reread it, exited
 logged back in, etc. Strange problem but now it's resolved. Thanks
for the help, Steve. 

-- 

Denny White

All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===
iD8DBQFHnr+4y0Ty5RZE55oRAmM3AKDRVZQx0wLMBbpXVPRIi3oqaDdouACgjtIN
sUKw7wiPZednI/fZvRCT1bw=
=nwNv
-END PGP SIGNATURE-



Re: PoPToP Vulnerability Question

2008-01-28 Thread Richard P. Koett
Axton wrote:
 On Jan 28, 2008 11:05 PM, Richard P. Koett [EMAIL PROTECTED] wrote:
 Dear Misc:
 
 I've been asked to look into an issue on a i386 system running
 OpenBSD 3.7. I realize this is rather out-of-date, so feel free to
 ignore this question if it's inappropriate... 
 
 The machine is running poptop-1.1.4.b4p1. Someone did an audit and
 declared PoPToP servers prior to version 1.1.4-bs are vulnerable to
 a buffer overflow. I notice that even the current version of
 OpenBSD has a package for poptop-1.1.4.b4p1, so I find it hard to
 believe that this version contains a known buffer overflow. My
 question is - what information can I provide the auditor to assure
 them of this? 
 
 Thanks in advance for any comments. For what it's worth I am aware of
 alternatives to PoPToP such as OpenVPN.
 
 RPK.
 
 http://www.openbsd.org/faq/faq15.html#Intro
 
 See the third paragraph in this section.

Yes, I understand that packages are not audited as the base system is.
It just seemed unlikely to me that the PoPToP version in packages would
remain unchanged through 6 different releases of OpenBSD if it was known
to have a buffer overflow.



Re: Test Limerick, please ignore

2008-01-28 Thread Peter N. M. Hansteen
Darrin Chandler [EMAIL PROTECTED] writes:

 There once was a message to test
 Repeated unto being a pest
   While marked to ignore
   It was seen more and more
 Until other begged, Give it a rest!

That one needs to be included in the faq somewhere, urgently.

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: PoPToP Vulnerability Question

2008-01-28 Thread Richard P. Koett
Eduardo Tongson wrote:
 Did you look at ports if it has patch applied for the vulnerability?
 The administrator of that OpenBSD machine should already be aware the
 installed software. It is not an automagical secure system after all.


I don't mean to imply that I expect ports to be automagically secure. I'm
merely trying to find out if the package in use (poptop-1.1.4.b4p1) requires
patching or replacement. I don't see a newer version in the current packages.

Thanks,
RPK.



Re: Computer name question

2008-01-28 Thread Denny White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

On Mon, Jan 28, 2008 at 09:25:08AM -0600, Eric Johnson sez:
 I recently changed the name of a computer with OpenBSD 4.2 by editing
 the /etc/myname file.  That seems to have taken care of the renaming
 almost everywhere.  I also changed the name in the /etc/hosts file as
 well.
 
 However, when I send an e-mail from it using mail, the from address
 shows the original name, not the changed name.  Also, if I don't specify
 a hostname for the to address, it appends the old hostname instead of
 the new hostname.
 
 The configuration file in /etc/mail doesn't have the original name
 anywhere.  Neither does the mc file.
 
 Does anyone know what else I need to change?
 
 Thanks,
 
 Eric Johnson
 
 [demime 1.01d removed an attachment of type application/pgp-signature]
 

AFAIK, there are 3 files it says that need to be updated when
changing hostname. /etc/hosts, /etc/myname  /etc/hostname.interface.
The last one on my system is hostname.fxp0 and, since you didn't
mention changing your IP address, I don't why hostname.interface
would have to be changed.
I hate to ask this, but did you reboot or restart the network after
making your changes? If not, you're not going to see the changes
until you do one or the other, or change it using sysctl. Try this
 see what you get:

sysctl -a |grep hostname

If it still shows the old hostname,

sudo sysctl hostname=newname (same as in /etc/hosts  /etc/myname)

Then try your email again  see what happens.

-- 

Denny White

All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===
iD8DBQFHntnQy0Ty5RZE55oRAnmxAJ93VhJJY5VSNpN0e3ufIf+/0werWACeKRW6
FwulQ1BjeOoivv2YJssseYU=
=+QIK
-END PGP SIGNATURE-