patch: acpisony
acpi/ is being populated so I' reworked an old patch I made and I post again it ported from NetBSD all these key events are catched (alas no events for volume keys): BrightnessDownPressed BrightnessDownReleased BrightnessUpPressed BrightnessUpReleased DisplaySwitchPressed DisplaySwitchReleased ZoomPressed ZoomReleased SuspendPressed SuspendReleased on my laptop (vaio vgn c1s/h model) brightness keys are mapped to: Fn+F5 increase brighteness Fn+F6 decrease brighteness and it works. I'm trying to understand the role of the SPIC (SNY6001 hid) so I'm wondering if there is any nasty side effect in bypassing it and always applying the Fn key initialization sequence as I've made suggestions? diff -ruN sys.orig/dev/acpi/acpi.c sys/dev/acpi/acpi.c --- sys.orig/dev/acpi/acpi.cMon Apr 28 13:56:27 2008 +++ sys/dev/acpi/acpi.c Mon Apr 28 17:24:25 2008 @@ -1857,6 +1857,8 @@ aaa.aaa_name = acpiasus; else if (!strcmp(dev, ACPI_DEV_THINKPAD)) aaa.aaa_name = acpithinkpad; + else if (!strcmp(dev, ACPI_DEV_SONY)) + aaa.aaa_name = acpisony; if (aaa.aaa_name) config_found(self, aaa, acpi_print); diff -ruN sys.orig/dev/acpi/acpireg.h sys/dev/acpi/acpireg.h --- sys.orig/dev/acpi/acpireg.h Mon Apr 28 13:56:27 2008 +++ sys/dev/acpi/acpireg.h Mon Apr 28 17:25:02 2008 @@ -486,5 +486,6 @@ #define ACPI_DEV_FFB FIXEDBUTTON /* Fixed Feature Button */ #define ACPI_DEV_ASUS ASUS010 /* ASUS Hotkeys */ #define ACPI_DEV_THINKPAD IBM0068/* Thinkpad support */ +#define ACPI_DEV_SONY SNY5001/* Vaio support */ #endif /* !_DEV_ACPI_ACPIREG_H_ */ diff -ruN sys.orig/dev/acpi/acpisony.c sys/dev/acpi/acpisony.c --- sys.orig/dev/acpi/acpisony.cThu Jan 1 01:00:00 1970 +++ sys/dev/acpi/acpisony.c Mon Apr 28 22:02:56 2008 @@ -0,0 +1,239 @@ +/* $NetBSD: sony_acpi.c,v 1.5 2008/03/26 18:35:17 xtraeme Exp $*/ + +/*- + * Copyright (c) 2005 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Christos Zoulas. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + *notice, this list of conditions and the following disclaimer in the + *documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + *must display the following acknowledgement: + *This product includes software developed by the NetBSD + *Foundation, Inc. and its contributors. + * 4. Neither the name of The NetBSD Foundation nor the names of its + *contributors may be used to endorse or promote products derived + *from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#include sys/param.h +#include sys/device.h +#include sys/systm.h + +#include dev/acpi/acpireg.h +#include dev/acpi/acpivar.h +#include dev/acpi/acpidev.h +#include dev/acpi/amltypes.h +#include dev/acpi/dsdt.h + +#define SONY_NOTIFY_FnKeyEvent 0x92 +#define SONY_NOTIFY_BrightnessDownPressed 0x85 +#define SONY_NOTIFY_BrightnessDownReleased 0x05 +#define SONY_NOTIFY_BrightnessUpPressed0x86 +#define SONY_NOTIFY_BrightnessUpReleased 0x06 +#define SONY_NOTIFY_DisplaySwitchPressed 0x87 +#define SONY_NOTIFY_DisplaySwitchReleased 0x07 +#define SONY_NOTIFY_ZoomPressed0x8a +#define SONY_NOTIFY_ZoomReleased 0x0a +#define SONY_NOTIFY_SuspendPressed 0x8c +#define SONY_NOTIFY_SuspendReleased0x0c + +struct acpisony_softc { + struct device sc_dev; + struct acpi_softc *sc_acpi; + struct aml_node *sc_devnode; +}; + +intacpisony_match(struct device *,
Re: : : web development on OpenBSD
On Tue, Apr 29, 2008 at 07:47:08PM +0200, Marc Espie wrote: On Tue, Apr 29, 2008 at 06:10:41PM +0200, Raimo Niskanen wrote: On Tue, Apr 29, 2008 at 05:15:43PM +0200, Marc Espie wrote: I am currently running a web site which says http://joomla.* Strangely enough, it's a drupal site, with no joomla at all. (after spending a week of hair pulling trying to coerce joomla to do whatever I wanted, as the `best-of-breed' solution of choice to brain-dead newbies, I settled on a sensible CMS that actually works) I am curious to know which one? Sorry, don't want 100s of people to bang on it, as the server isn't all THAT fast. Oops my bad english. I thought drupal was a for me unknown common english word, not a CMS name. It was which CMS system you had chosen I was curious to know... I have been banging my head into joomla for a while, and maybe it can do what I want, but I want user names and passwords encrypted among other things and that does not seem to be among their design choices... If you have any amount of logic, you'll find drupal to be quite refreshing for a change. And yeah, drupal has various secure modules that help. The OpenBSD ports include more or less the plugins I use, there are hundreds more where that comes from. From which release is Drupal in ports? I can not find it in OpenBSD 4.1. I know it is time to upgrade but my installation runs sooo nicely now. -- / Raimo Niskanen, Erlang/OTP, Ericsson AB
Journal des cadeaux d'entreprise : Editorial Mai 2008
Si ce message ne s'affiche pas correctement, vous pouvez le visualiser en suivant ce lien. [IMAGE] [IMAGE] [IMAGE] [IMAGE] [IMAGE] Retrouvez toutes nos nouveautis : Laissez-vous guider par notre silection de mai et n'hisitez pas ` faire appel ` un professionnel du cadeau d'affaire pour vous conseiller. Bonne lecture ` vous ! Kit de sicuriti obligatoire A compter du 1er juillet 2008, et sur dicision du Comiti Interministiriel de la Sicuriti Routihre, tout vihicule circulant en France devra jtre iquipi... Cli USB cryptie... Cli USB personnalisie Votre profession ou celle de vos partenaires exige parfois une totale confidentialiti dans le stockage des donnies. Unique, cette cli USB personnalisable s'ouvre avec un mot de passe... Rjve de voyage... Bagagerie publicitaire La marque Smalto fait rjver avec ce set de deux trolleys au design trhs branchi. Ligers et solides grbce ` leur coque... Polo exigent... Textile publicitaire Ce polo Fruit of The Loom en 100% coton ripond ` toutes les exigences professionnelles : lavable en machine industrielle ` 60 degri... Pour ne plus recevoir nos informations, suivez le lien
Re: ssh-keyscan tries protocol 1 and does not rollover to 2
On Wed, 30 Apr 2008, Lars NoodC)n wrote: On OpenBSD 4.2, ssh-keyscan looks like it tries for SSH1 first, rather than SSH2, which is the default[1] for OpenBSD. However, it appears not to retry the scan with SSH2 if SSH1 fails. ssh-keyscan never rolls over to a different protocol unless you have told it to (e.g. ssh-keyscan -t rsa1,rsa,dsa hosts). However, the default of looking for rsa1 keys only is wrong. I have just fixed this :) -d
ssh-keyscan tries protocol 1 and does not rollover to 2
On OpenBSD 4.2, ssh-keyscan looks like it tries for SSH1 first, rather than SSH2, which is the default[1] for OpenBSD. However, it appears not to retry the scan with SSH2 if SSH1 fails. $ ssh-keyscan -v 127.0.0.1 debug1: match: OpenSSH_4.7 pat OpenSSH* debug1: 127.0.0.1 doesn't support ssh1 $ ssh-keyscan -v -t dsa 127.0.0.1 debug1: match: OpenSSH_4.7 pat OpenSSH* # 127.0.0.1 SSH-2.0-OpenSSH_4.7 debug1: Enabling compatibility mode for protocol 2.0 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server-client aes128-cbc hmac-md5 none debug1: kex: client-server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY 127.0.0.1 ssh-dss B3NzaC1kc3MAAACB[snip] $ ssh-keyscan -v -t rsa 127.0.0.1 debug1: match: OpenSSH_4.7 pat OpenSSH* # 127.0.0.1 SSH-2.0-OpenSSH_4.7 debug1: Enabling compatibility mode for protocol 2.0 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server-client aes128-cbc hmac-md5 none debug1: kex: client-server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY 127.0.0.1 ssh-rsa B3NzaC1yc2[snip] It might be time for ssh-keyscan to default to SSH2. Or if SSH1 is the first try, then at least failover to SSH2 if the server does not use SSH1. Regards, -Lars [1] From sshd_config: # Disable legacy (protocol version 1) support in the server for new # installations. In future the default will change to require explicit # activation of protocol 1
Re: Install Open BSD along with Windows XP, Free BSD and Linux
On Tue, Apr 29, 2008 at 11:39 PM, aromes [EMAIL PROTECTED] wrote: Hi All, Just couple of questions please: -Do you know a multi-booter software (doesn't matter if it's commercial) that will let me multiboot easily Windows XP, Free BSD, Open BSD and Linux from partitions that are on the same hard drive? -Can Open BSD (as it's possible with Linux) be booted (off whatever partition) from a boot floppy? -Can Open BSD be installed on a 3rd, 4th partition of a hard drive? Thanks -- View this message in context: http://www.nabble.com/Install-Open-BSD-along-with-Windows-XP%2C-Free-BSD-and-Linux-tp16974804p16974804.html Sent from the openbsd user - misc mailing list archive at Nabble.com. Personally, I've used and like GAG (gag.sourceforge.net).
Re: issue on Attansic Technology L1 network card and OpenBSD
Jonathan Gray [EMAIL PROTECTED] wrote: Actually it only seems to be used in a handful of asus boards. There is a FreeBSD driver that is at least partially working but no developers seem to have the hardware so we can't even try to port it. I have the hardware, but the problem is that OpenBSD won't run with my RAID :/ (Intel Fakeraid). Maybe I'll try OpenBSD on a SCSI HD on that machine. -- Jonathan
Re: symon and pf states
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Parvinder Bhasin I am completely stumped on this , how can I graph pf states etc with symon and symux? I do see my regular pf graph but how do i create graphs for pf states etc? Here's the changes I made to support that. This is against syweb-0.55 [EMAIL PROTECTED] diff -u graph_defaults.inc.orig graph_defaults.inc --- graph_defaults.inc.orig Thu Aug 2 15:26:56 2007 +++ graph_defaults.inc Thu Aug 2 15:28:46 2007 @@ -316,30 +316,18 @@ case 'pf': return ' -t %title% --v bits/s +-v # of states -w %width% -h %heigth% -s %start% -e %end% -DEF:A=%rrdfile%:bytes_v4_in:AVERAGE -DEF:B=%rrdfile%:bytes_v4_out:AVERAGE -DEF:C=%rrdfile%:bytes_v6_in:AVERAGE -DEF:D=%rrdfile%:bytes_v6_out:AVERAGE -CDEF:inb=A,C,+,8,* -CDEF:outb=B,D,+,8,* -CDEF:nodata=A,UN,0,* +DEF:A=%rrdfile%:states_entries:AVERAGE COMMENT:min avg max last\n -LINE1:nodata#FF -AREA:inb#00FF00:incoming -GPRINT:inb:MIN: %6.2lf %sbps -GPRINT:inb:AVERAGE:%6.2lf %sbps -GPRINT:inb:MAX:%6.2lf %sbps -GPRINT:inb:LAST:%6.2lf %sbps\n -LINE1:outb#00:outgoing -GPRINT:outb:MIN:%6.2lf %sbps -GPRINT:outb:AVERAGE:%6.2lf %sbps -GPRINT:outb:MAX:%6.2lf %sbps -GPRINT:outb:LAST:%6.2lf %sbps\n +AREA:A#00FF00:States +GPRINT:A:MIN: %6.2lf %sbps +GPRINT:A:AVERAGE:%6.2lf %sstates +GPRINT:A:MAX:%6.2lf %sstates +GPRINT:A:LAST:%6.2lf %sstates\n '; break;
Re: : : web development on OpenBSD
On Wed, Apr 30, 2008 at 09:36:59AM +0200, Raimo Niskanen wrote: From which release is Drupal in ports? I can not find it in OpenBSD 4.1. I know it is time to upgrade but my installation runs sooo nicely now. 4.3, excellent time to update.
Re: 32G SSD - Poor Performance on 4.3
I have been reading around the archives a bit and found a few references to using 4.3 to get the full performance out of a Transcend SSD but my results are showing that the drive is slower on all fronts. Do you mean, slower with 4.3 than previous versions, or slower than spinning hard drive? SSD is currently a myth. They aren't better faster greater etc. Maybe the next generation... The advantages of SSD are that it is quieter, uses less power and generates less heat than a conventional drive. I don't believe anyone promised that the drives would be *faster*, necessarily. If you want quiet and low power, and have no need of large capacity, then SSD is fine... Dave. -- Dave Ewart [EMAIL PROTECTED], jabber:[EMAIL PROTECTED], freenode:davee All email from me is now digitally signed, http://www.sungate.co.uk/ Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
openCVS
any info on why http://www.opencvs.org/ is down, and how active is this project? thx
Bypass Mode for Intel Bypass Network Card
Hi I have the Intel PRO/1000 PT Quad Port Bypass Server Adapter and I don't know how to get the bypass mode working under OpenBSD. Thers is almost no documentation from Intel and the only reference Ive seen to changing the bypass mode is a line that said it must be changed programattically. So is there a program or some kind of command that I can run in OpenBSD to enable the bypass mode when the computer is turned off? Does OpenBSD even support the bypass features of this card? Thanks Jonathan Steel -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: openCVS
Le Wed, 30 Apr 2008 14:36:48 +0200, [EMAIL PROTECTED] a icrit : any info on why http://www.opencvs.org/ is down, and how active is this project? thx http://www.undeadly.org/cgi?action=articlesid=20080228093414 -- - Nicolas.
Re: Kernel trap with custom ramdisk
Thanks all for suggestions. I have got finally what I want. I have created base ramdisk about 4Megs, then I'm fetching all other daemont/tools into the mfs disk ang run them. This solution works for now. 30.04.08, 01:58, Daniel Ouellet [EMAIL PROTECTED] I guess what people try to tell you is that if you try to do custom kernel, you are on your own. That was said already. However, not knowing the problem you try to solved doesn't help either trying to answer your question. If they only think you need or want is a mount point that would be in RAM and that you could use as a ramdisk, nothing special is needed and sure not any custom kernel for this. So, not knowing what you want to solved, is hard to offer anything good, but you will not get help on doing custom kernel here really. This is not Linux world. Now if you only want a ram mount space, you can just read: http://www.openbsd.org/cgi-bin/man.cgi?query=fstabapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html As an example, right from the man page: Change in /etc/fstab #/dev/sd0f /tmp ffs rw,nodev,nosuid 1 2 swap /tmp mfs rw,nodev,nosuid,-s=153600 0 0 Would give you a mfs file system in ram, just like a ram disk. It's that simple to do really and will be accessible right from reboot as well. Just for fun, a few years ago also, I did a RaidFrame setup where one disk was the real drive and the second was RAM. Why, well simple. When the system boot, the disk are not in sync, so the RaidFrame rebuilt the mirror from the disk to the ram and then the sync was complete, I drop the mount for the disk and yes the mirror was broken again, but then all was running form RAM at that point going forward and it was simple and fast like hell. That was for experiment and fun and it works. But it was a pain to setup. Simple to use and very simple idea if you want. Works well, but paint o setup the first time. I might do that again when the new OpenBSD replacement for RaidFrame is complete in the future that is already started, but not at the moment. Anyway, just the mfs solution above might just be what you are after. Not knowing your problem, I don't know if that would be it or not. Give it a try anyway. Couldn't be simpler and sure nothing custom is needed for that. If that's not what you are after, then soryy for the noice and just hit delete. Best, Daniel
Re: 32G SSD - Poor Performance on 4.3
Sure but you forget to mention the MTBU. Currently SSD is lower than SATA drives. On Wed, Apr 30, 2008 at 01:15:56PM +0100, Dave Ewart wrote: I have been reading around the archives a bit and found a few references to using 4.3 to get the full performance out of a Transcend SSD but my results are showing that the drive is slower on all fronts. Do you mean, slower with 4.3 than previous versions, or slower than spinning hard drive? SSD is currently a myth. They aren't better faster greater etc. Maybe the next generation... The advantages of SSD are that it is quieter, uses less power and generates less heat than a conventional drive. I don't believe anyone promised that the drives would be *faster*, necessarily. If you want quiet and low power, and have no need of large capacity, then SSD is fine... Dave. -- Dave Ewart [EMAIL PROTECTED], jabber:[EMAIL PROTECTED], freenode:davee All email from me is now digitally signed, http://www.sungate.co.uk/ Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
Re: marvell yukon GigE freezes the bootup
I have the same problem. The device dont transfer any packet, but de link is up. Part of my dmesg: mskc0 at pci11 dev 0 function 0 Marvell Yukon 88E8040 rev 0x12, Yukon-2 FE+ (0x0): irq 11 msk0 at mskc0 port A: address 00:1d:09:47:96:8b ukphy at msk0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI 0x005043, model 0x0026 I use snapshot 4.3 -current download yesterday from ftp.openbsd.org. Any suggestion? Thanks in advance. Hernan On Sat, Feb 9, 2008 at 2:27 PM, LIVAI Daniel [EMAIL PROTECTED] wrote: On Wednesday 06 February 2008 18:35:01 you wrote: On Wednesday 06 February 2008 18:02:58 you wrote: On Wednesday 06 February 2008 17:57:00 you wrote: A first start would be to tell us what version of OpenBSD you are running, and to send a full dmesg. If you are not running -current, you should try a snapshot. Sorry, I forgot to mention that I'm running the latest available (01.28) snapshot. Full dmesg, well, that is going be tricky, I'll try my best. Today's (02.09) snapshot's installer is able to boot, and it recognizes the network device like this: mskc0 at pci2 dev 0 function 0 Marvell Yukon 88E8071 rev 0x15, Yukon-2 Extreme (0x2): irq 10 msk0 at mskc0 port A: address 00:1d:72:... eephy0 at msk0 phy 0: Marvell 88E1149 Gigabit PHY, rev. 1 The problem now is that it can not transfer anything. dhclient(8)'s discovers are not reaching the dhcp server, although the link is up according the notebook's leds (and the switch's). I gave an ip address to the device, but no luck, the ping won't reach anything. Daniel -- LEVAI Daniel Public key ID = 4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1 -- # /dev/hdc - OpenBSDeros.org hdc [at] openbsderos [dot] org
dump much larger than filesystem
Hi all, OpenBSD 4.3-current (GENERIC) #0: Wed Mar 19 04:21:24 CET 2008 As anyone else, I use dump(8) for my backups. Now I experience this: I made a full dump a while ago with dump -0 -a -u -f /backup/dump.var.www /var/www Since then, /var/www got much smaller (you wouldn't believe the amount of bullshit people put online). If I do the same dump now, the resulting dumpfile (/backup/dump.var.www) is as big as before - it never gets smaller, eventhough I am dumping a much smaller filesystem now. Why is that? Of course, this won't happen when if I run e.g. dump -0 -a -u -f - /var/www /backup/dump.var.www because then the dumpfile gets truncated right away. But the dump happens inside daily.local, hence I want the redirection for logging: dump -0 -a -u -f /backup/dump.var.www /var/www $LOG 21 What I did is rm -f /backup/dump.var.www and than run the dump again. Now the dumpfile IS accordingly smaller. Can someone enlighten me? Perhaps 'dump -f' does not truncate the file? Thanks Jan
Re: marvell yukon GigE freezes the bootup
On 2008-04-30, HDC [EMAIL PROTECTED] wrote: Part of my dmesg: Please send *all* of the dmesg, not just part of it.
Re: mrxvt and ksh issue [solved]
On 30/04/08 00:38 +0200, Jesus Sanchez wrote: Solved! Oh my god, I'm so dumb and idiot, the option -hold was not helping me because I was using it in the wrong way, I used -hold 0 and -hold false and I did not relized what the good option was -hold 0x00 for the byte order. Many thanks for your info and so sorry about the confusion, I really feel as a dumb newbie. Thanks for all. Antoine Jacoutot escribis: On Wed, 23 Apr 2008, Jesus Sanchez wrote: I launch startx (with fvwm2 and mrxvt on my .xinitrc) as a regular user (it's in the wheel group) and then I open a few tabs on mrxvt (3 or 4), then I close X with Ctrl+Alt+Backspace and I found with 'ps -ax' that the ksh opened with mrxvt (ttyp0, ttyp1, and more) are still running, not mrxvt. Hi. Sorry, a bit late on this but I've been busy. Did you have a look at the '-hold' option? From what you've been saying, disabling it should solve your problem. -hold mask Hold the tab open after the child process in it exits. mask is the mask of flags which control weather the tab will be held open based on the exit status of the child process. If the lowest bit (0x01) of mask is set, then the tab will always be held open after the child exits. If the next bit (0x02) is set, then the tab will only be held open if the child exits abnormally (e.g. via abort(1)). If the third bit (0x04) is set, then the tab will be held open if the child exits with non-zero status. NOTE: In previous versions of mrxvt this was a boolean option. For backward compatibility, the value of True, On, Yes will be treated as 1 and anything illegal will be treated as 0. The default is 0x06. [holdExit] I try -hold option before other things, but this don't work for me... I try with different wm (fvwm, twm, cwm, e17, e16, gnome, xfce), but if I kill x connection with ctrl+alt+backspace, all ksh remain alive. I've added a IO handler to wrxvt init.c, this - as workaround - solve all our issues. If this is not necessary, post your config here, please. --- src/init.c.orig Wed Apr 30 15:55:42 2008 +++ src/init.c Wed Apr 30 16:08:59 2008 @@ -46,6 +46,7 @@ intrxvt_getdtablesize (); #endif intrxvt_xerror_handler(const Display*, const XErrorEvent*); +intrxvt_xioerror_handler (Display*); void rxvt_init_colors (rxvt_t*); void rxvt_init_win_size (rxvt_t*); void rxvt_color_aliases (rxvt_t*, int); @@ -886,6 +887,25 @@ rxvt_init_secondary(rxvt_t *r) #endif } +/* + * FIXME + * + * Wed Apr 30 14:35:33 CEST 2008 +gar [EMAIL PROTECTED] + * + * This is a workaround for for OpenBSD users. On killed connection after + * ctrl+alt+backspace with ksh as default shell child processes don't exit, + * remaining in WCHAN state for ttyin. This works for me, I set a IO error + * handler for killed connection (man XSetErrorHandler) to clean vts before + * exiting. + */ +int +rxvt_xioerror_handler(Display *d) +{ +rxvt_msg(DBG_ERROR, DBG_INIT, IO error, cleaning...\n); +rxvt_Exit_signal(1); +return 0; +//abort(); +} /* INTPROTO */ int @@ -1079,6 +1099,7 @@ rxvt_init_resources(rxvt_t* r, int argc, const char *c * allowed. */ XSetErrorHandler( (XErrorHandler) rxvt_xerror_handler ); +XSetIOErrorHandler( rxvt_xioerror_handler ); /* Initialize all atoms after establishing connection to X */ for (i = 0; i NUM_XA; i++)
Re: How to HIDE OpenBSD as user-agent?
Now this idea: I don't have an issue with. For HoneyPot systems, obviously, you want to Attract attention, you setup attractive, known buggy user agent strings and the like for other services. Then watch who attempts. For Silent Lurker systems, you want an obscure response to thinks like the HTTP User Agent string but if you use things like Opera, Firefox, or Apple's Safari, You could select a false User-Agent string to send. For other Services the Silent Lurker is going to respond to, you could be more obscure: Like not send anything at all... But then Again. I would tend to use the Silent Lurker method If I was surfing for 'Pr0n' but instead I just use an expendable Windows 2000 system running firefox *With Delete everything when done* setting turned on in a PF'ed DMZ lan segment, logged in as administrator (with full rights) with a machine name of IDONTCARE or something like that. When it goes Zoop, I ghost a copy back over. -sean Subject: Re: How to HIDE OpenBSD as user-agent? On 4/29/08 5:32 PM, Ross Cameron wrote: This is an obscurity hack and an all round bad idea. Yes it's an obscurity hack, but that doesn't make it a bad idea in general. When I'm browsing from my work computer I'm very easy to trace anywhere in logs because of the OpenBSD, KDE and Seamonkey combination. From a security point of view it's plain stupid, but regarding privacy the question isn't a bad idea. +++chefren _ Find hidden words, unscramble celebrity names, or try the ultimate crossword puzzle with Live Search Games. Play now! http://g.msn.ca/ca55/212
Re: marvell yukon GigE freezes the bootup
OpenBSD 4.3-current (GENERIC) #847: Tue Apr 29 01:46:34 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 2137014272 (2038MB) avail mem = 2058289152 (1962MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/10/08, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev. 2.4 @ 0xf7190 (45 entries) bios0: vendor Dell Inc. version A11 date 03/10/2008 bios0: Dell Inc. Inspiron 1525 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET APIC MCFG SLIC OSFR BOOT SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S5) RP02(S3) RP03(S3) RP04(S3) RP05(S3) RP06(S3) LID_(S3) PBTN(S4) MBTN(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 2 (PCIE) acpiprt1 at acpi0: bus 9 (RP01) acpiprt2 at acpi0: bus 11 (RP02) acpiprt3 at acpi0: bus -1 (RP03) acpiprt4 at acpi0: bus -1 (RP04) acpiprt5 at acpi0: bus 12 (RP05) acpiprt6 at acpi0: bus -1 (RP06) acpiprt7 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3 acpitz0 at acpi0: critical temperature 85 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit offline acpibat0 at acpi0: BAT0 model DELL RN8738 serial 15799 type LION bios0: ROM list: 0xc/0xf000! 0xcf000/0x1000 cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2b06000c2b cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2000 MHz (1388 mV): speeds: 2000, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xe000, size 0x1000 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: irq 10 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: irq 9 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: irq 7 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: irq 9 azalia0: /usr/src/sys/dev/pci/azalia.c/1359 invalid PCM format: 0x azalia0: codec[s]: Conexant/0x2c06, CMD Technology/0x1392, Sigmatel/0x7616, using Sigmatel/0x7616 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: irq 11 pci1 at ppb0 bus 9 mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8040 rev 0x12, Yukon-2 FE+ (0x0): irq 11 msk0 at mskc0 port A: address 00:1d:09:47:96:8b ukphy0 at msk0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI 0x005043, model 0x0026 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: irq 10 pci2 at ppb1 bus 11 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: irq 10, MoW1, address 00:1f:3c:33:10:4f ppb2 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x02: irq 11 pci3 at ppb2 bus 12 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: irq 10 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: irq 9 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x02: irq 7 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: irq 10 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf2 pci4 at ppb3 bus 2 Ricoh 5C832 Firewire rev 0x05 at pci4 dev 9 function 0 not configured sdhc0 at pci4 dev 9 function 1 Ricoh 5C822 SD/MMC rev 0x22: irq 5 sdmmc0 at sdhc0 Ricoh 5C843 MMC rev 0x12 at pci4 dev 9 function 2 not configured Ricoh 5C592 Memory Stick rev 0x12 at pci4 dev 9 function 3 not configured Ricoh 5C852 xD rev 0x12 at pci4 dev 9 function 4 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801HBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: Optiarc, DVD+-RW AD-5560A, DD11 ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ahci0 at pci0 dev 31 function 2 Intel 82801HBM AHCI rev 0x02: irq 10, AHCI 1.1 ahci0: PHY offline on port 2 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: ATA, Hitachi HTS54251, BB2O SCSI3 0/direct fixed sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec total ichiic0 at pci0 dev 31 function 3 Intel 82801H SMBus rev 0x02: irq 10 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
Re: mrxvt and ksh issue [really solved]
Thanks! man, this is really annoying, first I thought the -hold 0x00 option solved my problem but was because I moved to bash, indeed I wrote a mail telling how idiot I am xD . Returning to ksh the Ctrl+Alt+Backspace problem persist as usual. I will try your fix. Thanks a lot for your time -Jesus Cesare Gargano escribis: On 30/04/08 00:38 +0200, Jesus Sanchez wrote: Solved! Oh my god, I'm so dumb and idiot, the option -hold was not helping me because I was using it in the wrong way, I used -hold 0 and -hold false and I did not relized what the good option was -hold 0x00 for the byte order. Many thanks for your info and so sorry about the confusion, I really feel as a dumb newbie. Thanks for all. Antoine Jacoutot escribis: On Wed, 23 Apr 2008, Jesus Sanchez wrote: I launch startx (with fvwm2 and mrxvt on my .xinitrc) as a regular user (it's in the wheel group) and then I open a few tabs on mrxvt (3 or 4), then I close X with Ctrl+Alt+Backspace and I found with 'ps -ax' that the ksh opened with mrxvt (ttyp0, ttyp1, and more) are still running, not mrxvt. Hi. Sorry, a bit late on this but I've been busy. Did you have a look at the '-hold' option? From what you've been saying, disabling it should solve your problem. -hold mask Hold the tab open after the child process in it exits. mask is the mask of flags which control weather the tab will be held open based on the exit status of the child process. If the lowest bit (0x01) of mask is set, then the tab will always be held open after the child exits. If the next bit (0x02) is set, then the tab will only be held open if the child exits abnormally (e.g. via abort(1)). If the third bit (0x04) is set, then the tab will be held open if the child exits with non-zero status. NOTE: In previous versions of mrxvt this was a boolean option. For backward compatibility, the value of True, On, Yes will be treated as 1 and anything illegal will be treated as 0. The default is 0x06. [holdExit] I try -hold option before other things, but this don't work for me... I try with different wm (fvwm, twm, cwm, e17, e16, gnome, xfce), but if I kill x connection with ctrl+alt+backspace, all ksh remain alive. I've added a IO handler to wrxvt init.c, this - as workaround - solve all our issues. If this is not necessary, post your config here, please. --- src/init.c.orig Wed Apr 30 15:55:42 2008 +++ src/init.c Wed Apr 30 16:08:59 2008 @@ -46,6 +46,7 @@ intrxvt_getdtablesize (); #endif intrxvt_xerror_handler(const Display*, const XErrorEvent*); +intrxvt_xioerror_handler (Display*); void rxvt_init_colors (rxvt_t*); void rxvt_init_win_size (rxvt_t*); void rxvt_color_aliases (rxvt_t*, int); @@ -886,6 +887,25 @@ rxvt_init_secondary(rxvt_t *r) #endif } +/* + * FIXME + * + * Wed Apr 30 14:35:33 CEST 2008 +gar [EMAIL PROTECTED] + * + * This is a workaround for for OpenBSD users. On killed connection after + * ctrl+alt+backspace with ksh as default shell child processes don't exit, + * remaining in WCHAN state for ttyin. This works for me, I set a IO error + * handler for killed connection (man XSetErrorHandler) to clean vts before + * exiting. + */ +int +rxvt_xioerror_handler(Display *d) +{ +rxvt_msg(DBG_ERROR, DBG_INIT, IO error, cleaning...\n); +rxvt_Exit_signal(1); +return 0; +//abort(); +} /* INTPROTO */ int @@ -1079,6 +1099,7 @@ rxvt_init_resources(rxvt_t* r, int argc, const char *c * allowed. */ XSetErrorHandler( (XErrorHandler) rxvt_xerror_handler ); +XSetIOErrorHandler( rxvt_xioerror_handler ); /* Initialize all atoms after establishing connection to X */ for (i = 0; i NUM_XA; i++)
OpenBSD 4.3 and Broadcom BCM5787M
I am trying to install OpenBSD on an Acer Aspire 5920G laptop -- everything including X works quite nicely. During the installation, I get a DHCP address for the built-in Broadcom NIC (BCM5787M) so the NIC does work during the installation process. When the system comes up though, I no longer have access to the network -- dmesg gives the following information: bge0 at pci4 dev 0 function 0 Broadcom BCM5787M rev 0x02: can't find mem space wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: could not map memory space I tried disabling ehci and azalia and also tried changing pcibios flag to 0x1 and 0x40, using boot -c. NIC still does not work. I tried /bsd as well as /bsd.mp. Some time ago, on another laptop I had to disable plug and play OS setting to make things work but on this laptop there doesn't seem to be any such option. How can I make this work? Please let me know if you have any advice. Thanks very much and here is the full dmesg. OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Core(TM)2 Duo CPU T5550 @ 1.83GHz (GenuineIntel 686-class) 1.84 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 2145808384 (2046MB) avail mem = 2066866176 (1971MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/18/08, BIOS32 rev. 0 @ 0xfda71, SMBIOS rev. 2.4 @ 0x7fee1000 (35 entries) bios0: vendor Acer version v1.3809 date 02/18/2008 bios0: Acer, inc. Aspire 5920G acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices HDEF(S3) LANE(S4) USB1(S3) USB2(S3) USB3(S3) EHC1(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus 6 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 8 (RP06) acpiprt8 at acpi0: bus 10 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 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: 0xc/0xda00 0xe/0x1800! cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2b06000b2b cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1833 MHz (1388 mV): speeds: 1833, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x03 agp0 at pchb0: no integrated graphics ppb0 at pci0 dev 1 function 0 Intel GM965 PCIE rev 0x03: irq 5 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0425 rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: irq 5 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: irq 11 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: irq 11 azalia0: codec[s]: Realtek/0x0888, Conexant/0x2c06, using Realtek/0x0888 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: irq 10 pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x03: irq 10 pci3 at ppb2 bus 6 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: could not map memory space ppb3 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x03: irq 5 pci4 at ppb3 bus 8 bge0 at pci4 dev 0 function 0 Broadcom BCM5787M rev 0x02: can't find mem space uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: irq 7 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: irq 10 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: irq 10 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: irq 7 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3 pci5 at ppb4 bus 10 Ricoh 5C832 Firewire rev 0x05 at pci5 dev 9 function 0 not configured sdhc0 at pci5 dev 9 function 1 Ricoh 5C822 SD/MMC rev 0x22: can't map interrupt Ricoh 5C843 MMC rev 0x12 at pci5 dev 9 function 2 not configured Ricoh 5C592 Memory Stick rev 0x12 at pci5 dev 9 function 3 not configured Ricoh 5C852 xD rev 0x12 at pci5 dev 9 function 4 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801HBM LPC rev 0x03: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0
Hark!
What is that I hear!? The FTP floodgates opening for 4.3? As always, good work, devs...and I have a brand new V210 to play with as well...life is good -- Systems Programmer, Principal Electrical Computer Engineering The University of Arizona [EMAIL PROTECTED]
OpenBSD 4.3 released May 1, 2008
May 1, 2008. We are pleased to announce the official release of OpenBSD 4.3. This is our 23nd release on CD-ROM (and 24rd via FTP). We remain proud of OpenBSD's record of more than ten years with only two remote holes in the default install. As in our previous releases, 4.3 provides significant improvements, including new features, in nearly all areas of the system: - New/extended platforms: o OpenBSD/sparc64. SMP support. This should work on all supported systems, with the exception of the Sun Enterprise 1. o OpenBSD/hppa. K-class servers like the K200 and K410 are supported now. o OpenBSD/mvme88k SMP support on MVME188 and MVME188A systems. 88110 processor, and thus MVME197LE/SP/DP boards, are supported now. o OpenBSD/sgi. Contains many new drivers, however the kernel requires an important errata fix. - Improved hardware support, including: o The bge(4) driver now supports BCM5906/BCM5906M 10/100 and BCM5755 10/100/Gigabit Ethernet devices. o The cas(4) driver now supports Cassini+ 10/100/Gigabit Ethernet devices. o The em(4) driver now supports ICH9 10/100 and 10/100/Gigabit Ethernet devices. o The gem(4) driver now supports the onboard 1000base-SX interface on the Sun Fire V880 server. o The ixgb(4) driver now supports the Sun 10Gb PCI-X Ethernet devices. o The msk(4) driver now supports Yukon FE+ 10/100 and Yukon Supreme 10/100/Gigabit Ethernet devices. o The nfe(4) driver now supports MCP73, MCP77 and MCP79 10/100/Gigabit Ethernet devices. o The ral(4) driver now supports RT2800 based wireless network devices. o The cmpci(4) driver now supports CMI8768 based audio adapters. o The it(4) driver now supports ITE IT8705F/8712F/8716F/8718F/8726F and SiS SiS950 ICs. Watchdog timer functionality added. o The mfi(4) driver now supports Dell CERC6/PERC6 and LSI SAS1078 RAID controllers. o The viapm(4) driver now supports the VIA VT8237S south bridges SMBus controller. o Support for hotplugging ExpressCard devices has been added. o New amdpcib(4) driver for the AMD-8111 series LPC bridge and timecounter on amd64. o New pctr(4) driver for the CPU performance counters on amd64. o New bwi(4) driver for the Broadcom AirForce IEEE 802.11b/g wireless network device. o New envy(4) driver for the VIA Envy24 audio device. o New et(4) driver for the Agere/LSI ET1310 10/100/Gigabit Ethernet device. o New etphy(4) driver for the Agere/LSI ET1011 TruePHY Gigabit Ethernet PHY. o New amdpcib(4) driver for the AMD-8111 series LPC bridge and timecounter on i386. o New glxpcib(4) driver for the AMD CS5536 PCI-ISA bridge with timecounter, watchdog timer, and GPIO on i386. o New iwn(4) driver for the Intel Wireless WiFi Link 4965AGN IEEE 802.11a/b/g/Draft-N wireless network device. o New msts(4) line discipline to interface Meinberg Standard Time String devices and to provide a timedelta sensor. o New gbe(4) driver for the SGI Graphics Back End (GBE) Frame Buffer on sgi. o New mkbc(4) driver for the Moosehead PS/2 Controller on sgi. o New power(4) driver for the power button on sgi. o New ecadc(4) driver for the Environmental Monitoring Subsystem temperature sensor on sparc64. o New tda(4) driver for the fan controller on the Sun Blade 1000/2000, making these machines much less noisy. o New spdmem(4) driver retrieves information about memory modules. o New thmc(4) driver for the TI THMC50, Analog ADM1022/1028 temperature sensor. o New uchcom(4) driver for the WinChipHead CH341/340 based USB serial adapter. o New umbg(4) driver for the Meinberg Funkuhren USB5131 radio clock to provide a timedelta sensor. o New upgt(4) driver for the Conexant/Intersil PrismGT SoftMAC USB IEEE 802.11b/g wireless network device. o New wbng(4) driver for the Winbond W83793G temperature, voltage, and fan sensor. o New wbsio(4) driver for the Winbond LPC Super I/O ICs. o New adl(4) driver for the Andigilog aSC7621 temperature, voltage, and fan sensor. o The siop(4) driver now supports the (non-PCI) NCR 53c720/770 in big-endian mode. o New lmn(4) driver for the National Semiconductor LM93 sensor. - New tools: o snmpd(8), implementing the Simple Network Management Protocol. o The snmpctl(8) program controls the SNMP daemon. o The pcidump(8) utility displays the device address, vendor, and product name of PCI devices. o ldattach(8) is used to attach a line discipline to a serial line to allow for in-kernel processing of the received and/or sent data. - New functionality: o eeprom(8) is now able to display the OpenPROM device tree on systems that have it. o Support for X11 on
Re: Hark!
On Wed, Apr 30, 2008 at 2:42 PM, Marti Martinez [EMAIL PROTECTED] wrote: What is that I hear!? The FTP floodgates opening for 4.3? It should be their wallets and paypal accounts, not FTP. aaron.glenn
Re: Drop softraid(4) volume?
I thought 'noauto' only was for ignoring the volume upon reboot. What I want to accomplish is to delete a current volume, e.g. sd2 below. But I tested anyway, and this is the, perhaps not too surprisingly, result: # bioctl -i softraid0 Volume Status Size Device softraid0 0 Online 10813440 sd3 RAID1 0 Online 10813440 0:0.0 noencl sd0b 1 Online 10813440 0:1.0 noencl sd1b softraid0 1 Online 21562368 sd2 RAID0 0 Online 10781184 1:0.0 noencl sd0a 1 Online 10781184 1:1.0 noencl sd1a # bioctl -C noauto -c 0 -l /dev/sd0a,/dev/sd1a softraid0 bioctl: BIOCCREATERAID: Invalid argument # bioctl -C noauto -C force -c 0 -l /dev/sd0a,/dev/sd1a softraid0 # bioctl -i softraid0 Volume Status Size Device softraid0 0 Online 10813440 sd3 RAID1 0 Online 10813440 0:0.0 noencl sd0b 1 Online 10813440 0:1.0 noencl sd1b softraid0 1 Online 21562368 sd2 RAID0 0 Online 10781184 1:0.0 noencl sd0a 1 Online 10781184 1:1.0 noencl sd1a softraid0 2 Online 21562368 sd4 RAID0 0 Online 10781184 2:0.0 noencl sd0a 1 Online 10781184 2:1.0 noencl sd1a /Markus Marco Peereboom wrote: bioctl -c 1 C noauto -l /dev/wd1a,/dev/wd2a,/dev/wd3a softraid0 On Tue, Apr 29, 2008 at 11:37:39PM +0200, Markus Bergkvist wrote: Hi, How can I drop a softraid(4) volume created with e.g. # bioctl -c 1 -l /dev/wd1a,/dev/wd2a,/dev/wd3a softraid0 scsibus0 at softraid0: 1 targets sd0 at scsibus0 targ 0 lun 0: OPENBSD, SR RAID 1, 001 SCSI2 sd0: 1MB, 0 cyl, 255 head, 63 sec, 512 bytes/sec, 3714 sec total /Markus
Re: OpenBSD 4.3 released May 1, 2008
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Theo de Raadt wrote: May 1, 2008. We are pleased to announce the official release of OpenBSD 4.3. This is our 23nd release on CD-ROM (and 24rd via FTP). We remain proud of OpenBSD's record of more than ten years with only two remote holes in the default install. As in our previous releases, 4.3 provides significant improvements, including new features, in nearly all areas of the system: [snip] Ok, so to clarify, I was running a snapshot on my macppc machine. I've been finding it a bit slow, but nice enough, bnut with the release realeased as it were, I should now rebuild the kernel/userland to incorporate the changes? Sorry if this is in the FAQ somewhere, I've been unable to find it. Cheers Rich Healey Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIGRs8LeTfO4yBSAcRAoiFAJ0YV3Ok/5TVGctXNxzfdB+gGxVUhACguGyT jPU5tOaDmr49g95F8RIh3uc= =N2B6 -END PGP SIGNATURE-
Re: OpenBSD 4.3 released May 1, 2008
Well, it should work if your snapshot is pre-4.3. The FAQ says that upgrades should work if your current release is minus one from the release you are upgrading to. Ok, so to clarify, I was running a snapshot on my macppc machine. I've been finding it a bit slow, but nice enough, bnut with the release realeased as it were, I should now rebuild the kernel/userland to incorporate the changes? Sorry if this is in the FAQ somewhere, I've been unable to find it. Cheers Rich Healey
Re: OpenBSD 4.3 released May 1, 2008
Rich Healey wrote: ... I've been finding it a bit slow, but nice enough, bnut with the release realeased as it were, I should now rebuild the kernel/userland to incorporate the changes? Sorry if this is in the FAQ somewhere, I've been unable to find it. http://www.openbsd.org/faq/faq5.html Nick.
Re: mrxvt and ksh issue [solved]
Hi, I have just compiled and tested the program and I hopefully can say, its really working. I never expected such interest by solving this problem so I started loosing the hope. Thanks to the patch of Cesare Gargano, now I can run mrxvt using ksh and then kill X with Ctrl+Alt+Backspace without leaving zombie/dead ksh processes. I have a copy of the compiled binary mrxvt OpenBSD 4.2 on: http://usuarios.lycos.es/openminds/downloads/openbsderos/mrxvt_ksh (you have to install mrxvt by ports or packages, and then copy mrxvt_ksh to the original mrxvt bin destination) This compiled binary works. But I had a little problems because (I think) I have a different ports tree and the diff file does not worked for me and I had to patch init.c by hand. After all the make process stops telling me the line containing rxvt_msg(... made problems so I commented it and then make install compiled a sane mrxvt (I think). The mrxvt dev team should be informed about all this stuff so the would be able to make a fix of this without problems. Thanks Cesare. -Jesus Cesare Gargano escribis: On 30/04/08 00:38 +0200, Jesus Sanchez wrote: Solved! Oh my god, I'm so dumb and idiot, the option -hold was not helping me because I was using it in the wrong way, I used -hold 0 and -hold false and I did not relized what the good option was -hold 0x00 for the byte order. Many thanks for your info and so sorry about the confusion, I really feel as a dumb newbie. Thanks for all. Antoine Jacoutot escribis: On Wed, 23 Apr 2008, Jesus Sanchez wrote: I launch startx (with fvwm2 and mrxvt on my .xinitrc) as a regular user (it's in the wheel group) and then I open a few tabs on mrxvt (3 or 4), then I close X with Ctrl+Alt+Backspace and I found with 'ps -ax' that the ksh opened with mrxvt (ttyp0, ttyp1, and more) are still running, not mrxvt. Hi. Sorry, a bit late on this but I've been busy. Did you have a look at the '-hold' option? From what you've been saying, disabling it should solve your problem. -hold mask Hold the tab open after the child process in it exits. mask is the mask of flags which control weather the tab will be held open based on the exit status of the child process. If the lowest bit (0x01) of mask is set, then the tab will always be held open after the child exits. If the next bit (0x02) is set, then the tab will only be held open if the child exits abnormally (e.g. via abort(1)). If the third bit (0x04) is set, then the tab will be held open if the child exits with non-zero status. NOTE: In previous versions of mrxvt this was a boolean option. For backward compatibility, the value of True, On, Yes will be treated as 1 and anything illegal will be treated as 0. The default is 0x06. [holdExit] I try -hold option before other things, but this don't work for me... I try with different wm (fvwm, twm, cwm, e17, e16, gnome, xfce), but if I kill x connection with ctrl+alt+backspace, all ksh remain alive. I've added a IO handler to wrxvt init.c, this - as workaround - solve all our issues. If this is not necessary, post your config here, please. --- src/init.c.orig Wed Apr 30 15:55:42 2008 +++ src/init.c Wed Apr 30 16:08:59 2008 @@ -46,6 +46,7 @@ intrxvt_getdtablesize (); #endif intrxvt_xerror_handler(const Display*, const XErrorEvent*); +intrxvt_xioerror_handler (Display*); void rxvt_init_colors (rxvt_t*); void rxvt_init_win_size (rxvt_t*); void rxvt_color_aliases (rxvt_t*, int); @@ -886,6 +887,25 @@ rxvt_init_secondary(rxvt_t *r) #endif } +/* + * FIXME + * + * Wed Apr 30 14:35:33 CEST 2008 +gar [EMAIL PROTECTED] + * + * This is a workaround for for OpenBSD users. On killed connection after + * ctrl+alt+backspace with ksh as default shell child processes don't exit, + * remaining in WCHAN state for ttyin. This works for me, I set a IO error + * handler for killed connection (man XSetErrorHandler) to clean vts before + * exiting. + */ +int +rxvt_xioerror_handler(Display *d) +{ +rxvt_msg(DBG_ERROR, DBG_INIT, IO error, cleaning...\n); +rxvt_Exit_signal(1); +return 0; +//abort(); +} /* INTPROTO */ int @@ -1079,6 +1099,7 @@ rxvt_init_resources(rxvt_t* r, int argc, const char *c * allowed. */ XSetErrorHandler( (XErrorHandler) rxvt_xerror_handler ); +XSetIOErrorHandler( rxvt_xioerror_handler ); /* Initialize all atoms after establishing connection to X */ for (i = 0; i NUM_XA; i++)
OpenBSD 4.3 released May 1, 2008
Thanks Theo and all for another release. You'll have to find a volunteer to make the ftp servers support OpenSTP for next release ;-) -- Mark Mathias
Re: OpenBSD 4.2 ipsecctl isakmpd netgear FVS114
On Tue, Apr 29, 2008 at 08:56:57PM -0400, Christopher Sean Hilton wrote: Hi, I'm trying to connect a Netgear FVS114 to my OpenBSD 4.2 machine. I seem to be stuck getting the following three error lines when I use isakmpd -K -d 205022.882116 Default attribute_unacceptable: AUTHENTICATION_METHOD: got PRE_SHARED, expected RSA_SIG 205022.882456 Default message_negotiate_sa: no compatible proposal found 205022.882710 Default dropped message from 76.252.200.204 port 500 due to notification type NO_PROPOSAL_CHOSEN I'm assuming that the problem is that OpenBSD is insisting on using RSA_SIG for authentication and my Netgear box want to use PRE_SHARED keys. While I want to have RSA authentication in the long run it's quite a lot of steps and I'd like to have an intermediate configuration with pre shared keys. How do I configure that in isakmpd? If you are using ipsec.conf(5), see psk. If you are using isakmpd.conf, and for some reason can't/don't want to switch to the much nicer ipsec.conf(5), see isakmpd.conf(5), Authentication under ISAKMP-peer. If neither of the above is helpful, feel free to send your configuration... Joachim -- TFMotD: sha1 (1) - calculate a message-digest fingerprint (checksum) for a file
Re: OpenBSD 4.3 released May 1, 2008
thanks Congratulations!!! OpenBSD 4.3 is great Diego Fernando Nieto Moreno --- IEEE Student Branch IEEE Computer Society Branch Chapter Member http://www.ieee.org/security
Re: OpenBSD 4.3 released May 1, 2008
On Thu, May 01, 2008 at 11:22:20AM +1000, Rich Healey wrote: Theo de Raadt wrote: May 1, 2008. We are pleased to announce the official release of OpenBSD 4.3. [...] [snip] Ok, so to clarify, I was running a snapshot on my macppc machine. I've been finding it a bit slow, but nice enough, bnut with the release realeased as it were, I should now rebuild the kernel/userland to incorporate the changes? ok, this is very rough and coarse, but.. if your snap was early march, then you can upgrade to release. if your snap was late march, then it is probably ahead of release (that is to say, some current beyond 4.3 release) so you would want to reinstall. (downgrade, as it were.) snapshots are twitchy things, if you use them you really need to pay close attention to what is going on. cel -- Christopher Linn celinn at mtu.edu | By no means shall either the CEC System Administrator II | or MTU be held in any way liable Center for Experimental Computation | for any opinions or conjecture I Michigan Technological University | hold to or imply to hold herein.
Re: OpenBSD 4.3 released May 1, 2008
Thank you ! On Wed, 30 Apr 2008 16:00:55 -0600 Theo de Raadt [EMAIL PROTECTED] wrote: - OpenBSD 4.3 RELEASED - May 1, 2008. We are pleased to announce the official release of OpenBSD 4.3. This is our 23nd release on CD-ROM (and 24rd via FTP). We remain proud of OpenBSD's record of more than ten years with only two remote holes in the default install. As in our previous releases, 4.3 provides significant improvements, including new features, in nearly all areas of the system: - New/extended platforms: o OpenBSD/sparc64. SMP support. This should work on all supported systems, with the exception of the Sun Enterprise 1. o OpenBSD/hppa. K-class servers like the K200 and K410 are supported now. o OpenBSD/mvme88k SMP support on MVME188 and MVME188A systems. 88110 processor, and thus MVME197LE/SP/DP boards, are supported now. o OpenBSD/sgi. Contains many new drivers, however the kernel requires an important errata fix. - Improved hardware support, including: o The bge(4) driver now supports BCM5906/BCM5906M 10/100 and BCM5755 10/100/Gigabit Ethernet devices. o The cas(4) driver now supports Cassini+ 10/100/Gigabit Ethernet devices. o The em(4) driver now supports ICH9 10/100 and 10/100/Gigabit Ethernet devices. o The gem(4) driver now supports the onboard 1000base-SX interface on the Sun Fire V880 server. o The ixgb(4) driver now supports the Sun 10Gb PCI-X Ethernet devices. o The msk(4) driver now supports Yukon FE+ 10/100 and Yukon Supreme 10/100/Gigabit Ethernet devices. o The nfe(4) driver now supports MCP73, MCP77 and MCP79 10/100/Gigabit Ethernet devices. o The ral(4) driver now supports RT2800 based wireless network devices. o The cmpci(4) driver now supports CMI8768 based audio adapters. o The it(4) driver now supports ITE IT8705F/8712F/8716F/8718F/8726F and SiS SiS950 ICs. Watchdog timer functionality added. o The mfi(4) driver now supports Dell CERC6/PERC6 and LSI SAS1078 RAID controllers. o The viapm(4) driver now supports the VIA VT8237S south bridges SMBus controller. o Support for hotplugging ExpressCard devices has been added. o New amdpcib(4) driver for the AMD-8111 series LPC bridge and timecounter on amd64. o New pctr(4) driver for the CPU performance counters on amd64. o New bwi(4) driver for the Broadcom AirForce IEEE 802.11b/g wireless network device. o New envy(4) driver for the VIA Envy24 audio device. o New et(4) driver for the Agere/LSI ET1310 10/100/Gigabit Ethernet device. o New etphy(4) driver for the Agere/LSI ET1011 TruePHY Gigabit Ethernet PHY. o New amdpcib(4) driver for the AMD-8111 series LPC bridge and timecounter on i386. o New glxpcib(4) driver for the AMD CS5536 PCI-ISA bridge with timecounter, watchdog timer, and GPIO on i386. o New iwn(4) driver for the Intel Wireless WiFi Link 4965AGN IEEE 802.11a/b/g/Draft-N wireless network device. o New msts(4) line discipline to interface Meinberg Standard Time String devices and to provide a timedelta sensor. o New gbe(4) driver for the SGI Graphics Back End (GBE) Frame Buffer on sgi. o New mkbc(4) driver for the Moosehead PS/2 Controller on sgi. o New power(4) driver for the power button on sgi. o New ecadc(4) driver for the Environmental Monitoring Subsystem temperature sensor on sparc64. o New tda(4) driver for the fan controller on the Sun Blade 1000/2000, making these machines much less noisy. o New spdmem(4) driver retrieves information about memory modules. o New thmc(4) driver for the TI THMC50, Analog ADM1022/1028 temperature sensor. o New uchcom(4) driver for the WinChipHead CH341/340 based USB serial adapter. o New umbg(4) driver for the Meinberg Funkuhren USB5131 radio clock to provide a timedelta sensor. o New upgt(4) driver for the Conexant/Intersil PrismGT SoftMAC USB IEEE 802.11b/g wireless network device. o New wbng(4) driver for the Winbond W83793G temperature, voltage, and fan sensor. o New wbsio(4) driver for the Winbond LPC Super I/O ICs. o New adl(4) driver for the Andigilog aSC7621 temperature, voltage, and fan sensor. o The siop(4) driver now supports the (non-PCI) NCR 53c720/770 in big-endian mode. o New lmn(4) driver for the National Semiconductor LM93 sensor. - New tools: o snmpd(8), implementing the Simple Network Management Protocol. o The snmpctl(8) program controls the SNMP daemon. o The pcidump(8) utility displays the device address, vendor, and product name of PCI devices. o ldattach(8) is used to attach a line discipline to a serial line to allow for in-kernel processing of the received and/or sent data. - New functionality:
Re: Poor OpenBGPD performances on soekris net5501 ?
You might want to post your dmesg (e.g. /var/run/dmesg.boot) OpenBSD 4.3, released today, has many enhancements directly applicable to the Net5501. We have 4.3 running on a rackmount model from KD85, and subjectively it feels much faster than my personal Net5501, not yet upgraded. Kevin