Re: ifconfig regress in combination with pppoe(4)

2007-11-10 Thread Daniel Melameth
On 11/10/07, Daniel Melameth <[EMAIL PROTECTED]> wrote: > On 11/10/07, Jacob Yocom-Piatt <[EMAIL PROTECTED]> wrote: > > Mitja Mu>enih wrote: > > > I just found the hard way that my old hostname.pppoe0 file which used to > > > work under 4.1 causes a spectacular failure on 4.2. > > > > > > # sh /etc

Problems with pf and rdr

2007-11-10 Thread Urban Hillebrand
Hi everyone, I have a problem with pf redirection. I used this simple setup to reproduce this issue: An external host ("HostA") connects to port 55111 on my external interface ($IF_EXT) on my openbsd box. This connection is forwarded to the ssh-port of an internal Server ("ServerA") using my inte

Re: ifconfig regress in combination with pppoe(4)

2007-11-10 Thread Daniel Melameth
On 11/10/07, Jacob Yocom-Piatt <[EMAIL PROTECTED]> wrote: > Mitja Mu>enih wrote: > > I just found the hard way that my old hostname.pppoe0 file which used to > > work under 4.1 causes a spectacular failure on 4.2. > > > > # sh /etc/netstart pppoe0 > > ifconfig: SIOCSIFGENERIC(SPPPIOSDEFS): Device b

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Daniel Ouellet
Just one more thing that may make you think about it twice. The use of -S in rsync is useful as it makes the sync work when you get stuck. But the fact that you have the sparse file to deal with to start with is huge in my tests anyway. Below with the sparse file # ./fullsync-test Sat Nov 10

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Daniel Ouellet
ropers wrote: Would people say that this edit is a decent description of these issues? http://en.wikipedia.org/w/index.php?title=Sparse_file&diff=170645177&oldid=168346326 I can't really comment well for proper writing for sure. (;> But one thing that is not right as Otto pointed out to me an

Thank YOU :: 3 errors AND Re: paramtere not supported anymore? kern.machdep getting error .... (kde/gnome...)

2007-11-10 Thread badeguruji
Thank you Peter, Unix Fan, Matt and all, 1. I was able to streamline my X config by following the below suggested link. 2. I was worried about the "dri" and "fbdev" module loading, because i did not know what they were. Unix Fan you are ans is great. -BG ~~Kal

Re: Printing with apsfilter

2007-11-10 Thread William Boshuck
On Sat, Nov 10, 2007 at 08:46:19PM -0500, Douglas A. Tutty wrote: > ... > And this is the big difference between lpd and LPRng. With LPRng you > can specify who can use what of those printers even if all the > originators are on the same box. I think that lpd just lets you specify > what boxes ca

Re: ifconfig regress in combination with pppoe(4)

2007-11-10 Thread Jacob Yocom-Piatt
Mitja Mu>enih wrote: Hi all! I just found the hard way that my old hostname.pppoe0 file which used to work under 4.1 causes a spectacular failure on 4.2. # sh /etc/netstart pppoe0 ifconfig: SIOCSIFGENERIC(SPPPIOSDEFS): Device busy The reason turned out to be a whitespace character after the \

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Daniel Ouellet
Hi, I will try to make this very simple and show the issue by example only when possible. I use two old servers on the Internet for the tests. The source use real example sparse file, but that have only ~1GB of usable data in it. The size show by 'ls -al' as an example gives~17GB. That's what

Re: Printing with apsfilter

2007-11-10 Thread Douglas A. Tutty
On Sat, Nov 10, 2007 at 12:04:57PM -0700, Predrag Punosevac wrote: > Douglas A. Tutty wrote: > >On Sat, Nov 10, 2007 at 04:30:51AM +, Jacob Meuser wrote: > >>On Fri, Nov 09, 2007 at 07:15:11PM -0700, Predrag Punosevac wrote: > >The difference between lpd and LPRng is one of access control. Ha

Re: Security Comparisons

2007-11-10 Thread Douglas A. Tutty
On Sat, Nov 10, 2007 at 05:52:03PM +0100, knitti wrote: > On 11/10/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote: > > > > of philosophy. Linux is about making all kinds of toys work in a > > hot-plug way and allow people to boast about their uptime. OpenBSD is > > about security. > > I would ad

