Re: acx/ath card information

2007-04-20 Thread Peter N. M. Hansteen
Tom Van Looy [EMAIL PROTECTED] writes:

 Actually the manpages said DWL-G650 should be supported by acx, well it
 appears as an ath on my machine.

the DWL-G650 is ath, the DWL-G650+ (note the plus) is acx.  

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: [Fwd: Shipped Order:2007/3/12-13:27:10-21493:]

2007-04-20 Thread Peter N. M. Hansteen
Allie D. [EMAIL PROTECTED] writes:

 YES ! It's on it's way !!

got mine on wednesday :)

http://www.bsdly.net/~peter/OpenBSD41_bergen_01.jpg,
http://www.bsdly.net/~peter/OpenBSD41_bergen_02.jpg

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: running OpenBSD on switch hardware

2007-04-20 Thread Toni Mueller
Hi Claudio,

On Fri, 06.04.2007 at 12:09:38 +0200, Claudio Jeker [EMAIL PROTECTED] wrote:
 Even the most expensive Cisco/Foundry/Extreme switches have not the CPU
 power to route or filter packets.

how comes they boast running BGP and such stuff? Eg. Cisco 6509 and up,
or Extreme Black Diamond?  This requires real routing capabilities,
doesn't it?


Best,
--Toni++



Stores, mobilier, caméra de surveillance ... Equipez vos bureaux en 3 clics !

2007-04-20 Thread Recevez vos devis
Ce message est au format HTML. Si vous ne parvenez pas ` le lire, cliquez
ici.

[IMAGE]

GESTION D'ENTREPRISE

MARKETING ET COMMUNICATION

NOUVELLES TECHNOLOGIES

GESTION DU PERSONNEL

LOGISTIQUE ET EQUIPEMENT

VEHICULES ET UTILITAIRES

BOUTIQUE EN LIGNE

[IMAGE]



Pour recevoir vos devis gratuitement
Silectionnez parmi nos prestataires labellisis en cochant dans les
annonces ci-dessous



[IMAGE]

Montez et dimontez votre stand en 5 minutes!

LOVART EXPO vous propose vos stands pliables, modulables et portables
pour vos expositions.

[IMAGE]

Montez votre tente d\'extirieur en 60 secondes chrono!

QUALYtent vous propose des tentes d'exposition pliables et portables

[IMAGE]

MEDIA ALARME : la sicuriti de vos locaux

Pour la protection de vos locaux , faites confiance ` MEDIA ALARME !

[IMAGE]

La solution idiale pour vos installations ilectriques

Recevez un devis gratuit sur tous vos travaux d'ilectriciti

[IMAGE]

Le spicialiste de l\'armoire de bureau

Agencez , organisez , meublez vos bureaux avec le spicialste du mobilier
de bureau

[IMAGE]

La radiofriquence pour le suivi des tempiratures!

OCEASOFT est le spicialiste dans le suivi des tempiratures dans les
secteurs de la santi, de l'agroalimentaire, la restauration et la
distribution!

[IMAGE]

Trouvez des solutions pour financer votre parc informatique!

FIPARC: votre solution locative informatique et tilicom.

[IMAGE]

PSORLOG le partenaire de votre logistique.

Vous souhaitez crier ou reprendre une entreprise, ou vous souhaitez
simplement un accompagnement pour le diveloppement de votre organisation
logistique! PSORLOG Consultants vous conseillent grbce ` une iquipe de
consultants expirimentis.

[IMAGE]

ALPES MICROGRAPHIE: Le spicialiste de la gestion de vos relations

Documents informatiques de votre entreprise. Vous souhaitez disposer d'un
gestionnaire de tbches, d'une sauvegarde de logiciels, de messagerie
instantannie...

[IMAGE]

ACTIFLIP le spicialiste de l\'aminagement et de vos rangements.

Dicouvrez les rayonnages mitalliques pour l'aminagement de vos stocks,
vos magasins, vos entreptts ou vos salles d'archives. ACTIFLIP vous
propose des solutions adapties ` tous vos besoins.



A DECOUVRIR CE MOIS-CI ...
Silectionnez parmi nos prestataires labellisis en cochant dans les
annonces ci-dessous



[IMAGE]

Prospectez, communiquez, Fidilisez grbce au FAX MAILING

Le fax mailing , 1er midia de communication !

[IMAGE]

Gio-localiser pour mieux girer!

OCEAN, la mithode de giolocalisation la plus avancie du marchi!

[IMAGE]

VISIBLESITE: Les solutions de Rifirencement!

Amiliorez votre visibiliti sur les principaux moteurs de recherche!

[IMAGE]

Notre mitier c\'est de rendre le votre le plus facile !

Notre prestataire THALIOS vous propose un service complet de prestations
informatiques selon vos besoins.



Afin d'obtenir un devis GRATUIT dans les 48 heures de la part de nos
prestataires labellisis.
Merci de remplir ce formulaire ou de contacter nos conseillers par
tiliphone au numiro Gratuit suivant : 0 805 16 26 26



Sociiti :  *

Civiliti : *

Nom :  *

Prinom : *

Tiliphone : *

Email : *

Je souhaite recevoir les offres des partenaires Guidedesprestataires.com

*Champs obligatoires

Le Guide Des Prestataires est une activiti de la sociiti Midia Tilecom
SAS - Rcs Criteil 482 024 825





- Premihre visite - Acchs membres - Devenir Prestataire - Conditions
ginirales d'utilisation - Qui sommes nous - Plan du site - News-letters-
Partenaires
) Midia Tilicom SAS  2007   Diclaration CNIL N0 119 789.

Cliquez ici pour vous disinscrire



Re: running OpenBSD on switch hardware

2007-04-20 Thread Stuart Henderson
On 2007/04/20 09:48, Toni Mueller wrote:
 Hi Claudio,
 
 On Fri, 06.04.2007 at 12:09:38 +0200, Claudio Jeker [EMAIL PROTECTED] wrote:
  Even the most expensive Cisco/Foundry/Extreme switches have not the CPU
  power to route or filter packets.
 
 how comes they boast running BGP and such stuff? Eg. Cisco 6509 and up,

Smaller Ciscos than that run BGP (e.g. cat3550/3560/3750) at least up
to some routing table sizes (no chance for a full internet table, but some
people run these in a mixed network with OpenBGP handling most of the BGP
work via multihop sessions, and the L3 switches handling much of the packet
forwarding).

 or Extreme Black Diamond?  This requires real routing capabilities,
 doesn't it?

They have a small/medium sized cpu, which runs the routing protocols
and maintaining the FDB, there are also fast lookup tables (called
TCAM on Cisco) which can be used by the switch ASICs to lookup IP
destinations and switch them.

Check out the 'local context addressing' section in
http://www.juniper.net/solutions/literature/white_papers/200161.pdf
(when reading this article bear in mind Cisco now sell a lot of L3
switches for what is traditionally 'router' use, obviously Juniper
would like to discourage that :-)

Run out of TCAM space (as might happen with worm/ddos traffic),
or configure things that need the main processor to look at packets,
and the CPU (e.g. PowerPC 405, MIPS R7000) starts to get awfully
busy...



Re: running OpenBSD on switch hardware

2007-04-20 Thread Claudio Jeker
On Fri, Apr 20, 2007 at 09:48:44AM +0200, Toni Mueller wrote:
 Hi Claudio,
 
 On Fri, 06.04.2007 at 12:09:38 +0200, Claudio Jeker [EMAIL PROTECTED] wrote:
  Even the most expensive Cisco/Foundry/Extreme switches have not the CPU
  power to route or filter packets.
 
 how comes they boast running BGP and such stuff? Eg. Cisco 6509 and up,
 or Extreme Black Diamond?  This requires real routing capabilities,
 doesn't it?
 

Depends on your definition of routing capabilities. Layer 3 switches
(ab)use the CAM to do route lookups. For example the Cisco 7600 switching
router is able to route/switch at high pps rates under normal (lab)
circumstances but they start to trash when your network is under a DDoS
attack. This comes from the fact that the CAM table is overflooded and so
many packets are redirected to the CPU for a slow routing lookup.
Most L3 switches have small CAM tables and so only small routing tables
can be handled efficently on those systems (small as in 20'000 routes
which is nothing compared to the 215'000 bgp prefixes seen on a full
view).
Also note that switching router do lookups in HW so any feature that is
not part of the HW engine needs help from the main CPU. Tunneling, IPsec,
statefull filtering, L2TP, MPLS VPN and so on are either not available or
are done fully in software.

L3 switches can be compared to running a system with 64M Ram and 4GB of
swap. Paging and swapping makes the box comparable to one with 4GB of RAM
until your running processes start to use more than the 64M available.

-- 
:wq Claudio



Re: Openbsd ipsec with cisco vpn client

2007-04-20 Thread Claer
On Thu, Apr 19 2007 at 53:12, carlopmart wrote:
 Hi all,
Hi,

  Somebody have tried to use cisco vpn client to connect to openbsd ipsec 
 gateway using user and pass or x509 certificates? Can somebody sends me 
 some examples ?
It's explicitely forbidden in the license. So I didn't took time to try
it, sorry.


Claer



Re: Openbsd ipsec with cisco vpn client

2007-04-20 Thread Lars D . Noodén
On Fri, 20 Apr 2007, Claer wrote:
 On Thu, Apr 19 2007 at 53:12, carlopmart wrote:
  Somebody have tried to use cisco vpn client to connect to openbsd ipsec
 gateway using user and pass or x509 certificates? Can somebody sends me
 some examples ?
 It's explicitely forbidden in the license. So I didn't took time to try
 it, sorry.

Do you mean that the license forbids using a Cisco vpn client with an
OpenBSD ipsec gateway?  If so, can you point to the URL for the license?

-Lars
Lars NoodC)n ([EMAIL PROTECTED])
 Ensure access to your data now and in the future
 http://opendocumentfellowship.org/about_us/contribute



Re: Openbsd ipsec with cisco vpn client

2007-04-20 Thread Stefan Held
Am Donnerstag, den 19.04.2007, 12:53 +0200 schrieb carlopmart:
 Hi all,

   Somebody have tried to use cisco vpn client to connect to openbsd ipsec
 gateway using user and pass or x509 certificates? Can somebody sends me some
 examples ?

