Re: Kernel interrupt timer?

2007-05-30 Thread Federico Giannici

Geoff Steckel wrote:
I worked on a commercial product based on altq on which a 1KHz clock was 
very useful. This used slow (400MHz) Pentium-class CPUs, and the 
increase in system overhead over a 100Hz clock was approximately 2%. 
Without the fast clock, accurately and consistently managing bandwidth 
down to 1% slices was difficult.


We too have problems to obtain an accurate bandwidth management with 
many queues (hfsc) with low bandwidth percentages (sometimes a queue 
gets almost all bandwidth and other queues starve...)


Do you think that increasing clock could help?

The CPU is an Athlon 1.2 GHz, but CPU usage is quite low (85% idle time 
on average). Do you think a faster CPU could help?



Thanks.

--
___
__
   |-  [EMAIL PROTECTED]
   |ederico Giannici  http://www.neomedia.it
___



Re: IBM ServeRAID 4Lx

2007-05-30 Thread Martin Reindl
Dominik Zalewski [EMAIL PROTECTED] wrote:

 Dear All,
 
 I'm going to install OpenBSD 4.1 on IBM xSeries 206. It has raid controller 
 IBM ServerRAID 4Lx. I see that ips driver is supported 
 http://www.openbsd.org/cgi-bin/man.cgi?query=ipsapropos=0sektion=4manpath=OpenBSD+4.1arch=i386format=html
  
 
 Anyways, does anybody had problems with it? What about bioctl?
 

No bioctl for ips. But just give it a try.



Re: PFSYNC

2007-05-30 Thread Alberich de megres
I know it, but i don't know how make it work to sync tabled with another
machine.

from: http://www.openbsd.org/4.1_packages/m68k/tabled-1.0.4p0.tgz-long.html

daemon to modify pf tables from an unprivileged process in userland,
useful e.g. when you want to add hostnames to a pf table from a chrooted
process, e.g. from a webserver.


Don't say nothing about network and man page only talk about to use a fifo.

Thanks




On 5/27/07, Mathieu Sauve-Frankel [EMAIL PROTECTED] wrote:

 On Sat, May 26, 2007 at 07:55:26AM +, Ryan McBride wrote:
  On Sat, May 26, 2007 at 09:36:48AM +0200, Alberich de megres wrote:
   I know i repeat myself, but that's important for me: my pf isn't
 syncing
   tables i create. Can I solve this?
 
  Write a tool that synchronises your tables.

 You don't need to write this tool. It already exists in the ports tree.
 sysutils/tabled. Thank mbalmer@ for that.

 --
 Mathieu Sauve-Frankel



Re: Problem using flashboot (openBSD based), can't get it to boot

2007-05-30 Thread Boudewijn Ector

Boudewijn Ector wrote:

The ; at the end here means that the WRAP BIOS said it could not do
LBA reads, so biosboot fell back to CHS reads.

 

No O/S



And since you installed on a different machine, the geometry was
almost certainly different, so the operating system wouldnt be at
the same place (cylinder/head/sector), hence it's not found.

No idea how you can fix it, though.

Tom
  


Thanks anyway, it's a clue at least.
Maybe some of the gurus here know it?

Okay, I assume I need to set LBA in bios, and change the CHS settings of 
the microdrive.

This can be done using fdisk , but how to determine the correct values?

At second, someone attended me on the fact that I'm creating the image 
using a USB-based cardreader(thus scsi like) and running it as an IDE 
device (at Linux , hda) on my board.

different kind of bootsection? Can someone confirm this?



Re: Problem using flashboot (openBSD based), can't get it to boot

2007-05-30 Thread Dave

Boudewijn Ector wrote:

Boudewijn Ector wrote:

The ; at the end here means that the WRAP BIOS said it could not do
LBA reads, so biosboot fell back to CHS reads.

 

No O/S



And since you installed on a different machine, the geometry was
almost certainly different, so the operating system wouldnt be at
the same place (cylinder/head/sector), hence it's not found.

No idea how you can fix it, though.

Tom
  


Thanks anyway, it's a clue at least.
Maybe some of the gurus here know it?

Okay, I assume I need to set LBA in bios, and change the CHS settings of 
the microdrive.

This can be done using fdisk , but how to determine the correct values?

At second, someone attended me on the fact that I'm creating the image 
using a USB-based cardreader(thus scsi like) and running it as an IDE 
device (at Linux , hda) on my board.

different kind of bootsection? Can someone confirm this?


google for WRAP, flashboot, and PXE.

the 'easiest' way to install is to use the WRAP's own bios  a bsd.rd to 
get enough stuff up  running to download the .gz image over FTP  write 
directly onto the card.


i've done this on a soekris easily, wrap should be similar.

i'll look for some link-rotted urls later  if i can find them, email 
offlist


a+
scorch



obsd 4.1 plsu squid

2007-05-30 Thread sonjaya

Dear all

I will developt new  server for my proxy server ,  i will try using
squid with transparent with snmp .
But i want know does squid-transparent-snmp support for delay_pools
anda mac address acl ?

Thx a lot


sonjaya
http://sicute.blogspot.com



Re: Problem using flashboot (openBSD based), can't get it to boot

2007-05-30 Thread openbsd misc
Hello,

 Boudewijn Ector wrote:
 Boudewijn Ector wrote:
 The ; at the end here means that the WRAP BIOS said it could not
do
 LBA reads, so biosboot fell back to CHS reads.


 No O/S


 And since you installed on a different machine, the geometry was
 almost certainly different, so the operating system wouldnt be at
 the same place (cylinder/head/sector), hence it's not found.

 No idea how you can fix it, though.

 Tom


 Thanks anyway, it's a clue at least.
 Maybe some of the gurus here know it?

 Okay, I assume I need to set LBA in bios, and change the CHS settings
of
 the microdrive.
 This can be done using fdisk , but how to determine the correct
values?

 At second, someone attended me on the fact that I'm creating the
image
 using a USB-based cardreader(thus scsi like) and running it as an IDE

 device (at Linux , hda) on my board.
 different kind of bootsection? Can someone confirm this?

 google for WRAP, flashboot, and PXE.

 the 'easiest' way to install is to use the WRAP's own bios  a bsd.rd
to
 get enough stuff up  running to download the .gz image over FTP 
write
 directly onto the card.

 i've done this on a soekris easily, wrap should be similar.

 i'll look for some link-rotted urls later  if i can find them, email
 offlist

 a+
 scorch

it's not easy because of a bios bug. You first have to update the bios.
I wrote a small howto in a forum thread:

http://www.bsdforen.de/archive/index.php/t-15259.html

It's german, let me know if you need an english translation.

For the geometry question: You missed my replay I wrote yesterday?

Regards
  Hagen Volpers



LinuxTag 30 May to 2 June

2007-05-30 Thread Wim Vandeputte
hey,

general call for visitors and boot slaves to come by and meet us in the
Berlin Messe, if you need a free ticket, let me know.

Wim.

-- 
   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=   
https://kd85.com/notforsale.html
 --



