whither pow() ?

2008-05-03 Thread Ben Calvert
I'm sure i'm doing something really basic and stupid here, but i can't  
seem to use pow() from math.h ???


ben:1$ cat test_pow.c
#include math.h

int main()
{
  double temp;

  temp = pow( 2.0, 3.0 );
  return 1;
}
ben:2$ cc test_pow.c
/tmp//ccy24322.o(.text+0x31): In function `main':
: undefined reference to `pow'
collect2: ld returned 1 exit status
ben:3$

this is an i386, running the snapshot from earlier today.

OpenBSD 4.3-current (GENERIC) #853: Fri May  2 04:37:23 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (GenuineIntel 686- 
class) 2 GHz
cpu0:  
FPU,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,CMOV,MMX,FXSR,SSE,SSE2,SS,SSE3

real mem  = 536440832 (511MB)
avail mem = 510615552 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/27/07, BIOS32 rev. 0 @  
0xf9000, SMBIOS rev. 2.3 @ 0xff01f (19 entries)
bios0: vendor Parallels Software International Inc. version 3.0 date  
16/01/2008

bios0: Parallels Software International Inc. Parallels Virtual Platform
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2000/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 3 4 5 7 9 10 11 12
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801BA LPC rev  
0x00)

pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0xa000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
vga1 at pci0 dev 2 function 0 unknown vendor 0x1ab8 product 0x1131 rev  
0x00

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
unknown vendor 0x1ab8 product 0x1112 (class bridge subclass  
miscellaneous, rev 0x00) at pci0 dev 3 function 0 not configured
ne3 at pci0 dev 5 function 0 Realtek 8029 rev 0x00: irq 10, address  
00:1c:42:2d:c0:a9

pchb0 at pci0 dev 30 function 0 Intel 82815 Host rev 0x02
ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x08: PM  
disabled
pciide0 at pci0 dev 31 function 1 Intel 82801BA IDE rev 0x00: DMA,  
channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: Virtual HDD [0]
wd0: 128-sector PIO, LBA48, 8000MB, 16384032 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PRL, Virtual CD-ROM, R103 ATAPI 5/ 
cdrom removable

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 1
pciide0: channel 1 ignored (disabled)
auich0 at pci0 dev 31 function 5 Intel 82801BA AC97 rev 0x02: irq 9,  
ICH2 AC97

ac97: codec id 0x414c4710 (Avance Logic ALC200)
ac97: codec features 18 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v4.05
midi0 at sb0: SB MIDI UART
audio1 at sb0
opl at sb0 not configured
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask e9dd netmask eddd ttymask fddf
mtrr: CPU supports MTRRs but not enabled
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



Re: whither pow() ?

2008-05-03 Thread Richard Toohey

On 3/05/2008, at 6:18 PM, Ben Calvert wrote:

I'm sure i'm doing something really basic and stupid here, but i  
can't seem to use pow() from math.h ???


ben:2$ cc test_pow.c
/tmp//ccy24322.o(.text+0x31): In function `main':
: undefined reference to `pow'
collect2: ld returned 1 exit status
ben:3$



I think you need to link to the maths lib?

http://www.openbsd.org/cgi-bin/man.cgi? 
query=mathsektion=3arch=i386apropos=0manpath=OpenBSD+Current


The link editor searches this library under the ``-lm'' option.   
Declarations for these

functions may be obtained from the include file math.h.



Re: whither pow() ?

2008-05-03 Thread Richard Toohey

On 3/05/2008, at 6:21 PM, Richard Toohey wrote:


On 3/05/2008, at 6:18 PM, Ben Calvert wrote:

I'm sure i'm doing something really basic and stupid here, but i  
can't seem to use pow() from math.h ???


ben:2$ cc test_pow.c
/tmp//ccy24322.o(.text+0x31): In function `main':
: undefined reference to `pow'
collect2: ld returned 1 exit status
ben:3$



I think you need to link to the maths lib?



Yep ...

$ cc test_pow.c
/tmp//ccZh4243.o(.text+0x31): In function `main':
: undefined reference to `pow'
collect2: ld returned 1 exit status
$ cc -lm test_pow.c
$



4.3-stable locks when doing shutdown during X session

2008-05-03 Thread Ivo van der Sangen
Hello,

After upgrading my Thinkpad t42 to 4.3-stable I noticed that while I was logged
in through XDM and I run shutdown -hp now the screen turns black and the
system doesn't halt properly. After rebooting the root filesystem has to be
checked for errors, so this clearly is a bad halt.

OpenBSD 4.3 (CUSTOM) #0: Fri May  2 23:37:56 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/CUSTOM
cpu0: Intel(R) Pentium(R) M processor 1.70GHz (GenuineIntel 686-class) 1.70
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
SS,TM,SBF,EST,TM2
real mem  = 804220928 (766MB)
avail mem = 769052672 (733MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/27/05, BIOS32 rev. 0 @ 0xfd750, SMBIOS
rev. 2.33 @ 0xe0
010 (61 entries)
bios0: vendor IBM version 1RETDLWW (3.17 ) date 07/27/2005
bios0: IBM 23733YG
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000!
0xe/0x1
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1700 MHz (1340 mV): speeds: 1700, 1400, 1200, 1000,
800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03
agp0 at pchb0: aperture at 0xd000, size 0x1000
ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M10 NP rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 TI PCI4520 CardBus rev 0x01: irq 11
cbb1 at pci2 dev 0 function 1 TI PCI4520 CardBus rev 0x01: irq 11
em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11,
address 00:11:25:2f:
a3:76
ath0 at pci2 dev 2 function 0 Atheros AR5212 (IBM MiniPCI) rev 0x01: irq 11
ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR1W, address 00:05:4e:48:66:8c
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer
at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0
configured to co
mpatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: HTS726060M9AT00
wd0: 16-sector PIO, LBA, 57231MB, 117210240 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: HL-DT-ST, RW/DVD GCC-4242N, 0201 SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4
AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask effd netmask effd ttymask 
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
WARNING: R/W mount of /home denied.  

ncurses.h and stddef.h conflicts?

2008-05-03 Thread achillean surtri
Hi,

While compiling Finch/ Pidgin on a recently-installed i386 4.3 OpenBSD
system, I encountered an issue where it gave me the following error:

/usr/include/ncurses.h:251: error: conflicting types for `wchar_t'
/usr/include/stddef.h:54: error: previous declaration of `wchar_t'
/usr/include/ncurses.h:254: error: conflicting types for `wint_t'
/usr/include/stddef.h:59: error: previous declaration of `wint_t'

After looking at the two files, I noticed that ncurses.h checks for:

#ifdef _WCHAR_T
...

whereas stddef.h has:
#define _WCHAR_T_DEFINED_

And the same thing for wint_t

After changing _WCHAR_T to _WCHAR_T_DEFINED_, and _WINT_T to
_WINT_T_DEFINED_ in ncurses.h the problem was fixed. And I did a quick grep
on /usr/include and at first glance didn't see any other header files that
check for _WCHAR_T, so it doesn't seem like changing it to _WCHAR_T_DEFINED_
would break anything...

Anyways, as it doesn't seem right to change a common header file such as
ncurses.h, I was wondering whether there's something I'm missing?

Thanks



Re: upgrade 4.2 (i386) - 4.3 (amd64)

2008-05-03 Thread Sunnz
2008/5/2 Marten Rizwan [EMAIL PROTECTED]:
 Hello misc@,
  I could obviously do a clean install, but it
  would take little more effort to complete.



It is probably true the other way around...

-- 
This e-mail may be confidential. You may not copy, forward,
distribute, or, use any part of it. If you have received this message
in error, please delete it from your system and notify the sender
immediately by return e-mail. The sender does not accept liability for
any errors, or, omissions. Note, this text has no effective legal
binding on your part. There is no obligation to abide any or all parts
of this, just as any texts appended to e-mail on rest of the Internet.
For more information about disclaimers, please see:
http://www.goldmark.org/jeff/stupid-disclaimers/



Re: 4.3-stable locks when doing shutdown during X session

2008-05-03 Thread Tobias Ulmer
On Sat, May 03, 2008 at 12:04:53PM +0200, Ivo van der Sangen wrote:
 Hello,
 
 After upgrading my Thinkpad t42 to 4.3-stable I noticed that while I was 
 logged
 in through XDM and I run shutdown -hp now the screen turns black and the
 system doesn't halt properly. After rebooting the root filesystem has to be
 checked for errors, so this clearly is a bad halt.
 
 OpenBSD 4.3 (CUSTOM) #0: Fri May  2 23:37:56 CEST 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/CUSTOM
 cpu0: Intel(R) Pentium(R) M processor 1.70GHz (GenuineIntel 686-class) 1.70
 GHz
 cpu0:
 FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
 SS,TM,SBF,EST,TM2
 real mem  = 804220928 (766MB)
 avail mem = 769052672 (733MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 07/27/05, BIOS32 rev. 0 @ 0xfd750, 
 SMBIOS
 rev. 2.33 @ 0xe0
 010 (61 entries)
 bios0: vendor IBM version 1RETDLWW (3.17 ) date 07/27/2005
 bios0: IBM 23733YG

Try updating the bios



Re: How to HIDE OpenBSD as user-agent?

2008-05-03 Thread Sunnz
2008/4/30 macintoshzoom [EMAIL PROTECTED]:
  
  # block nmap OS detection scans somewhat (-O)
  block in quick proto tcp flags FUP/WEUAPRSF
  block in quick proto tcp flags WEUAPRSF/WEUAPRSF
  block in quick proto tcp flags SRAFU/WEUAPRSF
  block in quick proto tcp flags /WEUAPRSF
  block in quick proto tcp flags SR/SR
  block in quick proto tcp flags SF/SF
  

  Any tips for a full pf.conf settings ?


Well since the OP wanted to block ALL user agents from absolutely
everywhere and don't mind security by obscurity, may I suggest the
following:

block in quick all
block out quick all

That's as secure as you can get by going for obscurity, without
turning off the computer!



Re: OpenBSD 4.3 released May 1, 2008

2008-05-03 Thread Sunnz
My little YouTube summary:

http://au.youtube.com/watch?v=uPTcnzgseaQ

Mhuahuahuahauha... ha...



Re: OpenBSD 4.3 released May 1, 2008

2008-05-03 Thread Brad Walker
On Sat, 2008-05-03 at 21:41 +1000, Sunnz wrote:
 My little YouTube summary:
 
 http://au.youtube.com/watch?v=uPTcnzgseaQ
 
 Mhuahuahuahauha... ha...

Ugh... youtube?

Brad Walker



Re: whither pow() ?

2008-05-03 Thread Ben Calvert

On May 3, 2008, at 12:56 AM, Richard Toohey wrote:


On 3/05/2008, at 6:21 PM, Richard Toohey wrote:



$ cc -lm test_pow.c
$

ok, this fixes it.  i'll attempt to understand it when more awake.   
Thanks!


Ben



DLINK DFE530T as INTEL PRO/1000 MT Subtitution?

2008-05-03 Thread Insan Praja SW

Hi Misc@,
Today I find a very difficult situation, I cannot find any shop in  
Indonesia that have stocks on single port intel PRO/1000MT PCI NICs. So I  
had to make a decision, replace this NICs with something more available  
and that would be Dlink DFE530T NIC, which I had no experience on this  
NICs. Many on list recommend these em(4) cards, but nothing on Dlink.
I'm basically trying to develop Loadbalance/redundant Puffy Gigabit  
routers, on Intel S3000AH boards which already had onboard em(4)s. I  
already have installed i386 4.3-current on this boards, doing bgpd, pf,  
and carp. Btw, 4,3-current seem to do fine in these boxes.
So, I'm lookin forward for any hints, suggestions or someone to shares  
their experiences with typical setup.

Kind Regards,


Insan
--
insandotpraja(at)gmaildotcom



Re: acpidock status

2008-05-03 Thread Owain Ainsworth
On Sat, May 03, 2008 at 12:54:05AM +0200, Alexander Hall wrote:
 Hi!

 What is the status of acpidock(4)? From source-changes@ etc I cannot tell 
 if it's considered usable or highly experimental.

Still the latter, unfortunately.

 I just got my ultrabase X6 but the kernel panics both on live insertion 
 and booting while docked. (Kernel is GENERIC.MP + acpidock + bt*). I have 
 not tried with GENERIC{,.MP} yet.

GENERIC{,.MP} worked for me booting while docked with an x61s, so it
might be acpidock that's killing it. Try with GENERIC. 

Which laptop is this?

 BTW, does anyone know if the serial port on the Ultrabase X6 is usable for 
 console redirection? It'd be easier to provide a decent bug report if so, 
 but I guess it could be some usb-to-serial thingie inside...

Yes, it is. I've used it for that many a time.

Cheers,
-0-
-- 
I haven't lost my mind -- it's backed up on tape somewhere.



Re: 4.3-stable locks when doing shutdown during X session

2008-05-03 Thread Ivo van der Sangen
On Sat, May 03, 2008 at 01:29:11PM +0200, Tobias Ulmer wrote:
 On Sat, May 03, 2008 at 12:04:53PM +0200, Ivo van der Sangen wrote:
  Hello,
  
  After upgrading my Thinkpad t42 to 4.3-stable I noticed that while I was 
  logged
  in through XDM and I run shutdown -hp now the screen turns black and the
  system doesn't halt properly. After rebooting the root filesystem has to be
  checked for errors, so this clearly is a bad halt.
  
  OpenBSD 4.3 (CUSTOM) #0: Fri May  2 23:37:56 CEST 2008
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/CUSTOM
  cpu0: Intel(R) Pentium(R) M processor 1.70GHz (GenuineIntel 686-class) 
  1.70
  GHz
  cpu0:
  FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
  SS,TM,SBF,EST,TM2
  real mem  = 804220928 (766MB)
  avail mem = 769052672 (733MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 07/27/05, BIOS32 rev. 0 @ 0xfd750, 
  SMBIOS
  rev. 2.33 @ 0xe0
  010 (61 entries)
  bios0: vendor IBM version 1RETDLWW (3.17 ) date 07/27/2005
  bios0: IBM 23733YG
 
 Try updating the bios

I am running BIOS v3.23 now. The problem remains the same, however.

OpenBSD 4.3 (CUSTOM) #0: Fri May  2 23:37:56 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/CUSTOM
cpu0: Intel(R) Pentium(R) M processor 1.70GHz (GenuineIntel 686-class) 1.70 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 804220928 (766MB)
avail mem = 769052672 (733MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS 
rev. 2.33 @ 0xe0010 (61 entries)
bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007
bios0: IBM 23733YG
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 
0xe/0x1
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1700 MHz (1340 mV): speeds: 1700, 1400, 1200, 1000, 
800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03
agp0 at pchb0: aperture at 0xd000, size 0x1000
ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M10 NP rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 TI PCI4520 CardBus rev 0x01: irq 11
cbb1 at pci2 dev 0 function 1 TI PCI4520 CardBus rev 0x01: irq 11
em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, 
address 00:11:25:2f:a3:76
ath0 at pci2 dev 2 function 0 Atheros AR5212 (IBM MiniPCI) rev 0x01: irq 11
ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR1W, address 00:05:4e:48:66:8c
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer 
at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: HTS726060M9AT00
wd0: 16-sector PIO, LBA, 57231MB, 117210240 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: HL-DT-ST, RW/DVD GCC-4242N, 0201 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 
AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at 

Can not install packages: Missing c.43.0 and pthread.so.9.0 in /usr/lib

2008-05-03 Thread Zoong PHAM
After a fresh install of OBSD-4.3 x86 from the CD image downloaded from
ftp.openbsd.org, I could not install many packages from few FTP
sites, including ftp.openbsd.org.

The error message was about c.43.0 and pthread.so.9.0 in /usr/lib.
I did not see any files with c.43.0 and pthread.so.9.0 in the names.
So I did this to resolve the problem:

ln -s /usr/lib/libc.so.44.0 /usr/lib/libc.so.43.0 
ln -s /usr/lib/libstdc++.so.44.0 /usr/lib/libstdc++.so.43.0
ln -s /usr/lib/libpthread.so.10.0 /usr/lib/libpthread.so.9.0 

After that, I now can install many packages.

Are there know problems with the CD image from ftp.openbsd.org?
Is that right what I did to resolve?

Thanks,
Zoong



Re: Can not install packages: Missing c.43.0 and pthread.so.9.0 in /usr/lib

2008-05-03 Thread Otto Moerbeek
On Sat, May 03, 2008 at 11:40:30PM +1100, Zoong PHAM wrote:

 After a fresh install of OBSD-4.3 x86 from the CD image downloaded from
 ftp.openbsd.org, I could not install many packages from few FTP
 sites, including ftp.openbsd.org.
 
 The error message was about c.43.0 and pthread.so.9.0 in /usr/lib.
 I did not see any files with c.43.0 and pthread.so.9.0 in the names.
 So I did this to resolve the problem:
 
 ln -s /usr/lib/libc.so.44.0 /usr/lib/libc.so.43.0 
 ln -s /usr/lib/libstdc++.so.44.0 /usr/lib/libstdc++.so.43.0
 ln -s /usr/lib/libpthread.so.10.0 /usr/lib/libpthread.so.9.0 
 
 After that, I now can install many packages.
 
 Are there know problems with the CD image from ftp.openbsd.org?
 Is that right what I did to resolve?
 
 Thanks,
 Zoong

You probably installed a snapshot instead of a release. What you did
is not rigt and will cause all kind of subtle problems.

-Otto



Re: azalia problem on 4.2-release: loud tone

2008-05-03 Thread Walter Bürger
Hi,

I have exactly the same problem as Jacob Yocom-Piatt.

The loud tone is a constant high-frequency tone, covering all other output.
I can't stand it much longer than two or three minutes.

My system:
OpenBSD 4.3-current GENERIC.MP i386
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 2
int 19 (irq 5)
azalia0: codec[s]: Analog Devices/0x1986
audio0 at azalia0

I haven't found the codec azalia0: codec[s]: Analog Devices/0x1986
in azalia_codec.c

Website:
http://www.analog.com/en/prod/0,2877,AD1986,00.html

Data Sheet:
http://www.analog.com/UploadedFiles/Data_Sheets/AD1986.pdf

Regards,
Walter.


dmesg follows:

OpenBSD 4.3-current (GENERIC.MP) #0: Thu May  1 02:36:37 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (GenuineIntel 686-class) 2.14
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,VMX,EST,TM2,CX
16,
xTPR
real mem  = 2146594816 (2047MB)
avail mem = 2067501056 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/05/07, BIOS32 rev. 0 @ 0xf0010,
SMBIOS
rev. 2.4 @ 0xf04e0 (56 entries)
bios0: vendor American Megatrends Inc. version 1004 date 06/05/2007
bios0: ASUSTek Computer INC. P5L-MX
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC OEMB HPET MCFG
acpi0: wakeup devices P0P1(S0) P0P3(S0) P0P9(S0) P0P8(S0) P0P7(S0) P0P6(S0)
P0P5
(S0) P0P4(S0) PS2K(S0) PS2M(S0) UAR1(S0) USB2(S0) USB3(S0) USB4(S0) MC97(S0)
USB
1(S0) EUSB(S0) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (GenuineIntel 686-class) 2.14
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX
16,
xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P3)
acpiprt3 at acpi0: bus 3 (P0P9)
acpiprt4 at acpi0: bus 2 (P0P8)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
bios0: ROM list: 0xc/0xee00 0xcf000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82945G PCIE rev 0x02: apic 2 int 16 (irq
11)
pci1 at ppb0 bus 4
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 6200 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: no integrated graphics
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: apic 2
int 19 (irq 5)
azalia0: codec[s]: Analog Devices/0x1986
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 2 int 16
(irq 11)
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01
pci3 at ppb2 bus 2
Attansic Technology L1 rev 0xb0 at pci3 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2 int 20
(irq 3)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 2 int 17
(irq 10)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 2 int 18
(irq 5)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 2 int 19
(irq 5)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 2 int 20
(irq
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 82801BA Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 1
em0 at pci4 dev 0 function 0 Intel PRO/1000MT (82541GI) rev 0x00: apic 2 int
1
7 (irq 10), address 00:0e:0c:34:14:90
eap0 at pci4 dev 1 function 0 Ensoniq CT5880 rev 0x02: apic 2 int 21 (irq
10)
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio1 at eap0
midi0 at eap0: AudioPCI MIDI UART
ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0
c
onfigured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD800JB-00ETA0
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8163B, 0L23 SCSI0 5/cdrom
r
emovable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, channel
0
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 23 (irq 10) for native-PCI 

Re: OpenBSD 4.3 released May 1, 2008

2008-05-03 Thread Jordi Espasa Clofent

Alexander Bluhm, Alexander von Gernler, Alexandre Anriot,
Alexandre Ratchov, Anders Magnusson, Antoine Jacoutot,
Artur Grabowski, Austin Hook, Bernd Ahlers, Bob Beck, Brad Smith,
Bret Lambert, Can Erkin Acar, Chad Loder, Charles Longeau,
Chris Kuethe, Christian Weisgerber, Christopher Pascoe,
Claudio Jeker, Constantine A. Murenin, Dale Rahn, Damien Bergamini,
Damien Miller, Daniel Hartmeier, Darren Tucker, David Gwynne,
David Krause, Deanna Phillips, Eric Faurot, Esben Norby,
Federico G. Schwindt, Felix Kronlage, Gilles Chehade,
Gordon Willem Klok, Hans-Joerg Hoexer, Henning Brauer,
Henric Jungheim, Hugh Graham, Ian Darwin, Igor Sobrado,
Jacob Meuser, Jakob Schlyter, Janne Johansson, Jason Dixon,
Jason McIntyre, Jasper Lievisse Adriaanse, Joel Knight, Joel Sing,
Johan Mson Lindman, Jolan Luff, Jonathan Gray, Jordan Hargrave,
Joris Vink, Kenneth R Westerback, Kevin Steves, Kjell Wooding,
Kurt Miller, Landry Breuil, Laurent Fanis, Marc Balmer, Marc Espie,
Marc Winiger, Marco Peereboom, Marco Pfatschbacher, Marco S Hyman,
Marcus Glocker, Mark Kettenis, Mark Uemura, Markus Friedl,
Martin Reindl, Martynas Venckus, Mathieu Sauve-Frankel,
Mats O Jansson, Matthias Kilian, Matthieu Herrb, Michael Erdely,
Michael Knudsen, Mike Belopuhov, Miod Vallat, Moritz Grimm,
Moritz Jodeit, Niall O'Higgins, Nick Holland, Nikolay Sturm,
Okan Demirmen, Oleg Safiullin, Otto Moerbeek, Owain Ainsworth,
Peter Stromberg, Peter Valchev, Pierre-Yves Ritschard, Ray Lai,
Reyk Floeter, Robert Nagy, Rui Reis, Ryan Thomas McBride,
Saad Kadhi, Simon Bertrang, Stefan Kempf, Steven Mestdagh,
Stuart Henderson, Ted Unangst, Theo de Raadt, Thordur I. Bjornsson,
Tobias Stoeckmann, Tobias Weingartner, Todd C. Miller,
Todd T. Fries, Tomoyuki Sakurai, Uwe Stuehler, Will Maier,
Wim Vandeputte, Xavier Santolaria, Joshua Stein


Congratulations and many thanks to all of you! OpenBSD is amazing 
version by version.


--
Thanks,
Jordi Espasa Clofent



Re: acpidock status

2008-05-03 Thread Alexander Hall

Owain Ainsworth wrote:

On Sat, May 03, 2008 at 12:54:05AM +0200, Alexander Hall wrote:

Hi!

What is the status of acpidock(4)? From source-changes@ etc I cannot tell 
if it's considered usable or highly experimental.


Still the latter, unfortunately.


Ok. Would bug reports be useful or is it even too early for that? I do 
not remember exactly but I think it was not even a controlled panic(9) 
but rather some invalid opcode or so...


I just got my ultrabase X6 but the kernel panics both on live insertion 
and booting while docked. (Kernel is GENERIC.MP + acpidock + bt*). I have 
not tried with GENERIC{,.MP} yet.


GENERIC{,.MP} worked for me booting while docked with an x61s, so it
might be acpidock that's killing it. Try with GENERIC. 


Which laptop is this?


The very same model. X61s.

Ok, but without acpidock then, will obsd cope with attaching and 
detaching the laptop while running, or do I risk breaking things 
(assuming I unmount all file systems etc before detaching)?


(Just want to know it is not a totally insane thing to do before I try 
it) :-)


BTW, does anyone know if the serial port on the Ultrabase X6 is usable for 
console redirection? It'd be easier to provide a decent bug report if so, 
but I guess it could be some usb-to-serial thingie inside...


Yes, it is. I've used it for that many a time.


Ok, great!

/Alexander



Is NV supposed to be SLOW?

2008-05-03 Thread Sunnz
I am just wondering if the NV driver for nVidia cards are supposed to
be slow, for just the desktop? That is, no 3D.

I am currently running Xfce Desktop on 4.2-release, just surfing the
web and stuff, nothing heavy... and Desktop switching, maximising
windows, and stuff takes unusually long time... of course I would not
expect the same performance with the binary blob driver on Linux, but
by a long time I mean it takes 5 - 30 seconds freeze to do
anything... maximising a window takes 5 - 10 seconds, while switching
desktop spaces takes 20 - 30 seconds, depends on how many windows are
on that space.

For non-drawing purpose, it is all very fast, minimise is very quick,
switching to an empty desktop space is an instant. So I guess it may
be the window manager, xfwm4?

So yea I am wondering if this is normal for xfce on nVidia cards...
like if it is xfce's problem, or X Windows, or driver??

Thanks.

-- 
This e-mail may be confidential. You may not copy, forward,
distribute, or, use any part of it. If you have received this message
in error, please delete it from your system and notify the sender
immediately by return e-mail. The sender does not accept liability for
any errors, or, omissions. Note, this text has no effective legal
binding on your part. There is no obligation to abide any or all parts
of this, just as any texts appended to e-mail on rest of the Internet.
For more information about disclaimers, please see:
http://www.goldmark.org/jeff/stupid-disclaimers/



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Jacob Meuser
On Sat, May 03, 2008 at 08:48:48PM +1000, Sunnz wrote:
 I am just wondering if the NV driver for nVidia cards are supposed to
 be slow, for just the desktop? That is, no 3D.
 
 I am currently running Xfce Desktop on 4.2-release, just surfing the
 web and stuff, nothing heavy... and Desktop switching, maximising
 windows, and stuff takes unusually long time... of course I would not
 expect the same performance with the binary blob driver on Linux, but
 by a long time I mean it takes 5 - 30 seconds freeze to do
 anything... maximising a window takes 5 - 10 seconds, while switching
 desktop spaces takes 20 - 30 seconds, depends on how many windows are
 on that space.
 
 For non-drawing purpose, it is all very fast, minimise is very quick,
 switching to an empty desktop space is an instant. So I guess it may
 be the window manager, xfwm4?
 
 So yea I am wondering if this is normal for xfce on nVidia cards...
 like if it is xfce's problem, or X Windows, or driver??

well, WHICH nVidia card?  don't you think that might matter?  any clues
in your /var/log/Xorg.0.log?

the following machine uses the nv driver, and I don't see what you describe
under either blackbox or kde.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

OpenBSD 4.3-current (GENERIC) #109: Sun Apr 13 14:02:25 PDT 2008
[EMAIL PROTECTED]:/home/src/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2500+ (AuthenticAMD 686-class, 512KB L2 cache) 1.84 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 536375296 (511MB)
avail mem = 510562304 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/24/03, BIOS32 rev. 0 @ 0xfa0e0, SMBIOS 
rev. 2.3 @ 0xf0120 (37 entries)
bios0: vendor Award Software International, Inc. version F8 date 09/24/2003
bios0: Gigabyte Technology Co., Ltd. GA-7VT600
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0xc474
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc3c0/176 (9 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT82C596A ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x9400 0xcc000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x80
ppb0 at pci0 dev 1 function 0 VIA VT8377 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)
agp0 at vga1: v3, aperture at 0xd000, size 0x1000
skc0 at pci0 dev 10 function 0 Linksys EG1032 rev 0x12, Yukon (0x1): irq 11
sk0 at skc0 port A: address 00:0c:41:1a:50:06
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3
cmpci0 at pci0 dev 11 function 0 C-Media Electronics CMI8738/C3DX Audio rev 
0x10: irq 10
audio0 at cmpci0
opl at cmpci0 not configured
mpu at cmpci0 not configured
bktr0 at pci0 dev 13 function 0 Brooktree BT878 rev 0x11: irq 11
bktr0: ATI TV-Wonder/VE, Philips NTSC tuner.
Brooktree BT878 Audio rev 0x11 at pci0 dev 13 function 1 not configured
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 5
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 11
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 11
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD600LB-00DNA0
wd0: 16-sector PIO, LBA48, 57240MB, 117229295 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: SONY, CD-RW CRX175E2, S002 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
rl0 at pci0 dev 19 function 0 Realtek 8139 rev 0x10: irq 11, address 
00:0d:61:c1:58:0d
rlphy0 at rl0 phy 0: RTL internal PHY
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 VIA UHCI root hub rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 

4.2, ppp problem

2008-05-03 Thread mike.merinov

Hello there.

I have a ppp(oe) problem under openbsd 4.2 (with 009_ppp.patch patch 
applied).


I have router under openbsd, which connects to the ISP through adsl 
modem (with pppoe). ppp starts with option -ddial, which means that it 
would reconnect if the link drops down. But it seems it doesn't. I have 
terrible phone cables (and a cat, if you know what I mean :) so the 
modem often reconnects, sometimes even with no obvious reason. After 
that ppp supposes an old session up, so it doesn't reconnect. Of course, 
the uplink gives me another adsl session, so it doesn't see packets from 
my old-given ip.


So I have to kill the previous ppp session to get new ip. Is it a 
problem of code or some misconfiguring? Here comes some information:


# cat /etc/hostname.tun0
!/usr/sbin/ppp -unit 0 -quiet -ddial pppoe; sleep 5

default:
 set log Phase Chat LCP IPCP CCP tun command LQM
 set redial 15 0
 set reconnect 15 1

pppoe:
 set device !/usr/sbin/pppoe -i rl0
 set mtu max 1492
 set mru max 1492
 set speed sync
 disable acfcomp protocomp
 deny acfcomp
 enable lqr echo
 disable ipv6cp
 set lqrperiod 5
 set echoperiod 5
 set timeout 0
 set authname **
 set authkey **
 add default HISADDR
 enable mssfixup


BTW, I heard of similiar problem from another guy, so I'm not alone.

P.S. I'm sorry if I repeated some known problem. I tried to search in 
archives but no succeed, and I can't spend any time to the problem now 
because of high time pressure.




Re: Is NV supposed to be SLOW?

2008-05-03 Thread Sunnz
2008/5/4 Jacob Meuser [EMAIL PROTECTED]:

  well, WHICH nVidia card?  don't you think that might matter?  any clues
  in your /var/log/Xorg.0.log?

  the following machine uses the nv driver, and I don't see what you describe
  under either blackbox or kde.



Well I am suspecting it is a combination of nv driver AND the window
manager used in Xfce4... that's why I want to ask if it happens purely
on nv driver, and in that case, I might have to go for ATi as
suggested by others.

But since your machine is good with blackbox/kde, I'll try them out
and see... so thanks for your reply!



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Sunnz
Ok I am using blackbox instead of xfwm4 now... still running on Xfce
but no more delays in anything. :)

-- 
This e-mail may be confidential. You may not copy, forward,
distribute, or, use any part of it. If you have received this message
in error, please delete it from your system and notify the sender
immediately by return e-mail. The sender does not accept liability for
any errors, or, omissions. Note, this text has no effective legal
binding on your part. There is no obligation to abide any or all parts
of this, just as any texts appended to e-mail on rest of the Internet.
For more information about disclaimers, please see:
http://www.goldmark.org/jeff/stupid-disclaimers/



Editing C with...

2008-05-03 Thread Jordi Espasa Clofent

Yes, I know, it's completely a dumb question; but I'm curious about it.

I'm just learning C applied in networking area and I wonder what editor 
is preferred by OpenBSD developers.


At present moment I use vim.

--
Thanks,
Jordi Espasa Clofent



Re: Editing C with...

2008-05-03 Thread Manuel Wildauer
vim :)

LG Manuel

On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote:
 Yes, I know, it's completely a dumb question; but I'm curious about it.

 I'm just learning C applied in networking area and I wonder what editor is 
 preferred by OpenBSD developers.

 At present moment I use vim.

 -- 
 Thanks,
 Jordi Espasa Clofent
---end quoted text---



Re: Editing C with...

2008-05-03 Thread Darrin Chandler
On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote:
 Yes, I know, it's completely a dumb question; but I'm curious about it.

 I'm just learning C applied in networking area and I wonder what editor is 
 preferred by OpenBSD developers.

 At present moment I use vim.

I asked this question a few years ago, so you might want to search the
list archives. At the time, I got a lot of answers of vim, followed by
vi. Then a smattering of emacs, mg, and whatnot.

On a related note... most system administrators I've talked to or read
things from seem to prefer vi heavily. One reason is that vi can be
found on pretty much any UNIX system. Period. For code development on
your own box you have more leeway to use what you want, rather than
picked the most common editor, and vim starts to make more sense.

-- 
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: upgrade 4.2 (i386) - 4.3 (amd64)

2008-05-03 Thread Marten Rizwan
Stuart, I appreciate your insight. In the end I went for a full backup and a 
clean install.
Thanks

 Original Message 
From: Sunnz [EMAIL PROTECTED]
Apparently from: [EMAIL PROTECTED]
To: Marten Rizwan [EMAIL PROTECTED]
Cc: misc@openbsd.org
Subject: Re: upgrade 4.2 (i386) - 4.3 (amd64)
Date: Sat, 3 May 2008 21:27:27 +1000

 2008/5/2 Marten Rizwan [EMAIL PROTECTED]:
  Hello misc@,
   I could obviously do a clean install, but it
   would take little more effort to complete.
 
 
 
 It is probably true the other way around...
 
 -- 
 This e-mail may be confidential. You may not copy, forward,
 distribute, or, use any part of it. If you have received this message
 in error, please delete it from your system and notify the sender
 immediately by return e-mail. The sender does not accept liability for
 any errors, or, omissions. Note, this text has no effective legal
 binding on your part. There is no obligation to abide any or all parts
 of this, just as any texts appended to e-mail on rest of the Internet.
 For more information about disclaimers, please see:
 http://www.goldmark.org/jeff/stupid-disclaimers/



Re: Editing C with...

2008-05-03 Thread bofh
Real men use ed.



On 5/3/08, Jordi Espasa Clofent [EMAIL PROTECTED] wrote:
 Yes, I know, it's completely a dumb question; but I'm curious about it.

 I'm just learning C applied in networking area and I wonder what editor
 is preferred by OpenBSD developers.

 At present moment I use vim.

 --
 Thanks,
 Jordi Espasa Clofent



-- 
Sent from Gmail for mobile | mobile.google.com

http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: Editing C with...

2008-05-03 Thread Miod Vallat
 Yes, I know, it's completely a dumb question; but I'm curious about it.
 
 I'm just learning C applied in networking area and I wonder what editor 
 is preferred by OpenBSD developers.
 
 At present moment I use vim.

The developers are known to use vi variants (nvi, vim) and emacs
variants (mg, emacs).

Of course, those who don't use nvi are deluded developers.

Miod



Re: How to HIDE OpenBSD as user-agent?

2008-05-03 Thread Alexander Schrijver
On Sat, May 03, 2008 at 09:38:01PM +1000, Sunnz wrote:
 2008/4/30 macintoshzoom [EMAIL PROTECTED]:
   
   # block nmap OS detection scans somewhat (-O)
   block in quick proto tcp flags FUP/WEUAPRSF
   block in quick proto tcp flags WEUAPRSF/WEUAPRSF
   block in quick proto tcp flags SRAFU/WEUAPRSF
   block in quick proto tcp flags /WEUAPRSF
   block in quick proto tcp flags SR/SR
   block in quick proto tcp flags SF/SF
   
 
   Any tips for a full pf.conf settings ?
 
 
 Well since the OP wanted to block ALL user agents from absolutely
 everywhere and don't mind security by obscurity, may I suggest the
 following:
 
 block in quick all
 block out quick all
 
 That's as secure as you can get by going for obscurity, without
 turning off the computer!
 

I think unplugging the network cable(s) would be more secure.



Re: Editing C with...

2008-05-03 Thread Gilles Chehade
On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote:
 Yes, I know, it's completely a dumb question; but I'm curious about it.
 
 I'm just learning C applied in networking area and I wonder what editor 
 is preferred by OpenBSD developers.
 
 At present moment I use vim.
 

I am a big fan of vi or mg to make small changes to files, but for
coding I am used to emacs w/ a custom mode that provides knf-like
indentation.

I'll put it somewhere online if it is of any interest to anyone ;-)

Gilles

-- 
Gilles Chehade
http://www.poolp.org/



Re: Editing C with...

2008-05-03 Thread Pierre Riteau
On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote:
 Yes, I know, it's completely a dumb question; but I'm curious about it.

 I'm just learning C applied in networking area and I wonder what editor is 
 preferred by OpenBSD developers.

 At present moment I use vim.

 -- 
 Thanks,
 Jordi Espasa Clofent


http://xkcd.com/378/

--
Pierre Riteau



Re: How to HIDE OpenBSD as user-agent?

2008-05-03 Thread Sunnz
2008/5/4 Alexander Schrijver [EMAIL PROTECTED]:

  

  I think unplugging the network cable(s) would be more secure.


What if the OP is on wireless? (Using WEP too! :O). I suggest they
have the block all rules anyway, just to be safe... ya know, in case
of a thunder storm, kids may not want to go outside, and start doing
crazy things inside, such as plugging the network cable back in...

-- 
This e-mail may be confidential. You may not copy, forward,
distribute, or, use any part of it. If you have received this message
in error, please delete it from your system and notify the sender
immediately by return e-mail. The sender does not accept liability for
any errors, or, omissions. Note, this text has no effective legal
binding on your part. There is no obligation to abide any or all parts
of this, just as any texts appended to e-mail on rest of the Internet.
For more information about disclaimers, please see:
http://www.goldmark.org/jeff/stupid-disclaimers/



Re: Editing C with...

2008-05-03 Thread Alexander Schrijver
Real men use butterflies.

On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote:
 Real men use ed.
 
 
 
 On 5/3/08, Jordi Espasa Clofent [EMAIL PROTECTED] wrote:
  Yes, I know, it's completely a dumb question; but I'm curious about it.
 
  I'm just learning C applied in networking area and I wonder what editor
  is preferred by OpenBSD developers.
 
  At present moment I use vim.
 
  --
  Thanks,
  Jordi Espasa Clofent
 
 
 
 -- 
 Sent from Gmail for mobile | mobile.google.com
 
 http://www.glumbert.com/media/shift
 http://www.youtube.com/watch?v=tGvHNNOLnCk
 This officer's men seem to follow him merely out of idle curiosity.
 -- Sandhurst officer cadet evaluation.
 Securing an environment of Windows platforms from abuse - external or
 internal - is akin to trying to install sprinklers in a fireworks
 factory where smoking on the job is permitted.  -- Gene Spafford
 learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: Editing C with...

2008-05-03 Thread Robert C Wittig

Jordi Espasa Clofent wrote:

Yes, I know, it's completely a dumb question; but I'm curious about it.

I'm just learning C applied in networking area and I wonder what editor 
is preferred by OpenBSD developers.


At present moment I use vim.



vi/vim.

I use it for most of my editing tasks, not just writing C code.


--
-wittig http://www.robertwittig.com/
http://robertwittig.net/
http://robertwittig.org/
.



Re: Editing C with...

2008-05-03 Thread Andreas Maus
On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote:
 Real men use ed.
No.
REAL programmers use ...

http://xkcd.com/378/

Sorry, couldn't resist ;)

Andreas.

-- 
Windows 95: A 32-bit patch for a 16-bit GUI shell running on top of
an 8-bit operating system written for a 4-bit processor by a 2-bit
company who cannot stand 1 bit of competition.



Re: Editing C with...

2008-05-03 Thread Mark Mathias
On Sat, May 3, 2008 at 3:38 PM, Alexander Schrijver 
[EMAIL PROTECTED] wrote:

 Real men use butterflies.

 On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote:
  Real men use ed.
 
 
 
  On 5/3/08, Jordi Espasa Clofent [EMAIL PROTECTED] wrote:
   Yes, I know, it's completely a dumb question; but I'm curious about
 it.
  
   I'm just learning C applied in networking area and I wonder what
 editor
   is preferred by OpenBSD developers.
  
   At present moment I use vim.
  
   --
   Thanks,
   Jordi Espasa Clofent
  
  
 
  --
  Sent from Gmail for mobile | mobile.google.com
 
  http://www.glumbert.com/media/shift
  http://www.youtube.com/watch?v=tGvHNNOLnCk
  This officer's men seem to follow him merely out of idle curiosity.
  -- Sandhurst officer cadet evaluation.
  Securing an environment of Windows platforms from abuse - external or
  internal - is akin to trying to install sprinklers in a fireworks
  factory where smoking on the job is permitted.  -- Gene Spafford
  learn french:
 http://www.youtube.com/watch?v=j1G-3laJJP0feature=related


Of course theres an Emacs command for that

-- 
Mark Mathias



source/destination nat pf, user space filtering pf

2008-05-03 Thread [EMAIL PROTECTED]

Hello,

I have got the following situation:
- wan nic: 192.168.0.2/24 - router 192.168.0.1
- vpn nic: 192.168.1.2/24 - router 192.168.1.1
- lan nic: 192.168.2.1/24 - client 192.168.2.99

The default route goes to 192.168.0.1. What I want is to leave the 
default route and nat the traffic just from the lan through the vpn. 
It's seams that nat is done after routing. If I change the default route 
to 192.168.1.1 everything works. But I don't want to change the default 
route and I don't want tell the lan clients anything about the vpn 
network and I don't want tell the vpn router anything about the lan 
network. Is there any solution to do this just with nat alone?


Another question: Are there any plans to include some user space 
filtering like http://www.openbeer.it/?open=pq?


I switched back to openbsd for router/fw tasks from linux. I would like 
to help to code, to test or just to tell what I need but maybe I'm to 
old to do this in this live - maybe next one ;-)


--
Best regards,
Milli



Re: Editing C with...

2008-05-03 Thread Marco Peereboom
vim of course!

the emacs people are weird :-)

On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote:
 Yes, I know, it's completely a dumb question; but I'm curious about it.

 I'm just learning C applied in networking area and I wonder what editor is 
 preferred by OpenBSD developers.

 At present moment I use vim.

 -- 
 Thanks,
 Jordi Espasa Clofent



4.2, ppp problem

2008-05-03 Thread Alexey Suslikov
[EMAIL PROTECTED] wrote:

 I have a ppp(oe) problem under openbsd 4.2 (with 009_ppp.patch patch
 applied).


You probably should try in-kernel pppoe instead of doing things in user-land.
See man 4 pppoe for details.

- Alexey.



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Marco Peereboom
Yes.  NVIDIA refuses to make a useful open source driver.  It is barely
functional and it generally sucks really really bad.  Stay away from
NVIDIA when doing open source.

On Sat, May 03, 2008 at 08:48:48PM +1000, Sunnz wrote:
 I am just wondering if the NV driver for nVidia cards are supposed to
 be slow, for just the desktop? That is, no 3D.
 
 I am currently running Xfce Desktop on 4.2-release, just surfing the
 web and stuff, nothing heavy... and Desktop switching, maximising
 windows, and stuff takes unusually long time... of course I would not
 expect the same performance with the binary blob driver on Linux, but
 by a long time I mean it takes 5 - 30 seconds freeze to do
 anything... maximising a window takes 5 - 10 seconds, while switching
 desktop spaces takes 20 - 30 seconds, depends on how many windows are
 on that space.
 
 For non-drawing purpose, it is all very fast, minimise is very quick,
 switching to an empty desktop space is an instant. So I guess it may
 be the window manager, xfwm4?
 
 So yea I am wondering if this is normal for xfce on nVidia cards...
 like if it is xfce's problem, or X Windows, or driver??
 
 Thanks.
 
 -- 
 This e-mail may be confidential. You may not copy, forward,
 distribute, or, use any part of it. If you have received this message
 in error, please delete it from your system and notify the sender
 immediately by return e-mail. The sender does not accept liability for
 any errors, or, omissions. Note, this text has no effective legal
 binding on your part. There is no obligation to abide any or all parts
 of this, just as any texts appended to e-mail on rest of the Internet.
 For more information about disclaimers, please see:
 http://www.goldmark.org/jeff/stupid-disclaimers/



Re: -current and rthreads

2008-05-03 Thread Ted Unangst
On 5/2/08, Philip Guenther [EMAIL PROTECTED] wrote:
  (Since the feedback on the patch has petered out, I suppose I should
  break it into logical chunks and send them to the tech list for
  piece-wise consideration.)

My fault, as usual.  If you'd do that, I'll try to get them reviewed
and committed soon.  I only glanced at them before, but they seemed
helpful.



Re: package tools misbehaving

2008-05-03 Thread Ingo Schwarze
Hi Toni,

Toni Mueller wrote on Tue, Apr 29, 2008 at 05:56:14PM +0200:
 On Mon, 04.02.2008 at 01:03:13 +0100, Ingo Schwarze [EMAIL PROTECTED] wrote:

 When you request a non-existant package,
 printing an error message and exiting is OK imho.

 it would be better to not be offered non-existing files, wouldn't it?

Indeed, and pkg_add does not offer non-existant files.
That's not what happened.
Edd specified the non-existant package silc on the command line:

Citing from the rather old original posting
http://marc.info/?l=openbsd-miscm=120208241503570w=2 :

 # pkg_add -i rxvt jwm zsh xpdf vim mplayer pidgin silc irssi feh
 [...]
 Can't resolve silc
 [...]

Yours,
  Ingo



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Nenhum_de_Nos
On Sat, May 3, 2008 at 4:18 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
 Yes.  NVIDIA refuses to make a useful open source driver.  It is barely
  functional and it generally sucks really really bad.  Stay away from
  NVIDIA when doing open source.

by any means this is criticism, just for information only.

so, for open source should I look for what in graphics subject ?
I had bad time using ATi some time ago so I bought nVidia. but there
is no luck in running 64bits FreeBSD on it :(

if you have any info on this please :)

thanks,

matheus


-- 
We will call you cygnus,
The God of balance you shall be



Doubt about license

2008-05-03 Thread debian developer
Hello,

Let me make a few things clear. I am a newbie. I'm not a troll but a
seriously curious guy wanting to know.
I searched google but could not find any clear explanation. Please
point me in the right direction if this has been discussed before.
Please spare me the flames and do not reply if you find this
offensive... I'm just trying to know. :)
I am a great fan of Theo and RMS. I've been reading a lot on the BSD
license and GPL license lately.

I have a few questions(no, not which license is better.:):

1. BSD license is completely free. No one needs to give back changes
forcibly(the GPL way), hence this is completely free.
If what i hear is correct, there are companies(Microsoft) which
take BSD code (network stack i hear) and made it proprietary by not
giving back anything. What i don't understand is are we not loosing
anything in this case?? I can understand that there are many more
companies which have used the code(Apple) and given back but there are
also opposite ends...

2. I know many of you consider RMS a backstabber on the goals of
freedom. What i don't understand is what is wrong in porting free
software to non-free platforms? Shouldn't people caged on non-free
platforms know about the power of free software?? When there is no one
to explain to them what free software is, does'nt this porting get
atleast a percent of them interested in a successful and superior free
software product(like firefox)?

Thank you for taking the time to read this.



Re: Doubt about license

2008-05-03 Thread Ted Unangst
On 5/3/08, debian developer [EMAIL PROTECTED] wrote:
  1. BSD license is completely free. No one needs to give back changes
  forcibly(the GPL way), hence this is completely free.
 If what i hear is correct, there are companies(Microsoft) which
  take BSD code (network stack i hear) and made it proprietary by not
  giving back anything. What i don't understand is are we not loosing
  anything in this case?? I can understand that there are many more
  companies which have used the code(Apple) and given back but there are
  also opposite ends...

no, nothing is loosed.



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Adam Jacob Muller

On May 3, 2008, at 4:47 PM, Nenhum_de_Nos wrote:
On Sat, May 3, 2008 at 4:18 PM, Marco Peereboom [EMAIL PROTECTED]  
wrote:
Yes.  NVIDIA refuses to make a useful open source driver.  It is  
barely

functional and it generally sucks really really bad.  Stay away from
NVIDIA when doing open source.


by any means this is criticism, just for information only.

so, for open source should I look for what in graphics subject ?
I had bad time using ATi some time ago so I bought nVidia. but there
is no luck in running 64bits FreeBSD on it :(

if you have any info on this please :)

thanks,

matheus


--
We will call you cygnus,
The God of balance you shall be




To hijack this slightly, what would one consider the best video card  
to work with OSS?


-Adam



Re: Editing C with...

2008-05-03 Thread Girish Venkatachalam
On 13:51:58 May 03, Robert C Wittig wrote:

 vi/vim.

 I use it for most of my editing tasks, not just writing C code.

I use vim since it enhances my coding speed in a big way.

As to KNF I guess it is just a habit that I want to inculcate for all my
C coding. Right now it is voluntary and occasionally painful but I don't
want to lose the chance to make it automatic by going in for a tool.

I am bowled over by vim's knowledge of config file syntax and the way it
highlights various keywords. That way I can afford to be a bit lazy with
certain programming languages or even config file directives. It would
highlight typos in a different color.

Occasionally vim does  go wrong however but so far it has not affected
me.

I type out this mail with vim and it helps me appear good since I have
auto spell check on. With bad keyboards I tend to make silly typos and
vim can save my day by highlighting it and alerting me. 

Of course I would not be so much in love with vim but for its vi key
bindings. 

As to power editing you should really read the short and sweet document
written by the author of vim Bram Moolenaar.

(If someone can locate it for me I shall be obliged. ;)

He emphasizes how the steep learning curve experienced by vi learners
are paid back in full in due course of time. I can vouch for it. So what
if it is counter intuitive in the beginning?

So what if it is sometimes tougher than emacs? Once you use it every time
you create a document be it LaTeX or e-mail or source code or config
file editing, you stick to one editor and that according to me is an
amazing convenience.

Its ability to read and write files makes it even more powerful of
course. And the output of commands.

Hope this helps. That said choice is yours as always. ;)

Open source is a democratic world. ;)

-Girish



Re: Doubt about license

2008-05-03 Thread Steve Shockley

debian developer wrote:

Let me make a few things clear. I am a newbie. I'm not a troll but a
seriously curious guy wanting to know.


That's what all the trolls say.


 If what i hear is correct, there are companies(Microsoft) which
take BSD code (network stack i hear) and made it proprietary by not
giving back anything. What i don't understand is are we not loosing
anything in this case??


Microsoft also uses OpenBSD code for much of their Services For Unix 
product.  What's wrong with that?  If your goal is to write quality code 
and give it to the world, then why not let the world use it?




Re: Doubt about license

2008-05-03 Thread Jacob Meuser
On Sun, May 04, 2008 at 03:38:13AM +0530, debian developer wrote:
 Hello,
 
 Let me make a few things clear. I am a newbie. I'm not a troll but a
 seriously curious guy wanting to know.
 I searched google but could not find any clear explanation. Please
 point me in the right direction if this has been discussed before.
 Please spare me the flames and do not reply if you find this
 offensive... I'm just trying to know. :)
 I am a great fan of Theo and RMS. I've been reading a lot on the BSD
 license and GPL license lately.
 
 I have a few questions(no, not which license is better.:):
 
 1. BSD license is completely free. No one needs to give back changes
 forcibly(the GPL way), hence this is completely free.
 If what i hear is correct, there are companies(Microsoft) which
 take BSD code (network stack i hear) and made it proprietary by not
 giving back anything. What i don't understand is are we not loosing
 anything in this case?? I can understand that there are many more
 companies which have used the code(Apple) and given back but there are
 also opposite ends...

no.  nothing is lost, and something is gained.

just because a company takes BSD code and makes a proprietary product out
of it, does not mean the original code is any less free.

and something is gained, because people are now using better code.
you mention the IP stack.  would you rather have to interoperate with
a buggy MS produced stack?

now let's turn that around.  will MS use GPL code?  probably not, at
least not anytime soon.  will GNU/Linux ever be as common as Windows?
probably not, at least not any time soon.  does GPL code end up helping
the vast majority of computer users?  not today, and probably not
anytime soon.  otoh, as you have pointed out, BSD code _is_ helping
the vast majority of computer users, right now, today.

you see, the GPL is, well, segregatory.  it is based on lack of trust
and the desire to control.

 2. I know many of you consider RMS a backstabber on the goals of
 freedom. What i don't understand is what is wrong in porting free
 software to non-free platforms?

the question is, how is porting free software to non-free platforms
ok, but providing easier ways to install non-free software on free
platforms wrong?

the arguments, both pro and con, are ultimately the same.  to say one
way is wrong but the other is ok is hypocritical.

 Shouldn't people caged on non-free
 platforms know about the power of free software?? When there is no one
 to explain to them what free software is, does'nt this porting get
 atleast a percent of them interested in a successful and superior free
 software product(like firefox)?

pose that question to a non-nerd, and they will laugh at the idea that
using non-free software cages them.  they probably also use firefox but
could care less about the license or the source code, and if you try
to explain, they will just look blankly and say, ok, but I really don't
care as long as I can surf the `net.  oh, and they only care about free
as in they didn't pay anything.

 Thank you for taking the time to read this.
 

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Doubt about license

