Re: 4.6 arriving

2009-10-04 Thread nuffnough
 Nope, not B at B all. B It was just an idea tossed out to:
 B  - see if it had any merit
 B  - perhaps spark some other thoughts on how to increase CD purchases
 B  - or to get flamed

 Its obvious which one you chose.

 I don't believe you. B You suggested it because you only thought of
 your own benefit, not of the amount of work others would have to do.

Perhaps not everyone who uses OpenBSD has your depth of understanding
of all these processes, Theo.  You're obviously intimately acquainted
with them,  but it is possible Rod might not have been.

You make very salient points about the suggestion being completely
unfeasable, but it seems quite possible that Rod thought he was making
a simple suggestion to solve a perceived problem.  Reading between the
lines,  it seems likely that Rod is also a subscriber to the disc set
and might perhaps feel a little taken aback at the vehemence of the
response.

And yes,  it might be that he's just some schmoe with a mate who's
gonna give him this password he's suggesting...  But to assume that
would also assume a much greater depth of thought than you've
otherwise attributed.



Re: 4.6 arriving

2009-10-04 Thread Theo de Raadt
  Nope, not B at B all. B It was just an idea tossed out to:
  B  - see if it had any merit
  B  - perhaps spark some other thoughts on how to increase CD purchases
  B  - or to get flamed
 
  Its obvious which one you chose.
 
  I don't believe you. B You suggested it because you only thought of
  your own benefit, not of the amount of work others would have to do.
 
 Perhaps not everyone who uses OpenBSD has your depth of understanding
 of all these processes, Theo.  You're obviously intimately acquainted
 with them,  but it is possible Rod might not have been.
 
 You make very salient points about the suggestion being completely
 unfeasable, but it seems quite possible that Rod thought he was making
 a simple suggestion to solve a perceived problem.  Reading between the
 lines,  it seems likely that Rod is also a subscriber to the disc set
 and might perhaps feel a little taken aback at the vehemence of the
 response.
 
 And yes,  it might be that he's just some schmoe with a mate who's
 gonna give him this password he's suggesting...  But to assume that
 would also assume a much greater depth of thought than you've
 otherwise attributed.

You're right.  Everything else which we do is so complicated, so why
can't we coordinate 50+ people we don't know to setup special accounts
on their ftp servers.  Why can't we do something so trivial?  Must be
simple resistance.

Or we must be utterly incompetent morons to not be able to do that!
Good god! We're such morons, why trust us for anything at all.

I am just plain fed up with the bullshit you cowards spew.



GESTÃO MOTIVACIONAL:Francisca sofre

2009-10-04 Thread Gest?o Motivacional
GESTCO MOTIVACIONAL


-
---


Francisca sofre