Re: Could non-used, but non-upgraded X install freeze a system?

2007-05-30 Thread Bill
On Tue, 29 May 2007 21:01:21 -0600
Matthieu Herrb [EMAIL PROTECTED] spake:

 On 5/29/07, Bill [EMAIL PROTECTED] wrote:
  Hey anyone,
 
  We've been having this issue with our router freezing up.  Completely
  dead.  No panic, no error, just phooey.
 
  Anyway, memory and disk tests did not show anything so we are going to
  replace the hardware.
 
  But in prepping for this I noticed that the original installation had X
  installed.  Now I was unaware of this, and in subsequent upgrades did
  not install newer X packages.
 
  That being said, the problems started after I upgraded from 3.8 - 3.9
  - 4.0 (In one sitting).
 
  I don't use X on there and even have the aperture disabled in sysconf.
  Is there any way this could cause my system to completely freeze?
 
 No. Definatly not.
 
 
  What is the best way to try to re-mediate from this?  A full
   clean install?
 
  It's currently at 4.1 + patches.  (X is still at 3.8 I imagine).
 
  Errors I could understand, but I don't see think it would lock a system
  up... but I am not that good, so I am asking here, before yanking the
  hardware out.
 
 I've no idea. You don't provide enough details. Does the box still
 answer pings?
 does the caps -lock led still toggle ? post a dmesg ?
 

Sorry for the lack of info.  I posted it all before and did not get
very far.  This was just to check out the X factor so to speak.

The box is dead - no caps lock, nothing.  The most is that the nic
cards I believe still blink some.  Other than that its power down
completely.  

Thanks



Instant Messenger client

2007-05-30 Thread stuart van Zee
Does anyone know of a good, easy-to-use client
for Yahoo instant messenger in the ports tree.
I do an internet radio show (definitely not 
OpenBSD topical) and I need one that an intern
can use on my spare laptop to interface with
listeners etc.  The laptop will be running 
OpenBSD 4.1 w/X and he will also be using 
firefox to check Yahoo email.

please note, our intern is STUPID so he needs
something fairly easy to use.  

Stuart van Zee
[EMAIL PROTECTED]
Ya can't fix stupid



Re: Kernel interrupt timer?

2007-05-30 Thread Geoff Steckel

Federico Giannici wrote:

Geoff Steckel wrote:
I worked on a commercial product based on altq on which a 1KHz clock 
was very useful. This used slow (400MHz) Pentium-class CPUs, and the 
increase in system overhead over a 100Hz clock was approximately 2%. 
Without the fast clock, accurately and consistently managing 
bandwidth down to 1% slices was difficult.


We too have problems to obtain an accurate bandwidth management with 
many queues (hfsc) with low bandwidth percentages (sometimes a queue 
gets almost all bandwidth and other queues starve...)


Do you think that increasing clock could help?

The CPU is an Athlon 1.2 GHz, but CPU usage is quite low (85% idle 
time on average). Do you think a faster CPU could help?



Thanks.

Maybe. It depends on your link speed, packet sizes, and queue parameters.

Getting good bandwidth management at low rates has problems if the time 
it takes to transmit a MSS packet (say 1500 bytes) is large relative to 
the time quota. On a T1 (1.5 megabit) link, a 1500 byte packet takes 
approximately 80 milliseconds to transmit. Depending on how the queue 
parameters are set, a 1% quota HFSC queue could get a lot more or a lot 
less. In this case, increasing the clock resolution won't help. On a 
100Mbit link or higher, a fast clock is essential to get good queue 
discipline because there's no other way to reliably restart transmission 
on an idle link. Another factor which can upset queue discipline is the 
output buffer queue length, which if too long can make problems under 
some circumstances.


I haven't looked at altq or hfsc code in years, so YMMV.



Re: Instant Messenger client

2007-05-30 Thread michael enoma aghayere

On 30/05/07, stuart van Zee [EMAIL PROTECTED] wrote:

Does anyone know of a good, easy-to-use client
for Yahoo instant messenger in the ports tree.
I do an internet radio show (definitely not
OpenBSD topical) and I need one that an intern
can use on my spare laptop to interface with
listeners etc.  The laptop will be running
OpenBSD 4.1 w/X and he will also be using
firefox to check Yahoo email.

please note, our intern is STUPID so he needs
something fairly easy to use.

Gaim?
It's compatible with AIM, ICQ, MSN Messenger, Yahoo, IRC, Jabber,
Gadu-Gadu, Novell GroupWise, and Zephyr networks.
And simple enough to use.

--
~michael
www.bsdqed.com



Re: Instant Messenger client

2007-05-30 Thread stuart van Zee
Thank you to everyone that replied.
I knew someone here would have the 
perfect answer.  I overlooked gaim because it
has aim in the title and thought it would 
be an AOL client.  Needless to say, I do little
to no instant messaging myself or I would have
already had an instant messenger.

s



Re: Instant Messenger client

2007-05-30 Thread Jason Beaudoin

snip


Gaim?
It's compatible with AIM, ICQ, MSN Messenger, Yahoo, IRC, Jabber,
Gadu-Gadu, Novell GroupWise, and Zephyr networks.
And simple enough to use.




Note that as of gaim's 2.0 release, the project has been renamed to pidgin
I've been using it in linux for quite some time now with no problems,
but I am not sure how it runs on openbsd (though I'd expect no
issues).


~Jason



Re: Instant Messenger client

2007-05-30 Thread Diana Eichert
If you're running a recent post 4.1 install there is also net/pidgin, a 
port for it was added to the tree on May 28th.


diana



Re: obsd 4.1 plsu squid

2007-05-30 Thread sonjaya

here error :
# squid -k reconfigure
2007/05/31 01:39:34| parseConfigFile: line 3895 unrecognized: 'delay_pools 2'
2007/05/31 01:39:34| parseConfigFile: line 3896 unrecognized: 'delay_class 1 2'
2007/05/31 01:39:34| parseConfigFile: line 3897 unrecognized:
'delay_access 1 allow limited '
2007/05/31 01:39:34| parseConfigFile: line 3898 unrecognized:
'delay_access 2 allow fileblok'
2007/05/31 01:39:34| parseConfigFile: line 3899 unrecognized:
'delay_parameter 2 4000/4000  -1/-1 2000/4000'
#

that mean do not support delay_pools ?


On 5/30/07, sonjaya [EMAIL PROTECTED] wrote:

Dear all

I will developt new  server for my proxy server ,  i will try using
squid with transparent with snmp .
But i want know does squid-transparent-snmp support for delay_pools
anda mac address acl ?

Thx a lot


sonjaya
http://sicute.blogspot.com




--
sonjaya
http://sicute.blogspot.com



No i partition when connecting camera to USB