This will not work.

The Cisco Client gets his configuration and tunnel policy through the
cisco pix or ipsec-concentrator.

There is no option for OpenBSD ipsec to do that.

 many thanks.

If you are looking for a way better solution take a look at OpenVPN.
There are clients for Win32 - OS/X - Linux - *BSD

For Win/Mac Users it is simmiliar to the vpn client from cisco. Easy to
use. The Admin of a OpenVPN Server can deploy policys and filters and
there are tons of options.

OpenVPN works like a charm on OpenBSD and is imho the better solution.
( For End User stuff. )


--

 Stefan HeldVI has only 2 Modes:
 obi unixkiste org  The first one is for beeping all the time,
 FreeNode: foo_bar  the second destroys the text.
---
Fedora Ambassador: http://fedoraproject.org/wiki/StefanHeld
---
perl -e'map{print pack c,($|++?1:13)+ord,select$,,$,,$,,$|}split//,ESEL.$/'
---
GPG-Keyprint = 75C0 F029 CA71 F061 6C07  0640 38F7 E5F9 4EA5 A385

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Henning Brauer
* Joachim Schipper [EMAIL PROTECTED] [2007-04-20 00:36]:
 On Thu, Apr 19, 2007 at 10:51:56PM +0100, Stuart Henderson wrote:
   I don't think NFS/AFS is that good an idea; you'll need very beefy
   fileservers and a fast network.
  
  NFS may actually be useful; if you really need the files in one
  directory space for management/updates that's a way to do it (i.e.
  mount all the various storage servers by NFS on a management
  station/ftp server/whatever).
 
 Something like that might be a very good idea, yes. Just don't try to
 serve everything directly off NFS.

there is nothing wrong with serving directly from NFS.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: running OpenBSD on switch hardware

2007-04-20 Thread Pete Vickers

Pete Vickers

[EMAIL PROTECTED] |  +47 48 17 91 00

Systemnet AS


On 20 Apr 2007, at 10:42 AM, Claudio Jeker wrote:


On Fri, Apr 20, 2007 at 09:48:44AM +0200, Toni Mueller wrote:

Hi Claudio,

On Fri, 06.04.2007 at 12:09:38 +0200, Claudio Jeker  
[EMAIL PROTECTED] wrote:
Even the most expensive Cisco/Foundry/Extreme switches have not  
the CPU

power to route or filter packets.


how comes they boast running BGP and such stuff? Eg. Cisco 6509  
and up,

or Extreme Black Diamond?  This requires real routing capabilities,
doesn't it?



Depends on your definition of routing capabilities. Layer 3 switches
(ab)use the CAM to do route lookups. For example the Cisco 7600  
switching

router is able to route/switch at high pps rates under normal (lab)
circumstances but they start to trash when your network is under a  
DDoS
attack. This comes from the fact that the CAM table is overflooded  
and so

many packets are redirected to the CPU for a slow routing lookup.
Most L3 switches have small CAM tables and so only small routing  
tables

can be handled efficently on those systems (small as in 20'000 routes
which is nothing compared to the 215'000 bgp prefixes seen on a full
view).
Also note that switching router do lookups in HW so any feature  
that is
not part of the HW engine needs help from the main CPU. Tunneling,  
IPsec,
statefull filtering, L2TP, MPLS VPN and so on are either not  
available or

are done fully in software.

L3 switches can be compared to running a system with 64M Ram and  
4GB of
swap. Paging and swapping makes the box comparable to one with 4GB  
of RAM

until your running processes start to use more than the 64M available.

--
:wq Claudio



Hi,

With SUP32/SUP720 and PFC2/3 this is much less a problem, as stated  
below. In fact, you can do a lot of config on the TCAM itself to  
mitigate DDoS associated problems:


http://www.cisco.com/en/US/products/hw/switches/ps708/ 
products_white_paper09186a00800c9470.shtml#wp43045


/Pete



Re: 4.0-stable lockup SOLVED (temporarily)

2007-04-20 Thread Mitja
Adam Hawes wrote:
 The solution I came to is very simple. Currently I only need one of em
 (dual card), so I disabled the second one. When I boot the router, my
 network usage rises up to 96%. I simlpy mark that unusable interface
 (em1) as up and few seconds later I mark the same interface down. My
 network usage drops significantly, currently I am looking it
 shows 75%.
 The router is running without locking for 25 hours now. I am also
 planning an upgrade to 4.1 if there are changes to em driver.
 
 Out of curiosity, they're not connected to the same ethernet segment
 are they?

No, only one is connected, the other one is still disconnected (I will
use it for a dedicated pfsync when I am getting the backup router).


Regards,
Mitja



Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Joachim Schipper
On Fri, Apr 20, 2007 at 12:36:29PM +0200, Henning Brauer wrote:
 * Joachim Schipper [EMAIL PROTECTED] [2007-04-20 00:36]:
  On Thu, Apr 19, 2007 at 10:51:56PM +0100, Stuart Henderson wrote:
I don't think NFS/AFS is that good an idea; you'll need very beefy
fileservers and a fast network.
   
   NFS may actually be useful; if you really need the files in one
   directory space for management/updates that's a way to do it (i.e.
   mount all the various storage servers by NFS on a management
   station/ftp server/whatever).
  
  Something like that might be a very good idea, yes. Just don't try to
  serve everything directly off NFS.
 
 there is nothing wrong with serving directly from NFS.

Really? You have a lot more experience in this area, so I will defer to
you if you are sure, but it seems to me that in the sort of system I
explicitly assumed (something like a web farm), serving everything off
NFS would involve either very expensive hardware or be rather slow.

I see how in your example - a lot of storage, not accessed often - just
serving everything off NFS makes perfect sense. However, that was not
what I was talking about.

Perhaps you could elaborate a little? I'm interested, at least...

Joachim

-- 
TFMotD: hostapd.conf (5) - configuration file for the Host Access Point
daemon



Re: Openbsd ipsec with cisco vpn client

2007-04-20 Thread Lars Hansson

Claer wrote:
  2. Cisco Systems hereby grants you the right to install and use the

Software on an unlimited number of computers, provided that each of
those computers must use the Software only to connect to Cisco Systems
products, and subject to export restrictions in Paragraph 4 hereof.


It's questionable if that is a legal limitation. It's like Ford would 
sell you a car but you could only drive to places Ford had approved of.

Just because it's in a license doesn't mean it's legally valid.

---
Lars Hansson



Re: Back again with funny network interfaces

2007-04-20 Thread mickey
On Fri, Apr 20, 2007 at 06:16:32AM -0700, Manuel Ravasio wrote:
 I have a doubt...
 
 PCMCIA ethernet interface cannot negotiate more than 10Mbps, ignoring my
 trials to force 100full...
 PCMCIA wireless interface doesn't run at more than 11Mbps, ignoring my trials
 to force 54Mbps...
 
 Maybe it's something with old PCMCIA cardbus?

pcmcia cardbus is an oxymoron.

pcmcia is a 16bit isa-like bus w/ 3.3v and 5v power.
cardbus is a pci-like 32bit bus w/ 3.3v power only.
pccard is a form factor for this devices also.

so what exactly do you have? (:
cu
-- 
paranoic mickey   (my employers have changed but, the name has remained)



spamd - good job!

2007-04-20 Thread Frank Bax
I'm finally upgrading from 3.5 to 4.0!  I use the whitelist from puremagic 
and in the past 2.5 years I have also added another 10 ip addresses to 
spamd whitelist because of problems with mail getting through.  This week I 
did tests on 3 of those ip addresses and we are 3/3 for current spamd 
accepting connections without whitelist.  Great job!  I've also done some 
practice runs with in-place upgrades to snapshot; and plan to upgrade to 
4.1 soon after disks arrive.




Re: gunzip changes lastmod time?

2007-04-20 Thread Frank Bax

At 02:09 PM 4/19/07, Charles Longeau wrote:


2007/4/19, Frank Bax [EMAIL PROTECTED]:

 On an older box still running 3.5; gunzip/gzip does not change lastmod
 time; but on 4.0 [release] gunzip changes the lastmod time.  What's the
 reason for this change?


This was a bug and it has been fixed. For more info, please see :
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5417



Wow; I missed my big chance.  I actually spotted the problem in January, 
but thought I must have missed something.  My first assumption is always 
that any problem I see must have been by some else first; or I'm doing 
something wrong.




Re: Back again with funny network interfaces

2007-04-20 Thread Paul de Weerd
On Fri, Apr 20, 2007 at 06:16:32AM -0700, Manuel Ravasio wrote:
| I have a doubt...
|
| PCMCIA ethernet interface cannot negotiate more than 10Mbps, ignoring my
| trials to force 100full...
| PCMCIA wireless interface doesn't run at more than 11Mbps, ignoring my
trials
| to force 54Mbps...
|
| Maybe it's something with old PCMCIA cardbus?

No.

I've had a 10/100MBit PCMCIA NIC. It would link at 100Mbit, but I
could never transfer that much data over it. The PCMCIA bus limits the
traffic you can get from the network onto your system (or vice versa)
but it doesn't limit the speed at which the NIC will link.

Cheers,

Paul 'WEiRD' de Weerd

--
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: 4.0-stable lockup SOLVED NOT!

2007-04-20 Thread Stuart Henderson
On 2007/04/20 15:11, Mitja wrote:
  Do you mean interrupt%? bsd.mp will probably drop that *way* down.
 
 No, memory management routines (netstat -m).

ah, right. The thing to look at there is the difference between peak
and max of mbuf clusters in use. Also look at net.inet.ip.ifq sysctl,
if there are some drops, you can bump net.inet.ip.ifq.maxlen gradually
until the drops stop.

 Are you saying I should try
 with bsd.mp kernel with a single core cpu (opteron 146)?

If you are spending a lot of cpu time processing interrupts, see top(1),
this should make quite a difference.

If you are spending nearly 100% processing interrupts even with no
network traffic, then either the bios update, or changing to ACPI,
would help that.

  You may need to also disable USB (may have been one of the things fixed
  by moving to either acpi or a newer bios, I don't recall).
 
 DamnI was speaking too fast, it just locked up again. This time
 after 38 hours, it is an improvement, though.
 
  Most of mine are on original bios, -current from around the time 4.1 was
 
 It is a production router so I can't update to current just now, at
 least until I get a backup. I'll try to update bios later today.

You need this commit: http://marc.info/?l=openbsd-cvsm=117200696111354w=2
Updating the bios fixes some possible interrupt problems but won't
stop hangs/crashes.

 Thank you for you hints.

No trouble, I spent 6+ months trying different things on these, if I can
save someone else some of the pain that will be good!



Re: Back again with funny network interfaces

2007-04-20 Thread Marc Balmer

mickey wrote:


Maybe it's something with old PCMCIA cardbus?


pcmcia cardbus is an oxymoron.

pcmcia is a 16bit isa-like bus w/ 3.3v and 5v power.
cardbus is a pci-like 32bit bus w/ 3.3v power only.
pccard is a form factor for this devices also.


people can't memorize computer industries acronyms...

qed.



Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Will Maier
On Fri, Apr 20, 2007 at 09:03:54AM -0500, Jacob Yocom-Piatt wrote:
 from my observations redundancy is the biggest problem with NFS
 and that its ability to efficiently serve up data is more than
 ample.

Redundancy is certainly a problem, but lots of US HPC and
distributed computing sites have severe scaling problems with NFS.
High r/w traffic has killed several file servers in projects that we
work with, and it sucks big time. I don't know anyone who's happy or
excited or confident in their HPC NFS deployments; everyone I've
talked to hopes for a real solution to this problem. ;)

If the OP's use case involves lots of writes (especially from many
clients), I'd be concerned about NFS' ability to keep up. Then
again, I've had problems with pretty much all of the network
filesystems (including AFS, though it's the least bad in my
experience).