Francisca esta nos famosos 40, casada com filhos. Nco se cuida nem tem muita
atengco ` sua aparjncia, diz que pensa primeiro nos outros, na sua familia. I
primeiro mce e esposa, do que ela prspria. Tem varios problemas de sazde que a
impede de fazer tantas coisas, uma dela de viver o seu afecto sexual com seu
marido. Acredita que tem a vida que tem, pois sco provas que lhe sco colocadas
diariamente e nco ha vida sem sofrimento.

Mas tera que a vida ser sinsnimo de sofrimento? Ela tem andado a se enganar, a
criar problemas de sazde a ela prspria, a inventar desculpas exteriores para
nco ouvir o seu interior. O seu interior esta em sofrimento! I prefermvel nco
ter afecto sexual pois a doenga nco permite, do que ver que nco i desejada.
Mas como podera ser desejada? Se o que fala com seu companheiro sco os
lamentos e ais, se pouco ou nada conversam? Cada um tem os seus amantes,
os seus clubes e desculpas para estarem fora de casa, pois desculpam-se com a
cara muito cansada das actividades externas, para alim, claro, do trabalho.

Ninguim i feliz, mas sobrevivem ao inferno diario de mais um dia em que nco se
encontram. Ja nem falo do sexo, pois embora alguns se lamentam dizendo ja nem
sexo fazemos, acredito que a sexualidade i uma consequjncia do ja nem
conversa temos.

Se precisar de ajuda para o primeiro degrau.

Myguel Santos e Castro   Clmnica Integrada Av. dos Maristas, 392 Parede
2775-241 Parede Tel. 214582406 Consultas:60?
http://gestaomotivacional.blogs.sapo.pt/



tmux send command to all panes

2009-10-04 Thread Tomasz Pajor

As in topic, can I send commands to all open panes?

--
Best regards
Tomasz Pajor



Re: tmux send command to all panes

2009-10-04 Thread Nicholas Marriott
Hi

Do you mean tmux commands or typing?

There is no way to specify multiple panes/windows/anything to a single tmux
command at the moment. You can do most things with a shell script though.

A few people have suggested some abilities along the lines of omnitty or
clusterssh but I'm not sure it is a good idea, or of the best way to do it
right now.


On Sun, Oct 04, 2009 at 10:40:12AM +0200, Tomasz Pajor wrote:
 As in topic, can I send commands to all open panes?
 
 --
 Best regards
 Tomasz Pajor



Re: Dell Latitude E6400 'sluggish' keyboard response with ACPI enabled

2009-10-04 Thread Martin Toft
On Sat, Oct 03, 2009 at 05:14:15PM -0500, Marco Peereboom wrote:
 This fixes it.  I need to come up with a way to get this in the tree
 without breaking IBM T21.
 
 ...

Thank you very much, Marco. I can't wait to try the diff. Unfortunately,
I don't have time today or tomorrow, so you'll have to wait for
potential feedback...

Rogier: I experience the same thing. Among a couple of other dmesg@
mails, I sent the following mail in August:

- Forwarded message from Martin Toft m...@martintoft.dk -

Date: Wed, 5 Aug 2009 11:31:09 +0200
From: Martin Toft m...@martintoft.dk
To: dm...@openbsd.org
Subject: Re: Dell Latitude E6400, everything works, had to switch disk 
controller to ATA (from IRR) in BIOS to detect disk

Some things I've discovered since I sent the dmesg:

- The cdrom drive isn't detected when the disk controller is set to ATA
  in BIOS. This is also the case in Ubuntu Linux 9.04 (I dual-boot
  OpenBSD and Ubuntu).
- The laptop's keyboard is very annoying in OpenBSD. With about 10-20
  second intervals, either single key presses are lost or a key press is
  repeated 5-10 times. My guess is that it's an USB keyboard, and
  OpenBSD is probably not powering down (or up) the relevant USB
  controller properly in connection with halt (or boot). It's a wild
  guess, of course.

As a non-expert, I unfortunately have no solution for the keyboard
problem. I'm ready to test anything sent in my direction.

Thanks for a great OS.

Best regards,
Martin

- End forwarded message -



Re: tmux send command to all panes

2009-10-04 Thread Tomasz Pajor

Do you mean tmux commands or typing?
  

I mean typing.

There is no way to specify multiple panes/windows/anything to a single tmux
command at the moment. You can do most things with a shell script though.

A few people have suggested some abilities along the lines of omnitty or
clusterssh but I'm not sure it is a good idea, or of the best way to do it
right now.
  
What I want to achieve here is that, for example i have 4 servers. I 
created one window, split it to 4 panes, and want to send all the 
commands that I will do to all 4 panes in the same time. So i'm typing 
in one pane and the input goes to the other 3 panes as well.


Do You see this kind of behaviour going in to tmux?



Re: tmux send command to all panes

2009-10-04 Thread Tomasz Pajor

Do you mean tmux commands or typing?
  

I mean typing.


There is no way to specify multiple panes/windows/anything to a single tmux
command at the moment. You can do most things with a shell script though.

A few people have suggested some abilities along the lines of omnitty or
clusterssh but I'm not sure it is a good idea, or of the best way to do it
right now.
  

What I want to achieve here is that, for example i have 4 servers. I
created one window, split it to 4 panes, and want to send all the
commands that I will do to all 4 panes in the same time. So i'm
typing in one pane and the input goes to the other 3 panes as well.

Do You see this kind of behaviour going in to tmux?


Maybe. It wouldn't be hard to have a window flag to make it echo all input to
every pane that is part of a window, but at the moment it isn't there. I'll
have a look at it at some time probably.
  

This would be great Nicholas! I'm looking forward to testing this.



Re: tmux send command to all panes

2009-10-04 Thread Nicholas Marriott
On Sun, Oct 04, 2009 at 11:01:35AM +0200, Tomasz Pajor wrote:
 
 Do you mean tmux commands or typing?
 I mean typing.
 There is no way to specify multiple panes/windows/anything to a single tmux
 command at the moment. You can do most things with a shell script though.
 
 A few people have suggested some abilities along the lines of omnitty or
 clusterssh but I'm not sure it is a good idea, or of the best way to do it
 right now.
 What I want to achieve here is that, for example i have 4 servers. I
 created one window, split it to 4 panes, and want to send all the
 commands that I will do to all 4 panes in the same time. So i'm
 typing in one pane and the input goes to the other 3 panes as well.
 
 Do You see this kind of behaviour going in to tmux?

Maybe. It wouldn't be hard to have a window flag to make it echo all input to
every pane that is part of a window, but at the moment it isn't there. I'll
have a look at it at some time probably.



Re: Dell Latitude E6400 'sluggish' keyboard response with ACPI enabled

2009-10-04 Thread Rogier Krieger
On Sun, Oct 4, 2009 at 00:14, Marco Peereboom sl...@peereboom.us wrote:
 This fixes it.  I need to come up with a way to get this in the tree
 without breaking IBM T21.

Indeed it does. Where I originally noticed the problem very quickly
after system startup, it now seems to have disappeared. I still see
acpidump segfaulting (but I can't tell whether that's a related issue
or not). Tested on GENERIC.MP built this morning.

dmesg 4.6-current (Oct. 4, amd64)
http://pastebin.com/f605fda4d

acpidump 4.6-current (Oct. 4, amd64)
http://pastebin.com/f45f19d9d
(acpidump still segfaults when run; if desired, I have the core file saved)

If I can be of help testing further, please let me know. Thanks for
the quick response.

Regards,

Rogier



Re: xauth

2009-10-04 Thread Rein Kadastik
On Sun, Jul 19, 2009 at 10:49 AM, Matthias Kilian
k...@outback.escape.de wrote:
 On Sun, Jul 19, 2009 at 02:38:08AM +, 4625 wrote:
 On first run and exit from X, I have 'Segmentation fault (core dumped)'
 (xauth.core).
 [...]
 How old is you X installation? Afaik this bug was fixed in march 09.
 My X come with OpenBSD 4.5 distributive.

 The fix had been merged to the stable branch (OPENBSD_4_5) of
 xenocara, so just rebuild xauth from this branch.

 Or look for duplicate entries in your /etc/hosts and remove them.

 Ciao,
Kili



Instead of fixing Xenocara or other programs, the proper way to solve
this issue is to elliminate the possibility to have multiple records
of the same host in /etc/hosts file.

I was stunned to see that after installing fresh OpenBSD and
configuring and setting it up, I had several entries for 127.0.0.1 in
my hosts file without modifying it by hand. It is clearly a flaw in
OpenBSD or even standard Unix libraries.

So the patch for Xenocara is a quickhack instead of a fix for the problem.

If there are several entries of the same host in hosts file, then I
would expect misbehaving programs all over the place but unfortunately
only xauth was complaining



Re: xauth

2009-10-04 Thread Rod Whitworth
On Sun, 4 Oct 2009 13:03:02 +0300, Rein Kadastik wrote:

On Sun, Jul 19, 2009 at 10:49 AM, Matthias Kilian
k...@outback.escape.de wrote:
 On Sun, Jul 19, 2009 at 02:38:08AM +, 4625 wrote:
 On first run and exit from X, I have 'Segmentation fault (core dumped)'
 (xauth.core).
 [...]
 How old is you X installation? Afaik this bug was fixed in march 09.
 My X come with OpenBSD 4.5 distributive.

 The fix had been merged to the stable branch (OPENBSD_4_5) of
 xenocara, so just rebuild xauth from this branch.

 Or look for duplicate entries in your /etc/hosts and remove them.

 Ciao,
Kili



Instead of fixing Xenocara or other programs, the proper way to solve
this issue is to elliminate the possibility to have multiple records
of the same host in /etc/hosts file.

I was stunned to see that after installing fresh OpenBSD and
configuring and setting it up, I had several entries for 127.0.0.1 in
my hosts file without modifying it by hand. It is clearly a flaw in
OpenBSD or even standard Unix libraries.

So the patch for Xenocara is a quickhack instead of a fix for the problem.

If there are several entries of the same host in hosts file, then I
would expect misbehaving programs all over the place but unfortunately
only xauth was complaining


here is a very recent install's hosts file:
 cat /etc/hosts
#   $OpenBSD: hosts,v 1.12 2009/03/10 00:42:13 deraadt Exp $
#
# Host Database
#
# RFC 1918 specifies that these networks are internal.
# 10.0.0.0  10.255.255.255
# 172.16.0.0172.31.255.255
# 192.168.0.0   192.168.255.255
#
127.0.0.1   localhost
::1 localhost
192.168.80.167  ner0.witworx.com ner0
end of file
I see only one line for each address. It is totally autogenerated.

Why do you have more than one line per address? We haven't seen your
hosts file so we are only guessing.

I cannot find any machines around here (including old stuff that isn't
updated because it's only for being a PXE boot-server on the LAN etc.)
that has it otherwise.

*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: xauth

2009-10-04 Thread Matthias Kilian
On Sun, Oct 04, 2009 at 01:03:02PM +0300, Rein Kadastik wrote:
  The fix had been merged to the stable branch (OPENBSD_4_5) of
  xenocara, so just rebuild xauth from this branch.
 
  Or look for duplicate entries in your /etc/hosts and remove them.
 
 Instead of fixing Xenocara or other programs, the proper way to solve
 this issue is to elliminate the possibility to have multiple records
 of the same host in /etc/hosts file.

Like, make it read-only and immutable or some shit?

 I was stunned to see that after installing fresh OpenBSD and
 configuring and setting it up, I had several entries for 127.0.0.1 in
 my hosts file without modifying it by hand. It is clearly a flaw in
 OpenBSD or even standard Unix libraries.

This shouldn't happen, I didn't see this in recent installs. I don't
have spare box for testing, but since Rod already wrote that he
doesn't have seen duplicate entries in his installs, I doubt there's
an error in the installer.

 So the patch for Xenocara is a quickhack instead of a fix for the problem.

Fixing a NULL pointer deref is a quick hack? Did you even *look*
at the bug and the bug fix?

 If there are several entries of the same host in hosts file, then I
 would expect misbehaving programs all over the place but unfortunately
 only xauth was complaining

xauth didn't complain, it crashed. Because it had a bug. That bug
has been fixed. So what?

Ciao,
Kili



Re: 4.6 arriving

2009-10-04 Thread Chris Bennett

Theo de Raadt wrote:

Nope, not B at B all. B It was just an idea tossed out to:
B  - see if it had any merit
B  - perhaps spark some other thoughts on how to increase CD purchases
B  - or to get flamed

Its obvious which one you chose.


I don't believe you. B You suggested it because you only thought of
your own benefit, not of the amount of work others would have to do.
  

Perhaps not everyone who uses OpenBSD has your depth of understanding
of all these processes, Theo.  You're obviously intimately acquainted
with them,  but it is possible Rod might not have been.

You make very salient points about the suggestion being completely
unfeasable, but it seems quite possible that Rod thought he was making
a simple suggestion to solve a perceived problem.  Reading between the
lines,  it seems likely that Rod is also a subscriber to the disc set
and might perhaps feel a little taken aback at the vehemence of the
response.

And yes,  it might be that he's just some schmoe with a mate who's
gonna give him this password he's suggesting...  But to assume that
would also assume a much greater depth of thought than you've
otherwise attributed.



You're right.  Everything else which we do is so complicated, so why
can't we coordinate 50+ people we don't know to setup special accounts
on their ftp servers.  Why can't we do something so trivial?  Must be
simple resistance.

Or we must be utterly incompetent morons to not be able to do that!
Good god! We're such morons, why trust us for anything at all.

I am just plain fed up with the bullshit you cowards spew.


  

Well, I just don't care when you let it out.
Wait another month if you want to.

I only run official releases on my server, and 4.5, 4.4, 4.3, 4.2 and 
4.1 never seemed even slightly broken to me!


Things will be better with 4.6. Looking forward to it.
But if someone simply MUST have a new feature, -current works just fine 
on my desktop.


Thanks Theo and developers!

Chris Bennett



Re: /dev/audio: Device busy

2009-10-04 Thread Kenneth R Westerback
On Sat, Oct 03, 2009 at 02:33:37PM -0700, Buzzer wrote:
 pO DANNYM RADIOPEREHWATA OT  3-Oct-2009 07:07, Jacob Meuser
 BYL ZAME^EN W \FIRE, NA ^ASTOTE misc, S TAKIM SOOB]ENIEM:
 
 On ttyC0 following message appers: 'sbdsp_trigger_input:
 width=8 bad chan 5'.

see the BUGS section of sb(4) (and consider getting different
hardware).
   
   Do you suggest to change play.precision to 8?
  
  at src/sys/dev/isa/sb* and make it work like you think it should.
  then share your work with everyone else, and try to help them
  when they have questions.
 
 Before advice it to eveyrone, make sure that everyone have suitable
 skill. But first of all, complete the FAQ.
 
   My hardware works perfectly on FreeBSD 4.11.
  
  yippee-ki-yay for FreeBSD 4.11!!!
 
 I do not understand what you mean. Do you have something against
 FreeBSD 4.11?

We just don't care what FreeBSD 4.11 does. We are not trying to do
the same things. Your hardware works on FreeBSD 4.11 because of
something they do. Other hardware works on OpenBSD because of
something we (well, Jacob or Alex) do. So what?

 
you may want to use '-m play' when sarting aucat server.
   
   Device busy.
  
  Input/output error.
 
 FAQ.
 
 -- 
 /Buzzer   () KAMPANIQ ascii ribbon - PROTIW PISEM W html FORMATE
   /\ www.asciiribbon.org   - PROTIW PROPRIETARNYH WLOVENIJ
 

Annoying.

 Ken



Backplanes

2009-10-04 Thread Gaby Vanhegan
Does anybody have any good/bad experiences using any of the IcyBox  
SATA backplanes?  They're not expicitly listed in /i386.html and I'm  
looking to use one with an LSI MegaRaid card in RAID5 mode.

Some have one port per drive, some have two ports for all 5 drives, I  
guess I want the one port per drive model but having not used a  
backplane before I'd love to hear any tips and advice on offer.

Thanks,

Gaby

--
Junkets for bunterish lickspittles since 1998!
http://www.playr.co.uk/



Re: /dev/audio: Device busy

2009-10-04 Thread Alexandre Ratchov
On Sat, Oct 03, 2009 at 02:33:37PM -0700, Buzzer wrote:
 pO DANNYM RADIOPEREHWATA OT  3-Oct-2009 07:07, Jacob Meuser
 BYL ZAME^EN W \FIRE, NA ^ASTOTE misc, S TAKIM SOOB]ENIEM:
 
 On ttyC0 following message appers: 'sbdsp_trigger_input:
 width=8 bad chan 5'.

see the BUGS section of sb(4) (and consider getting different
hardware).
   
   Do you suggest to change play.precision to 8?
  
  at src/sys/dev/isa/sb* and make it work like you think it should.
  then share your work with everyone else, and try to help them
  when they have questions.
 
 Before advice it to eveyrone, make sure that everyone have suitable
 skill. But first of all, complete the FAQ.
 

please don't tell us what to do. We're neither your slaves,
nor we're payed to do what you ask for.

After reading all this thread, I don't feel enthousistic
about helping you. 

-- Alexandre



Re: /dev/audio: Device busy

2009-10-04 Thread Alexandre Ratchov
On Fri, Oct 02, 2009 at 02:33:27PM -0700, Buzzer wrote:
 pO DANNYM RADIOPEREHWATA OT  2-Oct-2009 07:18, Paul de Weerd
 BYL ZAME^EN W \FIRE, NA ^ASTOTE misc, S TAKIM SOOB]ENIEM:
 
  |   I need to play a few audio files simultaneously.
  | 
  |   can't open /dev/audio: Device busy.
  | 
  |  man 1 aucat
  |
  | Could you be more verbose? What make you think that I did not read man
  | aucat?
  
  tried aucat. Mine seems to be misfunctioning too, can you share with
  the list what problems you had with aucat in servermode ? Did it give
  any errormessages ?
 
 I ran aucat with '-l' key, then I try to play wav file with 'aucat
 file.wav' command or 'aucat -s deafault file.wav'.
 
 aucat -s default send.wav
 aucat: can't open /dev/audio: Device busy
 aucat: send.wav: could not play
 
  You know, if you assume we can read your mind, we're going to make
  some assumptions of our own...
 
 I'm waiting for step by step advices. It would be good idea to make
 suitable issue in the FAQ.
 

Here are the steps you asked for:

 * read sb(4) and notice that your hardware is not completely
   full-duplex in 16-bit mode:

 With a SoundBlaster 16 card the device is full duplex, but it can only
 sensibly handle a precision of 8 bits.  It does so by extending the out-
 put 8 bit samples to 16 bits and using the 8 bit DMA channel for input
 and the 16 bit channel for output.

 * read aucat(1) and figure out how to start it in
   play-only server mode 

 -l  Listen for incoming connections on Unix domain sockets.  This al-
 lows clients to use aucat instead of the regular audio(4) device
 for audio input and output in order to share the physical device
 with other clients.  The default socket name is default but other
 names can be used with the -s option.

 -m mode
 Set the server mode.  Valid modes are play, rec, and duplex, for
 play-only, record-only, and full-duplex, respectively.  The de-
 fault is duplex.

   Hint: you probably need ``-l -m play''

 * start it, and play any file to check that it worked,
   possibly read again aucat(1). Hint:

 -i file
 Add this file to the list of files to play.  If the option argu-
 ment is `-' then standard input will be used.


 * if it still doesn't work, search in the archives and
   see if anybody else has the solution of the same or
   related problems

 * if it still doesn't work, check whether related problems were
   solved in -CURRENT, possibly try -CURRENT

 * if it still doesn't work, send a *friendly* e-mail to the list
   showing that you've read the manual, that you understand
   the manual, that you have done what's explained in the
   manual.

 * possibly share the solution you've found, possibly improve the FAQ.

