linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Adliger Martinez von der Unterschicht
Hi,

I am a total amateur and new to the list. I moved recently from linux
and I am running openbsd usually (not on this system) because of a
number of things (I guess I don't need to be eloquent here).

Now, a friend of mine has found a big problem:

http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear

https://bugs.launchpad.net/ubuntu/+bug/59695

https://bugs.launchpad.net/ubuntu/+bug/104535

And asks me how my OS behaves. Is there a laptop mode for obsd?
And, if so, is there a similar problem as explained in the web site?

Thanks



Moved OpenBSD router from Network A to Network B and Internet no longer works

2007-10-27 Thread Jake Conk
Hello,

I have my OpenBSD machine setup as a router and when I moved my
network from my office to my new datacenter I was no longer able to
connect to the internet from machines behind the obsd router. When I
try to ping a domain such as google.com from any of the machines
behind the router I get the ip adress of the domain or host back BUT I
do not get any successful replies back.

I do have ipforwarding setup and my openbsd router machine has named
setup also but as a forwarder to nameservers I have located elsewhere.

The only thing that changed when moving from network a (the office) to
network b (the datacenter) was the ip. It use to have a private ip and
now has a public ip attached to one of the ports. All the internal ips
with and behind the router remain the same.

The router has actually 2 public ips, one that is carped and another
ip address that is just configured as a public ip.

I don't know what else the problem could be. I've updated my default
gateway and ip addresses on my openbsd router, what else am I missing
here? Is there something probably cached that is sending requests from
my machines behind the router to its old ip that used to be configured
on the server?

Please help!

Thanks,
- Jake



Re: Moved OpenBSD router from Network A to Network B and Internet no longer works

2007-10-27 Thread Tony Sarendal
On 10/27/07, Jake Conk [EMAIL PROTECTED] wrote:

 Hello,

 I have my OpenBSD machine setup as a router and when I moved my
 network from my office to my new datacenter I was no longer able to
 connect to the internet from machines behind the obsd router. When I
 try to ping a domain such as google.com from any of the machines
 behind the router I get the ip adress of the domain or host back BUT I
 do not get any successful replies back.

 I do have ipforwarding setup and my openbsd router machine has named
 setup also but as a forwarder to nameservers I have located elsewhere.

 The only thing that changed when moving from network a (the office) to
 network b (the datacenter) was the ip. It use to have a private ip and
 now has a public ip attached to one of the ports. All the internal ips
 with and behind the router remain the same.

 The router has actually 2 public ips, one that is carped and another
 ip address that is just configured as a public ip.

 I don't know what else the problem could be. I've updated my default
 gateway and ip addresses on my openbsd router, what else am I missing
 here? Is there something probably cached that is sending requests from
 my machines behind the router to its old ip that used to be configured
 on the server?

 Please help!


Do your upstream routers know how to find the networks behind your
openbsd router ?

/Tony



Re: Moved OpenBSD router from Network A to Network B and Internet no longer works

2007-10-27 Thread Tony Sarendal
On 10/27/07, Tony Sarendal [EMAIL PROTECTED] wrote:

 On 10/27/07, Jake Conk [EMAIL PROTECTED] wrote:

  Hello,
 
  I have my OpenBSD machine setup as a router and when I moved my
  network from my office to my new datacenter I was no longer able to
  connect to the internet from machines behind the obsd router. When I
  try to ping a domain such as google.com from any of the machines
  behind the router I get the ip adress of the domain or host back BUT I
  do not get any successful replies back.
 
  I do have ipforwarding setup and my openbsd router machine has named
  setup also but as a forwarder to nameservers I have located elsewhere.
 
  The only thing that changed when moving from network a (the office) to
  network b (the datacenter) was the ip. It use to have a private ip and
  now has a public ip attached to one of the ports. All the internal ips
  with and behind the router remain the same.
 
  The router has actually 2 public ips, one that is carped and another
  ip address that is just configured as a public ip.
 
  I don't know what else the problem could be. I've updated my default
  gateway and ip addresses on my openbsd router, what else am I missing
  here? Is there something probably cached that is sending requests from
  my machines behind the router to its old ip that used to be configured
  on the server?
 
  Please help!


 Do your upstream routers know how to find the networks behind your
 openbsd router ?


I should not send emails before drinking coffee...
You use private addresses on the inside.

Use tcpdump to see that packets going out the firewall are nat'ed correctly,
and the responses come back.

/Tony



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread steve szmidt
On Saturday 27 October 2007, Adliger Martinez von der Unterschicht wrote:
 Hi,

 I am a total amateur and new to the list. I moved recently from linux
 and I am running openbsd usually (not on this system) because of a
 number of things (I guess I don't need to be eloquent here).

 Now, a friend of mine has found a big problem:

 http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear

And the same link shows the solution:

1) I added the following lines to my hdparm.conf:
 /dev/sda {
   apm = 255
 }
2) I created a file /etc/acpi/resume.d/99-stop-hitachi-madness.sh
 with the following contents:
 #!/bin/sh
 hdparm -B 255 /dev/sda


-- 

Steve Szmidt

They that would give up essential liberty for temporary safety 
deserve neither liberty nor safety.
Benjamin Franklin



What is the nice process state?

2007-10-27 Thread Karel Kulhavy
I am raytraing a video with a command rt and the top is showing this:

CPU states: 48.4% user, 48.7% nice,  3.0% system,  0.0% interrupt,  0.0% idle
[...]
PID USERNAME PRI NICE  SIZE   RES STATEWAIT TIMECPU COMMAND
29174 clock 79   10   33M   15M run  -0:00  4.25% rt

