From the.phule at gmail.com Mon Jun 7 10:40:37 2010 From: the.phule at gmail.com (the.phule) Date: Mon, 7 Jun 2010 18:40:37 +1000 Subject: multi boot openbsd etc Message-ID: g'day, trying to get a multiple boot scenario working on my laptop with Windows Vista, Ubuntu, and OpenBSD im having trouble with both editing grub to get it to allow me to boot into openbsd. I keep getting error cannot get C/H/S values from grub at boot time. fdisk from ubuntu shows Command (m for help): p Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x50000000 Device Boot Start End Blocks Id System /dev/sda1 1 22 176683+ de Dell Utility /dev/sda2 23 1981 15728640 7 HPFS/NTFS /dev/sda3 1981 21632 157850384+ 7 HPFS/NTFS /dev/sda4 21633 60801 314624992+ 5 Extended /dev/sda5 21633 40652 152778118+ 83 Linux /dev/sda6 40653 41780 9060628+ 82 Linux swap / Solaris /dev/sda7 * 41781 60801 152786151 a6 OpenBSD I just tried booting off the install cd for openbsd with boot > hd7a:/bsd which seems to fail and suggest trying the cd version, i had a poke about with the boot help menu and it says (paraphrasing) that the boot letters should be hd[0123] have i made an error in installing where by openbsd needs to be on one of the first 4 partitions of the drive? From davidianwalker at gmail.com Sun Jun 13 20:11:15 2010 From: davidianwalker at gmail.com (David Walker) Date: Mon, 14 Jun 2010 03:41:15 +0930 Subject: Mail on OpenBSD. Message-ID: Hiya. I have a few noob questions about mail on OpenBSD. I'm not sure where to start so I'll blurt them out. What is "mail"? In the past I have used: dmesg | mail -s "dmesg" my.account at gmail This get's me a copy of dmesg on gmail and allows me to forward it to the boffins. That's all fine. However, if I disable Sendmail (sendmail_flags=NO) the mail command does not work. Is mail a front end to sendmail? What is the connection between them? I considered that "mail" might be a shortcut to Sendmail but it doesn't appear to be from my understanding of mailer.conf. Further there are two separate man pages. Is it similar to the way syslogd (Sendmail) is different from logger (mail)? There are other types of mail program as well I think. Software that fetches mail from an external server. Software that acts as a client to Sendmail. Is that correct? As I understand it OpenSMTPD is a possible non-production replacement for Sendmail. Does OpenSMTPD require mail? An overview of how mail works on OpenBSD might help me with this. I want to understand the underlying concepts but to be more specific I want to understand how "messages" (e.g. system logging - daily insecurity output, etcetera) gets to my mailbox. Also what do I need to be able to send an occasional message out. So if explaining everything is difficult, how it affects those circumstances would be great. I'm looking forward to getting further along the path. Best wishes. From davidianwalker at gmail.com Mon Jun 14 13:04:34 2010 From: davidianwalker at gmail.com (David Walker) Date: Mon, 14 Jun 2010 20:34:34 +0930 Subject: Mail on OpenBSD. In-Reply-To: References: Message-ID: On 14/06/2010, David Walker wrote: > I want to understand the underlying concepts but to be more specific I > want to understand how "messages" (e.g. system logging - daily > insecurity output, etcetera) gets to my mailbox. I think I worked this out by looking at /etc/daily. I couldn't see anything in syslog.conf or newsyslog.conf and I couldn't see where the mail was coming from. Best wishes. From DStaal at usa.net Mon Jun 14 16:09:37 2010 From: DStaal at usa.net (Daniel Staal) Date: Mon, 14 Jun 2010 10:09:37 -0400 Subject: Mail on OpenBSD. In-Reply-To: References: Message-ID: On Sun, June 13, 2010 2:11 pm, David Walker wrote: > Hiya. > > I have a few noob questions about mail on OpenBSD. > I'm not sure where to start so I'll blurt them out. > > What is "mail"? > In the past I have used: > dmesg | mail -s "dmesg" my.account at gmail > This get's me a copy of dmesg on gmail and allows me to forward it to > the boffins. > That's all fine. However, if I disable Sendmail (sendmail_flags=NO) > the mail command does not work. > Is mail a front end to sendmail? > What is the connection between them? > I considered that "mail" might be a shortcut to Sendmail but it > doesn't appear to be from my understanding of mailer.conf. Further > there are two separate man pages. > Is it similar to the way syslogd (Sendmail) is different from logger > (mail)? Sendmail is an SMTP daemon. It sends mail to other SMTP daemons, or to local delivery agents as appropriate. It receives mail via SMTP. (There are other ways to use it, but let's not worry about them at the moment.) mail is a local user mail program. It reads, displays, and deals with local mail folders in the standard 'Unix' format, and it can send mail to the local SMTP daemon. (Again, this is simplifying a bit...) You can use many different SMTP daemons, and you can use many different mail user agents. These two just happen to be standard. ('mail' is also about the simplest mail user agent that would actually be useful.) You do not need one to use the other: Mail just requires a SMTP daemon it can talk to to send mail. (Sendmail does not care if you have a mail agent anywhere.) As it is extremely simple, it doesn't even know how to send mail to another machine: It just hands mail to the local mailserver (another name for a SMTP daemon), and lets it work out how to get it where it needs to go. > There are other types of mail program as well I think. > Software that fetches mail from an external server. > Software that acts as a client to Sendmail. > Is that correct? Mail can be fetched from an external server via either POP or IMAP, and yes, there are many different programs that can operate on either end of that. I'm not sure what you mean by 'a client to Sendmail'... Sendmail talks to other SMTP daemons, and to local delivery agents. That's it. (Well, there are milters, which modify a mail message in transit.) Sendmail will never hold a message for reading, or do anything other than receive and forward email. (It might hold it if it can't immediately forward it, in order to try again, but that's the only reason it'd hold on to a message.) > As I understand it OpenSMTPD is a possible non-production replacement > for Sendmail. > Does OpenSMTPD require mail? > An overview of how mail works on OpenBSD might help me with this. I don't know anything about OpenSMTPD, but I doubt it requires mail. Mail might require it (or Sendmail, or Postfix, or Exim, or...), though. > I want to understand the underlying concepts but to be more specific I > want to understand how "messages" (e.g. system logging - daily > insecurity output, etcetera) gets to my mailbox. > Also what do I need to be able to send an occasional message out. > So if explaining everything is difficult, how it affects those > circumstances would be great. Electronic mail in general is made up of several parts. First, there is the User Agent (UA): mail, Thunderbird, kMail, Outlook, are all examples of UA's. Second the are Mail Transfer Agents (MTA's). Usually (and nearly always in the Unix world) these are SMTP daemons: Sendmail, Postfix, OpenSMTPD, Exchange, are all examples here. Thirdly, there are Mail Delivery Agents (MDA), also called local delivery agents. Most common here are: maildrop, procmail. (In some cases, MTA's incorporate some MDA functionality.) The normal processing order is: User creates mail using UA, which passes it to a MTA. This will pass it on to one or more further MTA's (on other servers), before it gets to it's final destination, where it will be handed to an MDA, who delivers it into a repository (often a file, or folders of files) where the recipient's UA can access it. (If POP/IMAP are being used, the MDA will deliver the message into a repository where the POP/IMAP daemon will be able to access it, and the UA will then talk to the POP/IMAP daemon to retrieve the email.) Hope this crash-course helps. ;) (Note that I am _greatly_ simplifying in some places, but for most everyday use that should not matter.) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From davidianwalker at gmail.com Mon Jun 14 19:42:23 2010 From: davidianwalker at gmail.com (David Walker) Date: Tue, 15 Jun 2010 03:12:23 +0930 Subject: Mail on OpenBSD. In-Reply-To: References: Message-ID: Hi Daniel. Thank you. > mail is a local user mail program. It reads, displays, and deals with > local mail folders in the standard 'Unix' format, and it can send mail to > the local SMTP daemon. > > You can use many different SMTP daemons, and you can use many different > mail user agents. These two just happen to be standard. ('mail' is also > about the simplest mail user agent that would actually be useful.) I noticed from the man pages that "mail" is very simple. This is great for me. It looks like the configuration of mail on OpenBSD can be daunting - simple is good. > You do not need one to use the other: Mail just requires a SMTP daemon it > can talk to to send mail. (Sendmail does not care if you have a mail > agent anywhere.) As it is extremely simple, it doesn't even know how to > send mail to another machine: It just hands mail to the local mailserver > (another name for a SMTP daemon), and lets it work out how to get it where > it needs to go. So this is why I can type "mail" and get a list of my mail and also send my dmesg out. Mail talks to my mailbox (to access the mailbox) or to Sendmail (to send mail). Is this correct? It also explains why I can't send out (but I can read my mail) if Sendmail is not running. >From your description if I have a mailserver my machine will process mail (either from outside or a queue or from syslogd, etcetera) and move it around but unless I have a UA I won't be able to read it or write it (easily). > Mail can be fetched from an external server via either POP or IMAP, and > yes, there are many different programs that can operate on either end of > that. > > I'm not sure what you mean by 'a client to Sendmail'... I probably should have avoided getting into POP or IMAP (what I was thinking of by fetching mail - this is the model I am used but I really don't have an interest it). As for "client to Sendmail" I guess I meant in the manner in which UA relates to mailserver - now I have some better terms and a better understanding. > I don't know anything about OpenSMTPD, but I doubt it requires mail. Yes because OpenSMTP is the mailserver and mailservers don't help people read mail right? > Mail might require it (or Sendmail, or Postfix, or Exim, or...), though. If I try to send mail somewhere right? > Electronic mail in general is made up of several parts. First, there is > the User Agent (UA): mail, Thunderbird, kMail, Outlook, are all examples > of UA's. > > Second the are Mail Transfer Agents (MTA's). Usually (and nearly always > in the Unix world) these are SMTP daemons: Sendmail, Postfix, OpenSMTPD, > Exchange, are all examples here. > > Thirdly, there are Mail Delivery Agents (MDA), also called local delivery > agents. Most common here are: maildrop, procmail. (In some cases, MTA's > incorporate some MDA functionality.) Excellent. I know two of these categories and some of the examples. I couldn't quite categorize mail and Sendmail though. That raises another question though, what are MDAs ... I'll read on. > The normal processing order is: User creates mail using UA, which passes > it to a MTA. This will pass it on to one or more further MTA's (on other > servers), before it gets to it's final destination, where it will be > handed to an MDA, who delivers it into a repository (often a file, or > folders of files) where the recipient's UA can access it. So this is where procmail becomes necessary - I have heard of it before, I'm guessing it's either the default or at least very common. I have some man pages to read. > (If POP/IMAP are being used, the MDA will deliver the message into a > repository where the POP/IMAP daemon will be able to access it, and the UA > will then talk to the POP/IMAP daemon to retrieve the email.) No worries, that clarifies the POP and IMAP stuff and how it works on *nix. Like I said I'm not really interested in this and that was a bit of a wrong turn, anyway now I know. > Hope this crash-course helps. ;) (Note that I am _greatly_ simplifying > in some places, but for most everyday use that should not matter.) That's totally brilliant. I probably should have said "please tell me how mail moves around on *nix" but still I got my questions answered. Cheers. It's a bit hard to ask the right questions when it's all a bit of a blur. I don't mind reading man pages (I quite enjoy that) and trying stuff but I really needed a mud map. Thanks very much. I had a look for procmail and maildrop man pages. I'm gonna guess that because there aren't any that Sendmail (which is the default MTA) handles these MDA functions also (as you suggested above) - is this correct? In your experience are there MDAs on OpenBSD? Looking forward to more great answers. :] Best wishes. From wittig.robert at sbcglobal.net Mon Jun 14 22:44:04 2010 From: wittig.robert at sbcglobal.net (Robert C Wittig) Date: Mon, 14 Jun 2010 15:44:04 -0500 Subject: Mail on OpenBSD. In-Reply-To: References: Message-ID: <4C169494.8080509@sbcglobal.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Walker wrote: > Looking forward to more great answers. :] Mail is a fully functioning MUA (Mail User Agent). If you have sendmail configured properly to send and receive mail on the Internet, it will send mail anywhere, and receive mail sent from anywhere. I have my own OBSD web/mailserver in-house, running over my ATT-DSL account (has 5 static IP addresses): http://robertwittig.net/workshop.html ...and it has been sending and receiving Internet mail for around 5 years without interruption. If you have sendmail in its default configuration, then it will only send email and messages on localhost. The 'mail' MUA is pretty kludgy, so I almost never use it... only when I am working on a server and really, really, really have to send someone an email. I have cron jobs set up on the server (up in my attic workshop), that email me copies of all my logs, which I receive in my office (one floor down) using Thunderbird. - -- - -wittig http://www.robertwittig.com/ http://robertwittig.net/ http://robertwittig.org/ . -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org/ iQEVAwUBTBaUlP9qkhAVPSgqAQIdeAgAoImoalveD7D4lraJNF9LD2SW9NbzYI0w x7q6NiRHJsfHppUZ5YTbus+ScgtiRKuYujD1WH91amAuG1+EBeZqUNGsH3ZAavDs /pqP5TuTxcRN8xu8yymWL+TGc0wQRH0QxXNBt3XyjPce7cd+KHnlyPI6KZArRrq/ q8zAmnTjGje013IB1ky2IgVo2816eQnCFFaJ+CPxEmxX+cTF+npeN+164KkSPKGT /GQROu8YFI9diSK/6DfIWTc2hJOr8ROApzf3NqazC1gc8/4e6sOR+PloQnAPnwQI 3dXWE0STyPXRJixvZRsLQbyHVgTETHir4mTMYhjIKZ/qi57tAxV6Mw== =95eE -----END PGP SIGNATURE----- From bsd4me at cableone.net Tue Jun 15 23:16:05 2010 From: bsd4me at cableone.net (Michael) Date: Tue, 15 Jun 2010 15:16:05 -0600 Subject: sendmail-postfix question Message-ID: <20100615211605.GB709@getlost.my.domain> My ISP is moving all email accounts to Gmail :( I've about got mutt working with the new gmail setup, but I have a question. I would like to learn either sendmail or postfix for moving my email to/from gmail. Would either one be easier? Here is the scenario: I just log in on my openbsd system as user, but I have two email accounts. One for private email, the other for maillists, etc. I've got fetchmail set up to download for both accts. I have msmtp pretty much set up to send for both accounts, but would like to learn to do the same with either sendmail or postfix. I'm the only person on here and I realize either one is probably overkill for my simple needs. I just want to learn one of them. I've never used postfix and used sendmail one time with help. So, one user, two email accounts, and needing to set one up to handle sending mail with proper From: Having never set either one up by myself and reading about them seems overwhelming at times. Guess the old grey matter is slow in retention nowadays. btw- I do understand about the postfix license and sendmail already being installed ;) I can't buy any books at this time due to being unemployed. Thanks for any info, views. I don't want to start an war, just help in knowing which might be easier! :) From jus at krytosvirus.com Wed Jun 16 05:07:24 2010 From: jus at krytosvirus.com (Justin Krejci) Date: Wed, 16 Jun 2010 03:07:24 +0000 Subject: sendmail-postfix question In-Reply-To: <20100615211605.GB709@getlost.my.domain> References: <20100615211605.GB709@getlost.my.domain> Message-ID: <154815779-1276657652-cardhu_decombobulator_blackberry.rim.net-2029447605-@bda2583.bisx.prod.on.blackberry> In general I prefer postfix over sendmail but in your case I would think sendmail would be easier as its already installed and likely will work for sending mail by default from local users such as yours. If you intend to host mail and receive incoming connections from the internet for delivery to your own domain then I would suggest reconsidering which MTA to use. Anyone know the current status of the openbsd MTA at all? That may be a worthy choice as well. Sent via BlackBerry from T-Mobile -----Original Message----- From: Michael Date: Tue, 15 Jun 2010 15:16:05 To: OpenBSD-Newbie Subject: sendmail-postfix question My ISP is moving all email accounts to Gmail :( I've about got mutt working with the new gmail setup, but I have a question. I would like to learn either sendmail or postfix for moving my email to/from gmail. Would either one be easier? Here is the scenario: I just log in on my openbsd system as user, but I have two email accounts. One for private email, the other for maillists, etc. I've got fetchmail set up to download for both accts. I have msmtp pretty much set up to send for both accounts, but would like to learn to do the same with either sendmail or postfix. I'm the only person on here and I realize either one is probably overkill for my simple needs. I just want to learn one of them. I've never used postfix and used sendmail one time with help. So, one user, two email accounts, and needing to set one up to handle sending mail with proper From: Having never set either one up by myself and reading about them seems overwhelming at times. Guess the old grey matter is slow in retention nowadays. btw- I do understand about the postfix license and sendmail already being installed ;) I can't buy any books at this time due to being unemployed. Thanks for any info, views. I don't want to start an war, just help in knowing which might be easier! :) _______________________________________________ Openbsd-newbies mailing list Openbsd-newbies at sfobug.org http://mailman.theapt.org/listinfo/openbsd-newbies From davidianwalker at gmail.com Wed Jun 16 05:33:37 2010 From: davidianwalker at gmail.com (David Walker) Date: Wed, 16 Jun 2010 13:03:37 +0930 Subject: Mail on OpenBSD. In-Reply-To: <4C169494.8080509@sbcglobal.net> References: <4C169494.8080509@sbcglobal.net> Message-ID: On 15/06/2010, Robert C Wittig wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > David Walker wrote: > >> Looking forward to more great answers. :] > > Mail is a fully functioning MUA (Mail User Agent). > > If you have sendmail configured properly to send and receive mail on the > Internet, it will send mail anywhere, and receive mail sent from anywhere. > > I have my own OBSD web/mailserver in-house, running over my ATT-DSL > account (has 5 static IP addresses): Ouch, I thought I was doing well - I get one static and four dynamic. Still I have IPv6 (a static /60) which is rare in Australia although I haven't used it yet. > http://robertwittig.net/workshop.html Cool. You are much neater than me and have more computers. > ...and it has been sending and receiving Internet mail for around 5 > years without interruption. > > If you have sendmail in its default configuration, then it will only > send email and messages on localhost. I wondered about having Sendmail on by default. > The 'mail' MUA is pretty kludgy, so I almost never use it... only when I > am working on a server and really, really, really have to send someone > an email. That's fine for me. >From the man page: mail is an intelligent mail processing system which has a command syntax reminiscent of ed(1) with lines replaced by messages. Apparently Bill Joy uses ed so I may as well learn it, I like simple things. http://web.cecs.pdx.edu/~kirkenda/joy84.html I never understood the hooplah about vi until a few months back - I' > I have cron jobs set up on the server (up in my attic workshop), that > email me copies of all my logs, which I receive in my office (one floor > down) using Thunderbird. From davidianwalker at gmail.com Wed Jun 16 05:56:18 2010 From: davidianwalker at gmail.com (David Walker) Date: Wed, 16 Jun 2010 13:26:18 +0930 Subject: Mail on OpenBSD. In-Reply-To: <4C169494.8080509@sbcglobal.net> References: <4C169494.8080509@sbcglobal.net> Message-ID: Hiya Robert. > Mail is a fully functioning MUA (Mail User Agent). > > If you have sendmail configured properly to send and receive mail on the > Internet, it will send mail anywhere, and receive mail sent from anywhere. > > I have my own OBSD web/mailserver in-house, running over my ATT-DSL > account (has 5 static IP addresses): Ouch, I thought I was doing well - I get one static and four dynamic. Still I have IPv6 (a static /60) which is rare in Australia (although I haven't used it yet). > http://robertwittig.net/workshop.html You are much neater than me. > ...and it has been sending and receiving Internet mail for around 5 > years without interruption. > > If you have sendmail in its default configuration, then it will only > send email and messages on localhost. I wondered about having Sendmail on by default. It wouldn't make sense to listen to the world pf or no pf. > The 'mail' MUA is pretty kludgy, so I almost never use it... only when I > am working on a server and really, really, really have to send someone > an email. That's fine for me. >From the man page: mail is an intelligent mail processing system which has a command syntax reminiscent of ed(1) with lines replaced by messages. Apparently Bill Joy uses ed so I may as well learn it, I like simple things. http://web.cecs.pdx.edu/~kirkenda/joy84.html I never understood the hooplah about vi until a few months back - I'd been using pico and other nonsense. Besides I don't want to do my "normal" mail on OpenBSD, I use gmail for now. I want to pipe things of interest and maybe send some logs here and there. > I have cron jobs set up on the server (up in my attic workshop), that > email me copies of all my logs, which I receive in my office (one floor > down) using Thunderbird. Cool. I think I might start on OpenSMTPD it seems to be the future on OpenBSD and probably a lot saner to use: The OpenSMTPD project was started as a separate project after a developer suffered from eyes bleeding while trying to slightly alter sendmail configuration. It was imported in the OpenBSD tree in November 2008 to help speed up development. http://www.opensmtpd.org/ Hah. Thanks for the insight. Nevermind the duplicate mail - I'm breaking in a new keyboard. Best wishes. From phessler at theapt.org Wed Jun 16 08:51:59 2010 From: phessler at theapt.org (Peter Hessler) Date: Wed, 16 Jun 2010 08:51:59 +0200 Subject: sendmail-postfix question In-Reply-To: <20100615211605.GB709@getlost.my.domain> References: <20100615211605.GB709@getlost.my.domain> Message-ID: <20100616065159.GA3369@gir.theapt.org> Personally, I use postfix on my mailservers (including the one that hosts this list), however I am very interested in migrating to smtpd that is included with openbsd 4.6 and later. I would go with -current (to pick up all of the latest fixes), and experiment there. The primary reason I haven't migrated to smtpd is lack of (enough) free time. On 2010 Jun 15 (Tue) at 15:16:05 -0600 (-0600), Michael wrote: :My ISP is moving all email accounts to Gmail :( :I've about got mutt working with the new gmail setup, but I have a question. :I would like to learn either sendmail or postfix for moving my email to/from gmail. :Would either one be easier? :Here is the scenario: :I just log in on my openbsd system as user, but I have two email accounts. :One for private email, the other for maillists, etc. I've got fetchmail set up to download for both accts. :I have msmtp pretty much set up to send for both accounts, but would like to learn to do the same with either sendmail or postfix. :I'm the only person on here and I realize either one is probably overkill for my simple needs. :I just want to learn one of them. I've never used postfix and used sendmail one time with help. :So, one user, two email accounts, and needing to set one up to handle sending mail with proper From: :Having never set either one up by myself and reading about them seems overwhelming at times. :Guess the old grey matter is slow in retention nowadays. :btw- I do understand about the postfix license and sendmail already being installed ;) : :I can't buy any books at this time due to being unemployed. : :Thanks for any info, views. I don't want to start an war, just help in knowing which might be easier! :) :_______________________________________________ :Openbsd-newbies mailing list :Openbsd-newbies at sfobug.org :http://mailman.theapt.org/listinfo/openbsd-newbies -- Steinbach's Guideline for Systems Programming: Never test for an error condition you don't know how to handle. From bsd4me at cableone.net Wed Jun 16 20:33:39 2010 From: bsd4me at cableone.net (Michael) Date: Wed, 16 Jun 2010 12:33:39 -0600 Subject: sendmail-postfix question In-Reply-To: <20100616065159.GA3369@gir.theapt.org> References: <20100615211605.GB709@getlost.my.domain> <20100616065159.GA3369@gir.theapt.org> Message-ID: <20100616183339.GC13012@getlost.my.domain> Thank-you Peter and Justin Krejci. I think the ISP is having as much trouble as I am!! :) I haven't been getting email from both accounts and haven't been able to connect via web either. Guess it gives me time to do more reading. I joined the postfix maillist. Not even going to pretend to understand sendmail stuff, but perhaps the smtpd is better. Mike * Peter Hessler [2010-06-16 08:51:59 +0200]: > Personally, I use postfix on my mailservers (including the one that > hosts this list), however I am very interested in migrating to smtpd > that is included with openbsd 4.6 and later. I would go with -current > (to pick up all of the latest fixes), and experiment there. The primary > reason I haven't migrated to smtpd is lack of (enough) free time. > > > > On 2010 Jun 15 (Tue) at 15:16:05 -0600 (-0600), Michael wrote: > :My ISP is moving all email accounts to Gmail :( > :I've about got mutt working with the new gmail setup, but I have a question. > :I would like to learn either sendmail or postfix for moving my email to/from gmail. > :Would either one be easier? > :Here is the scenario: > :I just log in on my openbsd system as user, but I have two email accounts. > :One for private email, the other for maillists, etc. I've got fetchmail set up to download for both accts. > :I have msmtp pretty much set up to send for both accounts, but would like to learn to do the same with either sendmail or postfix. > :I'm the only person on here and I realize either one is probably overkill for my simple needs. > :I just want to learn one of them. I've never used postfix and used sendmail one time with help. > :So, one user, two email accounts, and needing to set one up to handle sending mail with proper From: > :Having never set either one up by myself and reading about them seems overwhelming at times. > :Guess the old grey matter is slow in retention nowadays. > :btw- I do understand about the postfix license and sendmail already being installed ;) > : > :I can't buy any books at this time due to being unemployed. > : > :Thanks for any info, views. I don't want to start an war, just help in knowing which might be easier! :) > :_______________________________________________ > :Openbsd-newbies mailing list > :Openbsd-newbies at sfobug.org > :http://mailman.theapt.org/listinfo/openbsd-newbies > > -- > Steinbach's Guideline for Systems Programming: > Never test for an error condition you don't know how to > handle. > _______________________________________________ > Openbsd-newbies mailing list > Openbsd-newbies at sfobug.org > http://mailman.theapt.org/listinfo/openbsd-newbies From bsd4me at cableone.net Fri Jun 18 20:57:40 2010 From: bsd4me at cableone.net (Michael) Date: Fri, 18 Jun 2010 12:57:40 -0600 Subject: lpr and mutt Message-ID: <20100618185740.GA27940@getlost.my.domain> I don't know if this is an mutt question or openbsd/lpr question, so here goes :) I use lpr for printing in mutt, which for the most part works great. However, I need something to make the printer not print partial words at the end of each line. Is there something similar to "set smart_wrap" for printing? Here is my /etc/printcap with apsfilter: # $OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $ #lp|local line printer:\ # :lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs: #rp|remote line printer:\ # :lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL lp|hl1250;r=300x300;q=medium;c=gray;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/lp:\ :lf=/var/spool/lpd/lp/log:\ :af=/var/spool/lpd/lp/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this And my .muttrc contains: set print_command="lpr" set smart_wrap Thanks. Mike From bsd4me at cableone.net Wed Jun 23 00:10:18 2010 From: bsd4me at cableone.net (Michael) Date: Tue, 22 Jun 2010 16:10:18 -0600 Subject: 4.7 overheating on Aspire 3000 Message-ID: <20100622221018.GA8509@getlost.my.domain> I just installed 4.7 on my laptop, but as soon as openbsd boots, the fan comes on and stays on. Temp is shown as 67C with just console log in. I booted linux with kde and the temp was 42C while running kde. I tried disabling acpi, but that didn't help, so enabled it. Here is my dmesg from /var/run: OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile AMD Sempron(tm) Processor 3100+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.81 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 real mem = 468217856 (446MB) avail mem = 444960768 (424MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/20/06, BIOS32 rev. 0 @ 0xfd5f0, SMBIOS rev. 2.31 @ 0x1befb000 (24 entries) bios0: vendor Acer version "3A32" date 02/20/06 bios0: Acer, inc. Aspire 3000 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP SSDT APIC BOOT acpi0: wakeup devices PCI0(S5) LAN_(S5) MODM(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD erratum 89 present, BIOS upgrade may be required cpu0: apic clock running at 200MHz ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, PSS acpitz0 at acpi0: critical temperature 97 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 not present acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB bios0: ROM list: 0xc0000/0xc000 0xdc000/0x8000! cpu0: PowerNow! K8 20288 MHz: speeds: 1800 1600 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "SiS 760 PCI" rev 0x03 agp at pchb0 not configured ppb0 at pci0 dev 1 function 0 "SiS 86C202 VGA" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25 pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 760: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 57231MB, 117210240 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: ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 "SiS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: apic 1 int 18 (irq 5), SiS7012 AC97 ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo audio0 at auich0 ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 20 (irq 9), version 1.0, legacy support ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 21 (irq 11), version 1.0, legacy support ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 0x00: apic 1 int 23 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1 sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: apic 1 int 19 (irq 3), address 00:16:36:3c:14:4a rlphy0 at sis0 phy 13: RTL8201L 10/100 PHY, rev. 1 cbb0 at pci0 dev 6 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1 int 19 (irq 255), CardBus support disabled bwi0 at pci0 dev 11 function 0 "Broadcom BCM4318" rev 0x02: apic 1 int 17 (irq 4), address 00:16:ce:49:a8:e1 pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00 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 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1 cardslot0 at cbb0 slot 0 flags 0 pcmcia0 at cardslot0 mtrr: Pentium Pro MTRR support umass0 at uhub0 port 3 configuration 1 interface 0 "Sunplus Innovation Technology. USB to Serial-ATA bridge" rev 2.00/1.0f addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed sd0: 190782MB, 512 bytes/sec, 390721968 sec total vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root root on sd0a swap on sd0b dump on sd0b From bsd4me at cableone.net Wed Jun 23 20:20:02 2010 From: bsd4me at cableone.net (Michael) Date: Wed, 23 Jun 2010 12:20:02 -0600 Subject: 4.7 overheating on Aspire 3000 In-Reply-To: <20100622221018.GA8509@getlost.my.domain> References: <20100622221018.GA8509@getlost.my.domain> Message-ID: <20100623182002.GA18974@getlost.my.domain> Just a FWIW, I installed FreeBSD 8.0 in place of OpenBSD, and running X, the cpu temp was 42C. After getting bwi0 working, I sure wanted to stay with openbsd, but not at those temps :( update: installed 4.7 on an external hd attached to the laptop, and again cpu temp is 67C at console login. * Michael [2010-06-22 16:10:18 -0600]: > I just installed 4.7 on my laptop, but as soon as openbsd boots, the fan comes on and stays on. > Temp is shown as 67C with just console log in. > I booted linux with kde and the temp was 42C while running kde. > I tried disabling acpi, but that didn't help, so enabled it. > Here is my dmesg from /var/run: > > OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 > deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Mobile AMD Sempron(tm) Processor 3100+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.81 GHz > cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 > real mem = 468217856 (446MB) > avail mem = 444960768 (424MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 02/20/06, BIOS32 rev. 0 @ 0xfd5f0, SMBIOS rev. 2.31 @ 0x1befb000 (24 entries) > bios0: vendor Acer version "3A32" date 02/20/06 > bios0: Acer, inc. Aspire 3000 > acpi0 at bios0: rev 0 > acpi0: tables DSDT FACP SSDT APIC BOOT > acpi0: wakeup devices PCI0(S5) LAN_(S5) MODM(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD erratum 89 present, BIOS upgrade may be required > cpu0: apic clock running at 200MHz > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpiec0 at acpi0 > acpicpu0 at acpi0: C3, C2, PSS > acpitz0 at acpi0: critical temperature 97 degC > acpiac0 at acpi0: AC unit online > acpibat0 at acpi0: BAT1 not present > acpibtn0 at acpi0: LID_ > acpibtn1 at acpi0: PWRB > acpibtn2 at acpi0: SLPB > bios0: ROM list: 0xc0000/0xc000 0xdc000/0x8000! > cpu0: PowerNow! K8 20288 MHz: speeds: 1800 1600 800 MHz > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "SiS 760 PCI" rev 0x03 > agp at pchb0 not configured > ppb0 at pci0 dev 1 function 0 "SiS 86C202 VGA" rev 0x00 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25 > pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 760: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility > wd0 at pciide0 channel 0 drive 0: > wd0: 16-sector PIO, LBA48, 57231MB, 117210240 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: ATAPI 5/cdrom removable > cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 > "SiS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured > auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: apic 1 int 18 (irq 5), SiS7012 AC97 > ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0) > ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo > audio0 at auich0 > ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 20 (irq 9), version 1.0, legacy support > ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 21 (irq 11), version 1.0, legacy support > ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 0x00: apic 1 int 23 (irq 10) > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1 > sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: apic 1 int 19 (irq 3), address 00:16:36:3c:14:4a > rlphy0 at sis0 phy 13: RTL8201L 10/100 PHY, rev. 1 > cbb0 at pci0 dev 6 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1 int 19 (irq 255), CardBus support disabled > bwi0 at pci0 dev 11 function 0 "Broadcom BCM4318" rev 0x02: apic 1 int 17 (irq 4), address 00:16:ce:49:a8:e1 > pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 > pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 > pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 > kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00 > 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 > pms0 at pckbc0 (aux slot) > pckbc0: using irq 12 for aux slot > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > midi0 at pcppi0: > spkr0 at pcppi0 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1 > usb2 at ohci1: USB revision 1.0 > uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1 > cardslot0 at cbb0 slot 0 flags 0 > pcmcia0 at cardslot0 > mtrr: Pentium Pro MTRR support > umass0 at uhub0 port 3 configuration 1 interface 0 "Sunplus Innovation Technology. USB to Serial-ATA bridge" rev 2.00/1.0f addr 2 > umass0: using SCSI over Bulk-Only > scsibus1 at umass0: 2 targets, initiator 0 > sd0 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed > sd0: 190782MB, 512 bytes/sec, 390721968 sec total > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > root on sd0a swap on sd0b dump on sd0b > From zexel08 at gmail.com Wed Jun 23 23:15:53 2010 From: zexel08 at gmail.com (Jesus Sanchez) Date: Wed, 23 Jun 2010 23:15:53 +0200 Subject: 4.7 overheating on Aspire 3000 In-Reply-To: <20100623182002.GA18974@getlost.my.domain> References: <20100622221018.GA8509@getlost.my.domain> <20100623182002.GA18974@getlost.my.domain> Message-ID: <4C227989.9020608@gmail.com> El 23/06/2010 20:20, Michael escribi?: > Just a FWIW, I installed FreeBSD 8.0 in place of OpenBSD, and running X, > the cpu temp was 42C. > > After getting bwi0 working, I sure wanted to stay with openbsd, but not at those temps :( > > > update: installed 4.7 on an external hd attached to the laptop, and again cpu temp is 67C at console login. > > > * Michael [2010-06-22 16:10:18 -0600]: > Well, i dont have this problem with OpenBSD but as a workaround you can use the sysctl variable hw.setperf as root: # sysctl hw.setperf=30 this changes the top CPU performance to 30% of its capacity, but it's not available in all CPU models so maybe you will get some kind of error msg in console. You can use any value from 1 to 99 % (NEVER USE 100!). Most of laptops only start the fans if CPU is having much work so, at 30 % or 20 % it wont get hot. it's the simplest yet most useful command to save battery on laptops. hope this helps anyway, never had temp problems with OpenBSD. -J > >> I just installed 4.7 on my laptop, but as soon as openbsd boots, the fan comes on and stays on. >> Temp is shown as 67C with just console log in. >> I booted linux with kde and the temp was 42C while running kde. >> I tried disabling acpi, but that didn't help, so enabled it. >> Here is my dmesg from /var/run: >> >> OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 >> deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC >> cpu0: Mobile AMD Sempron(tm) Processor 3100+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.81 GHz >> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 >> real mem = 468217856 (446MB) >> avail mem = 444960768 (424MB) >> mainbus0 at root >> bios0 at mainbus0: AT/286+ BIOS, date 02/20/06, BIOS32 rev. 0 @ 0xfd5f0, SMBIOS rev. 2.31 @ 0x1befb000 (24 entries) >> bios0: vendor Acer version "3A32" date 02/20/06 >> bios0: Acer, inc. Aspire 3000 >> acpi0 at bios0: rev 0 >> acpi0: tables DSDT FACP SSDT APIC BOOT >> acpi0: wakeup devices PCI0(S5) LAN_(S5) MODM(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) >> acpitimer0 at acpi0: 3579545 Hz, 24 bits >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >> cpu0 at mainbus0: apid 0 (boot processor) >> cpu0: AMD erratum 89 present, BIOS upgrade may be required >> cpu0: apic clock running at 200MHz >> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins >> acpiprt0 at acpi0: bus 0 (PCI0) >> acpiec0 at acpi0 >> acpicpu0 at acpi0: C3, C2, PSS >> acpitz0 at acpi0: critical temperature 97 degC >> acpiac0 at acpi0: AC unit online >> acpibat0 at acpi0: BAT1 not present >> acpibtn0 at acpi0: LID_ >> acpibtn1 at acpi0: PWRB >> acpibtn2 at acpi0: SLPB >> bios0: ROM list: 0xc0000/0xc000 0xdc000/0x8000! >> cpu0: PowerNow! K8 20288 MHz: speeds: 1800 1600 800 MHz >> pci0 at mainbus0 bus 0: configuration mode 1 (bios) >> pchb0 at pci0 dev 0 function 0 "SiS 760 PCI" rev 0x03 >> agp at pchb0 not configured >> ppb0 at pci0 dev 1 function 0 "SiS 86C202 VGA" rev 0x00 >> pci1 at ppb0 bus 1 >> vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00 >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >> pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25 >> pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 760: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility >> wd0 at pciide0 channel 0 drive 0: >> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 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: ATAPI 5/cdrom removable >> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 >> "SiS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured >> auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: apic 1 int 18 (irq 5), SiS7012 AC97 >> ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0) >> ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo >> audio0 at auich0 >> ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 20 (irq 9), version 1.0, legacy support >> ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 21 (irq 11), version 1.0, legacy support >> ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 0x00: apic 1 int 23 (irq 10) >> usb0 at ehci0: USB revision 2.0 >> uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1 >> sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: apic 1 int 19 (irq 3), address 00:16:36:3c:14:4a >> rlphy0 at sis0 phy 13: RTL8201L 10/100 PHY, rev. 1 >> cbb0 at pci0 dev 6 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1 int 19 (irq 255), CardBus support disabled >> bwi0 at pci0 dev 11 function 0 "Broadcom BCM4318" rev 0x02: apic 1 int 17 (irq 4), address 00:16:ce:49:a8:e1 >> pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 >> pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 >> pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 >> kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00 >> 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 >> pms0 at pckbc0 (aux slot) >> pckbc0: using irq 12 for aux slot >> wsmouse0 at pms0 mux 0 >> pcppi0 at isa0 port 0x61 >> midi0 at pcppi0: >> spkr0 at pcppi0 >> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >> usb1 at ohci0: USB revision 1.0 >> uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1 >> usb2 at ohci1: USB revision 1.0 >> uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1 >> cardslot0 at cbb0 slot 0 flags 0 >> pcmcia0 at cardslot0 >> mtrr: Pentium Pro MTRR support >> umass0 at uhub0 port 3 configuration 1 interface 0 "Sunplus Innovation Technology. USB to Serial-ATA bridge" rev 2.00/1.0f addr 2 >> umass0: using SCSI over Bulk-Only >> scsibus1 at umass0: 2 targets, initiator 0 >> sd0 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed >> sd0: 190782MB, 512 bytes/sec, 390721968 sec total >> vscsi0 at root >> scsibus2 at vscsi0: 256 targets >> softraid0 at root >> root on sd0a swap on sd0b dump on sd0b >> >> > _______________________________________________ > Openbsd-newbies mailing list > Openbsd-newbies at sfobug.org > http://mailman.theapt.org/listinfo/openbsd-newbies > > From bsd4me at cableone.net Thu Jun 24 20:19:21 2010 From: bsd4me at cableone.net (Michael) Date: Thu, 24 Jun 2010 12:19:21 -0600 Subject: 4.7 overheating on Aspire 3000 In-Reply-To: <4C227989.9020608@gmail.com> References: <20100622221018.GA8509@getlost.my.domain> <20100623182002.GA18974@getlost.my.domain> <4C227989.9020608@gmail.com> Message-ID: On Wed, Jun 23, 2010 at 3:15 PM, Jesus Sanchez wrote: > El 23/06/2010 20:20, Michael escribi?: >> >> Just a FWIW, I installed FreeBSD 8.0 in place of OpenBSD, and running X, >> the cpu temp was 42C. >> >> After getting bwi0 working, I sure wanted to stay with openbsd, but not at >> those temps :( >> >> >> update: installed 4.7 on an external hd attached to the laptop, and again >> cpu temp is 67C at console login. >> >> >> * Michael ?[2010-06-22 16:10:18 -0600]: >> > > > Well, i dont have this problem with OpenBSD but > as a workaround you can use the sysctl variable hw.setperf > > as root: > > # sysctl hw.setperf=30 > > this changes the top CPU performance to 30% of its capacity, > but it's not available in all CPU models so maybe you will > get some kind of error msg in console. You can use any value > from 1 to 99 % (NEVER USE 100!). > > Most of laptops only start the fans if CPU is having much work > so, at 30 % or 20 % it wont get hot. > > it's the simplest yet most useful command to save battery on laptops. > > hope this helps anyway, never had temp problems with OpenBSD. > > -J Using web interface, so hope this doesn't get sent as html! ok, here's a before and after including uptime: uptime: 11:18AM up 19 mins, 1 user, load averages: 0.12, 0.11, 0.08 sysctl hw.sensors: hw.sensors.acpitz0.temp0=55.00 degC (zone temperature) hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.kate0.temp2=66.00 degC After sysctl hw.setpert=30 uptime: 11:27AM up 29 mins, 1 user, load averages: 0.34, 0.18, 0.11 sysctl hw.sensors: hw.sensors.acpitz0.temp0=53.00 degC (zone temperature) hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.kate0.temp2=64.00 degC Fan is blowing at highest speed I haven't had temperature problems either, so I might install 4.6 or even 4.5 and see what happens, since this installation only has the bwi driver added. Nothing else added. By comparison (if that can be done), I booted Debian. Kernel is 2.6.26 and running kde 3.5 uptime is 34 minutes load average: 0.03, 0.11, 0.14 core temp is 49C cpu temp is 52C Fan isn't blowing right now. >> >>> >>> I just installed 4.7 on my laptop, but as soon as openbsd boots, the fan >>> comes on and stays on. >>> Temp is shown as 67C with just console log in. >>> I booted linux with kde and the temp was 42C while running kde. >>> I tried disabling acpi, but that didn't help, so enabled it. >>> Here is my dmesg from /var/run: >>> >>> OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 >>> ? ? deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC >>> cpu0: Mobile AMD Sempron(tm) Processor 3100+ ("AuthenticAMD" 686-class, >>> 256KB L2 cache) 1.81 GHz >>> cpu0: >>> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 >>> real mem ?= 468217856 (446MB) >>> avail mem = 444960768 (424MB) >>> mainbus0 at root >>> bios0 at mainbus0: AT/286+ BIOS, date 02/20/06, BIOS32 rev. 0 @ 0xfd5f0, >>> SMBIOS rev. 2.31 @ 0x1befb000 (24 entries) >>> bios0: vendor Acer version "3A32" date 02/20/06 >>> bios0: Acer, inc. Aspire 3000 >>> acpi0 at bios0: rev 0 >>> acpi0: tables DSDT FACP SSDT APIC BOOT >>> acpi0: wakeup devices PCI0(S5) LAN_(S5) MODM(S3) USB0(S3) USB1(S3) >>> USB2(S3) USB3(S3) >>> acpitimer0 at acpi0: 3579545 Hz, 24 bits >>> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >>> cpu0 at mainbus0: apid 0 (boot processor) >>> cpu0: AMD erratum 89 present, BIOS upgrade may be required >>> cpu0: apic clock running at 200MHz >>> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 24 pins >>> acpiprt0 at acpi0: bus 0 (PCI0) >>> acpiec0 at acpi0 >>> acpicpu0 at acpi0: C3, C2, PSS >>> acpitz0 at acpi0: critical temperature 97 degC >>> acpiac0 at acpi0: AC unit online >>> acpibat0 at acpi0: BAT1 not present >>> acpibtn0 at acpi0: LID_ >>> acpibtn1 at acpi0: PWRB >>> acpibtn2 at acpi0: SLPB >>> bios0: ROM list: 0xc0000/0xc000 0xdc000/0x8000! >>> cpu0: PowerNow! K8 20288 MHz: speeds: 1800 1600 800 MHz >>> pci0 at mainbus0 bus 0: configuration mode 1 (bios) >>> pchb0 at pci0 dev 0 function 0 "SiS 760 PCI" rev 0x03 >>> agp at pchb0 not configured >>> ppb0 at pci0 dev 1 function 0 "SiS 86C202 VGA" rev 0x00 >>> pci1 at ppb0 bus 1 >>> vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00 >>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >>> pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25 >>> pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 760: DMA, >>> channel 0 configured to compatibility, channel 1 configured to compatibility >>> wd0 at pciide0 channel 0 drive 0: >>> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 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: ?ATAPI >>> 5/cdrom removable >>> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 >>> "SiS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured >>> auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: apic 1 int 18 >>> (irq 5), SiS7012 AC97 >>> ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0) >>> ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo >>> audio0 at auich0 >>> ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 1 int >>> 20 (irq 9), version 1.0, legacy support >>> ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 1 int >>> 21 (irq 11), version 1.0, legacy support >>> ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 0x00: apic 1 int 23 >>> (irq 10) >>> usb0 at ehci0: USB revision 2.0 >>> uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1 >>> sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: apic 1 int >>> 19 (irq 3), address 00:16:36:3c:14:4a >>> rlphy0 at sis0 phy 13: RTL8201L 10/100 PHY, rev. 1 >>> cbb0 at pci0 dev 6 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1 int >>> 19 (irq 255), CardBus support disabled >>> bwi0 at pci0 dev 11 function 0 "Broadcom BCM4318" rev 0x02: apic 1 int 17 >>> (irq 4), address 00:16:ce:49:a8:e1 >>> pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 >>> pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 >>> pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 >>> kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00 >>> 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 >>> pms0 at pckbc0 (aux slot) >>> pckbc0: using irq 12 for aux slot >>> wsmouse0 at pms0 mux 0 >>> pcppi0 at isa0 port 0x61 >>> midi0 at pcppi0: >>> spkr0 at pcppi0 >>> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >>> usb1 at ohci0: USB revision 1.0 >>> uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1 >>> usb2 at ohci1: USB revision 1.0 >>> uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1 >>> cardslot0 at cbb0 slot 0 flags 0 >>> pcmcia0 at cardslot0 >>> mtrr: Pentium Pro MTRR support >>> umass0 at uhub0 port 3 configuration 1 interface 0 "Sunplus Innovation >>> Technology. USB to Serial-ATA bridge" rev 2.00/1.0f addr 2 >>> umass0: using SCSI over Bulk-Only >>> scsibus1 at umass0: 2 targets, initiator 0 >>> sd0 at scsibus1 targ 1 lun 0: ?SCSI2 0/direct >>> fixed >>> sd0: 190782MB, 512 bytes/sec, 390721968 sec total >>> vscsi0 at root >>> scsibus2 at vscsi0: 256 targets >>> softraid0 at root >>> root on sd0a swap on sd0b dump on sd0b >>> >>> >> >> _______________________________________________ >> Openbsd-newbies mailing list >> Openbsd-newbies at sfobug.org >> http://mailman.theapt.org/listinfo/openbsd-newbies >> >> > > _______________________________________________ > Openbsd-newbies mailing list > Openbsd-newbies at sfobug.org > http://mailman.theapt.org/listinfo/openbsd-newbies >