Re: restore hanging on an unusual file name

2007-11-29 Thread Richard Toohey
On 21/11/2007, at 10:48 PM, Otto Moerbeek wrote: I think dump should 'vis' the filenames it prints. -Otto I've been looking at this and have a small patch to restore/ interactive.c in the formatf() function. I have done what Otto said - vis()d the filenames (I have done so by

Re: File collision while using pkg_add

2007-11-29 Thread Julian Leyh
On 14:09 Thu 22 Nov , Nick Guenther wrote: Second, to deal with it: make a script to automatically remove the files. Just pipe the output to a file, go in with your favourite editor and delete everything before and after the filelists, and then replace (same md5) with , and then for file

Re: Resolving dependencies with pkg_add

2007-11-29 Thread Richard Toohey
On 29/11/2007, at 11:37 AM, Markus Lude wrote: On Wed, Nov 28, 2007 at 10:32:32PM +0100, Jordi Espasa Clofent wrote: Install xbase. Paste what you see if that's not it. Ok Stuart. In fact I've not installed xbase because I've put the system on a USB stick and I wanted a very minimal set.

Re: anyone using netbeans ?

2007-11-29 Thread Didier Wiroth
-Original Message- From: Nick Guenther [mailto:[EMAIL PROTECTED] Sent: 28 November 2007 17:29 To: misc@openbsd.org Subject: Re: anyone using netbeans ? On 11/28/07, Didier Wiroth [EMAIL PROTECTED] wrote: Hello, I'm running current (amd64) with netbeans and jdk1.5. The ouput

Re: Narrow down the stability of amd64.mp on Sun X4100 to mpi.c

2007-11-29 Thread Daniel Ouellet
Stuart Henderson wrote: On 2007/11/28 16:47, Daniel Ouellet wrote: I don't know x4100 m2, is this an optional card, or meant to always be there? No there isn't any cards that I added or anything. The difference you see is that the server also have RAID controller built in and as such will show

Re: Configuring sendmail openbsd 4.2

2007-11-29 Thread Khalid Schofield
ok it's still not working. I'm posting my configs here. It's not accepting incoming mail. Sendmail is set to use /etc/mail/sendmail.cf in rc.conf Here is the .mc script I built the config from in /usr/share/sendmail/ cf/ divert(-1) # # Copyright (c) 1998 Sendmail, Inc. All rights reserved. #

Re: Annoying startx problem on 4.2/i386

2007-11-29 Thread Julian Leyh
On 14:11 Sat 24 Nov , Manuel Ravasio wrote: but I'm positive it showed more than once when the laptop was connected to my company's network. DNS addresses are configured via DHCP and I was able to connect to both company network and the internet once the X environment server was up, so

Re: : Resolving dependencies with pkg_add

2007-11-29 Thread Raimo Niskanen
There has been a thread previously on how to extract only expat from xbase.tar.gz. I recall it was rather straightforward. Search the archives... ...found it. Subject was: Re: lib not found expat.8.0 - requires xbase42.tgz - insufficient disk on CF card

Re: Site-to-site IPSec VPN between OpenBSD and Cisco PIX 515E

2007-11-29 Thread Shohrukh Shoyoqubov
Finally I have managed that VPN tunnel to work. Actually, everything was fine with VPN connection settings, the problem was with the firewall (Cisco ASA) residing behind the PIX that I've never known about :) [ A.B.C.B ] - [ OpenBSD 4.1 (M.N.O.P) ] -- Internet -- [ ( I.J.K.L) Cisco PIX 515E ]

Re: Narrow down the stability of amd64.mp on Sun X4100 to mpi.c

2007-11-29 Thread Stuart Henderson
On 2007/11/28 22:27, Daniel Ouellet wrote: I guess, that may be the only valid course of action here then. That may be shown by the difference in the iic1 code in dmesg between not working boot and stable one where so far, I am up to three time out of may be 50 or 60 by now in the last few

openbsd's perl and thread support

2007-11-29 Thread Thomas Delaet
Hi, I want to use perl's threads module. It seems that this is not supported on OpenBSD (4.0 but since the perl version is the same in 4.1 and 4.2, I guess this problem still exists). When writing a one-line perl program that has use threads; as contents, I get the following error on execution:

Re: Narrow down the stability of amd64.mp on Sun X4100 to mpi.c

2007-11-29 Thread Stuart Henderson
On 2007/11/28 21:00, Daniel Ouellet wrote: Stuart Henderson wrote: Well, it's certainly a bit odd that amd64 doesn't detect the ipmi, and i386 does... I don't really have any other clues though :( Ah. It's not odd at all... revision 1.139 date: 2006/06/01

ilo (ipmi) and serial console redirection

2007-11-29 Thread holger glaess
hi i try to setup the last days the console redirection on al HP DL 145 G2 with ipmi board ( ilo standard ) the most works i see the post bios output and the first lines of der boot console of openbsd but there is a first error message that the com0 is not aviable and this ist true. the

Re: Excess interrupts using ALTQ

2007-11-29 Thread Fernando Braga
On Nov 16, 2007 2:57 PM, Calomel [EMAIL PROTECTED] wrote: Doing a quick google search I see other people have also reported problems with the on board Broadcom BCM5708 on the dells. Can you try another network card like the Intel Pro/1000 MT (OpenBSD interface name: em0) ? My place of

turbo-channel cards available (was: alpha hardware (DEC3000-300X) available for donation)

2007-11-29 Thread Robert Urban
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ok, no one seems to be interested in the machine. Would anyone like any of the components? In particular, the TC SCSI controllers? (PMAZB-A, PMAZC-AA)?? Please respond soon! Robert Urban Robert Urban wrote: -BEGIN PGP SIGNED MESSAGE-

OpenBSD compatibe USB bluetooth adaptor.

2007-11-29 Thread Evgeniy Sudyr
Hello misc, I need recommendation for exact model of USB bluetooth adaptor to using with OpenBSD (I following current). Btw, http://openbsd.org/i386.html not have anything about supported devices, same as man ubt(4) http://www.openbsd.org/cgi-bin/man.cgi?query=ubtsektion=4format=html

Re: Configuring sendmail openbsd 4.2

2007-11-29 Thread knitti
On 11/29/07, Khalid Schofield [EMAIL PROTECTED] wrote: ok it's still not working. I'm posting my configs here. It's not accepting incoming mail. Sendmail is set to use /etc/mail/sendmail.cf in rc.conf - when it's not accepting, what is the error? does it locally? - try putting the MAILER lines

Filesystem activity monitoring

2007-11-29 Thread Yuri Spirin
Hello, misc. I wonder, is there some software that could show me in top(1) manner which files are accessed most intensively right now and by which process/user? The main question I wish to answer is why my OpenBSD/4.2 router's hdd lights are blinking while it definitely should be idle (or

Re: openbsd's perl and thread support

2007-11-29 Thread Stephen Takacs
Thomas Delaet [EMAIL PROTECTED] wrote: I want to use perl's threads module. It seems that this is not supported on OpenBSD (4.0 but since the perl version is the same in 4.1 and 4.2, I guess this problem still exists). You'll have to rebuild perl from source if you want threads. It's a fairly

Re: openbsd's perl and thread support

2007-11-29 Thread Stuart Henderson
On 2007/11/29 10:34, Stephen Takacs wrote: Thomas Delaet [EMAIL PROTECTED] wrote: I want to use perl's threads module. It seems that this is not supported on OpenBSD (4.0 but since the perl version is the same in 4.1 and 4.2, I guess this problem still exists). You'll have to rebuild

Re: openbsd's perl and thread support

2007-11-29 Thread Randal L. Schwartz
Stephen == Stephen Takacs [EMAIL PROTECTED] writes: Stephen Perl threads on Unix aren't nearly as useful as on platforms like Stephen Win32 that don't have a native fork(), and even there you have to be Stephen careful because Perl's threads are not at all lightweight. You can Stephen easily

Re: 4.2 xenocara + Radeon 9600 Pro problem

2007-11-29 Thread Rafal Brodewicz
Same problem when connected through RGB cable. fH: 36.8kHz fD: 82.2Hz (red and blinking) There's no problem with Radeon 9200 Pro and the same xorg.conf as in previous post. Regards. -- Rafal Brodewicz [EMAIL PROTECTED]

Re: OpenBSD in the webcomic XKCD

2007-11-29 Thread Jonathan Thornburg
Artur Grabowski wrote: Dual boot is for sissies who can't get a second machine. Steve Shockley wrote: | No, dual boot is for sissies who can't commit to a real OS. Or for people who like dual-booting OpenBSD and OpenBSD, i.e. having multiple bootable versions of OpenBSD on a machine. When I

Re: Filesystem activity monitoring

2007-11-29 Thread Unix Fan
fstat(1) displays all open file inodes, it couldn't possibly translate them to names reliably.. because a file can have many different hard links, thus have different names. I know it's sad, but that's just the way it is. one option might be the ncheck_ffs(8) command though..

Re: Filesystem activity monitoring

2007-11-29 Thread Nick Guenther
On Nov 29, 2007 10:07 AM, Yuri Spirin [EMAIL PROTECTED] wrote: Hello, misc. I wonder, is there some software that could show me in top(1) manner which files are accessed most intensively right now and by which process/user? The main question I wish to answer is why my OpenBSD/4.2 router's

Re: OpenBSD in the webcomic XKCD

2007-11-29 Thread Rob
On Nov 26, 2007 4:11 AM, mickey [EMAIL PROTECTED] wrote: poor dude pbly cannot do adding proper in his disklabel... MATH WORKS BITCHES! The 'poor dude' is known for posting smart, mathy, and generally insightful comics. Try browsing through his comics some. As for me, the comic was perfectly

cbb0: controller is missing in dmesg

2007-11-29 Thread Rob Lytle
Hi all, I cvsup'd today and saw that /usr/src/sys/dev/pci/pccbb.c had been changed. I turned on all the bugging code I could, and I get in the dmesg cbb0: controller is missing. Yet right above it in the dmesg is says cbb0 at pci6 dev 4 function 0 TIPCIXX12 Cardbus I was wondering if there

Re: Strange em(4) issues

2007-11-29 Thread Stuart Henderson
On 2007/11/29 22:23, NetOne - Doichin Dokov wrote: Two weeks ago i bought an Intel Pro/1000MT dual Gbit NIC because i was gonna soon be in need for more ports in one of our 1U systems, Change the PCI jumper, which is currently probably on auto, to 64 bit 66MHz. You probably need to remove the

Re: Strange em(4) issues

2007-11-29 Thread NetOne - Doichin Dokov
First, thanks for the prompt reply! Stuart Henderson ??: On 2007/11/29 22:23, NetOne - Doichin Dokov wrote: Two weeks ago i bought an Intel Pro/1000MT dual Gbit NIC because i was gonna soon be in need for more ports in one of our 1U systems, Change the PCI jumper, which is

Re: Strange em(4) issues

2007-11-29 Thread NetOne - Doichin Dokov
NetOne - Doichin Dokov ??: dmesg bge(4) timeouts which happen from time to time: = bge0: watchdog timeout -- resetting bge1: watchdog timeout -- resetting mickey posted some diffs on tech@ relating to watchdog problems with bge and em, they might be

Re: Strange em(4) issues

2007-11-29 Thread Stuart Henderson
On 2007/11/29 23:25, NetOne - Doichin Dokov wrote: First, thanks for the prompt reply! No problem, if I can save someone else the night I had in a cold datacentre working it out, some good came out of it :-) Nopes, I'm not: # netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Colls