What is the nice state? I know what userspace, system, interrupt handler
and idle task is, but nice?

CL



Re: What is the nice process state?

2007-10-27 Thread Paul de Weerd
On Sat, Oct 27, 2007 at 01:57:06PM +0200, Karel Kulhavy wrote:
| I am raytraing a video with a command rt and the top is showing this:
|
| CPU states: 48.4% user, 48.7% nice,  3.0% system,  0.0% interrupt,  0.0%
idle
| [...]
| PID USERNAME PRI NICE  SIZE   RES STATEWAIT TIMECPU COMMAND
| 29174 clock 79   10   33M   15M run  -0:00  4.25% rt
|
| What is the nice state? I know what userspace, system, interrupt handler
| and idle task is, but nice?

See the nice(1) and renice(8) manpages for more information.

Cheers,

Paul 'WEiRD' de Weerd

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

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



Re: Google employment opportunity

2007-10-27 Thread Karel Kulhavy
On Fri, Oct 12, 2007 at 05:23:37PM -0700, David Mack wrote:
 Hi Theo,
 
 My name is David Mack, and I am a recruiter for the Google.com engineering
 team, a dynamic, challenging and fun group, which is responsible for our
 Google website, from start to finish.
 
 While doing a search for a specific skill set, I found your contact
 information on-line and I wanted to contact you to see if you may be
 interested in learning more about opportunities with us.  You seem like you
 might be a great fit here at Google.

I was already contacted by Google but I didn't take the offer.
I come from a former communist country (Czech Republic) and we had an
oppressive communist regime there 1948-1989. Information was censored exactly
the same way how you Google do it in China now and it was done to sustain the
oppressive regime and people suffered - some innocent people were even killed
by the regime for their opinions. I spent my whole childhood in this regime. So
I already know this is very wrong from my own first-hand experience. I don't
want to work in a company which does things that I consider gravely morally
wrong.

Another reason was that I didn't find a really appealing job offer in your list.

CL
 
 We have a number of exciting projects going on throughout the company in a
 number of different locations. Just wanted to see if you might be interested
 in exploring some? If you're open to that type of conversation, please feel
 free to circle back with me.
 
 Thank you and I hope to hear from you soon!
 
 All the best,
 
 David Mack
 Technical Recruiter/Sourcer
 Google Staffing
 650-253-7919
 [EMAIL PROTECTED]



Re: What is the nice process state?

2007-10-27 Thread Woodchuck
On Sat, 27 Oct 2007, Karel Kulhavy wrote:

 I am raytraing a video with a command rt and the top is showing this:
 
 CPU states: 48.4% user, 48.7% nice,  3.0% system,  0.0% interrupt,  0.0% idle
 [...]
 PID USERNAME PRI NICE  SIZE   RES STATEWAIT TIMECPU COMMAND
 29174 clock 79   10   33M   15M run  -0:00  4.25% rt
 
 What is the nice state? I know what userspace, system, interrupt handler
 and idle task is, but nice?
 
 CL

man 1 nice.
man 1 top.
man 3 sysctl  vide KERN_CPTIME

The nice value is added to the basic priority of a task.  The higher
the nice, the less likely a task is to get CPU time,  so called
because it is being nice to other users.  It's part of an ancient
unix work-around for not having proper prioritized batch queues and
a more versatile scheduler.

The standard joke is that there actually was a user who once
voluntarily ran nice on a time-sharing system.

Top's  48.7% nice here is telling you that the CPU is spending 48.7%
of its time executing tasks that are niced.  If this includes
processes with negative nice values, I do not know; you could
peruse the kernel source or conduct an experiment to discover that,
if you care to.

Dave



Re: Moved OpenBSD router from Network A to Network B and Internet no longer works

2007-10-27 Thread Jake Conk
Todd,

On 10/27/07, Todd T. Fries [EMAIL PROTECTED] wrote:
 a very common problem is hardcoding ips in pf.conf.

 Try  commenting out block statements temporarily in pf.conf incase that
 does not fix the problem.



Yeah I updated my pf.conf to the right ip addresses and I even turned
off pf just for testing to see if it would work but it didn't/


 Can the OpenBSD router ping google and such?

The OpenBSD router has no problem connecting to the internet. Just let
me restate that the machines behind the router get the public domain's
ip but just don't get any return packets which is really weird to me.


Thanks,
- Jake


 Penned by Jake Conk on 20071027  4:11.15, we have:
 | Hello,
 |
 | I have my OpenBSD machine setup as a router and when I moved my
 | network from my office to my new datacenter I was no longer able to
 | connect to the internet from machines behind the obsd router. When I
 | try to ping a domain such as google.com from any of the machines
 | behind the router I get the ip adress of the domain or host back BUT I
 | do not get any successful replies back.
 |
 | I do have ipforwarding setup and my openbsd router machine has named
 | setup also but as a forwarder to nameservers I have located elsewhere.
 |
 | The only thing that changed when moving from network a (the office) to
 | network b (the datacenter) was the ip. It use to have a private ip and
 | now has a public ip attached to one of the ports. All the internal ips
 | with and behind the router remain the same.
 |
 | The router has actually 2 public ips, one that is carped and another
 | ip address that is just configured as a public ip.
 |
 | I don't know what else the problem could be. I've updated my default
 | gateway and ip addresses on my openbsd router, what else am I missing
 | here? Is there something probably cached that is sending requests from
 | my machines behind the router to its old ip that used to be configured
 | on the server?
 |
 | Please help!
 |
 | Thanks,
 | - Jake



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Stuart Henderson
On 2007/10/27 14:57, Pau Amaro-Seoane wrote:
 I don't think he's asking for a solution to his problems but whether
 openbsd also has such a problem... which I don't think... but I don't
 have arguments

