Re: My thoughts on OpenBSD - is advocacy working ?
WHERE ARE THE DIFFS? On Tue, Sep 06, 2011 at 11:34:04AM -0400, Daniel Villarreal wrote: Thanks, that's very interesting. Melkus Sportwagen GmbH is offering an RS 2000 for only 109.900 EUR. The RS 1000 had a 2-stroke engine. I bet that gets some attention. I was just studying production-line methods of Daimler AG's Mercedes-Benz SLS Gullwing and Automobili Lamborghini Holding Spa's MurciC)lago. Whereas an Italian worker unceremoniously tossed the wiring harness into the motorcar, the Germans moved the wiring harness on a tray to the motorcar and gently placed it into the car. While both motorcars were basically crafted and, no doubt there is great accountability with such a small workforce, the Germans used teams of people and the one person putting the motor together personally puts his name on the motor with a metal tag. I found the German innovation very impressive, for example, just to name a few... 1. The use of carbon-fiber for transmitting power from the motor to the axle(s). 2. The use of special production equipment to tighten many critical motor bolts all at once. Daniel On Tue, Sep 6, 2011 at 6:49 AM, Philipp Westphal ph.westp...@arcor.dewrote: Well exotic? Melkus RS 2000 (http://www.melkus-sportwagen.de) Regards Philipp Seeing and hearing that Lamborghini was a pleasant surprise. I'd also be interested in checking out one of the Tesla motor cars... Daniel, what you think is a nice exotic sports car ? ...
Re: Most secure Operating-System?
Windows NT 3.51 without a network stack. On Sep 5, 2011, at 8:55, Alec Taylor alec.tayl...@gmail.com wrote: Good evening, What's the most secure operating system? /me is thinking OpenBSD Features required: TCP/IP Suite with IPv4 and IPv6 (yeah, I know, big security loss by incorporating Internet access!) GUI Web-server (with HTTPS capabilities) LDAP+-Kerberos server for User auth CAS or similar for SSO Radius or (preferably) Diameter support Java support WINE compatible Multithreaded Multi-processor capable Wide architecture support (x86, x64, mainframes) If my project proposal is successful, I will be implementing this system to replace a Windows environment at one of the largest banks in the country. Thanks for all suggestions+advice, Alec Taylor
Re: Laptop hard drive and emergency unload
Lies On Sep 4, 2011, at 0:39, David Vasek va...@fido.cz wrote: No, Marco, it is not true. There is a difference between unloading the heads in a controlled way and by an emergency retract. Doing emergency retract repeatedly is not good, really. Regards, David On Sat, 3 Sep 2011, Marco Peereboom wrote: Removing power from a running drive won't do anything to it. Just use OpenBSD and stop looking at worthless diagnostics tools. On Sep 3, 2011, at 15:41, Steve scha...@aei.ca wrote: Hi all, I've got a strange situation with OpenBSD 4.9 on a new laptop, an Acer Aspire 1430 with an Hitachi 500 GB SATA disk, model HTS545050B9A300. When shutting down, OpenBSD does not spin down the disk, resulting in an emergency unload according to Smart terminology. Until I can resolve this issue, I've uninstalled OpenBSD from it, since smartctl reports in Slackware that there have been 17 Power-off Retract events so far, which could damage the disk in the long run. However I would really love to run OpenBSD on my laptop for the simple reason that I love it so much more than Linux. Can anyone suggest what I could do to stop this from happening? I found a discussion on a FreeBSD mailing list identifying and trying to resolve the exact same thing through kernel recompilations: http://freebsd.1045724.n5.nabble.com/Re-Spin-down-HDD-after-disk-sync-or-befo re-power-off-td4043068.html However, neither using FreeBSD nor patching the OpenBSD kernel would be a preferred choice for me. I'm sure there must be a simpler solution, maybe a sysctl setting I'm over-looking...? I've tried both IDE and AHCI modes in the BIOS with the same results. Thanks, Steve Schaller
Re: Laptop hard drive and emergency unload
Removing power from a running drive won't do anything to it. Just use OpenBSD and stop looking at worthless diagnostics tools. On Sep 3, 2011, at 15:41, Steve scha...@aei.ca wrote: Hi all, I've got a strange situation with OpenBSD 4.9 on a new laptop, an Acer Aspire 1430 with an Hitachi 500 GB SATA disk, model HTS545050B9A300. When shutting down, OpenBSD does not spin down the disk, resulting in an emergency unload according to Smart terminology. Until I can resolve this issue, I've uninstalled OpenBSD from it, since smartctl reports in Slackware that there have been 17 Power-off Retract events so far, which could damage the disk in the long run. However I would really love to run OpenBSD on my laptop for the simple reason that I love it so much more than Linux. Can anyone suggest what I could do to stop this from happening? I found a discussion on a FreeBSD mailing list identifying and trying to resolve the exact same thing through kernel recompilations: http://freebsd.1045724.n5.nabble.com/Re-Spin-down-HDD-after-disk-sync-or-befo re-power-off-td4043068.html However, neither using FreeBSD nor patching the OpenBSD kernel would be a preferred choice for me. I'm sure there must be a simpler solution, maybe a sysctl setting I'm over-looking...? I've tried both IDE and AHCI modes in the BIOS with the same results. Thanks, Steve Schaller
Re: My thoughts on OpenBSD - is advocacy working ?
I don't see diffs in this thread. On Thu, Sep 01, 2011 at 06:03:00PM +0200, Steffen Daode Nurpmeso wrote: @ Daniel Villarreal yclwebmas...@gmail.com wrote (2011-09-01 17:21+0200): Seeing and hearing that Lamborghini was a pleasant surprise. Lambo is Audi now. I.e. Volkswagen - one generation. OK, two. I'd also be interested in checking out one of the Tesla motor cars. And Tesla is actually a modified Lotus Elise with a fat battery which is worth 20 KM. Isn't it? The nice thing about the Lotus is that it's only 50% of the weight of a Lambo. 'Think even the mentioned Alfa is maybe more lightweight than that. The nice thing about a Caterham is that it's even more lightweight. And i know a dapple-gray mare which is more hot-blooded than all of the mentioned! Trust me. Be thankful that you're not a stallion. --Steffen Ciao, sdaoden(*)(gmail.com) ASCII ribbon campaign ( ) More nuclear fission plants against HTML e-mailXcan serve more coloured and proprietary attachments / \ and sounding animations
Re: Building xxxterm and chromium
That sounds more like crappy DNS or filtered Internet. I can't speak for chromium but webkit likes = 256 files = 16384 stack. Adsuck can go a long way making the surfing experience better too. BTW you can't update things willy nilly, you have to do pretty much all of it at once. On Tue, Aug 30, 2011 at 11:37:18PM -0500, Bryan wrote: I am using the latest build of OpenBSD/amd64 (dated Aug 30). I have been using Chrome recently, as it appeared to be a little more stable (the 12.x was anyway). The only annoying issue is that often, I will try to surf to a page, and the browser just sits there, and spins and spins and spins. The site isn't down, it just acts like it doesn't know what to do 'sending request' is all I get, if that. Tonight, I built 13.0.782.215, but as pkg_tools is trying to create the package, I receive the following error: Error: Libraries in packing-lists in the ports tree and libraries from installed packages don't match. And it appeared that 'nss' and 'nspr' were not checked to see if they are updated. So I built them manually. No problem. Now, when I start chrome, my homepage comes up, but I can't do anything else. No other sites will load, not yahoo.com, fark.com, gmail, etc. These sites are not down, and I can't tell why chrome just refuses to function. Sometimes, I can fix it by hitting refresh a few times on the current page. building xxxterm, first gnutls received the above error, looking for an updated 'hogweed' and 'nettle', I did a bit of hunting, and found libnettle, and built it. Then I built gnutls, and then xxxterm. I got them built, but shouldn't the build look for these issues, and 'update' to the later version? My mk.conf isn't pulling packages, and I'm using a -current from less than two hours ago... If there is any other info I can provide, please ask. my current ulimit values, and dmesg are below. Bryan P.S. Wouldn't you know, after I installed chrome, and rebooted, the above issue has gone away... for now... well, it's better than Firefox... ulimit -a # ulimit -a time(cpu-seconds)unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 8388608 stack(kbytes)8192 lockedmem(kbytes)2700382 memory(kbytes) 8089788 nofiles(descriptors) 128 processes1310 root@laptop-openbsd /usr/ports/www/xxxterm # exit brakeb@laptop-openbsd ~ $ ulimit -a time(cpu-seconds)unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 2097152 stack(kbytes)4096 lockedmem(kbytes)2700382 memory(kbytes) 8089788 nofiles(descriptors) 256 processes256 dmesg: OpenBSD 5.0-current (GENERIC.MP) #78: Tue Aug 30 22:00:22 CDT 2011 root@laptop-openbsd:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8538869760 (8143MB) avail mem = 8297443328 (7913MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf6530 (57 entries) bios0: vendor Dell Inc. version A24 date 08/19/2010 bios0: Dell Inc. Latitude E6500 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG SLIC SSDT acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZ AL(S3) RP01(S4) RP02(S4) RP03(S4) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz, 2660.36 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS, HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu0: 3MB 64b/line 8-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz, 2660.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS, HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu1: 3MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus 13 (RP03) acpiprt5 at acpi0: bus 14 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 107 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit
Re: Building xxxterm and chromium
On Wed, Aug 31, 2011 at 08:32:23AM -0500, Bryan wrote: On Wed, Aug 31, 2011 at 06:23, Marco Peereboom sl...@peereboom.us wrote: That sounds more like crappy DNS or filtered Internet. I can't speak for chromium but webkit likes = 256 files = 16384 stack. Adsuck can go a long way making the surfing experience better too. BTW you can't update things willy nilly, you have to do pretty much all of it at once. My Internet is ATT U-verse, so you may be right about the crappy DNS. I will try changing it to OpenDNS or Google's DNS and see if that helps... I only updated nss and nspr because the build process for chrome didn't. Shouldn't the build process have checked for the newer version and built it? I haven't tried xxxterm. I really tried to build xxxterm because I couldn't get chrome to work, and was wanting to send an e-mail to the list. If it's better than firefox and chrome, and has fine controls of cookies/javascript natively or through plugins, I'll give it a serious try... No plugins but it offers fine grained JS and cookie control. Here is the man page: https://opensource.conformal.com/cgi-bin/man-cgi?xxxterm I usually do an update on a regular basis (2-3 times a week). pkg_add -vvui -F update -F updatedepends and that does whatever updates I regularly use ( I try to shy away from building things like LibreOffice and java) But for things like qemu, and chrome, I usually use the ones in ports... I pull src, xenocara, and ports at the same time. Did a build to update to 30 August, then ran 'pkg_add -u', then went and built Chrome, since the 12.x didn't get updated from the build. That was the only reason I got the error. Should I have uninstalled the 12.x chrome, then ran 'make install', vice 'make update'?
Re: Building xxxterm and chromium
On Wed, Aug 31, 2011 at 06:32:20PM +0200, frantisek holop wrote: hmm, on Wed, Aug 31, 2011 at 08:32:23AM -0500, Bryan said that On Wed, Aug 31, 2011 at 06:23, Marco Peereboom sl...@peereboom.us wrote: That sounds more like crappy DNS or filtered Internet. I can't speak for chromium but webkit likes = 256 files = 16384 stack. Adsuck can go a long way making the surfing experience better too. BTW you can't update things willy nilly, you have to do pretty much all of it at once. My Internet is ATT U-verse, so you may be right about the crappy DNS. I will try changing it to OpenDNS or Google's DNS and see if that helps... give pdnsd a try. one realises how slow dns can be without a nice cache. adsuck! -f -- history repeats itself because nobody listens.
Re: CDDL vs GPL and maybe some implications for BSD?
On Tue, Aug 23, 2011 at 06:17:53PM +0200, Tomas Bodzar wrote: Hi all, as some of you maybe know there's new player on OS market called http://smartos.org . What's starting to be interesting is their port of KVM to Solaris code base which is used as a kernel module. Bryan Cantrill didn't talk much about licenses in his paper http://www.linux-kvm.org/wiki/images/7/71/2011-forum-porting-to-smartos.pdf No matter how much interesting it sounds, the question on licensing was addressed vaguely (if at all) during the talk. In a private chat later, Bryan mentioned there's no violation at all, but here you can find a little more discussion https://lwn.net/Articles/455008/ In NetBSD is eg. dtrace/zfs made as module. The question now is if those ports are CDDL, GPL or BSD licensed. Probably there was not similar case at court yet. As I know CDDL parts are (for example as modules) in FreeBSD and NetBSD and there were couple of threads on misc@ about porting zfs/dtrace to OpenBSD as well. OpenBSD is really clear about its policy, but do you think that it's really possible to port stuff this way and made it available as module without need for change of license or worrying about shark suits? Sure you can make a port. You can have all kinds of unfree things in packages. So go for it. Thx PS: No flame at all. I just think that this situation can be interesting regarding future because of mixing licenses in some of systems which are not so strict about license policy Only for the base OS. Packages can have all kinds of crazy licenses.
Re: hibernation with APM
Oh I am sorry I missed that. Hibernation is being worked on. There was a measure of some success during the last hackathon. Any release now ;-) On Sun, Aug 07, 2011 at 08:29:49AM +0200, David Vasek wrote: Hi Marco. Thanks, but I'm not asking about suspend. apmd -z starts suspend, at least with my Thinkpad and Compaq, both with Phoenix APM BIOSes. Hibernation is sometimes called save to disk suspend, while suspend is then called save to RAM suspend. Regards, David On Sat, 6 Aug 2011, Marco Peereboom wrote: run apmd at startup then type apm -z to initiate it. Works like a charm on most laptops of quality. On Sun, Aug 07, 2011 at 12:54:22AM +0200, David Vasek wrote: Hello all, does anybody please know if there is a way to initiate hibernation on APM equipped laptops that support it *from software*? Thanks for answers. Regards, David
Re: hibernation with APM
run apmd at startup then type apm -z to initiate it. Works like a charm on most laptops of quality. On Sun, Aug 07, 2011 at 12:54:22AM +0200, David Vasek wrote: Hello all, does anybody please know if there is a way to initiate hibernation on APM equipped laptops that support it *from software*? Thanks for answers. Regards, David
Re: ksh - arrow keys in vi mode?
I'll pay cash money for this! (emacs mode works but vi does not). On Thu, Jul 21, 2011 at 12:47:40PM +0200, Dmitrij D. Czarkoff wrote: Hello! I tried both documentation and google, and I could only figure out how to enable arrow keys in emacs mode of ksh. Is there a way to enable them in vi mode? Same goes for HOME and END buttons. P.S.: I know it is rather a separate question, but is there a way to start with command mode as it is in vi? Man page says just You start out in insert mode without any tips on whether this configuration is default or fixed. -- Dmitrij D. Czarkoff
Re: ksh - arrow keys in vi mode?
doesn't work at all it seems On Thu, Jul 21, 2011 at 10:01:12PM +0400, Alexander Polakov wrote: * Dmitrij D. Czarkoff czark...@gmail.com [110721 14:49]: Hello! I tried both documentation and google, and I could only figure out how to enable arrow keys in emacs mode of ksh. Is there a way to enable them in vi mode? Same goes for HOME and END buttons. Try the patch below. You probably wonder why cursor movement is done in such a strange way, reimplementing both domove() and vi_cmd(), but I couldn't find a better way to go to end of line + one. diff --git a/vi.c b/vi.c index 0bac6be..c1a7b7d 100644 --- a/vi.c +++ b/vi.c @@ -247,6 +247,48 @@ x_vi(char *buf, size_t len) return es-linelen; } +static void keypad(int ch) { + int cur = 0; + char cmd; + + switch (ch) { + case 'D': /* left */ + cur--; + break; + case 'C': /* right */ + cur++; + break; + case 'A': /* up */ + cmd = 'k'; + vi_cmd(1, cmd); + break; + case 'B': /* down */ + cmd = 'j'; + vi_cmd(1, cmd); + break; + case 'H': /* home */ + es-cursor = 0; + break; + case 'F': /* end */ + es-cursor = es-linelen; + break; + default: + vi_error(); + return; + } + if ((cur += es-cursor) = 0) { + if (cur es-linelen cur != 0) { + cur--; + vi_error(); + } + es-cursor = cur; + } else + vi_error(); + + refresh(0); + return; +} + static int vi_hook(int ch) { @@ -261,6 +303,15 @@ vi_hook(int ch) state = VLIT; ch = '^'; } + + if (ch == '\033') { +if (x_getc() == '[') +keypad(x_getc()); +else /* unknown sequence */ +vi_error(); +return 0; + } + switch (vi_insert(ch)) { case -1: vi_error(); -- Alexander Polakov | plhk.ru
Re: OpenBSD5.0-beta - 19-Jul-2011 - Dell R510 Perc H700
I committed a workaround for this. Try a kernel from cvs. I'll be working on a permanent fix. On Wed, Jul 20, 2011 at 12:20:07PM +0200, Hrvoje Popovski wrote: hello everyone, i was able to install 4.9-current on dell r510 with Perc H700 and everything went well. today i tried to install openbsd5.0-beta and boot process stoped at scsibus3 at softradi0: 256 targets. screenshot http://imageshack.us/f/856/86075191.jpg/ i can normaly boot 4.9 and everyhthing seems ok ... if there is something i can do, just tell me ... # dmesg OpenBSD 4.9-current (GENERIC.MP) #110: Sat Jun 18 19:28:05 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 12870717440 (12274MB) avail mem = 12513972224 (11934MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xcf49c000 (78 entries) bios0: vendor Dell Inc. version 1.6.3 date 02/01/2011 bios0: Dell Inc. PowerEdge R510 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC SPCR HPET DM__ MCFG WD__ SLIC ERST HEST BERT EINJ SRAT TCPA SSDT acpi0: wakeup devices PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 32 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2533.77 MHz cpu0: FPU,VME,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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 34 (application processor) cpu1: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2533.43 MHz cpu1: FPU,VME,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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 50 (application processor) cpu2: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2533.43 MHz cpu2: FPU,VME,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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 52 (application processor) cpu3: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 2533.43 MHz cpu3: FPU,VME,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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 1 pa 0xfec8, version 20, 24 pins ioapic1: misconfigured as apic 0, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEX1) acpiprt2 at acpi0: bus 2 (PEX3) acpiprt3 at acpi0: bus 3 (PEX7) acpiprt4 at acpi0: bus 4 (PEX9) acpiprt5 at acpi0: bus 5 (PEXA) acpiprt6 at acpi0: bus -1 (SBEX) acpiprt7 at acpi0: bus 6 (COMP) acpicpu0 at acpi0: C3, C1 acpicpu1 at acpi0: C3, C1 acpicpu2 at acpi0: C3, C1 acpicpu3 at acpi0: C3, C1 ipmi at mainbus0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 5500 Host rev 0x13 ppb0 at pci0 dev 1 function 0 Intel X58 PCIE rev 0x13 pci1 at ppb0 bus 1 bnx0 at pci1 dev 0 function 0 Broadcom BCM5716 rev 0x20: apic 1 int 4 bnx1 at pci1 dev 0 function 1 Broadcom BCM5716 rev 0x20: apic 1 int 16 ppb1 at pci0 dev 3 function 0 Intel X58 PCIE rev 0x13: msi pci2 at ppb1 bus 2 mfi0 at pci2 dev 0 function 0 Symbios Logic MegaRAID SAS2108 GEN2 rev 0x05: apic 1 int 0, Dell PERC H700 Integrated mfi0: logical drives 2, version 12.10.1-0001, 512MB RAM scsibus0 at mfi0: 2 targets sd0 at scsibus0 targ 0 lun 0: DELL, PERC H700, 2.10 SCSI3 0/direct fixed naa.6842b2b071e4e00014d091310882dcbf sd0: 139392MB, 512 bytes/sec, 285474816 sec total sd1 at scsibus0 targ 1 lun 0: DELL, PERC H700, 2.10 SCSI3 0/direct fixed naa.6842b2b071e4e00014e80f140913fe21 sd1: 19072000MB, 512 bytes/sec, 39059456000 sec total ppb2 at pci0 dev 7 function 0 Intel X58 PCIE rev 0x13: msi pci3 at ppb2 bus 3 ppb3 at pci0 dev 9 function 0 Intel X58 PCIE rev 0x13: msi pci4 at ppb3 bus 4 ix0 at pci4 dev 0 function 0 Intel 10GbE SFP+ (82599) rev 0x01: msi, address 00:1b:21:9e:6e:a0 ix1 at pci4 dev 0 function 1 Intel 10GbE SFP+ (82599) rev 0x01: msi, address 00:1b:21:9e:6e:a1 ppb4 at pci0 dev 10 function 0 Intel X58 PCIE rev 0x13: msi pci5 at ppb4 bus 5 Intel X58 Misc rev 0x13 at pci0 dev 20 function 0 not configured Intel X58 GPIO rev 0x13 at pci0 dev 20 function 1 not configured Intel X58 RAS rev 0x13 at pci0 dev 20 function 2 not configured uhci0 at pci0 dev 26 function 0 Intel 82801JI USB rev 0x00:
Re: How does OpenBSD compare to Ubuntu Server?
shoot it again son. On Tue, Jul 12, 2011 at 03:59:31PM -0700, Zeb Packard wrote: Help, i shot it three times and I'm on my fourth monitor, 3 bullets left. What next? On Tue, Jul 12, 2011 at 2:21 PM, Eric Furman ericfur...@fastmail.net wrote: Please don't. This whole thread has gotten really stupid. Unless you have something funny to add, let's kill it now. On Tue, 12 Jul 2011 14:11 -0700, Mehma Sarja mehmasa...@gmail.com wrote: On 7/11/11 10:48 PM, Andres Perera wrote: On Mon, Jul 11, 2011 at 11:43 PM, patrick keshishianpkesh...@gmail.com wrote: you failed at making any point. i'll rebrand it into convenient twitter format: debian splits packages to the point where a single service is a associated to a single top level package, meaning that there's never a reason for unused installed services openbsd limitations do not apply 1:1 to other systems unless they happen to be openbsd. in the previous sentence, openbsd can be replaced by any word OK, I got the first paragraph but not the second. Could you please rebrand it so people like me can unnerstand? I just got off the boat. To be clear, which is my thing today, here is how I read the openbsd limitations... sentence: OpenBSD limitations apply only to OpenBSD. As my 4-year old would say, Hello... Your last sentence is equally baffling. I understand you may be mad at some responders, but the lack of clarity makes us haze over your argument and take the topic off on a tangent that you do not like. And that makes you mad, it is a Type A thing - we understand. Simple, clear sentences sting the most. Mehma
Re: Recompile OpenBSD without built-in Apache 1.3
Dude don't hate on my amiga! On Tue, Jun 28, 2011 at 09:42:27PM -0400, STeve Andre' wrote: On 06/28/11 21:31, Tito Mari Francis Escaqo wrote: Good day! Is it possible to recompile the whole system while excluding the built-in Apache 1.3 web server? I was hoping to save a few more megabytes off the base installation of the system. In case it's not advisable, can you please discuss the bad side effects of doing so? Thanks in advance. Are you really so starved for disk that shaving a few megabytes is useful? If that is really the case, you need to get a larger disk. I don't know where you are, but I don't think disks cost that much, anywhere any more. The best reason why it's not advisable is that you get into the habit of shaving things off the system, losing track of the larger picture, namely how to build a system correctly. If you never intend to play games, you could not install games.tgz. If you are planning on never upgrading the system, you could leave off comp.tgz. But really, this is silly. --STeve Andre'
Re: Can command-line options be specified in any place?
tl;dr linux still sucks On Wed, Jun 22, 2011 at 01:49:22PM +0200, Tobias Ulmer wrote: tl;dr: In my opinion, these anti Linux rants do harm to OpenBSD by condemning everything Linux does instead of allowing us to pick out just the good parts. On Wed, Jun 22, 2011 at 11:22:02AM +0200, Benny Lofgren wrote: On 2011-06-22 09.24, Tobias Ulmer wrote: On Wed, Jun 22, 2011 at 03:48:59AM +0200, Benny Lofgren wrote: On 2011-06-22 03.03, vadi...@gmail.com wrote: Please continue to use Linux. That's ugly, useless and dangerous. Oops, looks like that was a holy war type of question. Sorry I did not want to start that. If you want Linux, use Linux. It's not that I want specifically Linux. I've just decided to look for a system that cat satisfy me from the usability point of view. I do not care if that will be Linux or *BSD or Solaris or whatever else. The main idea was that the work with the system should be a pleasure, not a pain :) What you should do is relearn the proper way. :-) [the rest of my rant deleted] Oh please, Linus wrote the kernel, not Ubuntu. If you hate coreutils or getopt, blame the respective groups that developed them and not someone writing a kernel, a long time ago. No, I don't hate coreutils or getopt, getopt is good shit. What I hate is the inconsistensies, the fact that Linux isn't a homogenous piece of work but so obviously a product of a thousand chefs, few with similar taste. And my criticism extends to the kernel too, or rather begins with it, so it definitley applies to Linus himself and the kernel guys. This rose tinted OpenBSD is the greatest shit really gets on my nerves. It's all fun to bash others, but from time to time you have to look at their stuff and figure out which parts they did right and you could improve. Granted, my rant was, on purpose, negatively Linux-biased, but not in one single place - also on purpose - would you have found the word OpenBSD or any slant towards it, which makes me suspect you couldn't stand what I wrote long enough to actually read all of it. :-) Right. And I felt in the mood to take the opposite position for the fun of it. So I think you might have missed my point. There is a true unix heritage that needs to be cared for, THAT MAKES LIFE SIMPLER if you understand and take advantage of it. OpenBSD specifically and old BSD in general is not true to Unix. From ksh to billions of options to find and other tools to the entire networking framework (bolted on with additional syscalls, pseudo devices etc), nothing of that is Unix (or even -like). Here is something to read: http://harmful.cat-v.org/cat-v/ BSD went through a similar phase as GNU: adding every feature known to man to the original Unix commands. Have a look at lpr(1) for GNUism in action. After some time we got a little wiser and stopped adding flags for everything that was convenient. Linux, especially with the constant influx of new developers and commercial interests, hasn't yet cooled down enough to stop messing around with their base system. However if I got my history right, the improvements of BSD are why people bought a Unix license and then installed BSD. It was better, it had more features, networking, usable error messages, better language support etc. etc. Linus missed or chose to ignore that part entirely. That's fine, as Linux is not said to be a unix operating system, but a unix like one. The problem is, this likeness is not like enough, so it really doesn't help the community overall but rather hinders it. This is something the Linux and GNU folks could have addressed in the early days but either chose to ignore or were ignorant about. For that they absolutely deserve some blame. Are you ready to test my patch where I'm going to remove -exec from find(1) so you can have your real Unix back? And -r from grep? And... Bullshit, you use BSD because just like Linux, it added lots of handy features while keeping it simple. Linux may overdo it from your and my point of view, but so does OpenBSD from the POV of some old unix guys. Now, the OP:s questions are certainly addressable by choosing a shell he is used to, and perhaps by a set of aliases and/or scripts to tune the user experience into something familiar for him. The getopt(3) function is inconsistent amongst operating systems and could use some polish in my opinion. Maybe there are technical reasons why this feature can't be implemented, but this discussion has certainly extinguished my curiosity about it. Backwards threads like this one prevent people from trying to improve things, which is the real damage done. Once they get discussed in this manner on misc@, it's difficult to get even very sensible patches committed. Some developers may have formed a strong anti stance and it takes years to convince them.
Re: Absurdly high temperature reading - system shutdown
The real issue is in acpiec. Several attempts have been made at fixing this but none has been working reliably enough :-( On Thu, Jun 16, 2011 at 08:33:38PM +0200, Michal Mazurek wrote: After moving my old laptop around I got home, booted it and got a very distressing message: messages.2.gz:Jun 14 22:40:09 hopek /bsd: acpitz2: Critical temperature 4938C (52112K), shutting down Perhaps some dust moved around, or a cable disconnected. Unfortunately, the system shut down before it booted. I booted bsd.rd, read some manpages and booted with -c 'disable acpitz' - everything worked fine. I attach a diff to only shutdown if the temperature is below 2000C. If it's above then it's too late to shut down anyway :) BTW, for no apparent reason my laptop started working fine again. Index: acpitz.c === RCS file: /cvs/src/sys/dev/acpi/acpitz.c,v retrieving revision 1.43 diff -u -r1.43 acpitz.c --- acpitz.c 15 Jun 2011 00:15:54 - 1.43 +++ acpitz.c 16 Jun 2011 15:09:14 - @@ -326,11 +326,17 @@ } /* critical trip points */ if (sc-sc_crt != -1 sc-sc_crt = sc-sc_tmp) { - /* do critical shutdown */ - printf(%s: critical temperature exceeded %dC (%dK), shutting - down\n, - DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp); - psignal(initproc, SIGUSR2); + if (KTOC(sc-sc_tmp) 2000) { + printf(%s: absurdly high temperature %dC (%dK), + doing nothing\n, + DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp); + } else { + /* do critical shutdown */ + printf(%s: critical temperature exceeded %dC (%dK), + shutting down\n, + DEVNAME(sc), KTOC(sc-sc_tmp), sc-sc_tmp); + psignal(initproc, SIGUSR2); + } } if (sc-sc_hot != -1 sc-sc_hot = sc-sc_tmp) { printf(%s: _HOT temperature\n, DEVNAME(sc)); -- Michal Mazurek
Re: OffTopic: ctags and vi (Don't read if you dislike offtopic)
Ctrl-t On Jun 7, 2011, at 18:41, Friedrich Locke friedrich.lo...@gmail.com wrote: Dear list users, using vi to go from a funciont call to the function definition is just hit ctrl ]. What should i press to get back to the point i left with ctrl ] ? Thanks in advance. Fried
Re: OT: Re: Seems OpenBSD isn't absolutely alone in it's quest, atleast on embedded systems.
On Jun 7, 2011, at 19:46, Nicholas Marriott nicholas.marri...@gmail.com wrote: You are either trolling or just very mixed up, the important thing is not how quickly machines can parse it or how quickly you can write a lexer but how quickly humans can parse it and what they can do with it. C is not the best here but it is way ahead of any kind of useless functional language. C is superior; get used to it. All languages invented after pretty much suck. CS has been done a long time ago. Most new shit is just that, new shit. Shiny and mostly worthless. What the fuck ever about $language-du-jour. On Tue, Jun 07, 2011 at 12:08:26PM +0200, Thomas de Grivel wrote: Before even thinking of fixing it i'm trying to see if i'm alone in my quest. I like code correctness and feel what's done in OpenBSD is epic given the shitty language all the devs are dealing with. I love this much epic. Now if you want to know what code I'm writing, first I'm writing english because as you can see when a bring s-exp i'm answered asm and brainfuck. Seriously did you even google the thing ? And i never criticized the semantics of the code. Just that it's a 1 month project to build a fudgy C lexer, when parsing s-exp is more powerful and takes 2 days while watching pr0n, and 2 hours without. This is clearly off topic, and don't mean to rewrite an OS but there clearly is a need for cleaner programming languages in this world. I used to love C and i'm still quite proficient at it but when i had a glimpse of Lisp i realized how narrow was my vision of programming. And how much i trusted the languages i used to mean something.
Re: Pewter Puffy
Wine + OpenBSD = bliss 3 On Sat, Jun 04, 2011 at 09:34:25AM +0800, Nick Coleman wrote: Perhaps OT: I came across a pewter puffy by Royal Selangor at my sister's birthday dinner party last night. She was given a pewter sea horse wine aerator. The small brochure enclosed in the gift box also showed this pewter puffy: http://www.royalselangor.com/rs2/productdetails.php?ProductSKU=4643RReferer=6|45|0|0 Might make a neat gift for your OpenBSD loved one.
Re: IPv6 - www.openbsd.org
Plenty of people who drink a lot in OpenBSD. They even need an extra 2 As to prove it. On Sat, Jun 04, 2011 at 01:39:03PM -0700, Matthew Dempsky wrote: On Sat, Jun 4, 2011 at 12:47 PM, Zamri Besar zam4e...@gmail.com wrote: Just a question. www.openbsd.org not reachable via IPv6 network? Does www.openbsd.org have any records? No.
Re: Theo's Birthday, have you done anything?
On Sat, May 21, 2011 at 09:30:40AM -0600, Theo de Raadt wrote: I know Theo wants this: http://cgi.ebay.com/Arcteryx-Naos-55-backpack-size-tall-Arcteryx-/300559016308?pt=LH_DefaultDomain_0hash=item45fab6a174 I am bidding on it so contact me off list if you want to contribute. Geez, this is crazy. But thanks guys. Remember hiking == code. That is not true at all. Hiking time is not coding time. With the hikes I do, it is serious time away from code.. You want it, people wanted to contribute. They came through so your bag is on the way. If you don't hike you'll blow your lid and our toy goes away; can't have that ;-)
Re: Theo's Birthday, have you done anything?
I know Theo wants this: http://cgi.ebay.com/Arcteryx-Naos-55-backpack-size-tall-Arcteryx-/300559016308?pt=LH_DefaultDomain_0hash=item45fab6a174 I am bidding on it so contact me off list if you want to contribute. Remember hiking == code.
Re: sparc64 v120 needed in the Netherlands
On Thu, May 19, 2011 at 05:02:53AM +0200, Ariane van der Steldt wrote: On Thu, May 19, 2011 at 12:48:48AM +0200, Ariane van der Steldt wrote: For development on OpenBSD, I need a sun v120 machine in Eindhoven, the Netherlands. It turns out, I don't have a 64-bit big-endian machine (and suns are just awesome). Request has been taken care of. :) The project paid for this item because it is super urgent. But cash donations are welcome to help pay for it! Thanks! /marco
Re: xxxterm and firefox35 May 11 snapshot
read tedu's post On Sat, May 14, 2011 at 07:51:42PM +0200, Tomas Bodzar wrote: On Sat, May 14, 2011 at 7:43 PM, Nicholas Schmidt oneguyn...@gmail.com wrote: Likewise here on amd64 -current. No problems on any of the sites outlined in this thread After removing ALL packages and installing them again is everything fine. Was not ok after removing only ff packages. Anyway it's quite strange because in fact I don't know what was wrong. Machine was installed as new before 2 weeks or so so that issue is not so old, probably during last 4 days or so. On Sat, May 14, 2011 at 11:18, Otto Moerbeek o...@drijf.net wrote: On Sat, May 14, 2011 at 02:27:26PM +0200, Tomas Bodzar wrote: gmail interface in xxxterm causes browser to B crash. If I'm quick enough and switch to basic (html) interface then it's running, but sooner or later some page will bring browser B down. in ff4(or any other ff available in packages) browser crashes immediately when I'm trying to log in gmail and page starts loading.Doesn't matter if it's safe mode, new profile, .mozilla removed or not. chrome is working quite fine, but still there is quite too much crashes resulting in core files, but those are crashes of tabs and not whole broswer so probably that's issue of obsd is not so well supported by devs of chrome or whatever. I'm using snapshots, do updates every week or so, after that sysmerge and pkg_add -ui. Just yesterday tried building current, but still same results with browsers. Can test more today during night or newer snapshot if there is one. Only msttcorefonts installed from ports. Cannot reproduce. Gmail is OK here in both in ff4 and xxxterm on soekris and on a amd64 box in i386 mode. This is with default (non-staff) ulimits. The only thing I can do now is ask you to think and check whatever could make your system different from a cleanly installed machine. Something should cause these program crashes, but all my efforts did not lead to reprodcution. Only you can possibly discover what's different on your side. B B B B -Otto On Sat, May 14, 2011 at 1:13 PM, Otto Moerbeek o...@drijf.net wrote: On Fri, May 13, 2011 at 03:31:03PM -0500, Chris Bennett wrote: On Fri, May 13, 2011 at 10:08:18PM +0200, Antoine Jacoutot wrote: Update devel/dconf to the very latest revision. I tried that first a few days ago and just now (no update). I just updated FF4 and FF35 and I now get: $ /usr/local/bin/firefox /usr/local/lib/firefox-4.0.1/firefox-bin:/usr/X11R6/lib/libX11.so.12.0: /usr/X11R6/lib/libX11.so.14.0 : WARNING: symbol(_XkeyTable) size mismatch, relink your program $ /usr/local/bin/firefox35 /usr/local/firefox35/firefox35-bin:/usr/X11R6/lib/libX11.so.12.0: /usr/X11R6/lib/libX11.so.14.0 : WARNING: symbol(_XkeyTable) size mismatch, relink your program I will try the newer version in ports. Chris Bennett One more question: are you building ports yourself These messsages are an indicaton your system is not consistent. I recommend installing a snap and get your packages from a mirror as well. That would rule out build problems. Note that recently a new version of webkit was comitted. New packages snaps containing that are noy yet there. But a few developers already spotted problems with it, that are being investigated. ?? ?? ?? ??-Otto -- Nicholas Schmidt oneguyn...@gmail.com P: 661.724.6438
Re: xxxterm and firefox35 May 11 snapshot
Too much conspiracy for the kernel! On Fri, May 13, 2011 at 02:49:40PM -0500, Chris Bennett wrote: one page is www.financialarmageddon.com/ There are some others which I can report after I finally get some bad ones closed out so that xxxterm will stay running. This page fails for both FF4 and xxxterm, not in Konqueror. dmesg OpenBSD 4.9-current (GENERIC) #69: Tue May 3 14:59:18 MDT 2011 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 449 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE real mem = 267821056 (255MB) avail mem = 253292544 (241MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/28/02, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf6d60 ( 58 entries) bios0: vendor Dell Computer Corporation version A17 date 05/28/2002 bios0: Dell Computer Corporation Inspiron 3700 x450GT apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 95% apm0: AC off, battery charge high, estimated 4:15 hours acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbd20/128 (6 entries) pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371 ISA and IDE rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xf400, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Mobility 1 rev 0x64 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 3 function 0 TI PCI1225 CardBus rev 0x01: irq 11 cbb1 at pci0 dev 3 function 1 TI PCI1225 CardBus rev 0x01: irq 11 piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility , channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: IC25T048ATDA05-0 wd0 at pciide0 channel 0 drive 0: IC25T048ATDA05-0 wd0: 16-sector PIO, LBA, 45780MB, 93759120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-4240N, D110 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 11 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: SMI iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC100CL2 maestro0 at pci0 dev 8 function 0 ESS Maestro 2E rev 0x10: irq 5 ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at maestro0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20 pcmcia1 at cardslot1 isa0 at piixpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support xl0 at cardbus1 dev 0 function 0 3Com 3CCFE575CT rev 0x10: irq 11, address 00:01:02:79:15:bf tqphy0 at xl0 phy 0: 78Q2120 10/100 PHY, rev. 11 uhub1 at uhub0 port 1 Genesys Logic USB2.0 Hub rev 2.00/7.02 addr 2 uhub2 at uhub1 port 4 Genesys Logic USB2.0 Hub rev 2.00/7.02 addr 3 uhidev0 at uhub2 port 1 configuration 1 interface 0 Logitech USB Receiver rev 1.10/46.00 addr 4 uhidev0: iclass 3/1 ums0 at uhidev0: 8 buttons, Z dir wsmouse1 at ums0 mux 0 uhidev1 at uhub2 port 1 configuration 1 interface 1 Logitech USB Receiver rev 1.10/46.00 addr 4 uhidev1: iclass 3/0, 16 report ids uhid0 at uhidev1 reportid 16: input=6, output=6, feature=0 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root root on wd0a (1effc3e46946b8f4.a) swap on wd0b dump on wd0b uath0 at uhub2 port 4 Atheros Communications Inc WG111T rev 2.00/0.01 addr 5 uath0 detached uath0 at uhub2 port 4 Atheros Communications Inc WG111T rev 2.00/0.01 addr 5 uath0: MAC/BBP AR5523, RF AR2112, address 00:14:6c:e6:0d:5b Chris Bennett
Re: xxxterm and firefox35 May 11 snapshot
On Fri, May 13, 2011 at 04:24:46PM -0500, Chris Bennett wrote: On Fri, May 13, 2011 at 04:13:29PM -0500, Marco Peereboom wrote: Too much conspiracy for the kernel! People keep telling me that these browsers are working fine, but I just don't see it! :) Aha! this is where I get to say: works for me! OpenBSD 4.9-current (GENERIC.MP) #1: Thu May 12 09:43:25 CDT 2011 r...@e6500.peereboom.us:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8538869760 (8143MB) avail mem = 8297521152 (7913MB)
Re: xxxterm and firefox35 May 11 snapshot
On May 13, 2011, at 17:01, Chris Bennett ch...@bennettconstruction.biz wrote: On Fri, May 13, 2011 at 04:32:33PM -0500, Marco Peereboom wrote: Too much conspiracy for the kernel! People keep telling me that these browsers are working fine, but I just don't see it! :) Aha! this is where I get to say: works for me! OpenBSD 4.9-current (GENERIC.MP) #1: Thu May 12 09:43:25 CDT 2011 r...@e6500.peereboom.us:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8538869760 (8143MB) avail mem = 8297521152 (7913MB) OH, I just called tech-support at 1-800-ope-nbsd. They told me I might have a virus or malware pre-installed. See you believe too much shit! That damn government and all their competent people! So I should delete all my packages and do a fresh install of OpenBSD and call them back if that doesn't solve the problem! # pkg_delete -i .* . # rm -rf *.* This should definitely work!
Re: linux default shell, how annoying
On Fri, Apr 22, 2011 at 01:00:46PM +, Kevin Chadwick wrote: After getting annoyed with debian using dash as /bin/sh. Adding features is one understandable thing affecting portability but surely you can keep it backward compatible. I came across this description and wondered what the lists thoughts would be. http://packages.debian.org/squeeze/mksh; mksh is the only pdksh derivate currently being actively developed. It includes bug fixes and feature improvements, in order to produce a modern, robust shell good for interactive and especially script use. mksh has UTF-8 support (in substring operations and the Emacs editing mode) and, while R39c corresponds to OpenBSD 4.6-current ksh (without GNU bash-like PS1 and fancy character classes), adheres to SUSv4 and is much more robust. All lies. Nothing to see there. Just someone who took some code and pretends it's theirs. These so called changes are mostly build script and other uninteresting updates. ksh works fine; it is maintained etc.
Re: Like OpenBSD? Like to see new stuff happening? You really need to order a CD today :)
When ordering a CD it lets you tack on a donation. Call it 20 CDs and tax life is good. - or - Order 20 CDs, give 19 away. Not very hard... On Thu, Apr 21, 2011 at 02:07:20AM +0200, Benny Lofgren wrote: On 2011-04-19 16.27, Theo de Raadt wrote: Income: The direct income from sales (Computer Shop (primarily) + distributors) - Keeps the electrons flowing - Keeps me from taking that cushy Microsoft job Donations: The OpenBSD Foundation - Funds the big hackathons and some smaller ones - Funds the network links The paypal and european accounts - Funds the remaining small hackathons - Buys strange new pieces of hardware which are not donated I'm sure this has been brought up before, but is there a way to buy licenses without actually getting the CD:s? The reason I ask is that however much I like to have the CD sets in my bookshelf, I don't need ten or twenty of them... :-) But I still would like for my company to pay a fair fee for each system we run OpenBSD on. What complicates things for us is that the concept of donations isn't very practical here in Sweden, as a donation isn't regarded as a tax deductible expense at all, neither for private individuals nor corporations. A pure donation will in practice be nearly twice as expensive as the price tag itself would imply. For us it would be awesome to have the opportunity to order a multi-server CD, where I could specify for example a ten-system license, which would get me one CD set for the price of ten, with a good receipt for a perfectly valid, deductible business expense. It would be an excellent deal in my book. :-) (In the meantime, I'll just order the usual CD set with a T-shirt or a mug or two and hope for a better way to spend more money later on. :-) ) Regards, /Benny -- internetlabbet.se / work: +46 8 551 124 80 / Words must Benny Lvfgren/ mobile: +46 70 718 11 90 / be weighed, / fax:+46 8 551 124 89/not counted. /email: benny -at- internetlabbet.se
Re: Like OpenBSD? Like to see new stuff happening? You really need to order a CD today :)
It isn't a good idea. jdixon tried, got exactly 0 responses. Really the horse is dead. Very very very dead. On Wed, Apr 20, 2011 at 07:54:52PM -0500, Amit Kulkarni wrote: Theo, Please don't take this offensively as it touches a sensitive area. Benny's proposal is good! License the CD's as 10, 50, 100 user license set, exactly like you do for the old CDs which are $500+. This way OpenBSD taps into the commercial market. Commercial users buy the commercial CDs. Last time around somebody asked for packages on DVD. OpenBSD gets pre-orders a month in advance and if so many people want i386/amd64/etc package DVDs, just give it to them! MacOS + Linux + OpenSolaris has done some work on fat binaries, and I am sure with the expertise around here it can be done within some reasonable time. What a kick-ass project that would be! Anyway, wouldn't it be cool to reduce the bandwidth and hard drive usage for mirrors and simplify life for everybody? A survey is free from so many websites. We get spammed all the time, participate in this and that, why not host a survey right now someplace on openbsd.org or one of the devs websites and see how much interest is really there. OpenBSD got to be able to have more income streams. Keep up the good fight! On Wed, Apr 20, 2011 at 7:07 PM, Benny Lofgren bl-li...@lofgren.biz wrote: On 2011-04-19 16.27, Theo de Raadt wrote: Income: The direct income from sales (Computer Shop (primarily) + distributors) - Keeps the electrons flowing - Keeps me from taking that cushy Microsoft job Donations: The OpenBSD Foundation - Funds the big hackathons and some smaller ones - Funds the network links The paypal and european accounts - Funds the remaining small hackathons - Buys strange new pieces of hardware which are not donated I'm sure this has been brought up before, but is there a way to buy licenses without actually getting the CD:s? The reason I ask is that however much I like to have the CD sets in my bookshelf, I don't need ten or twenty of them... :-) But I still would like for my company to pay a fair fee for each system we run OpenBSD on. What complicates things for us is that the concept of donations isn't very practical here in Sweden, as a donation isn't regarded as a tax deductible expense at all, neither for private individuals nor corporations. A pure donation will in practice be nearly twice as expensive as the price tag itself would imply. For us it would be awesome to have the opportunity to order a multi-server CD, where I could specify for example a ten-system license, which would get me one CD set for the price of ten, with a good receipt for a perfectly valid, deductible business expense. It would be an excellent deal in my book. :-) (In the meantime, I'll just order the usual CD set with a T-shirt or a mug or two and hope for a better way to spend more money later on. :-) ) Regards, /Benny -- internetlabbet.se / work: +46 8 551 124 80 / Words must Benny Lvfgren/ mobile: +46 70 718 11 90 / be weighed, / fax:+46 8 551 124 89/not counted. /email: benny -at- internetlabbet.se
Re: certs validation in xxxterm
Not correct. On openbsd use ssl_ca_file = /etc/ssl/cert.pem per the example in the config file. The ~/.xxxterm/certs/ directory is where certs are saved to when prompted by the user. On Sun, Apr 17, 2011 at 08:05:42AM +0200, Tomas Bodzar wrote: On Sun, Apr 17, 2011 at 7:39 AM, Tomas Bodzar tomas.bod...@gmail.com wrote: Hi all, as stated in man page for xxxterm: ssl_ca_file B B B B B B B B If set to a valid PEM file all server B B B B B B B B B B B B B B B B B B B certificates will be validated against B B B B B B B B B B B B B B B B B B B it. B The URL bar will be colored green B B B B B B B B B B B B B B B B B B B when the certificate is trusted and B B B B B B B B B B B B B B B B B B B yellow when untrusted. B B B B B B B B B B B B B B B B B B B If ssl_ca_file is not set then the URL B B B B B B B B B B B B B B B B B B B bar will color all HTTPS connections B B B B B B B B B B B B B B B B B B B red. it looks like it's able to autenticate only against PEM file, but certs are stored as ASCII text in .xxxterm/certs so what's the correct setting for that? yep ssl_ca_file = /home/username/.xxxterm/certs/ is all you need. Just not proper wording in man page.
Re: certs validation in xxxterm
On Sun, Apr 17, 2011 at 11:18:00AM +0200, Tomas Bodzar wrote: On Sun, Apr 17, 2011 at 11:04 AM, Marco Peereboom sl...@peereboom.us wrote: Not correct. On openbsd use ssl_ca_file = /etc/ssl/cert.pem per the example in the config file. ??The ~/.xxxterm/certs/ directory is where certs are saved to when prompted by the user. Then question is why if it's set my way it shows in address bar blue Because you saved it. Not because you point to that directory. color for correct certs and yellow when untrusted because man says that it must be green. But will try correct way if color will be green. It will be if the cert is trusted. On Sun, Apr 17, 2011 at 08:05:42AM +0200, Tomas Bodzar wrote: On Sun, Apr 17, 2011 at 7:39 AM, Tomas Bodzar tomas.bod...@gmail.com wrote: Hi all, as stated in man page for xxxterm: ssl_ca_file B ??B ??B ??B ??B ??B ??B ??B ??If set to a valid PEM file all server B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??certificates will be validated against B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??it. B The URL bar will be colored green B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??when the certificate is trusted and B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??yellow when untrusted. B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??If ssl_ca_file is not set then the URL B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??bar will color all HTTPS connections B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??B ??red. it looks like it's able to autenticate only against PEM file, but certs are stored as ASCII text in .xxxterm/certs so what's the correct setting for that? yep ssl_ca_file = /home/username/.xxxterm/certs/ is all you need. Just not proper wording in man page.
Re: certs validation in xxxterm
On Sun, Apr 17, 2011 at 11:41:33AM +0200, Tomas Bodzar wrote: color for correct certs and yellow when untrusted because man says that it must be green. But will try correct way if color will be green. It will be if the cert is trusted. corrected and now it points to .pem files. Anyway all are yellow now including mail.google.com I thought that gmail has certs in fine state I surfed over there and it showed up green. You might want to get the latest pem from cvs.
Re: Updating 'Release' with packaged Security Fixes
Dear Mailbox, The project does not have enough hands to handle this. We are very much looking forward to your patches to help fix this problem. kthnxbye, Marco's Mailbox On Sun, Apr 10, 2011 at 02:46:14PM +, mailbox wrote: Are there considerations to push the very few changes marked as 'Security Fixes' into the 'Release' branch between releases? So that a 'Release' user could do a pgk_add -u fixed.tgz to get the fixed version of the package. This would benefit users who like to have the 2 or 3 'Security Fixes' covered without the need to apply patches by hand or working with the Patch branch.
Re: install on softraid
There is some garbage in the location where softraid looks for metadata. I got recently inspired to look at this because it looks like the force flag isn't always honored. For now do a couple of dd's from /dev/zero. On Sat, Apr 09, 2011 at 01:57:35PM +0300, irix wrote: Also I try to add wd0d and wd1d with same commad but system return me same error invalid metadata format. Why this error is happening ?
Re: Increasing inode density during install (Was horribly slow fsck_ffs pass1 performance)
You really don't want to fart with these values. Performance will drop off the cliff. On Mon, Apr 04, 2011 at 09:11:55PM +, Kevin Chadwick wrote: On Thu, 31 Mar 2011 12:46:06 +0200 Otto Moerbeek wrote: In general, the default values and algorithms for allocations could probably do with a tune-up, since of course today's disks are several magnitudes larger than only a few years ago (let alone than those that were around when the bulk of the file system code was written!), and the usage patterns are also in my experience often wildly different in a large file system than in a smaller one. We do that already, inode density will be lower for newly created partitions, because diskalbel sets larger block and fragment sizes. When creating filesystems with a partition containing many small files like one containing Maildirs. Is it a good idea during installation to set frag-size in disklabel to 1024 in order to automatically increase the number of inodes as oppose to simply using newfs -i 4096? Or would it reduce performance for larger files unnecessarily. I was also expecting -g avgfilesize flag to affect the number of inodes but it doesn't and it is useable with tunefs. Would anyone mind telling me what affect it has? Thanks, Kc
Re: full disk encryption google chrome on OpenBSD!
http://geekyschmidt.com/2011/01/09/openbsd-drive-encryption-benchmarks Note that this is done using bonnie. Bonnie isn't very good in figuring out what I real world load looks like. It does give some insight in cpu usage. Crypto is slow, end of story. If you want encrypted disks you'll pay a performance price. Either your data is worth it or not. The thing to look for is if the performance degradation is acceptable. I don't notice any speed decrease using softraid day to day which is writing code and surfing the web. Your load is likely different and have different characteristics. On Sat, Mar 19, 2011 at 02:49:52PM +, Kevin Chadwick wrote: On Fri, 18 Mar 2011 16:58:59 + Kevin Chadwick wrote: I do get a fair increase in cpu usage for a disk at full speed disk with vnd but it's acceptable. Have people already done cpu usage and transfer speed comparisons to save me further tests. Well I was about to run a comparison test on vmware and I'm well confused unless it's a strange vmware bug or maybe the dynamic size disk mechanism. I might have to pull out a box. SO I took a free partiton at the end of the disk split it in two (approx) one for svnd and one for bioctl. I wiped them but got a speed difference which obviously scuppers any potential tests. Tried reversing the orders in case the hard drive was ready the second time but get consistent but unexpected results. # /bin/dd if=/dev/zero of=/dev/rwd0m bs=1m dd: /dev/rwd0m: short write on character device dd: /dev/rwd0m: end of device 397+0 records in 396+1 records out 415334400 bytes transferred in 4.604 secs (90192757 bytes/sec) # /bin/dd if=/dev/zero of=/dev/rwd0n bs=1m dd: /dev/rwd0n: short write on character device dd: /dev/rwd0n: end of device 391+0 records in 390+1 records out 40960 bytes transferred in 2.574 secs (159069629 bytes/sec) now wd0n first gives the same results # /bin/dd if=/dev/zero of=/dev/rwd0n bs=1m dd: /dev/rwd0n: short write on character device dd: /dev/rwd0n: end of device 391+0 records in 390+1 records out 40960 bytes transferred in 2.545 secs (160931390 bytes/sec) # /bin/dd if=/dev/zero of=/dev/rwd0m bs=1m dd: /dev/rwd0m: short write on character device dd: /dev/rwd0m: end of device 397+0 records in 396+1 records out 415334400 bytes transferred in 4.339 secs (95713197 bytes/sec) I get the same with write caching off and wd0n shortened to not be allocated to the very end of the disk with the same results. Anyone have any ideas or compared bioctl and svnd speed and cpu usage in the past? I read svnd may be marginally quicker but I would expect bioctl to use less cpu and be quicker?
Re: full disk encryption google chrome on OpenBSD!
On Fri, Mar 18, 2011 at 07:02:58AM -0700, johhny_at_poland77 wrote: So our point is, if there is a good method to encrypt the full disk [like with dm-crypt/AES/under Linux], and we could have an up-to-date google chrome browser on OpenBSD, then it could be a very very good operating system for daily use! Dear community! Can someone please post small and compact [pointed] howtos, how to install an OpenBSD with full disk encryption, and how can we install google chrome on it? It's very important! Thank you in anticipation! It isn't important at all for me so I have no idea what you are talking about. And if you use chrome why would you bother encrypting your disk anyway?
Re: full disk encryption google chrome on OpenBSD!
On Fri, Mar 18, 2011 at 06:54:08PM +, Timothy Legge wrote: I've found this thread to be an interesting read so far, but I do have a few questions... How is Webkit these days?? I only know so much as far as Apple's use of it, and it has been a source of heavy patching in Safari for some time. Well every time there is a pwn2own webkit bites it. It doesn't have a shiny sec record if you will. The rendering and stuff is pretty good. And what are the advantages or dissadvantages of using chromium over xxxterm in an OpenBSD Desktop environment? Chromium has more features; and I mean many more features, heaps more features, mounds more features. You get the drift. It is also C++ poop and provides absolutely no controls to prevent tracking in any way shape or form. Stuff like pasting you password in the wrong spot and it is used as a google search etc. Stuff you are used to with other browsers. xxxterm has a mode known as whitelists which requires all websites to be white listed before cookies are accepted or javascript is allowed to run. Sometimes a bit painful to make sure certain websites work but all in all it prevents (most) tracking. It also has a couple of knobs that other webkit browsers don't have that make it quite a bit snappier. It has other neat features; read the man page for details. Combine with adsuck for extra vroom vroom. That said, if you just want the web to work and are patient I'd say use firefox or chrome. If you want more speed and/or better anti-tracking use xxxterm.
Re: Dell R310 - H200 Raid performance problem
I really think this heuristic belongs in the kernel. I think there is a desire to make the policy a knob (the old, I prefer slow and safe over fast and dangerous; well use a ups! they don't! debate). So instead of bioctl I think we need a sysctl, for example hw.diskcache, that by default is enabled which is the drive manufacturers suggested setting. Then if so desired one can turn it off. Or do people think this would be too large a hammer and would like to have a more granular control? On Wed, Mar 02, 2011 at 05:54:23AM -0500, Okan Demirmen wrote: On Sun 2011.02.20 at 10:30 -0500, Okan Demirmen wrote: On Sun 2011.02.20 at 13:28 +0100, Mark Kettenis wrote: Date: Sun, 20 Feb 2011 07:03:25 -0500 From: Kenneth R Westerback kwesterb...@rogers.com On Sun, Feb 20, 2011 at 12:39:06PM +0100, Mark Kettenis wrote: Date: Sun, 20 Feb 2011 19:54:21 +1000 From: David Gwynne l...@animata.net how to manipulate write cache policy? the lsi firmwares dont implement handling of the mod page changes unfortunately. you could call the ioctl this implements yourself though from userland. David, while I think that implementing the cache manipulation ioctls for mpii(4) is a good idea, there is a problem here. We don't have a tool in base that actually issues those ioctls. And unless I'm misreading the diff, this still leaves the cache disabled on the stupid Dell. DIOCSCACHE is called in sdattach() to enable write cache for all disks that DIOCGCACHE reports as having write cache disabled. Or are you concerned that we have no way to manipulate it from userland if/when the default needs to be modified? Ah, that's the bit I was missing. A userland tool to display and manipulate the cache settings would still be good though. Functionality should probably be added to bioctl(8). A bit unfortunate that both the -c and -C options are already taken. Ah, I had a diff for bioctl (enable/disable WCE/RCD) based on dlg's sample, but I think marco wanted more of a policy of when to do WCE/RCD rather than a switch - I'll send it along when I get home later this week. I'm not certain this is wanted, but I said I would forward along this very simplisitc patch, so here it is. If something like this is wanted, it can be re-worked to take multiple args to -e and such, but again, only if this is deemed necessary in a userland tool outside of scsi(8). Index: bioctl.8 === RCS file: /cvs/src/sbin/bioctl/bioctl.8,v retrieving revision 1.84 diff -u -p -r1.84 bioctl.8 --- bioctl.8 22 Dec 2010 16:25:32 - 1.84 +++ bioctl.8 2 Mar 2011 10:44:23 - @@ -35,6 +35,7 @@ .Op Fl hiqv .Op Fl a Ar alarm-function .Op Fl b Ar channel:target[.lun] +.Op Fl e Ar flag .Op Fl H Ar channel:target[.lun] .Op Fl R Ar device \*(Ba channel:target[.lun] .Op Fl u Ar channel:target[.lun] @@ -128,6 +129,24 @@ digits to four or less. .It Fl i Enumerate the selected RAID devices. This is the default if no other option is given. +.It Fl e Ar flag +Pass +.Ar flag +to +.Nm . +May be one of: +.Bl -tag -width disable -compact +.It Ar q +Query the read/write cache status. +.It Ar R +Enable the read cache. +.It Ar r +Disable the read cache. +.It Ar W +Enable the write cache. +.It Ar w +Disable the write cache. +.El .It Fl q Show vendor, product, revision, and serial number for the given disk. .It Fl R Ar device \*(Ba channel:target[.lun] Index: bioctl.c === RCS file: /cvs/src/sbin/bioctl/bioctl.c,v retrieving revision 1.98 diff -u -p -r1.98 bioctl.c --- bioctl.c 1 Dec 2010 19:40:18 - 1.98 +++ bioctl.c 2 Mar 2011 10:44:23 - @@ -77,6 +77,7 @@ voidbio_changepass(char *); u_int32_tbio_createflags(char *); char *bio_vis(char *); void bio_diskinq(char *); +void bio_cache(char *, char *); int devh = -1; int human; @@ -97,17 +98,17 @@ main(int argc, char *argv[]) char*devicename = NULL; char*realname = NULL, *al_arg = NULL; char*bl_arg = NULL, *dev_list = NULL; - char*key_disk = NULL; + char*key_disk = NULL, *ca_arg = NULL; const char *errstr; int ch, rv, blink = 0, changepass = 0, diskinq = 0; - int ss_func = 0; + int ss_func = 0, diskcache = 0; u_int16_t cr_level = 0; int biodev = 0; if (argc 2) usage(); - while ((ch = getopt(argc, argv, a:b:C:c:dH:hik:l:Pp:qr:R:svu:)) != + while ((ch =
Re: SMP Advice
right here: http://www.openbsd.org/hppa.html thanks jsing kettenis and others that made SMP work on hppa! On Sat, Feb 26, 2011 at 01:48:35PM -0600, L. V. Lammert wrote: Can't seem to find the SMP HCL results posted anywhere - does anyone have a recommendation? Lee
Re: Dell R310 - H200 Raid performance problem
bah! On Sun, Feb 20, 2011 at 07:20:19PM +, Stuart Henderson wrote: On 2011/02/20 11:59, Ted Unangst wrote: On Sun, Feb 20, 2011 at 7:28 AM, Mark Kettenis mark.kette...@xs4all.nl wrote: Ah, that's the bit I was missing. A userland tool to display and manipulate the cache settings would still be good though. Functionality should probably be added to bioctl(8). A bit unfortunate that both the -c and -C options are already taken. -w or -W wouldn't be too bad an alternative (_w_rite cache). We also have a scsi(8) tool that seems more analogous to atactl (which can manipulate cache behavior). scsi(8) can manipulate write cache on some drives too. But in this case we're talking about a setting for the volume rather than for drives, so bioctl(8) wouldn't be a bad choice. (I don't know about mpii, but for mpi the vendor management tool in some OS allows you to set this, and bioctl is the closest analogue to this).
Re: hibernate function
there are some patches floating around. On Fri, Feb 18, 2011 at 10:51:27AM -0600, Orestes Leal R. wrote: does it exists?
Re: Tracking What it's changing in current
Right, but that is the holy grail because now you'd have change sets. I'll pay prize money for that ;-) On Thu, Feb 17, 2011 at 06:13:32AM -0800, patrick keshishian wrote: On Thu, Feb 17, 2011 at 6:05 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 16 February 2011 22:21, Marco Peereboom sl...@peereboom.us wrote: Is it possible to catch the entire commit and have that diff generated? I'm a little late at this thread but yes, we do that here in work. Don't have access to the scripts though :( he means a commit that touches files in multiple directory locations throughout a source tree. I'm not sure if this is possible so easily. --patrick
Re: Dell R310 - H200 Raid performance problem
On Thu, Feb 17, 2011 at 04:22:54PM +0100, Mike Belopuhov wrote: On Thu, Feb 10, 2011 at 14:25 +0100, Lukasz Czarniecki wrote: Hi I've bought a Dell R310 with H200 raid controller reported in dmesg as: Symbios Logic SAS2008. It uses mpii driver and has two hard drives configured in RAID 1. Now it seems to work fine but i still have a problem with its performance. Raid is fully initialized. How can I help to resolve this problem? I'm doing simple benchmark: wget ftp.spline.de/pub/OpenBSD/4.8/sys.tar.gz time tar xzf ./sys.tar.gz On the same hardware Linux unpacks it in less then two seconds. Numbers for OpenBSD: 4.8 amd64 sp: 3m40.95s real 0m0.65s user 0m0.71s system 4.8 amd64 mp-stable: 3m43.36s real 0m0.48s user 0m0.98s system 4.9 amd64 sp: 3m47.72s real 0m0.51s user 0m0.69s system 4.9 i386 rd : 3m45.11s real 0m1.03s user 0m1.19s system Lukasz and me have figured out that disk write cache gets turned off by the Dell firmware when you create a volume (it doesn't get disabled if you use single drives): http://support.dell.com/support/edocs/storage/storlink/h200/en/ug/html/features.htm#wp1062398 H200 doesn't have and there's no possibility to install an onboard memory and the battery, so the device becomes pretty much useless unless the operating system takes care of it. Apparently Linux does. Should OpenBSD do the same? In my opinion yes. Linux does this and we should too. All SATA manufacturers recommend (read recommend very very strongly and call you names when you don't listen) enabling write cache. Lukasz has tested the patch below and it works fine for him. I don't have the hardware myself, so I'm not going to push it for the release, but if someone thinks it's worth it, please speak up. I am ok with this making release and think it should. I did not realize WB was being disabled. Index: mpii.c === RCS file: /home/cvs/src/sys/dev/pci/mpii.c,v retrieving revision 1.37 diff -u -p -r1.37 mpii.c --- mpii.c29 Dec 2010 03:55:09 - 1.37 +++ mpii.c17 Feb 2011 15:15:25 - @@ -981,6 +981,52 @@ struct mpii_msg_sas_oper_reply { u_int32_t ioc_loginfo; } __packed; +struct mpii_msg_raid_action_request { + u_int8_taction; +#define MPII_RAID_ACTION_CHANGE_VOL_WRITE_CACHE (0x17) + u_int8_treserved1; + u_int8_tchain_offset; + u_int8_tfunction; + + u_int16_t vol_dev_handle; + u_int8_tphys_disk_num; + u_int8_tmsg_flags; + + u_int8_tvp_id; + u_int8_tvf_if; + u_int16_t reserved2; + + u_int32_t reserved3; + + u_int32_t action_data; +#define MPII_RAID_VOL_WRITE_CACHE_DISABLE(0x01) +#define MPII_RAID_VOL_WRITE_CACHE_ENABLE (0x02) + + struct mpii_sge action_sge; +} __packed; + +struct mpii_msg_raid_action_reply { + u_int8_taction; + u_int8_treserved1; + u_int8_tchain_offset; + u_int8_tfunction; + + u_int16_t vol_dev_handle; + u_int8_tphys_disk_num; + u_int8_tmsg_flags; + + u_int8_tvp_id; + u_int8_tvf_if; + u_int16_t reserved2; + + u_int16_t reserved3; + u_int16_t ioc_status; + + u_int32_t action_data[5]; + + struct mpii_sge action_sge; +} __packed; + struct mpii_cfg_hdr { u_int8_tpage_version; u_int8_tpage_length; @@ -1972,6 +2018,8 @@ int mpii_req_cfg_page(struct mpii_softc int mpii_get_ioc_pg8(struct mpii_softc *); +void mpii_cache_enable(struct mpii_softc *); + #if NBIO 0 int mpii_ioctl(struct device *, u_long, caddr_t); int mpii_ioctl_inq(struct mpii_softc *, struct bioc_inq *); @@ -2175,6 +2223,9 @@ mpii_attach(struct device *parent, struc goto free_dev; } + /* enable write cache */ + mpii_cache_enable(sc); + /* we should be good to go now, attach scsibus */ sc-sc_link.adapter = mpii_switch; sc-sc_link.adapter_softc = sc; @@ -3206,6 +3257,45 @@ mpii_cfg_coalescing(struct mpii_softc *s } return (0); +} + +void +mpii_cache_enable(struct mpii_softc *sc) +{ + struct mpii_msg_raid_action_request *req; + struct mpii_device *dev; + struct mpii_ccb *ccb; + int i; + + ccb = scsi_io_get(sc-sc_iopool, 0); + if (ccb == NULL) + return; + + for (i = 0; i sc-sc_max_devices; i++) { + if (sc-sc_devs[i] == NULL || + !ISSET(sc-sc_devs[i]-flags, MPII_DF_VOLUME)) + continue; + + dev = sc-sc_devs[i]; + +
Re: Tracking What it's changing in current
Yeah that is exactly what I'd want! On Thu, Feb 17, 2011 at 04:42:15PM -0200, Christiano F. Haesbaert wrote: On 17 February 2011 12:13, patrick keshishian pkesh...@gmail.com wrote: On Thu, Feb 17, 2011 at 6:05 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 16 February 2011 22:21, Marco Peereboom sl...@peereboom.us wrote: Is it possible to catch the entire commit and have that diff generated? I'm a little late at this thread but yes, we do that here in work. Don't have access to the scripts though :( he means a commit that touches files in multiple directory locations throughout a source tree. I'm not sure if this is possible so easily. Yep, we have that, the guy who manages that here is on holidays, when he comes back I'll see if I can get it. Module: Log Message: foo bar Files: //PC.h : 1.48 - 1.49 //apps/Y : 1.2 - 1.3 -- follows both diffs -- Is that it ?
Re: Tracking What it's changing in current
Man I'd love an example for this. On Feb 16, 2011, at 13:32, Nicolas P. M. Legrand nlegr...@ethelred.fr wrote: On Wed, Feb 16, 2011 at 11:16:01AM -0800, patrick keshishian wrote: On Wed, Feb 16, 2011 at 10:29 AM, Nicolas P. M. Legrand nlegr...@ethelred.fr wrote: On Wed, Feb 16, 2011 at 12:01:22PM -0500, Luis Useche wrote: One thing I would really like to see is the diffs of every commit. This is available for DragonflyBSD for instance. Is there a way to find this on OBSD? CVS and git are very different I don't think you can easily have this feature with CVS (if it exists I'd be glad to know it :)). Personally Sure it can. see CVSROOT/loginfo. You define a filter and need a filter-script that will take files with changed revisions, do the 'cvs diff' and mail out the outputs. ha thanks! I'll have a look.
Re: Tracking What it's changing in current
Is it possible to catch the entire commit and have that diff generated? On Wed, Feb 16, 2011 at 05:50:13PM -0430, Andres Perera wrote: On Wed, Feb 16, 2011 at 4:31 PM, Marco Peereboom sl...@peereboom.us wrote: On Feb 16, 2011, at 13:32, Nicolas P. M. Legrand nlegr...@ethelred.fr wrote: On Wed, Feb 16, 2011 at 11:16:01AM -0800, patrick keshishian wrote: On Wed, Feb 16, 2011 at 10:29 AM, Nicolas P. M. Legrand nlegr...@ethelred.fr wrote: On Wed, Feb 16, 2011 at 12:01:22PM -0500, Luis Useche wrote: One thing I would really like to see is the diffs of every commit. This is available for DragonflyBSD for instance. Is there a way to find this on OBSD? CVS and git are very different I don't think you can easily have this feature with CVS (if it exists I'd be glad to know it :)). Personally Sure it can. see CVSROOT/loginfo. You define a filter and need a filter-script that will take files with changed revisions, do the 'cvs diff' and mail out the outputs. ha thanks! I'll have a look. Man I'd love an example for this. loginfo would work comfortably only if the commits are in one directory, since it runs once per dir: andres@pote:~/tmp $ awk 'length !/^#/' CVSROOT/loginfo ALL ~/tmp/loginfo.sh %{sVv} andres@pote:~/tmp $ cat loginfo.sh #!/bin/sh echo -- LOGINFO ARGC: $# echo -- LOGINFO ARGV: $@ echo -- LOGINFO STDIN: cat echo -- LOGINFO EOF andres@pote:~/tmp $ cvs ci -m'test' b CVSROOT /home/andres/tmp/cvstmp/b,v -- b new revision: 1.5; previous revision: 1.4 -- LOGINFO ARGC: 1 -- LOGINFO ARGV: -- LOGINFO STDIN: Update of /home/andres/tmp/cvstmp In directory pote.domain.local:/home/andres/tmp Modified Files: b Log Message: test -- LOGINFO EOF /home/andres/tmp/cvstmp/CVSROOT/loginfo,v -- CVSROOT/loginfo new revision: 1.8; previous revision: 1.7 cvs commit: Rebuilding administrative file database -- LOGINFO ARGC: 3 -- LOGINFO ARGV: loginfo 1.7 1.8 -- LOGINFO STDIN: Update of /home/andres/tmp/cvstmp/CVSROOT In directory pote.domain.local:/home/andres/tmp/CVSROOT Modified Files: loginfo Log Message: test -- LOGINFO EOF
Re: importing gdb 6.6 into base?
gpl 3 code is verboten for all the right reasons. We'll take a newer gdb if someone sends in patches. On Thu, Feb 10, 2011 at 03:22:57PM -0600, Amit Kulkarni wrote: Hi, Directing this to misc, as I am not sure tech@ should be bothered. I was just poking around the system and noticed that gdb 6.3 is in base. Is there any reason other than GPL v3 license that a newer version hasn't been imported into base? I checked and saw that gdb 6.6 is the last one which allows GPL v2 or later. When you run gdb 6.6 it gives the same notice as the base gdb 6.3. gdb 6.7 onwards come with GPL v3. When you run gdb 6.7 and up the notice is changed and it now says v3 or later. Thanks, amit
Re: Minimally painful mail client for rich (spit!) messages
Stuff crap like this in .mailcap text/html; /usr/local/bin/links -dump '%s'; copiousoutput; description=HTML Text; na metemplate=%s.html text/html; /usr/local/bin/links '%s'; needsterminal; description=HTML Text; nametemp late=%s.html I had them for all kinds of things but can't find that file anymore. Things like antiword and stuff help. At one point I had about a $random_file to ascii converter for about everything. On Wed, Feb 09, 2011 at 05:38:38PM +0100, Peter N. M. Hansteen wrote: During recent months I've joined some mailing lists with fairly good signal to noise ratio on a specific topic, the only snag being that a distressingly large number of otherwise sane messages have been written using mail clients (fsvo) that by default bury the content in rich formatting that makes it hard for old-style mail readers to cope. Telling people off for their choice of mail clients is not an option (some at least have had that choice made for them), so as a workaround I probably need to start looking around for a mail client that will make reading Outlook and peers' output less painful. Does such a beast exist, preferably among OpenBSD packages (as in, it has to run on OpenBSD, but I can build locally if needs be)? I've tried and hated both Evolution and Thunderbird, but surely there must be other choices? - Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: is SHA256 file used or not ?
Henning was being nice. This stupid question keeps coming up. Yes, it is a stupid question and yes it is annoying and yes Henning should remind you of that. The so called good answers have been provided a trillion times by now. Learn how to use the internet or get of it. On Tue, Feb 08, 2011 at 05:19:12PM +0200, Mihai Popescu wrote: Hi Henning, It looks like you are in a bad mood. Please read my entire post and don't cut and paste out of context. Man, if you do not want to answer, please don't. You have spent a lot of time bitching and no time to give a damn clear answer. It's not my problem that you attract idiots ( I failed to see who are we from we keep attracting idiots...). Maybe you should read about how a documentation can or cannot help. Hapilly, Otto and Philip did participate with good answers.
Re: dell latitude d430 + port replicator -- is okay?
if i recall it correctly that is a fine machine. make sure you dont get an nvidia one though (not sure they made them but got to avoid them) On Sat, Feb 05, 2011 at 01:16:04AM +0200, Sviatoslav Chagaev wrote: Hi, I want to buy a DELL Latitude D430 + a port replicator (for the DVI and LPT ports). Does this laptop work okay with OBSD? How about the port replicator? Does it need any kind of support from the OS (e.g. drivers) or is it just an electromechanical contraption? Thanks.
Re: aml parse error
You are hitting a workaround in the AML code. HP has BIOS' that have AML with backwards dependencies. \\_PR_.CPU0._PPC is not in scope until acpicpu runs, but we can't run acpicpu without acpiec. The best part is that it doesn't need _REG so minus an ugly warning your machine should be working fine. On Tue, Feb 01, 2011 at 12:40:26PM +0530, karthic kumaran wrote: [Sorry posted this to tech, found out that questions are meant for misc] Hello, I recently upgraded to -current because the intel graphics driver in the 4.8 release freezes my computer. I have a Core i3 with integrated graphics, every time i boot my laptop with multiprocessor turned on i get an AML PARSE ERROR. I am running the GENERIC.MP kernel with INTELDRM_GEM. Below is a copy of my dmesg, OpenBSD 4.9-beta (GEM) #2: Mon Jan 31 14:42:39 IST 2011 r...@k3.my.domain:/usr/src/sys/arch/i386/compile/GEM RTC BIOS diagnostic error 80clock_battery cpu0: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (GenuineIntel 686-class) 2.13 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT real mem = 3076341760 (2933MB) avail mem = 3015868416 (2876MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/10/10, SMBIOS rev. 2.6 @ 0xea000 (37 entries) bios0: vendor Hewlett-Packard version F.07 date 02/10/2010 bios0: Hewlett-Packard HP G62 Notebook PC acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP ASF! HPET APIC MCFG SLIC BOOT ASPT WDAT SSDT acpi0: wakeup devices P0P2(S4) PEGP(S4) P0P3(S4) PEGP(S4) P0P1(S4) PS2K(S3) PS2M(S3) EHC1(S0) USB1(S0) USB2(S0) USB3(S0) USB4(S0) EHC2(S0) USB5(S0) USB6(S0) USB7(S0) HDEF(S0) RP01(S4) RP02(S4) PXSX(S5) RP03(S4) RP04(S4) RP05(S4) RP08(S4) PXSX(S0) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz 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: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (GenuineIntel 686-class) 2.13 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (GenuineIntel 686-class) 2.13 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (GenuineIntel 686-class) 2.13 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P2) acpiprt2 at acpi0: bus -1 (P0P3) acpiprt3 at acpi0: bus 4 (P0P1) acpiprt4 at acpi0: bus 2 (RP01) acpiprt5 at acpi0: bus 3 (RP02) acpiprt6 at acpi0: bus -1 (RP03) acpiprt7 at acpi0: bus -1 (RP04) acpiprt8 at acpi0: bus -1 (RP05) acpiprt9 at acpi0: bus -1 (RP08) acpiec0 at acpi0### AML PARSE ERROR (0x105b8): Undefined name: \\_PR_.CPU0._PPC error evaluating: \\_SB_.PCI0.LPCB.EC0_._REG acpiec _REG failed, broken BIOS acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpicpu2 at acpi0: C1, PSS acpicpu3 at acpi0: C1, PSS acpitz0 at acpi0acpitz0: TZ01: failed to read _CRT : no critical temperature defined acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model Primary serial type LION oem Hewlett-Packard acpivideo0 at acpi0: GFX0 acpivideo1 at acpi0: VGA_ acpivideo2 at acpi0: VGA_ bios0: ROM list: 0xc/0xfa00! 0xd/0x2c00! cpu0: Enhanced SpeedStep 2128 MHz: speeds: 2133, 1999, 1866, 1733, 1599, 1466, 1333, 1199, 1066, 933 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel Core Host rev 0x02 vga1 at pci0 dev 2 function 0 Intel Mobile HD graphics rev 0x02 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 0xc000, size 0x1000 inteldrm0 at vga1: apic 2 int 17 (irq 5) drm0 at inteldrm0 Intel 3400 MEI rev 0x06 at pci0 dev 22 function 0 not configured ehci0 at pci0 dev 26 function 0 Intel 3400 USB rev 0x05: apic 2 int 16 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev
Re: aml parse error
On Tue, Feb 01, 2011 at 09:01:26PM +0530, karthic kumaran wrote: Marco Peereboom wrote: You are hitting a workaround in the AML code. HP has BIOS' that have AML with backwards dependencies. \\_PR_.CPU0._PPC is not in scope until acpicpu runs, but we can't run acpicpu without acpiec. The best part is that it doesn't need _REG so minus an ugly warning your machine should be working fine. This warning is really irritating to see during boot up but I am happy that it's not anything serious. Sorry for cross posting to misc and tech, won't do it the next time. Warning is here to stay. We need to know when this happens when people report issues.
Re: Let's talk about HTTPS Everywhere
Why are you asking that question here? On Wed, Jan 19, 2011 at 03:29:23AM -0800, S Mathias wrote: Ok. It's a Firefox Add-on: https://www.eff.org/https-everywhere Questions: 1) But: Why can't i find it on the offical Firefox Add-ons site?: https://addons.mozilla.org/en-US/firefox/ 2) Did anyone audited the HTTPS Everywhere code? 3) Can someone trust this Add-on? Is it safe to install/use? 4) If it's so great why isn't it more prevalent? What's youre opinion? Or answer? :\ Thanks!
Very OT, amiga accelarator
I have been looking all over the place for an Amiga 3000 accelerator, either a 68040 or 68060 and I can't really find anything useful. Anyone got a spare one for sale or closet cleaning? Contact me off list please.
Re: Freeze with Western Digital Caviar Green HDD
I'll have to disagree a bit here. Manufacturers go through cycles and usually there is one that stands out on a size/period. Manufacturers almost never change the manufacturing process over time for a particular drive. They will update firmware as time goes buy. So a good drive today is going to be equally good in a few years. The thing I disagree with is that there are very good 2TB drives out there. The trick is to have enough of a brand (usually a few hundred) to start to understand it's personality. If you have volume you can pretty easily determine which manufacturer is good today and sucked yesterday. And when a new generation drives come out it starts all over again. Oh and be safe, make backups. FWIW On Fri, Dec 10, 2010 at 11:11:52PM -0500, Nick Holland wrote: On 12/10/10 17:25, Paolo Aglialoro wrote: ok, what manufacturers are left??? :)) just toshiba??? I'm going to say Anyone who says brand X is great and Y is crap has just exposed themselves as a newbie in the computer business. :) I've seen every make of drive have some real stinkers, and also build drives that don't seem to die. Unfortunately, by the time you can say, This model is really good or this model is a disaster, it's too late, the drive has been out of production for six months (or has had its production processes changed, and the old results don't represent the current production runs). One of the worst drives in terms of quality and failure I ever saw was the Seagate ST225. One of the best was...uh...the Seagate ST225. The difference was at the beginning, the ST225 was a cutting edge drive, a whopping 20M of storage in a half-height case, with a label on the drive listing dozens of bad sectors. By the end of its production run, the bad sector tables on almost all ST225 drives were COMPLETELY empty, they were 100% good out of the box, and would run long past their useful life. By this point, they were old tech and Just Worked. (ok, the worst drives I ever had were JTS. One day, I was overly frustrated at all the major drive makers, and saw these JTS brand drives, and figured they either had a good idea or a bad one. Turned out to be bad beyond my imagination... Fortunately, they seem to have vanished from the world shortly after they arrived, but... *shudder*) I discovered (quite) a few years back that you could toast a Samsung disk on demand using the Novell disk test utility. Now, I can't seem to get one to fail. Right now, if you buy a 2TB disk, expect it to be unreliable. Expect a 300G drive to last for quite some time (if you can find one). You still have to have backups, you still have to have plan for what you do until it is repaired (failure tolerance), and you have to have a plan for how you will repair it (failure recovery). If you are deploying a thousand machines, yeah, it would be really nice to know that this particular production run will blow 200 drives in the expected life span of the project and that another model and production run would blow 50, and buy the one that will fail only 50, but you won't have that kind of information until the project is done. For small projects, all drives of all types, technologies and interfaces can and do fail. Be ready for it. Have a backup, have a failure tolerance and recovery plan. Here's another thought: for maximum data retention, your drives (and the rest of your systems) *must fail* from time to time, and do so often enough to keep you remembering that they DO fail to keep your backup solutions working and your failure tolerance and recovery plans useful. Go enough years without an oh poop incident, you get cocky and sloppy. I can't prove that statement, but if you don't believe me, you might prove it for me. :) Me? I usually buy whatever is cheap and on sale. And if it fails, I test my tolerance and recovery plans :) Do this right, your system will be back up faster than you can digest dozens of people's opinions about the best drives and pick one (which may turn out to be a stinker anyway). Nick.
Re: OT - gmail alternatives
!gmail On Thu, Dec 09, 2010 at 03:01:03PM +, lh wrote: Hi, what are the good available alternatives (security/privacy) for gmail you're using? Cheers!
Re: OpenBSD in Rock Band 3
Yeah they took a shortcut. No good. They have to list *every* individual copyright message from every file they use. Someone should point that out to them. On Tue, Dec 07, 2010 at 05:55:33PM -0500, Ted Unangst wrote: That's a little strange, because I don't think there is any code anywhere copyrighted by OpenBSD. All the code is copyright by the individual contributors. On Tue, Dec 7, 2010 at 5:47 PM, Doug Clements dcleme...@gmail.com wrote: On Tue, Dec 7, 2010 at 12:09 AM, Jeffrey 'jf' Lim jfs.wo...@gmail.com wrote: :) well, possible to sit through those again? This time, prepare your camera. :) Here's the best I got: http://www.freeimagehosting.net/image.php?5bec65cccf.jpg - SGI http://www.freeimagehosting.net/image.php?29f575c27e.jpg - Rgindael/AES http://www.freeimagehosting.net/image.php?80e8f1270b.jpg - Mark Borgerding http://www.freeimagehosting.net/image.php?7b8ba7a5c6.jpg - Simon Brown http://www.freeimagehosting.net/image.php?3bd1000b8f.jpg - RSA/MD5 http://www.freeimagehosting.net/image.php?be87682cdd.jpg - OpenBSD http://www.freeimagehosting.net/image.php?2b516d12eb.jpg - Nvidia Not much info there, so it's hard for me to speculate. --Doug
Re: OpenBSD in Rock Band 3
So you suggest they should continue to break the law? On Wed, Dec 08, 2010 at 10:38:10AM -0500, Jeremy Chase wrote: I'm sure they'll recall all the CD's and reprint them. -- Jeremy Chase http://twitter.com/jeremychase On Wed, Dec 8, 2010 at 4:46 AM, Marco Peereboom sl...@peereboom.us wrote: Yeah they took a shortcut. B No good. They have to list *every* individual copyright message from every file they use. B Someone should point that out to them. On Tue, Dec 07, 2010 at 05:55:33PM -0500, Ted Unangst wrote: That's a little strange, because I don't think there is any code anywhere copyrighted by OpenBSD. B All the code is copyright by the individual contributors. On Tue, Dec 7, 2010 at 5:47 PM, Doug Clements dcleme...@gmail.com wrote: On Tue, Dec 7, 2010 at 12:09 AM, Jeffrey 'jf' Lim jfs.wo...@gmail.com wrote: :) well, possible to sit through those again? This time, prepare your camera. :) Here's the best I got: http://www.freeimagehosting.net/image.php?5bec65cccf.jpg - SGI http://www.freeimagehosting.net/image.php?29f575c27e.jpg - Rgindael/AES http://www.freeimagehosting.net/image.php?80e8f1270b.jpg - Mark Borgerding http://www.freeimagehosting.net/image.php?7b8ba7a5c6.jpg - Simon Brown http://www.freeimagehosting.net/image.php?3bd1000b8f.jpg - RSA/MD5 http://www.freeimagehosting.net/image.php?be87682cdd.jpg - OpenBSD http://www.freeimagehosting.net/image.php?2b516d12eb.jpg - Nvidia Not much info there, so it's hard for me to speculate. --Doug
Re: seeking SQLite on OpenBSD stories
On Tue, Dec 07, 2010 at 09:57:22AM +0800, Edwin Eyan Moragas wrote: Hi Misc, i'm looking for experience of using SQLite on OpenBSD. if anybody in the list can share 1) how SQLite is being used I use it left and right on a product we are developing and it is very very good and easy to use. The API is surprisingly good considering the underlying complexity. The docs are pretty good once you get a grip on the API but the threshold is relatively high. 2) size of the database We use them in all kinds of sizes and we will use it in the (100s of) millions of records in the near future. So far I have not seen any issues. 3) performance metrics (if you have them) I have no metrics for you just some advice. Use the prepare/commit thing and life is good. If you don't then you'll get max 160 inserts per second. anything about SQLite on OpenBSD. link would be appreciated too. I just used the sqlite webpages at http://www.sqlite.org/capi3ref.html Again the docs are very good but require practice. The only thing I don't like is not having access to a non-sql API. One of the things I use it for is for a basic b+tree and I really could have done without the sql shiz. That said, I have nothing ugly to say about it and in fact am very pleased with it.
Re: Advice on learning C as first language
That is a bit of a rough book to start with but very good. It is very dense but touches on most language features. Its density is actually what makes it so good. You can read it twice in a weekend. Once you do that pick a simple utility from /bin and go read the code. That will put what you learned/read in the book in perspective. The thing that that book does not teach is libraries and other things since it simply focuses on the language itself. Some other books I found very helpful were: http://www.amazon.com/Practice-Programming-Brian-W-Kernighan/dp/020161586X/ref=sr_1_1?ie=UTF8qid=1290612132sr=8-1 http://www.amazon.com/Programming-GNU-Software-Andy-Oram/dp/1565921127/ref=pd_sim_b_5 The must have is: http://www.amazon.com/Programming-Environment-Addison-Wesley-Professional-Computing/dp/0321525949/ref=pd_sim_b_8 All that reading aside; the only way to truly get it is to read a piece of code you are interested in and deconstructing it completely. The trick is finding a piece of code that illustrates the things you are interested in *and* is well written. Most things in the OpenBSD tree are well written but beware of the dragons. Doing this a couple of times will make almost anyone interested enough a good enough coder. Learning C is easy; learning to using C right is the hard part. Read more code to learn from the experts. Good luck. On Wed, Nov 24, 2010 at 06:55:20AM -0800, James Hozier wrote: My first programming language ever was Visual Basic, but I was 11 years old at the time and it was just a mandatory elective class I had to take to get credits in order to graduate school, and I didn't even know what a programming language was back then. I thought I was just writing words on the screen to make the program do things (we made stuff like tic-tac-toe, shooting a basketball into a hoop by inputting correct coordinates/arch, etc.) I forgot everything I learned since then, so I have absolutely no recollection at all of VB except rem which I recall as being equivalent to a comment in any other language. Later when I began to edit code to make programs do exactly what I wanted, I basically guessed what all the functions did and how the programs worked to modify them, and as long as they worked, I really wasn't concerned at all about how crappy the quality of the code was. So I decided to actually learn a language and I had heard Python was easy so I started learning Python first. But before finishing the first chapter I was told by several people that Perl was much better. Considering their opinion was probably better than mine, I switched to Perl and picked up a book for Perl beginners but again before I even learned the print function, I read online that the first programming language one learns could be crucial to the person's future programming skills and habits that become ported to other programming languages they learn later on, and I don't want to develop any bad habits and practices. I've decided to choose C as my first language, for various personal reasons (mostly to audit code for security). So, as a newbie with no knowledge in programming at all whatsoever and wanting to learn C, I bought KR's The C Programming Language (2nd edition) as per the suggestion on the OpenBSD website. I read the disclaimers in the intro of the book, and read on anyway. But the book seems to move very fast and does not elaborate too much on the features of the language, I guess due to the book not being total-noob-friendly. I can barely follow along and get what's going on, but have no idea what the terminologies and phrases being used in the book mean since the book assumes the reader knows basic programming such as arrays and stuff like that. Are there any books that are more noob-friendly that want to learn C as their first language and explain basic programming terms along the way?
Re: Advice on learning C as first language
I'll call crap on c++ It doesn't really qualify as a language but more as a let me show you how smart i am tool for tools. Object orientation is interesting on the surface however the promises have never materialized. I'll reiterate my previous point. Learn C, if required you have most tools and ideas figured out to use other fancy languages (which ultimately degenerate into understanding C anyway). C is somewhat hostile and that is a good thing. Nothing brings attention quicker to an app than crashing. Crashing is good; running in some sort of unknown state is bad. I happened to learn assembly first and C was just an easier way to do things. Honestly, not much has changed over the years. I tried many languages and have always gravitated back to C. New things are new and last a couple of years and then something new pops up that will write all the code for you. Unfortunately when writing code you have to do that pesky task of writing code. FWIW On Nov 24, 2010, at 17:36, Brad Tilley b...@16systems.com wrote: James Hozier wrote: Are there any books that are more noob-friendly that want to learn C as their first language and explain basic programming terms along the way? I'm no expert, but I do program C for applications (not operating systems). My advice would be to study data structures, pointers and concepts such as const, struct, etc. and to understand why types are important. When you script with Python/Perl/Ruby much of that is glossed over, but is really important. By itself, C is very basic and small and can be learned quickly. However, if you need a data structure to do useful things, you need to find a library or roll your own. I would suggest learning C++ as a C with more stuff built-in. Its STL has well-tested lists, queues, stacks, maps, vectors, hashes, etc. built-in to it so you are not rolling your own or looking at external libraries. It also has references (but you can still use raw pointers if you like) and the C++ compiler won't let you get away with nearly as much. Just my experience, good luck. Brad
Re: Seeking inexpensive RAID 1 hardware recommendation
mpi/mpii cards that do IR/IS or IM should do RAID 1 just fine and are supported by bioctl. You just have to purchase the card carefully and make sure it has one of those acronyms. A bit more expensive would be mfi but those are well supported. What I don't know much about but is cheap are the areca cards. Some people swear by them; I simply haven't used them so I have no opinion. On Mon, Nov 15, 2010 at 06:30:18PM +0100, m...@mdaniel.de wrote: I have a hard time finding a RAID1 capable controller that is well supported via bioctl, available, and not too expensive. Is there e.g. a nice mpi or mpii card that can be controlled via bioctl? The man page only mentions that some mpi cards offer Raid1. Of course it doesn't have to be a mpi card. This PCI-e card would be used with Sata disks on the i386 architecture (OpenBSD 4.8). Thanks. Background: --- I could do /var on softraid together with altroot but I seek the convenience of RAID1 to be able to select when to reboot in case of disk failure. I am fully aware that RAID is no backup concept and that now the controller becomes a single point of failure. Maybe the controller that you recommend will have the additional benefit of allowing me to attach a disk to a standard Sata controller in case of RAID controller failure? Otherwise I am prepared to order two identical controllers to mitigate this problem. Please feel free to point out any error in my thinking and don't hesitate to mention if I should implement a different set up. It is probably unavoidable that my desire for cheap raid hardware will not be met with unconditional approval ;-) Cheers, Marcus
Re: OpenBSD 4.8 can't find CD drive on Dell Latitude E6500
Here is my trusty E6500 that I have used for 2 years now. OpenBSD 4.8-current (GENERIC.MP) #0: Sat Nov 6 16:13:55 CDT 2010 r...@e6500.peereboom.us:/usr/src/kernel/sys/arch/amd64/compile/GENERIC.MP real mem = 3707031552 (3535MB) avail mem = 3594448896 (3427MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf6540 (57 entries) bios0: vendor Dell Inc. version A22 date 05/06/2010 bios0: Dell Inc. Latitude E6500 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4) RP02(S4) RP03(S4) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.46 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG cpu1: 6MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus 13 (RP03) acpiprt5 at acpi0: bus 14 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 107 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 MP49495 serial 42487 type LION oem Samsung SDI acpibat1 at acpi0: BAT1 not present acpivideo0 at acpi0: VID_ acpivideo1 at acpi0: VID_ acpivout0 at acpivideo1: CRT_ acpivout1 at acpivideo1: LCD_ acpivout2 at acpivideo1: DP__ acpivout3 at acpivideo1: DP2_ acpivout4 at acpivideo1: DVI_ acpivout5 at acpivideo1: DVI2 acpivideo2 at acpi0: VID2 cpu0: Enhanced SpeedStep 2793 MHz: speeds: 2801, 2800, 2134, 1600, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 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 0xe000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 2 int 22 (irq 10), address 00:21:70:c6:16:95 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 20 (irq 3) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21 (irq 11) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 22 (irq 10) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 22 (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 82801I HD Audio rev 0x03: apic 2 int 21 (irq 11) azalia0: codecs: IDT 92HD71B7, Intel/0x2802, using IDT 92HD71B7 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2 int 16 (irq 0) pci1 at ppb0 bus 11 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2 int 17 (irq 0) pci2 at ppb1 bus 12 iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: apic 2 int 17 (irq 3), MIMO 3T3R, MoW, address 00:21:6a:1c:d4:de ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2 int 18 (irq 0) pci3 at ppb2 bus 13 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2 int 19 (irq 0) pci4 at ppb3 bus 14 uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 20 (irq 3) uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2 int 21 (irq 11) uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2 int 22 (irq 10) ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2 int 20 (irq 3) 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 0x93 pci5 at ppb4 bus 3 cbb0 at pci5 dev 1 function 0 Ricoh 5C476 CardBus rev 0xba: apic 2 int 19 (irq 10) Ricoh 5C832 Firewire rev 0x04 at pci5 dev 1
Re: FFS compatibility sparc64 vs alpha vs i386
No. Don't do it. Danger Danger Danger! On Tue, Nov 09, 2010 at 02:54:15PM -0200, Christiano F. Haesbaert wrote: Hi there, I'm putting some disks on a sparc64 (ultra5), the problem is that I don't have another spare sparc64 machine in case hardware fails. Could I mount them on an alpha or i386 ? I'm pretty sure that can't be done in i386 since the endianess is different, but alpha shares the same one. Searching through the archives it seems FFS is indeed endianess dependent, is there any other incompatibility ? Thanks.
Re: openbsd suspend to disk
We don't do that yet. Mlarkin has a diff but it needs a lot more love. On Nov 8, 2010, at 6:32, patrick kristensen kristensenpatri...@gmail.com wrote: this is a request for help enabling suspend to disk (hibernate). the only reference to this in faq (that i have found) is the 4.5.3 setting up disks section which mentions that a separate partition is needed for setting up suspend to disk. dmesg OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT real mem = 1998659584 (1906MB) avail mem = 1955979264 (1865MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/23/10, BIOS32 rev. 0 @ 0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version 6QET52WW (1.22 ) date 08/23/2010 bios0: LENOVO 3323BTG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 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: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 13 (EXP1) cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT real mem = 1998659584 (1906MB) avail mem = 1955979264 (1865MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/23/10, BIOS32 rev. 0 @ 0xfdbe0, SMBIOS rev. 2.6 @ 0xe0010 (78 entries) bios0: vendor LENOVO version 6QET52WW (1.22 ) date 08/23/2010 bios0: LENOVO 3323BTG acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 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: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus
Re: relayd port to linux
On Fri, Nov 05, 2010 at 10:31:42PM +0100, Aleksandar Lazic wrote: On Fre 05.11.2010 10:45, Theo de Raadt wrote: due to the fact that openssh and some other parts of openbsd are ported to linux maybe you can tell me if you plan to make a openrelayd which is able to compile on linux. relayd depends deeply on pf. so the answer is no. ok, sorry for rush. Do you know a good replacement for stunnel with http-header rewrite on non openbsd OS?! You could run openbsd and be done with it. Unlike linux is doesn't suck so that helps that decision.
Re: scrotwm hangs X after update to 4.8
That looks like a hardware driver issue. oga any insight? On Tue, Nov 02, 2010 at 06:22:43PM +0200, Gregory Edigarov wrote: well, it seems like it was xorg.conf. after running X -configure and reinstalling the config - problem seems to have wanished. will observe the behaviour, though... On Tue, 2 Nov 2010 17:36:08 +0200 Gregory Edigarov g...@bestnet.kharkov.ua wrote: Hello, not sure about fvwm yet, but it seems like scrotwm can't work correctly: inteldrm0: gpu hung! no reset function for chipset. error: [drm:pid8065:inteldrm_lastclose] *ERROR* failed to idle hardware: 5 error: [drm:pid26694:inteldrm_lastclose] *ERROR* failed to idle hardware: 5 error: [drm:pid26694:i915_gem_entervt_ioctl] *ERROR* Reenabling wedged hardware, good luck inteldrm0: gpu hung! no reset function for chipset. under fvwm system seems to workOpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) CPU 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,CNXT-ID,xTPR real mem = 527986688 (503MB) avail mem = 509390848 (485MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/17/03, BIOS32 rev. 0 @ 0xfdb30, SMBIOS rev. 2.3 @ 0xf0630 (32 entries) bios0: vendor American Megatrends Inc. version P2.60 date 12/17/2003 acpi at bios0 function 0x0 not configured mpbios0 at bios0: Intel MP Specification 1.4 cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 99MHz mpbios0: bus 0 is type PCI mpbios0: bus 1 is type PCI mpbios0: bus 2 is type PCI mpbios0: bus 3 is type PCI mpbios0: bus 4 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf79e0/176 (9 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801DB LPC rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xb400 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845G Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82845G 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 0x800 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x02: apic 2 int 16 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x02: apic 2 int 19 (irq 5) uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x02: apic 2 int 18 (irq 12) ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x02: apic 2 int 23 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x82 pci1 at ppb0 bus 3 rl0 at pci1 dev 6 function 0 Realtek 8139 rev 0x10: apic 2 int 19 (irq 5), address 00:30:4f:23:15:f0 rlphy0 at rl0 phy 0: RTL internal PHY rl1 at pci1 dev 10 function 0 Realtek 8139 rev 0x10: apic 2 int 17 (irq 3), address 00:0b:6a:f8:3e:e3 rlphy1 at rl1 phy 0: RTL internal PHY ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x02: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: SAMSUNG SP0411N wd0: 16-sector PIO, LBA48, 38204MB, 78242976 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: Optiarc, DVD RW AD-7170A, 1.03 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x02: apic 2 int 17 (irq 3), ICH4 AC97 ac97: codec id 0x434d4961 (C-Media Electronics CMI9739) audio0 at auich0 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x17 lm1 at wbsio0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl,
Re: OT IPv6 Was: nfsv4?
I bet they don't like IPX either. On Nov 1, 2010, at 18:58, FRLinux frli...@gmail.com wrote: On Sun, Oct 31, 2010 at 10:09 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: I'm proud of it. Well actually, University of Alberta doesn't sound v6 enabled either... Steph
Re: OT IPv6 Was: nfsv4?
On Sun, Oct 31, 2010 at 02:01:33PM -0600, Diana Eichert wrote: On Sat, 30 Oct 2010, Marco Peereboom wrote: On Sat, Oct 30, 2010 at 10:02:47AM -0600, Diana Eichert wrote: whether you like it or not, IPv6 deployment is gaining strength. I worked on more exception documents and other excuses than products that would support it ;-) Lets hope the youtubes and facebooks go v6 so that they get of my v4 lawn. excuses only go for so long. I tell you IPv6 deployment is moving forward. think of it as more stimulus money, a lot of h/w will have to be replaced. I no longer work for a hardware company so my opinion no longer is bounded by that ;-)
Re: nfsv4?
On Fri, Oct 29, 2010 at 10:55:50PM -0700, Sean Kamath wrote: On Oct 29, 2010, at 7:43 AM, James A. Peltier wrote: As for SFTP or any other method that would duplicate data, I have already discussed why it is not a possibility. SSHFS *was and still is* a possibility but it was ruled out because of our HPC needs. I run something that could be considered (and is often referred to as) an HPC cluster. We leverage NFS heavily. We'd melt our filers if they weren't front-ended by NFS caches. You can't seek() using sftp. You can't lock a file using sftp. It's a bitch to code in sftp support to every application that expects to operate on a file. And it scales for shit: Suck down a file and wait for the whole thing? Run sshfs on the cluster to a centralized sshfs-based fileserver? I don't think so. We are using NFSv3. We'd love to have delegations in NFSv4 because it would significantly enhance the ability to locality-based locking/caching. Thousands of machines sharing the same multi-petabyte dataset won't work with sftp. Or sshfs. My point is not to suggest what the OpenBSD developers should or should not implement. That is there decision. But it annoys me that people think sftp (or any other non-block-based file transfer mechanism) is a replacement for NFS. It's not. And it's not to suggest NFSv4 is the bees knees. Some people may need/want it. Some may not. I don't think there is a debate for the need of a multi-arch networked filesystem. It is a pity there isn't anything good enough out there. It is either hacky or crappy. You can buy one and pay money out the butt and it won't work on most arches to boot. Now there is a fine open source project that could be done NOT by committee but a dedicated person who prefers functionality over bloat. Sean PS I can't believe I got sucked into this thread. All your threads are belong to us!
Re: more about softraid
On Sat, Oct 30, 2010 at 12:18:42PM +0200, Jean-Francois wrote: Le Saturday 30 October 2010 04:52:35, Marco Peereboom a icrit : On Thu, Oct 28, 2010 at 10:41:52PM +0200, Jean-Francois wrote: # bioctl -R sd0a sd2 If I understand well the above command kicks off a rebuild on a replacement device. Few questions from my side ... Is it possible to rebuild with another device for example sd0b or sd1a instead of sd0a ? (seems no if I understood properly) Assuming I got the question right, yes. You can rebuild on any appropriately sized chunk. Is the same process as for initialization required for the rebuild ? e.g. # fdisk -iy sd0 # printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E sd0 Regards Ok, to be more clear, say for example we set a softraid called sd2 with chuncks sd0a and sd1a in raid 1. sd0a becomes faulty/offline, I would like to use an appropriate chunk to relpace it, but say it is not designed sd0a but sd3a, what can we then do ? Could we rebuild on sd3a ? Lets say you have a raid 1 made out of 3 chunks; sd1a, sd2a and sd3a. Now lets say sd2a breaks and you add a new drive sd4. On that new drive you create a d partition that is of the right size. You could rebuild the softraid volume with sd4d. I left out the drive shuffling that might (will) happen to simplify the example. To prevent shuffling from biting you in the butt read up on the DUID stuff that jsing wrote. It is described in the mount(8) page. Thanks regards
Re: OT IPv6 Was: nfsv4?
On Sat, Oct 30, 2010 at 10:02:47AM -0600, Diana Eichert wrote: On Fri, 29 Oct 2010, Marco Peereboom wrote: SNIP The US government mandates it and then when it gets to the people who support it they use V4. It is a beautiful thing. Go committee design! Ask theo for his much smarter IPv5 idea. once upon a time the UG gov't mandated network gear had to support IPv6, now implementation is occurring. whether you like it or not, IPv6 deployment is gaining strength. I worked on more exception documents and other excuses than products that would support it ;-) Lets hope the youtubes and facebooks go v6 so that they get of my v4 lawn.
Re: more about softraid
On Sat, Oct 30, 2010 at 07:28:21PM +0200, Jean-Francois wrote: Le Saturday 30 October 2010 15:22:32, Marco Peereboom a icrit : On Sat, Oct 30, 2010 at 12:18:42PM +0200, Jean-Francois wrote: Le Saturday 30 October 2010 04:52:35, Marco Peereboom a icrit : On Thu, Oct 28, 2010 at 10:41:52PM +0200, Jean-Francois wrote: # bioctl -R sd0a sd2 If I understand well the above command kicks off a rebuild on a replacement device. Few questions from my side ... Is it possible to rebuild with another device for example sd0b or sd1a instead of sd0a ? (seems no if I understood properly) Assuming I got the question right, yes. You can rebuild on any appropriately sized chunk. Is the same process as for initialization required for the rebuild ? e.g. # fdisk -iy sd0 # printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E sd0 Regards Ok, to be more clear, say for example we set a softraid called sd2 with chuncks sd0a and sd1a in raid 1. sd0a becomes faulty/offline, I would like to use an appropriate chunk to relpace it, but say it is not designed sd0a but sd3a, what can we then do ? Could we rebuild on sd3a ? Lets say you have a raid 1 made out of 3 chunks; sd1a, sd2a and sd3a. Now lets say sd2a breaks and you add a new drive sd4. On that new drive you create a d partition that is of the right size. You could rebuild the softraid volume with sd4d. I left out the drive shuffling that might (will) happen to simplify the example. To prevent shuffling from biting you in the butt read up on the DUID stuff that jsing wrote. It is described in the mount(8) page. Thanks regards Good, it works perfectly. Another question, When I initiate a rebuild, is the operations done at creation needed ? For example : # fdisk -iy wd1 # printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E wd1 # bioctl -R /dev/wd1a sd0 yes but remember that this was just an example! and this is really an ugly trick to get a partition of type RAID. fdisk is not required at all and should be used only when it makes sense. Having an fdisk partition (dos partition really) means you are bound by the sizes initially invented in the 80s. It only makes sense to use if you have some multiboot thing.
Re: more about softraid
right, sorry about the confusion On Fri, Oct 29, 2010 at 09:18:19AM -0700, Chris Cappuccio wrote: Niels Poppe [ni...@netbox.org] wrote: 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? I ran into this just the other day, bioctl -R sd0a sd2 didn't work, bioctl -R /dev/sd0a sd2 did -- Let food be thy medicine and medicine be thy food - Hippocrates
Re: nfsv4?
On Fri, Oct 29, 2010 at 08:24:43PM -0500, Corey wrote: On 10/28/2010 06:42 AM, Kevin Chadwick wrote: On Thu, 28 Oct 2010 10:30:25 +0200 Henning Brauerlists-open...@bsws.de wrote: * Claudio Jekercje...@diehard.n-r-g.com [2010-10-28 10:01]: i have theorized in the past that the problem we face is that an insufficient number of axe murderers are attending those kinds of research meetings. Why not taking part of intl. engineering ? Thus you could act upon worldwide decisions. Taking part of intl. engineering brings you either into a lunatic asylum or into prison. We're not that dumb to go down that road. we can't even. no way without being backed by a multinational corparate money sink. -- 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 It's exponential, I don't see why they didn't just add more dots. It wasted most of a day of my life deciding I'll stick to ipv4, for as long as possible. ipv6 has drawbacks and the only benefits I saw are doable and with more choice on ipv4. I've always tried to steer clear of nfs,rpc, samba too. I did see some software recently for windows that was supposed to enable sftp to act like a windows share. I haven't had time or the need to see what sort of filesystem integration exists for sftp on multiple platforms. I've put off learning anything really about IPv6 in hopes that after most organizations ignore it, it withers and dies (at least in its current form). I may be deluding myself, what with the US government seemingly mandating it in the near future. But as long as my ISP doesn't, and most others don't, I guess I'm OK. The US government mandates it and then when it gets to the people who support it they use V4. It is a beautiful thing. Go committee design! Ask theo for his much smarter IPv5 idea. Corey
Re: more about softraid
On Thu, Oct 28, 2010 at 10:41:52PM +0200, Jean-Francois wrote: # bioctl -R sd0a sd2 If I understand well the above command kicks off a rebuild on a replacement device. Few questions from my side ... Is it possible to rebuild with another device for example sd0b or sd1a instead of sd0a ? (seems no if I understood properly) Assuming I got the question right, yes. You can rebuild on any appropriately sized chunk. Is the same process as for initialization required for the rebuild ? e.g. # fdisk -iy sd0 # printf a\n\n\n\nRAID\nw\nq\n\n | disklabel -E sd0 Regards
Re: more about softraid
Really? that's odd. Did you try it a second time later by any chance? On Mon, Oct 25, 2010 at 04:22:45AM +0200, Niels Poppe wrote: 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
Re: more about softraid
That should work just fine. Can you paste the entire dmesg after you kick off the rebuild that fails? On Sat, Oct 30, 2010 at 03:02:43AM +0200, Niels Poppe wrote: On Fri, Oct 29, 2010 at 05:39:27PM -0700, Chris Cappuccio wrote: Are the partition sizes on sd0a/sd1a (I assume the are mirrored) the same? What does disklabel show for the RAIDed disks? sd0 and sd2 are exactly identical # disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: USB DISK 2.0 uid: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 486 total sectors: 7811072 boundstart: 63 boundend: 7807590 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 7807527 63RAID c: 78110720 unused # disklabel sd1 # /dev/rsd1c: type: SCSI disk: SCSI disk label: USB DISK 2.0 uid: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 486 total sectors: 7811072 boundstart: 63 boundend: 7807590 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 7807527 63RAID c: 78110720 unused # disklabel sd2 # /dev/rsd2c: type: SCSI disk: SCSI disk label: SR RAID 1 uid: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 485 total sectors: 7807448 boundstart: 0 boundend: 7807448 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c: 78074480 unused f: 78074480 4.2BSD 2048 163841 # /volumes/backup
Re: Dell R410 mpii: xfer timeout and sd0 errors
That is a bad drive. You should replace it asap. On Oct 25, 2010, at 12:52, Rodolfo Gouveia rgouv...@cosmico.net wrote: Hi all! I'm having these errors with mpii0: mpii0: xfer timeout, ccb 4 state 2 mpii0: xfer timeout, ccb 5 state 2 mpii0: xfer timeout, ccb 43 state 2 mpii0: xfer timeout, ccb 51 state 2 mpii0: xfer timeout, ccb 24 state 2 ... mpii0: xfer timeout, ccb 104 state 2 And also: /bsd: sd0(mpii0:1:0): Check Condition (error 0x70) on opcode 0x28 /bsd: SENSE KEY: Media Error /bsd: INFO: 0xc664e20 (VALID flag on) /bsd: ASC/ASCQ: Unrecovered Read Error /bsd: sd0(mpii0:1:0): Check Condition (error 0x70) on opcode 0x28 This is on a Dell PowerEdge R410 with two disks as RAID 1 on mpii(4). The machine normally just lockups under some IO load due to a PostgreSQL server. As this is on the datacenter I would like to know if this could be triggered by something else than hardware before going there locally. This is on 4.7 -release AMD64. Any feedback is appreciated, --rodolfo OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3478622208 (3317MB) avail mem = 3379052544 (3222MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xcf79c000 (77 entries) bios0: vendor Dell Inc. version 1.3.9 date 04/07/2010 bios0: Dell Inc. PowerEdge R410 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC SPCR HPET DM__ MCFG WDAT SLIC ERST HEST BERT EINJ SRAT TCPA SSDT acpi0: wakeup devices PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 16 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5502 @ 1.87GHz, 1862.26 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16, xTPR,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 20 (application processor) cpu1: Intel(R) Xeon(R) CPU E5502 @ 1.87GHz, 1862.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16, xTPR,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 1 pa 0xfec8, version 20, 24 pins ioapic1: misconfigured as apic 0, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEX1) acpiprt2 at acpi0: bus 2 (PEX3) acpiprt3 at acpi0: bus 3 (PEX7) acpiprt4 at acpi0: bus -1 (PEX9) acpiprt5 at acpi0: bus -1 (PEXA) acpiprt6 at acpi0: bus -1 (SBEX) acpiprt7 at acpi0: bus 4 (COMP) acpicpu0 at acpi0: C3, C1 acpicpu1 at acpi0: C3, C1 ipmi at mainbus0 not configured cpu0: unknown i686 model 0x1a, can't get bus clock cpu0: EST: PSS not yet available for this processor pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 5500 Host rev 0x13 ppb0 at pci0 dev 1 function 0 Intel X58 PCIE rev 0x13 pci1 at ppb0 bus 1 bnx0 at pci1 dev 0 function 0 Broadcom BCM5716 rev 0x20: apic 1 int 4 (irq 15) bnx1 at pci1 dev 0 function 1 Broadcom BCM5716 rev 0x20: apic 1 int 16 (irq 14) ppb1 at pci0 dev 3 function 0 Intel X58 PCIE rev 0x13 pci2 at ppb1 bus 2 ppb2 at pci0 dev 7 function 0 Intel X58 PCIE rev 0x13: apic 1 int 21 (irq 0) pci3 at ppb2 bus 3 mpii0 at pci3 dev 0 function 0 Symbios Logic SAS2008 rev 0x02: apic 1 int 6 (irq 15) scsibus0 at mpii0: 42 targets sd0 at scsibus0 targ 1 lun 0: Dell, Virtual Disk, 1028 SCSI4 0/direct fixed sd0: 237824MB, 512 bytes/sec, 487063552 sec total mpii0: unable to create sensors Intel X58 Misc rev 0x13 at pci0 dev 20 function 0 not configured Intel X58 GPIO rev 0x13 at pci0 dev 20 function 1 not configured Intel X58 RAS rev 0x13 at pci0 dev 20 function 2 not configured uhci0 at pci0 dev 26 function 0 Intel 82801JI USB rev 0x00: apic 0 int 17 (irq 14) uhci1 at pci0 dev 26 function 1 Intel 82801JI USB rev 0x00: apic 0 int 18 (irq 11) ehci0 at pci0 dev 26 function 7 Intel 82801JI USB rev 0x00: apic 0 int 19 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 uhci2 at pci0 dev 29 function 0 Intel 82801JI USB rev 0x00: apic 0 int 21 (irq 6) uhci3 at pci0 dev 29 function 1 Intel 82801JI USB rev 0x00: apic 0 int 20 (irq 5) uhci4 at pci0 dev 29 function 2 Intel 82801JI USB rev 0x00: apic 0 int 21 (irq 6) uhci5 at pci0 dev 29 function 3 Intel 82801JI USB rev 0x00: apic 0 int 20 (irq 5) ehci1 at pci0 dev 29 function 7 Intel 82801JI USB rev 0x00: apic 0 int 21 (irq 6) 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 82801BA Hub-to-PCI rev 0x90 pci4 at ppb3 bus 4 vga1 at pci4 dev 3 function 0 Matrox MGA G200eW rev 0x0a wsdisplay0 at vga1 mux 1: console (80x25, vt100
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
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: 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: 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: 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: Linux or OpenBSD
On Oct 23, 2010, at 8:48, 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 Also, Linux is better supported by hardware vendors, and/or much less picky about hardware than OpenBSD is. If you consider the garbage these vendors call drivers then sure. The only debate really comes down to smp and flash. If you are indifferent between the hackishness of iptables and the elegance of pf, then go with Linux because of the better hardware, and keep your fingers crossed that none of the security problems hit you (you're going to build a firewall, after all, right?). Kind regards, --Toni++
Re: more about softraid
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. On Oct 23, 2010, at 17:51, Jean-Francois jfsimon1...@gmail.com wrote: Le Sunday 24 October 2010 00:34:53, Tomas Bodzar a C)crit : I think that this will solve your hunt for informations ;-) http://www.openbsd.org/papers/asiabsdcon2010_softraid/softraid.pdf On Sun, Oct 24, 2010 at 1:21 AM, Jean-Francois jfsimon1...@gmail.com wrote: Hi, I'm having difficulty to understand how softraid works ie. how to add chunks, remove chunks, change and rebuild, add/remove hotspares. The manpages bioctl softraid only mention basic configuration, but once the raid is working ... any other related docs or man ? Thanks, J-F Thanks, it effectively helps to understand how it works, but not yet the command lines used to add-change-remove-rename chuncks or hotspares. At least, I can't figure out how to do it, I just could understand how to basically set it up, or let say initialize a softraid. I'm limited to basics, I could'nt yet do advanced configuration of an already built raid, I could not figure out with available docs (including above mentionned one) and the man pages. Regards
Re: more about softraid
How would softraid know which sd to rebuild if 3 are degraded? Not debating the language couldn't be improved but that bit is IMO pretty 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 On Oct 23, 2010, at 17:51, Jean-Francois jfsimon1...@gmail.com wrote: Le Sunday 24 October 2010 00:34:53, Tomas Bodzar a C)crit : I think that this will solve your hunt for informations ;-) http://www.openbsd.org/papers/asiabsdcon2010_softraid/softraid.pdf On Sun, Oct 24, 2010 at 1:21 AM, Jean-Francois jfsimon1...@gmail.com wrote: Hi, I'm having difficulty to understand how softraid works ie. how to add chunks, remove chunks, change and rebuild, add/remove hotspares. The manpages bioctl softraid only mention basic configuration, but once the raid is working ... any other related docs or man ? Thanks, J-F Thanks, it effectively helps to understand how it works, but not yet the command lines used to add-change-remove-rename chuncks or hotspares.
Re: Adaptec Serial ATA RAID 21610SA
run forest run! really, don't use adaptec raid if you like your data. On Fri, Oct 22, 2010 at 11:44:08AM -0400, S H wrote: Hi misc, I'm looking for some feedback from people who might have tried using an Adaptec Serial ATA RAID 21610SA on OpenBSD. I completely understand why Theo and the rest of the developers don't include the driver in the GENERIC kernel since they were never given the documentation from Adaptec needed to create the best driver possible. My file server currently runs FreeBSD 8.1 and has the adaptec card in it, thus far it's ran quite well but I would love to have that system running OpenBSD if I can. So I'm hoping someone on misc has experience with this card and might be able to offer some insight as to what I can expect in comparison to how it runs on FBSD... I also wanted to take this time to thank all of the other developers for the upcoming release. Shawn
Re: i386 and amd64 snapshots - kernel SHA256 mismatch
On Sat, Oct 16, 2010 at 01:08:25AM +, JC Choisy wrote: Theo de Raadt deraadt at cvs.openbsd.org writes: With snapshots, this will happen from time to time. If people start not understanding why the install media does this check, and that failure is OK, then I will remove the code on the install media. Adjust your expectations. A hash failure can be OK. Another alternative is that I only do snapshot builds about every 2 weeks. How's that idea? As I say, adjust your expectations. OpenBSD-current is most of the times an excellent quality system, better and more reliable than most other 'stable' systems. This may alter one's ability to keep his expectations where they should be. That being out of the way, you got me wondering what good is any integrity check which failure is OK. It is only meant to help uptight people having some sort of false sense of integrity/security. It really is for release only because snapshots are a moving target. In my opinion the whole check is a giant waste of time because every damn time the snaps are out of sync for a reason or another people come whining to the list about something that is irrelevant. Thanks, -jc
Re: -current/amd64 @ macbook3,1
Does it suspend? On Oct 13, 2010, at 16:51, Jan Stary h...@stare.cz wrote: This is a fresh upgrade of current/amd64 on a Macbook3,1. Basically, everything works except the wifi and uvideo. The wifi is reported as Wireless Card Type: AirPort Extreme (0x14E4, 0x88) Wireless Card Firmware: Broadcom BCM43xx 1.0 (510.91.21) by the MacOSX 10.5.8 I dualboot at the machine. It does not seem to be mentioned in the dmesg below. Who is the person at Broadcom that I shall scream at / kindly ask for documentation? (I have read the bcw story starting at http://marc.info/?l=linux-wirelessm=117571766928130w=2 which gives me little hope.) I installed the uvideo firmware as documented in uvideo(4). I can capture an image with 'fswebcam image.jpg'; I have problems capturing a video stream with ffmpeg -y -f video4linux2 -s vga -r 25 -i /dev/video0 /tmp/out.mpg (the fps eventually drops to 0 and results in a tiny file containing just a few frames) but I haven't really tried tweaking the format options. X works; sound works; suspend/resume works, including machdep.lidsuspend. However, after the resume, apmd seems to be a bit confused: I use apmd -A, and after a resume, it always jumps to hw.setperf=100 and hw.cpuspeed=2000 (and the fan gets loud) although there is actually nothing much happening, load-wise. A workaround seems to be 'apm -L' followed by 'apm -A' again. That makes 'apmd -A' drop hw.setperf when there is not much work. As a macbook, it has no pgup/pgdn, home/end, delete/insert, etc. (Luckilly, there is a tilda.) Under MacOSX, there are key combinations (Fn+Up = PgUp etc) for these. What are people using under OpenBSD? Someone has a ~/.xmodmaprc figured out nicely? Also, the installer offered the ftp.sh.cvut.cz mirror, which is the university I work at; nice touch, this :-) Thank you very much. Jan OpenBSD 4.8-current (GENERIC.MP) #572: Wed Oct 6 14:22:30 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2646556672 (2523MB) avail mem = 2562240512 (2443MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (44 entries) bios0: vendor Apple Inc. version MB31.88Z.008E.B02.0803051832 date 03/05/08 bios0: Apple Inc. MacBook3,1 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.34 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3 ,CX16,xTPR,PDCM,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP05) acpiprt2 at acpi0: bus 3 (RP06) acpiprt3 at acpi0: bus 4 (PCIB) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 15253732082930497 type 15253732284385612 oem 15253732284452179 acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD_ acpivout1 at acpivideo0: VGA_ acpivout2 at acpivideo0: TV__ cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1800, 1600, 1400, 1200, 800 MHz memory map conflict 0xf00f8000/0x1000 memory map conflict 0xfed1c000/0x4000 memory map conflict 0xfffa/0x3 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel GM965 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 0xa000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 (irq 11) drm0 at inteldrm0 Intel GM965 Video rev 0x03 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 16 (irq 11) ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 21 (irq 9) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI
Re: BIOCTL Rebuild: invalid argument
On Mon, Oct 04, 2010 at 06:34:03AM -0700, Clint Pachl wrote: I tried to rebuild a single disk in a 4 disk raid-10 array using the following command: # bioctl -R 0:3 sd0 bioctl: BIOCSETSTATE: invalid argument What does this mean exactly? I did rebuild the array via the MegaRAID BIOS utility. Are we able to rebuild arrays via bioctl? No. You need to use the CTRL-M BIOS thing. At some point I'll add support for that to bioctl but currently it is only for softraid.
Re: OpenBSD Vim Programming FAQ
It asks for a password and shit. Not sure how I could use this. On Mon, Oct 04, 2010 at 11:32:10PM +0200, Tomas Vavrys wrote: After 2 months I have to announce that I am unable to finish the guide. I am too busy at the moment and unfortunately I will be still busy for a long time. Anyway, there has been a lot of people interested in this guide, so I suppose someone could use my work/ideas and make it come true. Document link (First week progress) https://docs.google.com/a/cleancode.cz/document/pub?id=11NGGh2Wbr7gESXCCxwHhwe35V_HCROMKNNIQE1qB6-0 Feel free to edit it, keep it or distribute it.
Re: Is GeForce 8200 supported ?
nivida really isn't supported at all. Not their video boards, not the chipsets etc. just don't buy nvidia it is crap hardware to boot. On Sat, Oct 02, 2010 at 10:55:19AM +0200, Jean-Francois wrote: Le Thursday 30 September 2010 22:45:02, Chris Cappuccio a icrit : Not supported Jean-Francois [jfsimon1...@gmail.com] wrote: Hello, I have a problem starting X and in Xorg.0.log there is the following lines. Is it a driver error ? It's an integrated graphic card on the MB providing both vesa/hdmi outputs. Could you please help ? (II) VESA: driver for VESA chipsets: vesa (II) Primary Device is: PCI 0...@00:00.0 (WW) NV: Ignoring unsupported device 0x10de0849 (GeForce 8200) at 0...@00:00.0 (WW) Falling back to old probe method for vesa (EE) No devices detected. Fatal server error: no screens found Is there noway to solve this with existing software, such as a compatible but limited driver ? Regards
Re: Which Video to use: AGP ATI or Onboard Intel
Either ATI or intel work pretty well. ATI is a bit faster but I'd guess Intel is marginally better supported. There are of course Intel and ATI boards that aren't very well supported (yet). On Sat, Oct 02, 2010 at 06:00:10PM +0100, Kevin Chadwick wrote: Just added a system to the network with a rage agp card and onboard intel. I've never liked the idea of a video card using system memory but am under the impression that the intel driver support is better at the moment in OpenBSD. Which would you choose?
Re: Linux or OpenBSD
Ah the fresh smell of paranoia on a Monday morning! On Mon, Sep 27, 2010 at 05:00:05PM +0200, Martin Schr?der wrote: 2010/9/27 Joachim Schipper joac...@joachimschipper.nl: True, but considering some of the haha Theo suck on this commentary I recall from the rare case where OpenBSD *did* have an issue, this does not necessarily reflect a total lack of effort. True, but if you read the reports about stuxnet, you start to wonder how many 0days are stored away for further use by some entities... We simply don't know if and who is monitoring theos (or yours) keystrokes. Best Martin
Re: OpenBSD Dell Latitude E6500 built in wireless
I have the intel. I always order laptops with the intel wireless cards. On Tue, Sep 14, 2010 at 01:14:48AM -0700, James Peltier wrote: Anyone using the Dell Latitude E6500 with the built in Broadcom wireless adaptor? I see that marco@ mentions he owns a E6500 here http://www.mail-archive.com/source-chan...@openbsd.org/msg04064.html but I don't see reference to it in the bwi device or elsewhere. I'm running -current -- James A. Peltier james_a_pelt...@yahoo.ca