To summarize, just type:

$ aucat -l -m play

and check that it works:

$ aucat -i whatever.wav

-- Alexandre



Re: Backplanes

2009-10-04 Thread Marco Peereboom
Don't use dual port on SATA unless you have some sort of interposer
(little device between the drive and the backplane) that unfucks the
SATA protocol.

On Sun, Oct 04, 2009 at 04:50:47PM +0100, Gaby Vanhegan wrote:
 Does anybody have any good/bad experiences using any of the IcyBox  
 SATA backplanes?  They're not expicitly listed in /i386.html and I'm  
 looking to use one with an LSI MegaRaid card in RAID5 mode.
 
 Some have one port per drive, some have two ports for all 5 drives, I  
 guess I want the one port per drive model but having not used a  
 backplane before I'd love to hear any tips and advice on offer.
 
 Thanks,
 
 Gaby
 
 --
 Junkets for bunterish lickspittles since 1998!
 http://www.playr.co.uk/



Re: Backplanes

2009-10-04 Thread Gaby Vanhegan

On 4 Oct 2009, at 17:11, Marco Peereboom wrote:


Don't use dual port on SATA unless you have some sort of interposer
(little device between the drive and the backplane) that unfucks the
SATA protocol.



The current setup is a 4 channel SATA RAID card directly connected to  
each of the four drives.  I suppose all I really need is just a set of  
removable caddies, perhaps a dedicated backplane is overkill.