I'm still waiting for Ceph[0] to mature (and to shed its linuxisms).
;)

[0] http://ceph.sf.net/

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



Re: Back again with funny network interfaces

2007-04-20 Thread Manuel Ravasio
I have a doubt...

PCMCIA ethernet interface cannot negotiate more than 10Mbps, ignoring my
trials to force 100full...
PCMCIA wireless interface doesn't run at more than 11Mbps, ignoring my trials
to force 54Mbps...

Maybe it's something with old PCMCIA cardbus?


Bud
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Jacob Yocom-Piatt

Joachim Schipper wrote:

there is nothing wrong with serving directly from NFS.



Really? You have a lot more experience in this area, so I will defer to
you if you are sure, but it seems to me that in the sort of system I
explicitly assumed (something like a web farm), serving everything off
NFS would involve either very expensive hardware or be rather slow.

I see how in your example - a lot of storage, not accessed often - just
serving everything off NFS makes perfect sense. However, that was not
what I was talking about.

  


at HPC facilities (LANL, sandia, LLNL, argonne, etc) NFS is used 
extensively for this purpose since the amount of storage required for 
simulation outputs greatly outstrips the storage that any one machine 
can provide, especially the compute nodes. before i switched my email 
address i would get regular notifications that NFS filesystems were down 
for this-or-that many hours at compute facility X. from my observations 
redundancy is the biggest problem with NFS and that its ability to 
efficiently serve up data is more than ample.


AFS provides additional redundancy via volume replication and having the 
various services that comprise it spread over several machines. there is 
a lot of documentation to go through tho.


cheers,
jake


Perhaps you could elaborate a little? I'm interested, at least...

Joachim




Re: Openbsd ipsec with cisco vpn client

2007-04-20 Thread Claer
On Fri, Apr 20 2007 at 34:05, Lars D. Nood?n wrote:
 On Fri, 20 Apr 2007, Claer wrote:
  On Thu, Apr 19 2007 at 53:12, carlopmart wrote:
   Somebody have tried to use cisco vpn client to connect to openbsd ipsec
  gateway using user and pass or x509 certificates? Can somebody sends me
  some examples ?
  It's explicitely forbidden in the license. So I didn't took time to try
  it, sorry.
 
 Do you mean that the license forbids using a Cisco vpn client with an
 OpenBSD ipsec gateway?  If so, can you point to the URL for the license?
Exactly. The license obliges Cisco VPN Clients to connect to Cisco 
equipments only.
It is written on the License agreement (EULA) you accept when installing the
client. Here is the interesting part :

2. Cisco Systems hereby grants you the right to install and use the
Software on an unlimited number of computers, provided that each of
those computers must use the Software only to connect to Cisco Systems
products, and subject to export restrictions in Paragraph 4 hereof.

We responded to a public offer where the client wanted to connect to
free software gateway using the Cisco client, thats why we looked into
the license part.


Claer



Re: Back again with funny network interfaces

2007-04-20 Thread Timo Schoeler
  Maybe it's something with old PCMCIA cardbus?
  
  pcmcia cardbus is an oxymoron.
  
  pcmcia is a 16bit isa-like bus w/ 3.3v and 5v power.
  cardbus is a pci-like 32bit bus w/ 3.3v power only.
  pccard is a form factor for this devices also.
 
 people can't memorize computer industries acronyms...
 
 qed.

(Andrew Steven Grove)



Re: Back again with funny network interfaces

2007-04-20 Thread Manuel Ravasio
 pcmcia cardbus is an oxymoron.

Whoops...
Something like childproof and CiscoWorks? :-)

 pcmcia is a 16bit isa-like bus w/ 3.3v and 5v power.
 cardbus is a pci-like 32bit bus w/ 3.3v power only.
 pccard is a form factor for this devices also.

Hmmm...
I have something that looks like a couple of pcmcia cards, which fit into two
pcmcia slots... I don't have a tester at home, so I can't check voltages.
The laptop is quite old, (8 years old at the very least), the wireless card
is a Netgear WPN511, described only as pccard, the ethernet card... I can't
really say, there's nothing interesting written on it.

I suppose I'm talking about pcmcia, but anyway Paul de Weerd wways it doesn't
matter.

This evening I'll try with my (way newer) Dell company laptop, on which I've
just finished re-installing OpenBSD 4.0, using the same configurations.


Thank you all anyway,
have a nice weekend,
Manuel
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: Back again with funny network interfaces

2007-04-20 Thread Andy Hayward

On 4/20/07, Manuel Ravasio [EMAIL PROTECTED] wrote:

I have something that looks like a couple of pcmcia cards, which fit into two
pcmcia slots... I don't have a tester at home, so I can't check voltages.


PCMCIA and CardBus cards are physically (very slightly) different:

http://www.pcmcia.org/faq.htm#cardbuscard
http://en.wikipedia.org/wiki/Cardbus#CardBus

-- ach



U320 Drive on U160 controller?

2007-04-20 Thread Jeff Ross

Hi,

I'm trying to add a second drive to the new to me SuperMicro server I
just purchased off ebay.  It has an Adaptec AIC-7899 U160 controller 
(dmesg below) but I'm finding a lot more U320 drives for sale than I am 
U160s.


Will a U320 drive fall back to the U160 bandwidth?  I'm finding 
conflicting advice on google, some say no problem, other say I'll kill 
the U320 in short order, not seeing any hints in the man pages.


Thanks,

Jeff Ross

OpenBSD 4.1-current (GENERIC.MP) #1: Fri Apr 13 12:54:01 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III (GenuineIntel 686-class) 800 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 1073311744 (1048156K)
avail mem = 971886592 (949108K)
using 4278 buffers containing 53788672 bytes (52528K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 12/14/00, BIOS32 rev. 0 @ 0xfdb90, 
SMBIOS rev. 2.3 @ 0xf0640 (50 entries)

bios0: Supermicro 370DER
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown, estimated 0:00 hours
apm0: APM get event: interface not connected (3)
apm0: APM get event: interface not connected (3)
apm0: disconnected
apm0: flags b0102 dobusy 0 doidle 0
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5380/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x6000 
0xcf000/0x1000 0xd/0x1000

mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel Pentium III (GenuineIntel 686-class) 800 MHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE

mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 11, 16 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20HE Host rev 0x23
ppb0 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Mach64 GM rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb1 at pci0 dev 0 function 2 ServerWorks CNB20HE Host rev 0x01
pchb2 at pci0 dev 0 function 3 ServerWorks CNB20HE Host rev 0x01
pci2 at pchb2 bus 2
em0 at pci2 dev 1 function 0 Intel PRO/1000XT (82544EI) rev 0x02: apic 
5 int 6 (irq 11), address 00:02:b3:d5:63:2d
fxp0 at pci0 dev 4 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
12 (irq 11), address 00:30:48:11:23:eb

inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ahc0 at pci0 dev 5 function 0 Adaptec AIC-7899 U160 rev 0x01: apic 5 
int 10 (irq 5)

scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 0 lun 0: QUANTUM, ATLAS10K2-TY184J, DDD6 SCSI3 
0/direct fixed

sd0: 17510MB, 17338 cyl, 5 head, 413 sec, 512 bytes/sec, 35860910 sec total
ahc1 at pci0 dev 5 function 1 Adaptec AIC-7899 U160 rev 0x01: apic 5 
int 11 (irq 10)

scsibus1 at ahc1: 16 targets
fxp1 at pci0 dev 6 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
15 (irq 9), address 00:30:48:11:23:ec

inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x50: polling
iic0 at piixpm0
lmenv0 at iic0 addr 0x2d: lm87 rev 4
lmenv1 at iic0 addr 0x2e: lm87 rev 4
pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: MATSHITA, CD-ROM CR-177, 7T03 SCSI0 
5/cdrom removable

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04: 
apic 4 int 10 (irq 10), version 1.0, legacy support

usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
aue0 at uhub0 port 1
aue0: 3Com 3C460B 10/100 Etherthernet Ada, rev 1.10/1.01, addr 2
aue0: address 00:04:76:00:a2:24
acphy0 at aue0 phy 1: 

Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Tony Abernethy
Jason Beaudoin wrote:
 
 snip
 
  Use all the tricks you can for YOUR solution, including:
* lots of small partitions
 
 What are the reasonings behind this?
 
 Thanks for the awesome post!
 
I think it runs something like this
If there is a problem somewhere on the disk,
if it's all one big partition, you must fix the big partition
if it's lots of small partitions, you fix the one with the problem.

Even worse, in some situations, 
the difference is between being dead and being somewhat crippled.

Methinks there's lots of hard-won experience behind Nick's answers ;)



