Re: the death of the oldest OpenBSD system on the net...

2008-03-16 Thread Nickolay A. Burkov
Thanks for interesting story; very sadly.
Just out of curiosity, what hardware was it?

On Sun, Mar 16, 2008 at 01:23:52PM +0100, Alexander Bochmann wrote:
 ...was rather unspectacular: Hardware failiure.
 
 The system's name was base, originally installed with 
 OpenBSD 2.3 on Jun 12, 1998:
 
 -rw-r--r--  1 root  wheel  5 Jun 12  1998 etc/myname
 
 It ran the OpenBSD 2.3 kernel and most of the userland until 
 it stopped responding about three weeks ago and couldn't be 
 resurrected.
 
 Small hardware problems had happened before, as with most 
 systems that have been running uninterrupted for nearly 10 
 years, but this time I decided against getting it up again: 
 Running modern software had gotten a real chore (never managed 
 to backport OpenSSH, for example, so it still had the last 
 version of the old ssh.com daemon (1.2.32?). 
 (Well, that, and the 2.3 GENERIC kernel reliably shot down 
 the VMWare session I tried to get it running in.)
 
 Good old internet software like sendmail or bind never were 
 a problem though, even in their most recent versions (which may 
 or may not be a compliment, depending on your point of view).
 
 To my knowlege, the system never was hacked - despite running 
 software like qpop 2.53 or really, really old versions of 
 apache and php. (I sometimes found core files, but I guess 
 the system was just too obscure to be a valid target for 
 any type of automated attack.)
 
 base had lots of old stuff still lying around, like an emergency 
 netboot environment for the sun3/160 that it had replaced as main 
 server for infra.de back at the time, an Amanda client for my 
 old employer's network backup system that's long gone, or the 
 configuration for half a dozen UUCP feeds which have lost 
 their peers ages ago.
 
 Gone are the days when 32MB RAM was a lot, a stripped down OpenBSD 
 kernel had a whopping 1MB, and a handful of blacklists got rid 
 of almost all of the spam.
 
 -rwxr-xr-x   1 root  wheel1056157 Jul 31  2002 /bsd
 
 Alex.
 

-- 
C programmers never die. They're just cast into void.

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



Re: dmesg default color

2008-03-15 Thread Nickolay A. Burkov
On Sat, Mar 15, 2008 at 08:36:51AM +0300, Roman Strogin wrote:
 Hello,
 
 while booting dmesg is in white on blue by default.
 How can it be changed?
 
You may redefine WS_KERNEL_FG (foreground) and WS_KERNEL_BG (background)
in your kernel configuration file:
option  WS_KERNEL_FG=WSCOL_WHITE
option  WS_KERNEL_BG=WSCOL_BLUE

Please see sys/dev/wscons/wsdisplayvar.h for colours' definitions.

 Thanks.
 

-- 
C programmers never die. They're just cast into void.

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



Re: OpenBSD poster

2008-03-02 Thread Nickolay A. Burkov
On Sun, Mar 02, 2008 at 01:36:28PM +0100, Karel Kulhavy wrote:
 I have made an OpenBSD promotion poster.
 
 http://images.twibright.com/tns/21a8.html
 
 CL
 
Yeah, SECURE SNOWBOARDING WITH PUFFY. Only 2 injures in more than 10
years!.
Nice poster ;)

-- 
C programmers never die. They're just cast into void.

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



Re: pkg_delete: removing the resulting port/package file

2008-02-03 Thread Nickolay A. Burkov
On Sat, Feb 02, 2008 at 11:34:28PM -0500, Juan Miscaro wrote:
 When I install by port a package is first built.  When deleting the
 package with pkg_delete the package is removed (no longer installed)
 but that built package file remains.  Is there any way to get rid of it
 during the deletion?  I'm running the latest snapshot.
 
$ sudo make clean=package
in port's directory; see bsd.port.mk(5)

 /juan
 
 
   Looking for the perfect gift? Give the gift of Flickr! 
 
 http://www.flickr.com/gift/
 

-- 
C programmers never die. They're just cast into void.

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



5.1 sound card recommendation

2007-11-21 Thread Nickolay A. Burkov
Hello everyone!

Do somebody have success with 5.1 sound ?
If so, please recommend PCI Sound Card to work with OpenBSD 4.2(-CURRENT).

I have MARC'ed a bit but similar messages were  1 year ago.
I'd like to think that something have been changed..