Re: Kernel problem...

2007-11-29 Thread Limaunion
mickey wrote: On Sat, Nov 24, 2007 at 12:13:41PM -0300, Limaunion wrote: Hi misc! I upgraded my old i486 box to a _new_ pentium 166, but after less than 24 hours running it I got a kernel crash. I'm sending dmesg plus some screenshots from ps + trace + show registers. this looks like a signal

Passive ftp problem: 425 error

2007-11-29 Thread Doug Milam
Greetings, I'm having trouble getting FTP to work in passive mode. (I've set the machine up as an FTP server). I can connect in active mode, with a PORT connection, but I'm seeing a 425 error (can't open passive connection; can't assign requested address) for passive attempts. The FTP server

Re: Strange em(4) issues

2007-11-29 Thread Stuart Henderson
gmane mangled them; mv the .orig files back and try these - http://marc.info/?m=119616849501476 http://marc.info/?m=119616948702986 the diffs are made against -current but probably work with stable too. On 2007/11/29 23:53, NetOne - Doichin Dokov wrote: NetOne - Doichin Dokov ??: dmesg

Re: Strange em(4) issues

2007-11-29 Thread NetOne - Doichin Dokov
Stuart Henderson ??: gmane mangled them; mv the .orig files back and try these - http://marc.info/?m=119616849501476 http://marc.info/?m=119616948702986 the diffs are made against -current but probably work with stable too. Yup, you're right! Everything compiled fine. Will load the new