G.

--
Expounding the theory of infinite Abelian Badgers
http://playr.co.uk/



Re: automating 'fsck -y' after a power failure

2009-10-04 Thread frantisek holop
hmm, on Fri, Oct 02, 2009 at 10:49:56PM +0200, Otto Moerbeek said that
  here's the thing: even though every single diagnostic message
  fsck may produce is documented in /usr/share/doc/smm/03.fsck_ffs
  i dont see how these questions help at all.  what i mean is,
  there is nothing to compare the diagnostic data to anyway, so
  what is the answer going to be based on?  so far i have always
  only took the leap of faith and pressed yes or always..  what
  else is there to do?
 
 make a dump of the partition before going to execute potentially data
 destroying actions?

yes, this is sound advice of course.  but what are you going
to do with the dump if say, fsck is not able to revive the fs?
dump it back, run fsck again and answer no at a couple of
fsck prompts?  how is it going to change anything in the end?

-f
-- 
forget everything, as one day everything will forget you.



Re: automating 'fsck -y' after a power failure

2009-10-04 Thread Otto Moerbeek
On Sun, Oct 04, 2009 at 07:58:06PM +0200, frantisek holop wrote:

 hmm, on Fri, Oct 02, 2009 at 10:49:56PM +0200, Otto Moerbeek said that
   here's the thing: even though every single diagnostic message
   fsck may produce is documented in /usr/share/doc/smm/03.fsck_ffs
   i dont see how these questions help at all.  what i mean is,
   there is nothing to compare the diagnostic data to anyway, so
   what is the answer going to be based on?  so far i have always
   only took the leap of faith and pressed yes or always..  what
   else is there to do?
  
  make a dump of the partition before going to execute potentially data
  destroying actions?
 
 yes, this is sound advice of course.  but what are you going
 to do with the dump if say, fsck is not able to revive the fs?
 dump it back, run fsck again and answer no at a couple of
 fsck prompts?  how is it going to change anything in the end?
 