2007-05-30 Thread Martin Toft
When connecting a Nikon Coolpix L10 camera to my laptop via USB, no i
partition shows up:

  $ sudo disklabel sd0
  disklabel: warning, DOS partition table with no valid OpenBSD partition
  # /dev/rsd0c:
  type: SCSI
  disk: SCSI disk
  label: DSC COOLPIX L10 
  flags:
  bytes/sector: 512
  sectors/track: 63
  tracks/cylinder: 255
  sectors/cylinder: 16065
  cylinders: 250
  total sectors: 4019904
  rpm: 3600
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0   # microseconds
  track-to-track seek: 0  # microseconds
  drivedata: 0 

  16 partitions:
  # sizeoffset  fstype [fsize bsize  cpg]
c:   4019904 0  unused  0 0  # Cyl 0 -   
250*

Obviously I cannot mount /dev/sd0i:

  $ sudo mount -t msdos /dev/sd0i /mnt/flashmem
  mount_msdos: /dev/sd0i on /mnt: Device not configured

fdisk shows:

  $ sudo fdisk sd0
  Disk: sd0   geometry: 250/255/63 [4019904 Sectors]
  Offset: 0   Signature: 0xAA55
   Starting   Ending   LBA Info:
   #: idC   H  S -C   H  S [   start:  size   ]
  
   0: 060   3 55 -  250  95 37 [ 243: 4022029 ] DOS  32MB  
   1: 000   0  0 -0   0  0 [   0:   0 ] unused  
   2: 000   0  0 -0   0  0 [   0:   0 ] unused  
   3: 000   0  0 -0   0  0 [   0:   0 ] unused  

Is there anything I can do to get the i partition to show up? I have no
problems using the camera in FreeBSD 6.2 and Windows XP.

dmesg follows (camera connect lines are at the bottom). Please ask if
you need me to supply more info.

Best regards,
Martin


OpenBSD 4.1-current (GENERIC) #2: Mon May 28 21:36:52 CEST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel 686-class) 1.60 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 535785472 (510MB)
avail mem = 509038592 (485MB)
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 04/19/05, BIOS32 rev. 0 @ 0xfd750, SMBIOS 
rev. 2.33 @ 0xe0010 (61 entries)
bios0: IBM 2373NG9
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
apm0: flags 30102 dobusy 0 doidle 1
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
acpi at mainbus0 not configured
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1600 MHz (1484 mV): speeds: 1600, 1400, 1200, 1000, 
800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M9 Lf rev 0x02
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
uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub0: 6 ports with 6 removable, self powered
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:44:6c:4a
ral0 at pci2 dev 2 function 0 Ralink RT2561S rev 0x00: irq 11, address 
00:12:0e:61:81:1c
ral0: MAC/BBP RT2561C, RF RT5225
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: FUJITSU MHT2040AH
wd0: 16-sector PIO, LBA, 38154MB, 78140160 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, DVD-ROM GDR8083N, 0K04 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 

Re: No i partition when connecting camera to USB

2007-05-30 Thread Jason Beaudoin

On 5/30/07, Martin Toft [EMAIL PROTECTED] wrote:

When connecting a Nikon Coolpix L10 camera to my laptop via USB, no i
partition shows up:


snip

Check out the gphoto2 libraries, there are a couple qt/gtk based gui
frontends to extract the photos. Most of these cameras have
proprietary methods of accessing the memory card in an attempt to
convolute the process..so you often won't see the memory card as a sd*
device..like you should.

I also picked up a simple memory card reader from newegg, because
while I could extract photos through the gphoto method, mpeg movies
liked to crash the various apps I tried.

Good luck.


~Jason



Re: No i partition when connecting camera to USB

2007-05-30 Thread Martin Toft
On Wed, May 30, 2007 at 05:09:55PM +0200, Martin Toft wrote:
[snip]
 umass0 detached

Ups... my cutting in the dmesg has been revealed. The above line is a
leftover from connecting/disconnecting the camera several times. NB: It
didn't help.

 umass0 at uhub2 port 1 configuration 1 interface 0
 umass0: NIKON NIKON DSC COOLPIX L10, rev 2.00/0.00, addr 2
 umass0: using ATAPI over Bulk-Only
 scsibus1 at umass0: 2 targets
 sd0 at scsibus1 targ 1 lun 0: NIKON, DSC COOLPIX L10,  SCSI0 0/direct 
 removable
 sd0: 1962MB, 250 cyl, 255 head, 63 sec, 512 bytes/sec, 4019904 sec total

Best regards,
Martin



Re: PFSYNC

2007-05-30 Thread Joachim Schipper
On Tue, May 29, 2007 at 10:02:08PM +0200, Alberich de megres wrote:
 Maybe it's a silly question but don't know where to start with tabled :S
 
 I only got it installed. please..any help?


With the caveat that I've never actually used it...

It appears tabled.conf(5) documents an option to allow tabled to listen
on a TCP port; tablec(8) documents an option to send commands to that
socket. So if you can script tablec to fire at the right moment, this
should work. If you are, for instance, parsing SSH requests out of log
files, that need not be too difficult...

Joachim

-- 
TFMotD: mount_ados (8) - mount an AmigaDOS file system



Re: Upgrade question

2007-05-30 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On May 29 Joachim Schipper wrote:


On Mon, May 28, 2007 at 10:13:48PM -0500, Denny White wrote:


I've been running a snapshot from several months back  got my
new 4.1 cds finally. Uname shows OpenBSD 4.1 Generic#0. I want
to keep my existing /home  /data partitions, delete all the
rest, recreate them  finish the install. After I reboot, I was
hoping I could copy over the old users from the old /etc/group
into the new one, copy the old passwd over  run pwd_mkdb. Just
want to know if I've reasoned it out correctly or not, if it is
right if there's anything else I need to run to synchronize
things,  so on. I've tried looking up that kind of scenario with
google, in the mail archives  so forth  just don't seem to come
up with what I need. The point of what I'm trying to accomplish
is not to have to copy so much from the 2 aforementioned partitions
to another drive  then copy it all back after recreating users.
Thanks for any help.


Be careful: each release adds, and occasionally removes, new system
users. It's far safer to either update or reinstall, and you'll want to
look at www.openbsd.org/current.html for anything resembling an update.

Joachim


Thanks, Joachim. I was going to look in the new group after a fresh
install to see what had been added or removed. Always before I've
either done a complete fresh install or an upgrade, so I didn't have
to worry about the users in /home. I just recreated them on the new
system, if it was a fresh install, with their same uid's. Then I
copied everything from backups back over to the respective dirs.
I was just trying to get out of doing that this time. I figured
at the very worst my idea wouldn't work  I'd have to wipe it all
out  do it the old way. I thought if I added the old /home users
to the new /etc/group, copied the /home dirs over, ran pwd_mkdb 
properly chown the /home dirs, it might work. That's what I was
trying to find out. Now that I've thought more about it, probably
the easiest way is to just exclude /home  /data when I delete 
recreate the other partitions, recreate the users on the new install
with their same uid's,  run pwd_mkdb  their dirs will be okay.
Thanks for your answer  info. I think I've unnecessarily complicated
this. ;) Thoughts?

- --Denny White


