Re: problem with ipsec tunnel between pix and openbsd

2007-09-13 Thread Sebastian Reitenbach
Hi,

   
   I setup a tunnel between a pix and an openbsd isakmpd to
   connect two networks behind each tunnel endpoint. 
   pinging through the tunnel from both sides works, for
   the first 15 minutes. then the ping stops working.
   When I recreate the tunnel, then the ping starts to 
   work again. I start isakmpd with isakmpd -k and I use
   ipsecctl to activate the tunnel.
   To work around the problem I added dead peer detection
   to the isakmpd.conf file. It checks every 10 seconds for a
   dead peer, this detects that the tunnel is not in a good
   state, and restarts it. I also found in an old howto that
   I have to create a policy file, that says that the OpenBSD
   box is the initiator of the tunnel.
   I have not found a way to prevent the tunnel to go into
   that bad state. I think I have a problem with rekeying.
   In my eyes activating the DPD is only a 
   working on the symptoms, so I assume there must be a better
   way to fix the problem. 
   
   

I just saw this statement on the 42.html page:

Fixed isakmpd(8) interop-issues with peers, that start rekeying on port 4500 
for NAT-T (e.g. Cisco, Openswan)

well, I see isakmpd listening on port 4500, but I do not have NAT-T 
specially configured. Not sure for what I need to look in the logs.

any idea whether this could be my problem?

kind regards
Sebastian



D-Link DWL-650 CardBus crash report

2007-09-13 Thread Evgeniy Sudyr
Hello all,

I bought D-Link G650 (ath) - which is present in
http://openbsd.org/i386.html list.

When I put this card into my laptop (Toshiba Satellite S6157) and try boot 
-current (GENERIC) I
get panic message at the end of boot.

= panic message =
# panic: pmap_remove_ptes: managed page without PG_PVLIST for
0xe6481000
Stopped at Debugger+0x4: leave
= panic message =

= show registers =
ds 0x10
es 0xd210 kernel_text+0x10
fs 0xe6430058
gs 0xe643
edi 0xd06a2200 i386_cpuid_ecxfeatures+0x780
esi 0xe6436b08
ebp 0xe6436adc
ebx 0
edx 0
ecx 0xd074fa64 kprintf_mutex
eax 0x1
eip 0xd045ee6c Debugger+0x4
cs  0x8
eflags 0x202
esp 0xe6436adc
ss 0xe6430010
Debugger+0x4: leave
= show registers =

I don't have serial console for trace and ps output, but I have
Photo Camera :)

= ps =
ps output there http://eject.name/openbsd/ps.jpg

= trace =
trace output there http://eject.name/openbsd/ps.jpg


Please give me know if I can help more in resolving this bug.
-- 
Best regards,
 Evgeniy  mailto:[EMAIL PROTECTED]



Re: unix on lenovos

2007-09-13 Thread Julian Leyh
On 20:52 Wed 12 Sep , Pau Amaro-Seoane wrote:
 You'll notice that Mark Kohut (Lenovo's worldwide analyst) cannot tell
 the difference between linux and BSD (both freebsd and openbsd fall in
 the category of linux) but, in any case, maybe you feel like
 clicking the OpenBSD entry... I did

Well, only FreeBSD was in the initial set of answers. OpenBSD was added
by somebody else, as you can see from the footnote.

BTW, I voted for OpenBSD, too. But I think, Ubuntu already has too much
to catch up.

Regards,
Julian



Re: Setting up ccd RAID 1 Howto OpenBSD 4.1

2007-09-13 Thread nicodache
If I remember correctly, you have to use FS type RAID, and not FS type FS_RAID.
for the partition layout, the /boot on 100MB is to allow the machine
to boot, but after that, you put all your files in logical
subdivisions of the raid array.
I my case, I didn't use wd*a (/boot) in the /etc/fstab, as I don't
need it for day-to-day operation.

Last thing, instead of writing the raid.conf file under /etc, copy it
(if you can) from man raidctl, raidctl is very very very bad at
interpreting this file, and fail with a useless error message whenever
it finds whitespaces, tab, or CR where he didn't intend to...

nico

On 9/13/07, Jake Conk [EMAIL PROTECTED] wrote:
 Hey,

 I tried following that article but I got stuck at the part where you
 start partition your second drive. I created the first partition with
 100mb and type of 4.2 BSD then when I tried to create the second
 partition on my drive as FS_RAID as the article says but it said that
 FS_RAID is an unknown type and treated my partition as unknown?

 To me that part of the article on how to partition my disk is totally
 unclear. All it says is make the first partition 100m for the boot
 which makes sense then it doesn't say how to partition the rest of
 your drive to setup for the RAID 1? Can someone clarify this a bit
 more please? I'm stuck.

 Thanks,
 - Jake

 Anyways how do I fix this FS_RAID problem

 On 9/12/07, nicodache [EMAIL PROTECTED] wrote:
  I personnaly used the following doc to set up my software raid 1 frame :
  http://www.linux.com/articles/52713
 
  good luck :)
 
  On 9/12/07, Steve Williams [EMAIL PROTECTED] wrote:
   Jake Conk wrote:
Hello,
   
I've searched hi and low for hours on how to setup my system of a RAID
1 and basically what it comes down to is ccd and/or Raid Frame. I've
found helpful docs on using some of the commands and where to put my
configurations but nothing seems complete enough for me to figure it
out.
   
I have OpenBSD 4.1 installed on one disk and I have an exact duplicate
disk where i want to mirror my installation to incase of disk failure.
If this needs to be setup during install I'm willing reinstall
everything or if there is a way to configure my disks for ccd and
mirror them to the second disk then I'm willing to do that also.
   
Basically I don't know how to get this ball rolling, I've read 1) I
must change the disk type with disk label to ccd. Then 2) create ccd0
with ccdconfig and tell it to mirror disk 1 to disk 2. It then 3)
finally says to put my configuration into ccd.conf so that it can be
read in on boot by my system and of course put the stuff in fstab to
have it mounted on boot but thats all I know, everything is very vague
and no exact details on how to do this step by step with a new install
or a already running system.
   
Can someone please help provide a step by step way to mirror my whole
disk to a second disk by ressetting back up OpenBSD from scratch or if
possible configure my already installed system? I don't care if its
with ccd or another tool as long as I have a disk failover solution.
   
   
Please Please Please and Thanks!
- Jake
   
   Hi,
  
   Not for CCD, but raidframe..
  
   Search the mailing list archives for a thread with a subject Seeking
   info for RAID 1 on OpenBSD.  In there you will find all sorts of info.
  
   http://marc.info/?l=openbsd-miscm=116360194522004w=2
  
   http://www.packetmischief.ca/openbsd/doc/raidadmin/
  
   Good Luck,
  
   Thanks,
   Steve Williams



Re: : Setting up ccd RAID 1 Howto OpenBSD 4.1

2007-09-13 Thread Raimo Niskanen
On Wed, Sep 12, 2007 at 10:15:50PM -0700, Jake Conk wrote:
 Hey,
 
 I tried following that article but I got stuck at the part where you
 start partition your second drive. I created the first partition with
 100mb and type of 4.2 BSD then when I tried to create the second
 partition on my drive as FS_RAID as the article says but it said that
 FS_RAID is an unknown type and treated my partition as unknown?
 
 To me that part of the article on how to partition my disk is totally
 unclear. All it says is make the first partition 100m for the boot
 which makes sense then it doesn't say how to partition the rest of
 your drive to setup for the RAID 1? Can someone clarify this a bit
 more please? I'm stuck.
 

The FS_RAID filesystem type is called (in OpenBSD disklabel for
i386) just plain RAID. Type RAID at the prompt for filesystem type.
(Side note: on e.g the platform sparc64 you use 4.2BSD, not RAID)

Then go on and follow the article again. There are other articles like
that out there, I followed some other that was clearer on that point...
Nowdays I tend to improvise. I prefer to retain the whole base
installation that was used to build the raid-aware kernel (if I have
the diskpace) in case of disaster. Then one does not have to start
with a broken mirror - it can be created whole at once.



By the way, I recall rumours about some other RAID implementation coming
in OpenBSD 4.2. Does anyone know, just rumours?



 Thanks,
 - Jake
 
 Anyways how do I fix this FS_RAID problem
 
 On 9/12/07, nicodache [EMAIL PROTECTED] wrote:
  I personnaly used the following doc to set up my software raid 1 frame :
  http://www.linux.com/articles/52713
 
  good luck :)
 
  On 9/12/07, Steve Williams [EMAIL PROTECTED] wrote:
   Jake Conk wrote:
Hello,
   
I've searched hi and low for hours on how to setup my system of a RAID
1 and basically what it comes down to is ccd and/or Raid Frame. I've
found helpful docs on using some of the commands and where to put my
configurations but nothing seems complete enough for me to figure it
out.
   
I have OpenBSD 4.1 installed on one disk and I have an exact duplicate
disk where i want to mirror my installation to incase of disk failure.
If this needs to be setup during install I'm willing reinstall
everything or if there is a way to configure my disks for ccd and
mirror them to the second disk then I'm willing to do that also.
   
Basically I don't know how to get this ball rolling, I've read 1) I
must change the disk type with disk label to ccd. Then 2) create ccd0
with ccdconfig and tell it to mirror disk 1 to disk 2. It then 3)
finally says to put my configuration into ccd.conf so that it can be
read in on boot by my system and of course put the stuff in fstab to
have it mounted on boot but thats all I know, everything is very vague
and no exact details on how to do this step by step with a new install
or a already running system.
   
Can someone please help provide a step by step way to mirror my whole
disk to a second disk by ressetting back up OpenBSD from scratch or if
possible configure my already installed system? I don't care if its
with ccd or another tool as long as I have a disk failover solution.
   
   
Please Please Please and Thanks!
- Jake
   
   Hi,
  
   Not for CCD, but raidframe..
  
   Search the mailing list archives for a thread with a subject Seeking
   info for RAID 1 on OpenBSD.  In there you will find all sorts of info.
  
   http://marc.info/?l=openbsd-miscm=116360194522004w=2
  
   http://www.packetmischief.ca/openbsd/doc/raidadmin/
  
   Good Luck,
  
   Thanks,
   Steve Williams

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: D-Link DWL-650 CardBus crash report

2007-09-13 Thread Evgeniy Sudyr
Hello Miod,

Thursday, September 13, 2007, 10:58:21 AM, you wrote:

 I bought D-Link G650 (ath) - which is present in
 http://openbsd.org/i386.html list.

 When I put this card into my laptop (Toshiba Satellite S6157) and   
 try boot -current (GENERIC) I
 get panic message at the end of boot.

 [...]

 Please give me know if I can help more in resolving this bug.

 Could you also provide a complete dmesg as well?

 Miod

# dmesg
OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (GenuineIntel 686-class) 1.68 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,EST,TM2,CX16,xTPR
real mem  = 2137157632 (2038MB)
avail mem = 2058887168 (1963MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/22/06, BIOS32 rev. 0 @ 0xfd4a0, SMBIOS 
 
rev. 2.4 @ 0xdf010 (30 entries)
bios0: vendor TOSHIBA version V3.30date 12/22/2006
bios0: TOSHIBA Satellite P105
pcibios0 at bios0: rev 2.1 @ 0xfd4a0/0xb60
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd70/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #11 is the last bus
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1800 0xdf000/0x1000! 0xe/0x1800!
acpi at mainbus0 not configured
cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2806000a28
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1667 MHz (1340 mV): speeds: 1667, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03: aperture at 
0xc000  
   , size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Conexant/0x5045 (rev. 1.0), HDA version 1.0
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: irq 11, 
MoW 
1, address 00:19:d2:22:62:fd
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02
pci3 at ppb2 bus 4
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: irq 7
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: irq 7
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci4 at ppb3 bus 10
cbb0 at pci4 dev 4 function 0 TI PCIXX12 CardBus rev 0x00: irq 11
TI PCIXX12 FireWire rev 0x00 at pci4 dev 4 function 1 not configured
TI PCIXX12 Multimedia Card Reader rev 0x00 at pci4 dev 4 function 2 not 
config  
   ured
sdhc0 at pci4 dev 4 function 3 TI PCIXX12 Secure Data rev 0x00: irq 11
sdmmc0 at sdhc0
fxp0 at pci4 dev 8 function 0 Intel PRO/100 VM rev 0x02, i82562: irq 11, 
addre   
  ss 00:16:36:d1:9e:4e
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 11 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA, channel 
0  
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: FUJITSU MHV2200BT PL
wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-RAM UJ-850S, 1.10 SCSI0 5/cdrom 
re 
movable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x02: irq 11
iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at 

Re: D-Link DWL-650 CardBus crash report

2007-09-13 Thread Evgeniy Sudyr
Hello Evgeniy,

Thursday, September 13, 2007, 10:41:53 AM, you wrote:

 Hello all,

 I bought D-Link G650 (ath) - which is present in
 http://openbsd.org/i386.html list.

 When I put this card into my laptop (Toshiba Satellite S6157) and try boot 
 -current (GENERIC) I
 get panic message at the end of boot.

 = panic message =
 # panic: pmap_remove_ptes: managed page without PG_PVLIST for
 0xe6481000
 Stopped at Debugger+0x4: leave
 = panic message =

 = show registers =
 ds 0x10
 es 0xd210 kernel_text+0x10
 fs 0xe6430058
 gs 0xe643
 edi 0xd06a2200 i386_cpuid_ecxfeatures+0x780
 esi 0xe6436b08
 ebp 0xe6436adc
 ebx 0
 edx 0
 ecx 0xd074fa64 kprintf_mutex
 eax 0x1
 eip 0xd045ee6c Debugger+0x4
 cs  0x8
 eflags 0x202
 esp 0xe6436adc
 ss 0xe6430010
 Debugger+0x4: leave
 = show registers =

 I don't have serial console for trace and ps output, but I have
 Photo Camera :)

 = ps =
 ps output there http://eject.name/openbsd/ps.jpg

 = trace =
 trace output there http://eject.name/openbsd/ps.jpg
sorry, trace output there http://eject.name/openbsd/trace.jpg


 Please give me know if I can help more in resolving this bug.



-- 
Best regards,
 Evgeniymailto:[EMAIL PROTECTED]



Re: : Setting up ccd RAID 1 Howto OpenBSD 4.1

2007-09-13 Thread Stuart Henderson
On 2007/09/13 10:10, Raimo Niskanen wrote:
 By the way, I recall rumours about some other RAID implementation coming
 in OpenBSD 4.2. Does anyone know, just rumours?

It's there, but not in GENERIC. Note the CAVEATS.
http://www.openbsd.org/cgi-bin/man.cgi?query=softraid



Re: The Atheros story in much fewer words

2007-09-13 Thread Nick Holland
Theo de Raadt wrote:
 I recognize that writeup about the Atheros / Linux / SFLC story is a
 bit complex, so I wrote a very simple explanation to someone, and they
 liked it's clarity so much that they asked me to post it for everyone.
 Here it is (with a few more changes)
 
 -
 starting premise:
  
you can already use the code as it is
 
 steps taken:
 
 1. pester developer for a year to get it under another license.
- get told no, repeatedly
 
 2. climb over ethical fence
 
 3. remove his license
- get caught, look a bit stupid
 
 4. wrap his license with your own
- get caught, look really stupid
 
 5. assert copyright under author's license, without original work
- get caught, look even more stupid
 
 Right now the wireless linux developers -- aided by an entire team of
 evidently unskilled lawyers -- are at step 5, and we don't know what
 will happen next.  We wait, to see what will happen.
 
 Reyk can take them to court over this, but he must do it before the
 year 2047.


As you indicated in a previous posting, this does seem to point a
way to accomplish the long-desired goal of a BSD-licensed compiler
set, doesn't it?  Heck, using this process, I can become a coder!
src/, here I come!


Not sure why anyone is surprised here.  They have long demonstrated
their (re)definitions of commonly used words and phrases.  GNUspeak:

Open Source is THE WAY!  (unless, of course, there's a binary blob
around, which is more than sufficient)