You have several options: consult an expert and indeed answer n to
some of the prompts, mount -f the fs and recover your most important
files, use the image as a test case to improve fsck_ffs...  there are
probably more cases why having a dump of the inconsistent fs can be good.

-Otto



Re: automating 'fsck -y' after a power failure

2009-10-04 Thread bofh
What does fsck mean?  I always thought it was those strange bearded
sysadmins private cuss word as they always seem to scream *fsck yes
damnit!!!* whenever the system crashes

On 10/2/09, frantisek holop min...@obiit.org wrote:
 hmm, on Fri, Oct 02, 2009 at 07:31:39PM +0200, Otto Moerbeek said that
  fsck -y
 
  after a power or other type of failure,
  in cases the automatic file system check fails?

 If that was a wisething to do, we would have already done so. In other
 words, it is not wise. It's foolish.

 as usually, i absolutely agree with you Otto.

 however.

 please all the people in the room raise their hands who have the
 faintest idea about what 95% of the questions that fsck is going to ask
 them on a seriously borked fs mean.  my hat goes off to them.

 here's the thing: even though every single diagnostic message
 fsck may produce is documented in /usr/share/doc/smm/03.fsck_ffs
 i dont see how these questions help at all.  what i mean is,
 there is nothing to compare the diagnostic data to anyway, so
 what is the answer going to be based on?  so far i have always
 only took the leap of faith and pressed yes or always..  what
 else is there to do?

 a couple of months ago, after a certain incident on my notebook
 i was presented with a borked suberblock and after i have
 figured out that the backup superblock were usable, i just
 crossed my fingers and after a dry run i started fsck.

 i got some 7700 'UNKNOWN FILE TYPE's, an unallocated root inode,
 bad magic numbers for CGs and fsck messages i have never had the
 luck meeting with before... (should read 03.fsck_ffs one of
 these days probably -- but even then, i would just say yes
 on every question)

 unfortunately i dont have a transcript of that fsck session,
 i do however have a screenshot of the last phase:

 ** Phase 5 - Check Cyl groups
 CG 0: BAD MAGIC NUMBER
 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? yes

 SUMMARY INFORMATION BAD
 SALVAGE? yes

 BLK(S) MISSING IN BIT MAPS
 SALVAGE? yes

 118774 files, 4966785 used, 2542705 free (17073 frags, 315704 blocks, 0.2%
 fragmentation)

 UPDATE STANDARD SUPERBLOCK? yes


 MARK FILE SYSTEM CLEAN? yes


 * FILE SYSTEM WAS MODIFIED *

 (for the curious: all my files survived under lost+found.  i was
 as happy as it can be)

 if fsck thinks there is a problem, there is nothing left but to press y
 anyway.  although i'd very much like to read stories of other admins
 doing otherwise.

 -f
 --
 atheism is a non-prophet organization.