Re: partition and copy in one line?

2007-11-10 Thread Douglas A. Tutty
On Sat, Nov 10, 2007 at 06:38:38PM +0200, Lars Nood??n wrote: > I had a hard drive die and used the chance to move to 4.2. Since the > 'new' machine is of the same vintage as the one it replaced, I expect it > to start grinding to a halt soon, too. > > Is there a way to copy one entire hard drive

Re: partition and copy in one line?

2007-11-10 Thread Girish Venkatachalam
On 18:38:38 Nov 10, Lars Nood??n wrote: > I had a hard drive die and used the chance to move to 4.2. Since the > 'new' machine is of the same vintage as the one it replaced, I expect it > to start grinding to a halt soon, too. > > Is there a way to copy one entire hard drive, partition table and

Re: Printing with apsfilter

2007-11-10 Thread Girish Venkatachalam
On 13:32:21 Nov 10, Aaron W. Hsu wrote: > There used to be an article on the web about dealing with LPD printcap files > and setting up filters. I used it to set up one of my HP printers. The > process > is really quite simple if you know what your printer's magic incantations > are. > However

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Daniel Ouellet
Hi, Before we go nuts on this issue, or look for the wrong things or create miss understanding. Just allow me a little bit more time to try to come with a viseable example showing the problem, or the issue here. Obviously as Otto pointed out to me, looks like I can't explain it to well. I

Re: plane simple vanilla X and 3 errors:

2007-11-10 Thread Unix Fan
>(EE) Unable to locate/open config file You're running X configless, meaning you didn't create an /etc/X11/xorg.conf file.. which is "OK" in the latest X (If you have modern computers). >(EE) Failed to load module "dri" (module does not exist, 0) OpenBSD doesn't support DRM/DRI, So 3D/OpenGL

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread ropers
On 10/11/2007, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > Your example just shows copying big files takes long. The point being, > if the file was not sparse, it would take at least the same time. > Blaming sparseness for the long cp time is not "fair". > > -Otto But of course it would b

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread ropers
Would people say that this edit is a decent description of these issues? http://en.wikipedia.org/w/index.php?title=Sparse_file&diff=170645177&oldid=168346326

Re: PPD vs printer driver question

2007-11-10 Thread Predrag Punosevac
Predrag Punosevac wrote: For the past couple hours after the Jacob's answer about apsfilter I was reading about Unix printing. I am getting more confused about the real meaning of PPD files and printer drivers. According to this http://en.wikipedia.org/wiki/PostScript_Printer_Description PP

PPD vs printer driver question

2007-11-10 Thread Predrag Punosevac
For the past couple hours after the Jacob's answer about apsfilter I was reading about Unix printing. I am getting more confused about the real meaning of PPD files and printer drivers. According to this http://en.wikipedia.org/wiki/PostScript_Printer_Description PPD files are post script de

plane simple vanilla X and 3 errors:

2007-11-10 Thread badeguruji
(EE) Unable to locate/open config file (EE) Failed to load module "dri" (module does not exist, 0) (EE) Failed to load module "fbdev" (module does not exist, 0) i am worried about last 2. any advice is appreciated. thank you. BG ~~Kalyan-mastu~~

glxsb crypto crash

2007-11-10 Thread Mitja Muženič
Not my day, obviously On a net5501 machine that I just upgraded to 4.2 I experienced a sudden reboot and found this in dmesg: uvm_fault(0xd078d120, 0x0, 0, 1) -> e fatal page fault (6) in supervisor mode trap type 6 code 0 eip d03d4fab cs 8 eflags 10296 cr2 4 cpl 90 panic: trap type 6, code=0

Re: paramtere not supported anymore? kern.machdep getting error .... (kde/gnome...)

2007-11-10 Thread Peter N. M. Hansteen
badeguruji <[EMAIL PROTECTED]> writes: > while trying to configure kde for openbsd. i referred to this document: > > http://www.openbsdsupport.org/obsd_desktop.html That document is seriously out of date, see the warning (red, even) at the main page at that site, http://www.openbsdsupport.org/ind

paramtere not supported anymore? kern.machdep getting error .... (kde/gnome...)