Thank you for your time.
-- 

C programmers never die. They are just cast into void.



Re: Free course on I Intellectual Property Rights by World Intellectual Property Organisation (WIPO )

2007-07-30 Thread Nickolay A. Burkov
On Mon, Jul 30, 2007 at 12:55:59PM +0200, Jona Joachim wrote:
 On Mon, 30 Jul 2007 14:23:54 +0530
 Siju George [EMAIL PROTECTED] wrote:
 
  Hi,
  
  There is a course on intellectual property by the World Intellectual
  Property Organisation (WIPO). This course is free. After studying this
  course one will be able to know more about copyrights, patents,
  trademarks, Geographical Indications etc.
  
  In case you complete the course successfully you will receive a
  certificate from WIPO, Geneva.
  
  In case interested register before August 23. The next session will be
  mostly next year.
  
  The link is
  
  http://www.wipo.int/academy/en/courses/distance_learning/catalog/c_index.html
  
  The course name is DL-101
  General Course on Intellectual Property
 
 I just read:
 
 Technical requirements
   A computer connected to the Internet
   Internet Explorer 5 or higher
   Sound card and speakers
   Real Player software
   Adobe Acrobat Reader
 
 Pretty funny :)
Yeah, especially in openbsd mailing list ;)

 
 -- 
 I am chaos. I am the substance from which your artists and scientists
 build rhythms. I am the spirit with which your children and clowns
 laugh in happy anarchy. I am chaos. I am alive, and tell you that you
 are free. Eris, Goddess Of Chaos, Discord  Confusion
 

-- 
I do not fear computers.  I fear the lack of them. (c)



Re: Problems with uow on sparc64

2007-05-31 Thread Nickolay A. Burkov
Yeah, I have exactly the same problem on x86 running 4.1.
I can't provide dmesg now (i do not have such hardware at work).

On Thu, May 31, 2007 at 01:28:26PM +0200, Dagobert Kellner wrote:
 Hello,
 
 I am trying to get run usb onewire on my ulstra sparc5 using openbsd 4.1.
 
 When I insert the usb-Fob it seem to work, I get the Log message:
 
uow0 at uhub0 port 2
uow0: Dallas Semiconductor USB-FOB/iBUTTON, rev 1.00/0.02, addr 2
onewire0 at uow0
 
 But after that I only get the messages:
 
