Re: Munich BSD meetup
On Sun, 8 Feb 2015 01:42:50 -0500 Christopher Barry wrote: > I mean, you guys did buy Budweiser, just sayin... I am still buying Budweiser, it is my favourite beer. Just probably not the one you are referring to. "Budweis" is German name for city of České Budějovice in Czech Republic. "Budweiser" means "the one from Budweis", the same as "New Yorker" means "the one from New York". http://en.wikipedia.org/wiki/Budweiser_Budvar_Brewery -- Marko Cupać
Re: mSATA mini SSD in Asus J1800IC
On Jan 25 12:04:01, ducl...@guu.fi wrote: > > This "disk" is not even detected. I am aware that not all of these > > mSATAs work in all of the miniPCIe slots, even if the form factor is right, > > but I never figured out how to tell. > > The PCIe slot must be wired to a SATA controller. Don't assume it is, unless > your motherboard's manual states it is. > > And then you may have to go into BIOS and choose whether the slot should work > as PCIe or as mSATA. > > I've heard rumors that there are actual PCIe cards that look exactly like > mSATA drives but which implement a SATA controller and thus work as a real > PCIe card and thus should work without a specially wired slot... don't ask > for details. This seems to be exactly my problem. So, does anyone please know about such a card/disk? On Jan 26 09:58:09, rczlo...@gmail.com wrote: > Like you have mentioned, the connector on the motherboard is a mini PCI > Express one and these are not necessarily compatible with mSATA - they > share the same form factor and only some will support an mSATA > drives[0]. > [0] https://en.wikipedia.org/wiki/PCI_Express#MSATA Thanks for the insight. > You'll need to check with ASUS as they might have some sort of > compatibility list akin to, i.e. intel's[1]. > [1] http://www.intel.com/support/motherboards/desktop/sb/cs-032415.htm This is exactly the compatibility list I have used for my Intel boards. Couldn't find anything like that for ASUS, and their "technical support" didn't know shit of course ... Jan
Best filesystem & options for large drive
I'm setting up an openBSD 5.6 box with a 4TB raid to back up a video editing cluster. I'll be using BackupPC which likes to have a single large volume so it can de-duplicate files using hard links. Thus the main volume will be all the 4TB. I know FFS2 can handle that size easily, but I'm worried about fsck taking forever. This machine will have 1.5GB RAM, from what I've read that's not enough memory to fsck a 4TB volume without painful swapping. Is there some filesystem-plus-options for recent OpenBSD that guarantees the disk will always be in a consistent state, even after a crash, so that fsck won't be necessary? (Yes I'll be testing out the RAID before deploying, would like to start with the right filesystem on it from the outset. And yes it will be on a UPS with graceful shutdown. I don't trust myself to get it all right, and bad things still happen...) -y
Re: Best filesystem & options for large drive
On 2015-02-10, yary wrote: > I know FFS2 can handle that size easily, but I'm worried about fsck > taking forever. This machine will have 1.5GB RAM, from what I've read > that's not enough memory to fsck a 4TB volume without painful > swapping. It vastly depends on the number of files you have on there. Here's an almost full 4TB drive... # df -hi /export Filesystem SizeUsed Avail Capacity iused ifree %iused Mounted on /dev/sd0d 3.6T3.3T124G96%1642 122292628 0% /export ... but it has only 1642 files and directories. Checking this takes all of 60 seconds and 83M of memory; # umount /export # \time -l fsck -f /dev/sd0d ** /dev/rsd0d ** File system is already clean ** Last Mounted on /export ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1642 files, 444033559 used, 40503354 free (306 frags, 5062881 blocks, 0.0% fragmentation) 60.37 real14.21 user 4.29 sys 83688 maximum resident set size 0 average shared memory size 0 average unshared data size 0 average unshared stack size 513846 minor page faults 3 major page faults 0 swaps 0 block input operations 9 block output operations 0 messages sent 0 messages received 0 signals received 30962 voluntary context switches 19 involuntary context switches -- Christian "naddy" Weisgerber na...@mips.inka.de
Elantech touchpad v3 - erratic movements
Hello, I installed OpenBSD 5.6 (-release) on my laptop, Acer Aspire E1-572. Everything works great as far as I can tell except for the touchpad. Judging by the dmesg output it is an Elantech Touchpad, version 3 using firmware 0x454f00. I didn't configure X. Using the touchpad results in very erratic behaviour i.e. the mouse jumps around/lags. The dmesg shows the message: "pms0: not in sync yet, discard input (state N)" N switching between 0 and 3 (see dmesg below). I tried looking for the point of failure myself. The function issuing the "not in sync yet" messages, void pmsinput(void *vsc, int data), is located at sys/dev/ pckbc/pms.c The only function in this source file calling pmsinput is pmsattach. pmsattach is included in this struct: struct cfattach pms_ca = { sizeof(struct pms_softc), pmsprobe, pmsattach, NULL, pmsactivate }; I didn't come any further, nor am I sure if my assertions are really true or helpful. I have no experience or expertise with kernel source code. Kind regards dmesg output: OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug 8 00:20:21 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80 real mem = 3989565440 (3804MB) avail mem = 3874574336 (3695MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe7170 (26 entries) bios0: vendor Insyde Corp. version "V2.04" date 05/21/2013 bios0: Acer Aspire E1-572 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI FPDT ASF! HPET APIC MCFG SSDT BOOT ASPT DBGP SSDT SSDT SSDT DMAR acpi0: wakeup devices P0P1(S4) EHC1(S3) XHC_(S3) HDEF(S4) TPD4(S4) PXSX(S4) RP03(S4) PEGP(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEG2(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) i3-4010U CPU @ 1.70GHz, 1596.54 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz, 1596.31 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz, 1596.31 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz, 1596.31 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus -1 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus 1 (RP03) acpiprt5 at acpi0: bus 2 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus -1 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus -1 (PEG0) acpiprt11 at acpi0: bus -1 (PEG1) acpiprt12 at acpi0: bus -1 (PEG2) acpiec0 at acpi0 acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpicpu2 at acpi0: C1, PSS acpicpu3 at acpi0: C1, PSS acpibat0 at acpi0: BAT1 model "14130103943515201" serial cb99 type Lion oem "SANYO " acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi
Re: Best filesystem & options for large drive
On Feb 10 17:48:22, na...@mips.inka.de wrote: > On 2015-02-10, yary wrote: > > > I know FFS2 can handle that size easily, but I'm worried about fsck > > taking forever. This machine will have 1.5GB RAM, from what I've read > > that's not enough memory to fsck a 4TB volume without painful > > swapping. > > It vastly depends on the number of files you have on there. And if you know in advance that the files will be large ("video editing"?) and there will not be many of them, you might benefit from 'newfs -i' (and other options) when creating the file system.
a thankyou to OpenBSD
I don't post much any more, my OpenBSD systems "just work". Just wanted to post a thank you to OpenBSD because it does "just work". My day job entails a lot of Linux support, lately I've been dealing with the big screwup associated with network interface naming. WHY can't Linux follow BSD's straightforward NIC naming? It's positively bizarre all the crappy little files and "utilities" they have come up with so you can munge NIC names to something more useful than "p3p2"!!!. In appreciation I just sent in a donation via the OpenBSD donation page. g.day fade to black diana Past hissy-fits are not a predictor of future hissy-fits. Nick Holland(06 Dec 2005)
Re: Best filesystem & options for large drive
here's an example for fsck on a largish volume with a lot of files: # df -hi /nfs/archive Filesystem SizeUsed Avail Capacity iused ifree %iused Mounted on /dev/sd0e 3.6T2.3T1.2T67% 3900811 119021683 3% /nfs/archive # umount /nfs/archive # \time -l fsck -f /dev/sd0e ** /dev/rsd0e ** File system is already clean ** Last Mounted on /nfs/archive ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 3900811 files, 307622602 used, 179239875 free (49355 frags, 22398815 blocks, 0.0% fragmentation) 1966.70 real14.68 user36.78 sys 137096 maximum resident set size 0 average shared memory size 0 average unshared data size 0 average unshared stack size 3561095 minor page faults 4 major page faults 0 swaps 0 block input operations 5 block output operations 0 messages sent 0 messages received 0 signals received 526407 voluntary context switches 30 involuntary context switches # note that with nearly 4 million files, the amount of time required by fsck increased dramatically(over 30 minutes) but memory usage increased much less (only 137MB). this particular system has 12GB RAM but doesn't appear to ever use much of it. the sd0 device is a 6TB RAID10 array (4x 3TB drives) on an Areca ARC1110 PCI-X controller (in a 64-bit 133MHz PCI-X slot), partitioned with 1/3 of the space on sd0d and the remaining 2/3 on sd0e. /dev/sd0d was mostly idle (although still mounted) while fsck was running. -ken On Tue, Feb 10, 2015 at 5:35 PM, Jan Stary wrote: > On Feb 10 17:48:22, na...@mips.inka.de wrote: > > On 2015-02-10, yary wrote: > > > > > I know FFS2 can handle that size easily, but I'm worried about fsck > > > taking forever. This machine will have 1.5GB RAM, from what I've read > > > that's not enough memory to fsck a 4TB volume without painful > > > swapping. > > > > It vastly depends on the number of files you have on there. > > And if you know in advance that the files will be large > ("video editing"?) and there will not be many of them, > you might benefit from 'newfs -i' (and other options) > when creating the file system.
Audio probles like, slow response in applications that use audio and a little noise in the background
Hi, I'm new in OpenBSD (I'm loving it), I came from Linux. I installed the last (5.6) version, and I started to use, without doing any change in audio settings. The first thing I noticed while computing at night, is a little noise in the background, it is very low, but it exist and bothers me, its more like a television sound when it don't have signali, but very low. I checked if the problem wasn't the earphone, but It worked fine plugged in a windows notebook, and I was using it in Linux in this computer around 2 days ago, its also not eletric problem, because it don't sounds like one, my computer never had this and it don't stop if I put my hands on it. I installed cmus, copied some musics to my disk and started to listen. It plays normally, but when I click the arrows to advance in the music, I noticed it have a delay, and it lags if I click like 3 times to advance. And if click to close the application, the application close in the same time, but the audio stay playing for a while. The next thing is mplayer, It lag to advance the video (as cmus), but it don't stay playing when I click close. The last similar problem happens when I am playing a html5 video and I pause or it stops to load, the audio gets desynchronized. So I need to click in a part of the timeline to get it working again. All these errors happens on the console too. My keyboard normal keys have no lag in Xorg (I have lag problems in Caps/Num/Scroll Lock keys under X, but this is for another post). ** Now the hardware/software info: ** My motherboard is a ASUS Z87-K, the official site says it have an Realtek ALC887 8-Channel High Definition Audio CODEC *2 audio device. In Linux, it uses the snd-hda-intel module. * The pcidump output: Domain /dev/pci0: 0:0:0: Intel Core 4G Host 0:1:0: Intel Core 4G PCIE 0:2:0: Intel HD Graphics 4600 0:3:0: Intel Core 4G HD Audio 0:20:0: Intel 8 Series xHCI 0:22:0: Intel 8 Series MEI 0:26:0: Intel 8 Series USB 0:27:0: Intel 8 Series HD Audio 0:28:0: Intel 8 Series PCIE 0:28:2: Intel 8 Series PCIE 0:28:3: Intel 82801BA Hub-to-PCI 0:29:0: Intel 8 Series USB 0:31:0: Intel Z87 LPC 0:31:2: Intel 8 Series AHCI 0:31:3: Intel 8 Series SMBus 3:0:0: Realtek 8168 4:0:0: ASMedia ASM1083/1085 PCIE-PCI * The dmesg output will be attached, since I can't copy and paste it here, sorry. and it have all the info of /var/run/dmesg.boot I think its all, I asked to people and I can't find if this audio device is supported or not, If you need more information please ask. Thank you for this wonderfull OS. -- Regards Henrique Lengler OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug 8 00:20:21 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8439386112 (8048MB) avail mem = 8205946880 (7825MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec1f0 (82 entries) bios0: vendor American Megatrends Inc. version "1401" date 07/29/2014 bios0: ASUS All Series acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT LPIT SSDT SSDT MCFG HPET SSDT SSDT BGRT acpi0: wakeup devices UAR1(S4) PS2K(S4) PS2M(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz, 3498.48 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz, 3497.98 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz, 3497.98 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POP
More partitions!?
Been upgrading by install, and I'm finding I want another several partitions. I presently have, in addition to whole drive, swap, and root, /home, /tmp, /usr, /usr/X11R6, /usr/local, /usr/obj, /usr/ports, /usr/src, /usr/xenocara, /var, and /my/DOS. I want another for /usr/xobj, but I need to keep a few free for accessing other stuff on the boot drive (multiboot stuff). On my desktop with three drives, I will eventually put /home on a separate drive and free up one of the device partitions on the boot drive, but laptops aren't really amenable to that. And that only frees one more. I'm looking at the instructions for building from source (FAQ 15) and seeing what looks like environment variables that I could set to move the source tree down a level. If I could put /usr/src, /usr/ports, /usr/xenocara, /usr/obj, and /usr/xobj all under, say, /usr/bld, as /usr/bld/src, /usr/bld/ports, /usr/bld/obj, /usr/bld/xenocara, and /usr/bld/xobj, it would allow me to free up several device partitions while still keeping the build tree separate from the rest of /usr. It would also make allocating space and inodes for the build tree a bit more flexible. If I try this, how much pain am I going to be buying myself? Joel Rees Computer memory is just fancy paper, CPUs just fancy pens. All is a stream of text flowing from the past into the future.
Re: More partitions!?
Joel Rees wrote: > I'm looking at the instructions for building from source (FAQ 15) and > seeing what looks like environment variables that I could set to move the > source tree down a level. If I could put /usr/src, /usr/ports, > /usr/xenocara, /usr/obj, and /usr/xobj all under, say, /usr/bld, as > /usr/bld/src, /usr/bld/ports, /usr/bld/obj, /usr/bld/xenocara, and > /usr/bld/xobj, it would allow me to free up several device partitions while > still keeping the build tree separate from the rest of /usr. It would also > make allocating space and inodes for the build tree a bit more flexible. refer to mk.conf. You set BSDSRCDIR and BSDOBJDIR and whatever and it works fine.