2007-11-10 Thread badeguruji
Hello, while trying to configure kde for openbsd. i referred to this document: http://www.openbsdsupport.org/obsd_desktop.html Check if kern.machdep is set to 1 in your /etc/sysctl.conf file. If not, change it. You can use sysctl -w kern.machdep=1 to activate it without rebooting. but whe

MacBook remote control

2007-11-10 Thread Richard Storm
Hello! I have macbook: hw.model=Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz hw.vendor=Apple Inc. hw.product=MacBook2,1 hw.version=1.0 On http://wiki.freebsd.org/AppleMacbook "IR receiver" section there is tool available at http://fnop.net/~rpaulo/priv/freebsd/aird.tgz. Here is patch that makes it comp

Re: ifconfig regress in combination with pppoe(4)

2007-11-10 Thread Darrin Chandler
On Sat, Nov 10, 2007 at 09:37:47PM +0100, Mitja Mu?eni? wrote: > # sh /etc/netstart pppoe0 > ifconfig: SIOCSIFGENERIC(SPPPIOSDEFS): Device busy > > The reason turned out to be a whitespace character after the \ sign in > hostname.pppoe0. > > Simplest way to recreate is to take the example from ma

Re: Powered by obsd stickers and other stuff

2007-11-10 Thread Pau Amaro-Seoane
what about painted puffy? it's been there for a while... http://www.kde-look.org/content/show.php/Powered+by+OpenBSD?content=61218 2007/11/10, Jona Joachim <[EMAIL PROTECTED]>: > On Sat, 10 Nov 2007 01:18:42 +0100, Iqigo Tejedor Arrondo wrote: > > > Hello all > > > > Some art, at slw spani

ifconfig regress in combination with pppoe(4)

2007-11-10 Thread Mitja Muženič
Hi all! I just found the hard way that my old hostname.pppoe0 file which used to work under 4.1 causes a spectacular failure on 4.2. # sh /etc/netstart pppoe0 ifconfig: SIOCSIFGENERIC(SPPPIOSDEFS): Device busy The reason turned out to be a whitespace character after the \ sign in hostname.pppoe0

Re: Printing with apsfilter

2007-11-10 Thread kim
Jacob Meuser wrote: On Fri, Nov 09, 2007 at 01:20:14PM -0700, [EMAIL PROTECTED] wrote: Hello all, I would like to get some advise on printing with apsfilter on 4.2. I have an Epson CX5400 multifunction printer that I normally use with the Gutenprint drivers and CUPS on other Unix systems. I

Re: Printing with apsfilter