===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===
iD8DBQFGXZ4hy0Ty5RZE55oRAipYAKC81rBtYu3mVmilYlAbPuDJLhurMQCfaC/h
CdAe5l6Kac/xffbl0rsQi/E=
=D5xG
-END PGP SIGNATURE-



Re: serial terminal

2007-05-30 Thread Woodchuck
On Tue, 29 May 2007, Maurice Janssen wrote:

 Hi,
 
 I'm trying to use a VT420 serial terminal on an i386 box running
 4.1-stable.  Not as a system console, just as an extra screen to login.
 The output of the boot loader and kernel output should go to the
 monitor, as usual.
 
 The terminal is hooked up to the first serial port with a null modem
 cable.  I changed the tty00 line of /etc/ttys to:
 tty00   /usr/libexec/getty std.9600   vt220   on  secure
 and sent -HUP to init.  There's a getty process on tty00, but there's
 no login: prompt on the terminal.  Everything I type on the terminal is
 echoed on the screen, so the cable is OK (local echo is off).

H.  Look into two things, no, make that three:

1) The settings on the terminal, whether XON/XOFF or RTS/CTS
synchronization is selected, also baud rate, parity, 8/7 bits.  Try
8 bits, No parity, 1 stop bit (8N1).

2) The settings on the tty, from # stty -a /dev/tty00 when
the getty is running.

3) There are null modem cables, and there are null modem
cables.  Some are just plain junk, providing only cross over of the
two data pins and if you're lucky, a ground.  Others implement
various ideas of what a null modem cable should be; the opinions
of what a null modem cable differed between Digital, who made your
terminal and IBM, who designed the PeeCee.

 The funny thing is, when I start 'tip tty00' on the machine (while
 logged in at the keyboard+monitor), the login: prompt appears on the
 terminal.

Yeah, this is weird.  You should be able to get the login: prompt
by at most hitting the carriage return on the 420 twice.  Try to
set up everything for XON/XOFF flow control.

 When I quit tip, I can login at the terminal.  When I logout from the
 terminal, the login: prompt doesn't appear (but everything I type is
 echoed to the terminal screen as before).  I can start tip again, and
 then the login: prompt shows up again.
 
 I suspected a problem with the permissions of the tty00 device.  After
 logout, they are set to
 crw---  1 root  wheel8,   0 May 29 21:44 tty00

This, by default, should be  uucp.dialer, permissions crw-rw---,
when at rest.  When a getty is running, it should be as shown here.

 When logged in it is set to
 crw---  1 maurice  tty8,   0 May 29 22:00 tty00
 Not sure if this is what it should be, but it doesn't look strange to
 me.
 
 BTW: not sure if it is related, but when I login as normal user, the
 following warning is shown on the terminal:
 ksh: No controlling tty (open /dev/tty: Device busy)
 ksh: warning: won't have full job control
 When I login as root, I don't get this warning.

Ick.  I have my suspicions, but won't voice them since they are
superstitious.  They involve a brief trip to single-user mode and
running  cd /dev; sh MAKEDEV all.

 Any ideas what's going wrong?

Yeah, you're using a serial terminal on a PeeCee. (sarcasm).

You are in a maze of twisty little passages, all alike. The
lamp grows dimmer. (Zork, a metaphor for debugging RS-232).

Install a terminal emulator on the box, like kermit or something
like minicom, from ports if the sometimes goofy behavior of tip/cu
annoys you (like killing its parent xterm when you give it ~.).
Hook up the terminal.  See what you can do.  Try things (settings).
Terminals are a PITA, as bad as serial printers.  See if the 420
has a VT-220 emulation mode, if so try it.  It's hard to debug them
over the phone (by email) like this, one needs to poke and try.
A RS232 line analyzer is real handy.  There used to be various
utilities for MS-DOS that would display line status of the com ports
on the screen, much like the blinkenlights on a modem.  Don't know
it they exist for Unix.  Could kermit have such a feature?  One has
to delve into the kernel to see these things, a forbidden zone in
Unix, unless some happy ioctl to pccom exists.

Helpful man pages: tty, tip, remote, cu, getty, gettytab, pccom

With the getty killed, try catting a large text file to 
/dev/tty00 (as root), look for garbage on the terminal, a sign
of flow control being wrong.  Try this with the terminal set
for smooth scrolling.

A debugging test:  use the same cable (if you can) and connect
the com ports of two OpenBSD boxes.  Start the getty on one, and
use tip/cu/minicom/kermit on the other.  Everything should work
fine.  If it doesn't, the cable sucks in some way.  If it doesn't
work, force XON/XOFF on both boxes.  How you do this for getty is
a good question, settings in gettytab is the answer. 

Dave I already have a headache, and it's not my problem!



Re: slurpr: do we have the technology?

2007-05-30 Thread Joachim Schipper
On Tue, May 29, 2007 at 12:16:05PM -0500, Jacob Yocom-Piatt wrote:
 Joachim Schipper wrote:
 The OpenBSD version comes with more, and more advanced, 'education'
 tools, too.
 
 Seriously though, just buy your own bandwidth.
 
   
 
 education is for pedigreed animals that run in circles at stadiums. i 
 eat dogs for breakfast!

'education', in this case, can refer to things like Nessus and
Metasploit (I do suppose that runs). In other words, 'integrated network
RAID capability'.

 i was sooo planning on hosting this new website from the cardboard box i 
 live in. you got something against people who live in cardboard boxes or 
 something?!

Not really; I've never lived in a house where you couldn't punch through
at least one (internal!) wall.

Joachim

-- 
TFMotD: oldrdist (1) - remote file distribution program



Snapshots src/sys tarballs

2007-05-30 Thread Jimmy Mitchener

Is there a reason snapshots do not currently come with a
src/sys.tar.gz as releases do? I would think this to be quite useful
for people wishing/requiring building their own kernels, and using
snapshots, as it would help to minimize damage from kernel/userland
(and packages) coming out of sync.

I'm sure there's a good reason for them not being included, but I'm
just curious as to what it is, I was unable to find anything in the
archives.

Jimmy.



OpenOSPFd and kernel routing table (new variant)

2007-05-30 Thread Christian Plattner

Hi,

I am testing OpenBGPD and OpenOSPFD on a couple of Soekris boxes.
Even though I am using the latest code (-stable with ospfd kroute.c
revision 1.48), I am having problems with the kernel routing table
when OSPFD has to react to changes in the topology. I verified the
problem on a virtual setup (a couple of OpenBSD machines on an ESX
server), same result.

The problem can be summarized as follows: When I take down an interface
on one machine manually (e.g., ifconfig em1 down), then the OpenOSPFD
on another machine has no problems to detect this, routes to subnets in
the same AS will be adapted. However, the kernel continues to route
packets to destinations outside of the AS still over the dead link.

Fix: When I restart ospfd, the kernel routing table is OK again.

Here is an example with 3 routers that I have put together using
ESX/VMWare:

/em1-(.1) --- 10.74.96.0/27  --- (.2)--em0\
   +--  (.22)-em0-[R1]   [R2]
   |\em2-(.33) -- 10.74.96.32/27 -- (.34)--em1/