Re: U320 Drive on U160 controller?

2007-04-20 Thread Marco Peereboom
Will work just fine.  Might as well purchase an mpt board (mpi).

On Fri, Apr 20, 2007 at 10:14:54AM -0600, Jeff Ross wrote:
 Hi,
 
 I'm trying to add a second drive to the new to me SuperMicro server I
 just purchased off ebay.  It has an Adaptec AIC-7899 U160 controller 
 (dmesg below) but I'm finding a lot more U320 drives for sale than I am 
 U160s.
 
 Will a U320 drive fall back to the U160 bandwidth?  I'm finding 
 conflicting advice on google, some say no problem, other say I'll kill 
 the U320 in short order, not seeing any hints in the man pages.
 
 Thanks,
 
 Jeff Ross
 
 OpenBSD 4.1-current (GENERIC.MP) #1: Fri Apr 13 12:54:01 MDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel Pentium III (GenuineIntel 686-class) 800 MHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real mem  = 1073311744 (1048156K)
 avail mem = 971886592 (949108K)
 using 4278 buffers containing 53788672 bytes (52528K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 12/14/00, BIOS32 rev. 0 @ 0xfdb90, 
 SMBIOS rev. 2.3 @ 0xf0640 (50 entries)
 bios0: Supermicro 370DER
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown, estimated 0:00 hours
 apm0: APM get event: interface not connected (3)
 apm0: APM get event: interface not connected (3)
 apm0: disconnected
 apm0: flags b0102 dobusy 0 doidle 0
 pcibios0 at bios0: rev 2.1 @ 0xf/0x1
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5380/144 (7 entries)
 pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00)
 pcibios0: PCI bus #1 is the last bus
 bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x6000 
 0xcf000/0x1000 0xd/0x1000
 mainbus0: Intel MP Specification (Version 1.4)
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 133 MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel Pentium III (GenuineIntel 686-class) 800 MHz
 cpu1: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
 mainbus0: bus 0 is type PCI
 mainbus0: bus 1 is type PCI
 mainbus0: bus 2 is type PCI
 mainbus0: bus 3 is type ISA
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 16 pins
 ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 11, 16 pins
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 ServerWorks CNB20HE Host rev 0x23
 ppb0 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x01
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Mach64 GM rev 0x27
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 pchb1 at pci0 dev 0 function 2 ServerWorks CNB20HE Host rev 0x01
 pchb2 at pci0 dev 0 function 3 ServerWorks CNB20HE Host rev 0x01
 pci2 at pchb2 bus 2
 em0 at pci2 dev 1 function 0 Intel PRO/1000XT (82544EI) rev 0x02: apic 
 5 int 6 (irq 11), address 00:02:b3:d5:63:2d
 fxp0 at pci0 dev 4 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
 12 (irq 11), address 00:30:48:11:23:eb
 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
 ahc0 at pci0 dev 5 function 0 Adaptec AIC-7899 U160 rev 0x01: apic 5 
 int 10 (irq 5)
 scsibus0 at ahc0: 16 targets
 sd0 at scsibus0 targ 0 lun 0: QUANTUM, ATLAS10K2-TY184J, DDD6 SCSI3 
 0/direct fixed
 sd0: 17510MB, 17338 cyl, 5 head, 413 sec, 512 bytes/sec, 35860910 sec total
 ahc1 at pci0 dev 5 function 1 Adaptec AIC-7899 U160 rev 0x01: apic 5 
 int 11 (irq 10)
 scsibus1 at ahc1: 16 targets
 fxp1 at pci0 dev 6 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
 15 (irq 9), address 00:30:48:11:23:ec
 inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
 piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x50: polling
 iic0 at piixpm0
 lmenv0 at iic0 addr 0x2d: lm87 rev 4
 lmenv1 at iic0 addr 0x2e: lm87 rev 4
 pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus2 at atapiscsi0: 2 targets
 cd0 at scsibus2 targ 0 lun 0: MATSHITA, CD-ROM CR-177, 7T03 SCSI0 
 5/cdrom removable
 cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
 ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04: 
 apic 4 int 10 (irq 10), version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
 uhub0: 4 ports with 4 removable, self powered
 isa0 at mainbus0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 pctr: 

Re: U320 Drive on U160 controller?

2007-04-20 Thread Kenneth R Westerback
On Fri, Apr 20, 2007 at 10:14:54AM -0600, Jeff Ross wrote:
 Hi,
 
 I'm trying to add a second drive to the new to me SuperMicro server I
 just purchased off ebay.  It has an Adaptec AIC-7899 U160 controller 
 (dmesg below) but I'm finding a lot more U320 drives for sale than I am 
 U160s.
 
 Will a U320 drive fall back to the U160 bandwidth?  I'm finding 
 conflicting advice on google, some say no problem, other say I'll kill 
 the U320 in short order, not seeing any hints in the man pages.
 
 Thanks,
 
 Jeff Ross

To the best of my knowledge U320 drives should work fine negotiated
down to U160. Or not work at all because they can't do non-PPR
negotiation.

 Ken

 
 OpenBSD 4.1-current (GENERIC.MP) #1: Fri Apr 13 12:54:01 MDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel Pentium III (GenuineIntel 686-class) 800 MHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real mem  = 1073311744 (1048156K)
 avail mem = 971886592 (949108K)
 using 4278 buffers containing 53788672 bytes (52528K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 12/14/00, BIOS32 rev. 0 @ 0xfdb90, 
 SMBIOS rev. 2.3 @ 0xf0640 (50 entries)
 bios0: Supermicro 370DER
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown, estimated 0:00 hours
 apm0: APM get event: interface not connected (3)
 apm0: APM get event: interface not connected (3)
 apm0: disconnected
 apm0: flags b0102 dobusy 0 doidle 0
 pcibios0 at bios0: rev 2.1 @ 0xf/0x1
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5380/144 (7 entries)
 pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00)
 pcibios0: PCI bus #1 is the last bus
 bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x6000 
 0xcf000/0x1000 0xd/0x1000
 mainbus0: Intel MP Specification (Version 1.4)
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 133 MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel Pentium III (GenuineIntel 686-class) 800 MHz
 cpu1: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
 mainbus0: bus 0 is type PCI
 mainbus0: bus 1 is type PCI
 mainbus0: bus 2 is type PCI
 mainbus0: bus 3 is type ISA
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 16 pins
 ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 11, 16 pins
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 ServerWorks CNB20HE Host rev 0x23
 ppb0 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x01
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Mach64 GM rev 0x27
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 pchb1 at pci0 dev 0 function 2 ServerWorks CNB20HE Host rev 0x01
 pchb2 at pci0 dev 0 function 3 ServerWorks CNB20HE Host rev 0x01
 pci2 at pchb2 bus 2
 em0 at pci2 dev 1 function 0 Intel PRO/1000XT (82544EI) rev 0x02: apic 
 5 int 6 (irq 11), address 00:02:b3:d5:63:2d
 fxp0 at pci0 dev 4 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
 12 (irq 11), address 00:30:48:11:23:eb
 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
 ahc0 at pci0 dev 5 function 0 Adaptec AIC-7899 U160 rev 0x01: apic 5 
 int 10 (irq 5)
 scsibus0 at ahc0: 16 targets
 sd0 at scsibus0 targ 0 lun 0: QUANTUM, ATLAS10K2-TY184J, DDD6 SCSI3 
 0/direct fixed
 sd0: 17510MB, 17338 cyl, 5 head, 413 sec, 512 bytes/sec, 35860910 sec total
 ahc1 at pci0 dev 5 function 1 Adaptec AIC-7899 U160 rev 0x01: apic 5 
 int 11 (irq 10)
 scsibus1 at ahc1: 16 targets
 fxp1 at pci0 dev 6 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
 15 (irq 9), address 00:30:48:11:23:ec
 inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
 piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x50: polling
 iic0 at piixpm0
 lmenv0 at iic0 addr 0x2d: lm87 rev 4
 lmenv1 at iic0 addr 0x2e: lm87 rev 4
 pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus2 at atapiscsi0: 2 targets
 cd0 at scsibus2 targ 0 lun 0: MATSHITA, CD-ROM CR-177, 7T03 SCSI0 
 5/cdrom removable
 cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
 ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04: 
 apic 4 int 10 (irq 10), version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
 uhub0: 4 ports with 4 removable, self powered
 isa0 at mainbus0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 fdc0 at isa0 

Re: Back again with funny network interfaces

2007-04-20 Thread mickey
On Fri, Apr 20, 2007 at 08:10:10AM -0700, Manuel Ravasio wrote:
  pcmcia cardbus is an oxymoron.
 
 Whoops...
 Something like childproof and CiscoWorks? :-)
 
  pcmcia is a 16bit isa-like bus w/ 3.3v and 5v power.
  cardbus is a pci-like 32bit bus w/ 3.3v power only.
  pccard is a form factor for this devices also.
 
 Hmmm...
 I have something that looks like a couple of pcmcia cards, which fit into two
 pcmcia slots... I don't have a tester at home, so I can't check voltages.
 The laptop is quite old, (8 years old at the very least), the wireless card
 is a Netgear WPN511, described only as pccard, the ethernet card... I can't
 really say, there's nothing interesting written on it.

cardbus cards always have a golden plate at the connector side.

cu
-- 
paranoic mickey   (my employers have changed but, the name has remained)



Re: U320 Drive on U160 controller?

2007-04-20 Thread Jeff Ross

Marco Peereboom wrote:

Will work just fine.  Might as well purchase an mpt board (mpi).



Thanks, Marco!  I would if I could but the onboard nics are dead and the 
one pci-x slot is now in use by the em0 ;-)


Jeff


On Fri, Apr 20, 2007 at 10:14:54AM -0600, Jeff Ross wrote:

Hi,

I'm trying to add a second drive to the new to me SuperMicro server I
just purchased off ebay.  It has an Adaptec AIC-7899 U160 controller 
(dmesg below) but I'm finding a lot more U320 drives for sale than I am 
U160s.