2007-11-10 Thread Aaron W. Hsu
Predrag, [EMAIL PROTECTED] said: > As LPD is good enough itself to set the plain text to printer I want to see > what is the easiest way to tell printer how to understand ps files If that > could be done with build in filter in LPD or the one that come with base > installation (I have to read m

Re: Printing with apsfilter

2007-11-10 Thread Predrag Punosevac
Douglas A. Tutty wrote: On Sat, Nov 10, 2007 at 04:30:51AM +, Jacob Meuser wrote: On Fri, Nov 09, 2007 at 07:15:11PM -0700, Predrag Punosevac wrote: Any strong opinion on LPD vs LPRng vs CUPS issue? I am not a professional system administrator and there is way too much Linux an

Re: Security Comparisons

2007-11-10 Thread knitti
On 11/10/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote: > > of philosophy. Linux is about making all kinds of toys work in a > hot-plug way and allow people to boast about their uptime. OpenBSD is > about security. I would add usability (conciseness, least surprise and coherency) and thus maint

partition and copy in one line?

2007-11-10 Thread Lars Noodén
I had a hard drive die and used the chance to move to 4.2. Since the 'new' machine is of the same vintage as the one it replaced, I expect it to start grinding to a halt soon, too. Is there a way to copy one entire hard drive, partition table and all, to another -- in one line? I tried something

How can I burn DVD+R Dual Layer media?

2007-11-10 Thread Andrés
I've read that the process is not the same as burning DVD+R, but, at the same time, I couldn't get much information :S Has anyone tried burning DVD+R Dual Layer media?, what are the steps? Greetings.

Re: dhcpd's options.c in a weird shape

2007-11-10 Thread Vincent GROSS
okay, pb solved, i just reused a stable tree to populate a current tree thanks again On Nov 10, 2007 4:14 PM, Kenneth R Westerback <[EMAIL PROTECTED]> wrote: > > On Sat, Nov 10, 2007 at 03:31:03PM +0100, Vincent GROSS wrote: > > Hi folks, > > > > there seem to be a lil' problem with /usr/src/usr/

Re: dhcpd's options.c in a weird shape

2007-11-10 Thread Kenneth R Westerback
On Sat, Nov 10, 2007 at 03:31:03PM +0100, Vincent GROSS wrote: > Hi folks, > > there seem to be a lil' problem with /usr/src/usr/sbin/dhcpd/options.c. > the following patch highlights two weirds constructs inside the file, > one in the header, the other one in the MMS checking code. > > --- /usr/

Re: dhcpd's options.c in a weird shape

2007-11-10 Thread Han Boetes
Vincent GROSS wrote: > there seem to be a lil' problem with > /usr/src/usr/sbin/dhcpd/options.c. the following patch > highlights two weirds constructs inside the file, one in the > header, the other one in the MMS checking code. > > --- /usr/src/usr.sbin/dhcpd/options.c Sat Nov 10 04:53:05 2007

dhcpd's options.c in a weird shape

2007-11-10 Thread Vincent GROSS
Hi folks, there seem to be a lil' problem with /usr/src/usr/sbin/dhcpd/options.c. the following patch highlights two weirds constructs inside the file, one in the header, the other one in the MMS checking code. --- /usr/src/usr.sbin/dhcpd/options.c Sat Nov 10 04:53:05 2007 +++ ./options.c Sat N

Re: Printing with apsfilter

2007-11-10 Thread Douglas A. Tutty
On Sat, Nov 10, 2007 at 04:30:51AM +, Jacob Meuser wrote: > On Fri, Nov 09, 2007 at 07:15:11PM -0700, Predrag Punosevac wrote: > > Any strong opinion on LPD vs LPRng vs CUPS issue? I am not a > > professional system administrator and there is way too much Linux and > > CUPS around me for my

Re: CVS server out of memory on anga.funkfeuer.at

2007-11-10 Thread Martin Reindl
Paulo Rodriguez <[EMAIL PROTECTED]> wrote: > Hello misc, > > Just wanted to notify of the following. During checkout of -current code for > Xenocara on anga, the following happens: > > ... > CVS server: updating xenocara/font/misc-misc > U xenocara/font/misc-misc/10x20.bdf > CVS [server aborted

Re: google team and the DIY way of life

2007-11-10 Thread Karthik Kumar
Not again! On Nov 10, 2007 3:01 PM, xavier brinon <[EMAIL PROTECTED]> wrote: > from the "Official Google Blog" > > "Posted by Reza Behforooz, Software Engineer > > In my first month at Google, I complained to a friend on the Gmail > team about a couple of small things that I disliked about Gmail.

Re: Solved - Problems with authpf

2007-11-10 Thread Johan Linner
Johan Linner skrev: Hi, Just installed a new firewall using flashdist and 4.2. When trying to authenticate by authpf we get the following error: pfctl: /dev/fd/4: Permission denied Unable to modify filters ls -la /dev/fd/4 crw-rw-rw- 1 root wheel 22, 4 Nov 6 17:03 /dev/fd/4 Don't now if

CVS server out of memory on anga.funkfeuer.at

2007-11-10 Thread Paulo Rodriguez
Hello misc, Just wanted to notify of the following. During checkout of -current code for Xenocara on anga, the following happens: ... CVS server: updating xenocara/font/misc-misc U xenocara/font/misc-misc/10x20.bdf CVS [server aborted]: out of memory; can not allocate 2937909 bytes If I underst

Re: Powered by obsd stickers and other stuff

2007-11-10 Thread Jona Joachim
On Sat, 10 Nov 2007 01:18:42 +0100, Iqigo Tejedor Arrondo wrote: > Hello all > > Some art, at slw spanish foul asymetric connection. The sources are > xcf, at 1600x1200. > > Clarify that I am not a designer :) > > I have make the typical "Powered by" stickers: > http://inigo.homeunix.net

[solved] Re: problem installing some packages on 4.2

2007-11-10 Thread Ivo Chutkin
Hello Juan-Philippe, Thank you for opening my eyes :-))) I installed xbase42 and everything goes nice and smooth. Thanks a lot. Regards, Ivo Jean-Philippe Luiggi wrote: Hello Ivo, Did you check : http://openbsd.org/faq/upgrade42.html because libexpat is now shipped with X (until 4.3). Just