Well, that depends on what software you run.
I noticed the drive in my X40 doing this a lot the other day...

I think this should work:
# atactl wd0 apmset 253



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread steve szmidt
On Saturday 27 October 2007, Pau Amaro-Seoane wrote:
 I don't think he's asking for a solution to his problems but whether
 openbsd also has such a problem... which I don't think... but I don't
 have arguments

Hey, I'm sure you are totally right! It just struck me a bit silly sounding, 
and since he's a self proclaimed newbee, and me being willing to 
constructively help others, I thought it be good to know that there's a 
simple way around the issue.

I never ran into it, mostly because I don't really like to have to deal with 
typical laptop issues, and so my laptop mostly collects dust on a shelf.

Then blanket generalities like Linux kills laptops seems too far fetched 
whatever you feel about Linux, or any other O/S. It did not strike me as a 
very informed comment. More like what a reporter would say.

I love both Linux and OpenBSD and I also hate them. That's to say there are 
things that drive me batty about both and things that I would not want to be 
without. I saw the new MAC the other day and for the few minutes I spent on  
it it came across as a very slick user interface. 

The point being that not having in depth familiarity with things _can_ give 
you an overall wrong impression. I don't care one iota what he uses, but as a 
techie I give people information so that they can make better decisions.

My hat, if you want, is to give them viable solutions to problems. Then they 
can make the policy of which way to go without having to know all about it.

The same applies to our friend here who might never look at whatever O/S's he 
might have left behind him. 
-- 

Steve Szmidt

They that would give up essential liberty for temporary safety 
deserve neither liberty nor safety.
Benjamin Franklin



Re: Moved OpenBSD router from Network A to Network B and Internet no longer works

2007-10-27 Thread Jake Conk
On 10/27/07, Tony Sarendal [EMAIL PROTECTED] wrote:
 On 10/27/07, Tony Sarendal [EMAIL PROTECTED] wrote:
 
  On 10/27/07, Jake Conk [EMAIL PROTECTED] wrote:
 
   Hello,
  
   I have my OpenBSD machine setup as a router and when I moved my
   network from my office to my new datacenter I was no longer able to
   connect to the internet from machines behind the obsd router. When I
   try to ping a domain such as google.com from any of the machines
   behind the router I get the ip adress of the domain or host back BUT I
   do not get any successful replies back.
  
   I do have ipforwarding setup and my openbsd router machine has named
   setup also but as a forwarder to nameservers I have located elsewhere.
  
   The only thing that changed when moving from network a (the office) to
   network b (the datacenter) was the ip. It use to have a private ip and
   now has a public ip attached to one of the ports. All the internal ips
   with and behind the router remain the same.
  
   The router has actually 2 public ips, one that is carped and another
   ip address that is just configured as a public ip.
  
   I don't know what else the problem could be. I've updated my default
   gateway and ip addresses on my openbsd router, what else am I missing
   here? Is there something probably cached that is sending requests from
   my machines behind the router to its old ip that used to be configured
   on the server?
  
   Please help!
 
 
  Do your upstream routers know how to find the networks behind your
  openbsd router ?
 

 I should not send emails before drinking coffee...
 You use private addresses on the inside.

 Use tcpdump to see that packets going out the firewall are nat'ed correctly,
 and the responses come back.

 /Tony


Tony,

First of all what are you referring to as my upstream router?

Secondly about nat, well that's the weird thing, the machines behind
the router get the public domain's ip when ping'ing but just don't get
any return reply packets which is really weird to me. I have ip
forwarding in sysctl and my pf is configured to nat. Did I miss
something?

Thanks,
- Jake



Re: max number of groups

2007-10-27 Thread Lars Noodén
Douglas A. Tutty wrote:
 There has to be _some_ solution but it doesn't have to revolve around
 groups.  Surely we don't need a separate box for every 16 projects ...

Again, are these groups only affecting files?  Then you may look into
other file systems, such as OpenAFS.  In OpenAFS you can use PTS to have
effectively far more than 16 groups.  However, the downside is that the
access is controlled at the directory level, not the file level.

I haven't looked in years, but maybe one of the 'descendants' of OpenAFS
might also be usable.

-Lars



Re: What is the nice process state?

2007-10-27 Thread Lars Noodén
Karel Kulhavy wrote:
 ...
 What is the nice state? I know what userspace, system, interrupt handler
 and idle task is, but nice? ...

It's an adjustment to scheduling priority:

http://www.openbsd.org/cgi-bin/man.cgi?query=nice

You can use nice to give a process a higher or lower priority than other
processes when you start the process.  Or you can use renice to do the
same after the program is already started.

http://www.openbsd.org/cgi-bin/man.cgi?query=renice

Often it's used to slow down a CPU hog running in the background.

Regards
-Lars



Re: CEF / MLS (WAS: Re: em(4) - IFCAP_VLAN_MTU IFCAP_VLAN_HWTAGGING ?)

2007-10-27 Thread Henning Brauer
* Brian A Seklecki (Mobile) [EMAIL PROTECTED] [2007-10-26 17:19]:
 On Mon, 2007-10-22 at 12:04 +0200, Henning Brauer wrote:
  * Claudio Jeker [EMAIL PROTECTED] [2007-10-22 08:17]:
   Fragment Reassembly does not happen in the forwarding plane, it happens on
   the end system. By doing flow based forwarding on the router you're no
   longer able to do all the additional checks that pf(4) is doing in its
   stateful forwarding path.
  
  and we don't actually need these on a non-edge router. I'd go so far
  to say they hurt in that case.
 
 I agree.
 
 Just to confirm... you do not encourage the use of fragment reassembly
 at forwarding points other than the network periphery?