10.0.0.0/24
   |
   +--- (.1)-em1-[R0]-em0 -- (62.2.0.0/16)

Router R0: AS65002 announces 62.2.0.0/16 to R1
Router R1: AS65001 announces 10.74.96.0/21 to R0
Router R2: AS65001 has an IBGP session with R1
Loopback (lo1) addresses: R1=10.74.97.1, R2=10.74.97.2

This setting works fine, I can ping from R2 to machines in 62.2.0.0/16.
Traffic between R1 and R2 flows over the upper link.

However, lets assume that one of the links between R1 and R2 fails.

[R1] # ifconfig em1 down (so eventually R2 will find out that I does
not receive any OSPF packets on em0 anymore).

It takes a while, but then ospfd on R2 has calculated the new topology:

[R2] # ospfctl show rib
Destination  Nexthop   Path TypeType  Cost
0.0.0.1  10.74.96.33   Intra-Area   Router11
10.74.96.0/2710.74.96.33   Intra-Area   Network   21
10.74.96.32/27   10.74.96.34   Intra-Area   Network   11
10.74.97.1/3210.74.96.33   Intra-Area   Network   21
10.0.0.0/24  10.74.96.33   Type 1 ext   Network   111
(uptime column deleted, to comply with the 72 char restriction
of the mailing list).

[R2] # ospfctl show fib
flags: * = valid, O = OSPF, C = Connected, S = Static
Flags  Destination  Nexthop
*O 10.0.0.0/24  10.74.96.33
*  10.74.96.0/2110.74.96.1
*C 10.74.96.0/27link#1
*C 10.74.96.32/27   link#2
*O 10.74.97.1/3210.74.96.33
*  10.74.97.2/3210.74.97.2
*  62.2.0.0/16  10.74.96.1
*S 127.0.0.0/8  127.0.0.1
*C 127.0.0.1/8  link#0
*  127.0.0.1/32 127.0.0.1
*S 224.0.0.0/4  127.0.0.1

This is not good, as the (via IBGP learned) route to 62.2.0.0/16 still
points to 10.74.96.1 (which is not directly reachable anymore).

Now let's kill and restart ospfd on R2, then check again:

# ospfctl show fib
flags: * = valid, O = OSPF, C = Connected, S = Static
Flags  Destination  Nexthop
*O 10.0.0.0/24  10.74.96.33
*  10.74.96.0/2110.74.96.33
*C 10.74.96.0/27link#1
*C 10.74.96.32/27   link#2
*O 10.74.97.1/3210.74.96.33
*  10.74.97.2/3210.74.97.2
*  62.2.0.0/16  10.74.96.33
*S 127.0.0.0/8  127.0.0.1
*C 127.0.0.1/8  link#0
*  127.0.0.1/32 127.0.0.1
*S 224.0.0.0/4  127.0.0.1