uow0: read failed, len 128: TIMEOUT
uow0: cmd timeout, type 0x01, cmd 0x0043, param 0x
  
 Is there someone who has experince with this problem?
 
 Here my dmesg:
 
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org
 
 OpenBSD 4.1-stable (GENERIC) #0: Sat May 19 01:54:27 CEST 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
 total memory = 402653184
 avail memory = 356696064
 using 2457 buffers containing 20127744 bytes of memory
 bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL 
 PROTECTED],0 
 mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz)
 cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.3) @ 333 MHz, version 0 FPU
 cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external 
 (64 b/l)
 psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
 psycho0: bus range 0-2, PCI bus 0
 psycho0: dvma map c000-dfff, iotdb 1d4e000-1dce000   
 pci0 at psycho0
 ppb0 at pci0 dev 1 function 1 Sun Simba PCI-PCI rev 0x13
 pci1 at ppb0 bus 1
 ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
 72c000-72c003, 72f000-72f003
 power0 at ebus0 addr 724000-724003 ipl 37
 SUNW,pll at ebus0 addr 504000-504002 not configured
 sab0 at ebus0 addr 40-40007f ipl 43: rev 3.2
 sabtty0 at sab0 port 0
 sabtty1 at sab0 port 1
 comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: layout 37
 wskbd0 at comkbd0: console keyboard
 com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo
 lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ipl 34: polled
 fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ipl 39 
 not configured
 clock1 at ebus0 addr 0-1fff: mk48t59
 flashprom at ebus0 addr 0-f not configured
 audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f, 
 722000-722003 ipl 35 ipl 3
 6: nvaddrs 0
 audio0 at audioce0
 hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address 
 08:00:20:a6:c9:ec
 nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
 vgafb0 at pci1 dev 2 function 0 ATI Mach64 GP rev 0x5c
 wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0
 pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA, 
 channel 0 configured
 to native-PCI, channel 1 configured to nati
 ve-PCI
 pciide0: using ivec 0x7e0 for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: Maxtor 54098U8
 wd0: 16-sector PIO, LBA, 39082MB, 80041248 sectors
 wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
 wd1 at pciide0 channel 1 drive 0: SAMSUNG SP0802N
 wd1: 16-sector PIO, LBA48, 76351MB, 156368016 sectors
 atapiscsi0 at pciide0 channel 1 drive 1
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8322B, 1.02 SCSI0 5/cdrom 
 removable
 wd1(pciide0:1:0): using PIO mode 4, DMA mode 2
 cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
 ppb1 at pci0 dev 1 function 0 Sun Simba PCI-PCI rev 0x13
 pci2 at ppb1 bus 2
 xl0 at pci2 dev 1 function 0 3Com 3c905C 100Base-TX rev 0x78: ivec 
 0x7d0xl0: reset didn't co
 mplete
 , address 00:0a:5e:1e:78:81
 exphy0 at xl0 phy 24: 3Com internal media interface
 xl0: reset didn't complete
 ohci0 at pci2 dev 2 function 0 NEC USB rev 0x43: ivec 0x7d4, version 1.0
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
 uhub0: 3 ports with 3 removable, self powered
 ohci1 at pci2 dev 2 function 1 NEC USB rev 0x43: ivec 0x7d5, version 1.0
 usb1 at ohci1: USB revision 1.0
 uhub1 at usb1
 uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 ehci0 at pci2 dev 2 function 2 NEC USB rev 0x04: ivec 0x7d6
 usb2 at ehci0: USB revision 2.0
 uhub2 at usb2
 uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1
 uhub2: 5 ports with 5 removable, self powered
 siop0 at pci2 dev 3 function 0 Symbios Logic 53c875 rev 0x26: ivec 0x7d8, 
 using 4K of on-boa
 rd RAM
 scsibus1 at siop0: 16 targets
 pcons at mainbus0 not configured
 No counter-timer -- using %tick at 333MHz as system clock.
 uow0 at uhub0 port 2
 uow0: Dallas Semiconductor USB-FOB/iBUTTON, rev 1.00/0.02, addr 2
 onewire0 at uow0
 root on wd1a
 rootdev=0xc10 rrootdev=0x1a10 rawdev=0x1a12
 
 
 
 
 Thanks,
 
 Dagobert Kellner
 

-- 
I do not fear computers.  I fear the 

Re: hw.sensor empty

2007-03-30 Thread Nickolay A. Burkov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please provide dmesg with your mail.
I guess you have no sensors in your box or they're not supported yet.

On Fri, Mar 30, 2007 at 10:34:44AM +0200, giovanni wrote:
 hello,
 
 on my box, 4.1-current,
 
 sysctl -a hw.sensor
 
 is empty
 I've seen that the sensor land has been split in user and kernel one.
 Before posting I've searched and tried to understand the matter
 i.e the relevant part where the copy from kernel to userland is made.
 I've also tried to watch the results during the path from
 
 sysctl -a hw.sensor
 
 to the sysctl_sensors call where all is copied correctly
 I'm wrong I know, so could you explain where?
 
 thanks,
 
 giovanni
 

- -- 
I do not fear computers.  I fear the lack of them. (c)
iQEVAwUBRg1SjoyD3BJzuu7VAQLIQAf/XCVMt3IPAAXNWORgb/Hpn9s38fMhdvoS
Ihc1rZ2woXlPrR7V/TB1K1YN3TirUe0D9RjsV8pMV19fmvkowJK4WbqN0i1IiSwB
lH/EG9jkDuGb9oQCjN+BGU9w99Nb9OdBRjDSXbh/SzRrc0QaO7O+Ys6dm4rUJ4Ns
TouOMk9pqK0AGOY4Tqy6pvoLZj/PIHaEUo0cwDy3a5PC/bHTDcZWM8TEVu8VNTIx
usrIC2wbsIGg++MFQvl7LZXdocoy1XVvdzBbzXAYSrKvT322UAHkzg4rTVkr4LiY
r3Dgi9ZwTWjs3LOlu6cWa43QH4L/6/XwJtnJ61JDOTU7SVe/R3GyjQ==
=l4/I
-END PGP SIGNATURE-



Re: auto-login as a console ordinary user

2007-02-08 Thread Nickolay A. Burkov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Feb 08, 2007 at 11:37:44AM +0100, [EMAIL PROTECTED] wrote:
 In an educational context (teaching children something
 different than MS WinXP) After booting I would like to login
 automatically as a normal user (in other words, to find the
 prompt of the ordinary user magically).
 
 How can I achieve this result?
 
 Vittorio
 