Will a U320 drive fall back to the U160 bandwidth?  I'm finding 
conflicting advice on google, some say no problem, other say I'll kill 
the U320 in short order, not seeing any hints in the man pages.


Thanks,

Jeff Ross

OpenBSD 4.1-current (GENERIC.MP) #1: Fri Apr 13 12:54:01 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III (GenuineIntel 686-class) 800 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 1073311744 (1048156K)
avail mem = 971886592 (949108K)
using 4278 buffers containing 53788672 bytes (52528K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 12/14/00, BIOS32 rev. 0 @ 0xfdb90, 
SMBIOS rev. 2.3 @ 0xf0640 (50 entries)

bios0: Supermicro 370DER
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown, estimated 0:00 hours
apm0: APM get event: interface not connected (3)
apm0: APM get event: interface not connected (3)
apm0: disconnected
apm0: flags b0102 dobusy 0 doidle 0
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5380/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x6000 
0xcf000/0x1000 0xd/0x1000

mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel Pentium III (GenuineIntel 686-class) 800 MHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE

mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 11, 16 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20HE Host rev 0x23
ppb0 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Mach64 GM rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb1 at pci0 dev 0 function 2 ServerWorks CNB20HE Host rev 0x01
pchb2 at pci0 dev 0 function 3 ServerWorks CNB20HE Host rev 0x01
pci2 at pchb2 bus 2
em0 at pci2 dev 1 function 0 Intel PRO/1000XT (82544EI) rev 0x02: apic 
5 int 6 (irq 11), address 00:02:b3:d5:63:2d
fxp0 at pci0 dev 4 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
12 (irq 11), address 00:30:48:11:23:eb

inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ahc0 at pci0 dev 5 function 0 Adaptec AIC-7899 U160 rev 0x01: apic 5 
int 10 (irq 5)

scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 0 lun 0: QUANTUM, ATLAS10K2-TY184J, DDD6 SCSI3 
0/direct fixed

sd0: 17510MB, 17338 cyl, 5 head, 413 sec, 512 bytes/sec, 35860910 sec total
ahc1 at pci0 dev 5 function 1 Adaptec AIC-7899 U160 rev 0x01: apic 5 
int 11 (irq 10)

scsibus1 at ahc1: 16 targets
fxp1 at pci0 dev 6 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
15 (irq 9), address 00:30:48:11:23:ec

inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x50: polling
iic0 at piixpm0
lmenv0 at iic0 addr 0x2d: lm87 rev 4
lmenv1 at iic0 addr 0x2e: lm87 rev 4
pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: MATSHITA, CD-ROM CR-177, 7T03 SCSI0 
5/cdrom removable

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04: 
apic 4 int 10 (irq 10), version 1.0, legacy support

usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at 

Re: spamd - good job!

2007-04-20 Thread Bob Beck
Thanks. 4.1 has some major changes too, so bear in mind
spamd wise it's a big change from 4.0

-Bob


* Frank Bax [EMAIL PROTECTED] [2007-04-20 08:29]:
 I'm finally upgrading from 3.5 to 4.0!  I use the whitelist from puremagic 
 and in the past 2.5 years I have also added another 10 ip addresses to 
 spamd whitelist because of problems with mail getting through.  This week I 
 did tests on 3 of those ip addresses and we are 3/3 for current spamd 
 accepting connections without whitelist.  Great job!  I've also done some 
 practice runs with in-place upgrades to snapshot; and plan to upgrade to 
 4.1 soon after disks arrive.
 

-- 
#!/usr/bin/perl
if ((not 0  not 1) !=  (! 0  ! 1)) {
   print Larry and Tom must smoke some really primo stuff...\n; 
}



Re: U320 Drive on U160 controller?

2007-04-20 Thread Richard P. Welty

Kenneth R Westerback wrote:

On Fri, Apr 20, 2007 at 10:14:54AM -0600, Jeff Ross wrote:
Will a U320 drive fall back to the U160 bandwidth?  I'm finding 
conflicting advice on google, some say no problem, other say I'll kill 
the U320 in short order, not seeing any hints in the man pages.



To the best of my knowledge U320 drives should work fine negotiated
down to U160. Or not work at all because they can't do non-PPR
negotiation.


i have U320 drives working fine with U160 controllers.

i have also held in my hand new ibm/hitachi U320 SCA
drives clearly labeled not for use with U160 controllers.
i did not attempt to use them, instead i returned them for
credit and got other drives.

richard



Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Bob Beck
Bullshit. just use NFS :) 

-Bob


* Steven Harms [EMAIL PROTECTED] [2007-04-19 17:01]:
 This isn't an OpenBSD specific solution, but you should be able to use an
 EMC san to accomplish this (we use a fiber channel setup)
 
 On 4/19/07, Stuart Henderson [EMAIL PROTECTED] wrote:
 
  On 2007/04/19 18:08, Daniel Ouellet wrote:
   Stuart Henderson wrote:
   I don't think NFS/AFS is that good an idea; you'll need very beefy
   fileservers and a fast network.
   
   NFS may actually be useful; if you really need the files in one
   directory space for management/updates that's a way to do it (i.e.
   mount all the various storage servers by NFS on a management
   station/ftp server/whatever).
  
   Good idea yes, but if I recall properly, unless major changes have been
   done, isn't it the use of NFS become a huge bottle neck compare to local
   drive? I think the archive is full of complain about the thought put of
   NFS not being so good.
 
  I meant using it the other way round: have the *webservers* export
  their filesystem, and ftp/management servers mount them to provide a
  single space for carrying out updates and backups, locating files,
  etc.
 
  Having a bunch of webservers serve data from a large NFS store seems
  less attractive for most of the cases I can think of.
 
  The main one I see where it may be attractive is where heavy CGI
  processing or similar is done (that's usually a different situation
  to having many TB of data, though). In the CGI case, there are some
  benefits to distributing files by another way (notably avoiding the
  NFS server as a point of failure), rsync as Joachim mentioned is
  one way to shift the files around, CVS is also suitable, it
  encourages keeping tighter control over changes too, and isn't
  difficult to learn.
 

-- 
#!/usr/bin/perl
if ((not 0  not 1) !=  (! 0  ! 1)) {
   print Larry and Tom must smoke some really primo stuff...\n; 
}



Re: U320 Drive on U160 controller?

2007-04-20 Thread Jeff Ross

Kenneth R Westerback wrote:

On Fri, Apr 20, 2007 at 10:14:54AM -0600, Jeff Ross wrote:

Hi,

I'm trying to add a second drive to the new to me SuperMicro server I
just purchased off ebay.  It has an Adaptec AIC-7899 U160 controller 
(dmesg below) but I'm finding a lot more U320 drives for sale than I am 
U160s.


Will a U320 drive fall back to the U160 bandwidth?  I'm finding 
conflicting advice on google, some say no problem, other say I'll kill 
the U320 in short order, not seeing any hints in the man pages.


Thanks,

Jeff Ross


To the best of my knowledge U320 drives should work fine negotiated
down to U160. Or not work at all because they can't do non-PPR
negotiation.

 Ken


I see.  I just ordered a drive so I'll get to test it out first hand.

I'll report back with success/failure for the archives...

Jeff




OpenBSD 4.1-current (GENERIC.MP) #1: Fri Apr 13 12:54:01 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III (GenuineIntel 686-class) 800 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 1073311744 (1048156K)
avail mem = 971886592 (949108K)
using 4278 buffers containing 53788672 bytes (52528K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 12/14/00, BIOS32 rev. 0 @ 0xfdb90, 
SMBIOS rev. 2.3 @ 0xf0640 (50 entries)

bios0: Supermicro 370DER
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown, estimated 0:00 hours
apm0: APM get event: interface not connected (3)
apm0: APM get event: interface not connected (3)
apm0: disconnected
apm0: flags b0102 dobusy 0 doidle 0
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5380/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x6000 
0xcf000/0x1000 0xd/0x1000

mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel Pentium III (GenuineIntel 686-class) 800 MHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE

mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 11, 16 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20HE Host rev 0x23
ppb0 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Mach64 GM rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb1 at pci0 dev 0 function 2 ServerWorks CNB20HE Host rev 0x01
pchb2 at pci0 dev 0 function 3 ServerWorks CNB20HE Host rev 0x01
pci2 at pchb2 bus 2
em0 at pci2 dev 1 function 0 Intel PRO/1000XT (82544EI) rev 0x02: apic 
5 int 6 (irq 11), address 00:02:b3:d5:63:2d
fxp0 at pci0 dev 4 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
12 (irq 11), address 00:30:48:11:23:eb

inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ahc0 at pci0 dev 5 function 0 Adaptec AIC-7899 U160 rev 0x01: apic 5 
int 10 (irq 5)

scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 0 lun 0: QUANTUM, ATLAS10K2-TY184J, DDD6 SCSI3 
0/direct fixed

sd0: 17510MB, 17338 cyl, 5 head, 413 sec, 512 bytes/sec, 35860910 sec total
ahc1 at pci0 dev 5 function 1 Adaptec AIC-7899 U160 rev 0x01: apic 5 
int 11 (irq 10)

scsibus1 at ahc1: 16 targets
fxp1 at pci0 dev 6 function 0 Intel 8255x rev 0x08, i82559: apic 5 int 
15 (irq 9), address 00:30:48:11:23:ec

inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x50: polling
iic0 at piixpm0
lmenv0 at iic0 addr 0x2d: lm87 rev 4
lmenv1 at iic0 addr 0x2e: lm87 rev 4
pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: MATSHITA, CD-ROM CR-177, 7T03 SCSI0 
5/cdrom removable

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04: 
apic 4 int 10 (irq 10), version 1.0, legacy support

usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte 

Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Henning Brauer
* Joachim Schipper [EMAIL PROTECTED] [2007-04-20 14:49]:
 On Fri, Apr 20, 2007 at 12:36:29PM +0200, Henning Brauer wrote:
  * Joachim Schipper [EMAIL PROTECTED] [2007-04-20 00:36]:
   On Thu, Apr 19, 2007 at 10:51:56PM +0100, Stuart Henderson wrote:
 I don't think NFS/AFS is that good an idea; you'll need very beefy
 fileservers and a fast network.

NFS may actually be useful; if you really need the files in one
directory space for management/updates that's a way to do it (i.e.
mount all the various storage servers by NFS on a management
station/ftp server/whatever).
   
   Something like that might be a very good idea, yes. Just don't try to
   serve everything directly off NFS.
  
  there is nothing wrong with serving directly from NFS.
 
 Really? You have a lot more experience in this area, so I will defer to
 you if you are sure, but it seems to me that in the sort of system I
 explicitly assumed (something like a web farm), serving everything off
 NFS would involve either very expensive hardware or be rather slow.

