installboot(8)
Hi there! Sorry if this may sound like a rather stupid question: (Referencing the examples section of man installboot(8)) Can s.o. verifiy that instead of # installboot sd0 it is equally safe to issue # installboot (the DUID itself, of course)? My system is fully encrypted with sd1 usually being the (unencrypted) boot disk - but if external USB disks are attached that number seems not to be quaranteed. TIA! Best, STEFAN
Re: installboot(8)
Am 07/04/17 um 20:55 schrieb Paul de Weerd: > On Tue, Jul 04, 2017 at 08:34:56PM +0200, Stefan Wollny wrote: > | Hi there! > | > | Sorry if this may sound like a rather stupid question: > | (Referencing the examples section of man installboot(8)) > | > | Can s.o. verifiy that instead of > | # installboot sd0 > | > | it is equally safe to issue > | # installboot > | (the DUID itself, of course)? > | > | My system is fully encrypted with sd1 usually being the (unencrypted) > | boot disk - but if external USB disks are attached that number seems not > | to be quaranteed. > > simply `installboot $(df -h / | grep -o -E '[ws]d[0-9]+')` > > There's definitely a difference between using the device name and the > DUID: > > [weerd@pom] $ doas installboot -v `awk -F. '/ \/ / {print $1}' /etc/fstab` > Using / as root > installing bootstrap on /dev/rsd14c > using first-stage /usr/mdec/biosboot, second-stage /usr/mdec/boot > 5c0d9a38cc895a7d: softraid volume with 0 disk(s) > 5c0d9a38cc895a7d: installing boot loader on softraid volume > /usr/mdec/boot is 6 blocks x 16384 bytes > > [weerd@pom] $ doas installboot -v $(df -h / | grep -o -E '[ws]d[0-9]+') > Using / as root > installing bootstrap on /dev/rsd14c > using first-stage /usr/mdec/biosboot, second-stage /usr/mdec/boot > sd14: softraid volume with 1 disk(s) > sd14: installing boot loader on softraid volume > /usr/mdec/boot is 6 blocks x 16384 bytes > sd0a: installing boot blocks on /dev/rsd0c, part offset 144 > master boot record (MBR) at sector 0 > partition 3: type 0xA6 offset 64 size 1953520001 > /usr/mdec/biosboot will be written at sector 64 > > So if I were you, I'd continue using the device for now. > Thank you - excellent explanation and advice! Best, STEFAN
Re: installboot(8)
Am 07/05/17 um 17:59 schrieb Joel Sing: > On Tuesday 04 July 2017 20:55:25 Paul de Weerd wrote: >> On Tue, Jul 04, 2017 at 08:34:56PM +0200, Stefan Wollny wrote: >> | Hi there! >> | >> | Sorry if this may sound like a rather stupid question: >> | (Referencing the examples section of man installboot(8)) >> | >> | Can s.o. verifiy that instead of >> | # installboot sd0 >> | >> | it is equally safe to issue >> | # installboot >> | (the DUID itself, of course)? >> | >> | My system is fully encrypted with sd1 usually being the (unencrypted) >> | boot disk - but if external USB disks are attached that number seems not >> | to be quaranteed. >> >> simply `installboot $(df -h / | grep -o -E '[ws]d[0-9]+')` >> >> There's definitely a difference between using the device name and the >> DUID: >> >> [weerd@pom] $ doas installboot -v `awk -F. '/ \/ / {print $1}' /etc/fstab` >> Using / as root >> installing bootstrap on /dev/rsd14c >> using first-stage /usr/mdec/biosboot, second-stage /usr/mdec/boot >> 5c0d9a38cc895a7d: softraid volume with 0 disk(s) >> 5c0d9a38cc895a7d: installing boot loader on softraid volume >> /usr/mdec/boot is 6 blocks x 16384 bytes >> >> [weerd@pom] $ doas installboot -v $(df -h / | grep -o -E '[ws]d[0-9]+') >> Using / as root >> installing bootstrap on /dev/rsd14c >> using first-stage /usr/mdec/biosboot, second-stage /usr/mdec/boot >> sd14: softraid volume with 1 disk(s) >> sd14: installing boot loader on softraid volume >> /usr/mdec/boot is 6 blocks x 16384 bytes >> sd0a: installing boot blocks on /dev/rsd0c, part offset 144 >> master boot record (MBR) at sector 0 >> partition 3: type 0xA6 offset 64 size 1953520001 >> /usr/mdec/biosboot will be written at sector 64 >> >> So if I were you, I'd continue using the device for now. > > Note that this will only apply in the case where the disk is a bootable > softraid volume - in the non-softraid case either is fine and the DUID is > likely preferable. > Hi Joel, THANK YOU for caring. This is actually a bootable softraid volume (key-based encryption of the entire disk of the laptop): This is the physical disk:u $ dmesg | grep sd0 sd0 at scsibus1 targ 5 lun 0: SCSI3 0/direct fixed naa.500253887007d4c5 sd0: 976762MB, 512 bytes/sector, 2000409264 sectors, thin And this is the softraid volume I boot from: sd1 at scsibus3 targ 1 lun 0: SCSI2 0/direct fixed sd1: 976756MB, 512 bytes/sector, 2000397143 sectors I have set up a little script for updating to the latest published version of ~current-amd64. In the course of the discussions related to KARL I noticed that I didn't run installboot at the end of the process. This is why I asked. Following your advice I will adjust the script I use at home with my (unencrypted) backup server to use the DUID. Best, STEFAN
Limit internet connection by time of day and number of hours
Hi there! "Security" means to constantly re-evaluate your options and processes - right? So the other day I checked the settings in the Fritz!Box router and remembered that they had implemented a time quota for a defined group of users (=IPs). Example: My young son has a tablet and a mobile phone (both Android) and has access to the internet with any device within a defined time frame and an overall maximum of x hours, individually set for each day of the week. In the rare cases that he needs more time he uses the joker named "Mama" ... ;-) (Side note: Just like pocket money the allowed time is regularly revised for age and experience - not behaviour!) Consider other situations where you'd like to meet your responsibilities: - There may be usual office times from 06:30 am to 21:00 pm (some people like to work early, other late): Outside of this time frame access to the internet may not be acceptable (with rare exections) - or might mean that a machine is hijacked to be a part of a bot or to do some bitcoin calculations... whatever. - Within this time frame noone is legally permitted to work longer than 8 hours based on his login credentials to the office net (not device). - Just some specified servers do backups to the cloud and e.g. are granted access the internet exclusively at night time (thus being exceptions to the general rule above). - The web and mail servers are seperate to the office net and always-on. The technical quest is in principal the same as the one I described above. Simply spoken: If noone of the 'guys and gals' responsible for safe and smooth operations is around the internet is turned off (or s/he gets paid overtime hours :-)). Can s.th. like this set up with OpenBSD being the central router? I searched the FAQ and several man-pages but didn't get an idea of how to proceed. My very first idea (=dream) was "e.g. set the general time frame with PF" and "the individual quotas or access times within anchors". Unfortunately nothing appropriate was found by the "leading" internet search engine. If someone has found a solution to such a task it would be great to get to know how this was achieved, of course with OpenBSD. Please: I am just curious and interested to learn about my (realistic) options. TIA. Best, STEFAN
Mounting DVD with single file burned onto
Hi there! Please excuse if this matter is not strictly OpenBSD-related even though I use OpenBSD. When it comes to backups one usual advice (among others) is to make use of different storage types. So I have tar'ed one folder (~32GB) and zip'd with p7zip. man p7 explains the '-v{size}bkmg'-switch but I got "System ERROR: E_NOTIMPL". Using split(1) I ended with several files of ~4.5GB each of which got burned to a DVD like so: $ doas growisofs -dvd-compat -Z /dev/rcd0c= Burning took some time but finished without issues. NOW: How to get access to the part-file on the DVD? I cannot mount the DVD to get access to the part-file. Following the FAQ I used mkhybrid to produce .iso but this resulted in a significantly smaller file of ~340MB - beside that I doubt that this iso-file is correct it is a waste to burn this onto a DVD. I dd'ed the part-file to .iso which has the very same size and got burned to a DVD having the same result: I cannot mount the DVD to get access to the part-file. I read the applicable man-pages and searched in the archives, stackexchange and Google, but only found explanations on how to get a folder of a movie on _one_ DVD. I instead want to backup raw data. If I can't reassemble the part-files this is not a 'backup' but waste of time and money. Obviously I overlook something - could some kind soul give me hit with the clue stick? TIA. Best, STEFAN
Re: Mounting DVD with single file burned onto
Hi Josh! Thanks for caring! Am 07/19/17 um 22:58 schrieb Josh Grosse: > On Wed, Jul 19, 2017 at 09:24:56PM +0200, Stefan Wollny wrote: >> Hi there! >> >> Please excuse if this matter is not strictly OpenBSD-related even though >> I use OpenBSD. > > That's OK, I happen to be the maintainer of archivers/p7zip, and also of > sysutils/shunt, which you may want to experiment with. Way back in the > old days when I backed up to CD and later DVD, I used shunt to split > backups into disc-sized chunks and burn them in the backup pipeline. > I haven't used it in years, but it should work for this purpose. > >> When it comes to backups one usual advice (among others) is to make use >> of different storage types. So I have tar'ed one folder (~32GB) and >> zip'd with p7zip. man p7 explains the '-v{size}bkmg'-switch but I got >> "System ERROR: E_NOTIMPL". > > I am unable to recreate this problem on amd64. I just used > > $ vmctl create 100mb.file -s 100m > $ 7z a test.7z 100mb.file -v5k > > I obtained 4 output files, test.7z.0001 thru test.7z.0004. > This is the actual command and result: $ tar cf - /home/sw/Bilder/Nikon\ Transfer/20170430_Keukenhof/ | 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -v4880m -si Keukenhof_20170430.tar.7z tar: Removing leading / from absolute path names in the archive 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64) System ERROR: E_NOTIMPL tar: Failed write to archive volume: 1: Broken pipe BUT: If I do it seperately like in your example it _does_ work out fine: $ 7z a -v4480m -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on Keukenhof_20170430.7z Keukenhof_20170430.tar 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64) Scanning the drive: 1 file, 35988090880 bytes (34 GiB) Creating archive: Keukenhof_20170430.7z Items to compress: 1 [ ... ] {I am aware that this is not fast but time is not an issue here.} >> ... Using split(1) I ended with several files of >> ~4.5GB each of which got burned to a DVD like so: >> >> $ doas growisofs -dvd-compat -Z /dev/rcd0c= > > This is your key problem. The ISO file in "" needs to be > a CD9660/UFS file system when you use this form of the growisofs(1m) > command. Instead, it contains random compressed bits. This is why you > cannot mount it. > > Practice burning with DVD-RW or DVD+RW media. You can continue to play > with it until you have your procedure correct, usable, and reproducable. > OK - seems I need more patience with mkhybrid-documentation... Thanks again - I will do my best to do my homework! Best, STEFAN
Re: Lenovo T440s
Am 08/04/17 um 06:38 schrieb Bryan Linton: > A few extra lines of harmless dmesg spam are a small price to pay > for having all the work the developers put in to bring newer drm > code and Skylake support to OpenBSD. > > I extend my own thanks to all those involved in such a feat. +1
FF vs. Chrome/Chromium
Hi there! Last night I enjoyed reading through the different presentation slides from EuroBSDcon 2017. Relating to Theo's presentation on 'Pledge and Privsep' (https://www.openbsd.org/papers/eurobsdcon2017-pledge.pdf) he states that firefox cannot be pledged while "chrome was strongly pledged in <1 week". I assume that this actually is 'chromium', right? Disregarding any addons, is it valid to say that for OpenBSD users chromium is "safer" than FF as the latter is not pledgeable? Just curious. STEFAN
Re: lock order reversal in dmesg?
Am 06/04/18 um 23:01 schrieb Stuart Henderson: > On 2018-06-02, Jungle Boogie wrote: >> With one of the snapshots from Friday 1 June, I'm seeing more info in my >> dmesg >> than I typically do. Has some extra debugging been turned on? > > Yes. > > Here you go. Best, STEFAN OpenBSD 6.3-current (GENERIC.MP) #75: Mon Jun 4 00:06:10 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17079074816 (16287MB) avail mem = 16420855808 (15660MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.33 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN 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 using xsaveopt 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) i5-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 120 degC acpicmos0 at acpi0 "INT3F0D" at acpi0 not configured "MSFT0001" at acpi0 not configured "ETD0403" at acpi0 not configured "PNPC000" at acpi0 not configured acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook" "PNP0C14" at acpi0 not configured "INT340E" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD0 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 ppb0 at pci0 dev 1 function 0 "Intel Core 4G P
KDE-apps okular, kmahjongg
Hi there, I run amd64-current with the latest public snapshots: $ dmesg | grep Open OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018 < Full dmesg at the end > Although I try to follow reading src-changes and topics on misc@ as close as possible I might have missed something lately. Until a few days ago okular and kmahjongg came up without a comment. Now I cannot start them (havn't tried other KDE apps) $ okular okular(68871)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'okular' crashing... KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit KCrash: Connect sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 Warning: connect() failed: : No such file or directory KCrash: Attempting to start /usr/local/libexec/drkonqi directly drkonqi(78427)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) ~ $ kmahjongg kmahjongg(43798)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'kmahjongg' crashing... KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit KCrash: Connect sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 Warning: connect() failed: : No such file or directory KCrash: Attempting to start /usr/local/libexec/drkonqi directly drkonqi(34562)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) What did I miss / what am I doing wrong here? In /etc/rc.conf.local I have: pkg_scripts=freshclam clamd messagebus avahi_daemon cupsd smartd cups_browsed (cups isn't working for a looong time but that should be a different thread) Anyone got a clue what might be wrong with my system or what knob to turn? Or is this just a temporary annnoyance that ought to go away in a short time? TIA. Best, STEFAN OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17079074816 (16287MB) avail mem = 16420831232 (15660MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.34 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN 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) i5-4210M CPU @ 2.60GHz, 3092.85 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,S
Softraid0-Problem: Inappropriate file type or format (Was: KDE-apps okular, kmahjongg)
Hi there! Unfortunately I have to hijack my own thread as it has the last working dmesg. Right after I had asked on misc@ about those KDE-apps I upgraded to the latest snapshot for amd64-current. By this I was hit by the "libxshmfence.so.0.0-issue". https://marc.info/?l=openbsd-tech&m=153003604704089&w=2 Well - running -current is usually rock-solid, but I am well aware that every now-and-then things might go wrong and will be corrected by the devs with the next snapshot (or the one thereafter). Happens remarkably seldom but obviously here I had to make use of the next snapshot, which I did: Wham! I cannot log-in to the system any more! "booting sr0a:/bsd: sr0a:/bsd: Inappropriate file type or format failed(79). will try /bsd" Yes - this system is fully encrypted, secured by a key-disk. I have dd'ed two more copies of this key, both behave the same. Thus I dare to suppose that there is no technical issue with the key (in particular as the other two USB-keys have not been attached at the time of the last upgrade). Most likely I did unknowingly s.th. really dumb. OK - how to proceed? Yes - I am lucky having backed up the relevant data the night before. My fallback solution is to simply reinstall everything. Annoying, as it will take a little time, but I will survive. My question is, as I can boot into 'bsd.rd', what alternative(s) I have to '# bioctl -c C -k /dev/sd1a -l /sd0a softraid0' softraid0: chunk sd0a already in use bsd.rd-dmesg shows at the end sd1 being the USB-key-disk and sd2 being the unencrypted OpenBSD-crypto-file, thus I used sd0 with 'bioctl'. Anyone a clue what might have gone wrong and how to proceed (except reinstallation)? TIA! Best, STEFAN Am 25.06.2018 um 22:36 schrieb Stefan Wollny: > Hi there, > > I run amd64-current with the latest public snapshots: > $ dmesg | grep Open > OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018 > < Full dmesg at the end > > > [ ... ] > > > > OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 17079074816 (16287MB) > avail mem = 16420831232 (15660MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) > bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 > bios0: Notebook W65_67SZ > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT > SSDT SSDT DMAR > acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) > PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) > EHC2(S3) XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.34 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > 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) i5-4210M CPU @ 2.60GHz, 3092.85 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 1, core 0, package 0 > cpu3 at mainbus0
Re: Softraid0-Problem: Inappropriate file type or format (Was: KDE-apps okular, kmahjongg)
Am 06/28/18 um 23:49 schrieb Stefan Wollny: > Hi there! > > Unfortunately I have to hijack my own thread as it has the last working dmesg. > > Right after I had asked on misc@ about those KDE-apps I upgraded to the > latest snapshot for amd64-current. By this I was hit by the > "libxshmfence.so.0.0-issue". > https://marc.info/?l=openbsd-tech&m=153003604704089&w=2 > > Well - running -current is usually rock-solid, but I am well aware that every > now-and-then things might go wrong and will be corrected by the devs with the > next snapshot (or the one thereafter). Happens remarkably seldom but > obviously here I had to make use of the next snapshot, which I did: Wham! I > cannot log-in to the system any more! > > "booting sr0a:/bsd: sr0a:/bsd: Inappropriate file type or format > failed(79). will try /bsd" > > Yes - this system is fully encrypted, secured by a key-disk. I have dd'ed two > more copies of this key, both behave the same. Thus I dare to suppose that > there is no technical issue with the key (in particular as the other two > USB-keys have not been attached at the time of the last upgrade). > > Most likely I did unknowingly s.th. really dumb. > > OK - how to proceed? Yes - I am lucky having backed up the relevant data the > night before. My fallback solution is to simply reinstall everything. > Annoying, as it will take a little time, but I will survive. > > My question is, as I can boot into 'bsd.rd', what alternative(s) I have to > '# bioctl -c C -k /dev/sd1a -l /sd0a softraid0' > softraid0: chunk sd0a already in use > > bsd.rd-dmesg shows at the end sd1 being the USB-key-disk and sd2 being the > unencrypted OpenBSD-crypto-file, thus I used sd0 with 'bioctl'. > > Anyone a clue what might have gone wrong and how to proceed (except > reinstallation)? > > TIA! > > Best, > STEFAN > For the records: After some more reading of man-pages, the OpenBSD FAQ and some other sites by the devs I realized that nothing is wrong with softraid(0) as the encrypted disk (sd0) shows up as sd2. This 'disk' is accessible via bsd.rd. All that needed to be done was fsck'ing the partitions (/usr needed help) and updating the system via bsd.rd to be back in business. Another fine example that it takes a lot to wreck OpenBSD, actually. To all devs: THANK YOU! Best, STEFAN
Re: KDE-apps okular, kmahjongg
Am 06/25/18 um 22:36 schrieb Stefan Wollny: > Hi there, > > I run amd64-current with the latest public snapshots: > $ dmesg | grep Open > OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018 > < Full dmesg at the end > > > Although I try to follow reading src-changes and topics on misc@ as > close as possible I might have missed something lately. Until a few days > ago okular and kmahjongg came up without a comment. Now I cannot start > them (havn't tried other KDE apps) > > > $ okular > okular(68871)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > KCrash: Application 'okular' crashing... > KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit > KCrash: Connect > sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 > Warning: connect() failed: : No such file or directory > KCrash: Attempting to start /usr/local/libexec/drkonqi directly > drkonqi(78427)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > > ~ $ kmahjongg > kmahjongg(43798)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > KCrash: Application 'kmahjongg' crashing... > KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit > KCrash: Connect > sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 > Warning: connect() failed: : No such file or directory > KCrash: Attempting to start /usr/local/libexec/drkonqi directly > drkonqi(34562)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > > What did I miss / what am I doing wrong here? > > In /etc/rc.conf.local I have: > pkg_scripts=freshclam clamd messagebus avahi_daemon cupsd smartd > cups_browsed > > (cups isn't working for a looong time but that should be a different thread) > > Anyone got a clue what might be wrong with my system or what knob to > turn? Or is this just a temporary annnoyance that ought to go away in a > short time? > > TIA. > > Best, > STEFAN > > Now that I am back in business having updated the system (new dmesg at the end) and all installed packages I tried again ... yet neither kmahjongg nor okular are working: ~ $ pkg_info | grep kmah kmahjongg-4.14.3p3 Mah Jongg solitare board game for KDE libkmahjongg-4.14.3p1 common library for Mah Jongg-based KDE games ~ $ pkg_info | grep oku libmusicbrainz5-5.0.1p4 library for audio metadata lookup (v5) okular-4.14.3p7 KDE document viewer ~ $ kmahjongg kmahjongg(25428)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'kmahjongg' crashing... KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit KCrash: Connect sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 Warning: connect() failed: : No such file or directory KCrash: Attempting to start /usr/local/libexec/drkonqi directly drkonqi(30570)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) ~ $ okular okular(31187)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'okular' crashing... KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit KCrash: Connect sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 Warning: connect() failed: : No such file or directory KCrash: Attempting to start /usr/local/libexec/drkonqi directly drkonqi(23688)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) ~ $ doas rcctl ls started apmd avahi_daemon clamd cron cups_browsed cupsd freshclam messagebus ntpd pflogd postgresql sensorsd slaacd smartd smtpd sndiod sshd syslogd Has anyone a clue what might be missing? Wrong permissions? Any hint welcome. TIA! Best, STEFAN OpenBSD 6.3-current (GENERIC.MP) #82: Sun Jul 1 15:37:34 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17079074816 (16287MB) avail mem = 16552341504 (15785MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT
Re: KDE-apps okular, kmahjongg
Am 07/02/18 um 09:43 schrieb Stefan Wollny: > > > Am 06/25/18 um 22:36 schrieb Stefan Wollny: >> Hi there, >> >> I run amd64-current with the latest public snapshots: >> $ dmesg | grep Open >> OpenBSD 6.3-current (GENERIC.MP) #52: Sun Jun 24 09:59:46 MDT 2018 >> < Full dmesg at the end > >> >> Although I try to follow reading src-changes and topics on misc@ as >> close as possible I might have missed something lately. Until a few days >> ago okular and kmahjongg came up without a comment. Now I cannot start >> them (havn't tried other KDE apps) >> >> >> $ okular >> okular(68871)/kdeui (kdelibs): Session bus not found >> To circumvent this problem try the following command (with Linux and bash) >> export $(dbus-launch) >> KCrash: Application 'okular' crashing... >> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit >> KCrash: Connect >> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 >> Warning: connect() failed: : No such file or directory >> KCrash: Attempting to start /usr/local/libexec/drkonqi directly >> drkonqi(78427)/kdeui (kdelibs): Session bus not found >> To circumvent this problem try the following command (with Linux and bash) >> export $(dbus-launch) >> >> ~ $ kmahjongg >> kmahjongg(43798)/kdeui (kdelibs): Session bus not found >> To circumvent this problem try the following command (with Linux and bash) >> export $(dbus-launch) >> KCrash: Application 'kmahjongg' crashing... >> KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit >> KCrash: Connect >> sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 >> Warning: connect() failed: : No such file or directory >> KCrash: Attempting to start /usr/local/libexec/drkonqi directly >> drkonqi(34562)/kdeui (kdelibs): Session bus not found >> To circumvent this problem try the following command (with Linux and bash) >> export $(dbus-launch) >> >> What did I miss / what am I doing wrong here? >> >> In /etc/rc.conf.local I have: >> pkg_scripts=freshclam clamd messagebus avahi_daemon cupsd smartd >> cups_browsed >> >> (cups isn't working for a looong time but that should be a different thread) >> >> Anyone got a clue what might be wrong with my system or what knob to >> turn? Or is this just a temporary annnoyance that ought to go away in a >> short time? >> >> TIA. >> >> Best, >> STEFAN >> >> > > Now that I am back in business having updated the system (new dmesg at > the end) and all installed packages I tried again ... yet neither > kmahjongg nor okular are working: > > ~ $ pkg_info | grep kmah > kmahjongg-4.14.3p3 Mah Jongg solitare board game for KDE > libkmahjongg-4.14.3p1 common library for Mah Jongg-based KDE games > > ~ $ pkg_info | grep oku > libmusicbrainz5-5.0.1p4 library for audio metadata lookup (v5) > okular-4.14.3p7 KDE document viewer > > ~ $ kmahjongg > kmahjongg(25428)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > KCrash: Application 'kmahjongg' crashing... > KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit > KCrash: Connect > sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 > Warning: connect() failed: : No such file or directory > KCrash: Attempting to start /usr/local/libexec/drkonqi directly > drkonqi(30570)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > > ~ $ okular > okular(31187)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > KCrash: Application 'okular' crashing... > KCrash: Attempting to start /usr/local/libexec/drkonqi from kdeinit > KCrash: Connect > sock_file=/home/sw/.kde4/socket-asterix.fritz.box/kdeinit4__0 > Warning: connect() failed: : No such file or directory > KCrash: Attempting to start /usr/local/libexec/drkonqi directly > drkonqi(23688)/kdeui (kdelibs): Session bus not found > To circumvent this problem try the following command (with Linux and bash) > export $(dbus-launch) > > > ~ $ doas rcctl ls started > apmd > avahi_daemon > clamd > cron > cups_browsed > cupsd > freshclam > messagebus > ntpd > pflogd > postgresql > sensorsd > slaacd > smartd > smtpd > sndiod > sshd > syslogd > > > Has anyone a clue what might be missing? Wrong
Re: KDE-apps okular, kmahjongg
Am 07/04/18 um 16:13 schrieb Stuart Henderson: > On 2018-07-04, Stefan Wollny wrote: >> Somehow the dbus-daemon is not recognized although started as 'rcctl ls >> started' shows. And > > That is a system dbus-daemon but you didn't have a session dbus-daemon. > >> Finally I added 'export $(dbus-launch)' to .xinitrc (plus kdeinit4) and >> those KDE apps now do get started as they did until last week. >> >> Is this expected behaviour? I didn't find anything related to this in >> the man pages or the FAQ - if it is could s.o. please point my sore eyes >> to the relevant documentation? > > There was a fallback in the dbus port for the case where the session bus > was missing, it was removed for a bit, but it seems few people bother > to read the dbus pkg-readme and most software which needs it doesn't > fail with a very informative error message, so it has gone back in > for now... > > The fallback is not great because it means that each program wanting > to use dbus has its own separate session bus - there's only supposed to > be a single one. > > You are supposed to run the session bus like this: > > $ cat /usr/local/share/doc/pkg-readmes/dbus-* > > $OpenBSD: README-main,v 1.3 2017/11/01 06:27:31 ajacoutot Exp $ > > +--- > | Running dbus-1.12.8p0v0 on OpenBSD > +--- > > To start a session bus instance of dbus-daemon (needed by applications > installing /usr/local/share/dbus-1/services/*.service files), add the > following lines to your Xsession script before starting the window manager > (see dbus-launch(1) for more info) -- note that some session/login managers, > like gnome-session(1) already handle this automatically. > > e.g. console login: ~/.xinitrc > if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then > eval `dbus-launch --sh-syntax --exit-with-session` > fi > > e.g. graphical display manager: ~/.xsession > if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then > eval `dbus-launch --sh-syntax --exit-with-x11` > fi > > Thank you, Stuart! Excellent explanation and precise help, right to the point!
WiFi: Join + wpa_supplicant
Hi there, I am a little bit confused: Do I read the docs correct assuming that defining a join-list in /etc/hostname. and wpa_supplicant are mutually exclusive? I have set up a join-list and now I need to attach to a network where I can only login with credetials "user" and "user-password"... TIA. Kind regards, STEFAN
Re: WiFi: Join + wpa_supplicant
Am 09/05/18 um 13:05 schrieb Peter Hessler: > On 2018 Sep 05 (Wed) at 12:12:05 +0200 (+0200), Stefan Wollny wrote: > :Hi there, > : > :I am a little bit confused: Do I read the docs correct assuming that > :defining a join-list in /etc/hostname. and wpa_supplicant are > :mutually exclusive? > : > :I have set up a join-list and now I need to attach to a network where I > :can only login with credetials "user" and "user-password"... > : > :TIA. > : > :Kind regards, > :STEFAN > : > > Hi Stefan > > While they are not mutually exclusive, more work will need to be done in > wpa_supplicant to make this a transparent exercise. While I'm not a > regular user of wpa_supplicant, if you restart wpa_supplicant once you > are connected to an 802.1X network it should work. > > Hi Peter, thank you for your reply - unfortunately the system does not connect. I have set up networks via trunk-interface with hostname.iwm0 having the join-list. This "just works" (well done, btw!). After setting up the wpa_supplicant in the rc.d-file (changed the default ath0 to iwm0) and wpa_supplicant.conf (with the applicable credentials) I added to hostname.iwm0 the following: join wpa wpaakms 802.1x After a 'sh /etc/netstart' 'ifconfig gives me the following: iwm0: flags=8943 mtu 1500 lladdr 80:fa:5b:14:xx:yy index 1 priority 4 llprio 3 trunk: trunkdev trunk0 groups: wlan media: IEEE802.11 autoselect (HT-MCS0 mode 11n) status: no network ieee80211: join chan 36 bssid 84:b2:61:96:aa:bb 83% wpaprotos wpa2 wpaakms 802.1x wpaciphers ccmp wpagroupcipher ccmp ... trunk0: flags=8843 mtu 1500 lladdr 80:fa:5b:14:xx:yy index 7 priority 0 llprio 3 trunk: trunkproto failover trunkport iwm0 trunkport re0 master groups: trunk media: Ethernet autoselect status: no carrier Only after I had commented the join-line for this network I was able to reattach to my mobile phone's net. Attaching to this particular net would be helpful - saves some time avoiding workaraounds... Adding a dmesg to avoid questions. Thanks in advance! Kind regards, STEFAN OpenBSD 6.4-beta (GENERIC.MP) #286: Sat Sep 1 22:23:18 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17079074816 (16287MB) avail mem = 1655720 (15785MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.24 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN 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) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,M
Re: WiFi: Join + wpa_supplicant
Am 09/05/18 um 14:37 schrieb Stefan Sperling: Hi Stefan! > On Wed, Sep 05, 2018 at 01:39:53PM +0200, Stefan Wollny wrote: >> After a 'sh /etc/netstart' 'ifconfig gives me the following: >> >> iwm0: flags=8943 mtu 1500 >> lladdr 80:fa:5b:14:xx:yy >> index 1 priority 4 llprio 3 >> trunk: trunkdev trunk0 >> groups: wlan >> media: IEEE802.11 autoselect (HT-MCS0 mode 11n) >> status: no network >> ieee80211: join chan 36 bssid 84:b2:61:96:aa:bb 83% >> wpaprotos wpa2 wpaakms 802.1x wpaciphers ccmp wpagroupcipher ccmp >> ... >> trunk0: flags=8843 mtu 1500 >> lladdr 80:fa:5b:14:xx:yy >> index 7 priority 0 llprio 3 >> trunk: trunkproto failover >> trunkport iwm0 >> trunkport re0 master >> groups: trunk >> media: Ethernet autoselect >> status: no carrier >> >> Only after I had commented the join-line for this network I was able to >> reattach to my mobile phone's net. > > Let me guess: Your mobile phone is on a 2 GHz channel (1-13)? BINGO! > > If that is true, then the AP on channel 36 (5 GHz) with good RSSI (83%) > will always win because this is how join was taught to make decisions: > > * Given two APs, determine the "better" one of the two. > * We compute a score based on the following attributes:o > * > * crypto: wpa2 > wpa1 > wep > open > * band: 5 GHz > 2 GHz provided 5 GHz rssi is above threshold > * rssi: rssi1 > rssi2 as a numeric comparison with a slight > * disadvantage for 2 GHz APs > * > * Crypto carries most weight, followed by band, followed by rssi. > Another fine example of OpenBSD's philosophy of "sane defaults"! >> Attaching to this particular net would be helpful - saves some time >> avoiding workaraounds... > > You can use 'ifconfig iwm0 nwid phone' to override auto-join decisions > and always attach to a network called 'phone'. To re-enable automatic > network selection you can use: ifconfig iwm0 -nwid > Thank you for the hint - I have tried it before but did s.th. wrong as now it "just works". Best, STEFAN
Parse error
Hi there! Running on amd64-current: $ dmesg | grep Open OpenBSD 6.4-beta (GENERIC.MP) #328: Wed Sep 26 22:29:16 MDT 2018 Switched to /usr/ports and did: $ doas make clean I got: [ ... ] ===> lang/gforth ===> Cleaning for gforth-0.7.3p3 ===> lang/ghc *** Parse error in /usr/ports/lang/ghc: Need an operator in 'amd64' (Makefile:61) *** Parse error: Need an operator in '.endfor' (Makefile:65) ===> Exiting lang/ghc with an error *** Error 1 in lang (/usr/ports/infrastructure/mk/bsd.port.subdir.mk:178 'clean') ===> Exiting lang with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:178 'clean') Did I s.th. wrong or is this a bug? $ ls -alh /usr/ports/lang/ghc/ total 64 drwxrwxr-x6 wsrc 512B Jul 9 13:00 . drwxrwxr-x 115 wsrc 3.0K Sep 25 21:01 .. drwxrwxr-x2 wsrc 512B Jul 9 13:07 CVS -rw-rw-r--1 wsrc 8.3K Aug 21 00:45 Makefile -rw-rw-r--1 wsrc 929B Mar 31 01:16 distinfo drwxrwxr-x3 wsrc 512B Jul 9 13:00 files -rw-rw-r--1 wsrc 4.4K Jan 22 2018 ghc.port.mk drwxrwxr-x3 wsrc 1.0K Jul 9 13:00 patches drwxrwxr-x3 wsrc 512B Jul 9 13:00 pkg Best, STEFAN
pf.conf: identifying a specific user from dhcpd-table
Hi there! I've google'd quite a while and read the FAQ and many man-pages - but I didn't find an example for my pf.conf (or simply overlooked it...): The system is amd64-current. The client is Win7-laptop serving as Minecraft-server, thus port 25565 needs to be forwarded but IP may change. I have set up OpenBSD as firewall-router serving additionally as dhcpd-server plus running a transparent squid. IP-forwarding is set in /etc/sysctl. Basically everything is running fine, my users surf the net and send/receive mail. Just that the other kids cannot reach my son's Minecraft-server on the inside from the outside. I could assign a static address to this laptop and use this address setting up a specific rule for this one port. But this is not the way I'd prefer to go. I'd like to set up PF to forward this port (25565) without a pre-defined IP as macro as the dhcpd.conf has a line defining tables for abandoned ("-A"), changed ("-C") and present leases ("-L"). According to man dhcpd(8) those tables may be used with PF. But how??? I couldn't find examples. Do I have to tell PF about these tables in pf.conf? Or don't I need these tables at all? What would the syntax actually be for the dhcpd-client (e.g.'enderman'), s.th like the following tries? pass on $ext_if from $int_if:peer to any binat-to $ext_if port 25565 This is not specific to client 'enderman'... another try: pass out on $ext_if inet from $int_if to any \ nat-to enderman:peer static-port pass in on $ext_if inet from any to $int_if rdr-to enderman:peer This rule is not specific to port 25565, though. Please help - I am pretty confused... TIA. Best, STEFAN
Re: pf.conf: identifying a specific user from dhcpd-table
Am 10.10.18 um 14:58 schrieb Peter N. M. Hansteen: > On Wed, Oct 10, 2018 at 02:48:24PM +0200, Stefan Wollny wrote: >> >> I'd like to set up PF to forward this port (25565) without a pre-defined >> IP as macro as the dhcpd.conf has a line defining tables for abandoned >> ("-A"), changed ("-C") and present leases ("-L"). According to man >> dhcpd(8) those tables may be used with PF. But how??? I couldn't find >> examples. >> >> Do I have to tell PF about these tables in pf.conf? Or don't I need >> these tables at all? > > You do need to include the tables in your pf.conf. I'm a bit surprised > the example at https://home.nuug.no/~peter/pftutorial/#33 did not show up in > your search. > > - P > YES - this is exactly what I've been looking for! (I use Google via 'startpage.com' - maybe this makes a difference???) Thank you very much, Peter. BTW: Am I this blind that I oversaw this in your book??? I had it with me on the train yesterday but I didn't see this solution. Will take a 20th look tonight. 'Thank you' again for so much help here on the list, but as well for the fine book! Best, STEFAN
Problem with keyboard layout
Hi there! I have reported this a few days ago on bugs but the issue seemed to be solved with amd64/current as of Sunday morning but reappeared on Sunday afternoons version (German time). System is OpenBSD 6.4-current (GENERIC.MP) #375: Sun Oct 21 09:29:13 MDT 2018 (full dmesg at the end) $ cat .profile | grep LC export LC_CTYPE="de_DE.UTF-8" ~ $ locale LANG=de_DE.UTF-8 LC_COLLATE="de_DE.UTF-8" LC_CTYPE=de_DE.UTF-8 LC_MONETARY="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_ALL= $ cat /etc/wsconsctl.conf | grep encoding keyboard.encoding=de# use different keyboard encoding Yet this setting seems not to be recognized: $ doas wsconsctl | grep encoding keyboard.encoding=unknown_0 Trying to do $ doas wsconsctl keyboard.encoding=de drops the system into ddb without access to the keyboard (thus it is not possible to type 'trace'... ) Is this s.th. known? How to proceed? Best, STEFAN OpenBSD 6.4-current (GENERIC.MP) #375: Sun Oct 21 09:29:13 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17079074816 (16287MB) avail mem = 16552185856 (15785MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.31 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN 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) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1)
Re: Problem with keyboard layout
Am 10/22/18 um 9:57 AM schrieb Stefan Wollny: [ ... ] > > $ cat /etc/wsconsctl.conf | grep encoding > keyboard.encoding=de# use different keyboard encoding > > Yet this setting seems not to be recognized: > $ doas wsconsctl | grep encoding > keyboard.encoding=unknown_0 > [ ... ] Additional information: This issue seems to be related to the X server. Initially I noticed this behaviour when starting with xenodm. Switching to a console outside of X gives me the expected German keyboard layout. The same if I disable xenodm in /etc/rc.conf.local and start OpenBSD into a console: Initially I have the German keyboard layout but once I start X via 'startx' I get the US layout. *At least I know now where to find the symbols blindly :/ * Thus here is the Xorg.0.log which has the line Option "XkbLayout" "us" close to the end. [ 536.726] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem (Operation not permitted) Check that you have set 'machdep.allowaperture=1' in /etc/sysctl.conf and reboot your machine refer to xf86(4) for details [ 536.726]linear framebuffer access unavailable [ 536.740] (--) Using wscons driver on /dev/ttyC4 [ 536.748] X.Org X Server 1.19.6 Release Date: 2017-12-20 [ 536.748] X Protocol Version 11, Revision 0 [ 536.748] Build Operating System: OpenBSD 6.4 amd64 [ 536.748] Current Operating System: OpenBSD asterix.heim.netz 6.4 GENERIC.MP#376 amd64 [ 536.748] Build Date: 21 October 2018 11:05:48PM [ 536.748] [ 536.748] Current version of pixman: 0.34.0 [ 536.749]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 536.749] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 536.749] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 22 10:32:24 2018 [ 536.749] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [ 536.749] (==) No Layout section. Using the first Screen section. [ 536.749] (==) No screen section available. Using defaults. [ 536.749] (**) |-->Screen "Default Screen Section" (0) [ 536.749] (**) | |-->Monitor "" [ 536.749] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 536.749] (==) Automatically adding devices [ 536.749] (==) Automatically enabling devices [ 536.749] (==) Not automatically adding GPU devices [ 536.749] (==) Max clients allowed: 256, resource mask: 0x1f [ 536.749] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [ 536.749] (==) ModulePath set to "/usr/X11R6/lib/modules" [ 536.749] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [ 536.749] (II) Loader magic: 0x1c454c971000 [ 536.749] (II) Module ABI versions: [ 536.749]X.Org ANSI C Emulation: 0.4 [ 536.749]X.Org Video Driver: 23.0 [ 536.749]X.Org XInput driver : 24.1 [ 536.749]X.Org Server Extension : 10.0 [ 536.749] (--) PCI:*(0:0:2:0) 8086:0416:1558:0655 rev 6, Mem @ 0xf780/4194304, 0xe000/268435456, I/O @ 0xf000/64 [ 536.749] (II) LoadModule: "glx" [ 536.750] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [ 536.752] (II) Module glx: vendor="X.Org Foundation" [ 536.752]compiled for 1.19.6, module version = 1.0.0 [ 536.752]ABI class: X.Org Server Extension, version 10.0 [ 536.752] (==) Matched modesetting as autoconfigured driver 0 [ 536.752] (==) Assigned the driver to the xf86ConfigLayout [ 536.752] (II) LoadModule: "modesetting" [ 536.752] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so [ 536.752] (II) Module modesetting: vendor="X.Org Foundation" [ 536.752]compiled for 1.19.6, module version = 1.19.6 [ 536.752]Module class: X.Org Video Driver [ 536.752]ABI class: X.Org Video Driver, version 23.0 [ 536.752] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 536.753] (**) modeset(0): claimed PCI slot 0@0:2:0 [ 536.753] (II) modeset(0): using default device [ 536.753] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 536.753] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 536.753] (==) modeset(0): RGB weight 888 [ 536.753] (==) modeset(0): Default visual is TrueColor [ 536.753] (II)
Re: Problem with keyboard layout
Am 22.10.18 um 10:45 schrieb Stefan Wollny: > Am 10/22/18 um 9:57 AM schrieb Stefan Wollny: > [ ... ] >> >> $ cat /etc/wsconsctl.conf | grep encoding >> keyboard.encoding=de# use different keyboard encoding >> >> Yet this setting seems not to be recognized: >> $ doas wsconsctl | grep encoding >> keyboard.encoding=unknown_0 >> > [ ... ] > Additional information: > This issue seems to be related to the X server. Initially I noticed this > behaviour when starting with xenodm. Switching to a console outside of X > gives me the expected German keyboard layout. The same if I disable > xenodm in /etc/rc.conf.local and start OpenBSD into a console: Initially > I have the German keyboard layout but once I start X via 'startx' I get > the US layout. > *At least I know now where to find the symbols blindly :/ * > > Thus here is the Xorg.0.log which has the line > Option "XkbLayout" "us" > close to the end. > Unfortunately the issue persists with the last published version of amd64/current. New dmesg and Xorg.0.log below. Anyone with a clue what might be cause of wsconsctl not using the encoding as defined in the conf-file? unveil(2)-related? Any other information I should provide? TIA. Best, STEFAN OpenBSD 6.4-current (GENERIC.MP) #380: Mon Oct 22 20:06:50 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17079074816 (16287MB) avail mem = 16552185856 (15785MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.33 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN 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) i5-4210M CPU @ 2.60GHz, 3092.85 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.85 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.85 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4
Re: Problem with keyboard layout
Am 24.10.18 um 07:40 schrieb Matthieu Herrb: > On Tue, Oct 23, 2018 at 01:19:18PM +0200, Stefan Wollny wrote: >> Am 22.10.18 um 10:45 schrieb Stefan Wollny: >>> Am 10/22/18 um 9:57 AM schrieb Stefan Wollny: >>> [ ... ] >>>> >>>> $ cat /etc/wsconsctl.conf | grep encoding >>>> keyboard.encoding=de# use different keyboard encoding >>>> >>>> Yet this setting seems not to be recognized: >>>> $ doas wsconsctl | grep encoding >>>> keyboard.encoding=unknown_0 > > This probably means that you have some other wsconsctl commands that > modify the layout after the initial switch to the 'de' layout. > Hi Matthieu, thanks for caring. For the time being I found an intermediate solution: Instead using Fluxbox as window manager I use LXQt and within changed all localisations to 'Germany' which survived a reboot. What puzzled me is the fact that I did not (knowingly) changed any settings which might explain this behaviour. The first line in the '.xsession'-file used to be export LANG=de_DE.UTF-8 and with this I had German keyboard layout when entering the password (luckily right now no special characters different to English layout). At present (due to my experimental changes) I have export LC_CTYPE="en_US.UTF-8" and thus English is expected when entering username & password. Which other process / program might influence wscons? Best, STEFAN
Re: Problem with keyboard layout
PROBLEM SOLVED! :-) Am 24.10.18 um 09:49 schrieb Matthieu Herrb: > On Wed, Oct 24, 2018 at 08:41:41AM +0200, Stefan Wollny wrote: >> Am 24.10.18 um 07:40 schrieb Matthieu Herrb: >>> On Tue, Oct 23, 2018 at 01:19:18PM +0200, Stefan Wollny wrote: >>>> Am 22.10.18 um 10:45 schrieb Stefan Wollny: >>>>> Am 10/22/18 um 9:57 AM schrieb Stefan Wollny: >>>>> [ ... ] >>>>>> >>>>>> $ cat /etc/wsconsctl.conf | grep encoding >>>>>> keyboard.encoding=de# use different keyboard encoding >>>>>> >>>>>> Yet this setting seems not to be recognized: >>>>>> $ doas wsconsctl | grep encoding >>>>>> keyboard.encoding=unknown_0 >>> >>> This probably means that you have some other wsconsctl commands that >>> modify the layout after the initial switch to the 'de' layout. >>> >> >> Hi Matthieu, >> >> thanks for caring. >> >> For the time being I found an intermediate solution: Instead using >> Fluxbox as window manager I use LXQt and within changed all >> localisations to 'Germany' which survived a reboot. > > That's probably because LXQt saves the xkb settings in your session > and restores them. >> >> What puzzled me is the fact that I did not (knowingly) changed any >> settings which might explain this behaviour. The first line in the >> '.xsession'-file used to be >> export LANG=de_DE.UTF-8 >> and with this I had German keyboard layout when entering the password >> (luckily right now no special characters different to English layout). >> At present (due to my experimental changes) I have >> export LC_CTYPE="en_US.UTF-8" >> and thus English is expected when entering username & password. > > The locale settings (LC_CTYPE / LANG) don't change the keyboard > layout, unless you have something in your .profile, .xsession or > similar files that change it. > >> Which other process / program might influence wscons? > > I don't know. But as long as on X startup you have > keyboard.encoding=unknown_0 you will get the us layout by default. > > If you haven't added anything to /etc/rc.local or any package that > installs a custom rc.d script fiddling with wsconsctl, I've no idea > why your machines ends up with the unknown_0 layout (which means > KB_USER internally). > Hi Matthieu, thank you very much for guiding me! With your explanation I took special care at the messages on the screen at startup, searching for any hints what might influence the keyboard settings. Obviously I must have accidentially deleted within "/etc/sysctl.conf" the '#' in front of the line machdep.forceukbd=1 which I once had added as a reminder. Recommenting the line solved the issue. As noone else had this problem it must have been me. Thanks again and sorry for the noise! Best, STEFAN
iridium-browser + unveil
Hi there, just a little nit with the iridium-browser unveiled: I changed the 'exec' command in /usr/local/bin/iridium like so: - LANG=${_l} exec "/usr/local/iridium/iridium" "${@}" + LANG=${_l} exec "/usr/local/iridium/iridium" "--enable-unveil" "${@}" With this change I can browse the web as before. BUT: My startpage is a html-file in the users home directory containing a huge collection of links to web sites. I use this file at home and at work where I am forced to use the most popular unsafe OS. With iridium unveiled this page is no longer accessible instead I get 'ERR_FILE_NOT_FOUND'. Switching back to the exec without "--enable-unveil" and iridium finds the file again. Easily reproducible. With other browsers (e.g. FF, otter, netsurf, links+) this particular file is accessible. No reason not to enable unveil on iridium in particular as it just has been updated (in ports). Best, STEFAN
Re: iridium-browser + unveil
Am 08.11.18 um 09:03 schrieb Stefan Wollny: > Hi there, > > just a little nit with the iridium-browser unveiled: > > I changed the 'exec' command in /usr/local/bin/iridium like so: > - LANG=${_l} exec "/usr/local/iridium/iridium" "${@}" > + LANG=${_l} exec "/usr/local/iridium/iridium" "--enable-unveil" "${@}" > > With this change I can browse the web as before. BUT: My startpage is a > html-file in the users home directory containing a huge collection of > links to web sites. I use this file at home and at work where I am > forced to use the most popular unsafe OS. With iridium unveiled this > page is no longer accessible instead I get 'ERR_FILE_NOT_FOUND'. > > Switching back to the exec without "--enable-unveil" and iridium finds > the file again. Easily reproducible. > > With other browsers (e.g. FF, otter, netsurf, links+) this particular > file is accessible. No reason not to enable unveil on iridium in > particular as it just has been updated (in ports). > Found an easy solution: While access to the user's home directory is not permitted, access to the subfolders _is_ allowed. Simply copied that particular file to ~/Downloads/, changed the path in iridium's settings and we're back to familiar operations. :-) Now: How to give permission to access my home directory?
Re: iridium-browser + unveil
Am 08.11.18 um 12:47 schrieb Florian Obser: > The point of unveil in chrome is that it can't exfiltrate your ssh > private key. Got it! Thank you for making things clear.
latest iridium-browser on amd64-current core dumps
Unfortunatelly I have to meet deadlines, can't investigate further into the following: $ pkg_info | grep iridium iridium-2018.11.70 Iridium browser $ /usr/local/bin/iridium [1109/094309.877362:ERROR:icu_util.cc(172)] Invalid file descriptor to ICU data received. Trace/BPT trap (core dumped) This happens disregarding if started with or without "--enable-unveil". Will this be solved with the next snapshots? (dmesg below) Sorry - but today I am unable to provide more information. Best, STEFAN OpenBSD 6.4-current (GENERIC.MP) #425: Sun Nov 4 21:32:53 MST 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17079074816 (16287MB) avail mem = 16552189952 (15785MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.33 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN 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) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 120 degC acpipci0 at acpi0 PCI0: 0x0010 0x0011 0x acpicmos0 at acpi0 "PNPC000" at acpi0 not configured acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook" "PNP0C14" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD0 cpu0: Enhanced
Re: latest iridium-browser on amd64-current core dumps
Quick update: Am 09.11.18 um 10:25 schrieb Stefan Wollny: [ ... ] > > Will this be solved with the next snapshots? > Short answer: No! $ dmesg | grep Open OpenBSD 6.4-current (GENERIC.MP) #427: Fri Nov 9 01:09:51 MST 2018 (new full dmesg at the end) $ pkg_info | grep iridium iridium-2018.11.70 Iridium browser $ iridium --version Iridium 2018.11 $ /usr/local/bin/iridium [1109/150939.014189:ERROR:icu_util.cc(172)] Invalid file descriptor to ICU data received. Trace/BPT trap (core dumped) $ doas gdb /usr/local/iridium/iridium iridium.core [ ... ] Core was generated by `iridium'. Program terminated with signal 5, Trace/breakpoint trap. Reading symbols from /usr/lib/libpthread.so.25.1...done. Loaded symbols for /usr/lib/libpthread.so.25.1 Loaded symbols for /usr/local/iridium/iridium Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done. Loaded symbols for /usr/X11R6/lib/libX11.so.16.1 Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done. Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0 Reading symbols from /usr/X11R6/lib/libxcb.so.4.0...done. Loaded symbols for /usr/X11R6/lib/libxcb.so.4.0 Reading symbols from /usr/X11R6/lib/libXcomposite.so.4.0...done. Loaded symbols for /usr/X11R6/lib/libXcomposite.so.4.0 Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done. Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0 Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done. Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0 Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done. Loaded symbols for /usr/X11R6/lib/libXext.so.13.0 Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done. Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0 Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done. Loaded symbols for /usr/X11R6/lib/libXi.so.12.1 Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done. Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0 Reading symbols from /usr/X11R6/lib/libXtst.so.11.0...done. Loaded symbols for /usr/X11R6/lib/libXtst.so.11.0 Reading symbols from /usr/local/lib/libgmodule-2.0.so.4200.7...done. Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.7 Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.7...done. Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.7 Reading symbols from /usr/local/lib/libglib-2.0.so.4201.0...done. Loaded symbols for /usr/local/lib/libglib-2.0.so.4201.0 Reading symbols from /usr/local/lib/libintl.so.6.0...done. Loaded symbols for /usr/local/lib/libintl.so.6.0 Reading symbols from /usr/local/lib/libpcre.so.3.0...done. Loaded symbols for /usr/local/lib/libpcre.so.3.0 Reading symbols from /usr/local/lib/libsmime3.so.53.0...done. Loaded symbols for /usr/local/lib/libsmime3.so.53.0 Reading symbols from /usr/local/lib/libnss3.so.53.0...done. Loaded symbols for /usr/local/lib/libnss3.so.53.0 Reading symbols from /usr/local/lib/libnssutil3.so.53.0...done. Loaded symbols for /usr/local/lib/libnssutil3.so.53.0 Reading symbols from /usr/local/lib/libplds4.so.24.0...done. Loaded symbols for /usr/local/lib/libplds4.so.24.0 Reading symbols from /usr/local/lib/libplc4.so.24.0...done. Loaded symbols for /usr/local/lib/libplc4.so.24.0 Reading symbols from /usr/local/lib/libnspr4.so.24.0...done. Loaded symbols for /usr/local/lib/libnspr4.so.24.0 Reading symbols from /usr/local/lib/libcups.so.6.4...done. Loaded symbols for /usr/local/lib/libcups.so.6.4 Reading symbols from /usr/local/lib/libgio-2.0.so.4200.7...done. Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.7 Reading symbols from /usr/lib/libexpat.so.12.0...done. Loaded symbols for /usr/lib/libexpat.so.12.0 Reading symbols from /usr/local/lib/libdbus-1.so.11.2...done. Loaded symbols for /usr/local/lib/libdbus-1.so.11.2 Reading symbols from /usr/lib/libevent.so.4.1...done. Loaded symbols for /usr/lib/libevent.so.4.1 Reading symbols from /usr/lib/libm.so.10.1...done. Loaded symbols for /usr/lib/libm.so.10.1 Reading symbols from /usr/lib/libz.so.5.0...done. Loaded symbols for /usr/lib/libz.so.5.0 Reading symbols from /usr/local/lib/libuuid.so.14.0...done. Loaded symbols for /usr/local/lib/libuuid.so.14.0 Reading symbols from /usr/X11R6/lib/libdrm.so.7.6...done. Loaded symbols for /usr/X11R6/lib/libdrm.so.7.6 Reading symbols from /usr/X11R6/lib/libXss.so.6.0...done. Loaded symbols for /usr/X11R6/lib/libXss.so.6.0 Reading symbols from /usr/X11R6/lib/libXrandr.so.7.1...done. Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.1 Reading symbols from /usr/local/lib/libatk-1.0.so.21809.2...done. Loaded symbols for /usr/local/lib/libatk-1.0.so.21809.2 Reading symbols from /usr/local/lib/libatk-bridge-2.0.so.0.0...done. Loaded symbols for /usr/local/lib/libatk-bridge-2.0.so.0.0 Reading symbols from /usr/local/lib/libatspi.so.0.2...done. Loaded symbols for /usr/local/lib/libatspi.so.0.2 Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3800.1...done. Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3800.1 Reading symbols from /usr/local/l
Re: latest iridium-browser on amd64-current core dumps
Additional info from gdb: [ ... ] > Loaded symbols for /usr/local/lib/libgmp.so.10.0 > Reading symbols from /usr/libexec/ld.so...done. > Loaded symbols for /usr/libexec/ld.so > #0 0x1e4c44b648e5 in ChromeMain () from /usr/local/iridium/iridium > (gdb) bt #0 0x134869f648e5 in ChromeMain () from /usr/local/iridium/iridium #1 0x13486c445689 in ChromeMain () from /usr/local/iridium/iridium #2 0x13486c44fc52 in ChromeMain () from /usr/local/iridium/iridium #3 0x13486c444ffe in ChromeMain () from /usr/local/iridium/iridium #4 0x134869f6328b in ChromeMain () from /usr/local/iridium/iridium #5 0x134869f63056 in _start () from /usr/local/iridium/iridium #6 0x in ?? () (gdb) l 1 /* $OpenBSD: boot.c,v 1.16 2018/10/23 04:01:45 guenther Exp $ */ 2 3 /* 4* Copyright (c) 1998 Per Fogelstrom, Opsycon AB 5* 6* Redistribution and use in source and binary forms, with or without 7* modification, are permitted provided that the following conditions 8* are met: 9* 1. Redistributions of source code must retain the above copyright 10 *notice, this list of conditions and the following disclaimer. (gdb) bt full #0 0x134869f648e5 in ChromeMain () from /usr/local/iridium/iridium No symbol table info available. #1 0x13486c445689 in ChromeMain () from /usr/local/iridium/iridium No symbol table info available. #2 0x13486c44fc52 in ChromeMain () from /usr/local/iridium/iridium No symbol table info available. #3 0x13486c444ffe in ChromeMain () from /usr/local/iridium/iridium No symbol table info available. #4 0x134869f6328b in ChromeMain () from /usr/local/iridium/iridium No symbol table info available. #5 0x134869f63056 in _start () from /usr/local/iridium/iridium No symbol table info available. #6 0x in ?? () No symbol table info available. (gdb) f #0 0x134869f648e5 in ChromeMain () from /usr/local/iridium/iridium (gdb) info f Stack level 0, frame at 0x7f7f62e0: rip = 0x134869f648e5 in ChromeMain; saved rip 0x13486c445689 called by frame at 0x7f7f6400 Arglist at 0x7f7f62c8, args: Locals at 0x7f7f62c8, Previous frame's sp is 0x7f7f62e0 Saved registers: rbp at 0x7f7f62d0, rip at 0x7f7f62d8 (gdb) Any other info I can provide? Best, STEFAN
Re: latest iridium-browser on amd64-current => solved
On 09.11.18 10:25, Stefan Wollny wrote: [ ... ] Thank you, robert@! Iridium is fine again.
FAQ/Multimedia: Burning CDs and DVDs
Hi there! I just noticed that the sections on burning CDs and DVDs are no longer present in OpenBSD's FAQ related to multimedia. Is this intentional? I didn't see anything on this on tech@ or misc@... Best, STEFAN pEpkey.asc Description: application/pgp-keys
s.th. strange happening?
Hi there! As I never did any changes to 'www/squid/Makefile' the following irritates me: /usr/ports $ doas cvs -q up -Pd -A cvs server: conflict: INDEX is modified but no longer in the repository C INDEX M www/squid/Makefile Can some kind soul give me a hint? Anything I should do? TIA. Best, STEFAN
Re: OpenBSD Project
Am 22.09.19 um 20:52 schrieb Mihai Popescu: >> No. > > Security, privacy or too messy? > Theo's answer was deep going, detailed and terminal. Nothing to add.
Ocaml's owl fail to build
Hi there! Any Ocaml experts around who managed to install 'owl'? Installation of owl fails as 'eigen' and 'open-blas' fail to build. I am running amd64-current. Any suggestions what I might miss??? TIA! Best, STEFAN 8<~~~ $ opam switch list # switch compilerdescription default ocaml-system.4.07.1 default → ocaml-base-compiler ocaml-base-compiler.4.09.0 ocaml-base-compiler $ opam install owl The following actions will be performed: ∗ install eigen 0.1.4 [required by owl] ∗ install conf-openblas 0.2.0 [required by owl] ∗ install owl 0.6.0 = ∗ 3 = Do you want to continue? [Y/n] Y <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [eigen.0.1.4] found in cache [owl.0.6.0] found in cache <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> [ERROR] The compilation of conf-openblas failed at "/bin/sh -exc cc $CFLAGS test.c -lopenblas". [ERROR] The compilation of eigen failed at "/home/sw/.opam/ocaml-base-compiler/bin/dune build -p eigen eigen_cpp/libeigen_cpp_stubs.a". #=== ERROR while compiling eigen.0.1.4 # # context 2.0.5 | openbsd/x86_64 | ocaml-base-compiler.4.09.0 | https://opam.ocaml.org#e785ffef # path~/.opam/ocaml-base-compiler/.opam-switch/build/eigen.0.1.4 # command ~/.opam/ocaml-base-compiler/bin/dune build -p eigen eigen_cpp/libeigen_cpp_stubs.a # exit-code 1 # env-file~/.opam/log/eigen-84391-d0f245.env # output-file ~/.opam/log/eigen-84391-d0f245.out ### output ### # make eigen_cpp/lib/libeigen.{a,so} (exit 1) # (cd _build/default/eigen_cpp/lib && /usr/bin/make) # g++ -O3 -std=c++11 -I. -I./unsupported/ -c -fPIC -ansi -Wno-extern-c-compat -Wno-c++11-long-long -Wno-invalid-partial-specialization -Ofast -march=native -mfpmath=sse -funroll-loops -ffast-math eigen_tensor.cpp -o eigen_tensor.o # cc1plus: error: invalid option argument '-Ofast' # cc1plus: error: unrecognized command line option "-std=c++11" # cc1plus: error: unrecognized command line option "-Wno-invalid-partial-specialization" # *** Error 1 in /home/sw/.opam/ocaml-base-compiler/.opam-switch/build/eigen.0.1.4/_build/default/eigen_cpp/lib (Makefile:8 'all') #=== ERROR while compiling conf-openblas.0.2.0 # # context 2.0.5 | openbsd/x86_64 | ocaml-base-compiler.4.09.0 | https://opam.ocaml.org#e785ffef # path ~/.opam/ocaml-base-compiler/.opam-switch/build/conf-openblas.0.2.0 # command /bin/sh -exc cc $CFLAGS test.c -lopenblas # exit-code 1 # env-file~/.opam/log/conf-openblas-84391-ad8886.env # output-file ~/.opam/log/conf-openblas-84391-ad8886.out ### output ### # + cc test.c -lopenblas # test.c:1:10: fatal error: 'cblas.h' file not found # #include # ^ # 1 error generated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build conf-openblas 0.2.0 │ λ build eigen 0.1.4 └─ ╶─ No changes have been performed # Run eval $(opam env) to update the current shell environment >8~~~ $ pkg_info | grep eigen eigen-1.0.5 lightweight C++ template library for linear algebra $ pkg_info | grep blas- blas-3.8.0p0Basic Linear Algebra Subprograms cblas-1.0p6 C interface to the BLAS library
Re: Ocaml's owl fail to build
Ping... Anyone? Am 22.10.19 um 17:21 schrieb Stefan Wollny: > Hi there! > > Any Ocaml experts around who managed to install 'owl'? Installation of > owl fails as 'eigen' and 'open-blas' fail to build. > > I am running amd64-current. > > Any suggestions what I might miss??? > > TIA! > > Best, > STEFAN > > > > 8<~~~ > $ opam switch list > # switch compilerdescription >default ocaml-system.4.07.1 default > → ocaml-base-compiler ocaml-base-compiler.4.09.0 ocaml-base-compiler > > $ opam install owl > The following actions will be performed: > ∗ install eigen 0.1.4 [required by owl] > ∗ install conf-openblas 0.2.0 [required by owl] > ∗ install owl 0.6.0 > = ∗ 3 = > Do you want to continue? [Y/n] Y > > <><> Gathering sources >> <><><><><><><><><><><><><><><><><><><><><><><><><><><><> > [eigen.0.1.4] found in cache > [owl.0.6.0] found in cache > > <><> Processing actions > <><><><><><><><><><><><><><><><><><><><><><><><><><><><> > [ERROR] The compilation of conf-openblas failed at "/bin/sh -exc cc > $CFLAGS test.c -lopenblas". > [ERROR] The compilation of eigen failed at > "/home/sw/.opam/ocaml-base-compiler/bin/dune build -p eigen > eigen_cpp/libeigen_cpp_stubs.a". > > #=== ERROR while compiling eigen.0.1.4 > # > # context 2.0.5 | openbsd/x86_64 | ocaml-base-compiler.4.09.0 | > https://opam.ocaml.org#e785ffef > # path~/.opam/ocaml-base-compiler/.opam-switch/build/eigen.0.1.4 > # command ~/.opam/ocaml-base-compiler/bin/dune build -p eigen > eigen_cpp/libeigen_cpp_stubs.a > # exit-code 1 > # env-file~/.opam/log/eigen-84391-d0f245.env > # output-file ~/.opam/log/eigen-84391-d0f245.out > ### output ### > # make eigen_cpp/lib/libeigen.{a,so} (exit 1) > # (cd _build/default/eigen_cpp/lib && /usr/bin/make) > # g++ -O3 -std=c++11 -I. -I./unsupported/ -c -fPIC -ansi > -Wno-extern-c-compat -Wno-c++11-long-long > -Wno-invalid-partial-specialization -Ofast -march=native -mfpmath=sse > -funroll-loops -ffast-math eigen_tensor.cpp -o eigen_tensor.o > # cc1plus: error: invalid option argument '-Ofast' > # cc1plus: error: unrecognized command line option "-std=c++11" > # cc1plus: error: unrecognized command line option > "-Wno-invalid-partial-specialization" > # *** Error 1 in > /home/sw/.opam/ocaml-base-compiler/.opam-switch/build/eigen.0.1.4/_build/default/eigen_cpp/lib > (Makefile:8 'all') > > > #=== ERROR while compiling conf-openblas.0.2.0 > # > # context 2.0.5 | openbsd/x86_64 | ocaml-base-compiler.4.09.0 | > https://opam.ocaml.org#e785ffef > # path > ~/.opam/ocaml-base-compiler/.opam-switch/build/conf-openblas.0.2.0 > # command /bin/sh -exc cc $CFLAGS test.c -lopenblas > # exit-code 1 > # env-file~/.opam/log/conf-openblas-84391-ad8886.env > # output-file ~/.opam/log/conf-openblas-84391-ad8886.out > ### output ### > # + cc test.c -lopenblas > # test.c:1:10: fatal error: 'cblas.h' file not found > # #include > # ^ > # 1 error generated. > > > > <><> Error report > <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> > ┌─ The following actions failed > │ λ build conf-openblas 0.2.0 > │ λ build eigen 0.1.4 > └─ > ╶─ No changes have been performed > # Run eval $(opam env) to update the current shell environment > >8~~~ > > $ pkg_info | grep eigen > eigen-1.0.5 lightweight C++ template library for linear algebra > > $ pkg_info | grep blas- > blas-3.8.0p0Basic Linear Algebra Subprograms > cblas-1.0p6 C interface to the BLAS library >
Re: Ocaml's owl fail to build
Thanks Stuart! Will investigate as you suggested. Best, STEFAN Am 25.10.19 um 15:21 schrieb Stuart Henderson: > On 2019-10-25, Stefan Wollny wrote: >> Ping... >> >> Anyone? >> >> >> Am 22.10.19 um 17:21 schrieb Stefan Wollny: >>> Hi there! >>> >>> Any Ocaml experts around who managed to install 'owl'? Installation of >>> owl fails as 'eigen' and 'open-blas' fail to build. >>> >>> I am running amd64-current. >>> >>> Any suggestions what I might miss??? > > No idea about owl/Ocaml, but you will need to use a C++11 compiler to build > eigen: > >>> # g++ -O3 -std=c++11 -I. -I./unsupported/ -c -fPIC -ansi >>> -Wno-extern-c-compat -Wno-c++11-long-long >>> -Wno-invalid-partial-specialization -Ofast -march=native -mfpmath=sse >>> -funroll-loops -ffast-math eigen_tensor.cpp -o eigen_tensor.o >>> # cc1plus: error: invalid option argument '-Ofast' >>> # cc1plus: error: unrecognized command line option "-std=c++11" >>> # cc1plus: error: unrecognized command line option >>> "-Wno-invalid-partial-specialization" >>> # *** Error 1 in >>> /home/sw/.opam/ocaml-base-compiler/.opam-switch/build/eigen.0.1.4/_build/default/eigen_cpp/lib >>> (Makefile:8 'all') > > It should use c++ (which is clang on amd64), not g++ (old gcc). >
thunderbird core-dumps on amd64-current latest with 'pledge "stdio", syscall 87'
Hello! I just updated the system and the packages to the latest versions available on 'ftp.hostserver.de' on two different laptops (Schenker/clavo and Lenovo Thinkpad T450S). Here are the infos from the Schenker: $ dmesg | grep Open OpenBSD 6.6-current (GENERIC.MP) #402: Sat Oct 26 22:53:27 MDT 2019 $ pkg_info | grep thunder thunderbird-68.2.0 Mozilla e-mail, rss and usenet client thunderbird-i18n-de-68.2.0 de language pack for Thunderbird ls -alh /usr/local/bin/thunderbird -rwxr-xr-x 1 root bin 206K Oct 25 05:33 /usr/local/bin/thunderbird* $ thunderbird Abort trap (core dumped) $ dmesg | grep thunder thunderbird[15793]: pledge "stdio", syscall 87 thunderbird[69048]: pledge "stdio", syscall 87 Could this somehow be specific to my laptops? dmesg from the Schenker below. Any other infos needed? Any advice welcome. TIA. Best, STEFAN OpenBSD 6.6-current (GENERIC.MP) #402: Sat Oct 26 22:53:27 MDT 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17079074816 (16287MB) avail mem = 16548741120 (15782MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.24 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN 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) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1),
Solved: thunderbird core-dumps on amd64-current latest with 'pledge "stdio", syscall 87'
For the records: I received a solution by gjones5...@netscape.net: Add the following to the end of /usr/local/lib/thunderbird/defaults/pref/all-openbsd.js // enable pledging the content process pref("security.sandbox.content.level", 1); pref("security.sandbox.pledge.main","stdio rpath wpath cpath inet proc exec prot _exec flock ps sendfd recvfd dns vminfo tty drm unix fattr getpw mcast video"); pref("security.sandbox.pledge.content","stdio rpath wpath cpath inet recvfd send fd prot_exec unix drm ps"); Am 27.10.19 um 19:09 schrieb Stefan Wollny: > Hello! > > I just updated the system and the packages to the latest versions available > on 'ftp.hostserver.de' on two different laptops (Schenker/clavo and Lenovo > Thinkpad T450S). > > Here are the infos from the Schenker: > > $ dmesg | grep Open > OpenBSD 6.6-current (GENERIC.MP) #402: Sat Oct 26 22:53:27 MDT 2019 > > $ pkg_info | grep thunder > thunderbird-68.2.0 Mozilla e-mail, rss and usenet client > thunderbird-i18n-de-68.2.0 de language pack for Thunderbird > > ls -alh /usr/local/bin/thunderbird > -rwxr-xr-x 1 root bin 206K Oct 25 05:33 /usr/local/bin/thunderbird* > > $ thunderbird > Abort trap (core dumped) > > $ dmesg | grep thunder > thunderbird[15793]: pledge "stdio", syscall 87 > thunderbird[69048]: pledge "stdio", syscall 87 > > Could this somehow be specific to my laptops? dmesg from the Schenker below. > > Any other infos needed? > > Any advice welcome. > > TIA. > > Best, > STEFAN > > > OpenBSD 6.6-current (GENERIC.MP) #402: Sat Oct 26 22:53:27 MDT 2019 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 17079074816 (16287MB) > avail mem = 16548741120 (15782MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) > bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 > bios0: Notebook W65_67SZ > acpi0 at bios0: ACPI 5.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT > SSDT DMAR > acpi0: wakeup devices RP01(S4) PXSX(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) > PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3) EHC2(S3) > XHC_(S3) HDEF(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) i5-4210M CPU @ 2.60GHz, 3093.24 MHz, 06-3c-03 > 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > 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) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 > 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 > 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 1, core 0, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03 > 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-C
Re: Web Filtering with the Blowfish
Am 10/02/15 um 21:45 schrieb Predrag Punosevac: > > 3. Block some websites (Facebook come first to mind). > > Thank you for your advise. > > Predrag > Hi Predrag, I have raised that question 2 years ago and received some pretty helpful information from the kind people here. I started with this thread: http://thread.gmane.org/gmane.os.openbsd.misc/207960/focus=208000 But as at first I didn't get it right I came up with a second thread: http://thread.gmane.org/gmane.os.openbsd.misc/208048/focus=208061 If you would like to make some experiments with relayd I would like to point your interest to Chris Cappuccio's comment and write-up: http://thread.gmane.org/gmane.os.openbsd.misc/208048/focus=208061 http://www.nmedia.net/chris/url.blacklist.txt Very smart! (Thank's again, Chris!) Hope that get's you started. Best, STEFAN
Re: unbreak trunk(4)
Am 10/07/15 um 15:47 schrieb Mike Belopuhov: > On Wed, Oct 07, 2015 at 15:41 +0200, Mike Belopuhov wrote: >> Hi, >> >> If you have noticed recent problems with trunk(4) please try the >> diff below as it fixes a subtle issue (not introduced by my changes!) >> with setting lladdr on non primary trunk ports: trunk_port_ioctl >> needs to be able to lookup the trunk port, but we didn't put it on >> the list yet, doh! >> >> OK's are welcome as well. >> > > boo hoo, it clashes with some uncommitted changes, here's a rebased version. > > > diff --git sys/net/if_trunk.c sys/net/if_trunk.c > index 8678fe4..2aaa339 100644 > --- sys/net/if_trunk.c > +++ sys/net/if_trunk.c > @@ -358,18 +358,18 @@ trunk_port_create(struct trunk_softc *tr, struct ifnet > *ifp) > tr->tr_primary = tp; > tp->tp_flags |= TRUNK_PORT_MASTER; > trunk_lladdr(&tr->tr_ac, tp->tp_lladdr); > } > > - /* Update link layer address for this port */ > - trunk_port_lladdr(tp, > - ((struct arpcom *)(tr->tr_primary->tp_if))->ac_enaddr); > - > /* Insert into the list of ports */ > SLIST_INSERT_HEAD(&tr->tr_ports, tp, tp_entries); > tr->tr_count++; > > + /* Update link layer address for this port */ > + trunk_port_lladdr(tp, > + ((struct arpcom *)(tr->tr_primary->tp_if))->ac_enaddr); > + > /* Update trunk capabilities */ > tr->tr_capabilities = trunk_capabilities(tr); > > /* Add multicast addresses to this port */ > trunk_ether_cmdmulti(tp, SIOCADDMULTI); > Hi Mike, I am sorry to report, but still no connection on startup, but after login 'doas sh /etc/netstart' is doing fine. (I applied both patches.) OpenBSD 5.8-current (GENERIC.MP) #1255: Tue Oct 6 13:56:04 MDT 2015 Do you want the output of '!/sbin/ifconfig -A >/root/ifconfig.out 2>&1' again? Any other info needed? Best, STEFAN
Re: unbreak trunk(4)
Am 10/07/15 um 21:14 schrieb Daniel Jakots: > On Wed, 7 Oct 2015 15:59:21 +0200, Stefan Wollny > wrote: > >> Am 10/07/15 um 15:47 schrieb Mike Belopuhov: >>> On Wed, Oct 07, 2015 at 15:41 +0200, Mike Belopuhov wrote: >>>> Hi, >>>> >>>> If you have noticed recent problems with trunk(4) please try the >>>> diff below as it fixes a subtle issue (not introduced by my >>>> changes!) with setting lladdr on non primary trunk ports: >>>> trunk_port_ioctl needs to be able to lookup the trunk port, but we >>>> didn't put it on the list yet, doh! >>>> >>> boo hoo, it clashes with some uncommitted changes, here's a rebased >>> version. >>> >>> > > Hi, > > I applied the second patch and it fixes my problem, thanks! > >> Hi Mike, >> >> I am sorry to report, but still no connection on startup, but after >> login 'doas sh /etc/netstart' is doing fine. > > Stefan, > > Sometimes my iwn0 can't connect at boot (I've never reported it because > it's scarce, random and easily solvable with # sh /etc/netstart) > so if you've already seen this, maybe give it another reboot to > try? > > Cheers, > Daniel > Hi Daniel, I agree that the practical solution is easy. Yet (as I have reported privately to Mike due to some attachments) for the last 2~3 weeks with i386-current (GENERIC.MP) this behaviour is _not_ randomly but without exception at every startup. This happens with the internal antenna (wpi0) as well with an external one (rsu0). Connecting to the LAN (em0) with trunk0 is done at startup without any delay. The patches Mike kindly provided (a big THANK YOU!) did not change that behaviour. As this is just a minor nuissance I guess ressources presently are better allocated on tame(2)'ing OpenBSD, right? Best, STEFAN
strange dmesg
Hi there! A couple of days ago I managed to reactivate my iMac by installing a SSD. Beside the usual glitches from some nVidia-stuff the machine works fine - running OpenBSD, of course! :-) With Theo's request on checking dmesg for pledge(2)-related errors I stumbled upon the following:$ dmesg | grep Open OpenBSD 5.8-current (GENERIC.MP) #1470: Mon Oct 12 18:22:02 MDT 2015 OpenBSD 5.8-current (GENERIC.MP) #1473: Tue Oct 13 08:56:20 MDT 2015 OpenBSD 5.8-current (GENERIC.MP) #1480: Wed Oct 14 09:33:06 MDT 2015 Yes - output of dmesg shows all three versions! BTW: This is amd64-current as you will notice by the full output at the end. QUESTION: Is this expected behaviour??? On an other machine (amd64-current as well, unfortunately defunct for yet unknown reasons) I never noticed s.th. like this. Any suggestions? TIA! Best,STEFAN +++ OpenBSD 5.8-current (GENERIC.MP) #1470: Mon Oct 12 18:22:02 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error f7 real mem = 8279707648 (7896MB) avail mem = 8024653824 (7652MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (43 entries) bios0: vendor Apple Inc. version "IM91.88Z.008D.B08.0904271717" date 04/27/09 bios0: Apple Inc. iMac9,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 acpi0: wakeup devices EC__(S3) OHC1(S3) EHC1(S3) OHC2(S3) EHC2(S3) GIGE(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 2500 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU E8135 @ 2.66GHz, 1592.26 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR cpu0: 6MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 265MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU E8135 @ 2.66GHz, 1592.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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR cpu1: 6MB 64b/line 16-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-255 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (IXVE) acpicpu0 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1 mwait), PSS acpicpu1 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1 mwait), PSS acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB cpu0: Enhanced SpeedStep 1592 MHz: speeds: 2660, 2394, 2128, 1862, 1596 MHz memory map conflict 0xffc0/0x40 pci0 at mainbus0 bus 0 0:3:5: mem address conflict 0xd350/0x8 pchb0 at pci0 dev 0 function 0 "NVIDIA MCP79 Host" rev 0xb1 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 0 function 1 not configured pcib0 at pci0 dev 3 function 0 "NVIDIA MCP79 ISA" rev 0xb2 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 3 function 1 not configured nviic0 at pci0 dev 3 function 2 "NVIDIA MCP79 SMBus" rev 0xb1 iic0 at nviic0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-8500 SO-DIMM spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-8500 SO-DIMM iic1 at nviic0 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 3 function 3 not configured vendor "NVIDIA", unknown product 0x0a98 (class memory subclass RAM, rev 0xb1) at pci0 dev 3 function 4 not configured "NVIDIA MCP79 Co-processor" rev 0xb1 at pci0 dev 3 function 5 not configured ohci0 at pci0 dev 4 function 0 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 11, version 1.0, legacy support ehci0 at pci0 dev 4 function 1 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 6 function 0 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 7, version 1.0, legacy support ehci1 at pci0 dev 6 function 1 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 5 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 8 function 0 "NVIDIA MCP79 HD Audio" rev 0xb1: apic 1 int 15 azalia0: codecs: Realtek ALC885 audio0 at azalia0 ppb0 at pci0 dev 9 function 0 "NVIDIA MCP79 PCIE" rev 0xb1 pci1 at ppb0 bus 1 nfe0 at pci0 dev 10 function 0 "NVIDIA MCP79 LAN" rev 0xb1: apic 1 int 14, address 00:26:b0:d9:00:c6 rgephy0 at nfe0 phy 1: RTL8169S/8110S/8211 PHY, rev. 2 pciide0 at pci0 dev 11 function 0 "NVIDIA MCP79 SATA" rev 0xb1: DMA pciide0: using apic 1 int 11 for native-PCI int
Re: strange dmesg
Am 10/15/15 um 03:23 schrieb Stuart Henderson: >> kvm_mkdb(31159): syscall 16 > .. >> > kvm_mkdb(31287): syscall 16 >> > bzip2(6396): syscall 5 >> > smtpctl(24717): syscall 5 >> > smtpctl(4120): syscall 5 > I think these particular ones should all be gone with the newer > version that you're now running. > No - the smtpctl()-syscall 5 still persists even with the very latest snapshot from last night (amd64-current, GENERIC.MP, #1485). Is there any way of clearing the dmesg-buffer? I ask because when upgrading this morning via bsd.rd I got the message that '/' has no space left. Best, STEFAN
amd64-current (evening of Oct. 24th) make build failed
Hi there, as no updated kernel for amd64-current exists I compiled one based on the latest sources (9 p.m. Berlin-time): Afterwards I followed the faq and did: doas rm -rf /usr/obj/* cd /usr/src doas make obj cd etc/ doas env DESTDIR=/ make distrib-dirs cd .. doas make build The build process comes to an end with the following: ===> usr.sbin/ndp cc -O2 -pipe-DINET6 -I/usr/src/usr.sbin/ndp -c /usr/src/usr.sbin/ndp/ndp.c /usr/src/usr.sbin/ndp/ndp.c: In function 'ifinfo': /usr/src/usr.sbin/ndp/ndp.c:970: error: 'struct nd_ifinfo' has no member named 'chlim' *** Error 1 in usr.sbin/ndp (:87 'ndp.o') *** Error 1 in usr.sbin (:48 'all') *** Error 1 in . (:48 'all') *** Error 1 in /usr/src (Makefile:82 'build') Anything I can do beside wait for updated sources? Any additional info necessary to investigate further? Best, STEFAN OpenBSD 5.8-current (GENERIC.MP) #0: Thu Oct 22 12:07:56 CEST 2015 s...@imac.fritz.box:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error f7 real mem = 8279707648 (7896MB) avail mem = 8024649728 (7652MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (43 entries) bios0: vendor Apple Inc. version "IM91.88Z.008D.B08.0904271717" date 04/27/09 bios0: Apple Inc. iMac9,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 acpi0: wakeup devices EC__(S3) OHC1(S3) EHC1(S3) OHC2(S3) EHC2(S3) GIGE(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 2500 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU E8135 @ 2.66GHz, 1592.27 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR cpu0: 6MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 265MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU E8135 @ 2.66GHz, 1592.01 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR cpu1: 6MB 64b/line 16-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-255 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (IXVE) acpicpu0 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1 mwait), PSS acpicpu1 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1 mwait), PSS acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB cpu0: Enhanced SpeedStep 1592 MHz: speeds: 2660, 2394, 2128, 1862, 1596 MHz memory map conflict 0xffc0/0x40 pci0 at mainbus0 bus 0 0:3:5: mem address conflict 0xd350/0x8 pchb0 at pci0 dev 0 function 0 "NVIDIA MCP79 Host" rev 0xb1 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 0 function 1 not configured pcib0 at pci0 dev 3 function 0 "NVIDIA MCP79 ISA" rev 0xb2 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 3 function 1 not configured nviic0 at pci0 dev 3 function 2 "NVIDIA MCP79 SMBus" rev 0xb1 iic0 at nviic0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-8500 SO-DIMM spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-8500 SO-DIMM iic1 at nviic0 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 3 function 3 not configured vendor "NVIDIA", unknown product 0x0a98 (class memory subclass RAM, rev 0xb1) at pci0 dev 3 function 4 not configured "NVIDIA MCP79 Co-processor" rev 0xb1 at pci0 dev 3 function 5 not configured ohci0 at pci0 dev 4 function 0 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 11, version 1.0, legacy support ehci0 at pci0 dev 4 function 1 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 6 function 0 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 7, version 1.0, legacy support ehci1 at pci0 dev 6 function 1 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 5 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 8 function 0 "NVIDIA MCP79 HD Audio" rev 0xb1: apic 1 int 15 azalia0: codecs: Realtek ALC885 audio0 at azalia0 ppb0 at pci0 dev 9 function 0 "NVIDIA MCP79 PCIE" rev 0xb1 pci1 at ppb0 bus 1 nfe0 at pci0 dev 10 function 0 "NVIDIA MCP79 LAN" rev 0xb1: apic 1 int 14, address 00:26:b0:d9:00:c6 rgephy0 at nfe0 phy 1: RTL8169S/8110S/8211 PHY, rev. 2 pciide0 at pci0 dev 11 function 0 "NVIDIA MCP79 SATA" rev 0xb1: DMA pciide0: using apic 1 int 11 for native-PCI interrupt
Re: amd64-current (evening of Oct. 24th) make build failed
Am 10/24/15 um 22:47 schrieb Stefan Wollny: [ ... ] Big surprise: this is how 'make build' end on i386-current (sources some minutes younger than the amd64-current ones): ===> usr.sbin/ndp cc -O2 -pipe-DINET6 -I/usr/src/usr.sbin/ndp -c /usr/src/usr.sbin/ndp/ndp.c /usr/src/usr.sbin/ndp/ndp.c: In function 'ifinfo': /usr/src/usr.sbin/ndp/ndp.c:970: error: 'struct nd_ifinfo' has no member named 'chlim' *** Error 1 in usr.sbin/ndp (:87 'ndp.o') *** Error 1 in usr.sbin (:48 'all') *** Error 1 in . (:48 'all') *** Error 1 in /usr/src (Makefile:82 'build') OpenBSD 5.8-current (GENERIC.MP) #1: Sat Oct 24 22:19:29 CEST 2015 s...@idefix.fritz.box:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 CPU T7200 @ 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF,SENSOR real mem = 3219472384 (3070MB) avail mem = 3145248768 (2999MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 12/22/06, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "79ETC9WW (2.09 )" date 12/22/2006 bios0: LENOVO 2007VG2 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF,SENSOR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "92P1139" serial 2887 type LION oem "Panasonic" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility X1300 M52-64" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 1 int 16 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 00:15:58:81:15:fb ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW2, address 00:19:d2:85:6f:4d ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4 xhci0 at pci4 dev 0 function 0 "Renesas uPD720202 xHCI" rev 0x02: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "Renesas xHCI root hub" rev 3.00/1.00 addr 1 ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 "Intel 82801G
Re: amd64-current (evening of Oct. 24th) make build failed
Am 10/24/15 um 23:47 schrieb Nigel Taylor: On 10/24/15 21:47, Stefan Wollny wrote: Hi there, as no updated kernel for amd64-current exists I compiled one based on the latest sources (9 p.m. Berlin-time): Afterwards I followed the faq and did: doas rm -rf /usr/obj/* cd /usr/src doas make obj cd etc/ doas env DESTDIR=/ make distrib-dirs cd .. doas make build The build process comes to an end with the following: ===> usr.sbin/ndp cc -O2 -pipe-DINET6 -I/usr/src/usr.sbin/ndp -c /usr/src/usr.sbin/ndp/ndp.c /usr/src/usr.sbin/ndp/ndp.c: In function 'ifinfo': /usr/src/usr.sbin/ndp/ndp.c:970: error: 'struct nd_ifinfo' has no member named 'chlim' *** Error 1 in usr.sbin/ndp (:87 'ndp.o') *** Error 1 in usr.sbin (:48 'all') *** Error 1 in . (:48 'all') *** Error 1 in /usr/src (Makefile:82 'build') Anything I can do beside wait for updated sources? Any additional info necessary to investigate further? Best, STEFAN There is an update in CVS to fix this. Thank you for the hint! Best, STEFAN
Softraid-Crypto: Installation not possible
Hi there! Most likely I am overlooking the right sentence in the FAQ, man fdisk(8) or man disklabel(8) ... but I am lost at present. Need help! I finally had the money to buy myself a new laptop from Schenker; a different model seems to work just fine (https://marc.info/?l=openbsd-misc&m=143965407100554&w=2). Comes with a m.2-SSD and a SATA-SSD. As I need to visit different customers and chances are high that I receive really sensible data I'd like to set up a fully encrypted system with a key disk following stsp@'s fine presentation on this (http://www.openbsd.org/papers/eurobsdcon2015-softraid-boot.pdf, core instructions at page 11). UEFI-boot is disabled; boot sequence is CD, USB-stick, m.2-SSD. Checking the USB-stick with the to-be-replaced laptop: $ doas disklabel sd1 # /dev/rsd1c: type: SCSI disk: SCSI disk label: UDisk duid: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 979 total sectors: 15730688 boundstart: 64 boundend: 15727635 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c: 157306880 unused d:16001 64RAID e:1606516065RAID f:1606532130RAID g:1606548195RAID h:1606564260RAID i: 1564731080325RAID The idea is to use partition 'd' to unlock the m.2-SSD and 'e' to unlock the other SSD (which shall be mounted as '/home'), 'f' will unlock the backup disk, 'g' & 'h' are for other media and 'i' might be used to store other sensible information (e.g. passwords). What is the problem? I have downloaded the 'install58.iso'-file (amd64-current) and burned the disk to start from. dmesg recognizes the three media and reports them as 'sd0' (=m.2-SSD), 'sd1' (SATA-SSD) and 'sd2' (USB-stick). I can start from the CD and hit 's' at the prompt. < Transcription from here on > # fdisk -iy sd0 Writing MBR at offset0 # fdisk -iy sd1 fdisk: sd2: No such file or directory # fdisk -iy sd2 fdisk: sd2: No such file or directory < End of transcription > You might think "Hold on - sd1 is a SATA-device! This should be handled as 'wdx' (x=0,1,2,...)" OK... # fdisk -iy wd0 fdisk: wd0: Device not configured # disklabel -E wd0 disklabel: /dev/rwd0c: Device not configured PLEASE: Point my curiosity into the right direction! How come that the SATA-SSD and the USB-stick are recognized by dmesg, but neither by fdisk not disklabel??? I tried to plug in a 'normal' MSDOS-formatted USB-stick but it is not possible to mount the stick to copy this system's dmesg onto it ("no such file or directory"). Here are the last visible lines from the dmesg: sd0 at scsibus0 targ 4 lun0: SCSI3 0/direct fixed naa. sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin sd1 at scsibus0 targ5 lun0: SCSI3 0/direct fixed naa. sd1: 976762MB, 512 bytes/sector, 2000409264 sectors, thin "Intel 8 Series SMBus" rev 0x05 at pci0 dev 31 function 3 not configured isa0 at mainbus0 pckbc0 at isa0 port 0x60/5 irq 1 irq12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay1 umass0 at uhub0 port 6 configuration 1 interface 0 "General UDisk" rev 2.00/1.00 addr 2 umass0: using scsi over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd2 at scsibus1 targ 1 lun0: SCSI2 0/direct removable serial. sd2: 7681MB, 512 bytes/sector, 15730688 sectors uhub3 at uhub1 port 1 "vendor 0x8087 product 0x8008" rev 2.00/0.05 addr 2 uhub4 at uhub2 port 1 "vendor 0x8087 product 0x8000" rev 2.00/0.05 addr 2 softraid0 at root scsibus2 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b iwm0: could not read firmnware iwm-7260-9 (error 2) How should I proceed??? TIA! Best, STEFAN
Welcome-Mail
Hi there, I may be wrong but I thought usage of ftp to get information and to download packages is discouraged. I just noticed (after having done a fresh install of amd64-current) reading the welcome mail "Welcome to OpenBSD 5.8!" that the ftp-protocol is still given. Instead ftp://ftp.openbsd.org/pub/OpenBSD/5.8/packages shouldn't this rather be http://ftp.openbsd.org/pub/OpenBSD/5.8/packages ? And consequently the following sentence would be adjusted accordingly just like the example download of emacs. If ftp is still a valid option please excuse the noise. Best, STEFAN
Re: Azalia Volume Too Quiet
Am 11/18/15 um 01:43 schrieb Daniel Wilkins: When I try to play sounds on my Thinkpad T430 I find that the audio's rather quiet, I've experimented a bit and found that at about 170 (mixerctl outputs.master=170) the volume stops increasing. It just stays constant from 170 to 255, or at least the change is so quiet that I can't hear it. I've looked around in the driver a little bit, but I'm no kernel hacker, the only thing I noticed that might help is that for a few widgets outamp (I'm assuming output amplify?) is muted. Check the following: $ mixerctl outputs.master Most likely it is s.th. like "120,120". Try setting it to "245,245" (either with doas/sudo or su to root). If it fits your needs, cp mixerctl.conf from /etc/examples to /etc and set the variable accordingly to make this setting permanent. Best, STEFAN
Re: TLS intercepting proxy [MitM]
Am 11/23/15 um 23:41 schrieb Lampshade: Hello, I would like to use privoxy to scrub/delete some informations in application layer (HTTP) going out from my PC. Problem is that a lot of connections are secured with TLS, so privoxy can not filter them. Is there any way to do something like that: Firefox -> decrypt [MitM] -> privoxy -> encrypt securely -(NIC)-> Internet? It is my PC, so I can install new certificate or something like that, but neverthless I don't know how to achieve that result. Is this possible using relayd? Is it possible with other tool in ports or something that I can compile from source? It is about 2 years old but should give you a starting poing: http://www.reykfloeter.com/post/41814177050/relayd-ssl-interception Best, STEFAN
[drm:pid0:intel_uncore_check_errors] *ERROR* Unclaimed register before interrupt
HI there, is this issue known or should I file a bug report? Best, STEFAN OpenBSD 5.8-current (GENERIC.MP) #1726: Mon Dec 7 22:06:49 MST 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17082359808 (16291MB) avail mem = 16560525312 (15793MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(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) i5-4210M CPU @ 2.60GHz, 3093.24 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,SENSOR,ARAT 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) i5-4210M CPU @ 2.60GHz, 3092.84 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,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 120 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook" acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD0 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi pci1 at ppb0 bus 1 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1920x1080 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured ehci0 at pci0
NOT POSSIBLE: Fully encrypted system with keydisk
G'day! I AM LOST! I read the FAQ (section 14), read man bioctl, read stsp@'s article on undeadly.org and a couple of other sites on the 'net: IT IS NOT POSSIBLE TO INSTALL A FULLY ENCRYPTED SYSTEM WITH KEYDISK FOLLOWING THE DOCUMENTATION on an amd64-current system! Full stop! (~current = the last three weeks, every iteration) Again and again and again I end up with //install: //install.sub[]: cannot create /dev/null: No space left on device repeated endlessly with inbetween (probably, as pretty fast scrolling by) uid "0" on /: out of inodes What am I missing??? YES: I can install the system unencrypted on the same hardware YES: I did switch to the console when running 'bsd.rd' from CD YES: I did switch to /dev and did 'sh ./MAKEDEV all' YES: I did 'fdisk -iy' to sd0 and sd1 (sd0=SSD, sd1=USB-keydisk) YES: I did 'disklabel -E sd0' and 'disklabel -E sd1' accordingly, setting every partition to type RAID NO: 'dd if=/dev/zero ...' is not possible with bsd.rd (amd64-current) YES: I did 'bioctl -C force -c C -l /dev/sd0d -k /dev/sd1d softraid0' YES: I did again 'sh ./MAKEDEV all' to catch the newly created sd2 NO: I did not 'fdisk', 'disklabel' and 'newfs' on sd2 as this is expected to be done by the install process YES: I did switch to '/' before running 'install' ... but from now on I only see the message as stated above. No dmesg possible as the install process stops right after entering 'install'! What am I doing wrong, what am I missing??? I am lost, having screwed at least one SSD... Any hints appreciated. Thanks. Best, STEFAN
Re: NOT POSSIBLE: Fully encrypted system with keydisk
> Gesendet: Freitag, 11. Dezember 2015 um 11:33 Uhr > Von: "Stefan Sperling" > An: "Alexander Hall" > Cc: "Stuart Henderson" , misc@openbsd.org > Betreff: Re: NOT POSSIBLE: Fully encrypted system with keydisk > > On Fri, Dec 11, 2015 at 09:53:48AM +0100, Alexander Hall wrote: > > On December 11, 2015 1:27:52 AM GMT+01:00, Stuart Henderson > > wrote: > > >On 2015-12-10, Stefan Wollny wrote: > > > > >> YES: I did 'bioctl -C force -c C -l /dev/sd0d -k /dev/sd1d softraid0' > > >> YES: I did again 'sh ./MAKEDEV all' to catch the newly created sd2 > > > > > >In the above step, you have run yourself out of space on the > > >ramdisk by creating a load of device nodes that you don't have > > >space for and don't need. > > > > Indeed. In particular, you tend to run out of inodes. > > > > /Alexander > > Yes. That step should be: sh ./MAKEDEV sd2 > @Alexander, Stefan & Stuart: I can confirm that this was the cause for the error message. Doing it as you advised enabled me to install amd64-current, yet some step is still missing as afer the reboot the system does not come up (stops at the splash screen not entering any boot operation). A few words on my use case: From my customers I get sensible personal data on their customers (not only name/address, but job related information, income statements, ratings, etc.). Loosing the laptop when traveling would be painful but loosing the confidentiality would really hit me. My setup: The laptop has two SSDs - a big one for '/home' and a smaller one (mSata) for the system (plus some spare). The system-SSD (=sd0) has one partiion 'd' which gets unlocked by the keydisk's 'd' partition (=> sd3) The /home-SDD (=sd1) has one partition 'e' which gets unlocked by the keydisk's 'e' partition (=> sd4) On the keydisk (=sd2) there are some more partitions for keys and storage: 'f' to unlock a backup-disk which I use onsite. 'g' and 'h' for future use to unlock other devices (like e.g. USB devices). 'i' an additional RAID partition for other sensible stuff (e.g. passwords for clients' systems which should be accessible in case of emergency from an unencrypted OpenBSD-box as well. @stuart: dd fails with "file system ist full \ dd: /dev/rsd3c: No space left on device" @trondd: Not having an 'a' partition on one of the three devices seemed to be helpful to memorize that this is not a 'normal' partition. No real technical reason otherwise. OK - follow up problem: After the installation on /dev/sd3 (plus setting up /dev/sd4 for /home) I did not reboot but run installboot(8) like so: # /usr/sbin/installboot sd3 This last produced an error message about /usr/mdec/biosboot missing. Mind giving me an other hint on what I might have missed? I searched the man pages but nothing obvious came to me. Has there been some recent changes? TIA. Best, STEFAN BTW: A dmesg from an unencrypted install can be found here: http://marc.info/?l=openbsd-misc&m=144956819405937&w=2
Re: NOT POSSIBLE: Fully encrypted system with keydisk
> Gesendet: Freitag, 11. Dezember 2015 um 14:52 Uhr > Von: "Stefan Sperling" > An: "Stefan Wollny" > Cc: misc@openbsd.org > Betreff: Re: NOT POSSIBLE: Fully encrypted system with keydisk > > On Fri, Dec 11, 2015 at 01:18:55PM +0100, Stefan Wollny wrote: > > OK - follow up problem: After the installation on /dev/sd3 (plus setting up > > /dev/sd4 for /home) I did not reboot but run installboot(8) like so: > > # /usr/sbin/installboot sd3 > > > > This last produced an error message about /usr/mdec/biosboot missing. > > > > Mind giving me an other hint on what I might have missed? I searched the > > man pages but nothing obvious came to me. Has there been some recent > > changes? > > In the bsd.rd ramdisk, the installed system's root disk (sd3a) is mounted > at /mnt, and the installed system's user partition is mounted at /mnt/usr. > > So this should work: /mnt/usr/sbin/installboot -r /mnt sd3 > > Hi Stefan, THX a lot for (again) helping me and the explanation. I run the command like you adviced and no error message showed up. So far, so good - unfortunatelly the system still does not boot after the 'reboot'. Still stops at the manufacturers splash screen not recognizing any storage device to boot from. Any other idea? Could it be that this machine's particular BIOS needs an 'a' partition on sd0 to find the device? As the system is unusable at present and I need to disassemble the SSDs anyway to get them wiped in order to proceed with the next install I will give this a try. Best, STEFAN
Re: NOT POSSIBLE: Fully encrypted system with keydisk
Am 12/11/15 um 18:34 schrieb Stefan Sperling: On Fri, Dec 11, 2015 at 05:44:36PM +0100, Stefan Wollny wrote: fdisk(25692): syscall 54 "ioctl" Abort trap disklabel sd3 disklabel(3120): syscall 54 "ioctl" Abort trap This is obviously not quite right. It looks like you're using a snapshot with a pledge(2) bug. What snapshot are you booting? Please ensure that you're either booting 5.8 or the latest snapshot and send a complete dmesg if it is still failing. A couple of test iterations later ... [TLDR: Still no reboot into an unencrypted system] These are the steps (annotated) I went through: +++ s Prior to running bsr.rd check the chain of boot devices, has to be CD => sd0 => PXE 's' to choose "shell" fdisk sd0 => OK fdisk sd1 => not OK fdisk sd2 => not OK cd /dev sh ./MAKEDEV sd1 sh ./MAKEDEV sd2 cd / fdisk -iy sd0 fdisk -iy sd1 fdisk -iy sd2 disklabel -E sd0 entire HD: FS type RAID, partition 'd' disklabel -E sd1 entire HD: FS type RAID, partition 'e' disklabel -E sd2 partition 'd', size 1M, FS type RAID partition 'e', size 1M, FS type RAID partition 'f', size 1M, FS type RAID partition 'g', size 1M, FS type RAID partition 'h', size 1M, FS type RAID partition 'i', size , FS type 4.2BSD bioctl -c C -l /dev/sd0d -k /dev/sd2d softraid0 bioctl -c C -l /dev/sd1e -k /dev/sd2e softraid0 cd /dev sh ./MAKEDEV sd3 sh ./MAKEDEV sd4 cd / dd if=/dev/zero of=/dev/rsd3c bs=1m count=1 dd if=/dev/zero of=/dev/rsd4c bs=1m count=1 fdisk -iy sd3 fdisk -iy sd4 install [ ... usual install process ... ] /mnt/usr/sbin/installboot -v -r /mnt sd3 newfs sd2i mount /dev/sd2i /mnt2 dmesg > /mnt2/dmesg.txt fdisk sd0 > /mnt2/fdisk-sd0.txt fdisk sd1 > /mnt2/fdisk-sd1.txt fdisk sd2 > /mnt2/fdisk-sd2.txt fdisk sd3 > /mnt2/fdisk-sd3.txt fdisk sd4 > /mnt2/fdisk-sd4.txt fdisk sd0 > /mnt2/fdisk-sd0.txt fdisk sd1 > /mnt2/fdisk-sd1.txt fdisk sd2 > /mnt2/fdisk-sd2.txt fdisk sd3 > /mnt2/fdisk-sd3.txt fdisk sd4 > /mnt2/fdisk-sd4.txt bioctl sd3 > /mnt2/bioctl-sd3.txt reboot +++ RESULT: No system start, the process stops immediately at the splash screen (=no boot device found?) OK - here are the protocols as given above: SD0 Disk: sd0geometry: 14593/255/63 [234441648 Sectors] Offset: 0Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 2 - 14592 254 63 [ 64: 234436481 ] OpenBSD # /dev/rsd0c: type: SCSI disk: SCSI disk label: Samsung SSD 850 duid: 9a2e9576361b4dd5 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 14593 total sectors: 234441648 boundstart: 64 boundend: 234436545 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c:2344416480 unused d:234436481 64 RAID SD 1: Disk: sd1geometry: 124519/255/63 [2000409264 Sectors] Offset: 0Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 2 - 124518 254 63 [ 64: 2000397671 ] OpenBSD # /dev/rsd1c: type: SCSI disk: SCSI disk label: Samsung SSD 850 duid: 5367a9a0fd3fe33c flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 124519 total sectors: 2000409264 boundstart: 64 boundend: 2000397735 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] c: 20004092640 unused e: 2000397671 64 RAID SD2 Disk: sd2geometry: 979/255/63 [15730688 Sectors] Offset: 0Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0
Re: NOT POSSIBLE: Fully encrypted system with keydisk
Gesendet von meinem BlackBerry 10-Smartphone. Originalnachricht On Sat, Dec 12, 2015 at 12:27:46AM +0100, Stefan Wollny wrote: > Am 12/11/15 um 18:34 schrieb Stefan Sperling: > >On Fri, Dec 11, 2015 at 05:44:36PM +0100, Stefan Wollny wrote: > >>fdisk(25692): syscall 54 "ioctl" > >>Abort trap > >>> disklabel sd3 > >>disklabel(3120): syscall 54 "ioctl" > >>Abort trap > >This is obviously not quite right. > >It looks like you're using a snapshot with a pledge(2) bug. > > > >What snapshot are you booting? Please ensure that you're either > >booting 5.8 or the latest snapshot and send a complete dmesg > >if it is still failing. > A couple of test iterations later ... > > [TLDR: Still no reboot into an unencrypted system] > > > These are the steps (annotated) I went through: > > > > +++ > s > > Prior to running bsr.rd check the chain of boot devices, > has to be CD => sd0 => PXE > 's' to choose "shell" > fdisk sd0 => OK > fdisk sd1 => not OK > fdisk sd2 => not OK > cd /dev > sh ./MAKEDEV sd1 > sh ./MAKEDEV sd2 > cd / > fdisk -iy sd0 > fdisk -iy sd1 > fdisk -iy sd2 > disklabel -E sd0 > entire HD: FS type RAID, partition 'd' > disklabel -E sd1 > entire HD: FS type RAID, partition 'e' > disklabel -E sd2 > partition 'd', size 1M, FS type RAID > partition 'e', size 1M, FS type RAID > partition 'f', size 1M, FS type RAID > partition 'g', size 1M, FS type RAID > partition 'h', size 1M, FS type RAID > partition 'i', size , FS type 4.2BSD > bioctl -c C -l /dev/sd0d -k /dev/sd2d softraid0 > bioctl -c C -l /dev/sd1e -k /dev/sd2e softraid0 > cd /dev > sh ./MAKEDEV sd3 > sh ./MAKEDEV sd4 > cd / > dd if=/dev/zero of=/dev/rsd3c bs=1m count=1 > dd if=/dev/zero of=/dev/rsd4c bs=1m count=1 > fdisk -iy sd3 > fdisk -iy sd4 > install > [ ... usual install process ... ] > /mnt/usr/sbin/installboot -v -r /mnt sd3 The installer will detect your install target is softraid crypto and do that automatically. Why are you re-doing this again? -ml I was adviced to do so. With or without the system doesn't reboot but stopps at the machine's splash screen for not finding a boot device. STEFAN
Re: [drm:pid0:intel_uncore_check_errors] *ERROR* Unclaimed register before interrupt
ping? Am 12/08/15 um 10:48 schrieb Stefan Wollny: HI there, is this issue known or should I file a bug report? Best, STEFAN OpenBSD 5.8-current (GENERIC.MP) #1726: Mon Dec 7 22:06:49 MST 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17082359808 (16291MB) avail mem = 16560525312 (15793MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(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) i5-4210M CPU @ 2.60GHz, 3093.24 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,SENSOR,ARAT 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) i5-4210M CPU @ 2.60GHz, 3092.84 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,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 120 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook" acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD0 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi pci1 at ppb0 bus 1 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1920x1080 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi usb0 at xhci0: USB revision 3.0 uhub0
mupdf / mutool
Hi there! I like mupdf for it's speed with large documents (800+ pages and more). BUT: My usual workflow has it that I need to make printouts of specific pages from those PDFS, sometimes even print the entire document for legal reasons. Anyone around who knows how to achieve this with mupdf/mutool? The man pages for mupdf/mutool do not provide any hints on this and 'startpage' (=google-proxy) didn't come up with anything but "no printing". (I use xpdf again as I do not want to open the doc a second time with xpdf only for printing.) TIA. Best, STEFAN
Re: mupdf / mutool
Am 12/17/15 um 18:39 schrieb Kamil Cholewiński: On Thu, 17 Dec 2015, Jan Stary wrote: On Dec 17 03:28:38, tre...@india.com wrote: You can write a script wich execute mupdf and send the the route of the directory containing the pdf to a file in /tmp with the $pid of mupdf in the name. Then you can use your wm's key bindings (or use xbindkeys) to excecute a program (or a shell script, or a Tcl/Tk script, or a zenity script with gtk crap or whatever) to ask for printing options. You can get the pid and the file name from the title of the focused windows with the help of xdotool, and the directory route from the temp file. ... and then archive it in a ZIP file, make that an attachment to the A1 cell in a spread sheet, and mail that to yourself. https://xkcd.com/1172/ :-) a nice one! I will follow Stuart's hint and see if zathura provides the solution to the itch. Thank you all for the time you took! Best, STEFAN
Re: mupdf / mutool
Am 12/17/15 um 22:48 schrieb Stefan Wollny: > Am 12/17/15 um 18:39 schrieb Kamil Cholewiński: >> On Thu, 17 Dec 2015, Jan Stary wrote: >>> On Dec 17 03:28:38, tre...@india.com wrote: >>>> You can write a script wich execute mupdf and send the the route of >>>> the directory containing the >>>> pdf to a file in /tmp with the $pid of mupdf in the name. Then you >>>> can use your wm's key bindings >>>> (or use xbindkeys) to excecute a program (or a shell script, or a >>>> Tcl/Tk script, or a zenity script with >>>> gtk crap or whatever) to ask for printing options. You can get the >>>> pid and the file name from the title >>>> of the focused windows with the help of xdotool, and the directory >>>> route from the temp file. >>> ... and then archive it in a ZIP file, make that an attachment >>> to the A1 cell in a spread sheet, and mail that to yourself. >> https://xkcd.com/1172/ >> > :-) a nice one! > > I will follow Stuart's hint and see if zathura provides the solution > to the itch. > > Thank you all for the time you took! > > Best, > STEFAN > Just to finalize this thread: I settled with zathura + mupdf-plugin. This is _exactly_ what I have been looking for. Blazingly fast on the screen plus easy printing. Will be my default PDF-viewer. "Thank you" to all who made this possible on OpenBSD! Well done. STEFAN
Re: 5.9-beta upgrade stalled at base59.tgz 98% fetched, 51072 KB on first try, retry succeeds
Am 01/18/16 um 18:39 schrieb Peter N. M. Hansteen: > Is anybody else seeing this Yes. But not with every snapshot. I haven't recorded which one showed this kind of behaviour. But every time the second attempt was OK. The last upgrade didn't come up with any irregularities. Best, STEFAN OpenBSD 5.9-beta (GENERIC.MP) #1848: Sun Jan 17 20:51:21 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17082359808 (16291MB) avail mem = 16560463872 (15793MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(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) i5-4210M CPU @ 2.60GHz, 3093.28 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,SENSOR,ARAT 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) i5-4210M CPU @ 2.60GHz, 3092.84 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,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 120 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook" acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD0 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi pci1 at ppb0 bus 1 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1920x1080 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi xhci0 at pci0 dev 20 function 0 "I
Re: [drm:pid0:intel_uncore_check_errors] *ERROR* Unclaimed register before interrupt
This error is still written to dmesg of which I add the latest (amd64-current, system is running smoothly). Any other info required to investigate? Best, STEFAN Am 12/16/15 um 00:44 schrieb Stefan Wollny: > ping? > > Am 12/08/15 um 10:48 schrieb Stefan Wollny: >> HI there, >> >> is this issue known or should I file a bug report? >> >> Best, >> STEFAN >> >> >> OpenBSD 5.8-current (GENERIC.MP) #1726: Mon Dec 7 22:06:49 MST 2015 >> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP >> [ outdated ] OpenBSD 5.9 (GENERIC.MP) #1868: Mon Feb 1 20:02:36 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17082359808 (16291MB) avail mem = 16560455680 (15793MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(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) i5-4210M CPU @ 2.60GHz, 3093.25 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,SENSOR,ARAT 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) i5-4210M CPU @ 2.60GHz, 3092.84 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,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 120 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook" acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD0 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06:
Strange 'pkg_add -ui' log
Hi there! Running amd64-current I update packages usually from http://ftp.hostserver.de/ This evening system.tgz-files still date Feb 9th. $ dmesg | grep Open OpenBSD 5.9 (GENERIC.MP) #1870: Mon Feb 8 17:34:23 MST 2016 So I run 'pkg_add -ui' leading to the folĺowing output: quirks-2.197 signed on 2016-02-10T20:34:24Z quirks-2.197->2.197: ok cups-libs-2.1.2->2.1.3 forward dependencies: | Dependency of cups-2.1.2 on cups-libs-=2.1.2 doesn't match Merging cups-2.1.2->2.1.3 (ok) Detected loop, merging sets ok | cups-2.1.2+cups-libs-2.1.2->cups-2.1.3+cups-libs-2.1.3 | cups-filters-1.8.1->1.8.1 | ghostscript-9.07p2-a4-gtk->9.07p2-a4-gtk cups-2.1.2+cups-filters-1.8.1+cups-libs-2.1.2+ghostscript-9.07p2-a4-gtk->cups-2.1.3+cups-filters-1.8.1+cups-libs-2.1.3+ghostscript-9.07p2-a4-gtk: ok to_install: consolekit2-1.0.1p0 => //consolekit2-1.0.1p0/ colortree-1.7.0 => //colortree-1.7.0/ GraphicsMagick-1.3.23 => //GraphicsMagick-1.3.23/ >> [ ... apparently almost every installed package ... ] << cant_update: Read shared items: ok Look in /usr/local/share/doc/pkg-readmes for extra documentation. --- -cups-2.1.2 --- You should also run rm -rf /etc/cups/*.conf.O /var/log/cups You should also check /etc/cups/printers.conf (which was modified) You should also run rm -rf /var/cache/cups You should also run rm -rf /var/spool/cups Fatal error: can't parse OpenBSD::RequiredBy: writing /var/db/pkg/cups-libs-2.1.2/+REQUIRED_BY: No such file or directory at /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30. OpenBSD::RequirementList::fatal_error(OpenBSD::RequiredBy=HASH(0x17ce6eca5cb8), "writing") called at /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 67 OpenBSD::RequirementList::synch(OpenBSD::RequiredBy=HASH(0x17ce6eca5cb8)) called at /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 122 OpenBSD::RequirementList::add(OpenBSD::RequiredBy=HASH(0x17ce6eca5cb8), "ghostscript-9.07p2-a4-gtk") called at /usr/libdata/perl5/OpenBSD/Dependencies.pm line 713 OpenBSD::Dependencies::Solver::register_dependencies(OpenBSD::Dependencies::Solver=HASH(0x17ce8c9cbdd8), OpenBSD::PkgAdd::State=HASH(0x17ce60db1d18)) called at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 864 OpenBSD::PkgAdd::really_add(OpenBSD::UpdateSet=HASH(0x17cdf1981df0), OpenBSD::PkgAdd::State=HASH(0x17ce60db1d18)) called at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 1057 OpenBSD::PkgAdd::process_set("OpenBSD::PkgAdd", OpenBSD::UpdateSet=HASH(0x17cdf1981df0), OpenBSD::PkgAdd::State=HASH(0x17ce60db1d18)) called at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 127 OpenBSD::AddDelete::process_setlist("OpenBSD::PkgAdd", OpenBSD::PkgAdd::State=HASH(0x17ce60db1d18)) called at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 1205 OpenBSD::PkgAdd::main("OpenBSD::PkgAdd", OpenBSD::PkgAdd::State=HASH(0x17ce60db1d18)) called at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 50 eval {...} called at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 50 OpenBSD::AddDelete::do_the_main_work("OpenBSD::PkgAdd", OpenBSD::PkgAdd::State=HASH(0x17ce60db1d18)) called at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 64 OpenBSD::AddDelete::__ANON__ called at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 87 OpenBSD::AddDelete::__ANON__ called at /usr/libdata/perl5/OpenBSD/Error.pm line 173 eval {...} called at /usr/libdata/perl5/OpenBSD/Error.pm line 173 OpenBSD::Error::try(CODE(0x17cdd76b9f58), OpenBSD::Error::catch=CODE(0x17ce5c5c1790)) called at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 95 OpenBSD::AddDelete::framework("OpenBSD::PkgAdd", OpenBSD::PkgAdd::State=HASH(0x17ce60db1d18)) called at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 108 OpenBSD::AddDelete::parse_and_run("OpenBSD::PkgAdd", "pkg_add") called at /usr/sbin/pkg_add line 30 main::run("pkg_add", "PkgAdd") called at /usr/sbin/pkg_add line 46 Is this expected behaviour? In particular the part starting with "to install" and those "/" I have never noticed before: Seems every package installed is mentioned. Should I just wait until the system will be updated as well? Other infos required (dmesg below)? Best, STEFAN OpenBSD 5.9 (GENERIC.MP) #1870: Mon Feb 8 17:34:23 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17082359808 (16291MB) avail mem = 16560455680 (15793MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.05.01" date 08/05/2015 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) RLAN(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
Re: Strange 'pkg_add -ui' log
Am 02/11/16 um 21:30 schrieb Marc Espie: > On Thu, Feb 11, 2016 at 08:36:48PM +0100, Stefan Wollny wrote: ... > That's the infamous cups update bug, which I haven't been able to fix yet. > > Nope, your system is not okay. Run pkg_check, then rerun pkg_add -u > @Marc @Nigel Thank you for your quick replies. I followed your advice (running pkg_check twice just to be shure) and 'pkg_add -u' was alright showing the expected log entries. Best, STEFAN
adsuck
Hi there! I have this little machine which serves as (squid-)proxy for my local net. $ dmesg | grep Open OpenBSD 6.2-current (GENERIC.MP) #311: Wed Dec 27 21:49:49 MST 2017 Basically everything is fine - except responses are kind of slow. So I had the idea to not use squid to filter for unwanted sites but use adsuck. I followed the advice in /usr/local/share/doc/pkg-readmes/adsuck-2.5.0p4 which now reads: $ cat /etc/dhclient.conf send host-name ; script "/usr/local/sbin/dhclient-adsuck"; I had to use chflags with 'schg' to make shure that /etc/resolv.conf only contains one line (neither 'supersede' nor 'prepend' in dhclient.conf did the job): $ cat /etc/resolv.conf nameserver 127.0.0.1 And YES: adsuck is activated via /etc/rc.conf.local (actually it is the very first one after 'pkg_scripts='). It is up and running: $ top | grep adsuck 72573 _adsuck20 2260K 4704K idle kqread0:00 0.00% adsuck Now: If I run 'sh /etc/netstart' on the console or an xterm I see the following: $ doas sh /etc/netstart em1: /etc/dhclient.conf line 2: expecting statement. em1: script em1: ^ em1: DHCPREQUEST to 255.255.255.255 em1: DHCPACK from a.b.c.d (aa:bb:cc:dd:ee:ff) em1: bound to a.b.d.e -- renewal in 432000 seconds I am kind of stuck: What might I have been doing wrong here??? Some kind soul around to give me a clue? THX in advance! Best, STEFAN
Re: adsuck
Am 12/28/17 um 23:34 schrieb ed...@pettijohn-web.com: > You need dhcpcd from ports. I don't think the base client supports scripts. Ah - I see. So it should be safe to delete that very line in dhclient.conf - if base's dhclient doesn't support scripts and yet everything is running fine this should not do any harm. Thank you for pointing this out. Beside Jordan Geoghegan's suggestion I received a similar solution in PM. I vaguely remember Stuart Henderson having suggested this kind of setup as it only uses what comes with base. Will do my homework of reading the man pages (in particular a.th. related to 'unbound') first. Thank you all! All the best for 2018! STEFAN
Re: adsuck
Am 12/28/17 um 23:58 schrieb Rupert Gallagher: > The last update is 5 years old, and its blacklists are obsolete. > > https://github.com/conformal/adsuck/tree/master/files > > Sent from ProtonMail Mobile > Hi Rupert, you are quite right - the default blacklist from mvps is outdated. This is why I weekly do the following (serves my requirements and speed is no priority): #!/bin/sh # # /home//Downloads/mvps must exist! # # clean up first: rm -f /home//Downloads/mvps/* # cd /home//Downloads/mvps wget -4 -nc --no-proxy --no-cache --no-cookies http://winhelp2002.mvps.org/hosts.zip unzip hosts.zip # dos2unix HOSTS # # no comments egrep -v '^#' HOSTS > Hosts # # no empty lines sed -n -i '/0\.0\.0\.0 /,$p' Hosts # # check if anything does _not_ go to 0.0.0.0 if [[ $(awk '{print $1}' Hosts | uniq) != '0.0.0.0' ]]; then printf "mvps-hosts-File manipulated! Bye, bye! \n"; exit 1 fi # # Show the date of update in /etc/hosts echo "## Updated: `date +%Y-%m-%d`" > hosts_date # # Replace all 0.0.0.0 with 127.0.0.1 (aka 'localhost') sed 's/0.0.0.0/127.0.0.1/' Hosts > hosts.tmp # # build new hosts-file cat hosts_date /home//hosts_private hosts.tmp > hosts # # Keep last hosts-file doas cp /etc/hosts /etc/hosts.last # # Replace old with new hosts-file doas cp hosts /etc/hosts # # Back to home cd /home/ # reconnect with new hosts-file print "reconnect NOW " doas sh /etc/netstart As I will give Jordan's solution a go I will check other blacklists as well. Best, STEFAN
Disable external USB devices
Hi there! This is a purely academical question out of curiosity: Is it possible to disable all external USB interfaces without cutting the wire on OpenBSD? You've heard stories of laptops/servers/routers with other OSes being infected by some clever programms on USB sticks automatically attaching to the running system without leaving obvious traces. Assumption is that with OpenBSD and nothing like 'hotplug-diskmount' installed this should not with be able, even with an unprivileged user being logged in (with proper doas(1) rules applied). Nevertheless let us assume some smart blackhat successfully finds a way to infect a running OpenBSD system by attaching a USB device circumventing e.g. a full-disk encryption. Or think of a desktop PC under the table where such a device is not obviously visible. It may not help with Intel-like hardware bugs but deactivated USB ports should be an extra hurdle for the casual attacker. Of course any change should require physical access, 'root' and a reboot (like with chflags(1)). I think disabling umass(4) at boot-time or permanently might achieve s.th. like this - but what would be the side effects to consider? KARL comes to my mind. As the only OpenBSD system at hand is my laptop I do not dare to test by disabling umass(4) as it is fully-encrypted with the key on a USB stick. (Fiddling with the kernel on a production system seems to be a second-class option anyway, right?) And if 'they' sneak into the system e.g. via ugen(4)-attached devices... yes, I am aware that with enough time, money and physical access 'they' will find a way, someday. There's no safe computer - except not having one. Anyway - which other ports/interfaces are at risk and could easily be disabled alike? Bluetooth seems rather safe... ;-) Is there another smart way to do s.th. like the described? I found nothing in the FAQ. Feasibility in practice might be a matter of the level of paranoia ... or are blocked USB interfaces nowadays a required precaution? Time for a BIG THANKYOU to the developers for the most trustworthy OS out there! Best,STEFAN
booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Hi there! I need help or some hints on how to proceed: My system a laptop running amd64-current fully encrypted, key-based. I start from BIOS, not UEFI. Two days ago I updated to the then latest snapshot and apparently s.th. went wrong: At reboot the system stops after >> OpenBSD/amd64 BOOT 3.34 open(hd0a:/etc/boot.conf): Invalide argument boot> cannot open hd0a:/etc/random.seed: Invalid argument booting hd0a:/bsd: open hd0a:/bsd: Invalid argument failed(22). will try /bsd Turning timeout off. boot> Has anyone a clue what might have happend and how to solve the issue? I searched the net but didn't find any substantial infos on this. As the error happends with all three USB-keys I have this is unlikely to be cause of the trouble. At present I only have a USB-stick with install62.fs with me (roughly 3~4 weeks old) which only starts if I change from BIOS to UEFI. As all data from /home is redundantly backed up I could reinstall everything but would prefer to avoid it. There are dmesgs from this laptop with some older posts. Obviously no current dmesg possible... Any hint/idea/suggestion welcome! TIA. Best, STEFAN
Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Gesendet von meinem BlackBerry 10-Smartphone. Originalnachricht Von: Kevin Chadwick Gesendet: Donnerstag, 8. März 2018 17:28 An: misc@openbsd.org Betreff: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument On Thu, 8 Mar 2018 14:47:43 +0100 > Has anyone a clue what might have happend and how to solve the issue? > I searched the net but didn't find any substantial infos on this. As > the error happends with all three USB-keys I have this is unlikely to > be cause of the trouble. The bootloader normally lists the disks that the bios sees beforehand e.g. disk: hd0+ hd1+ sr0* >> OpenBSD/amd64 BOOT 3.34 Perhaps they have been moved around? I tried boot hd1a:/bsd but got the same message. I can enter # fsck -fy hd0a but this just gets me a prompt without any action. BTW: This is a SSD.
Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Am 08.03.2018 um 17:44 schrieb Stefan Wollny: > > Gesendet von meinem BlackBerry 10-Smartphone. > Originalnachricht > Von: Kevin Chadwick > Gesendet: Donnerstag, 8. März 2018 17:28 > An: misc@openbsd.org > Betreff: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument > > On Thu, 8 Mar 2018 14:47:43 +0100 > > >> Has anyone a clue what might have happend and how to solve the issue? >> I searched the net but didn't find any substantial infos on this. As >> the error happends with all three USB-keys I have this is unlikely to >> be cause of the trouble. > The bootloader normally lists the disks that the bios sees beforehand > e.g. > > disk: hd0+ hd1+ sr0* >>> OpenBSD/amd64 BOOT 3.34 > Perhaps they have been moved around? > > > I tried > > boot hd1a:/bsd > > but got the same message. > > I can enter # fsck -fy hd0a but this just gets me a prompt without any > action. BTW: This is a SSD. > OK - back at home I downloaded install63.iso and burned a CD which does start. Choosing "(U)pgrade" I am presented with "Available disks are: sd0 sd1" - but both are "not a valid root disk". Back to the shell I tried fdisk but I get "fdisk: sd0: No such file or directory" Could this be an issue with the bootloader or is it the encryption of softraid0 that hinders the upgrade?
Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Am 08.03.2018 um 22:11 schrieb Stefan Wollny: > Am 08.03.2018 um 17:44 schrieb Stefan Wollny: >> Gesendet von meinem BlackBerry 10-Smartphone. >> Originalnachricht >> Von: Kevin Chadwick >> Gesendet: Donnerstag, 8. März 2018 17:28 >> An: misc@openbsd.org >> Betreff: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument >> >> On Thu, 8 Mar 2018 14:47:43 +0100 >> >> >>> Has anyone a clue what might have happend and how to solve the issue? >>> I searched the net but didn't find any substantial infos on this. As >>> the error happends with all three USB-keys I have this is unlikely to >>> be cause of the trouble. >> The bootloader normally lists the disks that the bios sees beforehand >> e.g. >> >> disk: hd0+ hd1+ sr0* >>>> OpenBSD/amd64 BOOT 3.34 >> Perhaps they have been moved around? >> >> >> I tried >> >> boot hd1a:/bsd >> >> but got the same message. >> >> I can enter # fsck -fy hd0a but this just gets me a prompt without any >> action. BTW: This is a SSD. >> > OK - back at home I downloaded install63.iso and burned a CD which does > start. Choosing "(U)pgrade" I am presented with "Available disks are: > sd0 sd1" - but both are "not a valid root disk". Back to the shell I > tried fdisk but I get "fdisk: sd0: No such file or directory" > > Could this be an issue with the bootloader or is it the encryption of > softraid0 that hinders the upgrade? > ??? Running dmesg from the CD-shell the system "sees" sd0 (the internel SSD) and sd1 (the USB with the key). Having attached another USB drive I see this is recognizes as sd2. But running 'fdisk sd2' or 'disklabel sd2' I get "No such file or directory" (and consequently as well when trying to mount this external drive). Puzzled...
Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Am 08.03.2018 um 23:25 schrieb Stefan Wollny: > Am 08.03.2018 um 22:11 schrieb Stefan Wollny: > >> Am 08.03.2018 um 17:44 schrieb Stefan Wollny: >>> Gesendet von meinem BlackBerry 10-Smartphone. >>> Originalnachricht >>> Von: Kevin Chadwick >>> Gesendet: Donnerstag, 8. März 2018 17:28 >>> An: misc@openbsd.org >>> Betreff: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument >>> >>> On Thu, 8 Mar 2018 14:47:43 +0100 >>> >>> >>>> Has anyone a clue what might have happend and how to solve the issue? >>>> I searched the net but didn't find any substantial infos on this. As >>>> the error happends with all three USB-keys I have this is unlikely to >>>> be cause of the trouble. >>> The bootloader normally lists the disks that the bios sees beforehand >>> e.g. >>> >>> disk: hd0+ hd1+ sr0* >>>>> OpenBSD/amd64 BOOT 3.34 >>> Perhaps they have been moved around? >>> >>> >>> I tried >>> >>> boot hd1a:/bsd >>> >>> but got the same message. >>> >>> I can enter # fsck -fy hd0a but this just gets me a prompt without any >>> action. BTW: This is a SSD. >>> >> OK - back at home I downloaded install63.iso and burned a CD which does >> start. Choosing "(U)pgrade" I am presented with "Available disks are: >> sd0 sd1" - but both are "not a valid root disk". Back to the shell I >> tried fdisk but I get "fdisk: sd0: No such file or directory" >> >> Could this be an issue with the bootloader or is it the encryption of >> softraid0 that hinders the upgrade? >> > ??? > Running dmesg from the CD-shell the system "sees" sd0 (the internel SSD) > and sd1 (the USB with the key). Having attached another USB drive I see > this is recognizes as sd2. But running 'fdisk sd2' or 'disklabel sd2' I > get "No such file or directory" (and consequently as well when trying to > mount this external drive). > > Puzzled... > tb@ hit me with the clue stick: MAKEDEV was the missing part to mount the external USB drive. Now: Here's the dmesg OpenBSD 6.3-beta (RAMDISK_CD) #38: Thu Mar 8 10:01:01 MST 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 17079074816 (16287MB) avail mem = 16557678592 (15790MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries) bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014 bios0: Notebook W65_67SZ acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT SSDT SSDT DMAR acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.25 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT,MELTDOWN cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 4 (RP04) acpiprt4 at acpi0: bus 1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus 1 (PEG0) acpiec0 at acpi0 acpicpu at acpi0 not configured acpitz at acpi0 not configured "INT3F0D" at acpi0 not configured "MSFT0001" at acpi0 not configured "ETD0403" at acpi0 not configured "PNPC000" at acpi0 not configured "PNP0C0C" at acpi0 not configured "PNP0C0E" at acpi0 not configured "PNP0C0D" at acpi0 not configured "ACPI0003" at acpi0 not configured "PNP0C0A" at acpi0 not configured "PNP0C14" at acpi0 not configured "INT340E" at acpi0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi pci1 at ppb0 bus 1 vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06 wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation) "Intel Core 4G HD Audio" rev 0x06 at pci0 dev 3 function 0 not configured xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHC
Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Am 08.03.2018 um 23:25 schrieb Stefan Wollny: > Am 08.03.2018 um 22:11 schrieb Stefan Wollny: > >> Am 08.03.2018 um 17:44 schrieb Stefan Wollny: >>> Gesendet von meinem BlackBerry 10-Smartphone. >>> Originalnachricht >>> Von: Kevin Chadwick >>> Gesendet: Donnerstag, 8. März 2018 17:28 >>> An: misc@openbsd.org >>> Betreff: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument >>> >>> On Thu, 8 Mar 2018 14:47:43 +0100 >>> >>> >>>> Has anyone a clue what might have happend and how to solve the issue? >>>> I searched the net but didn't find any substantial infos on this. As >>>> the error happends with all three USB-keys I have this is unlikely to >>>> be cause of the trouble. >>> The bootloader normally lists the disks that the bios sees beforehand >>> e.g. >>> >>> disk: hd0+ hd1+ sr0* >>>>> OpenBSD/amd64 BOOT 3.34 >>> Perhaps they have been moved around? >>> >>> >>> I tried >>> >>> boot hd1a:/bsd >>> >>> but got the same message. >>> >>> I can enter # fsck -fy hd0a but this just gets me a prompt without any >>> action. BTW: This is a SSD. >>> >> OK - back at home I downloaded install63.iso and burned a CD which does >> start. Choosing "(U)pgrade" I am presented with "Available disks are: >> sd0 sd1" - but both are "not a valid root disk". Back to the shell I >> tried fdisk but I get "fdisk: sd0: No such file or directory" >> >> Could this be an issue with the bootloader or is it the encryption of >> softraid0 that hinders the upgrade? >> tb@ provided another valuable hint: I can start the boot-process with 'boot sr0a:/bsd' but this ends with a panic: ... softraid0 at root scsibus4 at softraid0:256 targets panic: root device (...) not found Stopped at db_enter+0x5: popq %rbp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 0 0 0 0X1 0X200 OK swapper ...
Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Am 09.03.2018 um 00:09 schrieb Stefan Wollny: > Am 08.03.2018 um 23:25 schrieb Stefan Wollny: >> Am 08.03.2018 um 22:11 schrieb Stefan Wollny: >> >>> Am 08.03.2018 um 17:44 schrieb Stefan Wollny: >>>> Gesendet von meinem BlackBerry 10-Smartphone. >>>> Originalnachricht >>>> Von: Kevin Chadwick >>>> Gesendet: Donnerstag, 8. März 2018 17:28 >>>> An: misc@openbsd.org >>>> Betreff: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument >>>> >>>> On Thu, 8 Mar 2018 14:47:43 +0100 >>>> >>>> >>>>> Has anyone a clue what might have happend and how to solve the issue? >>>>> I searched the net but didn't find any substantial infos on this. As >>>>> the error happends with all three USB-keys I have this is unlikely to >>>>> be cause of the trouble. >>>> The bootloader normally lists the disks that the bios sees beforehand >>>> e.g. >>>> >>>> disk: hd0+ hd1+ sr0* >>>>>> OpenBSD/amd64 BOOT 3.34 >>>> Perhaps they have been moved around? >>>> >>>> >>>> I tried >>>> >>>> boot hd1a:/bsd >>>> >>>> but got the same message. >>>> >>>> I can enter # fsck -fy hd0a but this just gets me a prompt without any >>>> action. BTW: This is a SSD. >>>> >>> OK - back at home I downloaded install63.iso and burned a CD which does >>> start. Choosing "(U)pgrade" I am presented with "Available disks are: >>> sd0 sd1" - but both are "not a valid root disk". Back to the shell I >>> tried fdisk but I get "fdisk: sd0: No such file or directory" >>> >>> Could this be an issue with the bootloader or is it the encryption of >>> softraid0 that hinders the upgrade? >>> > tb@ provided another valuable hint: > I can start the boot-process with 'boot sr0a:/bsd' but this ends with a > panic: > > ... > softraid0 at root > scsibus4 at softraid0:256 targets > panic: root device (...) not found > Stopped at db_enter+0x5: popq %rbp > TID PID UID PRFLAGS PFLAGS CPU COMMAND > * 0 0 0 0X1 0X200 OK swapper > ... > OK . final remarks for tonight: I can start 'boot sr0a:/bsd.rd' but trying to upgrade is the same dead-end road - "sd0 is not a valid root device". 'fdisk sd0' shows the expected '*' before the partition number. 'disklabel sd0' shows the expected fstype "RAID" 'for sd0a. Doing 'bioctl -c C -l /dev/sd0a' says "KDF hint has invalid size". 'installboot -nv sd0a' misses '/usr/mdec/biosboot' - there is only '/usr/mdec/mbr'. While the 'upgrade' started from 'boot sr0a:/bsd.rd' does not see 'sd0' the 'install' process started from the CD actually does. Sigh - I need some sleep...
Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Am 09.03.2018 um 00:55 schrieb Stefan Wollny: > Am 09.03.2018 um 00:09 schrieb Stefan Wollny: >> Am 08.03.2018 um 23:25 schrieb Stefan Wollny: >>> Am 08.03.2018 um 22:11 schrieb Stefan Wollny: >>> >>>> Am 08.03.2018 um 17:44 schrieb Stefan Wollny: >>>>> Gesendet von meinem BlackBerry 10-Smartphone. >>>>> Originalnachricht >>>>> Von: Kevin Chadwick >>>>> Gesendet: Donnerstag, 8. März 2018 17:28 >>>>> An: misc@openbsd.org >>>>> Betreff: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument >>>>> >>>>> On Thu, 8 Mar 2018 14:47:43 +0100 >>>>> >>>>> >>>>>> Has anyone a clue what might have happend and how to solve the issue? >>>>>> I searched the net but didn't find any substantial infos on this. As >>>>>> the error happends with all three USB-keys I have this is unlikely to >>>>>> be cause of the trouble. >>>>> The bootloader normally lists the disks that the bios sees beforehand >>>>> e.g. >>>>> >>>>> disk: hd0+ hd1+ sr0* >>>>>>> OpenBSD/amd64 BOOT 3.34 >>>>> Perhaps they have been moved around? >>>>> >>>>> >>>>> I tried >>>>> >>>>> boot hd1a:/bsd >>>>> >>>>> but got the same message. >>>>> >>>>> I can enter # fsck -fy hd0a but this just gets me a prompt without any >>>>> action. BTW: This is a SSD. >>>>> >>>> OK - back at home I downloaded install63.iso and burned a CD which does >>>> start. Choosing "(U)pgrade" I am presented with "Available disks are: >>>> sd0 sd1" - but both are "not a valid root disk". Back to the shell I >>>> tried fdisk but I get "fdisk: sd0: No such file or directory" >>>> >>>> Could this be an issue with the bootloader or is it the encryption of >>>> softraid0 that hinders the upgrade? >>>> >> tb@ provided another valuable hint: >> I can start the boot-process with 'boot sr0a:/bsd' but this ends with a >> panic: >> >> ... >> softraid0 at root >> scsibus4 at softraid0:256 targets >> panic: root device (...) not found >> Stopped at db_enter+0x5: popq %rbp >> TID PID UID PRFLAGS PFLAGS CPU COMMAND >> * 0 0 0 0X1 0X200 OK swapper >> ... >> > OK . final remarks for tonight: > > I can start 'boot sr0a:/bsd.rd' but trying to upgrade is the same > dead-end road - "sd0 is not a valid root device". > > 'fdisk sd0' shows the expected '*' before the partition number. > > 'disklabel sd0' shows the expected fstype "RAID" 'for sd0a. > > Doing 'bioctl -c C -l /dev/sd0a' says "KDF hint has invalid size". > > 'installboot -nv sd0a' misses '/usr/mdec/biosboot' - there is only > '/usr/mdec/mbr'. > > While the 'upgrade' started from 'boot sr0a:/bsd.rd' does not see 'sd0' > the 'install' process started from the CD actually does. Someone an idea how to proceed? I'd hate to reinstall everything... TIA. STEFAN
Re: Fwd: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Hi Alexander, thank you for taking your time to look at my problem! Really appreciate it! Am 11.03.2018 um 22:04 schrieb Alexander Hall: > 3. Did you by any chance detach the filesystem at any time? IIRC > that would make it not auto-assemble after reboot, which might > explain some of the observed behaviours. Mmmh - this is s.th. I cannot rule out for shure. Last time the system was work flawless I had an encrypted external HD attached to make my daily backup. Maybe I did a 'bioctl -d' on the sdx the sd0 was attached to after disencryption (no - sd0 isn't always attached to sd2! This can be anything from 2 to 7, usually) instead of the sd-number the external HD was attached to... If so - is there any chance to recover? > 4. Did you by any chance run installboot on sd0 or sd1? That'd be wrong. I tried but without success. Obviously. Thanks again and have a nice week! Best, STEFAN
Re: Fwd: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Am 11.03.2018 um 22:04 schrieb Alexander Hall: > 2. Your key disk or sd0 disk raid metadata could be corrupt. Forgot this one: I have three different key disks - none of them gets the system a go.
Re: Fwd: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Gesendet: Sonntag, 11. März 2018 um 22:41 Uhr > Von: "Stefan Wollny" > An: misc > Betreff: Re: Fwd: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument > Hi Alexander, > > thank you for taking your time to look at my problem! Really appreciate it! > >> Am 11.03.2018 um 22:04 schrieb Alexander Hall: >> 3. Did you by any chance detach the filesystem at any time? IIRC >> that would make it not auto-assemble after reboot, which might >> explain some of the observed behaviours. > Mmmh - this is s.th. I cannot rule out for shure. Last time the system > was work flawless I had an encrypted external HD attached to make my > daily backup. Maybe I did a 'bioctl -d' on the sdx the sd0 was attached > to after disencryption (no - sd0 isn't always attached to sd2! This can > be anything from 2 to 7, usually) instead of the sd-number the external > HD was attached to... > > If so - is there any chance to recover? For the records: As I was able to boot into bsd.rd on the shell I did: 'bioctl -c C -k /dev/sd1a -l /dev/sd0a softraid0' After a reboot I could start via 'boot sr0a:/bsd' into normal operations. Guess I have to do 'installboot sd2' now as this is what the RAID-volume was attached to. Thanks to all of you who took some time and provided help! Best, STEFAN
Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
Am 03/12/18 um 15:02 schrieb Kevin Chadwick: > On Mon, 12 Mar 2018 12:25:40 +0100 > > >> into normal operations. Guess I have to do >> 'installboot sd2' > > I know it is more to type but you can use uids to make sure it is the > right disk too. > You are right - that would have been the better way. I checked beforehand via disklabel if sd0 and sd1 are the actual RAID volumes and sd2 is the decrypted volume. Everything now is fine again: With the key disk inserted OpenBSD starts as usual. Thank you devs for your fine work - the problem sat in front of the screen ;-) Lesson learnt.
Re: who is using obsd
Gesendet: Dienstag, 14. Mai 2013 um 08:31 Uhr Von: "Tomas Bodzar" >> on his/her laptop as *only* OS and uses it daily for scientific work? >> please contact me off list. Thanks >> >> >I'm not sure if there will be some official readings available (you can try >BSDmag and similar resources), but it's completely possible and fine as >long as there's SW you need in packages/ports or compilation works on your >own. And you know, here are in use tradional Unix/Unix-like things so >everything is possible. > >Yes, having it as desktop instead of Windows and/or Linux is working >perfectly. > Full ACK. My impression is that most people who pretend that OpenBSD is not suited as a desktop system are either ingnorant or just outright lazy: - Ignorant on the fine work the developers and countless porters did and/or - lazy to read the documentation (or if of non-english mothertongue: too lazy to ask for help) There is NO general-purpose desktop-related task that cannot be done with OpenBSD! Full stop. ('Bling-Bling' is NO general purpose requirement!) Unless s.o. has to use some proprietary software that is tighly linked to internals of an other OS there is no technical reason to use any other OS as a basis for a desktop system - only personal likes ("I can't live without my 'bling-bling'-ads") and dislikes ("I don't want to do my homework"). I happily use OpenBSD on my laptop and on an iMac for all day-to-day work as I have to ashure my clients that their data is save on my systems. No other OS gives me that level of confidence. STEFAN
Re: who is using obsd
>> My impression is that most people who pretend that OpenBSD is not >> suited as a desktop system are either ingnorant or just outright >> lazy: - Ignorant on the fine work the developers and countless >> porters did and/or - lazy to read the documentation (or if of >> non-english mothertongue: too lazy to ask for help) >> >> There is NO general-purpose desktop-related task that cannot be done >> with OpenBSD! Full stop. ('Bling-Bling' is NO general purpose >> requirement!) >> >> Unless s.o. has to use some proprietary software that is tighly >> linked to internals of an other OS there is no technical reason to >> use any other OS as a basis for a desktop system > >except for resume from suspend not working and video driver issues (yes, >those will work on some laptops, but did not on my Macbook Pro, so that >is a technical reason for using another OS) If 'suspend/resume' fits under your definition of "desktop-related task" then this is a valid point for you (though: wasn't this solved already???). If it is not working than this is certainly an annoying issue - but: If turned off will you get your job done? If yes, than it does not meet MY definition of "desktop-related task". (I prefer a clean shutdown anyway as this fits my workspace best. YMMV, of course.) And 'video driver issues' on a MB Pro - we're talking 'nVidia' here, right? That is a sad issue of its own kind ... :-( STEFAN
Re: who is using obsd
>Few cases for obsd not suitable as desktop: > >- At home, the WAF (Wife Acceptance Factor) for obsd on desktop is negative >due lack of skype, and flash player. WAF: Good point! Hard to tackle ... :-) Skype: Valid argument - I have to agree that nowadays this is a requirement for a "general-purpose desktop system" (let's not discuss 'confidentiality' for now...) Flash: 'Bling-bling' is possible even with OpenBSD. But you have to deliberatly open "Pandora's box"... >- At work, need for virtual machines on laptop is a must, not very well met >in obsd. I have no experience with virtual machines at all - looks like "special-purpose" to me. But I don't claim competency here. > >So correct answer is: it depends! Quite right, of course. "If you only have a hammer everything looks like a nail" Good if we are able to choose from the right tool to get the job done. Most of time my choise is OpenBSD! Cheers, STEFAN
Re: who is using obsd
>Skype: Valid argument - I have to agree that nowadays this is a requirement >for a "general-purpose desktop system" (let's not discuss 'confidentiality' >for now...) Sorry - I couldn't resist: The German IT-news site http://www.heise.de reported a few minutes ago that Microsoft reads along messages sent via Skype: http://www.heise.de/newsticker/meldung/Vorsicht-beim-Skypen-Microsoft-liest-mit-1857620.html (at this moment German only but I am shure this will be on http://www.h-online.com/ shortly). Some prejudices are actually predictions. Think twice before requesting Skype on your desktop: The biggest threat to confidentiality usually sits right in front of the screen ...
Re: Can't Mount CD-ROM (Newbie)
Is there a /cdrom that /etc/fstab wants to mount /dev/cd0a on?(a mistake I once did :-) ) Gesendet: Dienstag, 11. Juni 2013 um 14:43 Uhr Von: "Umut Berk Alkan" An: "jeremy.bo...@4rf.com" , "misc@openbsd.org" Betreff: Can't Mount CD-ROM (Newbie)Hi, I've installed OpenBSD 5.3 2 days ago machine of mine and now I want to add my CD-ROM for some purposes. Problem is that I can't mount the DVD/CD drive (DVD Multi Recorder R DL + RW DVD + R DL and COMPACT DISC ReWritable labels). OpenBSD installed successfully from the drive but now that I've booted the system from hard disk and I cannot access it. /etc/fstab 417c67f1c919f8a0.b none swap sw 417c67f1c919f8a0.a / ffs rw 1 1 417c67f1c919f8a0.k /home ffs rw,nodev,nosuid 1 2 417c67f1c919f8a0.d /tmp ffs rw,nodev,nosuid 1 2 417c67f1c919f8a0.f /usr ffs rw,nodev 1 2 417c67f1c919f8a0.g /usr/X11R6 ffs rw,nodev 1 2 417c67f1c919f8a0.h /usr/local ffs rw,nodev 1 2 417c67f1c919f8a0.j /usr/obj ffs rw,nodev,nosuid 1 2 417c67f1c919f8a0.i /usr/src ffs rw,nodev,nosuid 1 2 417c67f1c919f8a0.e /var ffs rw,nodev,nosuid 1 2 /dev/cd0a /cdrom cd9660 ro,noauto 0 0 mount -a isn't gives any kind of error / warning. # mount /dev/wd0a on / type ffs (local) /dev/wd0k on /home type ffs (local, nodev, nosuid) /dev/wd0d on /tmp type ffs (local, nodev, nosuid) /dev/wd0f on /usr type ffs (local, nodev) /dev/wd0g on /usr/X11R6 type ffs (local, nodev) /dev/wd0h on /usr/local type ffs (local, nodev) /dev/wd0j on /usr/obj type ffs (local, nodev, nosuid) /dev/wd0i on /usr/src type ffs (local, nodev, nosuid) /dev/wd0e on /var type ffs (local, nodev, nosuid) # mount /cdrom mount_cd9660: /dev/cd0a on /cdrom: Device not configured DMESG output: OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4293394432 (4094MB) avail mem = 4156608512 (3964MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf06d0 (48 entries) bios0: vendor American Megatrends Inc. version "1101" date 06/08/2012 bios0: ASUSTeK Computer INC. P5G41T-M LX acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI SSDT acpi0: wakeup devices P0P2(S4) P0P3(S4) P0P1(S4) UAR1(S4) PS2K(S4) PS2M(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) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Pentium(R) Dual-Core CPU E6500 @ 2.93GHz, 2934.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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF,PERF cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 288MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Pentium(R) Dual-Core CPU E6500 @ 2.93GHz, 3168.90 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF,PERF cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz 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 3 (P0P4) acpiprt5 at acpi0: bus 2 (P0P5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS aibs0 at acpi0: RTMP RVLT RFAN GGRP GITM SITM acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB cpu0: Enhanced SpeedStep 2934 MHz: speeds: 2936, 2670, 2403, 2136, 1870, 1603 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel G41 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel G45 PCIE" rev 0x03: msi pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0f00 rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci1 dev 0 function 1 "NVIDIA GF108 HD Audio" rev 0xa1: msi azalia0: no supported codecs azalia1 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: msi azalia1: codecs: Realtek/0x0887 audio0 at azalia1 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: msi pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: msi pci3 at ppb2 bus 2 alc0 at pci3 dev 0 function 0 "Attansic Technology L1C" rev 0xc0: msi, address 54:04:a6:cd:2c:a0 atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 11 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: ap
ABI break - a question
Hi there, I usually follow -current installing snapshots as soon as they become available. Being just an ordinary though happy user I know OpenBSD is not for the mindless and carefully check and read (and at least try to understand) what is written on the wall on openbsd.org/faq/current. The latest entry and advice on the ABI break catched my attention: The first step is to save the info on the packages installed - but: Is saving this info in /root a good idea when doing a fresh install? Wouldn't /home/{user}/ be more advisable as /home should be on a seperate partition not to be touched when mindfully doing a fresh install as implicitly advised in step 3? Just curious if I understood the advice - I do know how to do it. I should not finish without a BIG THANKYOU to the devs! Regards, STEFAN --- GnuPG-Key ID: 0x9C26F1D0
Re: ABI break - a question
Hi Janne! Am 13.08.2013 15:35 schrieb Janne Johansson: I don't think the upgrade will mess with files in /root ever, so it should be as safe as /home/other-user. Yes, I agree - but my question relates to a "fresh install" of the system. If you install-and-wipe-your-disks-accidentally I'd think /home is in the same kind of danger. Of course, you are quite right: "Accidentially" this can always happen (and has happend to me before). But as "Step 1" is for upgrading _and_ a fresh install my question aimed at the less experienced who might feel that it is time to reinstall. I just remembered one of the best advices the OpenBSD-FAQ has to offer in http://www.openbsd.org/faq/faq4.html#Multibooting: "Note: this is a really good time to remind you that blindly typing commands in you don't understand is a really bad idea." :-) All the best, STEFAN 2013/8/13 Stefan Wollny Hi there, I usually follow -current installing snapshots as soon as they become available. Being just an ordinary though happy user I know OpenBSD is not for the mindless and carefully check and read (and at least try to understand) what is written on the wall on openbsd.org/faq/current [1]. The latest entry and advice on the ABI break catched my attention: The first step is to save the info on the packages installed - but: Is saving this info in /root a good idea when doing a fresh install? Wouldn't /home/{user}/ be more advisable as /home should be on a seperate partition not to be touched when mindfully doing a fresh install as implicitly advised in step 3? Just curious if I understood the advice - I do know how to do it. I should not finish without a BIG THANKYOU to the devs! Regards, STEFAN --- GnuPG-Key ID: 0x9C26F1D0 -- May the most significant bit of your life be positive. Links: -- [1] http://openbsd.org/faq/current
Re: snapshot mirror t32 directory
OK - this explains why upgrading was a total disaster: I got caught in the trap of an outdated -/i386/install54.iso :-) Shouldn't this file better be removed until a new, valid version has been created as it is even older than the one in -i386/t32?(No complaint on my side - I should have been more careful. After all this is -/current!) Cheers,STEFAN Gesendet: Montag, 19. August 2013 um 12:58 Uhr Von: "Otto Moerbeek" An: misc@openbsd.org Betreff: Re: snapshot mirror t32 directoryOn Mon, Aug 19, 2013 at 11:33:41AM +0100, James Griffin wrote: > Hi > > On the ftp server I usually get my snapshots from [1] there are the sets > for upgrade. There is also a new t32 directory that contains the same > upgrade sets (or the same names and dates, at least). These are OLD sets. > > Would I be right in assuming I need to download the sets from this new > t32 directory on the server? I'm just double checking after I screwed up > an upgrade attempt a few days ago and want to be clear about which sets > are the right ones. No, take the sets form the regular directory. > > Whilst I'm sending this, can I just confirm the correct steps: > > 1 - remove all packages (except firmware packages) using the pkg_delete > commands described on [2] #3 > > 2 - download the sets from the mirror and upgrade using the normal > snapshot upgrade process. > > 3 - follow the instructions for the new identd implementation also > described at [2]. (Not applicable to me, as I don't have these set in > /etc/rc.conf.local.) > > 4 - update /etc/master.passwd described on [2] #4 using: > /mnt/usr/sbin/pwd_mkdb -d /mnt/etc /mnt/etc/master.passwd and > cp /dev/null /mnt/var/log/lastlog and > cp /dev/null /mnt/var/run/utmp > > 5 - reboot, reinstall packages using the pkg_add commands also described > on [2] #5. > > When reinstalling the packages, just ensure that $PKG_PATH is set > correctly; currently I have it set to: > ftp://ftp5.eu.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ . New packages haven't reached this mirror yet. Look at the timestamps. ftp.nluug.nl has them, you can use that one. > > 6 - hope that all my packages are converted/updated for the new ABI > change, especially my WM which is fvwm2. > > Sorry for repeating the information on the website, I just like to be > absolutely clear. > > Final point/question: is it recommended to wait a little longer before > doing this to allow time for packages to be updated? I have a lot of > packages installed at the moment. A package snap for amd64 was uploaded to the main ftp site. It will take some time to propagate to your mirror, but after that, you should be good to go. Just check the timestamps. Anything from before mid-august is too old. Beware, the install54.iso files are not up-to-date for most archs. For the rest, just follow the instructions; they have worked for me when I updated my main amd64 workstation (which has quite some packages installed) this morning. -Otto
No sound on Intel-iMac w/ NVIDIA MCP79
Hi there, hope, s.o. can provide a clue on why I have no sound on my iMac, which with OS-X has no issues with sound at all. Full dmesg at the end. sndio is running: $ top | grep sndio 31429 _sndio 2 -20 480K 984K idle poll 0:01 0.00% sndiod I have /etc/mixerctl.conf with just three lines: outputs.master=255,255 outputs.spkr_mute=off outputs.spkr2_mute=off Output is not muted by audioctl as this shows: $ audioctl -f /dev/audio name=HD-Audio version=1.0 config=azalia0 encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1 properties=full_duplex,independent full_duplex=0 fullduplex=0 blocksize=9600 hiwat=6 lowat=4 output_muted=0 monitor_gain=0 mode=play play.rate=48000 play.channels=2 play.precision=16 play.bps=2 play.msb=1 play.encoding=slinear_le play.gain=255 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=1 play.active=0 play.buffer_size=65536 play.block_size=9600 play.errors=0 record.rate=48000 record.channels=2 record.precision=16 record.bps=2 record.msb=1 record.encoding=slinear_le record.gain=125 record.balance=32 record.port=0x0 record.avail_ports=0x0 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=1 record.active=0 record.buffer_size=65536 record.block_size=9600 record.errors=0 Same with 'mixerctl -v' (as expected with given mixerctl.conf, see above): $ mixerctl -v record.adc-0:1_mute=off [ off on ] record.adc-0:1=125,125 record.adc-2:3_mute=off [ off on ] record.adc-2:3=125,125 record.adc-4:5_mute=off [ off on ] record.adc-4:5=125,125 record.dig-adc-0:1_sou=SPDIF-in [ SPDIF-in ] inputs.mix_source=beep,hp,line-in { mic beep hp line-in } inputs.mix_mic=120,120 inputs.mix_beep=120,120 inputs.mix_hp=120,120 inputs.mix_line-in=120,120 outputs.mix2=192,192 inputs.mix2_source=dac-0:1,mix { dac-0:1 mix } outputs.mix3=126,126 inputs.mix3_source=dac-2:3,mix { dac-2:3 mix } outputs.mix4=192,192 inputs.mix4_source=dac-4:5,mix { dac-4:5 mix } outputs.mix5=126,126 inputs.mix5_source=dac-6:7,mix { dac-6:7 mix } outputs.hp_source=mix2 [ mix2 mix3 mix4 mix5 mix9 ] outputs.hp_mute=off [ off on ] inputs.hp=85,85 outputs.hp_dir=output [ none output input input-vr0 input-vr50 input-vr80 input-vr100 ] outputs.hp_boost=off [ off on ] outputs.line-in_source=mix3 [ mix2 mix3 mix4 mix5 mix9 ] outputs.line-in_mute=off [ off on ] inputs.line-in=85,85 outputs.line-in_dir=input [ none output input input-vr0 input-vr50 input-vr80 input-vr100 ] outputs.line-in_boost=off [ off on ] outputs.spkr_source=mix4 [ mix2 mix3 mix4 mix5 mix9 ] outputs.spkr_mute=off [ off on ] outputs.spkr_dir=output [ none output input input-vr0 input-vr50 input-vr80 input-vr100 ] outputs.spkr_boost=off [ off on ] inputs.mic=85,85 outputs.mic_dir=input-vr80 [ none output input input-vr0 input-vr50 input-vr80 input-vr100 ] outputs.spkr2_source=mix4 [ mix2 mix3 mix4 mix5 mix9 ] outputs.spkr2_mute=off [ off on ] outputs.spkr2_dir=output [ none output input input-vr0 input-vr50 input-vr80 input-vr100 ] outputs.spkr2_boost=off [ off on ] outputs.SPDIF_source=dig-dac-0:1 [ dig-dac-0:1 ] record.adc-4:5_source=mic,beep,hp,line-in,mix { mic beep hp line-in mix } record.adc-2:3_source=mic,beep,hp,line-in,mix { mic beep hp line-in mix } record.adc-0:1_source=mic,beep,hp,line-in,mix { mic beep hp line-in mix } outputs.mix9=126,126 inputs.mix9_source=dac-8:9,mix { dac-8:9 mix } outputs.hp_sense=plugged [ unplugged plugged ] outputs.line-in_sense=plugged [ unplugged plugged ] outputs.spkr2_muters=hp,line-in { hp line-in } outputs.master=255,255 outputs.master.mute=off [ off on ] outputs.master.slaves=mix2,mix4,hp,spkr,spkr2 { mix2 mix3 mix4 mix5 hp line-in spkr mic spkr2 mix9 } record.volume=125,125 record.volume.mute=off [ off on ] record.volume.slaves=adc-0:1,adc-2:3,adc-4:5 { adc-0:1 adc-2:3 adc-4:5 hp line-in spkr mic spkr2 } outputs.mode=analog [ analog digital ] record.mode=analog [ analog digital ] While 'man azalia' tells me that NVIDIA MCP79 is supported dmesg tells me that "NVIDIA MCP79 Memory" is 'not configured' - is this relevant here? $ dmesg | grep MCP79 pchb0 at pci0 dev 0 function 0 "NVIDIA MCP79 Host" rev 0xb1 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 0 function 1 not configured pcib0 at pci0 dev 3 function 0 "NVIDIA MCP79 ISA" rev 0xb2 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 3 function 1 not configured nviic0 at pci0 dev 3 function 2 "NVIDIA MCP79 SMBus" rev 0xb1 "NVIDIA MCP79 Memory" rev 0xb1 at pci0 dev 3 function 3 not configured "NVIDIA MCP79 Co-processor" rev 0xb1 at pci0 dev 3 function 5 not configured ohci0 at pci0 dev 4 function 0 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 11, version 1.0, legacy support ehci0 at pci0 dev 4 function 1 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 10 ohci1 at pci0 dev 6 function 0 "NVIDIA MCP79 USB" rev 0xb1: apic 1 int 7, version 1.0, legacy support ehci1 at pci0 dev 6 function 1 "NVIDIA
Re: No sound on Intel-iMac w/ NVIDIA MCP79
Am Wed, 11 Sep 2013 14:17:50 +1000 schrieb Jonathan Gray : > On Tue, Sep 10, 2013 at 09:28:38PM +0200, Stefan Wollny wrote: > > Hi there, > > > > hope, s.o. can provide a clue on why I have no sound on my iMac, > > which with OS-X has no issues with sound at all. Full dmesg at the > > end. > > Most/all? of the apple machines seem to have audio wired up strangely > and require various quirks. Try this > > Index: azalia_codec.c > === > RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v > retrieving revision 1.154 > diff -u -p -r1.154 azalia_codec.c > --- azalia_codec.c27 May 2013 21:19:31 - 1.154 > +++ azalia_codec.c11 Sep 2013 04:11:32 - > @@ -137,11 +137,13 @@ azalia_codec_init_vtbl(codec_t *this) > this->qrks |= AZ_QRK_WID_CDIN_1C | > AZ_QRK_WID_BEEP_1D; if (this->subid == 0x00a1106b || /* > APPLE_MB3 */ this->subid == 0x00a0106b || /* APPLE_MB3_1 */ > - this->subid == 0x00a3106b) {/* APPLE_MB4 > */ > + this->subid == 0x00a3106b ||/* APPLE_MB4 > */ > + this->subid == 0x4300106b) {/* iMac 9,1 > */ this->qrks |= AZ_QRK_GPIO_UNMUTE_0; > } > if (this->subid == 0x00a1106b || > - this->subid == 0x00a0106b) > + this->subid == 0x00a0106b || > + this->subid == 0x4300106b) > this->qrks |= AZ_QRK_WID_OVREF50; > break; > case 0x10ec0888: Hi Jonathan, thank you very much for taking your time to look at my problem. I applied your patch and rebuild the kernel. Unfortunately I still have no sound on the iMac. BTW: I didn't explicitly mention if but I am using -current (amd64). With the i386-version there was no sound either. If I can provide any other info on the system please let me know. All the best, STEFAN Mit freundlichen Grüßen, STEFAN WOLLNY Regulatory Reporting Consultancy Tel.: +49 (0) 177 655 7875 Fax.: +49 (0) 3212 655 7875 Mail: ste...@wollny.de GnuPG-Key ID: 0x9C26F1D0
Way too many crashes with recent snapshots
Hi there, I have this ancient IBM/lenovo T60 with me while working off-site. This machine used to be a reliable workhorse until recently. Since roughly around the time of the ABI changes to 64-bit time I get annoyed by 2~3 crashes per day. I usually run OpenBSD's latest snapshots on it and I can confirm that those snapshots are rock-solid. So here I am wondering if my I have to say farewell to my favorite worktool or if I missed some changes in the settings. E.g. one important Linux-binary (SoftMaker Office 2012) does not start up any more (and on startup the system complains that 'kern.emul.linux=1' is invalid). My next step would be to reinstall from the lastest snapshot-install54.iso to make shure everything is in sync. But if s.o. can provide additional advice I really would appreciate it. More infos needed? Time to say THANK YOU to the devs! (And yes - I did order 5.4 already!) Cheers, STEFAN ---OpenBSD 5.4-current (GENERIC.MP) #61: Sat Sep 14 14:04:00 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 3219517440 (3070MB) avail mem = 3155156992 (3008MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "79ETE5WW (2.25 )" date 08/27/2009 bios0: LENOVO 200855G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility X1300 M52-64" rev 0x00: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 00:15:58:31:de:bd ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW2, address 00:18:de:9c:fd:27 ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4 vendor "Renesas", unknown product 0x0015 (class serial bus subclass USB, rev 0x02) at pci4 dev 0 function 0 not configured ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 fu
Way too many crashes with recent snapshots (non-HTML-version)
Send a second time as this webmail-programm changed to HTML again... this mail should be better to read. Hi there, I have this ancient IBM/lenovo T60 with me while working off-site. This machine used to be a reliable workhorse until recently. Since roughly around the time of the ABI changes to 64-bit time I get annoyed by 2~3 crashes per day. I usually run OpenBSD's latest snapshots on it and I can confirm that those snapshots are rock-solid. So here I am wondering if my I have to say farewell to my favorite worktool or if I missed some changes in the settings. E.g. one important Linux-binary (SoftMaker Office 2012) does not start up any more (and on startup the system complains that 'kern.emul.linux=1' is invalid). My next step would be to reinstall from the lastest snapshot-install54.iso to make shure everything is in sync. But if s.o. can provide additional advice I really would appreciate it. More infos needed? Time to say THANK YOU to the devs! (And yes - I did order 5.4 already!) Cheers, STEFAN --- OpenBSD 5.4-current (GENERIC.MP) #61: Sat Sep 14 14:04:00 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 3219517440 (3070MB) avail mem = 3155156992 (3008MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "79ETE5WW (2.25 )" date 08/27/2009 bios0: LENOVO 200855G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility X1300 M52-64" rev 0x00: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 00:15:58:31:de:bd ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW2, address 00:18:de:9c:fd:27 ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4 vendor "Renesas", unknown product 0x0015 (class serial bus subclass USB, rev 0x02) at pci4 dev 0 function 0 not configured ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 "Int
cvs up
Hi there, working off-site for a few days I took my ancient IBM/lenovo T60 (i386 - bsd.mp) with me. Two days ago I upgraded to the latest snapshot, #61 as of September, 17th, from openbsd.cs.fau.de. (dmesg at the end) Tonight I updated /usr/src via cvs. It appeared to me that a whole copy of /usr was installed to /usr/gnu/usr.bin/gcc/ginclude.Example:$ ls -alh /usr/src/gnu/usr.bin/gcc/ginclude/ports/archivers/bzip2/ total 32 drwxr-xr-x 6 root wsrc 512B Sep 19 22:30 . drwxr-xr-x 70 root wsrc 1.5K Sep 19 22:30 .. drwxr-xr-x 2 root wsrc 512B Sep 19 22:30 CVS -rw-r--r-- 1 root wsrc 905B Apr 4 18:03 Makefile -rw-r--r-- 1 root wsrc 110B Apr 4 18:03 distinfo drwxr-xr-x 3 root wsrc 512B Sep 19 22:30 files drwxr-xr-x 3 root wsrc 512B Sep 19 22:30 patches drwxr-xr-x 3 root wsrc 512B Sep 19 22:30 pkg $ ls -alh /usr/ports/archivers/bzip2 total 28 drwxr-xr-x 5 root wheel 512B Sep 17 19:57 . drwxr-xr-x 60 root wheel 1.5K Sep 17 19:57 .. drwxr-xr-x 2 root wheel 512B Sep 17 19:57 CVS -rw-r--r-- 1 root wheel 905B Apr 4 18:03 Makefile -rw-r--r-- 1 root wheel 110B Apr 4 18:03 distinfo drwxr-xr-x 3 root wheel 512B Aug 19 22:58 patches drwxr-xr-x 3 root wheel 512B Aug 19 22:58 pkg Just to be shure: Is this update of /usr correct? I have the impression that something went wrong as I got e.g.U gnu/usr.bin/gcc/ginclude/www/papers/strlcpy-paper.pdf U gnu/usr.bin/gcc/ginclude/www/papers/strlcpy-paper.ps U gnu/usr.bin/gcc/ginclude/www/papers/strlcpy-slides.pdf U gnu/usr.bin/gcc/ginclude/www/papers/strlcpy-slides.ps Beside this: In the last weeks the laptop crashes at least 2~3 times/day with the latest snapshots but I make it a thread of its own. Do you need any further input? Cheers,STEFAN --- OpenBSD 5.4-current (GENERIC.MP) #61: Sat Sep 14 14:04:00 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 3219517440 (3070MB) avail mem = 3155156992 (3008MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "79ETE5WW (2.25 )" date 08/27/2009 bios0: LENOVO 200855G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility X1300 M52-64" rev 0x00: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 00:15:58:31:de:bd ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wirel
Re: Way too many crashes with recent snapshots (non-HTML-version)
Hi Philip, thank you for taking the time to reply: Of course, you are 100% right - without proper crash reports such complaints are rather useless. But I cannot describe a reproduceabel situation that leads to a crash. The only common circumstance is that the crashes occured when running X. Until snapshot #60 I had no issues running fluxbox. Since #61 only kde starts up. But with both window-managers the system could hang within seconds or after hours after moving the cursor. I add Xorg.0.log.old at the end. I will do my homework on the weekend and read how to make proper bug reports - until now it was not necessary as any issues were solved quickly. If you are interested in any particular details/logs or can provide a shorthand starting point to learn don't hesitate to let me know ;-) BTW: For the moment libreoffice is a sufficient replacement. All the best, STEFAN Gesendet: Freitag, 20. September 2013 um 00:01 Uhr Von: "Philip Guenther" An: "Stefan Wollny" Cc: "misc@openbsd.org" Betreff: Re: Way too many crashes with recent snapshots (non-HTML-version) On Thu, Sep 19, 2013 at 2:44 PM, Stefan Wollny wrote: > I have this ancient IBM/lenovo T60 with me while working off-site. This > machine used to be a reliable workhorse until recently. Since roughly around > the time of the ABI changes to 64-bit time I get annoyed by 2~3 crashes per > day. I usually run OpenBSD's latest snapshots on it and I can confirm that > those snapshots are rock-solid. It's hard to fix crashes that aren't reported, or that are reported without any details. panic message? kernel trace back? reliable reproduction procedure? > So here I am wondering if my I have to say farewell to my favorite worktool > or if I missed some changes in the settings. E.g. one important Linux-binary > (SoftMaker Office 2012) does not start up any more (and on startup the system > complains that 'kern.emul.linux=1' is invalid). As espie@ noted, compat_linux needs further fixes to get it working again after the time_t bump. If linux compat is a "must have" then you'll need to run 5.4-release for now. Philip Guenther [ 2491.173] (--) checkDevMem: using aperture driver /dev/xf86 [ 2491.205] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32) [ 2491.265] X.Org X Server 1.14.2 Release Date: 2013-06-25 [ 2491.265] X Protocol Version 11, Revision 0 [ 2491.265] Build Operating System: OpenBSD 5.4 i386 [ 2491.266] Current Operating System: OpenBSD majestix.my.domain 5.4 GENERIC.MP#61 i386 [ 2491.266] Build Date: 14 September 2013 11:46:49AM [ 2491.267] [ 2491.267] Current version of pixman: 0.30.2 [ 2491.267]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 2491.267] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 2491.267] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 19 22:22:25 2013 [ 2491.273] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [ 2491.277] (==) No Layout section. Using the first Screen section. [ 2491.277] (==) No screen section available. Using defaults. [ 2491.277] (**) |-->Screen "Default Screen Section" (0) [ 2491.278] (**) | |-->Monitor "" [ 2491.280] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 2491.280] (==) Disabling SIGIO handlers for input devices [ 2491.280] (==) Automatically adding devices [ 2491.280] (==) Automatically enabling devices [ 2491.280] (==) Not automatically adding GPU devices [ 2491.298] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [ 2491.298] (==) ModulePath set to "/usr/X11R6/lib/modules" [ 2491.298] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [ 2491.298] (II) Loader magic: 0x3c024100 [ 2491.298] (II) Module ABI versions: [ 2491.298]X.Org ANSI C Emulation: 0.4 [ 2491.298]X.Org Video Driver: 14.1 [ 2491.298]X.Org XInput driver : 19.1 [ 2491.298]X.Org Server Extension : 7.0 [ 2491.299] (--) PCI:*(0:1:0:0) 1002:7149:17aa:2005 rev 0, Mem @ 0xd800/134217728, 0xee10/65536, I/O @ 0x2000/256 [ 2491.301] Initializing built-in extension Generic Event Extension [ 2491.301] Initializing built-in extension SHAPE [ 2491.301] Initializing built-in extension MIT-SHM [ 2491.301] Initializing built-i
python
Hi there! As some of you might have noticed I had recently some issues with my ancient IBM/lenovo T60 (>10 years young and still running; ye). Tonight I reinstalled my system to 5.4-current #62. When installing all those packages needed on any decent desktop I stumpled upon python: One package had a dependency to python-2.7.5 and provided the advice if this version is going to be the system-wide python-installion to make the relevant symlinks. But: At least one other package (libreoffice) requires python-3.3.2 . Now what is the best way to go: (1) Do nothing as the packages will use the python-version they need. (2) Set symlinks to python-2.7.5 (3) Set symlinks to python-3.3.2 Any hints, advices, remarks? Thank you for your time to read and Thank you if you reply. Regards, STEFAN P.S.: When writing this the system crashed for the first time after re-installing! 'crashed' means the system entirely stopped responding! How can I provide ANY information on such a behaviour? (claws-mail had made a backup-copy of my writing, except the P.S., of course)
Re: Way too many crashes with recent snapshots (non-HTML-version)
Am Fri, 20 Sep 2013 00:22:53 +0200 (CEST) schrieb "Stefan Wollny" : > Hi Philip, > > thank you for taking the time to reply: Of course, you are 100% right [ ... ] > > As espie@ noted, compat_linux needs further fixes to get it working > again after the time_t bump. If linux compat is a "must have" then > you'll need to run 5.4-release for now. > OK - I am back on the track. Reinstalling the entire system with today's new 5.4-current (with the exeption of SoftMaker's office-2012) took me about 2 hours. VERY acceptable IMHO. $ du -h /usr gives 6.1G and even clamd's database is up-to-date. Just /usr/src, /usr/ports and /usr/xenocara will be 'get'ed later on. One question related to python is a topic on its own. Now I just want to let you know about some investigations on the linux issue: ~~~ $ cat /etc/sysctl.conf | grep linux kern.emul.linux=1 # enable running Linux binaries $ sysctl kern.emul kern.emul.nemuls=0 $ sudo /usr/local/emul/fedora/sbin/ldconfig sysctl: third level name kern.emul.linux in kern.emul is invalid ERROR: kern.emul.linux must be 1 $ man sysctl | grep nemuls kern.emul.nemuls integerno $ sudo sysctl kern.emul.nemuls=1 sysctl: Operation not permitted ~~~ I have no clue what is going on here but obviously if 'kern.emul.linux=1' is not recognized the installation of the fedore-package must fail and no linux binary will start. If I can provide any other information beside the dmesg (again at the end) or if you want me to test a patch just let me know. BTW: I don't know about the experience of others but my ancient IBM/lenovo T60 seems to be significantly faster than with 5.3 and prior versions. Is this the result of the radeondrm-driver being activated? Anyway: Even though I have come to use only OpenBSD-current I have the cozy feeling that buying CDs (and donating a little amount) is among the best investments I can make! To Theo@ and his 'gang of devs': THANK YOU - THANK Y0U - THANK YOU! Regards, STEFAN ~~~ OpenBSD 5.4-current (GENERIC.MP) #62: Tue Sep 17 09:21:53 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 3219517440 (3070MB) avail mem = 3155156992 (3008MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "79ETE5WW (2.25 )" date 08/27/2009 bios0: LENOVO 200855G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 pci1 at ppb0 bus
Re: Way too many crashes with recent snapshots (non-HTML-version)
Am Fri, 20 Sep 2013 22:05:04 +0200 schrieb Stefan Wollny : > Am Fri, 20 Sep 2013 00:22:53 +0200 (CEST) > schrieb "Stefan Wollny" : > > > Hi Philip, > > > > thank you for taking the time to reply: Of course, you are 100% > > right > [ ... ] > > OK - it happened again: The system just stopped responding, entirely! This time it was after roughly 4 hours. grellkm reported temperatures of acpi* below 80 degrees Celsius, over 10 degrees below the threshold. After the PITA of waiting until the system was up again /var/log/messages gave me the following: Sep 20 23:12:14 majestix /bsd: acpithinkpad0: unknown event 0x6022 Sep 20 23:12:17 majestix last message repeated 11 times Which log would be interesting to you? Regards, STEFAN ~~~ OpenBSD 5.4-current (GENERIC.MP) #62: Tue Sep 17 09:21:53 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 3219517440 (3070MB) avail mem = 3155156992 (3008MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "79ETE5WW (2.25 )" date 08/27/2009 bios0: LENOVO 200855G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility X1300 M52-64" rev 0x00: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 00:15:58:31:de:bd ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21 pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW2, address 00:18:de:9c:fd:27 ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22 pci4 at ppb3 bus 4 vendor "Renesas", unknown product 0x0015 (class serial bus subclass USB, rev 0x02) at pci4 dev 0 function 0 not configured ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23 pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 "Intel 82801GB US