well, fragment reassembly probably doesn't hurt that much... don't 
really think it makes too much sense in these scenarios either. On the 
edge, yes, should be done.
I was more thinking about the sequence number tracking. We can't do 
that correctly if we only see one direction of the flow.

 We recently ran into some intermittent TCP connection stalls in a
 network where end point systems were behind as many a three PF systems
 end-point to end-point.  pfctl -x loud had a direct correlation to the
 stalls and reassemble debug activity output.
 
 We didn't debug it too much because there was a mix of 3.7, 3.9, and 4.1
 systems and we wanted to standardize on 4.2 before filing any
 superfluous bug reports.

i have a hard time to remember what was in 3.7 or 3.9 :)

-- 
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: nedd help with pf

2007-10-27 Thread Henning Brauer
* david l goodrich [EMAIL PROTECTED] [2007-10-26 15:02]:
 On Fri, 26 Oct 2007 15:13:19 +0300, Mindaugas [EMAIL PROTECTED]
 wrote:
  Hi,
  
  
  
  Situacion, I have table abusers : table abysers persist
  
  And pf rule which uses ir, so my question is
  
  How to set max host life time in table, without using pfctl -T expire
  number
  table?
 
 After patching[1] it to work with NetBSD, expiretable[2] 0.6 works great.

expiretable is pretty obsolete now, since pfctl -T expire does exactly 
the same thing.

-- 
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: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Tonnerre LOMBARD
Salut,

On Sat, Oct 27, 2007 at 11:34:27AM +0200, Adliger Martinez von der
Unterschicht wrote:
 Now, a friend of mine has found a big problem:

 http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear

 https://bugs.launchpad.net/ubuntu/+bug/59695

 https://bugs.launchpad.net/ubuntu/+bug/104535

Actually, Linux has a far worse bug in terms of hard disks, which has been
introduced in kernel version 1.3.26 or something in that order. Under some
circumstances, it overwrites the hard disk's firmware. Mostly this happens
in a state where the OS can't really function too well anymore anyway, so
you can only reboot. However, a hard disk with a bogus firmware will behave
as a brick, leaving you without a chance to fix the situation.

I have a couple of hard disks here which I use to keep paper from flying
away when I write letters, those have been Linux'd. It happens rarely, but
it does happen.

Tonnerre

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



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Pau Amaro-Seoane
 Hey, I'm sure you are totally right! It just struck me a bit silly sounding,
 and since he's a self proclaimed newbee, and me being willing to
 constructively help others, I thought it be good to know that there's a
 simple way around the issue.

yes, but this is not a linux mailing list and, as you pointed out, the
answer is in the links he posted; he cannot be that silly.

The answer he was asking for was what Stuart Henderson posted. And I
was also interested; so that many thanks, Stuart


t did not strike me as a
 very informed comment. More like what a reporter would say.

yes, he described himself as amateur, so give him a break on his very
first post ;)


 I love both Linux and OpenBSD and I also hate them.

this is indeed true; I have arrived to the conclusion that I hate
computers, full stop. But I certainly appreciate a lot what obsd gives
me. I cannot rely on linux, it behaves randomly, but I don't want to
start a flame war

 things that drive me batty about both and things that I would not want to be
  I saw the new MAC the other day and for the few minutes I spent on
 it it came across as a very slick user interface.

really, I don't want to start one :)


 The same applies to our friend here who might never look at whatever O/S's he
 might have left behind him.

let's see what he says.

Cheers,

Pau



Re: What is the nice process state?

2007-10-27 Thread Darrin Chandler
On Sat, Oct 27, 2007 at 01:57:06PM +0200, Karel Kulhavy wrote:
 I am raytraing a video with a command rt and the top is showing this:
 
 CPU states: 48.4% user, 48.7% nice,  3.0% system,  0.0% interrupt,  0.0% idle
 [...]
 PID USERNAME PRI NICE  SIZE   RES STATEWAIT TIMECPU COMMAND
 29174 clock 79   10   33M   15M run  -0:00  4.25% rt
 
 What is the nice state? I know what userspace, system, interrupt handler
 and idle task is, but nice?

You've been on this list and using OpenBSD for long enough that you
should be trying things like man nice, apropos nice and man top
before asking these kinds of questions. Also, Googling for unix nice
also yields plenty of info. If you learn how to find answers to
extremely basic questions on your own using provided documentation it
will save you a lot of time.

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread bofh
I'm really curious, I've never heard of a HD firmware killing bug in
linux since 1.3.x. I used to spend a lot of time following linux in
the 1.2 1.3 kernel times and don't recall hearing about that bug.
Thanx.


On 10/27/07, Tonnerre LOMBARD [EMAIL PROTECTED] wrote:
 Salut,

 On Sat, Oct 27, 2007 at 11:34:27AM +0200, Adliger Martinez von der
 Unterschicht wrote:
  Now, a friend of mine has found a big problem:
 
  http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear
 
  https://bugs.launchpad.net/ubuntu/+bug/59695
 
  https://bugs.launchpad.net/ubuntu/+bug/104535

 Actually, Linux has a far worse bug in terms of hard disks, which has been
 introduced in kernel version 1.3.26 or something in that order. Under some
 circumstances, it overwrites the hard disk's firmware. Mostly this happens
 in a state where the OS can't really function too well anymore anyway, so
 you can only reboot. However, a hard disk with a bogus firmware will behave
 as a brick, leaving you without a chance to fix the situation.

 I have a couple of hard disks here which I use to keep paper from flying
 away when I write letters, those have been Linux'd. It happens rarely, but
 it does happen.

   Tonnerre

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