no. cache works. reads are no problem whatsoever in this kind of setup
(well. I am sure you can make that a problem with many frontend servers 
and lots to read. obviously. but for any sane number of frontends, 
should not)

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



page flts when running X applications

2007-04-20 Thread Tom

Hi guys,

Since upgrading to the latest snapshots (4/7/2007) X applications take
considerably longer to load, for instance gaim now takes 30 seconds to
load rather than the 5 or so seconds I was used to. I've tried
building the applications through ports rather than using packages
which seems to make no difference. watching vmstat, page flts go from
7 to 7164 when loading an X application. console based programs seem
to work as fast as ever. Am i missing something or is this a known
problem with -current at the moment?
Thanks

Tom

Below is a dmesg and sysctl

OpenBSD 4.1-current (GENERIC) #0: Tue Apr 17 17:32:47 MDT 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.00GHz (GenuineIntel 686-class) 3.01 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 107264 (1047500K)
avail mem = 970334208 (947592K)
using 4278 buffers containing 53755904 bytes (52496K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 08/25/05, BIOS32 rev. 0 @
0xfd5d0, SMBIOS rev. 2.33 @ 0x3ff77000 (59 entries)
bios0: IBM IBM eServer x226-[864840Y]-
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd5d0/0xa30
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde20/448 (26 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x9000 0xc9000/0x1800
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7525 MCH rev 0x0c
ppb0 at pci0 dev 2 function 0 Intel MCH PCIE rev 0x0c
pci1 at ppb0 bus 1
bge0 at pci1 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1
(0x4101): irq 11, address 00:14:5e:45:0a:c6
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb1 at pci0 dev 3 function 0 Intel MCH PCIE rev 0x0c
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 3
ahd0 at pci3 dev 3 function 0 Adaptec AIC-7902B U320 rev 0x10: irq 11
ahd0: aic7902, U320 Wide Channel A, SCSI Id=7, PCI-X 67-100MHz, 512 SCBs
scsibus0 at ahd0: 16 targets
ahd1 at pci3 dev 3 function 1 Adaptec AIC-7902B U320 rev 0x10: irq 10
ahd1: aic7902, U320 Wide Channel B, SCSI Id=7, PCI-X 67-100MHz, 512 SCBs
scsibus1 at ahd1: 16 targets
Intel IOxAPIC rev 0x09 at pci2 dev 0 function 1 not configured
ppb3 at pci2 dev 0 function 2 Intel PCIE-PCIE rev 0x09
pci4 at ppb3 bus 4
Intel IOxAPIC rev 0x09 at pci2 dev 0 function 3 not configured
ppb4 at pci0 dev 4 function 0 Intel MCH PCIE rev 0x0c
pci5 at ppb4 bus 5
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: irq 10
uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801EB/ER USB rev 0x02: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0
uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ppb5 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
pci6 at ppb5 bus 6
vga1 at pci6 dev 4 function 0 ATI Radeon VE QY rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02:
24-bit timer at 3579545Hz
pciide0 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-4482B, 1.01 SCSI0
5/cdrom removable
atapiscsi1 at pciide0 channel 0 drive 1
scsibus3 at atapiscsi1: 2 targets
cd1 at scsibus3 targ 0 lun 0: LITE-ON, CD-ROM LTN-489S, 8US5 SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd0 at pciide0 channel 1 drive 0: HDS728080PLA380
wd0: 16-sector PIO, LBA48, 76324MB, 156312576 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2c: adt7460 rev 0x62
adt1 at iic0 addr 0x2e: adt7467 rev 0x71
usb1 at uhci0: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
usb2 at uhci1: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
usb3 at uhci2: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: Intel UHCI root 

Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Joachim Schipper
On Fri, Apr 20, 2007 at 07:56:16PM +0200, Henning Brauer wrote:
 * Joachim Schipper [EMAIL PROTECTED] [2007-04-20 14:49]:
  On Fri, Apr 20, 2007 at 12:36:29PM +0200, Henning Brauer wrote:
   * Joachim Schipper [EMAIL PROTECTED] [2007-04-20 00:36]:
On Thu, Apr 19, 2007 at 10:51:56PM +0100, Stuart Henderson wrote:
  I don't think NFS/AFS is that good an idea; you'll need very beefy
  fileservers and a fast network.
 
 NFS may actually be useful; if you really need the files in one
 directory space for management/updates that's a way to do it (i.e.
 mount all the various storage servers by NFS on a management
 station/ftp server/whatever).

Something like that might be a very good idea, yes. Just don't try to
serve everything directly off NFS.
   
   there is nothing wrong with serving directly from NFS.
  
  Really? You have a lot more experience in this area, so I will defer to
  you if you are sure, but it seems to me that in the sort of system I
  explicitly assumed (something like a web farm), serving everything off
  NFS would involve either very expensive hardware or be rather slow.
 
 no. cache works. reads are no problem whatsoever in this kind of setup
 (well. I am sure you can make that a problem with many frontend servers 
 and lots to read. obviously. but for any sane number of frontends, 
 should not)

Yeah, you are right. Now what was I thinking, anyway?

Anyway, thanks!

Joachim

-- 
TFMotD: pci_make_tag, pci_decompose_tag, pci_conf_read, pci_conf_write
(9) - PCI config space manipulation functions



Re: spamd - good job!

2007-04-20 Thread Frank Bax
Is there a place that documents the spamd differences from 4.0 to 4.1; or 
am I left with detecting the differences in documentation?  I see 41.htm 
mentions greylist sync which I won't need (although I could see a one-time 
use when migrating boxes); greytrapping sounds interesting, might try that 
(it's in man spamd).  What's noticing out of order MX use - just a log 
entry?  Are there any changes to existing functionality to be forewarned 
about; or just new features?


I'm actually running a February snapshot (early 4.1 beta) if that makes a 
difference; this is considered living on the edge for me.




At 12:59 PM 4/20/07, Bob Beck wrote:


Thanks. 4.1 has some major changes too, so bear in mind
spamd wise it's a big change from 4.0

-Bob


* Frank Bax [EMAIL PROTECTED] [2007-04-20 08:29]:
 I'm finally upgrading from 3.5 to 4.0!  I use the whitelist from puremagic
 and in the past 2.5 years I have also added another 10 ip addresses to
 spamd whitelist because of problems with mail getting through.  This 
week I

 did tests on 3 of those ip addresses and we are 3/3 for current spamd
 accepting connections without whitelist.  Great job!  I've also done some
 practice runs with in-place upgrades to snapshot; and plan to upgrade to
 4.1 soon after disks arrive.




Re: spamd - good job!

2007-04-20 Thread Curt Micol

This will set you in the right direction:
http://www.undeadly.org/cgi?action=articlesid=20070301144846

On 4/20/07, Frank Bax [EMAIL PROTECTED] wrote:

Is there a place that documents the spamd differences from 4.0 to 4.1; or
am I left with detecting the differences in documentation?  I see 41.htm
mentions greylist sync which I won't need (although I could see a one-time
use when migrating boxes); greytrapping sounds interesting, might try that
(it's in man spamd).  What's noticing out of order MX use - just a log
entry?  Are there any changes to existing functionality to be forewarned
about; or just new features?

I'm actually running a February snapshot (early 4.1 beta) if that makes a
difference; this is considered living on the edge for me.



At 12:59 PM 4/20/07, Bob Beck wrote:

 Thanks. 4.1 has some major changes too, so bear in mind
spamd wise it's a big change from 4.0

 -Bob


* Frank Bax [EMAIL PROTECTED] [2007-04-20 08:29]:
  I'm finally upgrading from 3.5 to 4.0!  I use the whitelist from puremagic
  and in the past 2.5 years I have also added another 10 ip addresses to
  spamd whitelist because of problems with mail getting through.  This
 week I
  did tests on 3 of those ip addresses and we are 3/3 for current spamd
  accepting connections without whitelist.  Great job!  I've also done some
  practice runs with in-place upgrades to snapshot; and plan to upgrade to
  4.1 soon after disks arrive.





--
Who?



Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Daniel Ouellet

Henning Brauer wrote:

* Joachim Schipper [EMAIL PROTECTED] [2007-04-20 14:49]:

On Fri, Apr 20, 2007 at 12:36:29PM +0200, Henning Brauer wrote:

* Joachim Schipper [EMAIL PROTECTED] [2007-04-20 00:36]:

On Thu, Apr 19, 2007 at 10:51:56PM +0100, Stuart Henderson wrote:

I don't think NFS/AFS is that good an idea; you'll need very beefy
fileservers and a fast network.

NFS may actually be useful; if you really need the files in one
directory space for management/updates that's a way to do it (i.e.
mount all the various storage servers by NFS on a management
station/ftp server/whatever).

Something like that might be a very good idea, yes. Just don't try to
serve everything directly off NFS.

there is nothing wrong with serving directly from NFS.

Really? You have a lot more experience in this area, so I will defer to
you if you are sure, but it seems to me that in the sort of system I
explicitly assumed (something like a web farm), serving everything off
NFS would involve either very expensive hardware or be rather slow.


no. cache works. reads are no problem whatsoever in this kind of setup
(well. I am sure you can make that a problem with many frontend servers 
and lots to read. obviously. but for any sane number of frontends, 
should not)