2008-05-03 Thread bofh
On Sat, May 3, 2008 at 7:22 PM, bofh [EMAIL PROTECTED] wrote:


 But today, my linux boxes at work can authenticate using kerberos.  This
 is a big win for me.


That is - authenticate to AD using kerberos.  Sorry for any confusion.


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity. --
Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted. -- Gene Spafford
learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: Doubt about license

2008-05-03 Thread bofh
On Sat, May 3, 2008 at 7:10 PM, Jacob Meuser [EMAIL PROTECTED]
wrote:

 On Sun, May 04, 2008 at 03:38:13AM +0530, debian developer wrote:
  I have a few questions(no, not which license is better.:):


It all depends on what you want to do.  At the very basic level, the GPL
gives freedom to the end users.  The BSD license gives freedom to the
developers.


  If what i hear is correct, there are companies(Microsoft) which
  take BSD code (network stack i hear) and made it proprietary by not
  giving back anything. What i don't understand is are we not



 just because a company takes BSD code and makes a proprietary product out
 of it, does not mean the original code is any less free.


Not only that.  The GPL does not stop all proprietary forks either.  In the
past, gcc was forked internally by some big shops.  Since they did not
redistribute the code outside of the company, there was no need to share the
code back up stream.  GPL could do nothing to stop that.  However, after a
while, the pain of maintaining that fork was so big that the forking
developers rebelled and refuse to continue do fork.  So, the changes rolled
back upstream.