-- 
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.
http://www.youtube.com/watch?v=tGvHNNOLnCk



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Tonnerre LOMBARD
Salut,

On Sat, Oct 27, 2007 at 12:14:49PM -0500, bofh wrote:
 I'm really curious, I've never heard of a HD firmware killing bug in
 linux since 1.3.x. I used to spend a lot of time following linux in
 the 1.2 1.3 kernel times and don't recall hearing about that bug.

Well, that was when I first noticed it. It is a bit hard to track in the
mess that Linux is, but it still exists in the 2.6 series: a 2.6.20
kernel Linux'd yet another hard disk of mine a couple of weeks ago.

Tonnerre

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



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread A5an0
Adliger Martinez von der Unterschicht wrote:
 Hi,

 I am a total amateur and new to the list. I moved recently from linux
 and I am running openbsd usually (not on this system) because of a
 number of things (I guess I don't need to be eloquent here).

 Now, a friend of mine has found a big problem:

 http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear

 https://bugs.launchpad.net/ubuntu/+bug/59695

 https://bugs.launchpad.net/ubuntu/+bug/104535

 And asks me how my OS behaves. Is there a laptop mode for obsd?
 And, if so, is there a similar problem as explained in the web site?

 Thanks


   
I've been running OpenBSD on my laptop for about a month (I've had 3
servers o it since 3.1) and I havn't noticed an issue like the one
you're talking about.
Can anyone confirm or deny this?

--Alex



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Tonnerre LOMBARD
Salut,

On Sat, Oct 27, 2007 at 12:38:55PM -0500, Todd Alan Smith wrote:
 What exactly were the symptoms of your drive being linux'd?

It tries to imitate a brick as closely as possible.

 Also, I'm wondering if this discussion shouldn't be taken off-list,
 since it's really about Linux, not OpenBSD.

Well, the entire thread was started as Linux killing hard disks, wasn't it?

Tonnerre

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



Problems booting 4.2 CD on two older machines.

2007-10-27 Thread Edd Barrett
Hi,

A couple of friends have been wanting to try out OpenBSD 4.2 on their
machines, but the 4.2 disk will not boot whereas the 4.1 disk will.

I know the 4.2 disk can be booted, because it works on my new hardware.

One of the machines I have installed by installing 4.1 and using a
bsd.rd to upgrade, but the other box has problems copying the sets
onto disk (I have tried a new disk, cable and IDE channel). I'm not
sure if this is a hardware fault, but I would like to boot the 4.2 cd
anyway, in case it was a bug in 4.1.

Has anyone else had problems booting the 4.2 CD? And is there a workaround?

Thanks

-- 
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Pau Amaro-Seoane
 Well, the entire thread was started as Linux killing hard disks, wasn't it?

and asking for Obsd information... :)

what about A4an0's question?

I've been running OpenBSD on my laptop for about a month (I've had 3
servers o it since 3.1) and I havn't noticed an issue like the one
you're talking about.
Can anyone confirm or deny this?

How can you see how often the disc was parked under OpenBSD?

This guy here makes a summary (full with too much emotion, as usual):

http://beranger.org/index.php?page=diary2007/10/24/18/07/21-it-s-confirmed-gutsy-is-killing-



Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread Edd Barrett
On 27/10/2007, Edd Barrett [EMAIL PROTECTED] wrote:
 Hi,

 A couple of friends have been wanting to try out OpenBSD 4.2 on their
 machines, but the 4.2 disk will not boot whereas the 4.1 disk will.

I should mention these are i386 boxes.


-- 
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett



Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread Barry Miller
On Sat, Oct 27, 2007 at 07:01:04PM +0100, Edd Barrett wrote:
 A couple of friends have been wanting to try out OpenBSD 4.2 on their
 machines, but the 4.2 disk will not boot whereas the 4.1 disk will.
[...] 
 Has anyone else had problems booting the 4.2 CD? And is there a workaround?

I have the same problem.  My 4 year old i386 test box doesn't see it as
bootable (4.[01] CDs work fine).  The CD seems ok - no problem pulling
kernels, sets, and packages off it.  It boots on my newer machines, and
even on an ancient (ca. 1999) NetVista.  I haven't had any other issues
with the drive itself.