OK, then how well CARP works on NFS for backup mount in case something 
goes wrong with the main NFS server source? Is it efficient, possible 
and mount itself again? Delay? What do you consider a sane number of 
front ends, 10, less, more? Cache, you mean cache on the source NFS, or 
cache on the client NFS? Sorry, look like I have more questions then 
answers as I skip NFS a few years ago because of the bottle neck on the 
NFS transfer. Write was bad, read OK, but not huge. May well be 
different now, I would be happy with decent read, but what can be 
excepted. The archive is not to nice on the subject I have to say. 
Always looks like a bottle neck on the NFS side. If small site, or low 
traffic, yes that's great, but what can one expect to reach the limits 
here? Any ideas?


May be it's time for me to revisit this yet again, but never been very 
succesful with high traffic.


Many thanks

Daniel



Re: spamd - good job!

2007-04-20 Thread Bob Beck
Yes, the upgrading to 4.1 page mentions this.

-Bob


* Frank Bax [EMAIL PROTECTED] [2007-04-20 12:43]:
 Is there a place that documents the spamd differences from 4.0 to 4.1; or 
 am I left with detecting the differences in documentation?  I see 41.htm 
 mentions greylist sync which I won't need (although I could see a one-time 
 use when migrating boxes); greytrapping sounds interesting, might try that 
 (it's in man spamd).  What's noticing out of order MX use - just a log 
 entry?  Are there any changes to existing functionality to be forewarned 
 about; or just new features?
 
 I'm actually running a February snapshot (early 4.1 beta) if that makes a 
 difference; this is considered living on the edge for me.
 
 
 
 At 12:59 PM 4/20/07, Bob Beck wrote:
 
 Thanks. 4.1 has some major changes too, so bear in mind
 spamd wise it's a big change from 4.0
 
 -Bob
 
 
 * Frank Bax [EMAIL PROTECTED] [2007-04-20 08:29]:
  I'm finally upgrading from 3.5 to 4.0!  I use the whitelist from 
 puremagic
  and in the past 2.5 years I have also added another 10 ip addresses to
  spamd whitelist because of problems with mail getting through.  This 
 week I
  did tests on 3 of those ip addresses and we are 3/3 for current spamd
  accepting connections without whitelist.  Great job!  I've also done some
  practice runs with in-place upgrades to snapshot; and plan to upgrade to
  4.1 soon after disks arrive.
 

-- 
#!/usr/bin/perl
if ((not 0  not 1) !=  (! 0  ! 1)) {
   print Larry and Tom must smoke some really primo stuff...\n; 
}



Re: U320 Drive on U160 controller?

2007-04-20 Thread Marco Peereboom
On Fri, Apr 20, 2007 at 01:02:17PM -0400, Richard P. Welty wrote:
 Kenneth R Westerback wrote:
 On Fri, Apr 20, 2007 at 10:14:54AM -0600, Jeff Ross wrote:
 Will a U320 drive fall back to the U160 bandwidth?  I'm finding 
 conflicting advice on google, some say no problem, other say I'll kill 
 the U320 in short order, not seeing any hints in the man pages.
 
 To the best of my knowledge U320 drives should work fine negotiated
 down to U160. Or not work at all because they can't do non-PPR
 negotiation.
 
 i have U320 drives working fine with U160 controllers.
 
 i have also held in my hand new ibm/hitachi U320 SCA
 drives clearly labeled not for use with U160 controllers.
 i did not attempt to use them, instead i returned them for
 credit and got other drives.

That's malarkey.  It'll work just fine.

 
 richard



Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread J.C. Roberts
On Friday 20 April 2007 08:32, Tony Abernethy wrote:
 Jason Beaudoin wrote:
  snip
 
   Use all the tricks you can for YOUR solution, including:
 * lots of small partitions
 
  What are the reasonings behind this?
 
  Thanks for the awesome post!

 I think it runs something like this
 If there is a problem somewhere on the disk,
 if it's all one big partition, you must fix the big partition
 if it's lots of small partitions, you fix the one with the problem.

 Even worse, in some situations,
 the difference is between being dead and being somewhat crippled.

 Methinks there's lots of hard-won experience behind Nick's answers ;)

You last assumption is the most correct, and Nick has put some of that 
experience into FAQ-14 for our reading pleasure.

In general, you always want to assume a failure *WILL* occur, rather 
than think in terms of if something will fail. Having lots of small 
partitions, and using Read Only partitions wherever possible (also 
mentioned by Nick) gives you a number of important advantages. 

Assume that someone, possibly you, has managed to trip over the power 
cord, how long will it take you to get the server back up?

If your partitions are Read/Write, then you will be doing a fsck on each 
of them. That means time.

If your partitions are huge, then you will need a lot of RAM and time to 
preform the fsck. If you have a massive partition and insufficient RAM, 
then your fsck will fail (see FAQ-14.7 fsck(8) time and memory 
requirements) and you'll be stuck like a turtle on it's back at a soup 
competition.

The above is just your start up time after a crash or power loss.

Assume that someone, possibly you, has written some bad code that will 
scribble all over the data in one of your partitions. How long will it 
take you to recover?

If the partition was marked RO, then you don't have a problem. If it was 
a small RW partition, you can repair it reasonably quickly from backup. 
If your backup media fails, your losses are minimal. By comparison, if 
it's a huge RW partition, then you're stuffed.

The list of reasons goes on and on but when you really think about it, 
you'll understand that you're just doing proper risk management by 
trying to mitigate as many of the bad effects of failures as possible.

Never drink the marketing kool-aid that will try to sell you on the idea 
that failures are somehow avoidable. Sure, it might sound like a nice 
idea but the idea always falls short of reality. Being prepared for the 
reality of failures is a much better approach than sticking your head 
in the sand.

/jcr



waveplay Can't set Channels on OpenBSD 4.1 current - so don't play .wav file

2007-04-20 Thread Siju George

Hi,

I installed waveplay from ports on OpenBSD 4.1 current.
Trying to play a wavefile I get the Following Error.
Could Some one please tell me how to troubleshoot this?

$ waveplay sos.wav
File name : sos.wav
Sampling rate : 8000 Hz
Bits/Sample   : 8 Bits
Channels  : 1
Size  : 2147479552 Bytes

Can't set channels.
$

this line is in the /var/log/messages

==
Apr 21 03:19:46 current /bsd: didn't find Record format 6/16/1
===

dmesg below.

Thankyou so much

Kind Regards

Siju

==


$ mixerctl -a
outputs.source=dac
outputs.digital.source=dac
outputs.selector.mute=off
outputs.selector=119,119
outputs.master.mute=off
outputs.master=123,123
inputs.selector.source=mic1
outputs.headphones.boost=off
outputs.speaker.boost=off
outputs.mono.mute=off
outputs.mono=123
outputs.beep.mute=off
outputs.beep=85
inputs.usingdac=analog
record.usingadc=analog
$
==
$ audioctl -a
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_le:16
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=8704
hiwat=7
lowat=1
monitor_gain=0
mode=
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=174
play.balance=53
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=44100
record.channels=2
record.precision=16
record.encoding=slinear_le
record.gain=179
record.balance=48
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0
$

OpenBSD 4.1-current (GENERIC.MP) #1260: Fri Apr  6 01:51:07 MDT 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 1071742976 (1046624K)
avail mem = 970452992 (947708K)
using 4278 buffers containing 53710848 bytes (52452K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 12/18/06, BIOS32 rev. 0 @
0xffa10, SMBIOS rev. 2.4 @ 0xf6df0 (64 entries)
bios0: Dell Inc. Latitude D820
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfa930/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371 ISA and IDE rev 0x00)
pcibios0: PCI bus #13 is the last bus
bios0: ROM list: 0xc/0x1
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP HPET APIC ASF! MCFG SLIC TCPA SSDT
acpitimer at acpi0 not configured
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 3 (PCIE)
acpiprt3 at acpi0: bus 11 (RP01)
acpiprt4 at acpi0: bus 12 (RP02)
acpiprt5 at acpi0: bus 9 (PXP0)
acpiprt6 at acpi0: bus 13 (RP04)
acpiprt7 at acpi0: bus 0 (RP05)
acpiprt8 at acpi0: bus 0 (RP06)
acpiac at acpi0 not configured
acpibat at acpi0 not configured
acpibat at acpi0 not configured
acpibtn at acpi0 not configured
acpibtn at acpi0 not configured
acpibtn at acpi0 not configured
acpitz at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 7300 Go rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01:
apic 2 int 21 (irq 11)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Sigmatel STAC9220 (rev. 34.1), HDA version 1.0
azalia0: codec: 0x04x/0x14f1 (rev. 0.0), HDA version 0.9
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
pci2 at ppb1 bus 11
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01
pci3 at ppb2 bus 12
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02:
apic 2 int 17 (irq 3), address 00:19:d2:bc:22:93
ppb3 

Audio

2007-04-20 Thread David Cary
I have been a user of OpenBSD for a number of years (4 I think) and usually
manage to solve my problems alone however I am having trouble getting my
audio to work on this computer.

$ mixerctl -a | grep master
outputs.master=207,207
outputs.master.mute=off

This is the relevant output of dmesg:
autri0 at pci0 dev 1 function 4 SiS 7018 Audio rev 0x01: irq 5
ac97: codec id 0x43525934 (Cirrus Logic CS4299 rev 4)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at autri0
midi0 at autri0: 4DWAVE MIDI UART

I struggled with the above setup so installed a spare card I had lying
around and tried to disable autri* using config. I got a little lost but
dont think it is a good solution anyway.

Here is the card I installed:

eap0 at pci0 dev 11 function 0 Ensoniq CT5880 rev 0x02: irq 11
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio1 at eap0
midi1 at eap0: AudioPCI MIDI UART


tried to
 $ cat filename  /dev/audio1

did not work because / is read only and /dev/audio1 did not exist.

remounted / writeable

tried to create audio1 but did not get it right so moved audio0 to audio1
and replaced the symlink between audio and audio0 with one between audio and
audio1.

This is the output of ls -al run from /dev

lrwxr-xr-x   1 root   wheel6 Apr 21 09:34 audio - audio1
crw-rw-rw-   1 root   wheel  42, 128 Apr 21 09:42 audio1
lrwx--   1 root   wheel9 Mar  9 11:31 audioctl - audioctl0
crw-rw-rw-   1 root   wheel  42, 192 Mar  9 11:31 audioctl0