Problems with authpf

2007-11-10 Thread Johan Linner
Hi, Just installed a new firewall using flashdist and 4.2. When trying to authenticate by authpf we get the following error: pfctl: /dev/fd/4: Permission denied Unable to modify filters ls -la /dev/fd/4 crw-rw-rw- 1 root wheel 22, 4 Nov 6 17:03 /dev/fd/4 Don't now if this is a related pr

Re: Powered by obsd stickers and other stuff

2007-11-10 Thread Iñigo Tejedor Arrondo
El sC!b, 10-11-2007 a las 03:04 -0300, Limaunion escribiC3: > IC1igo Tejedor Arrondo wrote: > > El sC!b, 10-11-2007 a las 01:18 +0100, IC1igo Tejedor Arrondo escribiC3: > > > > oops > > > >> The sources (5.3Mm at 33k of upload): > >> http://inigo.homeunix.net/art.tgz > > > > It is: > > http

[EMAIL PROTECTED]: Re: identifying sparse files and get ride of them trick available?]

2007-11-10 Thread Otto Moerbeek
Forgat to send to the list. -Otto - Forwarded message from Otto Moerbeek <[EMAIL PROTECTED]> - Date: Sat, 10 Nov 2007 10:36:20 +0100 From: Otto Moerbeek <[EMAIL PROTECTED]> To: Richard Toohey <[EMAIL PROTECTED]> Subject: Re: identifying sparse files and get ride of them t

google team and the DIY way of life

2007-11-10 Thread xavier brinon
from the "Official Google Blog" "Posted by Reza Behforooz, Software Engineer In my first month at Google, I complained to a friend on the Gmail team about a couple of small things that I disliked about Gmail. I expected him to point me to the bug database. But he told me to fix it myself, pointin

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Richard Toohey
On 10/11/2007, at 9:32 PM, Otto Moerbeek wrote: yeah, look at stat(2): int64_tst_blocks; /* blocks allocated for file */ u_int32_t st_blksize; /* optimal file sys I/O ops blocksize */ actually st_blocks's unit is disk sectors, to be precise. I don't read perl, so I cannot comment on t

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Otto Moerbeek
On Sat, Nov 10, 2007 at 09:11:27PM +1300, Richard Toohey wrote: > On 10/11/2007, at 10:05 AM, Daniel Ouellet wrote: > > >Otto Moerbeek wrote: > >>stat -s gives the raw info in one go. Some shell script hacking > >>should > >>make it easy to detect sparse files. > > > >Thanks Otto for the suggest

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Richard Toohey
On 10/11/2007, at 9:11 PM, Richard Toohey wrote: (my $dev,my $ino,my $mode,my $nlink,my $uid,my $gid,my $rdev,my $size,my $atime,my $mtime,my $ctime,my $blksize,my $blocks) =sat($f); Oops - should end with: =stat($f); not =sat($f);

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Otto Moerbeek
On Fri, Nov 09, 2007 at 03:47:10PM -0500, Daniel Ouellet wrote: > Ted Unangst wrote: > >On 11/9/07, Daniel Ouellet <[EMAIL PROTECTED]> wrote: > >>Just for example, a source file that is sparse badly, don't really have > >>allocated disk block yet, but when copy over, via scp, or rsync will > >>act

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Richard Toohey
On 10/11/2007, at 10:05 AM, Daniel Ouellet wrote: Otto Moerbeek wrote: stat -s gives the raw info in one go. Some shell script hacking should make it easy to detect sparse files. Thanks Otto for the suggestion. That might help until it can be address for good. It would help speed up some

Re: identifying sparse files and get ride of them trick available?

2007-11-10 Thread Otto Moerbeek
On Fri, Nov 09, 2007 at 08:40:15PM +0200, Enache Adrian wrote: > On Fri, Nov 09, 2007 at 11:03:31AM +0100, Otto Moerbeek wrote: > > So your problem seems to be that rsync -S is inefficient to the point > > where it is not useable. I do not use rsync a lot, so I do not know > > if there's a solut