Re: Excess interrupts using ALTQ

2007-11-29 Thread Chris Cappuccio
Try a single processor kernel instead of the MP kernel The MP kernel is just going to use more CPU time without giving you any benefit with today's implementation Fernando Braga [EMAIL PROTECTED] wrote: On Nov 16, 2007 2:57 PM, Calomel [EMAIL PROTECTED] wrote: Doing a quick google search I

Re: OpenBSD 4.2 not booting on alix2c2

2007-11-29 Thread Chris Cappuccio
do you happen to have other CF cards you can test? and can you try testing this CF card on other machines? it should work without giving you the error that you're getting. [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello. I've installed OpenBSD 4.2 on a 512M CF for use with the alix2c2.

smarthost and sendmail on 4.2

2007-11-29 Thread Moe Sizlak
Hi, I have a problem on 4.2 when sending mail via a smarthost. Basically the DS host is not being used. From the modified cf file - dnl mail.myisp.net with the hostname of your ISP's mail server. dnl define(`SMART_HOST', `smtp.moeisp.net')dnl dnl -

Re: cbb0: controller is missing in dmesg

2007-11-29 Thread Rob Lytle
On Nov 29, 2007 12:27 PM, Rob Lytle [EMAIL PROTECTED] wrote: Hi all, I cvsup'd today and saw that /usr/src/sys/dev/pci/pccbb.c had been changed. I turned on all the bugging code I could, and I get in the dmesg cbb0: controller is missing. Yet right above it in the dmesg is says cbb0 at

Re: OpenBSD 4.2 not booting on alix2c2

2007-11-29 Thread Stuart Henderson
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The alix board is straight out of the box - with whichever bios PC Engines had on it when it was shipped out a week ago. try a different bios, there have been 6 new versions so far this month.

Re: smarthost and sendmail on 4.2

2007-11-29 Thread Per-Olov Sjöholm
On Thursday 29 November 2007 23.54.37 Moe Sizlak wrote: Hi, I have a problem on 4.2 when sending mail via a smarthost. Basically the DS host is not being used. From the modified cf file - dnl mail.myisp.net with the hostname of your ISP's mail server. dnl

Re: smarthost and sendmail on 4.2

2007-11-29 Thread Firas Kraiem
Hi With modified DS sendmail still tries to send mail out directly Your config file seems okay, are you _sure_ sendmail is currently using the right one ? You can check it in /var/run/sendmail.pid Firas -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against

Re: Passive ftp problem: 425 error

2007-11-29 Thread Firas Kraiem
Hi Doug Milam wrote: The machine also sits on a LAN behind a router which currently only allows in port 21, but allows out everything. Suggestions welcome! Tried allowing in the high port used for passive connections ? Firas -- () ascii ribbon campaign - against html e-mail /\

Re: cbb0: controller is missing in dmesg

2007-11-29 Thread Rob Lytle
On Nov 29, 2007 3:04 PM, Rob Lytle [EMAIL PROTECTED] wrote: On Nov 29, 2007 12:27 PM, Rob Lytle [EMAIL PROTECTED] wrote: Hi all, I cvsup'd today and saw that /usr/src/sys/dev/pci/pccbb.c had been changed. I turned on all the bugging code I could, and I get in the dmesg cbb0:

Re: Configuring sendmail openbsd 4.2

2007-11-29 Thread Hugo Villeneuve
On Thu, Nov 29, 2007 at 09:20:34AM +, Khalid Schofield wrote: ok it's still not working. I'm posting my configs here. It's not accepting incoming mail. Sendmail is set to use /etc/mail/sendmail.cf in rc.conf Incoming mail from the network? That's because of all the 127.0.0.1 and ::1 in you

Re: smarthost and sendmail on 4.2

2007-11-29 Thread Moe Sizlak
Thanks for the quick response so far. I actually moved all the other .cf files out of the way to make sure I was running the right one. -- cat /var/run/sendmail.pid 11202 /usr/libexec/sendmail/sendmail -L sm-mta -C/etc/mail/openbsd-proto2.cf -bd -q30m --- definitely the right

Re: Strange em(4) issues

2007-11-29 Thread NetOne - Doichin Dokov
Stuart Henderson ??: On 2007/11/29 23:25, NetOne - Doichin Dokov wrote: First, thanks for the prompt reply! No problem, if I can save someone else the night I had in a cold datacentre working it out, some good came out of it :-) Nopes, I'm not: # netstat -in Name Mtu Network

Re: Passive ftp problem: 425 error

2007-11-29 Thread Calomel
Try using the ftp-proxy daemon. The proxy will take care of what ports need to be open and close them when they are not needed. It will make your life easier. Ftp-proxy how to (forward and reverse) http://calomel.org/ftp_proxy.html -- Calomel @ http://calomel.org Open Source Research and

Re: cbb0: controller is missing in dmesg

2007-11-29 Thread Rob Lytle
On Nov 29, 2007 3:33 PM, Rob Lytle [EMAIL PROTECTED] wrote: On Nov 29, 2007 3:04 PM, Rob Lytle [EMAIL PROTECTED] wrote: On Nov 29, 2007 12:27 PM, Rob Lytle [EMAIL PROTECTED] wrote: Hi all, I cvsup'd today and saw that /usr/src/sys/dev/pci/pccbb.c had been changed. I turned on

removing sendmail

2007-11-29 Thread Juan Miscaro
Hi, I would like to do away with sendmail as much as possible. I prefer postfix. Now I know that the sendmail binary is entwined with the system's internals but is there any way to completely get rid of it? I see that some people remove the binary and turn it off in rc.conf. Am I making any

Re: Strange em(4) issues

2007-11-29 Thread Girish Venkatachalam
On 20:47:57 Nov 29, Stuart Henderson wrote: Been there, done that. If you use plaintext protocols (ftp or so) over the interface, you'll see random corruption visible in the data (e.g. directory listings). At 133MHz there's some corruption between motherboard and card. Disappears at

Re: removing sendmail

2007-11-29 Thread Stefan Dengscherz
Also, don't forget to disable sendmail completely after enabling postfix. sendmail_flags=NO in /etc/rc.conf.local and removing the sendmail entry from root's crontab should do the job (plus stopping existing sendmail processes). 2007/11/30, Josh [EMAIL PROTECTED]: From memory after you install

Re: cbb0: controller is missing in dmesg

2007-11-29 Thread Steve Shockley
Rob Lytle wrote: Thats PCI-8x12/7x12/6x12 and it looks like there are quite a few laptops out there with this chip. I don't know whats up with the PN. Perhaps this is just a marketing name, but I could find no reference to it anywhere on the TI website The x replaces a number. I was able

Re: removing sendmail

2007-11-29 Thread Steve Shockley
Juan Miscaro wrote: Hi, I would like to do away with sendmail as much as possible. I prefer postfix. Now I know that the sendmail binary is entwined with the system's internals but is there any way to completely get rid of it? Yes, but you don't want to. Recompile using skipdir and do a

Re: removing sendmail

2007-11-29 Thread Yuri Spirin
Juan Miscaro wrote: Hi, I would like to do away with sendmail as much as possible. I prefer postfix. Now I know that the sendmail binary is entwined with the system's internals but is there any way to completely get rid of it? I see that some people remove the binary and turn it off in

Re: removing sendmail

2007-11-29 Thread Antti Harri
On Fri, 30 Nov 2007, Stefan Dengscherz wrote: Also, don't forget to disable sendmail completely after enabling postfix. sendmail_flags=NO in /etc/rc.conf.local and removing the sendmail entry from root's crontab should do the job (plus stopping existing sendmail processes). Postfix uses the

Re: removing sendmail

2007-11-29 Thread Josh
From memory after you install the postfix package, it tells you what to do to run postfix instead of sendmail. Sendmail binarys will still exist, but only postfix will be used, even for when a sendmail command is issued, due to mailer.conf I think it is. Juan Miscaro wrote: Hi, I would

Re: smarthost and sendmail on 4.2

2007-11-29 Thread Moe Sizlak
Solved! I added the fallback MX host line and mail is flowing properly. thanks all. On Nov 30, 2007 9:00 AM, Moe Sizlak [EMAIL PROTECTED] wrote: Thanks for the quick response so far. I actually moved all the other .cf files out of the way to make sure I was running the right one.

Re: Filesystem activity monitoring

2007-11-29 Thread Yuri Spirin
Hello, misc. I wonder, is there some software that could show me in top(1) manner which files are accessed most intensively right now and by which process/user? The main question I wish to answer is why my OpenBSD/4.2 router's hdd lights are blinking while it definitely should be idle (or

Re: Narrow down the stability of amd64.mp on Sun X4100 to mpi.c

2007-11-29 Thread Daniel Ouellet
Stuart Henderson wrote: On 2007/11/28 21:00, Daniel Ouellet wrote: Stuart Henderson wrote: Well, it's certainly a bit odd that amd64 doesn't detect the ipmi, and i386 does... I don't really have any other clues though :( Ah. It's not odd at all... revision 1.139

Re: Narrow down the stability of amd64.mp on Sun X4100 to mpi.c

2007-11-29 Thread Daniel Ouellet
Stuart Henderson wrote: On 2007/11/28 22:27, Daniel Ouellet wrote: I guess, that may be the only valid course of action here then. That may be shown by the difference in the iic1 code in dmesg between not working boot and stable one where so far, I am up to three time out of may be 50 or 60 by

Re: xterm color issues

2007-11-29 Thread Craig Skinner
On Sat, Nov 24, 2007 at 08:02:56PM -0800, Jon wrote: hi I have installed OpenBSD 4.2 on a 32 bit x86 platform. full install/ all packages. When I start a xterm on a VNC # xterm -fg green Warning: Color name green is not defined does not understand any of the colors. Please help.