-- 
Sent from my mobile device

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



Re: automating 'fsck -y' after a power failure

2009-10-04 Thread Joachim Schipper
On Sun, Oct 04, 2009 at 07:58:06PM +0200, frantisek holop wrote:
 hmm, on Fri, Oct 02, 2009 at 10:49:56PM +0200, Otto Moerbeek said that
   here's the thing: even though every single diagnostic message
   fsck may produce is documented in /usr/share/doc/smm/03.fsck_ffs
   i dont see how these questions help at all.  what i mean is,
   there is nothing to compare the diagnostic data to anyway, so
   what is the answer going to be based on?  so far i have always
   only took the leap of faith and pressed yes or always..  what
   else is there to do?
  
  make a dump of the partition before going to execute potentially data
  destroying actions?
 
 yes, this is sound advice of course.  but what are you going
 to do with the dump if say, fsck is not able to revive the fs?
 dump it back, run fsck again and answer no at a couple of
 fsck prompts?  how is it going to change anything in the end?

Well, if fsck can't revive your partition, you can always try different
tools. Something like fsdb may be able to recover part or all of your
filesystem even in cases where fsck loses the plot. There is also the
Sleuth kit.

And if all else fails, you can always write your own software/grep
through the raw disk/etc. fsck is great at what it does, but it's not
the only game in town.

Needless to say, restoring from backup is easier than reconstructing a
filesystem from a hex dump of the disk. But sometimes you don't have
backups...

Joachim



Re: Bluetooth (rfcomm_sppd) problem

2009-10-04 Thread Jan-Erik Skata
Tried that now, all three modes and also tried the plain serial port
SP service. No luck...
Any ideas before I reinstall this machine with Linux? ;)


On Wed, Sep 23, 2009 at 3:51 AM, Andrej Elizarov vigilan...@gmail.com
wrote:
 try to play with mode param rfcomm_sppd.
 try another phone. if still no connection - problem on your side.
 at first time i spent whole day to pair nokia 7610 with laptop for gprs.

 2009/9/22 Jan-Erik Skata jesk...@gmail.com

 On Wed, Sep 9, 2009 at 10:46 PM, Jan-Erik Skata jesk...@gmail.com wrote:
  I have followed this guide: http://tp76.info/btnet.html and get as far
  as to
  set up rfcomm_sppd. Phone asks for the pin but then it is unable to
  connect;
  rfcomm_sppd: connect(00:11:22:33:44:55, 2): Connection timed out
 
  The phone is a Nokia E60 and works fine for 3G with Bluetooth under
  Linux.
  Any ideas?
 

 I am about to give up on this...  Have got the phone paired with the
 computer by starting up sdpd and searching for devices with the phone,
 yet as I try to connect with rfcomm_sppd, it gives Connection timed
 out and the paired computer disappears from the phone.
 Tried deleting all the config files mentioned in the
 btconfig/sdpd/bthcid man pages without further success.
 The channel 2 for DUN is correct, that works with BlueZ under Linux.
 Have also tried the BT stick on my Linux machine and it also works.