Give back to the community! (which really means, I'm the community,
gimme, gimme, gimme!)

Free as in Freedom!  (but Free as in no monetary charge beats
the hell out of taking a stand)

Respect our license! (your license is not worth the bits its stored
in)

GPL is the way!  It's our way, we'll make it your way, too.

Theo's a loud-mouthed jerk! (but we'll happily benefit from his
work, while we pretend to be the nice guys)

Hardware vendors should respect alternative OSs!  (Ok, they support
mine, that's good enough)

OS Diversity is good!  (but My distro's bigger than yours!  Damn,
guys, if that's the goal, Windows wins, everyone else is a loser)


Not that certain other free software people are all that much
different from the Linux fannerds.

Free software: It's all about the price.
The rest of the talk about freedom, etc. is just trying to keep
them from looking like cheap, greedy bastards.
At least for an awful lot of 'em.

Nick.



Some AMD/ATi Documentation available

2007-09-13 Thread Sevan / Venture37

http://www.x.org/docs/AMD/

_
The next generation of Hotmail is here!  http://www.newhotmail.co.uk



internet transfer stalls

2007-09-13 Thread Mark Fordham
To reproduce the stalling problem I am doing an FTP download from my
local ISP. The stalled transfer shows duplicate acks when analyzed with
wireshark expert info composite.

To rule out the hardware I used IPCop which works fine.

I thought it might be a window scaling misconfiguration but I think I
have covered the block and flags S/SA and keep state requirements on all
the pass rules. The stalling problem is worse when there is any kind of
transfer happening on the dmz.

My connection speed is 15Mbps/900Kbps

My pf.conf, dmesg and ppp.conf are listed below.

Would someone mind helping me out with this?


# MACROS


ext_if = tun0
int_if = dc0
dmz_if = rl0

lan = ...
dmz = ...

torrent   = ...

tcp_services = { 22 113 }
udp_services = {}

icmp_types=echoreq


# OPTIONS


set block-policy return
set loginterface $ext_if
set skip on lo


# SCRUB


scrub in
scrub out on $ext_if max-mss 1440


# QUEUE


altq on $ext_if priq bandwidth 700Kb queue { q_pri, q_def }
queue q_pri priority 7
queue q_def priority 1 priq(default)


# NAT/RDR


nat on $ext_if from !($ext_if) - ($ext_if:0)

nat-anchor ftp-proxy/*
rdr-anchor ftp-proxy/*
rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1 port 8021
rdr on $dmz_if proto tcp from any to any port 21 - 127.0.0.1 port 8021

rdr on $ext_if proto tcp from any to any port  - $torrent
rdr on $ext_if proto udp from any to any port  - $torrent


# FILTER 


block in log
block out

pass out on { $int_if, $dmz_if } flags S/SA keep state

pass out on $ext_if inet proto tcp from $ext_if to any flags S/SA keep
state queue(q_def, q_pri)

pass out on $ext_if inet proto { udp, icmp } from $ext_if to any keep
state queue(q_def, q_pri)

anchor ftp-proxy/*

antispoof quick for { lo $ext_if }

pass log on $ext_if inet proto icmp icmp-type unreach code needfrag

pass in on { $ext_if, $int_if } inet proto icmp all icmp-type
$icmp_types keep state

pass in on $ext_if inet proto tcp from any to ($ext_if) port
$tcp_services flags S/SA keep state queue(q_def, q_pri)

#pass in on $ext_if inet proto udp from any to ($ext_if) port
$udp_services keep state queue(q_def, q_pri)

pass in on $ext_if inet proto tcp from any to $torrent port  flags
S/SA keep state queue(q_def, q_pri)

pass in on $ext_if inet proto udp from any to $torrent port  keep
state queue(q_def, q_pri)

pass in on $int_if flags S/SA keep state

pass in on $dmz_if from any to !$lan flags S/SA keep state

--

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class, 128KB L2 cache) 903
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 133722112 (130588K)
avail mem = 114610176 (111924K)
using 1663 buffers containing 6811648 bytes (6652K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 02/14/00, BIOS32 rev. 0 @ 0xfb350,
SMBIOS rev. 2.2 @ 0xf0800 (39 entries)
bios0: EDsys Computers PENC46VG43
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xb7d8
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfded0/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x1
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT82C691 PCI rev 0x44
ppb0 at pci0 dev 1 function 0 VIA VT82C598 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA Vanta rev 0x15
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 VIA VT82C596A ISA rev 0x12
pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x06: ATA66,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD800BB-00BSA0
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8162B, 0015 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x08: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
VIA VT82C596 Power rev 0x20 at pci0 dev 7 function 3 not configured
dc0 at pci0 dev 8 function 0 DEC 21142/3 rev 0x41: irq 11, address
00:40:f4:66:84:e2
sqphy0 at dc0 phy 17: Seeq 84220 10/100 PHY, rev. 0
rl0 at pci0 dev 9 

Re: Clarifications about /dev devices

2007-09-13 Thread Miod Vallat

I'd like to know why /dev/cd0a and /dev/rcd0a device files (at my
machine) refer to the same physical device, given that one is not a
symlink to the other one, and vice-versa, and also given that cd0a is
a block device and rcd0a is a character device.


The kernel handles two kinds of device nodes: ``block'' devices and
``character'' devices. The major numbers of these devices are
platform-dependant, and must match the bdevsw[] and cdevsw[] arrays
in sys/arch/platform/platform/conf.c.

Storage devices can be accessed either as block devices or character
devices, hence they have one entry in each of these tables. Their major
numbers do not need to match since these are completely independant
numbering spaces.

Miod



Clarifications about /dev devices

2007-09-13 Thread João Salvatti
Hi all,

I'd like to know why /dev/cd0a and /dev/rcd0a device files (at my
machine) refer to the same physical device, given that one is not a
symlink to the other one, and vice-versa, and also given that cd0a is
a block device and rcd0a is a character device.

Thanks in advance.

--
Joco Salvatti
Undergraduating in Computer Science
Federal University of Para - UFPA
web: http://www.openbsd-pa.org
e-mail: [EMAIL PROTECTED]



Re: The Atheros story in much fewer words

2007-09-13 Thread Marco Peereboom
On Thu, Sep 13, 2007 at 07:09:09AM -0400, Nick Holland wrote:
 Free software: It's all about the price.
 The rest of the talk about freedom, etc. is just trying to keep
 them from looking like cheap, greedy bastards.
 At least for an awful lot of 'em.

I have to point out that I have been told on this list by a GPL fan that
the dictionary definition of freedom isn't correct.  He was so friendly
to ask me who the hell I was to tell him what freedom means.  Freedom
for him did mean free + random rules.

For all the great things the GPL has done its followers really could do
some reading on that whole definition of words thing.

This copyright thing is a complete debacle and shows just how
disingenuous some of the linux people are.  There is no way I buy that
the lawyers involved do not understand what they are doing.  As a fan of
the following quote: Never ascribe to malice that which is adequately
explained by incompetence -- Napoleon Bonaparte
I do not buy that the FSF (yes I said it) lawyers do not understand
copyright law.  Nobody with a degree in law is that stupid therefore I
have to conclude that there is malice involved.

The FSF should take a deep breath and apologize to Reyk, apologize to
Theo, apologize to OpenBSD and apologize to the open source community at
large.



Re: D-Link DWL-650 CardBus crash report

2007-09-13 Thread Julian Leyh
Hi,

I got a panic recently, too, after trying to insert my CF card into the
cf reader, which seems to be connected to pcmcia. As we discussed on IRC
it seems to have something in common. Maybe it's the same reason? The
trace seems identical.

I submitted a bug report... maybe somebody can see some similarities or
use this additional information for more hints how to try to fix it:
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5577

Regards,
Julian

On 13:00 Thu 13 Sep , Evgeniy Sudyr wrote:
 Hello Evgeniy,
 
 Thursday, September 13, 2007, 10:41:53 AM, you wrote:
 
  Hello all,
 
  I bought D-Link G650 (ath) - which is present in
  http://openbsd.org/i386.html list.
 
  When I put this card into my laptop (Toshiba Satellite S6157) and try boot 
  -current (GENERIC) I
  get panic message at the end of boot.
 
  = panic message =
  # panic: pmap_remove_ptes: managed page without PG_PVLIST for
  0xe6481000
  Stopped at Debugger+0x4: leave
  = panic message =
 
  = show registers =
  ds 0x10
  es 0xd210 kernel_text+0x10
  fs 0xe6430058
  gs 0xe643
  edi 0xd06a2200 i386_cpuid_ecxfeatures+0x780
  esi 0xe6436b08
  ebp 0xe6436adc
  ebx 0
  edx 0
  ecx 0xd074fa64 kprintf_mutex
  eax 0x1
  eip 0xd045ee6c Debugger+0x4
  cs  0x8
  eflags 0x202
  esp 0xe6436adc
  ss 0xe6430010
  Debugger+0x4: leave
  = show registers =
 
  I don't have serial console for trace and ps output, but I have
  Photo Camera :)
 
  = ps =
  ps output there http://eject.name/openbsd/ps.jpg
 
  = trace =
  trace output there http://eject.name/openbsd/ps.jpg
 sorry, trace output there http://eject.name/openbsd/trace.jpg
 
 
  Please give me know if I can help more in resolving this bug.
 
 
 
 -- 
 Best regards,
  Evgeniymailto:[EMAIL PROTECTED]



Re: Clarifications about /dev devices

2007-09-13 Thread João Salvatti
Thanks folks.

On 9/13/07, Miod Vallat [EMAIL PROTECTED] wrote:
  I'd like to know why /dev/cd0a and /dev/rcd0a device files (at my
  machine) refer to the same physical device, given that one is not a
  symlink to the other one, and vice-versa, and also given that cd0a is
  a block device and rcd0a is a character device.

 The kernel handles two kinds of device nodes: ``block'' devices and
 ``character'' devices. The major numbers of these devices are
 platform-dependant, and must match the bdevsw[] and cdevsw[] arrays
 in sys/arch/platform/platform/conf.c.

 Storage devices can be accessed either as block devices or character
 devices, hence they have one entry in each of these tables. Their major
 numbers do not need to match since these are completely independant
 numbering spaces.

 Miod



--
Joco Salvatti
Undergraduating in Computer Science
Federal University of Para - UFPA
web: http://www.openbsd-pa.org
e-mail: [EMAIL PROTECTED]



Re: Show your appreciation and get your 4.2 DVD

2007-09-13 Thread Siju George
On 9/11/07, Karl Sjvdahl - dunceor [EMAIL PROTECTED] wrote:
 

 There are no DVDs, it's only CDs but they come in a DVD-case. That is
 why people call it 'DVD's.


Thank you so much :-)
I just placed my first ever order by a friend's credit card.

Kind Regards
Siju



[EMAIL PROTECTED]: help needed with laptop hdd]

2007-09-13 Thread Marcus Glocker
Hi,

My X40 disk also died two month ago.  All attempts to find that somehow
special 1.8 NONE-ZIF connector disk failed so far.

I saw that Henning has the same problem and already asked on misc@ for
such a disk.  If somebody has another of those for me, it would be most
helpfull.  Using the X40 with an attached USB disk is not that portable,
and the X40 is a good hacking toy for Cardbus (wireless ;) devices ...

I'm located in Switzerland / Basel.

Thanks,
Marcus

- Forwarded message from Henning Brauer [EMAIL PROTECTED] -

From: Henning Brauer [EMAIL PROTECTED]
To: misc@openbsd.org
Subject: help needed with laptop hdd
Date: Mon, 10 Sep 2007 17:48:31 +0200
X-PGP-Key: 3A83DF32
User-Agent: Mutt/1.5.12-2006-07-14

Hi,

unfortunately the harddisk in my X40 died. And even worse, I just 
learned that the disk in the X40 is kind of special. It is a 1.8 hard 
disk that does NOT use the ZIF connector (these are somewhat common) 
but the same 44pin connector 2.5 disks use. 1.8 disks with that 
connector have only ever been made by Hitachi. I have looked for a disk 
up and down all day without success. So, if anyone is able to kind-of 
quickly get me a Hitachi HTC426060G9AT00, that would be most welcome 
and would allow me to hack when I am at home again ;(
I am in Hamburg/Germany, btw.

Thanks.

Henning

- End forwarded message -

-- 
Marcus Glocker, [EMAIL PROTECTED], [EMAIL PROTECTED]



Re: D-Link DWL-650 CardBus crash report

2007-09-13 Thread Didier Wiroth
Hello,

I have a similar, if not identical, pcmcia problem on my lenovo thinkpad x60s:
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5239

kind regards,
- -
Didier
 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 On Behalf Of Julian Leyh
 Sent: 13 September 2007 14:59
 To: misc@openbsd.org
 Subject: Re: D-Link DWL-650 CardBus crash report
 
 Hi,
 
 I got a panic recently, too, after trying to insert my CF 
 card into the
 cf reader, which seems to be connected to pcmcia. As we 
 discussed on IRC
 it seems to have something in common. Maybe it's the same reason? The
 trace seems identical.
 
 I submitted a bug report... maybe somebody can see some 
 similarities or
 use this additional information for more hints how to try to fix it:
 http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5577
 
 Regards,
 Julian
 
 On 13:00 Thu 13 Sep , Evgeniy Sudyr wrote:
  Hello Evgeniy,
  
  Thursday, September 13, 2007, 10:41:53 AM, you wrote:
  
   Hello all,
  
   I bought D-Link G650 (ath) - which is present in
   http://openbsd.org/i386.html list.
  
   When I put this card into my laptop (Toshiba Satellite 
 S6157) and try boot -current (GENERIC) I
   get panic message at the end of boot.
  
   = panic message =
   # panic: pmap_remove_ptes: managed page without PG_PVLIST for
   0xe6481000
   Stopped at Debugger+0x4: leave
   = panic message =
  
   = show registers =
   ds 0x10
   es 0xd210 kernel_text+0x10
   fs 0xe6430058
   gs 0xe643
   edi 0xd06a2200 i386_cpuid_ecxfeatures+0x780
   esi 0xe6436b08
   ebp 0xe6436adc
   ebx 0
   edx 0
   ecx 0xd074fa64 kprintf_mutex
   eax 0x1
   eip 0xd045ee6c Debugger+0x4
   cs  0x8
   eflags 0x202
   esp 0xe6436adc
   ss 0xe6430010
   Debugger+0x4: leave
   = show registers =
  
   I don't have serial console for trace and ps output, 
 but I have
   Photo Camera :)
  
   = ps =
   ps output there http://eject.name/openbsd/ps.jpg
  
   = trace =
   trace output there http://eject.name/openbsd/ps.jpg
  sorry, trace output there http://eject.name/openbsd/trace.jpg
  
  
   Please give me know if I can help more in resolving this bug.
  
  
  
  -- 
  Best regards,
   Evgeniymailto:[EMAIL PROTECTED]



Re: [EMAIL PROTECTED]: help needed with laptop hdd]

2007-09-13 Thread Stuart Henderson
On 2007/09/13 15:25, Marcus Glocker wrote:
 My X40 disk also died two month ago.  All attempts to find that somehow
 special 1.8 NONE-ZIF connector disk failed so far.

 I saw that Henning has the same problem and already asked on misc@ for
 such a disk.  If somebody has another of those for me, it would be most
 helpfull.  Using the X40 with an attached USB disk is not that portable,
 and the X40 is a good hacking toy for Cardbus (wireless ;) devices ...

a 2.5 HD carrier is available for the X4 Ultrabase. it's not ideal
(it adds a lot of weight and doubles the thickness) but it beats USB...

if anyone comes across a batch of these drives (1.8 44-pin travelstar;
they have been discontinued), pipe up, I am sure there are some other
developers with these machines that might want to pick up a spare.



Re: [EMAIL PROTECTED]: help needed with laptop hdd]

2007-09-13 Thread nothingness
Henning Brauer wrote:
 * Stuart Henderson [EMAIL PROTECTED] [2007-09-13 16:05]:
   
 if anyone comes across a batch of these drives (1.8 44-pin travelstar;
 they have been discontinued), pipe up, I am sure there are some other
 developers with these machines that might want to pick up a spare.
 

 given the sheer count of X40s in use by developers, it is a safe bet to 
 assume there are some going be be needed somewhat soon.

   
You can find some here (via a Swiss pricecheck site ):
http://www.toppreise.ch/prod_103419.html

Noth



Re: [EMAIL PROTECTED]: help needed with laptop hdd]

2007-09-13 Thread Stuart Henderson
On 2007/09/13 16:59, nothingness wrote:
 You can find some here (via a Swiss pricecheck site ):
 http://www.toppreise.ch/prod_103419.html

those are zif. the following are the 44-pin ones:

HTC424020F7AT00 08K1394 1.820GBATA-5
HTC424040F9AT00 08K1393 1.840GBATA-5

HTC426020G7AT00 08K1532 1.820GBATA-6 (IDE)
HTC426030G7AT00 08K1531 1.830GBATA-6 (IDE)
HTC426040G9AT00 08K1530 1.840GBATA-6 (IDE)
HTC426060G9AT00 08K1529 1.860GBATA-6 (IDE)



lost whitelisted hosts with spamd

2007-09-13 Thread Juan Miscaro
My OpenBSD 4.0 mail filter (running amavisd-new) has been up and
running well for 70 days.  I received a complaint of delays this
morning.  Indeed, I see that servers which had been whitelisted by
spamd were no longer so.  I verified that spamlogd is still running. 
Does anyone have any ideas how this could have happened?

- Juan


  Ask a question on any topic and get answers from real people. Go to 
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com



Re: lost whitelisted hosts with spamd

2007-09-13 Thread Craig Skinner

Juan Miscaro wrote:

My OpenBSD 4.0 mail filter (running amavisd-new) has been up and
running well for 70 days.  I received a complaint of delays this
morning.  Indeed, I see that servers which had been whitelisted by
spamd were no longer so.  I verified that spamlogd is still running. 
Does anyone have any ideas how this could have happened?


From spamd(8), -G, whitelisted entries are dropped if the IP address 
does not send again within 36 days.


Could the new messages have come from a different IP address? Or was the 
 last message sent more than 36 days ago?




Re: lost whitelisted hosts with spamd

2007-09-13 Thread Peter N. M. Hansteen
Juan Miscaro [EMAIL PROTECTED] writes:

 morning.  Indeed, I see that servers which had been whitelisted by
 spamd were no longer so.  I verified that spamlogd is still running. 
 Does anyone have any ideas how this could have happened?

Whitelist entries do expire after a while (a little more than a month
by default, if I remember correctly, but it's a tuneable).  That's a
likely explanation, unless of course those servers have been sending
you mail at shorter intervals.

For known good (or important, infrequent, impatient, or a few other
varieties we'll skip here for brevity) senders it pays to whitelist by
hand using either spamdb or by setting up a way around spamdb such as
having a no rdr rule for members of your knowngood table.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ 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: lost whitelisted hosts with spamd

2007-09-13 Thread Bob Beck
spamlogd not only needs to be running, but it needs to
see the connections - your pf rules need to log them correctly.

The best way to see if this is happening is to fire
off some debug level syslogging, and see if spamlogd is logging lines
for the hosts that connect in. You should see lines like this where
your debug level syslogs are going.

Sep 13 07:03:49 mailcarp1 spamlogd[16523]: inbound 199.185.137.3

if you don't spamlogd ain't seeing them. check your pf rules.


* Juan Miscaro [EMAIL PROTECTED] [2007-09-13 09:38]:
 My OpenBSD 4.0 mail filter (running amavisd-new) has been up and
 running well for 70 days.  I received a complaint of delays this
 morning.  Indeed, I see that servers which had been whitelisted by
 spamd were no longer so.  I verified that spamlogd is still running. 
 Does anyone have any ideas how this could have happened?
 
 - Juan
 
 
   Ask a question on any topic and get answers from real people. Go to 
 Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
 

-- 
#!/usr/bin/perl
if ((not 0  not 1) !=  (! 0  ! 1)) {
   print Larry and Tom must smoke some really primo stuff...\n; 
}



Re: lost whitelisted hosts with spamd

2007-09-13 Thread Darrin Chandler
On Thu, Sep 13, 2007 at 10:29:02AM -0400, Juan Miscaro wrote:
 My OpenBSD 4.0 mail filter (running amavisd-new) has been up and
 running well for 70 days.  I received a complaint of delays this
 morning.  Indeed, I see that servers which had been whitelisted by
 spamd were no longer so.  I verified that spamlogd is still running. 
 Does anyone have any ideas how this could have happened?

As Craig  Peter mention, whitelisted server do expire. The defaults are
sensible, but do not apply for everyone. One server I deal with is one
such case, and I've increased the whitelist expiry in the -G option to
almost double the default. This has worked fine.

You should also check that you are logging in pf for port 25, and that
spamlogd is seeing it and updating the timestamps on your whitelist
entries.

-- 
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: [EMAIL PROTECTED]: help needed with laptop hdd]

2007-09-13 Thread Henning Brauer
* Stuart Henderson [EMAIL PROTECTED] [2007-09-13 17:25]:
 On 2007/09/13 16:59, nothingness wrote:
  You can find some here (via a Swiss pricecheck site ):
  http://www.toppreise.ch/prod_103419.html

i found countless price comparision sites listing them. and then either 
ZIF or listed without a dealer actually offering them or dealers that 
don't exist any more.

 those are zif. the following are the 44-pin ones:
 
   HTC424020F7AT00 08K1394 1.820GBATA-5
   HTC424040F9AT00 08K1393 1.840GBATA-5
   
   HTC426020G7AT00 08K1532 1.820GBATA-6 (IDE)
   HTC426030G7AT00 08K1531 1.830GBATA-6 (IDE)
   HTC426040G9AT00 08K1530 1.840GBATA-6 (IDE)
   HTC426060G9AT00 08K1529 1.860GBATA-6 (IDE)

the last one in the list is the one to look for :)

-- 
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: The Atheros story in much fewer words

2007-09-13 Thread Claudio Jeker
On Thu, Sep 13, 2007 at 07:48:46AM -0500, Marco Peereboom wrote:
 On Thu, Sep 13, 2007 at 07:09:09AM -0400, Nick Holland wrote:
  Free software: It's all about the price.
  The rest of the talk about freedom, etc. is just trying to keep
  them from looking like cheap, greedy bastards.
  At least for an awful lot of 'em.
 
 I have to point out that I have been told on this list by a GPL fan that
 the dictionary definition of freedom isn't correct.  He was so friendly
 to ask me who the hell I was to tell him what freedom means.  Freedom
 for him did mean free + random rules.
 
 For all the great things the GPL has done its followers really could do
 some reading on that whole definition of words thing.
 
 This copyright thing is a complete debacle and shows just how
 disingenuous some of the linux people are.  There is no way I buy that
 the lawyers involved do not understand what they are doing.  As a fan of
 the following quote: Never ascribe to malice that which is adequately
 explained by incompetence -- Napoleon Bonaparte
 I do not buy that the FSF (yes I said it) lawyers do not understand
 copyright law.  Nobody with a degree in law is that stupid therefore I
 have to conclude that there is malice involved.
 
 The FSF should take a deep breath and apologize to Reyk, apologize to
 Theo, apologize to OpenBSD and apologize to the open source community at
 large.
 

While reading this I got a mail that OpenSolaris released the adapted
version of our malo(4) driver.

http://www.opensolaris.org/os/community/laptop/wireless/malo/

Second sentence on the page is:
This driver is based on the source code from OpenBSD, and is provided
under the same BSD-type License.

So companies are bad and only true open source is good. Ja ja, sure.

-- 
:wq Claudio



Re: unix on lenovos

2007-09-13 Thread Darren Spruell
On 9/13/07, Julian Leyh [EMAIL PROTECTED] wrote:
 On 20:52 Wed 12 Sep , Pau Amaro-Seoane wrote:
  You'll notice that Mark Kohut (Lenovo's worldwide analyst) cannot tell
  the difference between linux and BSD (both freebsd and openbsd fall in
  the category of linux) but, in any case, maybe you feel like
  clicking the OpenBSD entry... I did

 Well, only FreeBSD was in the initial set of answers. OpenBSD was added
 by somebody else, as you can see from the footnote.

 BTW, I voted for OpenBSD, too. But I think, Ubuntu already has too much
 to catch up.

Why is it about catching up?

I don't understand the community at large's (the free software
community's, that is) flawed mindset that one or a couple of
distributions or flavors of operating systems have to be supported, or
that one has to be ahead of the other. It's obvious that people don't
get the big picture when you see users of different LInux
distributions arguing about which _distributions_ should be supported;
don't they get that they share a common kernel, and they can *all* be
supported? Likewise for the idiots that say support FreeBSD or
support OpenBSD. Open up and release specs and documentation, and
suddenly EveryBSD is supported.

The userbase should be communicating with the vendor in a way that
makes it clear that everyone can win if they produce documents and
specs, or choose components for their products that are well supported
already in the open source community. Arguing back and forth about
which flavor you have a religious preference for only sends a signal
to Lenovo that supporting open source is complicated, takes too much
work, and makes them want to forget about it.

DS



Re: The Atheros story in much fewer words

2007-09-13 Thread Darren Spruell
On 9/13/07, Claudio Jeker [EMAIL PROTECTED] wrote:
  The FSF should take a deep breath and apologize to Reyk, apologize to
  Theo, apologize to OpenBSD and apologize to the open source community at
  large.
 

 While reading this I got a mail that OpenSolaris released the adapted
 version of our malo(4) driver.

 http://www.opensolaris.org/os/community/laptop/wireless/malo/

 Second sentence on the page is:
 This driver is based on the source code from OpenBSD, and is provided
 under the same BSD-type License.

Bravo.

DS



Re: lost whitelisted hosts with spamd

2007-09-13 Thread Juan Miscaro
--- Bob Beck [EMAIL PROTECTED] wrote:

 
   spamlogd not only needs to be running, but it needs to
 see the connections - your pf rules need to log them correctly.
 
   The best way to see if this is happening is to fire
 off some debug level syslogging, and see if spamlogd is logging lines
 for the hosts that connect in. You should see lines like this where
 your debug level syslogs are going.
 
 Sep 13 07:03:49 mailcarp1 spamlogd[16523]: inbound 199.185.137.3
 
   if you don't spamlogd ain't seeing them. check your pf rules.
 
 
 * Juan Miscaro [EMAIL PROTECTED] [2007-09-13 09:38]:
  My OpenBSD 4.0 mail filter (running amavisd-new) has been up and
  running well for 70 days.  I received a complaint of delays this
  morning.  Indeed, I see that servers which had been whitelisted by
  spamd were no longer so.  I verified that spamlogd is still
 running. 
  Does anyone have any ideas how this could have happened?

Let it be known that everything was working in the past 70 days as well
as when I inspected the server due to the complaints.  I simply lost a
lot of my dynamicallly whitelisted hosts (if not all of them; not
sure).  So I am currently re-validating senders right now.  I did find
a mention of possible corruption of the spamdb database in the
changelog for 4.1 - 4.2:

RELIABILITY FIX: Bugs in spamd(8) could corrupt the database.

I'm not sure if I have fallen victim to this.

- Juan


  Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca



moving location of passwd, master.passwd and group file

2007-09-13 Thread James Mackinnon
Hi All

I am trying to read-only the system but having a seperate location rw

In order to do this, I want to re-locate the user account files so accounts
can still be added when in read-only mode.

I have tried doing ln -s /confs/passwd /etc/passwd etc.. but when I try to
create an account it fails with PAM or something.

Any suggestions on what I require to do this?

I've been looking but hadn't found an answer to this, likely because i'm crazy
for trying but thats the point.

Thanks

James



Re: moving location of passwd, master.passwd and group file

2007-09-13 Thread Jeremy C. Reed
On Thu, 13 Sep 2007, James Mackinnon wrote:

 I am trying to read-only the system but having a seperate location rw
 
 In order to do this, I want to re-locate the user account files so accounts
 can still be added when in read-only mode.
 
 I have tried doing ln -s /confs/passwd /etc/passwd etc.. but when I try to
 create an account it fails with PAM or something.
 
 Any suggestions on what I require to do this?
 
 I've been looking but hadn't found an answer to this, likely because i'm crazy
 for trying but thats the point.

Also /etc/pwd.db and /etc/spwd.db. The paths are defined in 
/usr/include/pwd.h:

#define _PATH_PASSWD/etc/passwd
#define _PATH_MASTERPASSWD  /etc/master.passwd
#define _PATH_MASTERPASSWD_LOCK /etc/ptmp
#define _PATH_MP_DB /etc/pwd.db
#define _PATH_SMP_DB/etc/spwd.db

What is the exact error message you are receiving?

Use ktrace if your error message is vague to get more details.



  Jeremy C. Reed



ipsec.conf - format of key specification

2007-09-13 Thread Jeff Simmons
What is the proper format for entering manual keys directly into the 
ipsec.conf file?

Test file ipsec.test:

esp from 10.0.0.1 to 10.0.1.1 \
spi 0x1011:0x1010 \
auth hmac-sha1 enc aes \
authkey 1234567890123456789012345678901234567890 \
enckey 12345678901234567890123456789012 \

# ipsecctl -n -f ipsec.test
ipsec.test: 5: no authentication key specified
ipsecctl: Syntax error in config file: ipsec rules not loaded

The same happens if the key is specified:

12345678901234567890123456789012
0x12345678901234567890123456789012
0x12345678901234567890123456789012

The man page only specifies a 'hexadecimal string'. The same thing happens if 
the key is entered into a file and the 'authkey file' directive is used. Any 
help would be appreciated.

-- 
Jeff Simmons   [EMAIL PROTECTED]
Simmons Consulting - Network Engineering, Administration, Security
You guys, I don't hear any noise.  Are you sure you're doing it right?
--  My Life With The Thrill Kill Kult



[Possibly OT] 16-bit Assembly Programming

2007-09-13 Thread Aaron Hsu
Hello all,

I am attempting to create an assembly program (for a class) on OpenBSD. The 
teacher has no issue with me developing the code based on the UNIX-based 
assembly (int 0x80 syscalls vs. int 0x21 Dos Function), but he does not want 
me to use 32-bit code. I believe this has something to do with him wanting me 
to use a Real-addressing Mode as opposed to the 32-bit protected mode. I'm 
doing x86 assembly.

Now, I can create nice and working 32-bit OpenBSD elf executables using yasm 
and so on. It took a bit of work to understand how to do it, but other than 
that, it works fine. Now, the issue I am having is that I can't figure out how 
to instead write 16-bit code. Basically, the teacher should be happy if I 
don't use the extended registers. Reading in the Yasm documentation, I found 
the BITS directive, and also the note that it should not be necessary to use 
this directive, since the object file format I choose should automatically 
handle this. The `obj' format was indicated as one of the file formats that I 
should use. However, the yasm assembler in OpenBSD does not have that as a 
valid format. Also, there seems to be no way to generate 16-bit OpenBSD 
executables. Is this true?

My basic question is, how can I create an assembly program using that will run 
on OpenBSD that is 16-bit (that is, using only the non-extended registers)?

Any help would be greatly appreciated, as searching online has confused me 
royally as to whether this is even possible or not. It seems like it should be.

-- 
((name Aaron Hsu)
 (email/xmpp [EMAIL PROTECTED])
 (phone 703-597-7656)
 (site http://www.aaronhsu.com;))



Re: Traduz pra mim

2007-09-13 Thread João Salvatti
Sorry Folks!

On 9/13/07, Joco Salvatti [EMAIL PROTECTED] wrote:
 Ola Pessoa da lista,

 Em qual arquivo do OpenBSD eu defino o major number para os
 dispositivos (device e pseudo-device)? Pesquisei em varias fontes a
 mais prsximo foi a do NetBSD que diz que os major numbers ficam em
 /usr/src/sys/conf/majors. Mas nco encontrei este arquivo nas fontes do
 OpenBSD!

 Sds

 Tmtulo: Definigco do major number no OpenBSD



--
Joco Salvatti
Undergraduating in Computer Science
Federal University of Para - UFPA
web: http://www.openbsd-pa.org
e-mail: [EMAIL PROTECTED]



Re: unix on lenovos

2007-09-13 Thread Greg Thomas
On 9/13/07, Darren Spruell [EMAIL PROTECTED] wrote:
 On 9/13/07, Julian Leyh [EMAIL PROTECTED] wrote:
  On 20:52 Wed 12 Sep , Pau Amaro-Seoane wrote:
   You'll notice that Mark Kohut (Lenovo's worldwide analyst) cannot tell
   the difference between linux and BSD (both freebsd and openbsd fall in
   the category of linux) but, in any case, maybe you feel like
   clicking the OpenBSD entry... I did
 
  Well, only FreeBSD was in the initial set of answers. OpenBSD was added
  by somebody else, as you can see from the footnote.
 
  BTW, I voted for OpenBSD, too. But I think, Ubuntu already has too much
  to catch up.

 Why is it about catching up?


Exactly.  Which is why I voted for the generic non-binary blob OS
choice.  Not that it matters because these types of surveys are
usually just irrelevant fodder for fanboys.

Greg
-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org

Dethink to survive - Mclusky



Traduz pra mim

2007-09-13 Thread João Salvatti
Ola Pessoa da lista,

Em qual arquivo do OpenBSD eu defino o major number para os
dispositivos (device e pseudo-device)? Pesquisei em varias fontes a
mais prsximo foi a do NetBSD que diz que os major numbers ficam em
/usr/src/sys/conf/majors. Mas nco encontrei este arquivo nas fontes do
OpenBSD!

Sds

Tmtulo: Definigco do major number no OpenBSD



Re: The Atheros story in much fewer words

2007-09-13 Thread Shawn K. Quinn
On Thu, 2007-09-13 at 07:09 -0400, Nick Holland wrote:
 GNUspeak:

These are definitely not the views of the GNU project. They *might* be
views of the self-styled Linux nerds that think they are k00l and
eleet because they read Slashdot, but to imply the GNU project
espouses these views is, quite frankly, slanderous.

 Give back to the community! (which really means, I'm the community,
 gimme, gimme, gimme!)

There may be some in the free software movement that think like this,
but this is far from a majority view.

 Free as in Freedom!  (but Free as in no monetary charge beats
 the hell out of taking a stand)

Again, Richard Stallman's famous speech makes it clear monetary charge
is not the reason for the free software movement.

 Free software: It's all about the price.
 The rest of the talk about freedom, etc. is just trying to keep
 them from looking like cheap, greedy bastards.
 At least for an awful lot of 'em.

You know, it's fine if you hate the GPL. But I'll be damned if I just
sit here and let you spread outright Goddamned *lies* about the free
software movement and the people that represent it.

I'm not cheap. I'm not greedy. All I am after, is the freedom to use my
computer the way I want to without Microsoft, Apple, Google, AOL, Adobe,
Real, or other large companies being able to step in and say no you
can't do that, it's not in our (financial) best interests to let you.
For me, it's always been about freedom. I would think for most of the
free software movement that truly knows what's going on, it *is* about
freedom.

While it may be seen as distateful to make modifications to BSD-licensed
code, and place those modifications under the GPL or a similar share
alike license, based upon what I understand of copyright law, it's
perfectly legal. Even though BSD-style licenses are compatible with the
GPL, there are perfectly acceptable social goals achieved only by
releasing under the GPL or a similar license.

-- 
Shawn K. Quinn [EMAIL PROTECTED]



Definition of the major number under OpenBSD

2007-09-13 Thread João Salvatti
Hi all,

In which OpenBSD file do I define the major number for devices (both
regular and pseudo-device)? I have searched in several sources, and
the closest answer was for NetBSD, which says that major numbers are
in /usr/src/sys/conf/majors. But I have not found this file in OpenBSD
sources.

Thanks in advance for the explanation.

--
Joco Salvatti
Undergraduating in Computer Science
Federal University of Para - UFPA
web: http://www.openbsd-pa.org
e-mail: [EMAIL PROTECTED]



Re: The Atheros story in much fewer words

2007-09-13 Thread Darren Spruell
On 9/13/07, Shawn K. Quinn [EMAIL PROTECTED] wrote:
 On Thu, 2007-09-13 at 07:09 -0400, Nick Holland wrote:
  GNUspeak:

 These are definitely not the views of the GNU project. They *might* be
 views of the self-styled Linux nerds that think they are k00l and
 eleet because they read Slashdot, but to imply the GNU project
 espouses these views is, quite frankly, slanderous.

  Give back to the community! (which really means, I'm the community,
  gimme, gimme, gimme!)

 There may be some in the free software movement that think like this,
 but this is far from a majority view.

  Free as in Freedom!  (but Free as in no monetary charge beats
  the hell out of taking a stand)

 Again, Richard Stallman's famous speech makes it clear monetary charge
 is not the reason for the free software movement.

  Free software: It's all about the price.
  The rest of the talk about freedom, etc. is just trying to keep
  them from looking like cheap, greedy bastards.
  At least for an awful lot of 'em.

 You know, it's fine if you hate the GPL. But I'll be damned if I just
 sit here and let you spread outright Goddamned *lies* about the free
 software movement and the people that represent it.

 I'm not cheap. I'm not greedy. All I am after, is the freedom to use my
 computer the way I want to without Microsoft, Apple, Google, AOL, Adobe,
 Real, or other large companies being able to step in and say no you
 can't do that, it's not in our (financial) best interests to let you.
 For me, it's always been about freedom. I would think for most of the
 free software movement that truly knows what's going on, it *is* about
 freedom.

Before you embark on your storm in a teacup, re-read (and re-read
again if you still don't get it) Nick's message. It's clear you
missed/misunderstood half of the points he was making.

DS



Re: The Atheros story in much fewer words

2007-09-13 Thread Shawn K. Quinn
On Thu, 2007-09-13 at 12:32 -0700, Darren Spruell wrote:
 Before you embark on your storm in a teacup, re-read (and re-read
 again if you still don't get it) Nick's message. It's clear you
 missed/misunderstood half of the points he was making.

1) I'm on the list, no need to CC me.

2) Like, duh, I understand perfectly well what his point is: to slander
the GNU project and its users. I re-read the message several times
before replying.

-- 
Shawn K. Quinn [EMAIL PROTECTED]



Re: Definition of the major number under OpenBSD

2007-09-13 Thread Theo de Raadt
 In which OpenBSD file do I define the major number for devices (both
 regular and pseudo-device)? I have searched in several sources, and
 the closest answer was for NetBSD, which says that major numbers are
 in /usr/src/sys/conf/majors. But I have not found this file in OpenBSD
 sources.

Noone builds new block devices anymore (in OpenBSD, we instead write
drivers which hide behind the scsi subsystem, since this is more
flexible).

As for strictly character devices, these are inserted per-architecture
into the cdevsw[] arrays in arch/ARCH/ARCH/conf.c.  At the same time,
/usr/src/etc/etc.ARCH/MAKEDEV* have to be modified to create the
device nodes.

There is no need to keep the major numbers in sync between different
architectures.  Actually because of many historical reasons, it is
impossible.



Re: The Atheros story in much fewer words

2007-09-13 Thread Theo de Raadt
 2) Like, duh, I understand perfectly well what his point is: to slander
 the GNU project and its users. I re-read the message several times
 before replying.

out in the slashdot crowd, there is a trend to say anything neccessary
to get what they want, including explaining away actual law and
ethics.

how do they get to the point of saying such things?

it is a gimme gimme gimme culture.

the letters written in the GPL and the BSD and the laws that underpin
those licenses mean nothing in the face of gimme gimme gimme.  if the
GPL had words which would take away from them, they would attempt to
explain those words away.

noone is slandering those users.  they're calling them what they
are -- greedy and self-serving and wrong.



Re: The Atheros story in much fewer words

2007-09-13 Thread steve szmidt
On Wednesday 12 September 2007 22:57, Theo de Raadt wrote:

 Reyk can take them to court over this, but he must do it before the
 year 2047.

Except he took most of it from Sam Leffler who said it is OK to license under 
the GPL. So while it's good to see you defending your code, it was not 
entirely yours to start with.

Thus you see all the horrible GPL community rip you off. 

-- 

Steve Szmidt

They that would give up essential liberty for temporary safety 
deserve neither liberty nor safety.
Benjamin Franklin



Re: ipsec.conf - format of key specification

2007-09-13 Thread Stuart Henderson
On 2007/09/13 11:43, Jeff Simmons wrote:
 What is the proper format for entering manual keys directly into the 
 ipsec.conf file?
 
 Test file ipsec.test:
 
 esp from 10.0.0.1 to 10.0.1.1 \
 spi 0x1011:0x1010 \
 auth hmac-sha1 enc aes \
 authkey 1234567890123456789012345678901234567890 \
 enckey 12345678901234567890123456789012 \

I think the doc is lacking here.

When you use the spi 0x:0x format to setup
bidirectional flows in one ipsec.conf rule, you need to specify
one key for each spi, separated by a :

See /usr/src/regress/sbin/ipsecctl/sa7.in for an example.



�������� ���� ����� ������ ����� ��� ������ ��������; ���� ����� �� ����� ������ �� ����� ��� ����

2007-09-13 Thread ArabianBusiness.com Arabic
[IMAGE]Having trouble reading this email? See it in your browser

ArabianBusiness.com Daily News Alert

GHMK ]m Gacf^Z:

GaCMO ,13 SHJcHQ 2007



[IMAGE]

GaCNHGQ GaQFmSmI

GaSZfOmI JHdm SfQGp HcamGQ OfaGQ Zal GaMOfO GaZQG^mI
GaSfQ cUdfZ cd GaCSaG_ GaTGF_I fcRfO HCLeRI JUfmQ MQGQm fQGOGQ

GaNa mSGZO ]m Ga_T] GacH_Q Zd SQXGd Zd^ GaQMc
GaHaOGd GadGcmI mc_d Cd J^aa MGaGJ SQXGd Zd^ GaQMc HGSJNOGc cQ_HGJ HSmXI
_GaNa ]m Ga_T] GacH_Q Zd GacQV

ArabianBusiness.com JobsBrowse all jobs ;

Business Operations Manager
Dubai, UAE

Head of Risk - Banking
Doha, Qatar

Head of Proprietary Trading
Doha, Qatar

Hdf_ fE^JUGO

cfGdF OHm JZJRc XQM 20 % cd CSeceG aaG_JJGH
cfGdF OHm GaZGacmI JeO] EOQGL CSeceG ]m HfQUI OHm GaZGacmI aJcfma ZcamGJ
JfSZI LOmOI

J_dfafLmG

50 camGQ OfaGQ ZGFOGJ ^XGZ GaGJUGaGJ ZQHmG
OQGSI JJf^Z dcf ZGFOGJ ^XGZ GaGJUGaGJ fNOcGJ GaEdJQdJ ZQHmGp Eal 70 camGQ
OfaGQ HMafa ZGc 2015

Z^GQGJ

EZcGQ JOMV GOZGAGJ TQ_I SZfOmI
EZcGQ GaZ^GQmI J^fa EdeG ac JNa HGaTQfX GacdUfU ZameG ]m Z^O GaJMGa] cZ
TQ_I LOGfa GaSZfOmI GaZGacmI

^XGZ ZGc

GaSZfOmI JTJQm XGFQGJ MQHmI HQmXGdmI
GGaSZfOmI SJSOO Kcd GaU]^I d^OGp ]m NQfL Zal GJ]G^GJ GaSaGM c^GHa Gad]X
GacKmQI aaLOa ]m GaSGH^

UMI

GaSaXGJ GaEcGQGJmI JUGOQ COfmI cRm]I H^mcI 5.4 camfd OfaGQ
GaCOfmI cd cdTC HG_SJGdm Zal GaCQLM fJc JeQmHeG Eal GacdX^I GaMQI ]m LHa
Zam

cfGUaGJ

GaTQ^ GaCfSX HMGLI Eal XGFQGJ H\ 160camGQ OfaGQ
Hfmd[ ^GaJ Ed GacdX^I SJ_fd HMGLI Eal C_KQ cd 1000 XGFQI HMafa ZGc 2027
aJaHmI GaXaH GacJRGmO

SmGMI f]dGO^

OHm JSJKcQ 70 camfd OfaGQ ]m LRQ Ga^cQ
OHm GaZGacmI SJ^fc HJXfmQ cTQfZ ]dO^m fS_dm ]Nc ]m LRQ Ga^cQ Zal GacMmX
GaedOm

Gac^GaGJ GaC_KQ ^QGAI

  1. JdcmGJ JXa^ cTQfZ GaNGaOmI GaS_dm

  2.  GacQCI GaZGHQI aa^GQGJ

  3.  CcaG_ JMUa Zal JQNmU NOcGJ MSGH GaVcGd

  4.  SaGc J]fR HU]^I cd Ja]Rmfd ^XQ H^mcI 5 camfd OfaGQ

  5.  Gadfc Ga^QmQ ]m GaXGFQI ZcaI dGOQI

To Advertise in this newsletter please contact
: Richard O'Sullivan
Tel: +971 50 651 4745

a^O Ja^mJ ePe GaQSGaI cd TQ_I Bm Jm Hm! GaTQ_I GaQGFOI ]m GadTQ ]m cLGa
GaGJUGaGJ fJ^dmI GacZafcGJ fGaCZcGa ]m GaTQ^ GaCfSX! f^O Jc JSLma HQmO_
GaEa_JQfdm HZO Cd GTJQ_J ]m GadSNI GaEa_JQfdmI adTQI
Arabianbusiness.com/arabic! fPa_ CKdGA GTJQG__ HcSGH^I Cf JU]M_ aCMO
cfG^ZdG (ITP.net; GitexTimes.com; ArabianBusiness.com; TimeOutDubai.com;
TimeOutAbuDhabi.com and Ahlan.ae ).

EPG Q[HJ ]m MP] ZdfGd HQmO_ GaEa_JQfdm cd ^GFcI cQGSaGJdG ]Gd^Q edG Ja^m
ePe GadTQI



Re: The Atheros story in much fewer words

2007-09-13 Thread Theo de Raadt
  Reyk can take them to court over this, but he must do it before the
  year 2047.
 
 Except he took most of it from Sam Leffler who said it is OK to license under 
 the GPL. So while it's good to see you defending your code, it was not 
 entirely yours to start with.

Reyk's work (the replacement HAL) is in seperate files -- it is a
seperately copyrighted work.

Stop trolling and learn the how the law works.



Re: The Atheros story in much fewer words

2007-09-13 Thread Claudio Jeker
On Thu, Sep 13, 2007 at 04:07:38PM -0400, steve szmidt wrote:
 On Wednesday 12 September 2007 22:57, Theo de Raadt wrote:
 
  Reyk can take them to court over this, but he must do it before the
  year 2047.
 
 Except he took most of it from Sam Leffler who said it is OK to license under 
 the GPL. So while it's good to see you defending your code, it was not 
 entirely yours to start with.
 
 Thus you see all the horrible GPL community rip you off. 
 

You are so wrong that it is not even funny anymore. Reyk's OpenHAL code was
completely reverse engeneered because Sam Leffler's HAL code was closed
source. So how can it be based on his code if it is not available?

-- 
:wq Claudio



Re: The Atheros story in much fewer words

2007-09-13 Thread Paul de Weerd
On Thu, Sep 13, 2007 at 02:08:21PM -0500, Shawn K. Quinn wrote:
| On Thu, 2007-09-13 at 07:09 -0400, Nick Holland wrote:
|  GNUspeak:
| 
| These are definitely not the views of the GNU project. They *might* be
| views of the self-styled Linux nerds that think they are k00l and
| eleet because they read Slashdot, but to imply the GNU project
| espouses these views is, quite frankly, slanderous.
| 
|  Give back to the community! (which really means, I'm the community,
|  gimme, gimme, gimme!)
| 
| There may be some in the free software movement that think like this,
| but this is far from a majority view.

I doubt you have numbers to back this up (just like I doubt anyone
else has numbers to back up Nicks remark, btw).

|  Free as in Freedom!  (but Free as in no monetary charge beats
|  the hell out of taking a stand)
| 
| Again, Richard Stallman's famous speech makes it clear monetary charge
| is not the reason for the free software movement.

I may know the wrong people, but for me, most linux users I know are
in it for the low price and the 'fuck microsoft' attitude. They don't
really care about freedom. They have the freedom (and the money) to
pick and choose any OS and software they like, be it GPL licensed, BSD
licensed or EULA-plastered MS-code. They enjoy the finger they think
they flick at microsoft by using linux but they'll install all the
binary-only software they want in a heartbeat if it suits their needs.

RMS' free software movement may not be about finances, but both you
and I don't know what Joe Blow the Linux user is in it for. I can
only speak for myself and the people I've spoken to about this, and in
my little world, Nicks words match more closely what I've heard than
yours.

|  Free software: It's all about the price.
|  The rest of the talk about freedom, etc. is just trying to keep
|  them from looking like cheap, greedy bastards.
|  At least for an awful lot of 'em.
| 
| You know, it's fine if you hate the GPL. But I'll be damned if I just
| sit here and let you spread outright Goddamned *lies* about the free
| software movement and the people that represent it.

Note Nicks At least for an awful lot of 'em. I've come to think the
same *in my part of the world*. It's not lies, it's what Nick
(probably, I don't want to put words in Nicks mouth) and I have found.
I know there are Linux users who're in it for the freedom. Quite a lot
are, I suppose.

| I'm not cheap. I'm not greedy. All I am after, is the freedom to use my
| computer the way I want to without Microsoft, Apple, Google, AOL, Adobe,
| Real, or other large companies being able to step in and say no you
| can't do that, it's not in our (financial) best interests to let you.
| For me, it's always been about freedom. I would think for most of the
| free software movement that truly knows what's going on, it *is* about
| freedom.

I'm not cheap or greedy either. I try to support OpenBSD development
as much as I can. I try to test patches, I try to fix bugs (since I
usually am unable to, I write up a bugreport), I buy the releases and
t-shirts, I make financial donations and I send hardware around the
world when developers ask for it. I do work for one of the companies
you mentioned but I won't say your remark is slanderous or an outright
lie. But I do hope you can appreciate that, at least for my employer,
my view is different from yours. And for the people I know, my view is
different from yours too. We may both be in favour of software freedom
in one form or antoher, but our opinions can still be different. No
need to cry wolf when someone says something you don't like.

| While it may be seen as distateful to make modifications to BSD-licensed
| code, and place those modifications under the GPL or a similar share
| alike license, based upon what I understand of copyright law, it's
| perfectly legal. Even though BSD-style licenses are compatible with the
| GPL, there are perfectly acceptable social goals achieved only by
| releasing under the GPL or a similar license.

I'd say that it goes against the GPL. Yes, the GPL, not the BSD
license (or the ISC license), GPL. Theo already quoted the relevant
bits, but I'll quote them again :

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have.  You must make sure that they, too, receive or can get the
source code.  And you must show them these terms so they know their
rights.

Your 'perfectly acceptable social goals' which can only be achieved by
releasing code under the GPL are fine by me. I respect these goals
even though they're not my own. But why not write your own code then ?

The BSD license is permissive enough to have code released under it be
incorporated in GPL licensed software. Why must the BSD licensed code
be the vehicle for your 'perfectly acceptable social goals' ? And why,
then, can bugfixes etc. not be fed back to the original developers
under the 

Perl segfault on 3.7

2007-09-13 Thread Alejandro Lozanoff
Hello list,

We recently updated a 3.7 machine running awstat(perl) to parse all our
websites logs with the biggest being around 1GB.
When parsing the big log it randomly segfaults on 4.1, 3.9 and 3.8, we
tried new clean release installs and it still segfaults. On 3.7 it works
flawlessly, on 3.8 which has the same perl version as 3.7 (5.8.6) it
still segfaults. The problem is completely random but it tends to happen
after its been running for a while as it doesnt happen on small logs (or
the probability for it to happen on those files is too low )

As the trace below (from the perl.core) shows, it's an out of bounds
problem, then we remember about a change on 3.8:

malloc(3) has been rewritten to use the mmap(2) system call,
introducing unpredictable allocation addresses and guard pages, which
helps in detecting heap based buffer overflows and prevents various
types of attacks.

Could this be what's causing perl to segfault on post 3.7? We ruled out
a problem with awstat or the log as it doesnt happen on 3.7 at
all with the same log/awstat/perl.

(gdb) bt
#0  0x0b5626e8 in memmove () from /usr/lib/libc.so.40.3
#1  0x02385ed7 in Perl_sv_setpvn (sv=0x1, ptr=0x7ccb400a Address
0x7ccb400a out of bounds, len=1) at /usr/src/gnu/usr.bin/perl/sv.c:4181
#2  0x0238ef16 in Perl_magic_get (sv=0x7e6b2660, mg=0x22377b1e) at
/usr/src/gnu/usr.bin/perl/mg.c:788
#3  0x0238e56d in Perl_mg_get (sv=0x7e6b2660) at
/usr/src/gnu/usr.bin/perl/mg.c:169
#4  0x0238490d in Perl_sv_2bool (sv=0x7e6b2660) at
/usr/src/gnu/usr.bin/perl/sv.c:3411
#5  0x0239bed4 in Perl_pp_or () at /usr/src/gnu/usr.bin/perl/pp_hot.c:339
#6  0x023cc4d9 in Perl_runops_standard () at
/usr/src/gnu/usr.bin/perl/run.c:37
#7  0x023b24ff in S_run_body (oldscope=1) at
/usr/src/gnu/usr.bin/perl/perl.c:2368
#8  0x023b2453 in perl_run (my_perl=0x8968a000) at
/usr/src/gnu/usr.bin/perl/perl.c:2285
#9  0x1c0012a6 in main ()

Thanks,
Alejandro.



Re: Strange Lock-ups with Opera?

2007-09-13 Thread Steven

* Antoine Jacoutot [EMAIL PROTECTED] [070912 02:45]:

On Wednesday 12 September 2007 08:41:26 Greg Thomas wrote:

I don't have much to add other than I experience the same thing with
many Flash sites.


Same here only it does not happen only with flash sites.
Sometimes, just starting opera and going to google.com is enough to hang...
Never looked into it...



A bit late too the discussion, but I have a similar issue with Opera
on OpenBSD.  As with yourself, I don't even have to go to a
Flash-based site and Opera randomly freezes.

Oddly though, it only freezes when used on the machine it's
installed on, an Athlon 1.2 GHz T-bird.  When I use Opera from the
same machine, but X-forwarded via SSH on another machine also
running OpenBSD, it _never_ freezes.  :-\

The *other* machine being a P233.

How weird is that?  :-)

--
W. Steven Schneider  [EMAIL PROTECTED]



Re: The Atheros story in much fewer words

2007-09-13 Thread Can E. Acar
Shawn K. Quinn Wrote:
 You know, it's fine if you hate the GPL. But I'll be damned if I just
 sit here and let you spread outright Goddamned *lies* about the free
 software movement and the people that represent it.

GPL is just a license, hate is a too strong word for it.
We usually prefer to point out that it is not free (enough).

There are people that represent the free software movement, and
there are people that take the words of the GNU project and twist
the meanings to suit themselves.

This is what Nick illustrated, and quite nicely, I think.

 I'm not cheap. I'm not greedy. All I am after, is the freedom to use my
 computer the way I want to without Microsoft, Apple, Google, AOL, Adobe,
 Real, or other large companies being able to step in and say no you
 can't do that, it's not in our (financial) best interests to let you.
 For me, it's always been about freedom. I would think for most of the
 free software movement that truly knows what's going on, it *is* about
 freedom.

Why take it so personally. It is not GPL or GNU that is being attacked here.
There are always those that are misled or even malicious in every community.
Sometimes it is just a lack of knowledge, or being overeager to achieve the
goals. Such problems should be pointed out so that they can be fixed.

What surprises me the most is the resistance from the community to recognize
that something they did was wrong. There seems to be a lack of independent
thought, most people are blindly repeating each other without forming an
opinion
themselves.

Those people that care about freedom and open source and GNU is supposed
to be
an intelligent, open minded, community right? Otherwise they would just use
Windows or whatever.

 While it may be seen as distateful to make modifications to BSD-licensed
 code, and place those modifications under the GPL or a similar share
 alike license, based upon what I understand of copyright law, it's
 perfectly legal. Even though BSD-style licenses are compatible with the
 GPL, there are perfectly acceptable social goals achieved only by
 releasing under the GPL or a similar license.

You are talking about derivative works here. Not every modification is
considered original and comprehensive enough to deserve its own copyright.

Otherwise, it would be just a matter of re-arranging and splitting code,
renaming functions and variables, and there, you have a BSD licensed gcc
(bcc?)

Think about it ...

Can

-- 
In theory, there is no difference between theory and practice.
But, in practice, there is.



Re: Perl segfault on 3.7

2007-09-13 Thread mickey
On Thu, Sep 13, 2007 at 05:25:32PM -0300, Alejandro Lozanoff wrote:
 Hello list,

re

 We recently updated a 3.7 machine running awstat(perl) to parse all our
 websites logs with the biggest being around 1GB.
 When parsing the big log it randomly segfaults on 4.1, 3.9 and 3.8, we
 tried new clean release installs and it still segfaults. On 3.7 it works
 flawlessly, on 3.8 which has the same perl version as 3.7 (5.8.6) it
 still segfaults. The problem is completely random but it tends to happen
 after its been running for a while as it doesnt happen on small logs (or
 the probability for it to happen on those files is too low )
 
 As the trace below (from the perl.core) shows, it's an out of bounds
 problem, then we remember about a change on 3.8:
 
 malloc(3) has been rewritten to use the mmap(2) system call,
 introducing unpredictable allocation addresses and guard pages, which
 helps in detecting heap based buffer overflows and prevents various
 types of attacks.

yes. this increases memory fragmentation immensly resulting
in (practically) less virtual space available for data.
as an increased penalty (200-300%) for cpu consuption
on processes w/ lots (20M and more) malloc(3)ed memory...
as well increased demand for the physical memory that
on the overcommiting nature of it you perhaps observe.
a way around it is only to use perl malloc (sbrk-based)

cu
-- 
paranoic mickey   (my employers have changed but, the name has remained)



Re: The Atheros story in much fewer words

2007-09-13 Thread Rui Miguel Silva Seabra
 | While it may be seen as distateful to make modifications to BSD-licensed
 | code, and place those modifications under the GPL or a similar share
 | alike license, based upon what I understand of copyright law, it's
 | perfectly legal. Even though BSD-style licenses are compatible with the
 | GPL, there are perfectly acceptable social goals achieved only by
 | releasing under the GPL or a similar license.
 
 I'd say that it goes against the GPL. Yes, the GPL, not the BSD
 license (or the ISC license), GPL. Theo already quoted the relevant
 bits, but I'll quote them again :
 
   For example, if you distribute copies of such a program, whether
 gratis or for a fee, you must give the recipients all the rights that
 you have.  You must make sure that they, too, receive or can get the
 source code.  And you must show them these terms so they know their
 rights.

1. that's in the preamble, which establishes the spirit
2. 4 paragraphs below you read:

The precise terms and conditions for copying, distribution and
modification follow.

3. later on you learn the precise term which is under the terms of this
   License

So no, you're wrong. Don't bother defending your point of view, it's a waste
of time to both of us, more to you who will write it. :)

Rui

-- 
P'tang!
Today is Sweetmorn, the 37th day of Bureaucracy in the YOLD 3173
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?



Re: The Atheros story in much fewer words

2007-09-13 Thread Daniel Ouellet
I have been very quiet on this for weeks now, but this really start to 
piss me off at the highest level!


The bottom line is original work was stolen and copyrights are not 
respected period!


Dance as much as you want around it, hide behind lawyers, word 
definition twisted, false pretend, what not! The facts remains. Any half 
brain, even with a lobotomy on top of that can get that! Even a monkey 
knows when you give him a banana and when he steal it! I guess this 
gives us a reference point here to compare it to.


This really make me loose any kind of respect what so ever for the FSF, 
SFLC, GNU and what I will have to call now the Evil GPL side all 
together. It never been my favorite choice, but I respected it before 
and understood why someone would pick that license, now, more and more 
not only do I dislike it, lost respect for it's use and now start to 
hate it badly too. Where will it stop! I for now now know for sure. I 
will never release anything under GPL EVER!!! Or even promote it's use. 
I see no good from it and no good intentions either from it's defenders 
anymore.


Look to me they are pretending to protect against the evil Micro$oft 
empire and others, but look to me big time now that even Micro$oft is 
the nice guy here.


Even Solaris and Sun finally start to see the light and come slowly on 
the right side. At a minimum, the evil Micro$oft like GPL clan likes to 
call them, respect the copyrights and you can see it in in their code!


This piss me off so bad now that you can count me in as a partial 
funding source should Reyk decide to get his rights corrected and to put 
back the open source community where it should be.


Working together for the greater good, not against one an other for the 
benefit of the corporation. I am sure for once they are enjoying this 
very much, and make no mistakes about it. The corporation have a lots 
more to gain to see this going down the tube, so I would see very much 
that they would be interested to finance such a case to discredit, 
destroy and remove the open source for their ways, and then get back to 
a hold you by the balls situation like it was many years ago!


I guess this Robbery by higher drain wash power theft on one side, 
forget what they are fighting for!


Just reminds me of many wars in the history, many times it's start for 
some stupid issue between two higher dictator refusing to see the common 
goods for their people and then after 20 years of fighting by others, 
everyone hate the other side, but they have no clue why they are 
fighting for and just keep killing, and none can tell you why it 
actually started! But the two dictator enjoy more power and control in 
the end.


You want to control the mass, don't educate them, give them something to 
focus their thoughts and force them to fights without having the time to 
look back and you control them for ever.


Look to me if a corporation wanted to kill the open source, they 
couldn't pick a better way to do it and here the GPL is walking right 
into it! Or may be some guys are well paid to create the problem and 
destroy from inside what they can't kill from outside.


There was a lots of press a few years ago on how Linux was killing 
Micro$oft and it wasn't good for innovations and all that bullshit. Look 
to me, not that much anymore as it just couldn't kill it and more and 
more people was joining in anyway as a freedom choice. What happen to 
that now! Then just do what was done a very long time ago. Kill it from 
inside then. Le cheval de Troie


Take your pick!

Best,

Daniel

PS: Sorry for this writing and I do not want to write again on this. But 
rights are broken and stolen and it's wrong and needs to be corrected 
period!




Re: The Atheros story in much fewer words

2007-09-13 Thread Jeremy C. Reed
On Thu, 13 Sep 2007, Shawn K. Quinn wrote:

  Free as in Freedom!  (but Free as in no monetary charge beats
  the hell out of taking a stand)
 
 Again, Richard Stallman's famous speech makes it clear monetary charge
 is not the reason for the free software movement.

At least at one time (and maybe still today), his goal was to destroy 
programmer's livelihoods.

I have the printed, comb-binded, March 1987 Sixth Edition, version 18 of 
the GNU Emacs Manual. It includes the 1985/1986 version of the GNU 
Manifesto which says on page 244:

If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.

The use of GPL itself is known to be restrictive to many. There are many 
documented examples of this.

(Should programmers using GPL be punished?? :)

Is there any legitimate example of OpenBSD's preferred license being 
restrictive to anyone? (I really am curious about this.)



Re: The Atheros story in much fewer words

2007-09-13 Thread bofh
On 9/13/07, Jeremy C. Reed [EMAIL PROTECTED] wrote:

 I have the printed, comb-binded, March 1987 Sixth Edition, version 18 of
 the GNU Emacs Manual. It includes the 1985/1986 version of the GNU
 Manifesto which says on page 244:

 If programmers deserve to be rewarded for creating innovative
 programs, by the same token they deserve to be punished if they
 restrict the use of these programs.

 The use of GPL itself is known to be restrictive to many. There are many
 documented examples of this.

 (Should programmers using GPL be punished?? :)

I think this is going out of context to the original issue, and only
serves to muddy things up.  Please go to the appropriate place to
discuss licensing.

-Tai
-- 
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.



Re: The Atheros story in much fewer words

2007-09-13 Thread steve szmidt
On Thursday 13 September 2007 16:19, Theo de Raadt wrote:
   Reyk can take them to court over this, but he must do it before the
   year 2047.
 
  Except he took most of it from Sam Leffler who said it is OK to license
  under the GPL. So while it's good to see you defending your code, it was
  not entirely yours to start with.

 Reyk's work (the replacement HAL) is in seperate files -- it is a
 seperately copyrighted work.

OK, I see that Reyk wrote it after Sam would not release it. I see that Sam 
seemed happy to dual license it. Though it looks clear that Jiri Slaby was 
wrong in stripping the license, which subsequently was not accepted by any 
repository.

This action does not however represent the GPL community from what I can 
see. Stealing work from one or the other has not been evident other than some 
people being confused as to what came from where. Which is the chicken and 
which is the egg kind of thing.

It is generalities which has bunches of people up in arms which of course 
happens when there is not enough specificity. It is pretty safe to say that 
most people are honest, but where misunderstanding can occur, it will.


-- 

Steve Szmidt

They that would give up essential liberty for temporary safety 
deserve neither liberty nor safety.
Benjamin Franklin



Re: The Atheros story in much fewer words

2007-09-13 Thread Reiner Jung
Rui,

as you are not a lawyer, you should stop to interpret any law, copyright
questions or give any legal advice from your own interpretation. This will
give a wrong assumption to the story. When there is a statement needed,
please let talk the legals and until they give advise, you should stop your
own legal advice. 

Maybe you don't notice it, but a wrong advice can people bring in trouble.
 

Regards
Reiner

On Thu, 13 Sep 2007 22:25:44 +0100, Rui Miguel Silva Seabra [EMAIL PROTECTED]
wrote:
 | While it may be seen as distateful to make modifications to
 BSD-licensed
 | code, and place those modifications under the GPL or a similar share
 | alike license, based upon what I understand of copyright law, it's
 | perfectly legal. Even though BSD-style licenses are compatible with
 the
 | GPL, there are perfectly acceptable social goals achieved only by
 | releasing under the GPL or a similar license.

 I'd say that it goes against the GPL. Yes, the GPL, not the BSD
 license (or the ISC license), GPL. Theo already quoted the relevant
 bits, but I'll quote them again :

   For example, if you distribute copies of such a program, whether
 gratis or for a fee, you must give the recipients all the rights
 that
 you have.  You must make sure that they, too, receive or can get the
 source code.  And you must show them these terms so they know their
 rights.
 
 1. that's in the preamble, which establishes the spirit
 2. 4 paragraphs below you read:
 
   The precise terms and conditions for copying, distribution and
   modification follow.
 
 3. later on you learn the precise term which is under the terms of
this
License
 
 So no, you're wrong. Don't bother defending your point of view, it's a
 waste
 of time to both of us, more to you who will write it. :)
 
 Rui
 
 --
 P'tang!
 Today is Sweetmorn, the 37th day of Bureaucracy in the YOLD 3173
 + No matter how much you do, you never do enough -- unknown
 + Whatever you do will be insignificant,
 | but it is very important that you do it -- Gandhi
 + So let's do it...?



Re: OpenBSD Install Goal

2007-09-13 Thread Bob Beck
 I hope one day soon OpenBSD will adopt a nice ncurses setup similar to 
 something like FreeBSD with ease to it.

I don't think it's worth putting my efforts into. The current
installer is about the easiest thing I have to deal with from AIX, 4
linux distributions, and FreeBSD. 

 As OpenBSD grows there simply is no reason, or logic to keeping around such 
 an archaic method of installation it now uses.
 
 Please keep me informed if you will, I'd love to hear the thoughts, and ideas 
 on this possible progress.

I await your diffs! Please feel free to write one that works, and
fits on the install media for 10 architectures. 

 
 OpenBSD is developed by volunteers, 10 years of development, don't you think 
 with all this man power and ability, after all these years it's time to 
 evolve a little?

I 100% Agree with you. so after 10 years of use, you should become one
of those volunteers and write such a thing.

 
 Remember this is an OS, and part of the process of creating one is the 
 evolution in making it a more simpler, and productive tool.
 
 We must rethink our ideas with these systems that they are tools to help us, 
 not us having to work on them all the time in order to get them to do 
 something, otherwise where is the progress and productivity in this?

 
 I remember a day when I personally sat around playing most of the time trying 
 to get something to work, rather then getting work done, those days must end, 
 and the tools must finally emerge as just that, TOOLS to help us accomplish 
 something, not sitting around trying to.

Personally I find driving an ncurses based install much more tedious
playing than chucking a site_install script in site42.tgz, booting off
the net and installing, as I've used the freebsd and SLS and ubunty
and solaris and aix and blah blah blah installers.  All the rest of them
require more of my time in front of the keyboard.  

However I'm sure with your fabulous ideas your ncurses based installer
for openbsd will stop that trend and be much better - since you'll be working
on something that's useful to you and you are passionate about. 

 
 Thank you for your time in this matter.
 
 Scott Richman

Thank you for volunteering. I await your code.

-Bob



Re: The Atheros story in much fewer words

2007-09-13 Thread Rui Miguel Silva Seabra
On Fri, Sep 14, 2007 at 12:50:31AM +0200, Reiner Jung wrote:
 as you are not a lawyer, you should stop to interpret any law, copyright
 questions or give any legal advice from your own interpretation.

Go see if I'm employed by Microsoft, will you?

It's in every citizen's duty to know about the law. Lawyers are merely
experts who deal with it for a living.

 This will
 give a wrong assumption to the story. When there is a statement needed,
 please let talk the legals and until they give advise, you should stop your
 own legal advice. 
 
 Maybe you don't notice it, but a wrong advice can people bring in trouble.

Which is why on such absurd statements, like the one I corrected, I find it
is a duty to clarify.

Regards,
Rui

-- 
Or not.
Today is Sweetmorn, the 37th day of Bureaucracy in the YOLD 3173
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?



Re: Perl segfault on 3.7

2007-09-13 Thread Alejandro Lozanoff
Thanks for your explanation and quick response, however with
-Uusemymalloc it segfaults almost when it starts. At least it showed
that the problem comes from that way, probably the mymalloc is worse
than  the OpenBSD one. :P

We found what appears to be a workaround on awstats.
Changing $tokenquery=$1||''; to $tokenquery='?'; after we traced what
was awstats running when segfaulting.
It's on awstats.pl line 6574
- awstats 6.7 (build 1.892) (c) 2000-2007 Laurent Destailleur -

It runs perfect and we didnt find any problem, but we don't have a clue
as to why that is... We are still looking for a real solution

Thanks again,
Alejandro.

mickey wrote:
 On Thu, Sep 13, 2007 at 05:25:32PM -0300, Alejandro Lozanoff wrote:
   
 Hello list,
 

 re

   
 We recently updated a 3.7 machine running awstat(perl) to parse all our
 websites logs with the biggest being around 1GB.
 When parsing the big log it randomly segfaults on 4.1, 3.9 and 3.8, we
 tried new clean release installs and it still segfaults. On 3.7 it works
 flawlessly, on 3.8 which has the same perl version as 3.7 (5.8.6) it
 still segfaults. The problem is completely random but it tends to happen
 after its been running for a while as it doesnt happen on small logs (or
 the probability for it to happen on those files is too low )

 As the trace below (from the perl.core) shows, it's an out of bounds
 problem, then we remember about a change on 3.8:

 malloc(3) has been rewritten to use the mmap(2) system call,
 introducing unpredictable allocation addresses and guard pages, which
 helps in detecting heap based buffer overflows and prevents various
 types of attacks.
 

 yes. this increases memory fragmentation immensly resulting
 in (practically) less virtual space available for data.
 as an increased penalty (200-300%) for cpu consuption
 on processes w/ lots (20M and more) malloc(3)ed memory...
 as well increased demand for the physical memory that
 on the overcommiting nature of it you perhaps observe.
 a way around it is only to use perl malloc (sbrk-based)

 cu



Re: The Atheros story in much fewer words

2007-09-13 Thread Reiner Jung
Rui,

what have this to do with Microsoft? I assume nothing. Don't let us mix up
this topic. The question here is not Microsoft again OpenBSD, Linux or ...,
the point is that here nobody should give any interpretation without
licensed to practice law. So let the specialist decide on the topic. 

As I assume you are not aware of the law in Europe and maybe not the law in
Portugal, please stop to discuss until we have the facts. Everything else
will end in nowhere. 

When you are able to show any court decision about this topic, which can
prove the facts, it will be fine. Otherwise let us wait for the facts. 

When you not notice, the hole license issue help not the Open Source
community, it support the closed source vendors to argue again OSS. When
this is your target, then continue. 

Have a nice evening. 

Regards
Reiner

On Thu, 13 Sep 2007 23:58:43 +0100, Rui Miguel Silva Seabra [EMAIL PROTECTED]
wrote:
 On Fri, Sep 14, 2007 at 12:50:31AM +0200, Reiner Jung wrote:
 as you are not a lawyer, you should stop to interpret any law, copyright
 questions or give any legal advice from your own interpretation.
 
 Go see if I'm employed by Microsoft, will you?
 
 It's in every citizen's duty to know about the law. Lawyers are merely
 experts who deal with it for a living.
 
 This will
 give a wrong assumption to the story. When there is a statement needed,
 please let talk the legals and until they give advise, you should stop
 your
 own legal advice.

 Maybe you don't notice it, but a wrong advice can people bring in
 trouble.
 
 Which is why on such absurd statements, like the one I corrected, I find
 it
 is a duty to clarify.
 
 Regards,
 Rui
 
 --
 Or not.
 Today is Sweetmorn, the 37th day of Bureaucracy in the YOLD 3173
 + No matter how much you do, you never do enough -- unknown
 + Whatever you do will be insignificant,
 | but it is very important that you do it -- Gandhi
 + So let's do it...?
-- 
Regards
Reiner Jung
Open Source Community and Business Consultant

The-Ganghttp://www.the-gang.net/

Email   [EMAIL PROTECTED]
Jabber  [EMAIL PROTECTED]
IRC[EMAIL PROTECTED]
 [EMAIL PROTECTED]

The Community Company



Re: OpenBSD Install Goal

2007-09-13 Thread Jack J. Woehr

On Sep 13, 2007, at 5:26 PM, Matthias Kilian wrote:


Fancy curses interfaces or
even high-resolution progress bars with dancing puffy animations
won't change this.


Speak for yourself ... my professional life would be profoundly  
changed by

dancing puffy animations during the OpenBSD install ... :-)

--
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
[EMAIL PROTECTED]
303-443-7000 ext. 527



Re: The Atheros story in much fewer words

2007-09-13 Thread Marco Peereboom
Now if you'd advice people with something better than bullshit it might
be worth it.  You have proven time and time again that you have no grasp
whatsoever on copyright law.  You have absolutely no clue and it is my
duty to clarify this to the community.

On Thu, Sep 13, 2007 at 11:58:43PM +0100, Rui Miguel Silva Seabra wrote:
 On Fri, Sep 14, 2007 at 12:50:31AM +0200, Reiner Jung wrote:
  as you are not a lawyer, you should stop to interpret any law, copyright
  questions or give any legal advice from your own interpretation.
 
 Go see if I'm employed by Microsoft, will you?
 
 It's in every citizen's duty to know about the law. Lawyers are merely
 experts who deal with it for a living.
 
  This will
  give a wrong assumption to the story. When there is a statement needed,
  please let talk the legals and until they give advise, you should stop your
  own legal advice. 
  
  Maybe you don't notice it, but a wrong advice can people bring in trouble.
 
 Which is why on such absurd statements, like the one I corrected, I find it
 is a duty to clarify.
 
 Regards,
 Rui
 
 -- 
 Or not.
 Today is Sweetmorn, the 37th day of Bureaucracy in the YOLD 3173
 + No matter how much you do, you never do enough -- unknown
 + Whatever you do will be insignificant,
 | but it is very important that you do it -- Gandhi
 + So let's do it...?



Re: OpenBSD Install Goal

2007-09-13 Thread Matthias Kilian
On Thu, Sep 13, 2007 at 04:49:26PM -0600, Bob Beck wrote:
  I hope one day soon OpenBSD will adopt a nice ncurses setup
  similar to something like FreeBSD with ease to it.
[...]
  As OpenBSD grows there simply is no reason, or logic to keeping
  around such an archaic method of installation it now uses.
  
  Please keep me informed if you will, I'd love to hear the
  thoughts, and ideas on this possible progress.
 
   I await your diffs! Please feel free to write one that works, and
   fits on the install media for 10 architectures. 

Oh, please. Even it it fits, it would be useless. Installation is
sequential (find disks, fdisk them (on i386-like archs), disklabel
them, choose install sets, install). Fancy curses interfaces or
even high-resolution progress bars with dancing puffy animations
won't change this.

Ciao,
Kili

ps: this is mainly adressed to the OP, and obviously not to beck@ ;-)

-- 
What is this?  Some kind of grep bitten by a radioactive spider?
-- William S. Yerazunis about the crm114 interpreter
   in The CRM114 Discriminator Revealed!



Re: OpenBSD Install Goal

2007-09-13 Thread Jason Dixon

On Sep 13, 2007, at 6:49 PM, Bob Beck wrote:

I hope one day soon OpenBSD will adopt a nice ncurses setup  
similar to something like FreeBSD with ease to it.


I don't think it's worth putting my efforts into. The current
installer is about the easiest thing I have to deal with from AIX, 4
linux distributions, and FreeBSD.


I don't think anyone else is clamoring for it, either.  I have to go  
back in the misc@ archives over 4 years to find any pointed  
complaints of the installer.  Sysinstall is a bloated mess that  
provides no value.  You're basically taking some of the afterboot(8)  
tasks and shoving them where they don't need to be.


As OpenBSD grows there simply is no reason, or logic to keeping  
around such an archaic method of installation it now uses.


Please keep me informed if you will, I'd love to hear the  
thoughts, and ideas on this possible progress.


I await your diffs! Please feel free to write one that works, and
fits on the install media for 10 architectures.


I don't.  The OpenBSD installer is a very underrated part of the  
overall user experience.  What other OS can you install in 3 minutes  
flat?  Keep it simple, stupid.


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



Re: UPDATE: vpnc - 0.5.1

2007-09-13 Thread Thomas Schoeller
sorry, this should go to ports@
On Fri, Sep 14, 2007 at 01:47:35AM +0200, Thomas Schoeller wrote:
 here is a updated port with all my suggestions included.
 
 
 
 On Thu, Sep 13, 2007 at 04:46:37PM +0200, Thomas Schoeller wrote:
  hello,
  
  runs fine for me on macppc and i386 against a Cisco Systems, Inc./VPN
  3000 Concentrator Version 4.1.7.Q
  
  suggestions:
  - remove .orig files
  - install a sample split tunnel script
  split.sh:
  #!/bin/sh
  # this effectively disables changes to /etc/resolv.conf
  INTERNAL_IP4_DNS=
  
  # This sets up split networking regardless
  # of the concentrators specifications.
  # You can add as many routes as you want,
  # but you must set the counter $CISCO_SPLIT_INC
  # accordingly
  CISCO_SPLIT_INC=1
  CISCO_SPLIT_INC_0_ADDR=10.0.0.0
  CISCO_SPLIT_INC_0_MASK=255.255.0.0
  CISCO_SPLIT_INC_0_MASKLEN=16
  CISCO_SPLIT_INC_0_PROTOCOL=0
  CISCO_SPLIT_INC_0_SPORT=0
  CISCO_SPLIT_INC_0_DPORT=0
  
  . /etc/vpnc/vpnc-script
  
  - patch against vpnc-script that not existing routes get not
removed(prevents error messages in split tunnel mode). but i do
know how to check if a route exists which handle special netmask
because route/netstat shows routes in cidr notation.
  
  tomorrow i will see if dead peer detection and rekeying works.
  
  thomas
  
  On Wed, Sep 12, 2007 at 09:47:08PM -0500, Aaron Hsu wrote:
   The compressed archive of the port is available at
   
   http://www.sacrificumdeo.net/vpnc.tar.gz
   
   
   -- 
   ((name Aaron Hsu)
(email/xmpp [EMAIL PROTECTED])
(phone 703-597-7656)
(site http://www.aaronhsu.com;))
 
 [demime 1.01d removed an attachment of type application/x-tar-gz]



Re: UPDATE: vpnc - 0.5.1

2007-09-13 Thread Thomas Schoeller
here is a updated port with all my suggestions included.



On Thu, Sep 13, 2007 at 04:46:37PM +0200, Thomas Schoeller wrote:
 hello,
 
 runs fine for me on macppc and i386 against a Cisco Systems, Inc./VPN
 3000 Concentrator Version 4.1.7.Q
 
 suggestions:
   - remove .orig files
   - install a sample split tunnel script
 split.sh:
 #!/bin/sh
 # this effectively disables changes to /etc/resolv.conf
 INTERNAL_IP4_DNS=
 
 # This sets up split networking regardless
 # of the concentrators specifications.
 # You can add as many routes as you want,
 # but you must set the counter $CISCO_SPLIT_INC
 # accordingly
 CISCO_SPLIT_INC=1
 CISCO_SPLIT_INC_0_ADDR=10.0.0.0
 CISCO_SPLIT_INC_0_MASK=255.255.0.0
 CISCO_SPLIT_INC_0_MASKLEN=16
 CISCO_SPLIT_INC_0_PROTOCOL=0
 CISCO_SPLIT_INC_0_SPORT=0
 CISCO_SPLIT_INC_0_DPORT=0
 
 . /etc/vpnc/vpnc-script
 
   - patch against vpnc-script that not existing routes get not
 removed(prevents error messages in split tunnel mode). but i do
 know how to check if a route exists which handle special netmask
 because route/netstat shows routes in cidr notation.
 
 tomorrow i will see if dead peer detection and rekeying works.
 
 thomas
 
 On Wed, Sep 12, 2007 at 09:47:08PM -0500, Aaron Hsu wrote:
  The compressed archive of the port is available at
  
  http://www.sacrificumdeo.net/vpnc.tar.gz
  
  
  -- 
  ((name Aaron Hsu)
   (email/xmpp [EMAIL PROTECTED])
   (phone 703-597-7656)
   (site http://www.aaronhsu.com;))

[demime 1.01d removed an attachment of type application/x-tar-gz]



Re: The Atheros story in much fewer words

2007-09-13 Thread Can E. Acar
Steve Szmidt wrote:
 On Thursday 13 September 2007 16:19, Theo de Raadt wrote:
   Reyk can take them to court over this, but he must do it before the
   year 2047.
 
  Except he took most of it from Sam Leffler who said it is OK to license
  under the GPL. So while it's good to see you defending your code, it was
  not entirely yours to start with.

 Reyk's work (the replacement HAL) is in seperate files -- it is a
 seperately copyrighted work.
 
 OK, I see that Reyk wrote it after Sam would not release it. I see that Sam 
 seemed happy to dual license it. Though it looks clear that Jiri Slaby was 
 wrong in stripping the license, which subsequently was not accepted by any 
 repository.

No, Sam's code and Reyk's code are completely different.

Sam has an open source driver and a closed source binary blob, the HAL.
Reyk reverse engineered the HAL and wrote an open source replacement.

Sam DID NOT open the HAL code, it is still a closed binary object.

Can you see now why Reyk's code is so critical?

Otherwise GPL and BSD developers have to include a binary object into the
kernel, which is out of their control. They can not fix bugs in there and
make sure it works with present and future kernels.

NetBSD had to change their *KERNEL INTERNALS* just to be compatible with
this one BLOB!: http://marc.info/?l=openbsd-miscm=118818182531027w=2


So, please go read the Theo's messages again.
http://marc.info/?l=openbsd-miscm=118965266709012w=2
http://marc.info/?l=openbsd-miscm=118963284332223w=2

Multiple versions of wrong handling of copyrights have been done, by
several people.
All those steps have been published in public repositories. Some pulled
back,
some still there,

Please do not spread incorrect information any more.

 This action does not however represent the GPL community from what I can 
 see. Stealing work from one or the other has not been evident other than some 
 people being confused as to what came from where. Which is the chicken and 
 which is the egg kind of thing.

Yes, this does NOT represent the GPL community. It is a mistake done by a
GPL project that is either clueless in terms of how copyrights work, and/or
got some bad legal advice. However, what they did is wrong, and the
situation
is *still* not resolved after all this time.

What does represent the GPL community is their inability to deal with such
problems. They think that OpenBSD people defending their own copyrights are
the enemies.  They fail to see that proper respect to copyrights and
an ethical understanding and collaboration between open source projects
is vital to the survival of *their* GPL projects.

 It is generalities which has bunches of people up in arms which of course 
 happens when there is not enough specificity. It is pretty safe to say that 
 most people are honest, but where misunderstanding can occur, it will.

I have not seen one coherent response from the community that is up
in arms
that hints that they understand the problem. So, this misunderstanding
looks
like a common problem with the bunch.

Can


-- 
In theory, there is no difference between theory and practice.
But, in practice, there is.



Re: OpenBSD Install Goal

2007-09-13 Thread Stephan Andre'
 I hope one day soon OpenBSD will adopt a nice ncurses setup similar
 to something like FreeBSD with ease to it.

Honestly, I don't see why.  How does making the installer more
complicated is going to help anything.

I recently sat a friend down to show how easy an install was.  This
was on a 400MHz Dell with a 10G disk.  Putting the disk in the box
to having a system that booted up took 11 minutes, with me 
making comments about each step.  

Once the machine came up, I said it was done, the system was ready
to use.

blink blink  You mean, thats all?

Yes, I replied and left him to playing with Perl

--STeve Andre'



Re: OpenBSD Install Goal

2007-09-13 Thread RW
On Thu, 13 Sep 2007 20:35:35 -0400, Stephan Andre' wrote:

 I hope one day soon OpenBSD will adopt a nice ncurses setup similar
 to something like FreeBSD with ease to it.

Honestly, I don't see why.  How does making the installer more
complicated is going to help anything.

I recently sat a friend down to show how easy an install was.  This
was on a 400MHz Dell with a 10G disk.  Putting the disk in the box
to having a system that booted up took 11 minutes, with me 
making comments about each step.  

Once the machine came up, I said it was done, the system was ready
to use.

blink blink  You mean, thats all?

Yes, I replied and left him to playing with Perl

Damn right STeve, I did a similar demo to the techs at the outfit that
builds boxes for me.

Install on a brand new box from CD with explanation of partitioning and
turning on httpd and having another box with a browser showing the It
worked! page in 15 minutes.

As to the original poster's something like FreeBSD with ease to it. I
have never been able to be confident in that piece of pretend gui-ness.
There is no clarity about it and I forever feel that it's the only
installer I've ever used where I wished for a comprehensive manual in
hard copy. Given that I joined IBM in 1962 and only quit instructing
for them a couple of years back, that covers a few installations

There are some things (very few) that I could use in Free that aren't
in Open. Spending loads of time with that crappy installer is too high
a price.
 
Rod/

Me...a skeptic?  I trust you have proof.



Re: OpenBSD Install Goal

2007-09-13 Thread Daniel Ouellet

On Thu, 13 Sep 2007 20:35:35 -0400, Stephan Andre' wrote:


I hope one day soon OpenBSD will adopt a nice ncurses setup similar
to something like FreeBSD with ease to it.

Honestly, I don't see why.  How does making the installer more
complicated is going to help anything.

I recently sat a friend down to show how easy an install was.  This
was on a 400MHz Dell with a 10G disk.  Putting the disk in the box
to having a system that booted up took 11 minutes, with me 
making comments about each step.  


Once the machine came up, I said it was done, the system was ready
to use.


To me easy of install and improvements is what's already done and added 
time to time that show really how this is so easy and better. Example, 
sure here is one that I notice in 4.2 and the first time, I read it as 
it was different and I was use to always do the same thing, may be not 
in 3 minutes flat like J.C., but may be 4:15. I guess he has faster box 
then me. (; Anyway, to the point.


In 4.2 there is the new way to specify your ntp server at the install 
time. I always use to go back in and change it manually every time. Now 
I don't have to, so it shave a few seconds in the install now for sure.


That's improvements. GUI and what not doesn't add anything and actually 
slow down the process. Simple is better.


Now, if you were talking about adding a way to change the root 
destination in the aliases at install time and allow me to specify it, 
then that would improvements as well and I wouldn't have to go back in 
and change it each time as well. This might get me closer to J.C. 
results in install time! (;


Great job guys! (;

Thanks

Daniel



SMP

2007-09-13 Thread Cyrus
Im currently running openbsd 4.1 on my server, Proliant 8500.  This server
is SMP with 4x 700MHz PIII proc.  Im just wondering, is it using all four
cpu's?  or do I have to configure the system to utilize SMP?


P.S. I did show my appreciation, and I bought a CD!

Thank you,
Cyrus



Re: OpenBSD Install Goal

2007-09-13 Thread Steve Shockley

Bob Beck wrote:

As OpenBSD grows there simply is no reason, or logic to keeping
around such an archaic method of installation it now uses.


I await your diffs! Please feel free to write one that works, and 
fits on the install media for 10 architectures.


I assume you're only encouraging this because it's likely impossible. 
Frankly, I find the FreeBSD installer somewhat confusing.  About the 
only thing that would maybe make the OpenBSD installer simpler for new 
(or impatient) users would be a default disk layout with sane 
partition sizes for /, /tmp, /var, /usr, etc.  Of course I rarely 
install OpenBSD on non-x86 boxes but I'm sure sane defaults for x86 are 
quite different than mac68k or hppa.


(In my defense, i do have a Sparc Classic and several mac68ks here. 
Great machines for [EMAIL PROTECTED])




Re: OpenBSD Install Goal

2007-09-13 Thread Darren Spruell
On 9/13/07, Steve Shockley [EMAIL PROTECTED] wrote:
 Bob Beck wrote:
  As OpenBSD grows there simply is no reason, or logic to keeping
  around such an archaic method of installation it now uses.

  I await your diffs! Please feel free to write one that works, and
  fits on the install media for 10 architectures.

 I assume you're only encouraging this because it's likely impossible.
 Frankly, I find the FreeBSD installer somewhat confusing.  About the
 only thing that would maybe make the OpenBSD installer simpler for new
 (or impatient) users would be a default disk layout with sane
 partition sizes for /, /tmp, /var, /usr, etc.  Of course I rarely
 install OpenBSD on non-x86 boxes but I'm sure sane defaults for x86 are
 quite different than mac68k or hppa.

I've found times where a default layout would have been useful, but on
the other hand I've been bitten more than once by a default layout
(from the sysinstall [A]utomatic partitioner) that didn't set up a big
enough /tmp for my needs. The result was spending extra time
reinstalling to do it right the second time around.

In almost all cases I think it's worth just being forced to think
about my needs a bit more up front rather than trusting technology to
do it for me. _Especially_ in cases where an autopartition scheme is
involved (several OSes come to mind...)

DS



Hifn 7955: fatal: cipher_init: EVP_CipherInit: set key failed for aes256-cbc

2007-09-13 Thread Erick Turnquist
I'm just installed 4.1 on a Soekris net5501 board (i386) with one of
their vpn1411 cards installed. The chip on this card is a Hifn 7955.
dmesg shows the card:

hifn0 at pci0 dev 17 function 0 Hifn 7955/7954 rev 0x00: LZS 3DES
ARC4 MD5 SHA1 RNG AES PK, 32KB dram, irq 15

But SSH connection attempts die, with fatal: cipher_init:
EVP_CipherInit: set key failed for aes256-cbc in the authlog. If I
disable the card with `sysctl -w kern.usercrypto=0` these connections
work fine. I have also tested AES192-CBC, with the same result,
however 3DES-CBC and even AES128-CBC work fine...

dmesg follows:

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD
586-class) 500 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 536440832 (523868K)
avail mem = 481771520 (470480K)
using 4278 buffers containing 26947584 bytes (26316K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 20/70/06, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 AMD Geode LX rev 0x31
glxsb0 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG AES
vr0 at pci0 dev 6 function 0 VIA VT6105M RhineIII rev 0x96: irq 11,
address 00:00:24:c8:e2:e8
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr1 at pci0 dev 7 function 0 VIA VT6105M RhineIII rev 0x96: irq 5,
address 00:00:24:c8:e2:e9
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr2 at pci0 dev 8 function 0 VIA VT6105M RhineIII rev 0x96: irq 9,
address 00:00:24:c8:e2:ea
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr3 at pci0 dev 9 function 0 VIA VT6105M RhineIII rev 0x96: irq 12,
address 00:00:24:c8:e2:eb
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
hifn0 at pci0 dev 17 function 0 Hifn 7955/7954 rev 0x00: LZS 3DES
ARC4 MD5 SHA1 RNG AES PK, 32KB dram, irq 15
pcib0 at pci0 dev 20 function 0 AMD CS5536 ISA rev 0x03
pciide0 at pci0 dev 20 function 2 AMD CS5536 IDE rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: HMS360606D5CF00
wd0: 32-sector PIO, LBA, 5859MB, 12000556 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 20 function 4 AMD CS5536 USB rev 0x02: irq 7,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ehci0 at pci0 dev 20 function 5 AMD CS5536 USB rev 0x02: irq 7
ehci0: pre-2.0 USB rev
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio0 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask 65c5 netmask ffe5 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Re: OpenBSD Install Goal

2007-09-13 Thread Marco Peereboom
I installed FreeBSD once in my life.  Took me 3 tries and I am sure some
kittens were murdered in the process.  I am also pretty sure I wept at
some point.  Honestly I can't remember a much worse installer; maybe SCO
OpenServer but not by much.



Re: SMP

2007-09-13 Thread Michael Scheliga
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Cyrus
 Sent: Thursday, September 13, 2007 7:24 PM
 To: misc@openbsd.org
 Subject: SMP

 Im currently running openbsd 4.1 on my server, Proliant 8500.  This
 server
 is SMP with 4x 700MHz PIII proc.  Im just wondering, is it using
 all four
 cpu's?  or do I have to configure the system to utilize SMP?


 P.S. I did show my appreciation, and I bought a CD!

 Thank you,
 Cyrus


Please read http://cvs.openbsd.org/faq/faq8.html#SMP

And http://cvs.openbsd.org/faq/faq2.html#MailLists
Especially the bottom of 2.2

Mike



Re: SMP

2007-09-13 Thread Firas Kraiem
Cyrus wrote:
 Im currently running openbsd 4.1 on my server, Proliant 8500.  This server
 is SMP with 4x 700MHz PIII proc.  Im just wondering, is it using all four
 cpu's?  or do I have to configure the system to utilize SMP?
 
 
 P.S. I did show my appreciation, and I bought a CD!
 
 Thank you,
 Cyrus
 
 
 

The SMP kernel is not used by default. To use it, type bsd.mp at the
boot prompt. You can also do something like

# mv /bsd /bsd.old
# mv /bsd.mp /bsd

to have it started by default. To make sure all your CPUs are used, you
can do a

$ dmesg | grep -i cpu

Firas

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments



Re: SMP

2007-09-13 Thread Darren Spruell
On 9/13/07, Cyrus [EMAIL PROTECTED] wrote:
 Im currently running openbsd 4.1 on my server, Proliant 8500.  This server
 is SMP with 4x 700MHz PIII proc.  Im just wondering, is it using all four
 cpu's?  or do I have to configure the system to utilize SMP?

SMP is the kernel that supports multiple CPUs. If you're not running
SMP, you aren't multiprocessing.

Useful ways to diagnose your CPU configuration; what does your kernel
say it found?

# dmesg |grep ^cpu

# sysctl hw.ncpu

DS



Re: SMP

2007-09-13 Thread Adriaan
On 9/14/07, Cyrus [EMAIL PROTECTED] wrote:
 Im currently running openbsd 4.1 on my server, Proliant 8500.  This server
 is SMP with 4x 700MHz PIII proc.  Im just wondering, is it using all four
 cpu's?  or do I have to configure the system to utilize SMP?

[snip]

You will have to use the bsd,mp kernel. The mp stands for
multi-processor. One simple way to use this kernel is to put the
following line in /etc/boot.conf

set image /bsd.mp

And reboot the system

=Adriaan=



Re: OpenBSD Install Goal

2007-09-13 Thread Aaron W. Hsu
Just to share my personal experiences with the OpenBSD Installer, I thought I 
would add to this thread.

I was a Free OS's *nix newbie trying to get around. At first, I tried Beta 
Stampede Linux, but it couldn't handle the hardware on my laptop. I could not 
figure out how to fix it, and it took me hours to read and guess about how it 
was supposed to boot up. Then I tried a Suse disc that someone gave me. Seemed 
to install great, except for the fact that it *didn't* work afterwards, and I 
couldn't figure out what on earth was going on. So, then Mandrake, but that 
just plain didn't work.

Enter OpenBSD. I read a few docs, that take maybe half an hour to an hour, 
figure out a partition scheme, install. First try, first settings, system 
boots, and works: I am an OpenBSD fan since. Hardware was all recognized, the 
boot worked without bugging up with X (at that time my graphics card was a bit 
weird), and my media drives were all easily detected. Does it get any easier?

-- 
((name Aaron Hsu)
 (email/xmpp [EMAIL PROTECTED])
 (phone 703-597-7656)
 (site http://www.aaronhsu.com;))



Re: OpenBSD Install Goal

2007-09-13 Thread Steve Shockley

Darren Spruell wrote:

I've found times where a default layout would have been useful, but on
the other hand I've been bitten more than once by a default layout
(from the sysinstall [A]utomatic partitioner) that didn't set up a big
enough /tmp for my needs. The result was spending extra time
reinstalling to do it right the second time around.


You're also assuming that the automatic partitioner would allocate the 
entire disk...


There are other issues, too; /usr/ports and /usr/src, /usr/obj, 
databases and logs and spools in /var, the list goes on.




Re: SMP

2007-09-13 Thread Darren Spruell
On 9/13/07, Darren Spruell [EMAIL PROTECTED] wrote:
 On 9/13/07, Cyrus [EMAIL PROTECTED] wrote:
  Im currently running openbsd 4.1 on my server, Proliant 8500.  This server
  is SMP with 4x 700MHz PIII proc.  Im just wondering, is it using all four
  cpu's?  or do I have to configure the system to utilize SMP?

 SMP is the kernel that supports multiple CPUs. If you're not running
 SMP, you aren't multiprocessing.

Horrible mistake - bsd.mp is what you're after for SMP support.

Sorry for the misguidance.

DS



Wasting our Freedom

2007-09-13 Thread Jason Dixon
It boggles my mind that we can lie around complacently, arguing about  
installer menus and taking the bait from trolls, while our freedoms  
are quickly eroding away.  The rights and recognition of one of our  
own developers (reyk@) have been molested, and all we've done as a  
community is to participate in useless flames and blog postings.   
Theo has thrown himself, once again, against the spears of the Linux  
community and their legal vultures in order to protect our software  
freedoms.  How many of us can say we've done our part to defend truly  
Free Software?


You don't have to be a lawyer or OpenBSD developer to make a  
difference.  Email the SFLC and FSF and remind them that Free  
Software consists of more than the almighty penguin.  OpenBSD is  
arguably the most Free and Open operating system available anywhere.   
The SFLC and FSF need to remember that they were created to protect  
victims, not thieves.


Your donations are important for keeping the servers running, but  
your voice is necessary for keeping our freedom alive.



Contacts:

Eben Moglen - [EMAIL PROTECTED]
Lawrence Lessig - [EMAIL PROTECTED]
Bradley M. Kuhn - [EMAIL PROTECTED]
Matt Norwood - [EMAIL PROTECTED]


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



Re: OpenBSD Install Goal

2007-09-13 Thread Edwards, David (JTS)
Hi,

 -Original Message-
 On Behalf Of Marco Peereboom
 Sent: Friday, 14 September 2007 12:03 PM

 I installed FreeBSD once in my life.  Took me 3 tries and I
 am sure some
 kittens were murdered in the process.  I am also pretty sure I wept at
 some point.  Honestly I can't remember a much worse
 installer; maybe SCO
 OpenServer but not by much.

Just interested in why you think it's so bad?

I've installed just about everything that's been around, going way back
to Linux SLS and I find the OpenBSD install better than all of them!

I'd guess it might be related to the reason I use BSD.  I find Linux a
far better desktop and only use *BSD for important stuff.  Given that, a
5 minute install without all the bells and whistles is just brilliant.

Or maybe it's my background where I'm more than comfortable on the
command line and find ncurses stuff painful and unnecessary.

Have you ever tried to do an install of FreeBSD/Linux using a 9600
serial console?

ciao
dave
---
Dave Edwards



serial port usage

2007-09-13 Thread Darren Spruell
For the scenario where you have two openbsd hosts, one connected to
the second with a serial null modem cable, what is the right device to
use when connecting using tip(1) from the first to a console on the
second?

These suggest that cua is the right device to use:

http://www.openbsd.org/faq/faq8.html#TTY
http://marc.info/?l=openbsd-miscm=115868967631296w=2
http://marc.info/?l=openbsd-miscm=118764543712174w=2

But for me, using cua00 fails with missing phone number message
while tty00 works:

molodetz$ tip -19200 tty00
can't open log file /var/log/aculog.
connected

OpenBSD/i386 (sinoptik.sancho2k.net) (tty00)

login: ~
[EOT]

molodetz$ tip -19200 cua00
can't open log file /var/log/aculog.
missing phone number
[EOT]

If cua00 is the right device to use when connecting out, why the
missing phone number error?

DS



Re: The Atheros story in much fewer words

2007-09-13 Thread Nick Holland
Shawn K. Quinn wrote:
 On Thu, 2007-09-13 at 07:09 -0400, Nick Holland wrote:
 GNUspeak:
 
 These are definitely not the views of the GNU project. They *might* be
 views of the self-styled Linux nerds that think they are k00l and
 eleet because they read Slashdot, but to imply the GNU project
 espouses these views is, quite frankly, slanderous.

Then why don't they fight it?
Why isn't Stallman or Torvalds or other prominents standing up and
saying, This is wrong!  This is not what we are about!

Sure, there is no way they can get involved in every little issue that
comes up, but the GNU and FSF are all about their license they are very
proud of and defend strongly.  I'd expect something out of 'em on this,
as the morality, ethics -- and yes, the law -- are so clear, and their
casual indifference towards another license is too likely to end up
blowing up on 'em in the future.

(my first response was going to be, this isn't about the official
views of the GNU project, but then...they have been strangely silent).

 Give back to the community! (which really means, I'm the community,
 gimme, gimme, gimme!)
 
 There may be some in the free software movement that think like this,
 but this is far from a majority view.

Of the PROGRAMMERS, sure.  Duh.  Thats' why they do it.  Pretty much
by definition, people who give stuff away are..uh..givers. :)  If
that's what you mean by the free software movement, fine.

However, most of the people using the word community include the vast
number of users.  I'm talking about the takers.  Those who leach without
ever giving back.  I think if I count the number of people posting
horribly offensive You should do it MY way, and cater to MY needs
because I want you to messages to misc@ to those that actually
contribute code (or any other kind of support) to the OpenBSD project,
you would see you are wrong.

Note: I'm not talking about people asking questions, even dumb or un-
researched question.  I'm talking about those who say we are doing
something wrong who've never attempted to do better.  The people
who say OpenBSD would be more popular if stupid advice here.  The
people who post politely worded but ever-so-offensive messages that
make developers say to themselves, Why do I do this?  Certainly not
for him.

 Free as in Freedom!  (but Free as in no monetary charge beats
 the hell out of taking a stand)
 
 Again, Richard Stallman's famous speech makes it clear monetary charge
 is not the reason for the free software movement.

I'm not talking about Richard Stallman, I'm talking about the people
who quote him and chant his words, then live very contrary to them.

I.e., not words of the prophet, but the actions of the followers.
People wrap themselves in pretty words, then go out and screw each
other when it is convenient.

(Ok, I'm no fan of RMS.  Or ESR.  But I'm not talking about 'em.)

 Free software: It's all about the price.
 The rest of the talk about freedom, etc. is just trying to keep
 them from looking like cheap, greedy bastards.
 At least for an awful lot of 'em.
 
 You know, it's fine if you hate the GPL. But I'll be damned if I just
 sit here and let you spread outright Goddamned *lies* about the free
 software movement and the people that represent it.

are you implying that the GPL  FSF *is* the free software movement?
Sorry, but I happen to ALSO represent it.

Obviously you have missed some of my commentaries on the GPL vs. BSD
philosophy.  I don't hate the GPL.  I dislike it compared to the BSD
alternative in general (I dislike milk chocolate compared to dark
chocolate, too, but either beats the heck out of, uh, most things. :)
but the short version is, it boils down to which you fear more:
  Big Companies using your code and thus, you as a developer, without
  pay or allowing you to use their code.
-- or --
  Big Companies NOT using your code, and rolling their own (inferior,
  incompatible, inconsistent, proprietary) crap instead.
I can make a pretty convincing case for either.  However, as much as
I'd dislike seeing Microsoft take OpenBSD code and ideas without
compensation of any kind, I'd much prefer they use the code and ideas
to not using 'em.  But that's me.  Not all may agree, and that's a
good thing.

What I do hate is hypocrisy.
People who preach the love of God, and kill those who preach it slightly
differently.
People who say God is all powerful, then feel the need to defend him.
People in an auto-town who slap a UAW Union NO SCAB PAPERS bumper
sticker on their car made by non-union workers (Solidarity for me!)
People who say PROTECT MY CODE while they steal someone else's.

GPL is so far down that list, it can't be called hate.  Not even an
annoyance really.  UNLESS it gets slapped on someone's code without
their permission and against their wishes.  That's not hating the GPL
in general, just the actions of some who pretend to support it.
(I love chocolate, but I hate to see it ground and melted into the
upholstery of my chair.  That's just 

Re: serial port usage

2007-09-13 Thread Nick Holland
Darren Spruell wrote:
...
 If cua00 is the right device to use when connecting out, why the
 missing phone number error?

That means your /etc/remote file is still at its defaults (which
perhaps should change):

tty00|For hp300,i386,mac68k,macppc,mvmeppc,vax:\
:dv=/dev/tty00:tc=direct:tc=unixhost:

cua00|For hp300,i386,mac68k,macppc,mvmeppc,vax:\
:dv=/dev/cua00:tc=dialup:tc=unixhost:

See, when you do tip tty00, you aren't actually saying, use port
tty00, you are saying, use /etc/remote entry tty00, which just
so happens to point to port tty00.  It doesn't need to.  You could
really mess with someone. :)

Try doing this:

  # tip tty01
  tip: unknown host tty01

unknown HOST, not unknown port (this machine has a second com port).

The tc=dialup is what is hurting you.  Just change it to direct.

Depending upon your cable and needs, you may not ever care, but cua
is more forgiving.

Nick.



Re: serial port usage

2007-09-13 Thread Daniel Ouellet
As we are on the subject and I do not want to deviate from the original 
question, I would however appreciate suggestions as to how I can have a 
one server witch can actually have up to 32 serial console to control 
LOM on Sun server. I may need up to 48 in one case, but instead of using 
a bunch of Cisco 2509 and 2511, I would much prefer using one good 
OpenBSD server with proper PF, etc to have the same console control on 
legacy Sun boxes.


I have been looking for some time and still the best way I found was to 
still use old Cisco routers for that.


Any clue stick would be nice if any ideas are better then this.

Thanks

Daniel



Re: OpenBSD Install Goal

2007-09-13 Thread Breen Ouellette

Marco Peereboom wrote:

I installed FreeBSD once in my life.  Took me 3 tries and I am sure some
kittens were murdered in the process.  I am also pretty sure I wept at
some point.  Honestly I can't remember a much worse installer; maybe SCO
OpenServer but not by much.


I second that! If FreeBSD is the OP's model for positive software 
evolution, then I am glad that OpenBSD has left the 'archaic' installer 
more or less alone, and concentrated on high quality additions to the 
meat and potatoes of the project, namely the tools and drivers in the OS 
itself.


Theo was just posting about 'gimme gimme gimme culture' and look what 
rears up and slobbers all over this list!


Breeno



Re: Hifn 7955: fatal: cipher_init: EVP_CipherInit: set key failed for aes256-cbc

2007-09-13 Thread Breen Ouellette
I do not have experience with the net5501, but as for the vpn1411, you 
may want to check out this thread:


http://marc.info/?l=openbsd-miscm=117826557508813w=2

It talks about recompiling the GENERIC kernel minus a few options, which 
has the side effect of fixing SSH connection problems with the vpn1411 
and the net4801. Why? I dunno. I'm not a developer, and my understanding 
of C is roughly equivalent to the average English writing skills of 
children in junior high.


Give it a shot, and please report back to the list if it fixes things 
with the net5501 combined with the vpn1411.


Breeno



Re: OpenBSD Install Goal

2007-09-13 Thread Karl Sjödahl - dunceor
On 9/14/07, Bob Beck [EMAIL PROTECTED] wrote:
  I hope one day soon OpenBSD will adopt a nice ncurses setup similar to 
  something like FreeBSD with ease to it.

 I don't think it's worth putting my efforts into. The current
 installer is about the easiest thing I have to deal with from AIX, 4
 linux distributions, and FreeBSD.

  As OpenBSD grows there simply is no reason, or logic to keeping around such 
  an archaic method of installation it now uses.
 
  Please keep me informed if you will, I'd love to hear the thoughts, and 
  ideas on this possible progress.

 I await your diffs! Please feel free to write one that works, and
 fits on the install media for 10 architectures.

 
  OpenBSD is developed by volunteers, 10 years of development, don't you 
  think with all this man power and ability, after all these years it's time 
  to evolve a little?

 I 100% Agree with you. so after 10 years of use, you should become one
 of those volunteers and write such a thing.

 
  Remember this is an OS, and part of the process of creating one is the 
  evolution in making it a more simpler, and productive tool.
 
  We must rethink our ideas with these systems that they are tools to help 
  us, not us having to work on them all the time in order to get them to do 
  something, otherwise where is the progress and productivity in this?
 
 
  I remember a day when I personally sat around playing most of the time 
  trying to get something to work, rather then getting work done, those days 
  must end, and the tools must finally emerge as just that, TOOLS to help us 
  accomplish something, not sitting around trying to.

 Personally I find driving an ncurses based install much more tedious
 playing than chucking a site_install script in site42.tgz, booting off
 the net and installing, as I've used the freebsd and SLS and ubunty
 and solaris and aix and blah blah blah installers.  All the rest of them
 require more of my time in front of the keyboard.

 However I'm sure with your fabulous ideas your ncurses based installer
 for openbsd will stop that trend and be much better - since you'll be working
 on something that's useful to you and you are passionate about.

 
  Thank you for your time in this matter.
 
  Scott Richman

 Thank you for volunteering. I await your code.

 -Bob



I can't understand what is the problem with the installer. It's so damn easy.
The installer isn't something that is keeping people away from using
OpenBSD. Time spent on adding features, new drivers and improvments on
all areas is much more important than trying to 'improve' something
that already works great.

BR
dunceor