dmesg after manual upgrade on the no-boot box:

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 1.70GHz (GenuineIntel 686-class) 1.70 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
real mem  = 259551232 (247MB)
avail mem = 243310592 (232MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/14/03, BIOS32 rev. 0 @ 0xfb2f0, SMBIOS 
rev. 2.2 @ 0xf0800 (34 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 06/14/2003
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/192 (10 entries)
pcibios0: PCI Exclusive IRQs: 5 9 10 11
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371SB ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xb000! 0xcc000/0x1800 0xce000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82845G/GL rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82845G/GL Video rev 0x03: aperture at 
0xe000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x02: irq 5
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x02: irq 10
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x02: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x02: irq 9
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x82
pci1 at ppb0 bus 1
fxp0 at pci1 dev 3 function 0 Intel 8255x rev 0x10, i82551: irq 11, address 
00:e0:81:52:b5:a9
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci1 dev 6 function 0 Intel 8255x rev 0x10, i82551: irq 10, address 
00:e0:81:52:b5:aa
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x02: 24-bit timer 
at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x02: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: ST380011A
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd1 at pciide0 channel 0 drive 1: SAMSUNG HD300LD
wd1: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 1.9A SCSI0 5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x02: irq 5
iic0 at ichiic0
it8712 at iic0 addr 0x2d not configured
iic0: addr 0x2d 00=11 01=10 02=00 03=07 04=00 05=00 06=00 07=00 08=00 09=00 
0a=1f 0b=5b 0c=6a 0d=18 0f=13 13=70 14=00 15=00 16=00 17=00 18=6a 19=6a 1a=6a 
1b=6a 1c=6a 1d=6a 1e=6a 1f=6a 20=6a 21=5d 22=cf 23=c1 24=b8 25=3b 26=47 27=b7 
29=16 2a=30 2b=2e 2c=6a 2d=6a 2e=6a 2f=6a 48=2d 51=1c 52=7f 53=7f 54=7f 58=90 
59=78 5a=fd 5b=12 5c=80 5d=00 5e=00 5f=00 60=7f 61=7f 62=7f 63=7f 64=7f 65=00 
66=00 67=00 68=7f 69=7f 6a=7f 6b=7f 6c=7f 6d=00 6e=00 6f=00 70=7f 71=7f 72=7f 
73=7f 74=00 75=00 76=00 77=00 80=11 81=10 82=00 83=00 84=00 85=00 86=00 87=00 
88=00 89=00 8a=1f 8b=5b 8c=6a 8d=18 8f=13 93=70 94=00 95=00 96=00 97=00 98=6a 
99=6a 9a=6a 9b=6a 9c=6a 9d=6a 9e=6a 9f=6a a0=6a a1=5d a2=cf a3=c1 a4=b7 a5=39 
a6=49 a7=b7 a9=16 aa=30 ab=2e ac=6a ad=6a ae=6a af=6a c8=2d d1=1c d2=7f d3=7f 
d4=7f d8=90 d9=78 da=fd db=12 dc=80 dd=00 de=00 df=00 e0=7f e1=7f e2=7f e3=7f 
e4=7f e5=00 e6=00 e7=00 e8=7f e9=7f ea=7f eb=7f ec=7f ed=00 ee=00 ef=00 f0=7f 
f1=7f f2=7f f3=7f f4=00 f5=00 f6=00 f7=00: it8712
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: 

carp(4) and pfsync(4) port numbers and types?

2007-10-27 Thread ropers
I am trying to add the ports used by carp(4) and pfsync(4) to this
Wikipedia article:
http://en.wikipedia.org/wiki/Well-known_ports
(The list includes unofficial ports.)

On http://www.openbsd.org/cgi-bin/man.cgi?query=pfsync
it says: The protocol is IP protocol 240. I'm not sure if I
understand correctly. Does that mean that the port is 240? Does pfsync
use the TCP or UDP port (or both)?

I understand from http://www.openbsd.org/lyrics.html#35
that carp uses IP protocol 112. Does that mean CARP's port is 112?
Does CARP use a TCP or UDP port, or both?

Many thanks in advance,
--ropers



Re: carp(4) and pfsync(4) port numbers and types?

2007-10-27 Thread Stuart Henderson
On 2007/10/28 02:01, ropers wrote:
 I am trying to add the ports used by carp(4) and pfsync(4) to this
 Wikipedia article:
 http://en.wikipedia.org/wiki/Well-known_ports
 (The list includes unofficial ports.)
 
 On http://www.openbsd.org/cgi-bin/man.cgi?query=pfsync
 it says: The protocol is IP protocol 240. I'm not sure if I
 understand correctly. Does that mean that the port is 240? Does pfsync
 use the TCP or UDP port (or both)?
 
 I understand from http://www.openbsd.org/lyrics.html#35
 that carp uses IP protocol 112. Does that mean CARP's port is 112?
 Does CARP use a TCP or UDP port, or both?

Neither. This is an IP *protocol* number. icmp is 1, tcp 6, udp 17,
carp (and vrrp also) 112, ...



Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread RW
On Sat, 27 Oct 2007 19:30:27 -0400, Barry Miller wrote:

On Sat, Oct 27, 2007 at 07:01:04PM +0100, Edd Barrett wrote:
 A couple of friends have been wanting to try out OpenBSD 4.2 on their
 machines, but the 4.2 disk will not boot whereas the 4.1 disk will.
[...] 
 Has anyone else had problems booting the 4.2 CD? And is there a workaround?

I have the same problem.  My 4 year old i386 test box doesn't see it as
bootable (4.[01] CDs work fine).  The CD seems ok - no problem pulling
kernels, sets, and packages off it.  It boots on my newer machines, and

Another one (user but 4 identical PCs).

The first (to exhibit the problem) machine I tried to upgrade to 4.2
had a CD drive that was dead some time ago but I only replaced it when
I took it out of service to upgrade.

When it failed to boot the 4.2 release CD I figured that a fancy DVD
burner with all the bells  whistles must have scared the old BIOS. I
just planted a bsd.rd onto it across the network and upgraded using the
CD which as the others have said mounts and reads perfectly.

I cannot see any pertinent difference in 4.1cd boot dmesg and 4.2
installed dmesg but my eyes may have missed something so here is one of
each:

4.2 installed.

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(TM) CPU 1300MHz (GenuineIntel 686-class) 1.31
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SSE
real mem  = 259555328 (247MB)
avail mem = 243314688 (232MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/27/02, BIOS32 rev. 0 @
0xfb4b0, SMBIOS rev. 2.3 @ 0xf0800 (35 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date
02/27/2002
bios0: VIA Technologies, Inc. VT8601
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xde94
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde10/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8601 PCI rev 0x05
ppb0 at pci0 dev 1 function 0 VIA VT82C601 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 Trident CyberBlade i1 rev 0x6a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x40
pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x06: ATA100,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: ST340016A
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: LITE-ON, DVDRW LH-20A1P, KL0N SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x1a: irq 12
uhci1 at pci0 dev 7 function 3 VIA VT83C572 USB rev 0x1a: irq 12
viaenv0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x40: 24-bit
timer at 3579545Hz
rl0 at pci0 dev 17 function 0 Realtek 8139 rev 0x10: irq 11, address
00:01:80:20:88:ab
rlphy0 at rl0 phy 0: RTL internal PHY
isa0 at pcib0
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
usb0 at uhci0: USB revision 1.0
uhub0 at usb0: VIA UHCI root hub, rev 1.00/1.00, addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1: VIA UHCI root hub, rev 1.00/1.00, addr 1
biomask f765 netmask ff65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b


4.1 CD booted to shell:

OpenBSD 4.1 (RAMDISK_CD) #248: Sat Mar 10 19:32:46 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Celeron(TM) CPU 1300MHz (GenuineIntel 686-class) 1.31
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SSE
real mem  = 259555328 (253472K)
avail mem = 230711296 (225304K)
using 3199 buffers containing 13103104 bytes (12796K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 02/27/02, BIOS32 rev. 0 @
0xfb4b0, SMBIOS rev. 2.3 @ 0xf0800 (35 entries)
bios0: VIA Technologies, Inc. 

Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread kim

Same problem here on a 3 year old i386.

I copied the iso file from the install CD ( /4.2/i386/cd42.iso ) and 
burned it to another CD.


This booted fine, and then I copied all of the OpenBSD file sets from 
the install CD to complete the setup.


When the CD that I burned booted up, I got a message at boot: 
/etc/boot.conf too large

I will submit a bug report tomorrow.

I have ordered another install CD from the supplier.



Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread Craig Findlay

Edd Barrett wrote:

On 27/10/2007, Edd Barrett [EMAIL PROTECTED] wrote:
  

Hi,

A couple of friends have been wanting to try out OpenBSD 4.2 on their
machines, but the 4.2 disk will not boot whereas the 4.1 disk will.



I should mention these are i386 boxes.


  


Same problem on an old Pentium Box. I wanted to upgrade it from 4.0 to 4.2
4.0 to 4.1 went fine. 4.2 CD was not recognised as bootable.
I left it for now as I had more pressing things to do, but if anyone has 
an explanation and/or workaround I will be interested.


Cheers,
Craig



Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread Edd Barrett
On 28/10/2007, kim [EMAIL PROTECTED] wrote:
 Same problem here on a 3 year old i386.

 I copied the iso file from the install CD ( /4.2/i386/cd42.iso ) and
 burned it to another CD.

 This booted fine, and then I copied all of the OpenBSD file sets from
 the install CD to complete the setup.

 When the CD that I burned booted up, I got a message at boot:
 /etc/boot.conf too large
 I will submit a bug report tomorrow.

 I have ordered another install CD from the supplier.



So I am not going insane. This is good I suppose.

But why are these machines not booting the CD's properly?


-- 
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett



Inspiron 1501 azalia garbled/slow audio

2007-10-27 Thread Stuart Shillington
Hello,

I've got an Inspiron 1501, and under 4.2/AMD64 when attempting to play
audio I get garbled/repeated/slow audio, using mpg321 and cat blah.au 
/dev/sound. With and without ACPI, with GENERIC  GENERIC.MP. The built
in volume-keys even work.

Chipset is ATI RS485M / SB600.

Incidently, I noticed a) the warning in about overheating in the acpi(4)
man page, and b)that the acpitz/acpicpu said not configured. Should I be
worried? (I guess it didn't melt down when compiling the kernel...)

I hope I didn't miss something obvious...

Thanks,

Stu


dmesg /w AZALIA_DEBUG enabled, audioctl, and mixerctl follows

yeah I shouldn't be running as root...

OpenBSD 4.2 (GENERIC) #0: Sat Oct 27 17:44:11 EDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 937480192 (894MB)
avail mem = 898486272 (856MB)
User Kernel Config
UKC enable aci
UKC enable acpi
263 acpi0 enabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0420 (37 entries)
bios0: vendor Dell Inc. version 2.6.1 date 08/23/2006
bios0: Dell Inc. Inspiron 1501
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP TCPA SSDT APIC MCFG HPET SLIC
acpitimer at acpi0 not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 0 (PB2_)
acpiprt2 at acpi0: bus 0 (PB3_)
acpiprt3 at acpi0: bus 2 (PB5_)
acpiprt4 at acpi0: bus 5 (PB6_)
acpiprt5 at acpi0: bus 8 (P2P_)
acpiprt6 at acpi0: bus 1 (AGP_)
acpiec at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpitz at acpi0 not configured
acpibtn at acpi0 not configured
acpibtn at acpi0 not configured
acpibtn at acpi0 not configured
acpiac at acpi0 not configured
acpibat at acpi0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55, 1795.74 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: PowerNow! K8 1795 MHz: speeds: 1800 1600 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 ATI RS480 Host rev 0x10
ppb0 at pci0 dev 1 function 0 ATI RS480 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon XPRESS 200M rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 5 function 0 ATI RS480 PCIE rev 0x00
pci2 at ppb1 bus 2
ppb2 at pci0 dev 6 function 0 ATI RX480 PCIE rev 0x00
pci3 at ppb2 bus 5
Broadcom BCM4311 rev 0x01 at pci3 dev 0 function 0 not configured
pciide0 at pci0 dev 18 function 0 ATI IXP600 SATA rev 0x00: DMA
(unsupported), channel 0 configured to native-PCI, channel 1 configured
to native-PCI
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: FUJITSU MHW2120BH
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
pciide0: channel 1 ignored (not responding; disabled or no drives?)
ohci0 at pci0 dev 19 function 0 ATI IXP600 USB rev 0x00: irq 11,
version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 ATI IXP600 USB rev 0x00: irq 11,
version 1.0, legacy support
ohci2 at pci0 dev 19 function 2 ATI IXP600 USB rev 0x00: irq 11,
version 1.0, legacy support
ohci3 at pci0 dev 19 function 3 ATI IXP600 USB rev 0x00: irq 11,
version 1.0, legacy support
ohci4 at pci0 dev 19 function 4 ATI IXP600 USB rev 0x00: irq 11,
version 1.0, legacy support
ehci0 at pci0 dev 19 function 5 ATI IXP600 USB2 rev 0x00: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: ATI EHCI root hub, rev 2.00/1.00, addr 1
piixpm0 at pci0 dev 20 function 0 ATI IXP600 SMBus rev 0x14: SMI
iic0 at piixpm0
pciide1 at pci0 dev 20 function 1 ATI IXP600 IDE rev 0x00: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: Optiarc, DVD+-RW AD-5560A, DD11 SCSI0
5/cdrom removable
cd0(pciide1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
azalia0 at pci0 dev 20 function 2 ATI IXP600 HD Audio rev 0x00: irq 10
azalia0: host: High Definition Audio rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia_attach: resetting
azalia_attach: reset counter = 5000
azalia_attach: reset counter = 4995
azalia0: found a codec at #0
azalia0: found a codec at #1
azalia_init_corb: CORB allocation succeeded.
azalia_init_corb: CORBWP=0; size=256
azalia_init_rirb: RIRB allocation succeeded.
azalia_init_rirb: RIRBRP=0, size=256
azalia0: information of codec[0] follows:
azalia_codec_init_vtbl: vid=14f12bfa subid=01f51028
azalia0: codec: Conexant/0x2bfa (rev. 0.0), HDA version 0.9
azalia_codec_init: nidstart=2 #functions=1
azalia_codec_init: FTYPE result = 0x0102
azalia0: 

Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread Barry Miller
On Sat, Oct 27, 2007 at 07:01:04PM +0100, Edd Barrett wrote:
 
 Has anyone else had problems booting the 4.2 CD?
 
Here's another can read the CD but not boot from it machine:

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 934 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
real mem  = 1073311744 (1048156K)
avail mem = 971960320 (949180K)
using 4278 buffers containing 53788672 bytes (52528K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 08/29/01, BIOS32 rev. 0 @ 0xfb3b0, SMBIOS 
rev. 2.2 @ 0xf0800 (46 entries)
bios0: VIA Technologies, Inc. VT82C694X
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xdd94
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdcf0/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xcc000/0x800 0xcd000/0x800 0xce000/0x800 
0xcf000/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT82C691 PCI rev 0xc4
ppb0 at pci0 dev 1 function 0 VIA VT82C598 AGP rev 0x00
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)
pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x40
pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x06: ATA100, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: MAXTOR 6L060J3
wd0: 16-sector PIO, LBA, 57259MB, 117266688 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MITSUMI, CD-ROM FX4831T!A, R02G SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x1a: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3 VIA VT83C572 USB rev 0x1a: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viaenv0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x40
xl0 at pci0 dev 8 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, address 
00:04:75:ad:65:c7
exphy0 at xl0 phy 24: 3Com internal media interface
xl1 at pci0 dev 10 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 5, address 
00:04:75:ad:5d:ac
exphy1 at xl1 phy 24: 3Com internal media interface
xl2 at pci0 dev 11 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 10, 
address 00:04:75:80:bb:9e
exphy2 at xl2 phy 24: 3Com internal media interface
xl3 at pci0 dev 12 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, 
address 00:04:75:ad:5d:10
exphy3 at xl3 phy 24: 3Com internal media interface
isa0 at pcib0
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask eb5d netmask ef7d ttymask 
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread RW
On Sun, 28 Oct 2007 01:48:54 +, Edd Barrett wrote:

But why are these machines not booting the CD's properly?

I was testing snapshots up to build #374.

One of my no-boot on #375 (release) boxes was installed from either
#373 or #374 (can't tell now) using snapshot .iso file

So maybe that narrows it a bit if we can find out what relevant factor
changed between those and release.

I have a spare box that will let me provide testing assistance if
required.

Mind you, if the problem never gets fixed it is not the end of the
world. When it comes to installs TIMTOWTDI prevails.

I wish I'd had the time to do the snap that was #375 as my test box for
snaps was one of the problem varietyand that's why we do
snapshot testing, innit?

Rod/

From the land down under: Australia.
Do we look umop apisdn from up over?



Re: carp(4) and pfsync(4) port numbers and types?

2007-10-27 Thread Darren Spruell
On 10/27/07, ropers [EMAIL PROTECTED] wrote:
 I understand from http://www.openbsd.org/lyrics.html#35
 that carp uses IP protocol 112. Does that mean CARP's port is 112?
 Does CARP use a TCP or UDP port, or both?

See also protocols(5) for information.

DS



Re: Problems booting 4.2 CD on two older machines.

2007-10-27 Thread Barry Miller
On Sat, Oct 27, 2007 at 05:51:25PM -0700, kim wrote:

 When the CD that I burned booted up, I got a message at boot: 
 /etc/boot.conf too large

But that came from cdboot, right?  I don't think the rest of us in this
thread are getting that far.