You could use xdm or similar things after system startup and configure them to 
achieve your needs.

- -- 
I do not fear computers.  I fear the lack of them. (c)
iQEVAwUBRcs5S4yD3BJzuu7VAQL74Qf+Ke2LUv1qr41nhDSoJTVllbvNbxMKsNtu
WVtak3YIUDWGi3XYfZJSwLUjwkuoMLLrUMwHQpgjgzt/WMzpUox2VC0VRGapv4LJ
hODTJqxM5jxy2kor7EgrAGpxcTwDoVUA9I4KNpiLq2WDuwcALfXwKx8GBTTifCX+
F5bdf3QG0D0s+1qtEuYeNgwuv0orrHCaYNhZMbvZyjiJqL15XbRDIHsiOaHCxR9o
5O5tyQF5jSUzyreYaXF6BdkAe7uTtMbCADGeHjHu8QMlr40mJzXUnfNH/U3xbzpD
/K+QYZVMY2BrAToGRLWGaXvn3Gd1WrgXmrUywWsMSJx4b77+U8Qh2A==
=6Z+/
-END PGP SIGNATURE-



[offtopic] Fiery X2-W Raster Image Processor

2007-02-08 Thread Nickolay A. Burkov
Hello, misc@

I work in the print company.
Recently, while cleaning out attic I've found interesting machine.
Machine labeled Fiery X2-W is a hardware raster image processor with 200MHz 
NEC VR5000 MIPS CPU.
At first look, it has PCI 32, PCI 64, USB, pATA and SCSI buses, serial and 
parallel ports, onboard Ethernet. 
I don't know anything about this machine so I googled for a bit..
Unfortunately, I've got very poor results. Here are some links describing its 
capabilities:

http://www.superwarehouse.com/Epson_RS-5100_Fiery_X2_RIP/C850122/p/35280
http://developer.novell.com/yes/58779.htm

There was no drives and RAM inside.
After plugging memory and powering on, device blimps its LED (on case) and outs 
some useless Checking messages;
After checking is completed it prints Loading system... and hangs.

I was able to access Setup but it looks like there is no interesting things 
there.
If needed, I can access it tommorow at work and dig more carefully.

My question is:
Anyway, what is it? :)
Why I was unable to find specs and finally, can I install some kind of my 
favorite BSD on it and bring it to life
as a complex computer system?

Thanks for your time.

-- 
I do not fear computers.  I fear the lack of them. (c)



Re: Adding /dev/sd5?

2007-02-08 Thread Nickolay A. Burkov
On Thu, Feb 08, 2007 at 09:33:27AM -0700, Jeff Ross wrote:
 Hi,
 
 I got to add 2 more hard drives to a server I manage (dmesg below)
 
 sd4 showed up no problem, but /dev/sd5 doesn't exist.
 
 [EMAIL PROTECTED]:/home/jross $ sudo fdisk -i sd5
 Password:
 fdisk: sd5: No such file or directory
 
 Any gotchas on adding the other sd device?  Should this be something 
 that is added to MAKEDEV?
 
 Thanks,
 
 Jeff
 
 OpenBSD 4.0-current (GENERIC.MP) #9: Thu Feb  8 01:47:47 MST 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel Pentium III (GenuineIntel 686-class) 1 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
[]
 root on sd0a
 rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
 

Yeah, you should make device file manually. See MAKEDEV(8).
cd /dev
sudo /dev/MAKEDEV sd5

-- 
I do not fear computers.  I fear the lack of them. (c)



Re: some basic problems