Re: automating 'fsck -y' after a power failure

2009-10-04 Thread James Hartley
On Sun, Oct 4, 2009 at 11:26 AM, bofh goodb...@gmail.com wrote:

 What does fsck mean?


Filesystem check.



Re: /dev/audio: Device busy

2009-10-04 Thread Buzzer
pO DANNYM RADIOPEREHWATA OT  4-Oct-2009 02:58, Jona Joachim
BYL ZAME^EN W \FIRE, NA ^ASTOTE inbox, S TAKIM SOOB]ENIEM:

 On ttyC0 following message appers: 'sbdsp_trigger_input:
 width=8 bad chan 5'.

see the BUGS section of sb(4) (and consider getting different
hardware).
   
   Do you suggest to change play.precision to 8?
  
  at src/sys/dev/isa/sb* and make it work like you think it should.
  then share your work with everyone else, and try to help them when
  they have questions.
 
  Before advice it to eveyrone, make sure that everyone have suitable
  skill. But first of all, complete the FAQ.
 
 You are not in a position where you can command anybody to do anything.

Every respectable project must have good FAQ. Current FAQ not so bad,
but something missing there.

   My hardware works perfectly on FreeBSD 4.11.
  
  yippee-ki-yay for FreeBSD 4.11!!!
 
  I do not understand what you mean. Do you have something against
  FreeBSD 4.11?
 
 It's very easy, if you prefer FreeBSD then use FreeBSD.

Currently I'm look at an OpenBSD, before choose suitable OS.
You are not in a position to advice me which one OS should I try.
However, you can to thank me for my bug reports and proposes, of
course, if you are aim to make OS better and understandable for new
users. Otherwise, you will get 'Device busy II'. By the way, 'Xterm
cyrillic problem II' you've got.

I do not want to hear anything else. Thread closed.

-- 
/Buzzer () KAMPANIQ ascii ribbon - PROTIW PISEM W html FORMATE
/\ www.asciiribbon.org   - PROTIW PROPRIETARNYH WLOVENIJ



Configuring Dovecot to run with MySQL

2009-10-04 Thread jean-francois
Hello,

Sorry for bothering you with this however I am having difficulties with
dovecot and mysql. Both are individually installed and Mysql is actually
running well.

I could not make a correct config file of dovecot, it simply makes fatal
error at the time I try to start Dovecot.

If someone has properly configured dovecot.conf with running along with
mysql as accounts database, would the file be sent to me as an example
or some help be given please ?

Thank you



Would a consolidated greytrapping list be useful?

2009-10-04 Thread Peter N. M. Hansteen
I suppose everybody here knows what greytrapping is and why no spamd
setup is really complete without at least Bob Beck's uatraps in its
config.  But then some of do our own local greytrapping, and I for one
have been exporting the contents of my local-greytrap once per hour to
a publicly accessible location for the benefit of anybody who wants to
use the information.

I assume there are others out there who do their own greytrapping, and
it might be a good thing for all of us if the data generated at those
various locations was made available to others.  The data would likely
overlap quite a bit with established sources such as uatraps and
nixspam, but more likely than not we would be catching a few that
would otherwise slip through the cracks.

So I'm considering setting up a consolidated greytrap list to
supplement uatraps and others, if other greytrappers out there are
willing to share their data.  

My list is available at [1], with a the list of trap addresses and
some description at [2], with a policy statement of sorts at [3] (I
imagine I would require a similar statement from any participants),
and various field notes available at my blog (see the signature).

Would something like this be useful?  Any comments and feedback
(including why this would be a monumentally stupid idea) welcome.

- Peter


[1] http://www.bsdly.net/~peter/bsdly.net.traplist 
[2] http://www.bsdly.net/~peter/traplist.shtml
[3] http://www.bsdly.net/~peter/traplist_ethics.html
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Would a consolidated greytrapping list be useful?

2009-10-04 Thread Jona Joachim
On 2009-10-04, Peter N. M. Hansteen pe...@bsdly.net wrote:
 I suppose everybody here knows what greytrapping is and why no spamd
 setup is really complete without at least Bob Beck's uatraps in its
 config.  But then some of do our own local greytrapping, and I for one
 have been exporting the contents of my local-greytrap once per hour to
 a publicly accessible location for the benefit of anybody who wants to
 use the information.

 I assume there are others out there who do their own greytrapping, and
 it might be a good thing for all of us if the data generated at those
 various locations was made available to others.  The data would likely
 overlap quite a bit with established sources such as uatraps and
 nixspam, but more likely than not we would be catching a few that
 would otherwise slip through the cracks.

 So I'm considering setting up a consolidated greytrap list to
 supplement uatraps and others, if other greytrappers out there are
 willing to share their data.  

 My list is available at [1], with a the list of trap addresses and
 some description at [2], with a policy statement of sorts at [3] (I
 imagine I would require a similar statement from any participants),
 and various field notes available at my blog (see the signature).

 Would something like this be useful?  Any comments and feedback
 (including why this would be a monumentally stupid idea) welcome.

I definetely welcome this, I added your blacklist to my spamd.conf and
I'll see how it works out. I don't do greytrapping yet but I may
consider it in the future.

