Ruxcon 2010 in Melbourne - anybody OpenBSD dev or user attending?
Other than me, of course! Might be a chance for a few us to put faces to names as I managed to do last year at EuroBSDcon. dlg? djm? (I know you are on Ruxcon's radar, Damien.) others? *** NOTE *** Please DO NOT CC me. I am subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ --- This life is not the real thing. It is not even in Beta. If it was, then OpenBSD would already have a man page for it.
4.8 CD set arrives in Arizona
Received the 4.8 CD set today in Arizona. Many thanks to all the developers from a very satisfied OpenBSD desktop user. Gary
Way OT:Re: Linux or OpenBSD
On Sat, 23 Oct 2010 15:48 +0200, Toni Mueller openbsd-m...@oeko.net wrote: On Wed, 22.09.2010 at 15:47:02 -0400, Brad Tilley b...@16systems.com wrote: Either will work fine so long as you purchase good NICs and avoid cutting-edge (untested) hardware. The only things Linux does noticeably better is: * Dealing with SMP * Dealing with lot's and lot's of RAM * Dealing with huge file-systems If the above are actual *REAL* issues, you would be much better served by using a commercial UNIX system over any Linux crap. The commercial UNIX distros actually know what a man page is. If they are not real issues then it's OpenBSD hands down. Linux is only for people who like to screw around for hours tweaking and fiddling with crap so they can feel 133t.
The Best of Design is coming to Dubai!
Celebrating its 20th anniversary in 2010 and taking place from 8th o?= 11th November 2010 at the Dubai World Trade Centre, the INDEX Design Show 2010 will inspire visitors with an astounding array of innovative interior products and services on offer. Exhibitors and brands that will be present at INDEX 2010 include Poggenpohl, Bang Olufsen, Novel, Dornbracht, Miele, Hansgrohe, Robert Allen ME, Arte di Murano, Metris, Tashiro Alloy, Gaggenau, Of Sweden, Andreu World, York Wallcoverings, Moblesa, Rezvani Carpets... and many many more! ,
Re: Need Advice: Thinkpad T60 or T61?
On Sat, 2010-10-23 at 19:47 +0200, Henning Brauer wrote: That used to be the case, but with current lately my wpi is not losing connectivity anymore. you have 3 free guesses on what i run Probably -current and wpi. What I still get are occasional kernel asserts at boot at wpi firmware load and I have to rerun sh /etc/netstart wpi0 to make it work. ciao Luca
Re: more about softraid
On Sat, Oct 23, 2010 at 11:31:01PM -0500, Marco Peereboom wrote: How would softraid know which sd to rebuild if 3 are degraded? That's why 2 arguments are needed, but i would have expected bioctl -R sd1 softraid0 for the case below. Not debating the language couldn't be improved but that bit is IMO pretty obvious. Obvious it probably is, yet adding the word 'final' for the device argument in the manpage description would perhaps make it even more obvious. :-) On Oct 23, 2010, at 23:07, Niels Poppe ni...@netbox.org wrote: On Sat, Oct 23, 2010 at 07:20:10PM -0500, Marco Peereboom wrote: Softraid is not a volume manager. We don't support adding, removing chunks after creation time. I'll take diffs for this however this is pretty far from trivial. The one piece of information I found a bit unclear in the manual is how to rebuild a degraded mirror: bioctl -R newchunk raid where *both* the newchunk and the raid argument are real disknames, as in bioctl -R sd1 sd2 for a case were physical devices sd0 and sd1 formed a mirror creating the softraid device sd2, and sd1 fell offline. I would indeed have expected the second argument to be softraidx The manual states: -R device | channel:target[.lun] Manually kick off a rebuild using device or channel:target[.lun] on the provided drive name. This command requires a drive by name (e.g. sd1) instead of a controller by name (e.g. softraid0). Perhaps that last sentence could be This command requires the final device argument to be the drive name (e.g. sd2) instead of the controller name (e.g. softraid0). Regards, Niels
IPMI local access
Hi, I've seen BMC local access seems impossible: http://www.mail-archive.com/misc@openbsd.org/msg93376.html Is it really impossible or did I missed some point ? Is there a reason for not implementing a local driver as /usr/src/sys/dev/ipmi.c seems to contain all the code needed to interact with bmc ? Manuel -- __ Manuel Guesdon - OXYMIUM
Re: more about softraid
On Sun, Oct 24, 2010 at 03:00:23PM +0200, Niels Poppe wrote: On Sat, Oct 23, 2010 at 11:31:01PM -0500, Marco Peereboom wrote: How would softraid know which sd to rebuild if 3 are degraded? That's why 2 arguments are needed, but i would have expected bioctl -R sd1 softraid0 for the case below. What slice is being rebuilt onto? Not debating the language couldn't be improved but that bit is IMO pretty obvious. Obvious it probably is, yet adding the word 'final' for the device argument in the manpage description would perhaps make it even more obvious. :-) On Oct 23, 2010, at 23:07, Niels Poppe ni...@netbox.org wrote: On Sat, Oct 23, 2010 at 07:20:10PM -0500, Marco Peereboom wrote: Softraid is not a volume manager. We don't support adding, removing chunks after creation time. I'll take diffs for this however this is pretty far from trivial. The one piece of information I found a bit unclear in the manual is how to rebuild a degraded mirror: bioctl -R newchunk raid where *both* the newchunk and the raid argument are real disknames, as in bioctl -R sd1 sd2 for a case were physical devices sd0 and sd1 formed a mirror creating the softraid device sd2, and sd1 fell offline. I would indeed have expected the second argument to be softraidx The manual states: -R device | channel:target[.lun] Manually kick off a rebuild using device or channel:target[.lun] on the provided drive name. This command requires a drive by name (e.g. sd1) instead of a controller by name (e.g. softraid0). Perhaps that last sentence could be This command requires the final device argument to be the drive name (e.g. sd2) instead of the controller name (e.g. softraid0). Regards, Niels
4.8 CD set arrives in Utah
Many thanks to the OpenBSD community for all the hard work. I got my CD set yesterday. I was so excited to try it out that I installed over FreeBSD. :) Unfortunately, I have to wait for the official release to install over KVM on my server. Can't wait!
Re: cwm crashes on Linux when combining grouponly/movetogroup
Christian Neukirchen chneukirc...@gmail.com writes: I found this key sequence to crash cwm on Linux in CVS HEAD: Minimal .cwmrc: bind C-i grouponly2 bind CS-i movetogroup2 Run cwm, open a window (say xterm), press C-i, press CS-i, press C-i. cwm crashes on Linux with this backtrace: #4 0x00408a72 in group_show (sc=0x625d80, gc=0x625f38) at group.c:135 I have not been able to reproduce this on OpenBSD, so it's not clear to me where the error actually is. Analyzing group_show, I found out: winlist = (Window *) xcalloc(sizeof(*winlist), (gc-highstack + 1)); ... TAILQ_FOREACH(cc, gc-clients, group_entry) { winlist[gc-highstack - cc-stackingorder] = cc-win; client_unhide(cc); } For some reason cc-stackingorder is bigger than gc-highstack (which is 0 in above use case), thus the assignment writes to a negative address relative to winlist. I can reproduce that on OpenBSD 4.8/cwm HEAD as well, it just doesn't crash there because the heap corruption goes undetected. I hope this helps debugging, I don't fully understand the code yet. -- Christian Neukirchen chneukirc...@gmail.com http://chneukirchen.org
(mailx) How can I alter From header
I'm using mail(1) to send mail from my Gmail account. The messages I send have my username and hostname in From header. Can I somehow alter the From header to my gmail address? -- Dmitrij D. Czarkoff
Re: more about softraid
On Sun, Oct 24, 2010 at 10:09:55AM -0500, Marco Peereboom wrote: On Sun, Oct 24, 2010 at 03:00:23PM +0200, Niels Poppe wrote: .. would have expected bioctl -R sd1 softraid0 for the case below. What slice is being rebuilt onto? Well... i guess i was thinking that from the unit identifier in softraidn the actual raid volume would be known. Can different volumes share a single softraid device? The manual states: -R device | channel:target[.lun] Manually kick off a rebuild using device or channel:target[.lun] on the provided drive name. This command requires a drive by name (e.g. sd1) instead of a controller by name (e.g. softraid0). Perhaps that last sentence could be This command requires the final device argument to be the drive name (e.g. sd2) instead of the controller name (e.g. softraid0). Regards, Niels
Re: (mailx) How can I alter From header
On Sun, Oct 24, 2010 at 4:04 PM, Dmitrij Czarkoff czark...@gmail.com wrote: I'm using mail(1) to send mail from my Gmail account. The messages I send have my username and hostname in From header. Can I somehow alter the From header to my gmail address? For a global change in Gmail: Settings Accounts and Import Send mail as: edit info Otherwise add different accounts and send as them (although smtp authentication will be via the username and not the added accounts). Google Apps makes this more flexible as you can alias users.
Re: (mailx) How can I alter From header
On Sun, Oct 24, 2010 at 1:04 PM, Dmitrij Czarkoff czark...@gmail.com wrote: I'm using mail(1) to send mail from my Gmail account. The messages I send have my username and hostname in From header. Can I somehow alter the From header to my gmail address? Assuming you're using the out-of-the-box sendmail, you should just need to update /etc/mail/genericstable and follow the directions in the comment at the top of the file to rebuild it. Philip Guenther
Re: Need Advice: Thinkpad T60 or T61?
Henning Brauer wrote: intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured Does this mean you don't get hardware graphics acceleration?
Re: Need Advice: Thinkpad T60 or T61?
* Clint Pachl pa...@ecentryx.com [2010-10-24 22:33]: Henning Brauer wrote: intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured Does this mean you don't get hardware graphics acceleration? inteldrm0 at vga1: apic 1 int 16 (irq 10) that is pretty clear, isn't it? -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting
Re: Need Advice: Thinkpad T60 or T61?
It means you get hardware acceleration :) Intel video driver is probably the best supported on X. On Oct 24, 2010, at 15:30, Clint Pachl pa...@ecentryx.com wrote: Henning Brauer wrote: intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured Does this mean you don't get hardware graphics acceleration?
Re: Need Advice: Thinkpad T60 or T61?
Henning Brauer wrote: 2. I would like graphics hardware acceleration. I know I need to stay away from nVidia. The T60 comes with ATI Radeon and the T61 is the integrated Intel 965GM. Is there anything else I need to be concerned with regarding OpenBSD on the T-Series? What would you guys choose and why? T61. why? It's a good step up from my T22, which I've been using for about 5 years. I've always been happy with Thinkpads. I got the T22 when it was about 3 years old for about 250USD. Now I'm back in the market because the T22 is getting a little slow. The T6[01] are in the 250USD range and are about 3 years old now, so it's perfect for me running OpenBSD. I never spend more than 400 for a system. LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 287mm x 215mm these are a bit hard to find tho. but I really don't see the point in an XGA 14 display (XGA is for 12 :)), and I hate all that widescreen shit. 14.1 1400x1050 is awesome. I love all the wide screen shit! I decided to buy a T61 with Intel graphics GM965. It has the 15.4 WSXGA+ (1680x1050). I also got the docking station with a DVI out. I'm not sure if it will run my 24 WUXGA monitor at it's native 1920x1200 resolution though.
Re: (mailx) How can I alter From header
On Sun, Oct 24, 2010 at 10:17 PM, Philip Guenther guent...@gmail.com wrote: On Sun, Oct 24, 2010 at 1:04 PM, Dmitrij Czarkoff czark...@gmail.com wrote: I'm using mail(1) to send mail from my Gmail account. The messages I send have my username and hostname in From header. Can I somehow alter the From header to my gmail address? Assuming you're using the out-of-the-box sendmail, you should just need to update /etc/mail/genericstable and follow the directions in the comment at the top of the file to rebuild it. Thank You for this tip, but the problem isn't solved. Does sendmail on OpenBSD read genericstable db by default? -- Dmitrij D. Czarkoff
Re: more about softraid
On Oct 24, 2010, at 15:03, Niels Poppe ni...@netbox.org wrote: On Sun, Oct 24, 2010 at 10:09:55AM -0500, Marco Peereboom wrote: On Sun, Oct 24, 2010 at 03:00:23PM +0200, Niels Poppe wrote: .. would have expected bioctl -R sd1 softraid0 for the case below. What slice is being rebuilt onto? Well... i guess i was thinking that from the unit identifier in softraidn the actual raid volume would be known. Can different volumes share a single softraid device? I don't understand the question. The manual states: -R device | channel:target[.lun] Manually kick off a rebuild using device or channel:target[.lun] on the provided drive name. This command requires a drive by name (e.g. sd1) instead of a controller by name (e.g. softraid0). Perhaps that last sentence could be This command requires the final device argument to be the drive name (e.g. sd2) instead of the controller name (e.g. softraid0). Regards, Niels
Re: Need Advice: Thinkpad T60 or T61?
Henning Brauer wrote: * Clint Pachlpa...@ecentryx.com [2010-10-24 22:33]: Henning Brauer wrote: intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured Does this mean you don't get hardware graphics acceleration? inteldrm0 at vga1: apic 1 int 16 (irq 10) that is pretty clear, isn't it? Well, I have this on a Dell Precision 220 and graphics acceleration doesn't work in X. pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x2500 rev 0x03 agp at pchb0 not configured radeondrm0 at vga1: apic 2 int 16 (irq 9) drm0 at radeondrm0 I figured if there is a not configured or unknown product associated with anything in the graphics subsystem, then you don't get graphics acceleration or hardware support in general. Hence the: Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured What's not configured here?
Re: Need Advice: Thinkpad T60 or T61?
Paolo Aglialoro wrote: Just a small hint after the 60 series all thinkpads rock... but I wouldn't go to T series unless you'll be moving quite seldom. My advice is a whooping X61, ultraportable yet powerful and really silent. I thought about the X61. However, my laptop will rarely leave my desk and will spend much of it's life in a docking station. If I really need portability (flying, camping) and I'm just going to be writing code in vim, then I use my trusty Sony Vaio SR17, weighing in at less than 3 pounds (~1.3KG). I paid about 2400USD for it new in 2000; works like a charm. I'm still getting my moneys worth out of it. :-)
Re: (mailx) How can I alter From header
For a global change in Gmail: Settings Accounts and Import Send mail as: edit info Otherwise add different accounts and send as them (although smtp authentication will be via the username and not the added accounts). Google Apps makes this more flexible as you can alias users. I don't think that's what he's looking for. There are command-line mailers that are better suited to changing the From: header, otherwise If you really want to use mail(1) then i think your best option is to look at using the mta to re-write the From: addressi as suggested earlier, which is typically sendmail, otherwise the closest thing you can get to it is by using the -r option (i think). -- Jamie Paul Griffin GPG Key: DF52D9B0 [demime 1.01d removed an attachment of type application/pgp-signature]
Re: more about softraid
On Sun, Oct 24, 2010 at 03:00:23PM +0200, Niels Poppe wrote: .. would have expected bioctl -R sd1 softraid0 for the case below. What slice is being rebuilt onto? Well... i guess i was thinking that from the unit identifier in softraidn the actual raid volume would be known. Can different volumes share a single softraid device? I don't understand the question. It turns out that I don't understand how this is supposed to work. I have (err, had) this working array: # bioctl softraid0 Volume Status Size Device softraid0 0 Online 3997412864 sd2 RAID1 0 Online 3997412864 0:0.0 noencl sd1a 1 Online 3997412864 0:1.0 noencl sd0a Now, with one drive unplugged, i get: # bioctl softraid0 Volume Status Size Device softraid0 0 Degraded 3997412864 sd2 RAID1 0 Online 3997412864 0:0.0 noencl sd1a 1 Offline3997412864 0:1.0 noencl sd0a With sd0 replaced again, i expected bioctl -R sd0 softraid0 to give an error bioctl -R sd0 sd2 to start a rebuild. But neither form works. Both report: bioctl: Target sd0: target not specified Which command is supposed to correctly rebuild the array? Regards, and thanks anyway Niels
Re: (mailx) How can I alter From header
On Mon, Oct 25, 2010 at 12:50 AM, Jamie Paul Griffin ja...@griffin.arimaspi.co.uk wrote: For a global change in Gmail: Settings Accounts and Import Send mail as: edit info Otherwise add different accounts and send as them (although smtp authentication will be via the username and not the added accounts). Google Apps makes this more flexible as you can alias users. I don't think that's what he's looking for. There are command-line mailers that are better suited to changing the From: header, otherwise If you really want to use mail(1) then i think your best option is to look at using the mta to re-write the From: addressi as suggested earlier, which is typically sendmail, otherwise the closest thing you can get to it is by using the -r option (i think). I am in trouble making sendmail actually read /etc/mail/genericstable.db: setting FEATURE(genericstable, `hash -o /etc/mail/mailnames')dnl FEATURE(`masquerade_envelope')dnl in mc file and compiling it doesn't help and I can't find out, why so. -- Dmitrij D. Czarkoff
Re: Need Advice: Thinkpad T60 or T61?
On Mon, Oct 25, 2010 at 12:29 AM, Clint Pachl pa...@ecentryx.com wrote: Paolo Aglialoro wrote: Just a small hint after the 60 series all thinkpads rock... but I wouldn't go to T series unless you'll be moving quite seldom. My advice is a whooping X61, ultraportable yet powerful and really silent. I thought about the X61. However, my laptop will rarely leave my desk and will spend much of it's life in a docking station. If I really need portability (flying, camping) and I'm just going to be writing code in vim, then I use my trusty Sony Vaio SR17, weighing in at less than 3 pounds (~1.3KG). I paid about 2400USD for it new in 2000; works like a charm. I'm still getting my moneys worth out of it. :-) Just like my dell latitude L400.. ;) ...too bad it sports an awful power connector and its battery is dead ...but actually I emptied the battery, so that it's also way lighter ;))) ...and with a new 80G hd ; Then, T61 is perfect for you :)
Re: more about softraid
On Oct 24, 2010, at 17:54, Niels Poppe ni...@netbox.org wrote: On Sun, Oct 24, 2010 at 03:00:23PM +0200, Niels Poppe wrote: .. would have expected bioctl -R sd1 softraid0 for the case below. What slice is being rebuilt onto? Well... i guess i was thinking that from the unit identifier in softraidn the actual raid volume would be known. Can different volumes share a single softraid device? I don't understand the question. It turns out that I don't understand how this is supposed to work. I have (err, had) this working array: # bioctl softraid0 Volume Status Size Device softraid0 0 Online 3997412864 sd2 RAID1 0 Online 3997412864 0:0.0 noencl sd1a 1 Online 3997412864 0:1.0 noencl sd0a Now, with one drive unplugged, i get: # bioctl softraid0 Volume Status Size Device softraid0 0 Degraded 3997412864 sd2 RAID1 0 Online 3997412864 0:0.0 noencl sd1a 1 Offline3997412864 0:1.0 noencl sd0a With sd0 replaced again, i expected bioctl -R sd0 softraid0 to give an error bioctl -R sd0 sd2 to start a rebuild. bioctl -R sd0a sd2 But neither form works. Both report: bioctl: Target sd0: target not specified Which command is supposed to correctly rebuild the array? Regards, and thanks anyway Niels
Re: (mailx) How can I alter From header
On Mon, Oct 25, 2010 at 12:58 AM, Dmitrij Czarkoff czark...@gmail.com wrote: On Mon, Oct 25, 2010 at 12:50 AM, Jamie Paul Griffin ja...@griffin.arimaspi.co.uk wrote: For a global change in Gmail: Settings Accounts and Import Send mail as: edit info Otherwise add different accounts and send as them (although smtp authentication will be via the username and not the added accounts). Google Apps makes this more flexible as you can alias users. I don't think that's what he's looking for. There are command-line mailers that are better suited to changing the From: header, otherwise If you really want to use mail(1) then i think your best option is to look at using the mta to re-write the From: addressi as suggested earlier, which is typically sendmail, otherwise the closest thing you can get to it is by using the -r option (i think). I am in trouble making sendmail actually read /etc/mail/genericstable.db: setting FEATURE(genericstable, `hash -o /etc/mail/mailnames')dnl FEATURE(`masquerade_envelope')dnl in mc file and compiling it doesn't help and I can't find out, why so. Sorry, the actual lines I added to openbsd-localhost.mc are: FEATURE(genericstable, `hash /etc/mail/genericstable')dnl FEATURE(`masquerade_envelope')dnl And no luck. I keep recieving mail from my usern...@domain.name instead of my gmail address. -- Dmitrij D. Czarkoff
Re: (mailx) How can I alter From header
I am in trouble making sendmail actually read /etc/mail/genericstable.db: setting FEATURE(genericstable, `hash -o /etc/mail/mailnames')dnl FEATURE(`masquerade_envelope')dnl in mc file and compiling it doesn't help and I can't find out, why so. When it comes to using Sendmail features the only thing you can do is spend time reading about them. There is lot's of information out there. It is quite a complex system which requires a certain level of understanding. Besides, we can only guess what your logs say and if/what the errors you're experiencing are. -- Jamie Paul Griffin GPG Key: DF52D9B0 [demime 1.01d removed an attachment of type application/pgp-signature]
Re: Need Advice: Thinkpad T60 or T61?
* Clint Pachl pa...@ecentryx.com [2010-10-24 23:56]: Henning Brauer wrote: * Clint Pachlpa...@ecentryx.com [2010-10-24 22:33]: Henning Brauer wrote: intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 10) drm0 at inteldrm0 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured Does this mean you don't get hardware graphics acceleration? inteldrm0 at vga1: apic 1 int 16 (irq 10) that is pretty clear, isn't it? Well, I have this on a Dell Precision 220 and graphics acceleration doesn't work in X. pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x2500 rev 0x03 agp at pchb0 not configured radeondrm0 at vga1: apic 2 int 16 (irq 9) drm0 at radeondrm0 hmm, you have radeondrm aka you should have accelleration. I figured if there is a not configured or unknown product associated with anything in the graphics subsystem, then you don't get graphics acceleration or hardware support in general. Hence the: Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured What's not configured here? I have no idea :) -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting
Re: more about softraid
On Sun, Oct 24, 2010 at 06:05:35PM -0500, Marco Peereboom wrote: On Oct 24, 2010, at 17:54, Niels Poppe ni...@netbox.org wrote: I have (err, had) this working array: # bioctl softraid0 Volume Status Size Device softraid0 0 Online 3997412864 sd2 RAID1 0 Online 3997412864 0:0.0 noencl sd1a 1 Online 3997412864 0:1.0 noencl sd0a Now, with one drive unplugged, i get: # bioctl softraid0 Volume Status Size Device softraid0 0 Degraded 3997412864 sd2 RAID1 0 Online 3997412864 0:0.0 noencl sd1a 1 Offline3997412864 0:1.0 noencl sd0a With sd0 replaced again, i expected bioctl -R sd0 softraid0 to give an error bioctl -R sd0 sd2 to start a rebuild. bioctl -R sd0a sd2 That is good to know, meaning, something else is broken: # bioctl -R sd0a sd2 bioctl: Target sd0a: target not specified Would it be interesting to investigate what's on the devices or should I just re-create the whole thing from scratch?
Re: Need Advice: Thinkpad T60 or T61?
Henning Brauer wrote: Well, I have this on a Dell Precision 220 and graphics acceleration doesn't work in X. pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x2500 rev 0x03 agp at pchb0 not configured radeondrm0 at vga1: apic 2 int 16 (irq 9) drm0 at radeondrm0 hmm, you have radeondrm aka you should have accelleration. That's what I thought, but xdriinfo says otherwise and glxgears sucks (33fps). No hints in Xorg.0.log either. Permissions on /dev/drm0 are correct. Anyway, not a big deal on the Dell workstation. I'm just hoping my Thinkpad T61 has acceleration. I'll find out in a few days I guess.
Re: Need Advice: Thinkpad T60 or T61?
Henning Brauer wrote: 1. Core Duo 32-bit (T60) or Core 2 Duo 64-bit (T61)? I've only used i386, should I think about amd64? shouldn't make a difference. personally, I run i386 anyway. Any interesting reason you run i386 on 64-bit hardware? Stability? Performance?
Re: (mailx) How can I alter From header
On Mon, Oct 25, 2010 at 1:10 AM, Jamie Paul Griffin ja...@griffin.arimaspi.co.uk wrote: When it comes to using Sendmail features the only thing you can do is spend time reading about them. There is lot's of information out there. It is quite a complex system which requires a certain level of understanding. Besides, we can only guess what your logs say and if/what the Well, I'm reading docs but can't figure out my problem. Logs, errors and configs: /usr/share/sendmail/cf/openbsd-localhost.mc (compiled, cf copied to /etc/mail/localhost.cf): divert(-1) # ... divert(0)dnl VERSIONID(`@(#)openbsd-localhost.mc $Revision: 1.4 $') OSTYPE(openbsd)dnl FEATURE(nouucp, `reject')dnl FEATURE(`accept_unresolvable_domains')dnl FEATURE(`no_default_msa')dnl FEATURE(`use_cw_file')dnl FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl FEATURE(`masquerade_envelope')dnl MAILER(local)dnl MAILER(smtp)dnl DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Name=MTA')dnl DAEMON_OPTIONS(`Family=inet6, address=::1, Name=MTA6, M=O')dnl DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Port=587, Name=MSA, M=E')dnl DAEMON_OPTIONS(`Family=inet6, address=::1, Port=587, Name=MSA6, M=O, M=E')dnl CLIENT_OPTIONS(`Family=inet6, Address=::')dnl CLIENT_OPTIONS(`Family=inet, Address=0.0.0.0')dnl dnl dnl Some broken nameservers will return SERVFAIL (a temporary failure) dnl on T_ (IPv6) lookups. define(`confBIND_OPTS', `WorkAroundBroken')dnl /etc/mail/genericstable (hashed with sudo make at /etc/mail): ddc czark...@gmail.com d...@ao531h.bedova czark...@gmail.com Sending mail: % date | mail -vs test czark...@gmail.com czark...@gmail.com... Connecting to [127.0.0.1] via relay... 220 ao531h.bedova ESMTP OpenSMTPD EHLO ao531h.bedova 250-ao531h.bedova Hello ao531h.bedova [127.0.0.1], pleased to meet you 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-SIZE 4294967295 250 HELP MAIL From:d...@ao531h.bedova SIZE=68 250 2.1.0 Sender ok RCPT To:czark...@gmail.com 250 2.0.0 Recipient ok DATA 354 Enter mail, end with . on a line by itself . 250 2.0.0 1287964495.exbcVgC3ABHbm9B9 Message accepted for delivery czark...@gmail.com... Sent (1287964495.exbcVgC3ABHbm9B9 Message accepted for delivery) Closing connection to [127.0.0.1] QUIT 221 2.0.0 ao531h.bedova Closing connection Results in: Delivered-To: czark...@gmail.com Received: by 10.204.46.227 with SMTP id k35cs122738bkf; Sun, 24 Oct 2010 16:55:02 -0700 (PDT) Received: by 10.103.192.13 with SMTP id u13mr3546124mup.97.1287964502266; Sun, 24 Oct 2010 16:55:02 -0700 (PDT) Return-Path: d...@ao531h.bedova Received: from ao531h.bedova ([109.228.113.59]) by mx.google.com with ESMTP id 16si5842589fal.19.2010.10.24.16.55.01; Sun, 24 Oct 2010 16:55:02 -0700 (PDT) Received-SPF: neutral (google.com: 109.228.113.59 is neither permitted nor denied by best guess record for domain of d...@ao531h.bedova) client-ip=109.228.113.59; Authentication-Results: mx.google.com; spf=neutral (google.com: 109.228.113.59 is neither permitted nor denied by best guess record for domain of d...@ao531h.bedova) smtp.mail=...@ao531h.bedova Received: from ao531h.bedova (localhost [127.0.0.1]) by ao531h.bedova (OpenSMTPD) with ESMTP id 1287964495.exbcVgC3ABHbm9B9 for czark...@gmail.com; Mon, 25 Oct 2010 01:54:55 +0200 (CEST) Received: (from d...@localhost) by ao531h.bedova (8.14.3/8.14.3/Submit) id o9ONssvJ013093 for czark...@gmail.com; Mon, 25 Oct 2010 01:54:54 +0200 (CEST) Date: Mon, 25 Oct 2010 01:54:54 +0200 (CEST) From: Dmitrij D. Czarkoff d...@ao531h.bedova Message-Id: 201010242354.o9onssvj013...@ao531h.bedova To: czark...@gmail.com Subject: test Mon Oct 25 01:54:54 CEST 2010 /var/log/maillog: Oct 25 01:54:55 ao531h sendmail[13093]: o9ONssvJ013093: from=ddc, size=68, class=0, nrcpts=1, msgid=201010242354.o9onssvj013...@ao531h.bedova, relay=...@localhost Oct 25 01:54:55 ao531h smtpd[14989]: 1287964495.exbcVgC3ABHbm9B9: from=d...@ao531h.bedova, size=562, nrcpts=1, proto=ESMTP, relay=localhost [127.0.0.1] Oct 25 01:54:55 ao531h sendmail[13093]: o9ONssvJ013093: to=czark...@gmail.com, ctladdr=ddc (1000/10), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30068, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (1287964495.exbcVgC3ABHbm9B9 Message accepted for delivery) Oct 25 01:55:02 ao531h smtpd[24195]: 1287964495.exbcVgC3ABHbm9B9: to=czark...@gmail.com, delay=7, relay=fx-in-f27.1e100.net [74.125.39.27], stat=Sent (2.0.0 OK 1287964502 16si5842589fal.19) -- Dmitrij D. Czarkoff
Re: (mailx) How can I alter From header
On Mon, Oct 25, 2010, Dmitrij Czarkoff wrote: /etc/mail/genericstable (hashed with sudo make at /etc/mail): ddc czark...@gmail.com d...@ao531h.bedova czark...@gmail.com The documentation (cf/README) states: genericstable This feature will cause unqualified addresses (i.e., without a domain) and addresses with a domain listed in class {G} to be looked up in a map and turned into another (generic) form, which can change both the domain name and the user name. Notice: if you use an MSP (as it is default starting with 8.12), the MTA will only receive qualified addresses from the MSP (as required by the RFCs). Hence you need to add your domain to class {G}. Run sendmail in test mode: sendmail -bt ? $={G} /map generics d...@ao531h.bedova /tryflags ES /try esmtp d...@ao531h.bedova
Re: (mailx) How can I alter From header
On Mon, Oct 25, 2010, Dmitrij Czarkoff wrote: /var/log/maillog: from=d...@ao531h.bedova, size=562, nrcpts=1, proto=ESMTP, relay=localhost [127.0.0.1] Oct 25 01:55:02 ao531h smtpd[24195]: 1287964495.exbcVgC3ABHbm9B9: ^ ^^^ to=czark...@gmail.com, delay=7, relay=fx-in-f27.1e100.net [74.125.39.27], stat=Sent (2.0.0 OK 1287964502 16si5842589fal.19) Hmm, you aren't running sendmail 8, you run smtpd as your MTA, right? Then changing the sm8 configuration won't help much.
Re: (mailx) How can I alter From header
On 2010-10-24, at 6:06 PM, Dmitrij Czarkoff wrote: On Mon, Oct 25, 2010 at 12:58 AM, Dmitrij Czarkoff czark...@gmail.com wrote: On Mon, Oct 25, 2010 at 12:50 AM, Jamie Paul Griffin ja...@griffin.arimaspi.co.uk wrote: For a global change in Gmail: Settings Accounts and Import Send mail as: edit info Otherwise add different accounts and send as them (although smtp authentication will be via the username and not the added accounts). Google Apps makes this more flexible as you can alias users. I don't think that's what he's looking for. There are command-line mailers that are better suited to changing the From: header, otherwise If you really want to use mail(1) then i think your best option is to look at using the mta to re-write the From: addressi as suggested earlier, which is typically sendmail, otherwise the closest thing you can get to it is by using the -r option (i think). I am in trouble making sendmail actually read /etc/mail/genericstable.db: setting FEATURE(genericstable, `hash -o /etc/mail/mailnames')dnl FEATURE(`masquerade_envelope')dnl in mc file and compiling it doesn't help and I can't find out, why so. Sorry, the actual lines I added to openbsd-localhost.mc are: FEATURE(genericstable, `hash /etc/mail/genericstable')dnl FEATURE(`masquerade_envelope')dnl And no luck. I keep recieving mail from my usern...@domain.name instead of my gmail address. -- Dmitrij D. Czarkoff Hi, I am a bit puzzled by this because I am not able to duplicate your problem. Usually if something has the potential to go wrong it goes worse for me right away :) I even tried sending an email from my alternate desktop which is not OpenBSD and even in that case genericstable worked for me -- in this case it goes from my iMac to server9 which is OpenBSD 4.7 -stable and then to gmail and here are the headers. The return path is shown as vsan...@foretell.ca Delivered-To: vsankar2...@gmail.com Received: by 10.213.108.139 with SMTP id f11cs79559ebp; Sun, 24 Oct 2010 17:26:53 -0700 (PDT) Received: by 10.231.35.202 with SMTP id q10mr5026387ibd.138.1287966412506; Sun, 24 Oct 2010 17:26:52 -0700 (PDT) Return-Path: vsan...@foretell.ca Received: from mx2.foretell.ca (mx2.foretell.ca [206.45.64.231]) by mx.google.com with ESMTP id 35si15206566ibi.17.2010.10.24.17.26.49; Sun, 24 Oct 2010 17:26:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of vsan...@foretell.ca designates 206.45.64.231 as permitted sender) client-ip=206.45.64.231; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of vsan...@foretell.ca designates 206.45.64.231 as permitted sender) smtp.mail=vsan...@foretell.ca Received: from server9.sankars.local (server9.sankars.local [10.0.0.109]) by mx2.foretell.ca (8.14.3/8.14.3) with ESMTP id o9P0QmDj013797 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for vsankar2...@gmail.com; Sun, 24 Oct 2010 19:26:48 -0500 (CDT) Received: from ivijay.sankars.local (ivijay.sankars.local [10.0.0.156]) by server9.sankars.local (8.14.3/8.14.3) with ESMTP id o9P0Qh7m019119 for vsankar2...@gmail.com; Sun, 24 Oct 2010 19:26:43 -0500 (CDT) From: Vijay Sankar vsan...@foretell.ca Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Test Date: Sun, 24 Oct 2010 19:26:38 -0500 Message-Id: 748ea535-0ae7-492b-aa3a-e8f995694...@foretell.ca To: vsankar2...@gmail.com Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Test ... Vijay Sankar vsan...@foretell.ca
Re: (mailx) How can I alter From header
On Sun, Oct 24, 2010 at 4:18 PM, Chris Smith obsd_m...@chrissmith.org wrote: I'm using mail(1) to send mail from my Gmail account. The messages I send have my username and hostname in From header. Can I somehow alter the From header to my gmail address? For a global change in Gmail: Settings Accounts and Import Send mail as: edit info Otherwise add different accounts and send as them (although smtp authentication will be via the username and not the added accounts). Google Apps makes this more flexible as you can alias users. Didn't mean to throw you off track. I read I'm using mail(1) to send mail from my Gmail account. as also meaning _through_ your Gmail account, IOW using gmail as your smtp server.
Re: more about softraid
odd. does dmesg spit anything useful out? On Mon, Oct 25, 2010 at 01:21:11AM +0200, Niels Poppe wrote: On Sun, Oct 24, 2010 at 06:05:35PM -0500, Marco Peereboom wrote: On Oct 24, 2010, at 17:54, Niels Poppe ni...@netbox.org wrote: I have (err, had) this working array: # bioctl softraid0 Volume Status Size Device softraid0 0 Online 3997412864 sd2 RAID1 0 Online 3997412864 0:0.0 noencl sd1a 1 Online 3997412864 0:1.0 noencl sd0a Now, with one drive unplugged, i get: # bioctl softraid0 Volume Status Size Device softraid0 0 Degraded 3997412864 sd2 RAID1 0 Online 3997412864 0:0.0 noencl sd1a 1 Offline3997412864 0:1.0 noencl sd0a With sd0 replaced again, i expected bioctl -R sd0 softraid0 to give an error bioctl -R sd0 sd2 to start a rebuild. bioctl -R sd0a sd2 That is good to know, meaning, something else is broken: # bioctl -R sd0a sd2 bioctl: Target sd0a: target not specified Would it be interesting to investigate what's on the devices or should I just re-create the whole thing from scratch?
Re: more about softraid
On Sun, Oct 24, 2010 at 09:09:52PM -0500, Marco Peereboom wrote: odd. does dmesg spit anything useful out? actually, no. for the usb stick pulling out the machine: sd0 detached scsibus0 detached umass0 detached after that, because i accessed the softraid filesystem: softraid0: retrying read on block 6704 then, putting it back: umass0 at uhub0 port 1 configuration 1 interface 0 USB DISK 2.0 rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: , USB DISK 2.0, PMAP SCSI0 0/direct removable sd0: 3814MB, 512 bytes/sec, 7811072 sec total and nothing further. the bioctl command errs out without any logging. i'll attach /var/run/dmesg.boot OpenBSD 4.8-current (GENERIC.MP) #0: Tue Oct 12 20:18:07 MDT 2010 r...@router.lan:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE real mem = 1064660992 (1015MB) avail mem = 1037225984 (989MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/24/10, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.4 @ 0xfd120 (19 entries) bios0: vendor American Megatrends Inc. version 080015 date 05/24/2010 bios0: AOpen i945GSEx-QS R2.00 May.24.2010 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIC OEMB SSDT acpi0: wakeup devices P0P2(S4) LAN_(S4) P0P1(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) MC97(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 1, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P2) acpiprt2 at acpi0: bus 4 (P0P1) acpiprt3 at acpi0: bus 2 (P0P5) acpiprt4 at acpi0: bus 3 (P0P6) acpiprt5 at acpi0: bus -1 (P0P7) acpiprt6 at acpi0: bus -1 (P0P8) acpiprt7 at acpi0: bus -1 (P0P9) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB acpivideo0 at acpi0: IGD_ acpivout0 at acpivideo0: DD01 acpivout1 at acpivideo0: DD02 acpivout2 at acpivideo0: DD03 acpivout3 at acpivideo0: DD04 bios0: ROM list: 0xc/0xec00! cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 10) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 16 (irq 10) azalia0: codecs: Realtek ALC662 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 16 (irq 10) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 17 (irq 11) pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), apic 2 int 17 (irq 11), address 00:01:80:7a:b8:71 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2 int 18 (irq 5) pci3 at ppb2 bus 3 re1 at pci3 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), apic 2 int 18 (irq 5), address 00:01:80:7a:b8:70 rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 2 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 (irq 7) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 (irq 5) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23 (irq 7) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci4 at ppb3 bus 4 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0:
Re: more about softraid
Just to be complete and honest, i think i should reveil as well that it is all built and installed from source, and kernel and userland have slightly different build dates: # ls -ld /bsd -rwxr-xr-x 1 root wheel 8916825 Oct 13 04:18 /bsd and userland is built just a bit later: # ls -ld /sbin/bioctl -r-xr-xr-x 1 root bin 114260 Oct 16 20:30 /sbin/bioctl So this may well be an 'unsupported' configuration :() Perhaps i should cvsup once more and reinstall kernel and userland.
Acer Aspire One 531h: touchpad fn-key
Hello, list! I've got an acer aspire one 531h laptop, and there is one thing that really bothers me: touchpad is way to sensative, so while typing i often touch it, which clutters the text im typing. The fn-key for disabling it does not work (in fact, no fn-keys are working, except for sound and brightness-keys) Any way to fix that or it is synaptics-dependent? -- Old mercenaries never die. They go to hell and regroup. With best regards, Mikle Krutov, Bercut ltd. Technical Support department
Re: x201 + fan noise
On Wed, Oct 20, 2010 at 12:28 PM, David Coppa dco...@gmail.com wrote: By jcs@: http://jcs.org/patches/openbsd-acpithinkpad_fan_control.diff So i tried it but can't have it working on my machine. Kernel crashed at startup. I'm not sure what I can do to modify it right now. Anyway, to make sure I didn't dream I installed a double boot with a linux distribution and while the lappy under linux is really quiet (quasi silent), t's really louder on openbsd once I plug it, or plug an external screen. Any idea where I can look/need to provide to help to fix this behavior? - benont
Re: x201 + fan noise
http://jcs.org/patches/openbsd-acpithinkpad_fan_control.diff So i tried it but can't have it working on my machine. Kernel crashed at startup. I'm not sure what I can do to modify it right now. that patch is pretty old, i'm surprised it even applies and compiles. Anyway, to make sure I didn't dream I installed a double boot with a linux distribution and while the lappy under linux is really quiet (quasi silent), t's really louder on openbsd once I plug it, or plug an external screen. Any idea where I can look/need to provide to help to fix this behavior? you're welcome to dig into the linux thinkpad acpi driver: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/platform/x86/thinkpad_acpi.c;h=2d61186ad5a2e96708fcec4beb0a8402eb2bc09f;hb=HEAD#l7145 note all the firmware bug comments, model-specific quirks, watchdog routines and other stuff in 1300 lines of code just for fan control. this is why my fan control patch is a hack and won't be committed.