2007-01-30 Thread Nickolay A. Burkov
On Wed, Jan 31, 2007 at 05:52:51AM +0800, ronald jiang wrote:
 obsd 4.0 i386 without X on an ibm thinkpad t30
 
 a. How to map alt to meta? It's already find in ksh, but not in emacs.
 b. My hard disk really has more then 10 thounds cylinders, but fdisk allows 
 1024 at most...
 c. emacs22 compiling encounter an error which says don't know how to make 
 faces.elc
 d. adduser in grp `wheel', but can't sudo, why?
 e. To compile mplayer, do I have to get a gmake, can make work?
 

a. http://www.gnu.org/software/emacs/#Manuals
b. http://www.gnu.org/software/emacs/#Manuals
c. edit /etc/sudoers after reading man sudoers(5)
d. yes, see http://www.mplayerhq.hu/DOCS/HTML/en/softreq.html for other 
requirements
e. just use 1024 until you haven't working emacs

-- 
I do not fear computers.  I fear the lack of them. (c)



[patch] Option to ping(8) to return 0 after receiving first echo-reply

2006-06-23 Thread Nickolay A Burkov
Hi, @misc!

Here is a very simply hack to ping. It isn't pretend to something, hope
it will be useful for anybody as endless host checking in scripts.

% ping -Q example.com  echo 'abc'  /dev/speaker  # etc..

Index: ping.8
===
RCS file: /cvs/src/sbin/ping/ping.8,v
retrieving revision 1.31
diff -r1.31 ping.8
44c44
 .Op Fl DdfLnqRrv
---
 .Op Fl DdfLnQqRrv
141a142,144
 .It Fl Q
 Immediately exit program returning 0 exit status when at least ONE
 ICMP ECHO_REPLY packet has been received.
Index: ping.c
===
RCS file: /cvs/src/sbin/ping/ping.c,v
retrieving revision 1.77
diff -r1.77 ping.c
122a123
 #define F_REPLYQUIT   0x2000
214c215
   DI:LRS:c:dfi:jl:np:qrs:T:t:vw:)) != -1)
---
   DI:LRS:c:dfi:jl:np:qrs:T:t:vw:xQ)) != -1)
319a321,323
   case 'Q':
   options |= F_REPLYQUIT;
   break;
496c500

---

506a511,517
   /*
* Quickly exit program with exit code 0 if -Q is used
* and we've received at least one ECHO_REPLY packet.
*/
   if (options  F_REPLYQUIT  nreceived  0)
   finish(0);

1345c1356
   usage: ping [-DdfjLnqRrv] [-c count] [-I ifaddr] [-i wait]
\n ---
   usage: ping [-DdfjLnqRrvQ] [-c count] [-I ifaddr] [-i wait]
 \n


-- 
God is real, unless declared integer.



Re: /etc and partitions

2006-02-28 Thread Nickolay A Burkov
On Mon, 27 Feb 2006 19:37:12 +0100
Michael Schmidt [EMAIL PROTECTED] wrote:

 Hello,
 
 version: 3.8
 architecture: i386
 
 I have seen that /etc cannot be located on a separated partition.
 Why can it be not on an extra partition?
 
 Have a nice day
 Michael
 
 -- 
 Michael Schmidt MIRRORS:
 DJGPP   ftp://ftp.fh-koblenz.de/pub/DJGPP/
 Ghostscript ftp://ftp.fh-koblenz.de/pub/Ghostscript/
 

/usr/src/sbin/init/pathnames.h:

#define _PATH_RUNCOM/etc/rc

I think it may be changed to something else accessibly,
but on line 201 in /etc/rc there is /sbin/mount executions, 
so /etc/fstab should be accessed before this line.

-- 
God is real, unless declared integer.



Re: openbsd's future plans?

2006-02-08 Thread Nickolay A Burkov
On Tue, 7 Feb 2006 14:01:38 -0800
Ted Unangst [EMAIL PROTECTED] wrote:

 On 2/7/06, Antonios Anastasiadis [EMAIL PROTECTED] wrote:
  I have been wondering what are the openbsd team's long term-plans (if
  any at all,of course) regarding future smp support.
  I am aware that openbsd currently supports smp under the big kernel
  lock, which offers some advantages for userland applications but
  generally things like interrupt and io load don't scale at all.
  I understand it is an enormous task, judging by the other os'es
  struggle to remove the bkl by various techniques.
  What are the developers thinking about the future regarding this
  matter, and what are their opinions about the other os'es paths as
  well.
 
 i think we should rewrite the kernel in java since it has good support
 for threads.
 

Weee! I think OpenBSD kernel should be implemented in hardware part!

-- 
God is real, unless declared integer.



inet failover solution

2006-02-06 Thread Nickolay A Burkov
Hi, All!

I have a router with two external ethernet links to two different ISPs.
Could someone recommend me a good technique to organize failover with these two 
channels (similar to trunk(4) but on higher level)?
I thought about writing the Perl script to periodically ping destination on 
master ISP and if it is failure, reconfigure routing tables and NAT to slave 
provider's addr. Cause of this is a very network topology dependent things 
(timeouts, way of check dst, etc..) i wonder if somebody has a good expirience 
with this situation.

br