Best regards,
Jona

-- 
Worse is better
Richard P. Gabriel



Re: Configuring Dovecot to run with MySQL

2009-10-04 Thread Joachim Schipper
On Sun, Oct 04, 2009 at 10:25:07PM +0200, jean-francois wrote:
 Hello,
 
 Sorry for bothering you with this however I am having difficulties with
 dovecot and mysql. Both are individually installed and Mysql is actually
 running well.
 
 I could not make a correct config file of dovecot, it simply makes fatal
 error at the time I try to start Dovecot.
 
 If someone has properly configured dovecot.conf with running along with
 mysql as accounts database, would the file be sent to me as an example
 or some help be given please ?

Just to rule out the most obvious issue: do you have the -mysql flavour
installed?

You are likely to get more useful responses if you can post the output
of Dovecot. This can typically be found in /var/log/maillog.

Joachim



From Microsoft (Email Winning Notification) (Contact Paying Bank)

2009-10-04 Thread Microsoft Corporations
***DO NOT DELETE THIS
MESSAGE**

Microsoft Corporation
EU INTERNATIONAL
EMAIL PROGRAM
TEL/FAX : +44 7006-041-071


Microsoft Corporation wishes to congratulate you for being one of the lucky
winners in this freelotto summer destiny email cash award program. With the
introduction of
new types of games, with the ushering in of on-line technology and with the
permits issued under EU laws to compete for concessions to
run games on the internet, we are launching our first international
promotion.
This is an independent promotion and is unconnected to any publication.
No purchase necessary. Be informed that this destiny lottery promotion was
conducted
through the Internet worldwide random selection, we are running a program
where instead of bought tickets and numbers in the ballots we use email
addresses. All contestants were selected through a computer ballot system
drawn from email addresses taken from all over the world.
the participants and winners where picked randomly through a computer ballot
system and your email address have been selected as one of the lucky winners.

Your email have been officially selected as a winner and authorised for
claim in the 2nd category winning prize of One Million Five Hundred
Thousand Pounds.

For payment of your winning prize outlined herein are the terms and conditions
for claim/onward transfer:

1. You must be over the age of 18.

2. All winnings has been Guaranteed and Insured.

3. All winnings must be transfered via a bank cheque or bank to bank
transfer.(2/3days)

4. An offshore account has been set up with paying bank on winner's behalf for
onward transfer to nominated account.

5.Winners not living in the UK: Non-resident winners are responsible for
confirmation and activation/ legal fees for offshore
account with paying bank for onward transfer.
:Due to the Insurance Bond Policy which has been paid for,your winning prize
must reflect the exact amount
won on the offshore account set up for onward transfer to avoid
complications.

6. The confirmation and activation of the offshore account completes the claim
process,
failure to do so will cause you to forfeit the prize.

7. Any leak of your winning information resulting in a double claim, will
nullify your winnings.


8. You are obliged to have your name published as a winner and will be invited
to be present in the t.v.show after remittance.

9. To be eligible for claim you must complete the claims process before the
deadline stated in the winning notification you received.

10. Filing a claim means acceptance of the full terms and conditions of
Microsoft Corporation.


If you agree to the terms and conditions for claim and onward transfer of your
winning prize,
reply with your details and reference to the payout bank contact below stating
that you agree to the terms and conditions and that you
wish to confirm your winning prize and activate your offshore account for
onward transfer.


CALL AND CONTACT BANK FOR VERIFICATION:

POST / ING BANK
CONTACT PERSON:
BETH PORTMOTH (MRS)
TEL: (44) 7919 671 337
FAX: (44) 7006 041 056
FAX: (44) 7006 059 415
EMAIL: transfer_mana...@post.com / beth.portm...@post.com



Send the following to the Transfer Manager above by email or fax:

Coupon Number: 378-659-132
Reference Number:  ING/83470/XEU
Full Name:
Date of Birth:
Occupation:
Address:
Country:
Telephone:
Email:
Winning Prize:
Proof of identity: Passport Copy / Identity Card / Driver's License.

Send the above details along with a proof of identification by fax if you find
it difficult sending an email.


KEEP THIS WINNING NOTIFICATION AWAY FROM PUBLIC NOTICE UNTIL AFTER TRANSFER.

Any leakage of this winning notification leading in a double claim will
makes you to forfeit your prize this is part of our security protocol,
thus we advise you to keep this winning notification message confidential
away from public notice to prevent double claims and impersonation until
after
remittance/payment to you.


Claim expiry date is 7th October 2009, after this date all winning be filed as
uncalimed and rolled over.Congratulations from all members of staff.


Management,

Mike Radcliffe
(Co-Ordinator)
Microsoft Corporation.




NOTICE: This message, including all attachments transmitted with it, is for
the use of the addressee only.
It may contain proprietary, confidential and/or legally privileged
information. No confidentiality or privilege is waived or lost by any
mistransmission. If you are not the intended recipient, you must not,
directly or indirectly, use, disclose, distribute, print or copy any part of
this message. If you believe you have received this message in error, please
delete it and all copies of it from your system and notify the sender
immediately by reply e-mail.


) 2009 Microsoft Corporation Corporation. All rights reserved. Terms of use.
Privacy Statement.
Microsoft Corporation

EU INTERNATIONAL

EMAIL PROGRAM

TEL/FAX : +44 7006-041-071







For payment of