$ cat filename  /dev/audio
$ cat filename  /dev/audio1
Both the above commands do not produce sound.

I am lost and need help so that I can feed my podcast habit. I have never
managed to get the audio going on this machine but now have no choice as my
other one has died.

Regards
David



Re: [Fwd: Shipped Order:2007/3/12-13:27:10-21493:]

2007-04-20 Thread Steve Shockley

Allie D. wrote:

YES ! It's on it's way !!


 BSD41.0020

I suppose that means you were the 20th to order...



Re: Audio

2007-04-20 Thread Steve Shockley

David Cary wrote:

tried to create audio1 but did not get it right so moved audio0 to audio1
and replaced the symlink between audio and audio0 with one between audio and
audio1.


I think /dev/MAKEDEV audio1 will create all four sound devices.  After 
that try unmuting all outputs and volumes with mixerctl, sometimes 
headphone and speaker outputs are mixed up.




Re: Automatic boot of i386 occassionally fails; manually boots OK

2007-04-20 Thread Steve Shockley

Damon McMahon wrote:

This all makes sense now, and you are indeed correct.  The garbage
input is being sent from my console device to the OpenBSD machine when
the console device boots (booting Windows 2K in this case). The reason
for the 1 in 25 or so frequency is because this event only occurs when
both boxes are booting at the same time.


Try adding /noserialmice to the Win2k boot.ini; the Windows kernel tries 
to detect a serial mouse during the boot process, which can confuse some 
devices (such as APC serial UPSs or OpenBSD boot consoles).


http://support.microsoft.com/kb/131976
http://support.microsoft.com/kb/170817



is root account really necessary?

2007-04-20 Thread Default User
is a root account really necessary? wouldn't a system with no root
account, where all maintenance is done as sudo, be more secure? if so,
why not install with no root account by default?



Re: Audio

2007-04-20 Thread Ted Unangst

On 4/20/07, David Cary [EMAIL PROTECTED] wrote:

I have been a user of OpenBSD for a number of years (4 I think) and usually
manage to solve my problems alone however I am having trouble getting my
audio to work on this computer.

$ mixerctl -a | grep master
outputs.master=207,207
outputs.master.mute=off

This is the relevant output of dmesg:
autri0 at pci0 dev 1 function 4 SiS 7018 Audio rev 0x01: irq 5
ac97: codec id 0x43525934 (Cirrus Logic CS4299 rev 4)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at autri0
midi0 at autri0: 4DWAVE MIDI UART


autris have other mixers that need to be unmuted or turned up.


$ cat filename  /dev/audio
$ cat filename  /dev/audio1
Both the above commands do not produce sound.


cat is a terrible program to play sound with.  just use the program
you would normaly use; anything decent can be told to use audio1.



Re: is root account really necessary?

2007-04-20 Thread Han Boetes
Default User wrote:
 is a root account really necessary?

No.


 wouldn't a system with no root account, where all maintenance is
 done as sudo, be more secure?

No. It all depends on what you want and what your situation is.


 if so, why not install with no root account by default?

It isn't so. :-)

But if you want it, nothing will stop you from setting up like you
want.  It's just two minutes of work.  Just don't expect others to
choose the same.



# Han



Re: Webservers with Terrabytes of Data in - recomended setups

2007-04-20 Thread Nick Holland
J.C. Roberts wrote:
 On Friday 20 April 2007 08:32, Tony Abernethy wrote:
 Jason Beaudoin wrote:
  snip
 
   Use all the tricks you can for YOUR solution, including:
 * lots of small partitions
 
  What are the reasonings behind this?
 
  Thanks for the awesome post!

 I think it runs something like this
 If there is a problem somewhere on the disk,
 if it's all one big partition, you must fix the big partition
 if it's lots of small partitions, you fix the one with the problem.

 Even worse, in some situations,
 the difference is between being dead and being somewhat crippled.

 Methinks there's lots of hard-won experience behind Nick's answers ;)

yeah, though fortunately most of it was in the form of confirmation of
already held paranoia. :)

 You last assumption is the most correct, and Nick has put some of that 
 experience into FAQ-14 for our reading pleasure.

In addition to Tony and J.C.'s comments (I've edited them out for size,
go back and read 'em if you haven't), let me add another really big
reason: Growth and scalability.

Usual logic goes something like this: I need a lot of space, so I'm
going to build a file system that has a lot of space in it, and you
drop all that space into one file system.  Efficient?  For a while,
yes.  BUT, what about when it fills up?

Usual response: use a Volume Manager or Dump the data to a new,
bigger disk system.  Ok, the ability of some volume managers to
dynamically increase the size of a file system is kinda cool, but I
would argue that for many apps, it is just another way of saying,
The initial design SUCKED and I had more money than brains to fix
the problem (assuming one of the commercial products, of course).
Somewhat over simplification, of course...but...

Dumping the data from one disk to another is fine and dandy when you
are talking about your 40G disk on your home or desktop computer,
the fact that you are down for a few hours is no big deal.  But what
about a server?  I don't care how fast your disks are, moving 300G of
data to a new disk system is a lot of slow work.

Here's a better idea: break your data into more manageable chunks,
and design the system to fill those chunks AND make it easy to add
more later.  So, you implement today with 1TB of data space, broken
up into two 500G chunks.  Fill the first one, move on to the second
one.  Fill the second one, you bolt on more storage -- a process
which will probably take minutes, not hours.  When you bolt on more
storage, you will be doing it in the future, when capacity is bigger
and cost is less.

Let's look at the machine I mentioned yesterday, our e-mail archive
system:

disks:
Filesystem  1K-blocks  Used Avail Capacity  Mounted on
/dev/wd0a  199358 4974213965026%/
/dev/wd0e 1030550 6979018 0%/tmp
/dev/wd0d 4126462   2877500   104264073%/usr
/dev/wd0f 103055019794278108220%/var
/dev/wd0h 3093790   198932494977868%/home
/dev/wd0g   154803456  18471934 12859135013%/archive
/dev/wd2e   288411108 262462948  1152760696%/archive/a03
/dev/wd2f   288408068 264898440   908922697%/archive/a04
/dev/wd3e   480678832 442797322  1384757097%/archive/a05
/dev/wd3f   480675792 440723042  1591896297%/archive/a06
/dev/wd4e   480678832 439989958  1665493496%/archive/a07
/dev/wd4f   480675792 443581618  1306038697%/archive/a08
/dev/wd1e   480678840  19931182 436713716 4%/archive/a09
/dev/wd1f   480678368 2 45668 0%/archive/a10

Look that over carefully, you can almost see the story of the
machine's design.

wd0 is a mirrored pair of 300G SATA drives (Accusys 75160).  Note
that only a little more than half the drive is allocated at this
time!  Why?  Because there's no reason to wait for an fsck on 300G
when 160G is plenty.  And besides, I may have guessed wrong in how
big I made /var or /tmp or ...

wd2 is a RAID5 set of 300G SATA drives (Accusys 76130).  Why?
Because it was the biggest bang for the buck at the time, split down
the middle for manageability.

wd1 also started out as 300G drives, but has since been replaced by
the now cheaper/G 500G drives.  It has only just started being used
a couple days ago.

wd3 and wd4 are also 1TB arrays made up of three 500G drives.  They
were purchased after the original 300G drives were getting full.
Funny how that works, the 500G drives we just purchased (a09 and a10)
cost less than the 300G drives we installed originally.  Delaying
purchasing storage until you need it is a good thing!

The suspiciously missing a01 and a02 partitions are now sitting on a
shelf, as they have been removed from the system.  It is
relatively unlikely that we will be needing to go back to those, but
we hang on to 'em, Just In Case (and it is cheaper to hang onto three
300G SATA drives now than it is to restore from DVD if we were to
need to).  Granted, in five years, those drives may not spin up, nor
may 

q

2007-04-20 Thread Nick Holland
Default User wrote:
 is a root account really necessary? 

well, the account is needed for many tasks.
I presume you mean to ask, Is it necessary to be able to directly log
into the root account?, and that answer, in OpenBSD, is no.  However
the account must exist so that many applications can run.

Keep in mind, however, many other Unix-like OSs will ask you login as
root (and only as root) if you bring them up in single user mode, so
this is OpenBSD specific advice (or fix the default settings on the
lesser OS! :)

 wouldn't a system with no root
 account, where all maintenance is done as sudo, be more secure? 

not necessarily.
If people can guess your root account PW, they can probably guess
your non-root account PW, too, they just have one more thing to
guess...which is probably leaked all over the place.  For example,
I have no problem figuring out what your account name most likely
is on sbcglobal.net, so all I (still) need to figure out is the
password.

THAT BEING SAID...in a shared administrative environment (i.e.,
business), I usually set up the machine, create users with sudo
access for all the people administering the machine, then disable
the disable the PW in the root user (I do this from one of the
non-root users, to make sure I don't lock myself out of the
machine!).

I don't do this to obfuscate the administrative login process, I
do this to make sure that EACH of the administrators of the system
are able to administer the entire machine, and no one person has
an advantage to administrating the machine by having the root PW.
That way, in theory, if something happens to me, others can keep
the system running and properly maintained.  If one administrator
leaves, I simply deactivate that account.

Most of these systems actually do have an ssh key on root so
that a backup system can log in and back up everything.  So yes,
'root' is logged into.

 if so,
 why not install with no root account by default?

Properly handled, it isn't a security advantage.  And mishandled,
you have a security problem, regardless, don't fool yourself into
thinking otherwise.  Fix the real problem, don't disable root.
If the front door of your house is weak, don't paint it purple so
people looking for your thin wood door won't recognize it is a
door, FIX THE DANG DOOR.

For many applications, there is just nothing wrong with logging in
as root, and it is very possible to hurt yourself if you don't have
that option available, or if you do something really stupid on the
way to chasing this silly goal of never logging in as root.

Nick.



Re: is root account really necessary?

2007-04-20 Thread Theo de Raadt
 is a root account really necessary? wouldn't a system with no root
 account, where all maintenance is done as sudo, be more secure? if so,
 why not install with no root account by default?

Buy a book on Unix, please.