Would that have happened with a BSD license?  Yes.  So, in the end, does it
matter?  Not really.

Now, take a look at something like kerberos.  Microsoft took it, and applied
some proprietary extensions.  They forked it, and tried to keep it
internal.  The kerberos standard people said - either document the changes,
or we'll define the extensions and then you'll be out of compliance - so
Microsoft caved.  But they would not have even went with Kerberos if it was
GPLed.  But today, my linux boxes at work can authenticate using kerberos.
This is a big win for me.


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity. --
Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted. -- Gene Spafford
learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: source/destination nat pf, user space filtering pf

2008-05-03 Thread [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

Hello,

I have got the following situation:
- wan nic: 192.168.0.2/24 - router 192.168.0.1
- vpn nic: 192.168.1.2/24 - router 192.168.1.1
- lan nic: 192.168.2.1/24 - client 192.168.2.99

The default route goes to 192.168.0.1. What I want is to leave the 
default route and nat the traffic just from the lan through the vpn. 
It's seams that nat is done after routing. If I change the default route 
to 192.168.1.1 everything works. But I don't want to change the default 
route and I don't want tell the lan clients anything about the vpn 
network and I don't want tell the vpn router anything about the lan 
network. Is there any solution to do this just with nat alone?


a pass rule with route-to ($vpn_if _192.168.1.1_) helped.

Another question: Are there any plans to include some user space 
filtering like http://www.openbeer.it/?open=pq?


still open



Re: Doubt about license

2008-05-03 Thread raven

Jacob Meuser ha scritto:

On Sun, May 04, 2008 at 03:38:13AM +0530, debian developer wrote:
  

Hello,



[snip]

the question is, how is porting free software to non-free platforms
ok, but providing easier ways to install non-free software on free
platforms wrong?

  
With 2 doubleclick you can install Maple, Matlab or Mathematica in 
Linux... And, someone say (RMS) that in OpenBSD ports there are non-free 
software... But, as far i know, in /usr/ports not exist code but just 
Makefiles, so, in OpenBSD ports all it's free.

Mr X have to talk with his homies...
Another thing, it's...that if someone talk with me about freedom and 
apply the rule: Do what i say but not what i do.(Italian Proverb) he 
cant expect that all people can trust him...because it's an annoing 
parrot...


my 2 cent in a bottle ;)