Voil`, now it looks OK =)

This is the ospfd.conf of R2:

password=gurke
router-id 0.0.0.2
redistribute connected
redistribute static

area 0.0.0.0 {

interface lo1

interface em0 {
metric 10
auth-type simple
auth-key $password
}
interface em1 {
metric 11
auth-type simple
auth-key $password
}
}

Any suggstions? Am I making a substantial error?

I did not want to make this posting too long, so if somebody is
interested in the detailed config files then I can make them
available.

Thanks,
- Christian



Re: Snapshots src/sys tarballs

2007-05-30 Thread Stuart Henderson
On 2007/05/30 09:51, Jimmy Mitchener wrote:
 Is there a reason snapshots do not currently come with a
 src/sys.tar.gz as releases do? I would think this to be quite useful
 for people wishing/requiring building their own kernels, and using
 snapshots, as it would help to minimize damage from kernel/userland
 (and packages) coming out of sync.

if you follow development code, you should really be able to work
without such hand holding (-: reading source-changes helps avoid
problems, cvs up -D [date] can help if you bump into something and
need older code.

anyway, snapshots aren't always quite the same as you get from
-current source.



Re: Snapshots src/sys tarballs

2007-05-30 Thread Jimmy Mitchener

anyway, snapshots aren't always quite the same as you get from
-current source.


That's my point really. I would think it to be advantageous to have a
snapshot of the code just as that snapshot was created (no pun
intended). But yes, you could avoid the pitfalls I described
previously by following source-changes. I was just curious as to why
it wasn't included as it is for releases.



Re: Snapshots src/sys tarballs

2007-05-30 Thread Jason George
Is there a reason snapshots do not currently come with a
src/sys.tar.gz as releases do? I would think this to be quite useful
for people wishing/requiring building their own kernels, and using
snapshots, as it would help to minimize damage from kernel/userland
(and packages) coming out of sync.

I'm sure there's a good reason for them not being included, but I'm
just curious as to what it is, I was unable to find anything in the
archives.

I think the basic logic applies - if you are running snapshots in anything 
other than a development or test environment, you are likely capable of 
keeping your other system components properly synchronized.

That's to say you are able to keep your own source tree in line with that 
which is published, you are able to work with CVS, you are playing with 
patches supplied in tested and untested forms from developers, and you are 
willing to walk the razor's edge in some cases knowing full well that breakage 
may be part of the stroll down that path.  In other words, at some level you 
are probably involved with the development process - even indirectly through 
testing of someone else's code.

Now, if people are running snapshots as the basis for the development for some 
third-party application like an embedded system or a commercial app but they 
are only loosely and intermittently and incompletely tracking source changes, 
etc, then the risk of breakage will rise commensurately.

The most stable way to run OpenBSD is run a released system.  I run 
snapshots all over the place with no ill effects but I'm not doing that ad-hoc 
and without knowledge of what is happening in the overall development process.

Your mileage may vary.

--J



A big thanks

2007-05-30 Thread BradenM - Sonoma Computer
Hello Everyone;

I just received my T-shirt and 4.1 cd set and just wanted to thank the team.
Thanks guys, I appreciate it.

Sincerely;
Bray



Re: Snapshots src/sys tarballs

2007-05-30 Thread Darrin Chandler
On Wed, May 30, 2007 at 10:26:09AM -0800, Jimmy Mitchener wrote:
 anyway, snapshots aren't always quite the same as you get from
 -current source.
 
 That's my point really. I would think it to be advantageous to have a
 snapshot of the code just as that snapshot was created (no pun
 intended). But yes, you could avoid the pitfalls I described
 previously by following source-changes. I was just curious as to why
 it wasn't included as it is for releases.

Here's what *I* think (fwiw) snapshots are about, in no particular
order...

 - Snaps serve as a starting point if you *really* want to follow
   -current (as in compiling latest stuff in the tree, testing patches,
   etc).

 - Snaps are an easy way to *kinda* follow -current without following
   -current. ;-)

Here's what *I* think snapshots are NOT...

 - Mini -release, with all the goodies you've come to expect from
   *real* releases.

-- 
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: Snapshots src/sys tarballs

2007-05-30 Thread Bret Lambert
On Wed, 2007-05-30 at 09:51 -0800, Jimmy Mitchener wrote:
 Is there a reason snapshots do not currently come with a
 src/sys.tar.gz as releases do? I would think this to be quite useful
 for people wishing/requiring building their own kernels, and using
 snapshots, as it would help to minimize damage from kernel/userland
 (and packages) coming out of sync.
 
 I'm sure there's a good reason for them not being included, but I'm
 just curious as to what it is, I was unable to find anything in the
 archives.
 

This has been answered in the past; it comes down to too much work for
too little gain.

You want to live safely, run -stable.

 Jimmy.



Linuxwochen Vienna 31 May to 2 June

2007-05-30 Thread Martin Reindl
hi,

We'll be running a booth at Linuxwochen Vienna at the Urania, free entrance.
Everyone is welcome to visit us!

martin



Re: Snapshots src/sys tarballs

2007-05-30 Thread Ingo Schwarze
Jimmy Mitchener wrote on Wed, May 30, 2007 at 09:51:02AM -0800:

 Is there a reason snapshots do not currently come with a
 src/sys.tar.gz as releases do? I would think this to be quite useful
 for people wishing/requiring building their own kernels, and using
 snapshots, as it would help to minimize damage from kernel/userland
 (and packages) coming out of sync.
 
 I'm sure there's a good reason for them not being included, but I'm
 just curious as to what it is, I was unable to find anything in the
 archives.

http://www.openbsd.org/faq/faq5.html#Flavors

:: It is sometimes asked if there is any way to get a copy of exactly
:: the code used to build a snapshot.  The answer is no.  First, there
:: is no significant benefit to this.  Second, the snapshots are built
:: as desired, as time permits, and as resources become available.
:: On fast platforms, several snapshots may be released in one day.
:: On slower platforms, it may take a week or more to build a snapshot.
:: Providing tags or markers in the source tree for each snapshot would
:: be quite impractical.

Besides, snapshots often contain uncommitted tweaks, so a cvs tag
would not even do the job for you.



Re: PFSYNC

2007-05-30 Thread Alberich de megres
Ok,
I was using ports tabled version 1.04 wich haven't tablec and its man
tabled.conf don't tell nothing about listen command.

I downloaded 1.05 and all ok.

Thanks.


On 5/30/07, Joachim Schipper [EMAIL PROTECTED] wrote:

 On Tue, May 29, 2007 at 10:02:08PM +0200, Alberich de megres wrote:
  Maybe it's a silly question but don't know where to start with tabled :S
 
  I only got it installed. please..any help?


 With the caveat that I've never actually used it...

 It appears tabled.conf(5) documents an option to allow tabled to listen
 on a TCP port; tablec(8) documents an option to send commands to that
 socket. So if you can script tablec to fire at the right moment, this
 should work. If you are, for instance, parsing SSH requests out of log
 files, that need not be too difficult...

Joachim

 --
 TFMotD: mount_ados (8) - mount an AmigaDOS file system



Re: No i partition when connecting camera to USB

2007-05-30 Thread Greg Thomas

On 5/30/07, Jason Beaudoin [EMAIL PROTECTED] wrote:

On 5/30/07, Martin Toft [EMAIL PROTECTED] wrote:
 When connecting a Nikon Coolpix L10 camera to my laptop via USB, no i
 partition shows up:

snip

Check out the gphoto2 libraries, there are a couple qt/gtk based gui
frontends to extract the photos. Most of these cameras have
proprietary methods of accessing the memory card in an attempt to
convolute the process..so you often won't see the memory card as a sd*
device..like you should.

I also picked up a simple memory card reader from newegg, because
while I could extract photos through the gphoto method, mpeg movies
liked to crash the various apps I tried.



A card reader is definitely the way to go.  But I don't think your
first paragraph is relevant to Martin's issue, his camera is showing
up, it's just a disklabel issue.

Greg



Re: No i partition when connecting camera to USB

2007-05-30 Thread Martin Toft
On Wed, May 30, 2007 at 05:09:55PM +0200, Martin Toft wrote:
 When connecting a Nikon Coolpix L10 camera to my laptop via USB, no i
 partition shows up:
[snip]

Thanks to krw@, the cause of the problem has been found! Yay! :)

The msdos partition on my camera's flash memory extends past the end of
the device. OpenBSD therefore refused to make the fake i label, as this
condition is checked for in /usr/src/sys/arch/i386/i386/disksubr.c (line
193). After having commented out the check, rebuilt and installed a new
kernel, I can now use my camera with OpenBSD. disklabel now warns me:

  $ sudo disklabel sd0
  [snip]
  16 partitions:
  # sizeoffset  fstype [fsize bsize  cpg]
c:   4019904 0  unused  0 0  # Cyl 0 -   
250*
i:   4022029   243   MSDOS   # Cyl 0*-   
250*
  disklabel: partition i: partition extends past end of unit

The simple change:

--- /usr/src/sys/arch/i386/i386/disksubr.c.orig Wed May 30 21:19:37 2007
+++ /usr/src/sys/arch/i386/i386/disksubr.c  Wed May 30 21:23:54 2007
@@ -190,8 +190,6 @@
 
if (dp2-dp_typ == DOSPTYP_OPENBSD)
continue;
-   if (letoh32(dp2-dp_size)  lp-d_secperunit)
-   continue;
if (letoh32(dp2-dp_start)  lp-d_secperunit)
continue;
if (letoh32(dp2-dp_size) == 0)

I know it's not an optimal situation, but this is the way the in-camera
software formatted the flash memory.

Best regards,
Martin



Re: Kernel interrupt timer?

2007-05-30 Thread Leon
Thanks for the reply guys. I'm using hfsc + altq and would really like a
finer grain clock for better bandwidth management on low bandwidth queues.
Though I didn't get a how to answer for this question I managed to get the
clock to 1000hz by modifying the source file /usr/src/sys/conf/param.c,
#define HZ 1000 and recompiling the kernel. Everything running fine so far
and pf + altq seem to be doing a great job at shaping my network traffic.

If I do have any problems with my new kernel I'll be sure to switch to a
stock version and test before requesting help.
Thanks to the OpenBSD team for their hard work and dedication to this great
product.
-- 
This is too troublesome



Re: Snapshots src/sys tarballs

2007-05-30 Thread Han Boetes
Ingo Schwarze wrote:
 Besides, snapshots often contain uncommitted tweaks, so a cvs
 tag would not even do the job for you.

Perhaps a timestamp of the exact moment the build started so you
can.

  cvs -qz3 update -D 'timestamp'

To get exactly the same source. I don't know well this is
possible, but it sounds like an idea.



# Han



cvsup/cvsync/anoncvs

2007-05-30 Thread MiK[3]Zz
Hi, i am goin to set up cvsup/anoncvs/cvsync server, but don't knwo how. Can 
you help me with configuration of these 
*cvs* servers? I have already write an e-mail to [EMAIL PROTECTED], but w/o any 
answer. Thanks for help.



Re: Snapshots src/sys tarballs

2007-05-30 Thread Stuart Henderson
On 2007/05/30 21:47, Han Boetes wrote:
 Ingo Schwarze wrote:
  Besides, snapshots often contain uncommitted tweaks, so a cvs
  tag would not even do the job for you.
 
 Perhaps a timestamp of the exact moment the build started so you
 can.
 
   cvs -qz3 update -D 'timestamp'
 
 To get exactly the same source.

ever noticed something like 'in snapshots for a week' mentioned in
a commit log?



Re: No i partition when connecting camera to USB

2007-05-30 Thread Martin Toft
On Wed, May 30, 2007 at 09:28:27PM +0200, Martin Toft wrote:
 I know it's not an optimal situation, but this is the way the
 in-camera software formatted the flash memory.

Discard that. The camera formats the flash memory just fine, and after
several attempts I still cannot reproduce the situation. I'm pretty sure
the bad partition was made in some approved way, though -- I didn't
create it by issuing creative numbers to fdisk!

Martin



Problem installing 4.1/sparc64 on Sun Blade 100

2007-05-30 Thread Landry Breuil
Hello,

i'm trying to install OpenBSD/Sparc64 on a Blade 100, tried various
methods/versions (all described in INSTALL.sparc64), they all fail after
'Trying bsd' and stall. Where can i have a start point to debug what
happens/doesn't happen ?

I've tried :
- 3.9-release Cdrom (original version from wim)
- 4.1-release cd41.iso taken from mirror/4.1
- 4.1-current cd41.iso taken from snapshots
- knowing cd-install are not really good on blades, i tried netbooting
bsd.rd 4.1-release and -current, using another obsd box as
rarpd/tftpd/rpc.bootparamd/nfsd/mountd server, set like described in
diskless(8). The weird thing is that ofwboot.net is taken from tftpd after
'boot net bsd.rd', ran, i see the first twolines :
OpenBSD 4.1 (obj) #0: -build-date-
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
then
Trying bsd
and
stalled-nothing more on the screen.

but i see no mount requests in mountd -d output.
i tried following
https://www-s.acm.uiuc.edu/wiki/comments/OpenBSD+Sparc64#notes documentation
too.

security-mode is set to none in OBP, and firmware version is 4.0.45, i don't
think it needs a firmware upgrade.
Could it be a hardware problem ? How can i get more debug information ?

Thanks for any hints.

Next step will be trying to use a floppy (gee, i have to find a floppy
reader and a disk), or putting the disk in my U10 (which works fine) and try
to do the install on it.

Landry



Re: Snapshots src/sys tarballs

2007-05-30 Thread Han Boetes
Stuart Henderson wrote:
 On 2007/05/30 21:47, Han Boetes wrote:
  Perhaps a timestamp of the exact moment the build started so
  you can.
 
cvs -qz3 update -D 'timestamp'
 
  To get exactly the same source.

 ever noticed something like 'in snapshots for a week' mentioned
 in a commit log?

I can't say I have, nor that I can easily find it in the
archives. Pray enlighten me.


# Han



Re: Snapshots src/sys tarballs

2007-05-30 Thread Theo de Raadt
 Is there a reason snapshots do not currently come with a
 src/sys.tar.gz as releases do?

Because every snapshot for every architecture is done on a different
tree, and some are even done 5-6 times a day.  So this would require,
if I can guess this right, 2.6GB per day.  Supplied over a T1.

Keep dreaming though.



Re: Snapshots src/sys tarballs

2007-05-30 Thread Theo de Raadt
 Ingo Schwarze wrote:
  Besides, snapshots often contain uncommitted tweaks, so a cvs
  tag would not even do the job for you.
 
 Perhaps a timestamp of the exact moment the build started so you
 can.
 
   cvs -qz3 update -D 'timestamp'
 
 To get exactly the same source. I don't know well this is
 possible, but it sounds like an idea.

The most recent i386 snapshot contains 45 modified files which are
not yet commited.



Re: Snapshots src/sys tarballs

2007-05-30 Thread Theo de Raadt
  anyway, snapshots aren't always quite the same as you get from
  -current source.
 
 That's my point really. I would think it to be advantageous to have a
 snapshot of the code just as that snapshot was created (no pun
 intended). But yes, you could avoid the pitfalls I described
 previously by following source-changes. I was just curious as to why
 it wasn't included as it is for releases.

Yes, it would be quite handy, but I won't do it.

So I really do have three words for you.

Boo hoo hoo.

We develop for ourselves.  Consider yourself LUCKY I even deem to make
snapshots available...



Re: Snapshots src/sys tarballs

2007-05-30 Thread Theo de Raadt
 Besides, snapshots often contain uncommitted tweaks, so a cvs tag
 would not even do the job for you.

About once a month there is a day where snapshots are a completely
unmodified source tree.  The other 29 or 30 days of the month, there
are small needs to be tested by volunteers diffs put into the tree.
This also serves to ensure that none of the architectures get busted,
because those snapshots are also then rebooted on the build machines,
and thus tested.

With about half a million dollars of extra money I am sure that I
could change this process and make it more suitable to the whiners.



Re: pf.conf settings

2007-05-30 Thread Lontronics Mailinglist account
Sorry to bother again.

Still no luck with pf in combination with ftp-proxy.
A connection is made, but then it is blocked (getting no route to host):

Here is the output of gftp:

Looking up ftp.lontronics.nl
Trying ftp.lontronics.nl:21
Connected to ftp.lontronics.nl:21
220 Gene6 FTP Server v3.9.0 (Build 2) ready...
USER lontronics
331 Password required for lontronics.
PASS 
230 User lontronics logged in.
SYST
215 UNIX Type: L8
TYPE I
200 Type set to I.
CWD /lontronics
550 CWD failed. /lontronics : no such file or directory.
PWD
257 / is current directory.
Loading directory listing / from server (LC_TIME=C)
PASV
227 Entering Passive Mode (195,8,208,48,81,216)
Cannot create a data connection: No route to host
Disconnecting from site ftp.lontronics.nl


I am running pf as firewall now with the following settings:

pf.conf:

# $OpenBSD: PF firewall rules $

# macros
# 6667 is used for irc
int_if= { bce0, wpi0 } 
tcp_services  = { ssh, smtp, domain, www, pop3, auth, ftp, sftp, pop3s, imap, 
imaps, https, 6667 }
udp_services  = { domain, ntp }

# options
set block-policy drop
set skip on lo0

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

antispoof for $int_if inet

# block all ipv6 and setup a default deny policy for ipv4
block inet6 all
block all

anchor ftp-proxy/* 
pass out on $int_if proto tcp  to any port $tcp_services
pass out on $int_if proto udp  to any port $udp_services
pass out on $int_if inet proto icmp all icmp-type echoreq


inetd.conf:

ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -US
ftp stream  tcp6nowait  root/usr/libexec/ftpd   ftpd -US

rc.conf.local:

pf=YES  # enable pf firewall
pf_rules=/etc/pf.conf   # use /etc/pf.conf for pf setttings
pflogd_flags=NO # disable logging on pf firewall

ftpproxy_flags=   # enable the internal ftp proxy


Any suggestions of what settings are wrong?

Any help would really be appreciated, because I did not find the info on the 
internet, news groups and forums

Jan.



Re: Snapshots src/sys tarballs

2007-05-30 Thread Jack J. Woehr
On May 30, 2007, at 4:03 PM, Theo de Raadt wrote:

 With about half a million dollars of extra money I am sure that I
 could change this process and make it more suitable to the whiners.

I was going to suggest a bake sale ... nah, maybe not ...

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



Re: Snapshots src/sys tarballs

2007-05-30 Thread Aaron Poffenberger
Theo de Raadt wrote:
 Besides, snapshots often contain uncommitted tweaks, so a cvs tag
 would not even do the job for you.
 

 About once a month there is a day where snapshots are a completely
 unmodified source tree.  The other 29 or 30 days of the month, there
 are small needs to be tested by volunteers diffs put into the tree.
 This also serves to ensure that none of the architectures get busted,
 because those snapshots are also then rebooted on the build machines,
 and thus tested.

 With about half a million dollars of extra money I am sure that I
 could change this process and make it more suitable to the whiners.

   
That sounds like the basis for a policy -- for a cool half million the
OpenBSD project will fix the donor's favorite whiny problem*.  :-)

*Subject to final approval.  No refunds.  Offer void where prohibited by
law.  Please include 3 box tops from your favorite cereal.



Re: Snapshots src/sys tarballs

2007-05-30 Thread Stuart Henderson
On 2007/05/30 23:53, Han Boetes wrote:
 Stuart Henderson wrote:
  On 2007/05/30 21:47, Han Boetes wrote:
   Perhaps a timestamp of the exact moment the build started so
   you can.
  
 cvs -qz3 update -D 'timestamp'
  
   To get exactly the same source.
 
  ever noticed something like 'in snapshots for a week' mentioned
  in a commit log?
 
 I can't say I have, nor that I can easily find it in the
 archives. Pray enlighten me.

s/snapshots/snaps/ then:

http://marc.info/?l=openbsd-cvsm=118010880727343w=2
http://marc.info/?l=openbsd-cvsm=118011051523008w=2
http://marc.info/?l=openbsd-cvsm=117019844731812w=2
http://marc.info/?l=openbsd-cvsm=116830896422923w=2
http://marc.info/?l=openbsd-cvsm=116515339504442w=2

etc.



Needed: Loaner tape library

2007-05-30 Thread Jason Dixon
We need access to a robotic tape library (with barcode support) and a 
connected server (running -current) for thorough testing of the new 
Bacula port.  Preferably something with multiple drives and an I/O slot. 
 Speed is not as important as chio(1) compatibility.


Thanks,
Jason



Re: Snapshots src/sys tarballs

2007-05-30 Thread Markus Bergkvist

Darrin Chandler wrote:

Here's what *I* think snapshots are NOT...

 - Mini -release, with all the goodies you've come to expect from
   *real* releases.



Which is kind of confirmed by the FAQ
http://www.openbsd.org/faq/faq5.html#Flavors

There is no promise that the snapshots are completely functional, or even 
install.


/Markus



Re: Instant Messenger client

2007-05-30 Thread Clint Pachl

stuart van Zee wrote:

Does anyone know of a good, easy-to-use client
for Yahoo instant messenger in the ports tree.
  


Alternatively, you could use a web app. Meebo.com is a very cool web 
interface to ICQ, Jabber, AOL, Yahoo, Google, and Microsoft IMs. I've 
used Gtalk via meebo.com on Mozilla Seamonkey without flash or java 
enabled (I believe it is mostly javascript/AJAX with limited 
server-side) and it worked surprisingly well.


I do an internet radio show (definitely not 
OpenBSD topical) and I need one that an intern

can use on my spare laptop to interface with
listeners etc.  The laptop will be running 
OpenBSD 4.1 w/X and he will also be using 
firefox to check Yahoo email.


please note, our intern is STUPID so he needs
something fairly easy to use.  


Stuart van Zee
[EMAIL PROTECTED]
Ya can't fix stupid




Re: Instant Messenger client

2007-05-30 Thread L. V. Lammert
On Wed, 30 May 2007, Diana Eichert wrote:

 If you're running a recent post 4.1 install there is also net/pidgin, a
 port for it was added to the tree on May 28th.

 diana

FYI, I was just looking for GAIM on another machine and it seems to have
been *replaced* by Pidgin.

Lee



Re: Snapshots src/sys tarballs

2007-05-30 Thread Henning Brauer
* Jimmy Mitchener [EMAIL PROTECTED] [2007-05-30 20:38]:
 anyway, snapshots aren't always quite the same as you get from
 -current source.
 
 That's my point really. I would think it to be advantageous to have a
 snapshot of the code just as that snapshot was created (no pun
 intended). But yes, you could avoid the pitfalls I described
 previously by following source-changes. I was just curious as to why
 it wasn't included as it is for releases.

because it is extra work only done for releases.

-- 
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: Problem installing 4.1/sparc64 on Sun Blade 100

2007-05-30 Thread Ted Bullock
I had the same problem until I updated the firmware to 4.17.1

-Ted

Landry Breuil wrote:
 Hello,
 
 i'm trying to install OpenBSD/Sparc64 on a Blade 100, tried various
 methods/versions (all described in INSTALL.sparc64), they all fail after
 'Trying bsd' and stall. Where can i have a start point to debug what
 happens/doesn't happen ?
 
 I've tried :
 - 3.9-release Cdrom (original version from wim)
 - 4.1-release cd41.iso taken from mirror/4.1
 - 4.1-current cd41.iso taken from snapshots
 - knowing cd-install are not really good on blades, i tried netbooting
 bsd.rd 4.1-release and -current, using another obsd box as
 rarpd/tftpd/rpc.bootparamd/nfsd/mountd server, set like described in
 diskless(8). The weird thing is that ofwboot.net is taken from tftpd after
 'boot net bsd.rd', ran, i see the first twolines :
 OpenBSD 4.1 (obj) #0: -build-date-
 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
 then
 Trying bsd
 and
 stalled-nothing more on the screen.
 
 but i see no mount requests in mountd -d output.
 i tried following
 https://www-s.acm.uiuc.edu/wiki/comments/OpenBSD+Sparc64#notes documentation
 too.
 
 security-mode is set to none in OBP, and firmware version is 4.0.45, i don't
 think it needs a firmware upgrade.
 Could it be a hardware problem ? How can i get more debug information ?
 
 Thanks for any hints.
 
 Next step will be trying to use a floppy (gee, i have to find a floppy
 reader and a disk), or putting the disk in my U10 (which works fine) and try
 to do the install on it.
 
 Landry
 
 .
 

-- 
Theodore Bullock, [EMAIL PROTECTED], [EMAIL PROTECTED]
B.Sc Software Engineering
Bike Across Canada Adventure http://www.comlore.com/bike