the arguments, both pro and con, are ultimately the same.  to say one
way is wrong but the other is ok is hypocritical.

  

I Agree.

Shouldn't people caged on non-free
platforms know about the power of free software?? When there is no one
to explain to them what free software is, does'nt this porting get
atleast a percent of them interested in a successful and superior free
software product(like firefox)?



pose that question to a non-nerd, and they will laugh at the idea that
using non-free software cages them.  they probably also use firefox but
could care less about the license or the source code, and if you try
to explain, they will just look blankly and say, ok, but I really don't
care as long as I can surf the `net.  oh, and they only care about free
as in they didn't pay anything.

  
I think that if you say to all peoples, that thing, no one care. But 
exist people like me and like you that can make a choice... and know why...

Thank you for taking the time to read this.


Send a beer as attachment next time you want to ask that things, i end 
my third Leffe and i'm mad!!




Re: Is NV supposed to be SLOW?

2008-05-03 Thread Marco Peereboom
Just a few days ago I answered this question.  Simply look for it.

On Sat, May 03, 2008 at 05:47:57PM -0300, Nenhum_de_Nos wrote:
 On Sat, May 3, 2008 at 4:18 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
  Yes.  NVIDIA refuses to make a useful open source driver.  It is barely
   functional and it generally sucks really really bad.  Stay away from
   NVIDIA when doing open source.
 
 by any means this is criticism, just for information only.
 
 so, for open source should I look for what in graphics subject ?
 I had bad time using ATi some time ago so I bought nVidia. but there
 is no luck in running 64bits FreeBSD on it :(
 
 if you have any info on this please :)
 
 thanks,
 
 matheus
 
 
 -- 
 We will call you cygnus,
 The God of balance you shall be



Re: Doubt about license

2008-05-03 Thread Jussi Peltola
Hi,

On Sun, May 04, 2008 at 03:38:13AM +0530, debian developer wrote:
 1. BSD license is completely free. No one needs to give back changes
 forcibly(the GPL way), hence this is completely free.
 If what i hear is correct, there are companies(Microsoft) which
 take BSD code (network stack i hear) and made it proprietary by not
 giving back anything. What i don't understand is are we not loosing
 anything in this case?? I can understand that there are many more
 companies which have used the code(Apple) and given back but there are
 also opposite ends...

I'd certainly not want to live in a world where SSH and the BSD network
stack would be reimplemented by proprietary software vendors again and
again.

BSD developers give away their code for (almost) nothing. GPL developers
demand all kinds of things in return for theirs. Nobody loses anything
when a company uses BSD code in a proprietary program. The original BSD
code does not magically become proprietary when it is used in a
proprietary product, it is just as free as it was before.

 2. I know many of you consider RMS a backstabber on the goals of
 freedom. What i don't understand is what is wrong in porting free
 software to non-free platforms? Shouldn't people caged on non-free
 platforms know about the power of free software?? When there is no one
 to explain to them what free software is, does'nt this porting get
 atleast a percent of them interested in a successful and superior free
 software product(like firefox)?

There is nothing wrong except that RMS himself mumbles about non-free
software being unethical while helping others use non-free software with
those ports being offered by the FSF.

Also, none of the firefox using lusers I know have any idea about it
being free, except free as in beer, and they probably couldn't care
less even if they did. They will use whatever software that gets their
job done. The argument of introducing people to free software is
rather weak, and the arguments against it, like the win32 port of gcc,
have been discussed on this list before.

-- 
Jussi Peltola



Re: whither pow() ?

2008-05-03 Thread Woodchuck
On Sat, 3 May 2008, Ben Calvert wrote:

 On May 3, 2008, at 12:56 AM, Richard Toohey wrote:
 
  On 3/05/2008, at 6:21 PM, Richard Toohey wrote:
   
  $ cc -lm test_pow.c
  $
  
 ok, this fixes it.  i'll attempt to understand it when more awake.  Thanks!

It has been this way since dinosaurs roamed the earth.  Understanding
why libm and libc are separate might involve the Vax, some of which
had no floating point coprocessor.  One might have more than one
math library on a system for other reasons.  (Remember the Weitek
coprocessors for i386 about 15 years ago?)

Dave
-- 
   The future isn't what it used to be.
 -- G'kar



Re: Editing C with...

2008-05-03 Thread Owain Ainsworth
On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote:
 Yes, I know, it's completely a dumb question; but I'm curious about it.

 I'm just learning C applied in networking area and I wonder what editor is
 preferred by OpenBSD developers.

 At present moment I use vim.


/usr/bin/vi.

--
I gave up Smoking, Drinking and Sex.  It was the most
*__horrifying* 20
minutes of my life!



Re: Editing C with...

2008-05-03 Thread Douglas A. Tutty
On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote:
 Real men use ed.
 

No, real men get it right the first time and don't need to edit, they
just use echo or something.  

:)

Doug.



Re: Editing C with...

2008-05-03 Thread Douglas A. Tutty
On Sat, May 03, 2008 at 03:48:36PM -0600, Alvaro Mantilla Gimenez wrote:
 Real men use.whatever editor is comfortable for them.
 
 Vi, vim, emacs, xwpe, anjuta, kdevelop, joe, ed, etcused by a stupid
 guy does not produce quality code at all.
 
 So...try all and choose the most comfortable editor for you.
 
 Cheers,
 
  Alvaro

Don't forget mcedit.

Doug.



Re: Editing C with...

2008-05-03 Thread bofh
On Sat, May 3, 2008 at 9:18 PM, Douglas A. Tutty [EMAIL PROTECTED]
wrote:

 On Sat, May 03, 2008 at 02:15:19PM -0400, bofh wrote:
  Real men use ed.

 No, real men get it right the first time and don't need to edit, they
 just use echo or something.


Hush now, or I'll make you use teco!  :)


-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity. --
Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted. -- Gene Spafford
learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related



Re: the snapshots way

2008-05-03 Thread Nick Holland
Mihai Popescu B.S. wrote:
 Hello,
 
 Since the applications packages are not updated anymore for -release / 
 -stable I decided to follow the snapshots. I know that this way is for 
 experienced users and I'm not as good as a developer but I need to stay 
 with this. The FAQ is not so rich in answers for this section. The other 
 option is to follow -current, but as I see one must sync the source from 
 a CVS server and then recompile periodically. I want to let this step 
 for later to follow.

snapshots IS following current, with a lot less pain.
Current is a moving target.  In the time it takes to read this note, the
definition of what -current is may have changed a few times.  It certainly
did in the time it took me to write it.  So, the current you build will
be different than the snapshot you download, but they were both at one
point -current, and neither is anymore.

Granted, snapshots often contain uncommitted diffs, but if anything, that
can make them slightly more than current.

 
 For all those who follow somehow the snapshots, I want to ask a few 
 questions I stumbled upon:
 
 1. Sometimes, the files present on the snapshots/i386 don't have all the 
 same date/time, usually the kernel files differs from X files - is it 
 fine to mix different compile files ? Does it mean that X files are not 
 affected by kernel  other stuff new modifications ?

it means they are built separately from one another.
You should have a (more-or-less) matching X and base, but you use as
close as you can get.

There might be (pulling numbers out of thin air) five times in a
release cycle when something might change in base that would cause an old
X to not run with a newly installed new base.  If your X snaps are just a
few days older than base, odds are they are on the same side of a break
point.  If they are two months apart, odds are they are on the wrong sides
of a break point.  However, stuff happens...and if something in base needs
a new X build, there will be a day or more of incompatibility.  However,
those are usually dealt with quickly, at least on platforms that can
have the word quickly attached to them.

 2. Saying that I have some snapshot installed and a new package or an 
 update for the package is added on ftp - is it safe to install it on the 
 existing snapshot (assuming that the ftp snapshot was already renewed ) ?

safe to attempt...yes.
Bet your life on it?  No.
Likely to work?  No.

When you wish to install a new package, start with a new snapshot install,
then upgrade your existing packages then install your new package.  You
can try to avoid the start with a new snapshot step, but be aware you
may end up doing it.  The package tools are wonderfully smart about not
breaking your system, so the worst that is likely to happen is a message
indicating this package requires a different library than you have
available.

 3. I'm trying to establish a rule on how often I need to reinstall the 
 new snapshot, can you give some advices ?

Every six months?  We recommend that as a minimum upgrade schedule
anyway...so that's a good starting point.

As needed?  Every time you add/update a new package, you will probably
have to start with a new upgrade, and that's not all bad.

Hint: sysmerge.  (-release/-stable followers: don't bother looking,
it's only in -current.)

All the developers and porters follow -current, along with a fair number
of users.  It's not that hard to do, really.  Most of the hysteria and
fear you hear about -current is based on other systems which tend to
work on a I break it now, hopefully someone else will fix it eventually
model.  That's not how OpenBSD is developed.  People who break things are
beaten, and then the remains are expected to fix it immediately.

Nick.



Re: Editing C with...

2008-05-03 Thread Stephan Andre'
On Saturday 03 May 2008 21:20:29 Douglas A. Tutty wrote:
 On Sat, May 03, 2008 at 03:48:36PM -0600, Alvaro Mantilla Gimenez wrote:
  Real men use.whatever editor is comfortable for them.
 
  Vi, vim, emacs, xwpe, anjuta, kdevelop, joe, ed, etcused by a stupid
  guy does not produce quality code at all.
 
  So...try all and choose the most comfortable editor for you.
 
  Cheers,
 
   Alvaro

 Don't forget mcedit.

 Doug.

Nah, teco.

Or, SOS

--STeve Andre' (ducks)



Re: Editing C with...

2008-05-03 Thread Nick Holland
Owain Ainsworth wrote:
 On Sat, May 03, 2008 at 07:56:33PM +0200, Jordi Espasa Clofent wrote:
 Yes, I know, it's completely a dumb question; but I'm curious about it.

 I'm just learning C applied in networking area and I wonder what editor is
 preferred by OpenBSD developers.

 At present moment I use vim.
 
 
 /usr/bin/vi.

I, too, go for base system tools.  I'm not going to tell any OpenBSD
developer (or other skilled programmer) they are right or wrong for
using their favorite tool, but I WOULD tell any new user: learn the
base system tools first.  Most modern OSs (with the exception of
Windows, assuming you wish to lump it in with that category) include
a usable editor.  Fancy shit like vim can be tried AFTER you
know how to use the standards, and know what you want to work
better for you.

And yes, I follow that advice, I can (or could) work my way around
in the base editors of a bunch of systems.  About the only one that
I finally decided was hopeless and unusable was CP/M's ed (I actually
devoted a day of my life, long after I had learned line editors from
a 1970s vintage HP mini and a Sperry Univac and many others, including
edlin), to learning ed well enough to enter a small program into my
computer with it.  The experience was...strange.  Psychedelic drugs may
have helped.  It was kinda like using a screen editor..without the
screen (or a line editor on a half-duplex machine with your terminal
set to full duplex).  Short version: what was on the screen had almost
nothing to do with what was in the file.  The whole time, I kept
feeling like I was missing something, and I think it was the drugs.
The well, you have to make compromises on an editor designed to run
in a system with potentially as little as 16k RAM argument is pure
bull in this case, I have worked with several usable CP/M editors,
and ed that wasn't one of them).

In case you are wondering: all the HTML editing I do, I do in
OpenBSD's stock 'vi' (with a few macros for common HTML tags in a
.exrc file).  I've on several occasions had people point out errors
I've made and say, If you used vim, you would have seen that error.
Well, my impression of vim is it's annoyingly distracting.  If I want
strange and distracting color on a screen, I'll watch kids cartoons.
It also violates several rules of mine for system editor operation,
including it alters files in unexpected ways, which I consider a
major sin.  Yes, I know, you can turn off all that crap, but if I'm
trying to configure or administer a system, my first goal is not to
spend an hour moving in...make the changes needed, and move on,
and NOT fix the editor.

Nick.



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Nenhum_de_Nos
On Sat, May 3, 2008 at 8:35 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
 Just a few days ago I answered this question.  Simply look for it.

 if you could tell me the email subject. I've looked for every mail
from [EMAIL PROTECTED] in the misc (from gmail's search options) and
found none nvidia reletad (apart from this). may be me being
unfortunate.

no luck also from
http://www.google.com/custom?q=nvidiahl=enclient=pub-1916336824448304cof=FORID:1%3BGL:1%3BLBGC:336699%3BLC:%23ff%3BVLC:%23663399%3BGFNT:%23ff%3BGIMP:%23ff%3BDIV:%23336699%3Bdomains=openbsd.monkey.orgsitesearch=openbsd.monkey.orgoe=ISO-8859-1start=10sa=N

:(

if you for any reason (regardless) can't say, no problem.

thanks anyway,

matheus

  On Sat, May 03, 2008 at 05:47:57PM -0300, Nenhum_de_Nos wrote:
   On Sat, May 3, 2008 at 4:18 PM, Marco Peereboom [EMAIL PROTECTED] wrote:
Yes.  NVIDIA refuses to make a useful open source driver.  It is barely
 functional and it generally sucks really really bad.  Stay away from
 NVIDIA when doing open source.
  
   by any means this is criticism, just for information only.
  
   so, for open source should I look for what in graphics subject ?
   I had bad time using ATi some time ago so I bought nVidia. but there
   is no luck in running 64bits FreeBSD on it :(
  
   if you have any info on this please :)
  
   thanks,
  
   matheus
  
  
   --
   We will call you cygnus,
   The God of balance you shall be
  




-- 
We will call you cygnus,
The God of balance you shall be



Re: Upgrade 4.1-4.2-4.3

2008-05-03 Thread Damon McMahon

Oops I sent this to Nick and not the list...

On 28/04/2008, at 1:39 AM, Nick Holland wrote:


Damon McMahon wrote:

Greetings,

Can anyone enlighten me as to why DHCP clients are no longer
retrieving their domain name from my OpenBSD DHCP/DNS server which I
recently upgraded from 4.1 to 4.3 via 4.2? DHCP and DNS seems to
functioning normally otherwise...

Any advice appreciated (as always),
Damon


it is your DHCP /SERVER/ machine which was upgraded, not the clients
(I say this because I started out the note thinking it was a client
that was upgraded and no longer fetching from the DHCP server)

Show us what is happening, what you expected to happen, why you  
expected

etc., rather than diagnosing the problem for us. :)


yeah sorry about the lazy posting, just thought it might be a known  
issue with the upgrade scripts. It was my server that was upgraded.  
Here's the info...




Contents of dhcpd.conf would be interesting,


% cat /etc/rc.local | grep dhcpd
if [ -r /etc/dhcpd.ral0.conf ]  [ X${dhcpd_flags} != XNO ]; then
echo -n ' dhcpd:ral0 '
touch /var/db/dhcpd.ral0.leases
/usr/sbin/dhcpd -c /etc/dhcpd.ral0.conf -l /var/db/ 
dhcpd.ral0.leases ral0


% cat /etc/dhcpd.ral0.conf
shared-network THE_OFFICE {
use-host-decl-names on;
option  domain-name office;
option  domain-name-servers 192.168.1.1;
option  ntp-servers 192.168.1.1;
option  smtp-server 192.168.1.1;
default-lease-time 86400;
max-lease-time 259200;
#
# this is an IPsec protected wifi network so each host is in its own / 
30 subnet

#
subnet 192.168.1.0 netmask 255.255.255.252 {
option routers 192.168.1.1;
option broadcast-address 192.168.1.3;
host kang {
hardware ethernet 00:30:65:1a:43:7d;
fixed-address kang.office; # resolves to  
192.168.1.2 - see below

}
}
# other DHCP clients in their own /30 subnets are declared here
# they are experiencing the same issue
}

% nslookup
 kang
Server: 127.0.0.1
Address:127.0.0.1#53

Name:   kang.office
Address: 192.168.1.2


as well as any message
in /var/log/daemon regarding dhcpd.


All looks normal...

Apr 27 19:24:21 wiggum dhcpd: DHCPDISCOVER from 00:30:65:1a:43:7d via  
ral0
Apr 27 19:24:21 wiggum dhcpd: DHCPOFFER on 192.168.1.2 to 00:30:65:1a: 
43:7d via ral0
Apr 27 19:24:22 wiggum dhcpd: DHCPREQUEST for 192.168.1.2 from  
00:30:65:1a:43:7d via ral0
Apr 27 19:24:22 wiggum dhcpd: DHCPACK on 192.168.1.2 to 00:30:65:1a: 
43:7d via ral0




More details on what you did for the upgrade might also be  
interesting,

as a fair number of people (including me) have upgraded their DHCP
servers from 4.1 (and before) to 4.2 to 4.3 without reporting this
problem, so my guess at this point is either something strange was  
done

during the upgrade process or the problem is not directly related to
the upgrade.


Used /faq/upgrade42.html including upgrade42.patch but avoided  
upgrading packages due to the libexpat issue, then used /faq/ 
upgrade43.html - pretty much to the letter, ran into some minor  
issues with upgrade43.patch mangling my customised named.conf but I  
think this is all resolved as forward and reverse name resolution is  
now functioning normally:


% nslookup
 set type=any
 office
Server: 127.0.0.1
Address:127.0.0.1#53

office
origin = wiggum.office
mail addr = hostmaster.the.office
serial = 2008042502
refresh = 3600
retry = 900
expire = 1209600
minimum = 43200
office  nameserver = wiggum.office.
office  mail exchanger = 10 wiggum.office.
 192.168.1.2
Server: 127.0.0.1
Address:127.0.0.1#53

2.1.168.192.in-addr.arpaname = kang.office.

Does



There isn't much to dhcpd: dhcpd.conf and /usr/sbin/dhcpd are about  
it.

Some other files launch it, but if it is running, it will be mostly
those two files.  dhcpd was replaced in the upgrade process,  
dhcpd.conf

/should/ be untouched.  Looking at the dates on those files will tell
a few things, I suspect.


% ls -l /etc/dhcpd.ral0.conf
-rw-r--r--  1 root  wheel  3678 Feb  2 01:24 /etc/dhcpd.ral0.conf

% ls -l /usr/sbin/dhcpd
-r-xr-xr-x  1 root  bin  85220 Mar 13 03:11 /usr/sbin/dhcpd



Nick.



One other point to note (not sure if relevant). As dhcpd is serving a  
wireless IPsec network I use 2 instances of named(8) - a crippled  
version which accepts redirected queries on ral0 via a pf(4) rdr  
rule, which works in conjunction with a specially configured instance  
of httpd(8) to tell users how to authenticate using IPsec; and a full  
version of named(8) which only accepts queries on the enc0 interface.  
If my pf.conf is required to clarify please let me know.


Any advice will be appreciated.

Cheers,
Damon



Re: Is NV supposed to be SLOW?

2008-05-03 Thread Sunnz
2008/5/4 Marco Peereboom [EMAIL PROTECTED]:
 Yes.  NVIDIA refuses to make a useful open source driver.  It is barely
  functional and it generally sucks really really bad.  Stay away from
  NVIDIA when doing open source.

Yes I know about this binary blob. Even FreeBSD users are forced to
use i386 on an AMD64 system just to use their damn blob.

Actually I used to run Linux on this computer so I can play with the
3D Compiz and stuff... but I just decided to switch to OpenBSD anyway,
because I think in the long term, running a blob free system is the
way to go.

But economically-wise, I would like to keep as many current hardware
as possible... because I thought the NV driver would at least have
good 2D support for getting through working with a simple desktop
environment, such as Xfce4.

In the end I guess it just boils down to the question that many people
have asked before... are there any down-to-Earth, non-fancy graphics
card you can get these days that works well with OSS, when you just
want a speedy desktop and don't particularly care about the 3D Compiz
stuff... is ATi really the way to go, if you just want a straight
forward desktop? Have ATi (or anyone) really got their docs going
without NDA, and are there actually exists drivers for them in the
latest release of OpenBSD. (4.3-release)

I mean, while I do want to keep as much hardware as possible, I can
still afford to buy one or two components, if they are actually truly
supporting OSS, it is a form of voting with my wallet I guess.