Can't boot installer because of EFI video mode
Hi all, I had issues with booting the installer on this 2011 samsung laptop NP300V3A. The screen would turn all garbled when the boot messages started to appear. 5.8 was fine but the releases after had this problem. I was able to fix this by following the messages here[1]. Basically setting the gop video to 640 instead of the default 1024 did it for this model. Hope this helps somebody else :-) Cheers, rodolfo [1] https://marc.info/?l=openbsd-tech=150731517406828=2
Re: dump(8) and permissions
On Fri, Oct 11, 2013 at 05:48:24PM -0400, Jiri B wrote: So is it related to permissions on partition device? If so wow, I didn't know how it works... When /var is a real partition, there is a device node that corresponds to it and the group operator has read permissions on it. cheers, --rodolfo
dump(8) and permissions
Hi all, I've been using dump for backup a bunch of systems and I've noticed that there are some areas it can't access: DUMP: Can't fts_read /var/audit: Permission denied DUMP: Can't fts_read /var/authpf: Permission denied DUMP: Can't fts_read /var/backups: Permission denied DUMP: Can't fts_read /var/crash: Permission denied DUMP: Can't fts_read /var/cron/atjobs: Permission denied DUMP: Can't fts_read /var/cron/tabs: Permission denied DUMP: Can't fts_read /var/db/ldap: Permission denied DUMP: Can't fts_read /var/db/yubikey: Permission denied DUMP: Can't fts_read /var/games/hackdir/save: Permission denied DUMP: Can't fts_read /var/named/etc: Permission denied DUMP: Can't fts_read /var/run/mysql: Permission denied DUMP: Can't fts_read /var/spool/clientmqueue: Permission denied DUMP: Can't fts_read /var/spool/ftp/bin: Permission denied DUMP: Can't fts_read /var/spool/ftp/etc: Permission denied DUMP: Can't fts_read /var/spool/ftp/hidden: Permission denied DUMP: Can't fts_read /var/spool/mqueue: Permission denied DUMP: Can't fts_read /var/spool/smtpd: Permission denied I'm dump'ing remotely with: /sbin/dump -0auf The user being used to run is a member of the group 'operator'. What can be the problem ? So far I've thought of these: - because I'm doing this on live system? - in dump(8), in the BUGS section there is this notice: When dumping a list of files or subdirectories, access privileges are required to scan the directory (as this is done via the fts(3) routines rather than directly accessing the filesystem). cheers, --rodolfo
Re: dump(8) and permissions
On Fri, Oct 11, 2013 at 09:04:16AM -0400, Jiri B wrote: Try `su' to your user on that system and try to `ls -lR' those dirs, I suppose he won't be able to do that. j. Thanks Jiri. Indeed he can't. I've looked at this closer and I found out that on some machines dump doesn't give any error even though the user 'backup' can't list the contents of the folder: $ whoami backup $ ls -lhd /var/audit drwxrws--- 2 root wheel 512B Mar 13 2013 /var/audit $ ls -lhR /var/audit ls: audit: Permission denied The difference I found between those machines is the partition layout. Machine with no errors: $ mount /dev/sd0a on / type ffs (local) /dev/sd0g on /home type ffs (local, nodev, nosuid) /dev/sd0d on /tmp type ffs (local, nodev, nosuid) /dev/sd0f on /usr type ffs (local, nodev) /dev/sd0e on /var type ffs (local, nodev, nosuid) Machine with errors: $ mount /dev/sd0a on / type ffs (local) So the difference is that when '/var' is a real partition, dump doesn't complain at all. Does this make sense?
Re: dump(8) and permissions
On Fri, Oct 11, 2013 at 04:56:35PM +0200, Remco wrote: Possibly, yes, but I don't think you're supplying all information necessary to determine that. The exact command you run isn't clear to me. Here it is, on the machine without errors: $ id uid=1001(backup) gid=1001(backup) groups=1001(backup), 5(operator) $ /sbin/dump -0auf /tmp/var.dump /var DUMP: Date of this level 0 dump: Fri Oct 11 16:21:30 2013 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rsd0e (/var) to /tmp/var.dump DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 107345 tape blocks. DUMP: Volume 1 started at: Fri Oct 11 16:21:35 2013 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 114670 tape blocks on 1 volume DUMP: Date of this level 0 dump: Fri Oct 11 16:21:30 2013 DUMP: Volume 1 completed at: Fri Oct 11 16:22:04 2013 DUMP: Volume 1 took 0:00:29 DUMP: Volume 1 transfer rate: 3954 KB/s DUMP: Date this dump completed: Fri Oct 11 16:22:04 2013 DUMP: Average transfer rate: 3954 KB/s DUMP: level 0 dump on Fri Oct 11 16:21:30 2013 DUMP: Closing /tmp/var.dump DUMP: DUMP IS DONE $ mount /dev/sd0a on / type ffs (local) /dev/sd0g on /home type ffs (local, nodev, nosuid) /dev/sd0d on /tmp type ffs (local, nodev, nosuid) /dev/sd0f on /usr type ffs (local, nodev) /dev/sd0e on /var type ffs (local, nodev, nosuid) Now on the other one: $ id uid=1003(backup) gid=1003(backup) groups=1003(backup), 5(operator) $ /sbin/dump -0auf /tmp/var.dump /var DUMP: Ignoring u flag for subdir dump DUMP: Dumping sub files/directories from / DUMP: Dumping file/directory /var DUMP: Date of this level 0 dump: Fri Oct 11 16:22:57 2013 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rsd0a (/) to /tmp/var.dump DUMP: mapping (Pass I) [regular files] DUMP: Can't fts_read /var/audit: Permission denied DUMP: Can't fts_read /var/authpf: Permission denied DUMP: Can't fts_read /var/backups: Permission denied DUMP: Can't fts_read /var/crash: Permission denied DUMP: Can't fts_read /var/cron/atjobs: Permission denied DUMP: Can't fts_read /var/cron/tabs: Permission denied DUMP: Can't fts_read /var/db/ldap: Permission denied DUMP: Can't fts_read /var/db/pkg/libart-2.3.21: Permission denied DUMP: Can't fts_read /var/db/pkg/png-1.5.10: Permission denied DUMP: Can't fts_read /var/db/pkg/rrdtool-1.2.30p3: Permission denied DUMP: Can't fts_read /var/db/pkg/symon-2.85: Permission denied DUMP: Can't fts_read /var/db/pkg/libxml-2.7.8p6: Permission denied DUMP: Can't fts_read /var/db/pkg/femail-0.98: Permission denied DUMP: Can't fts_read /var/db/pkg/femail-chroot-0.98p1: Permission denied [snip] DUMP: Can't fts_read /var/postfix: Permission denied DUMP: mapping (Pass II) [directories] DUMP: estimated 68170 tape blocks. DUMP: Volume 1 started at: Fri Oct 11 16:22:57 2013 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 68342 tape blocks on 1 volume DUMP: Date of this level 0 dump: Fri Oct 11 16:22:57 2013 DUMP: Volume 1 completed at: Fri Oct 11 16:23:06 2013 DUMP: Volume 1 took 0:00:09 DUMP: Volume 1 transfer rate: 7593 KB/s DUMP: Date this dump completed: Fri Oct 11 16:23:06 2013 DUMP: Average transfer rate: 7593 KB/s DUMP: Closing /tmp/var.dump DUMP: DUMP IS DONE $ mount /dev/sd0a on / type ffs (local) So that pertains 1). 2) a mountpoint, I suspect the underlying device node is accessed to make the backup. Guess what ? $ ls -l /dev/sd0a brw-r- 1 root operator4, 0 May 7 19:13 /dev/sd0a AFAICT device nodes are readable by the operator group an thus can be backed up by members of that group. To the best of my knowledge dump can be used to backup whole filesystems by accessing them through the underlying device node as a member of the operator group. Now that you explained it like that, I can see what's happening. It works when there is a partition because of the permissions of the device itself and not of the filesystem. Thank you! cheers, --rodolfo
Re: OpenBSD problems on Dell R320 (not BCM 5720 related)
Any update on this? Did you try 5.3? cheers, --rodolfo
Re: time stops under VMWare VM
On Fri, Jun 21, 2013 at 08:00:38PM -0500, Josh Hoppes wrote: I've run into this issue as well in past versions. Set this in /etc/sysctl.conf kern.timecounter.hardware=acpitimer0 Thanks Josh! That solved the problem. I was able to set the time correctly with ntpd just after setting that sysctl. cheers, --rodolfo
time stops under VMWare VM
Hi all, I have had this issue that time stops under my 5.3 AMD64 VM running on top of VMware ESXi 5. The VM gets in this strange behaviour that time just stops: $ date Fri Jun 21 18:19:55 WEST 2013 $ sudo date 198506131627 Thu Jun 13 16:27:00 WEST 1985 after a few minutes $ date Thu Jun 13 16:27:00 WEST 1985 Also I get the dmesg full of these messages: vmware: sending length failed, eax=, ecx= vmt0: failed to send TCLO outgoing ping Another behaviour is that if I make a new tmux server, I can't type inside it, like there is no feedback. I've noticed this happens after I hit swap, output from top: Memory: Real: 68M/336M act/tot Free: 646M Cache: 193M Swap: 21M/2050M The only way I've found to resolve is to reboot the machine. Any ideas? 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 = 1072627712 (1022MB) avail mem = 1021636608 (974MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (268 entries) bios0: vendor Phoenix Technologies LTD version 6.00 date 01/07/2011 bios0: VMware, Inc. VMware Virtual Platform acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P1(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P2(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P3(S3) S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0! (S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) PE40(S3) S1F0(S3) PE50(S3) S1F0(S3) PE60(S3) S1F0(S3) PE70(S3) S1F0(S3) PE80(S3) S1F0(S3) PE90(S3) S1F0(S3) PEA0(S3) S1F0(S3) PEB0(S3) S1F0(S3) PEC0(S3) S1F0(S3) PED0(S3) S1F0(S3) PEE0(S3) S1F0(S3) PE41(S3) S1F0(S3) PE42(S3) S1F0(S3) PE43(S3) S1F0(S3) PE44(S3) S1F0(S3) PE45(S3) S1F0(S3) PE46(S3) S1F0(S3) PE47(S3) S1F0(S3) PE51(S3) S1F0(S3) PE52(S3) S1F0(S3) PE53(S3) S1F0(S3) PE54(S3) S1F0(S3) PE55(S3) S1F0(S3) PE56(S3) S1F0(S3) PE57(S3) S1F0(S3) PE61(S3) S1F0(S3) PE62(S3) S1F0(S3) PE63(S3) S1F0(S3) PE64(S3) S1F0(S3) PE65(S3) S1F0(S3) PE66(S3) S1F0(S3) PE67(S3) S1F0(S3) PE71(S3) S1F0(S3) PE72(S3) S1F0(S3) PE73(S3) S1F0(S3) PE74(S3) S1F0(S3) PE75(S3) S1F0(S3) PE76(S3) S1F0(S3) PE77(S3) S1F0(S3) PE81(S3) S1F0(S3) PE82(S3) S1F0(S3) PE83(S3) S1! F0(S3) PE84(S3) S1F0(S3) PE85(S3) S1F0(S3) PE86(S3) S1F0(S3) PE87(S3) S1F0(S3) PE91(S3) S1F0(S3) PE92(S3) S1F0(S3) PE93(S3) S1F0(S3) PE94(S3) S1F0(S3) PE95(S3) S1F0(S3) PE96(S3) S1F0(S3) PE97(S3) S1F0(S3) PEA1(S3) S1F0(S3) PEA2(S3) S1F0(S3) PEA3(S3) S1F0(S3) PEA4(S3) S1F0(S3) PEA5(S3) S1F0(S3) PEA6(S3) S1F0(S3) PEA7(S3) S1F0(S3) PEB1(S3) S1F0(S3) PEB2(S3) S1F0(S3) PEB3(S3) S1F0(S3) PEB4(S3) S1F0(S3) PEB5(S3) S1F0(S3) PEB6(S3) S1F0(S3) PEB7(S3) S1F0(S3) SLPB(S4) LID_(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) Xeon(R) CPU E5606 @ 2.13GHz, 2132.45 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,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 65MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2227.87 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,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC cpu1: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibat0 at acpi0: BAT1 not present acpibat1 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ vmt0 at mainbus0 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01 ppb0 at pci0
Re: OT: Running Snort IDS under OpenBSD 5.3
On 05/31/2013 08:02 AM, C. L. Martinez wrote: Could be better to use binary packaged version released by OpenBSD (http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/amd64/snort-2.9.4.0.tgz)?? Any reason why you didn't start with the packged version? And did you tune snort.conf to your setup? cheers, --rodolfo
Re: FAQ - Disk Imaging
On Sun, Apr 14, 2013 at 12:27:57AM +0100, Kevin Chadwick wrote: 4.15 of the faq says Unfortunately, there are no known disk imaging packages which are FFS-aware. I haven't tested whether a broad brush had been applied expecting ufs and ffs to be the same or if clonezillas statement is correct but thought it may be worth bringing up that clonezilla.org says I've done this on the past to clone OpenBSD systems (ffs) without issues. Basically I booted clonezilla, saved the image of the disk to an external drive and then booted the other machine with a clean disk and restored it again. I think it is able to resize an image from a smaller disk to a bigger one but I'm not sure if I tried that. cheers, --rodolfo
Re: [Question] Building whitelists so that spamd greylisting can work without users perceiving delivery delays...
Hi there, I currently use and recommend spf2cidr by Todd Fries: https://github.com/toddfries/spf2cidr It populates a file with the IP addresses from SPF records from a list of domains specified. This file is then used on a pf table. cheers, --rodolfo
bge(4) Broadcom 5720/Dell R320 support backout
Hi all, It seems that the support for 5720 was backout because it broke another chipset. [1] The thing is that the newer Dell R320 has this chipset and I'm currently evaluating the its support. So I would like to know if the support would indeed work if I applied the patch again. I mean was the only reason to backout the break in other chipset? Thanks in advance. Cheers, --rodolfo [1] rev 1.317 http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_bge.c
Re: ftp(1) errors on an HTTPS url
On Tue, Nov 20, 2012 at 12:43:38PM +, Stuart Henderson wrote: So maybe the problem is the certificate? No this is just because /etc/ssl/cert.pem is hopelessly out of date. You can use the one from http://curl.haxx.se/docs/caextract.html :- # ftp -o/etc/ssl/cert.pem http://curl.haxx.se/ca/cacert.pem (this is a repackaged version of the Mozilla certificate store). Cool. I thought that could be the problem (outdated certificate store) but look further. This particular URL is from a port that I'm working on so I'll be using wget for FETCH_CMD. FETCH_CMD may not be used in a port Makefile, it's a user setting only, this file would need to be mirrored for now (if the license permits). I'll check that. Thanks!
Re: XenServer and re0 watchdog timeout
On Mon, Nov 19, 2012 at 12:54:01PM +0100, bele...@bsdmail.de wrote: Hi, personally I prefer to use option 1. # Rename the original QEMU script: mv /usr/lib/xen/bin/qemu-dm /usr/lib/xen/bin/qemu-dm.orig I've encountered that fix too but that means upgrading XenServer would make return to the realtek config. Maybe there's a way of doing it in their CLI.
Re: ftp(1) errors on an HTTPS url
On Fri, Nov 16, 2012 at 08:23:40PM +, Rodolfo Gouveia wrote: Hello, It seems that https://www.prelude-ids.org doesn't play well with the ftp(1). I normally get an 'improper response': $ ftp -v -d https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz host www.prelude-ids.org, port (null), path attachments/download/241/libprelude-1.0.1.tar.gz, save as libprelude-1.0.1.tar.gz. Trying 88.190.33.136... Requesting https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz received 'f' ftp: Improper response from www.prelude-ids.org Tried this with wget and got: $ wget https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz --2012-11-18 19:34:08-- https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz Resolving www.prelude-ids.org (www.prelude-ids.org)... 88.190.33.136 Connecting to www.prelude-ids.org (www.prelude-ids.org)|88.190.33.136|:443... connected. ERROR: cannot verify www.prelude-ids.org's certificate, issued by `/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=EssentialSSL CA': Unable to locally verify the issuer's authority. To connect to www.prelude-ids.org insecurely, use `--no-check-certificate'. So maybe the problem is the certificate? This particular URL is from a port that I'm working on so I'll be using wget for FETCH_CMD.
XenServer and re0 watchdog timeout
Hi all, Has anybody tested XenServer 6.0 with OpenBSD 5.2 amd64 as a guest? Network doesn't work and I all get are re0 watchdog timeout over and over... p.s. no dmesg because I don't have network access
ftp(1) errors on an HTTPS url
Hello, It seems that https://www.prelude-ids.org doesn't play well with the ftp(1). I normally get an 'improper response': $ ftp -v -d https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz host www.prelude-ids.org, port (null), path attachments/download/241/libprelude-1.0.1.tar.gz, save as libprelude-1.0.1.tar.gz. Trying 88.190.33.136... Requesting https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz received 'f' ftp: Improper response from www.prelude-ids.org but sometimes the error is different : $ ftp -v -d https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz host www.prelude-ids.org, port (null), path attachments/download/241/libprelude-1.0.1.tar.gz, save as libprelude-1.0.1.tar.gz. Trying 88.190.33.136... Requesting https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz received ' User-Agent: OpenBSD ftp ' ftp: Error retrieving file: OpenBSD ftp All the above are with OpenBSD 5.2 but with 4.8 I get more garbage: $ ftp -v -d https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz host www.prelude-ids.org, port (null), path attachments/download/241/libprelude-1.0.1.tar.gz, save as libprelude-1.0.1.tar.gz. Trying 88.190.33.136... Requesting https://www.prelude-ids.org/attachments/download/241/libprelude-1.0.1.tar.gz received '-CZr���6Vgy-Hd���(=Sj���'Ffw��� #=Xt���$8Mcz���7Vv3Mh���!4H]s��#=Xt���$8Mcz���7Vv0`0+0�,http://crt.comodoca.com/EssentialSSLCA_2.crt0+0�http://ocsp.comodoca.com' $ er response from www.prelude-ids.org
Re: ciss(4) write very slow w/o bbwc
On Tue, May 29, 2012 at 08:31:06PM +1000, Jonathan Gray wrote: From memory the firmware on the raid controller has no way of turning on caching without the battery being present. I run some ciss, like the HP P212 and P410 and I can override the cache setting, that is I can turn it on even without a battery installed. It gives me a warning though :-P cheers, rodolfo
Re: spamd -v
On Mon, May 28, 2012 at 08:22:07PM +0200, Jan Stary wrote: According to the spamd(8) manpage, the '-v' option makes message detail including subject and recipient information logged with LOG_INFO; but the subject doesn't seem to be logged (not that I miss it): May 28 20:05:23 www spamd[13382]: 91.121.238.116: connected (1/0) May 28 20:05:34 www spamd[13382]: (GREY) 91.121.238.116: starj...@lists.ff.cuni.cz - h...@stare.cz May 28 20:05:34 www spamd[13382]: 91.121.238.116: disconnected after 11 seconds. Neither does the message body and the SMTP dialogue get logged even if I bump syslog to daemon.debug Am I missing something obvious? Maybe the client didn't stay connected enough time, so it didn't continue the SMTP dialog? cheers, rodolfo
Re: disklabel error in softraid crypto volume after updating to 5.0/5.1
On Tue, May 22, 2012 at 11:08:57AM +0200, Otto Moerbeek wrote: Still, best thing is to get rid of the error message. unmount, fsck -f, edit disklabel (likely rewriting it will be enough to get the bound fixed), fsck -f, mount. Did it, worked without any issues. Thank you. cheers, rodolfo
disklabel error in softraid crypto volume after updating to 5.0/5.1
Hi all, I was running 4.9 on this server and finally got it updated to 5.0 and right after to 5.1. But security(8) now gives me this: disklabel: partition a: partition extends past end of unit sd1 is a softraid crypto volume and running disklabel I can see the problem: # disklabel sd1 # /dev/rsd1c: type: SCSI disk: SCSI disk label: SR CRYPTO duid: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 24136 total sectors: 387758000 boundstart: 0 boundend: 387758000 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a:3877580010 4.2BSD 2048 163841 c:3877580000 unused disklabel: partition a: partition extends past end of unit So in fact it goes beyond the disk. This sd1a comes from sd0h: h:387758080 98568192RAID I can mount the partition and have been using it without any problems. So is this something to be worried about? cheers, rodolfo
Re: umask in chroot'ed internal-sftp
On Thu, Mar 29, 2012 at 10:23:40PM +0200, Stefan Sieg wrote: What is different in your setup? I was specifying the -u flag to internal-sftp instead of the sftp-server. Thanks for you help.
Re: umask in chroot'ed internal-sftp
On Wed, Mar 28, 2012 at 06:33:16PM +0200, Stefan Sieg wrote: are you overwriting existing files that have the previous file mode? No, these are new files. Let me explain better. When I copy a file over with sftp, the permissions of the file created on the server, are replicated from the client. This is in contrast, when I'm logged in on the server with that same account and create a file, the umask is correct as per /etc/login.conf. Even though reading sftp-server(8): -u umask Sets an explicit umask(2) to be applied to newly-created files and directories, instead of the user's default mask. I would assume that the files copied over by the client which don't exist on the server should be honor this flag. Are my assumptions correct?
umask in chroot'ed internal-sftp
Hi all, Right now I have a chroot'ed internal-sftp for all users belonging to group chroot, /etc/ssh/sshd_config: Match Group chroot AllowAgentForwarding no AllowTcpForwarding no GatewayPorts no X11Forwarding no ForceCommand internal-sftp ChrootDirectory /chroot/%u And I would like to set a different umask for them so I tried changing the 'ForceCommand...' to: ForceCommand internal-sftp -u 0007 but didn't work. Also tried addidng a new login class in /etc/login.conf: chroot:\ :umask=007 but it seems that internal-sftp doesn't use it. Any ideas? Thanks. Cheers, rodolfo
Re: MySQL connection error after upgrade 4.9-5.0
On Wed, Mar 14, 2012 at 08:21:43PM +0800, Uwe Dippel wrote: I don't get yet which utility starts and controls the package scripts in rc.d. And slightly OT: I have stared at the pkg_scripts=${pkg_scripts} postfix in the Upgrade Guide, and still don't grasp what this is supposed to do, and where; since I am running postscript. http://www.openbsd.org/faq/faq10.html#rc man rc.d
HP DL180 G6 supported (OpenBSD 4.9)
Everything works. The RAID card is an HP P410 and the additional network card, em2, is an HP NC112T. Still there is these ones that are not configured: Intel X58 Misc rev 0x13 at pci0 dev 20 function 0 not configured Intel X58 GPIO rev 0x13 at pci0 dev 20 function 1 not configured Intel X58 RAS rev 0x13 at pci0 dev 20 function 2 not configured And an error on boot: RTC BIOS diagnostic error 8fixed_disk OpenBSD 4.9 (GENERIC.MP) #819: Wed Mar 2 06:57:49 MST 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 8fixed_disk real mem = 3211132928 (3062MB) avail mem = 3111632896 (2967MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x9ec00 (71 entries) bios0: vendor HP version O20 date 01/24/2011 bios0: HP ProLiant DL180 G6 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC SPCR MCFG SPMI SLIC BOOT OEMB HPET DMAR SSDT EINJ BERT ERST HEST acpi0: wakeup devices NPE1(S4) NPE2(S4) NPE3(S4) NPE4(S4) NPE5(S4) NPE6(S4) NPE7(S4) NPE8(S4) NPE9(S4) NPEA(S4) P0P1(S4) USB0(S4) USB1(S4) USB2(S4) USB5(S4) EUSB(S4) USB3(S4) USB4(S4) USB6(S4) USBE(S4) GBE_(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 32 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2133.73 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 34 (application processor) cpu1: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2133.41 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 50 (application processor) cpu2: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2133.41 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 52 (application processor) cpu3: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2133.41 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 ioapic1 at mainbus0: apid 3 pa 0xfec8a000, version 20, 24 pins ioapic1: misconfigured as apic 4, remapped to apid 3 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 7 (NPE1) acpiprt2 at acpi0: bus -1 (NPE2) acpiprt3 at acpi0: bus 6 (NPE3) acpiprt4 at acpi0: bus -1 (NPE4) acpiprt5 at acpi0: bus -1 (NPE5) acpiprt6 at acpi0: bus -1 (NPE6) acpiprt7 at acpi0: bus 5 (NPE7) acpiprt8 at acpi0: bus -1 (NPE8) acpiprt9 at acpi0: bus 4 (NPE9) acpiprt10 at acpi0: bus 3 (P0P4) acpiprt11 at acpi0: bus 2 (P0P8) acpicpu0 at acpi0: C3, C3, C1, PSS acpicpu1 at acpi0: C3, C3, C1, PSS acpicpu2 at acpi0: C3, C3, C1, PSS acpicpu3 at acpi0: C3, C3, C1, PSS acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 2133 MHz: speeds: 2133, 2000, 1867, 1733, 1600, 1467, 1333, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 5520 Host rev 0x13 ppb0 at pci0 dev 1 function 0 Intel X58 PCIE rev 0x13 pci1 at ppb0 bus 7 em0 at pci1 dev 0 function 0 Intel PRO/1000 (82576) rev 0x01: apic 3 int 4 (irq 10), address 9c:8e:99:xx:xx:xx em1 at pci1 dev 0 function 1 Intel PRO/1000 (82576) rev 0x01: apic 3 int 16 (irq 5), address 9c:8e:99:xx:xx:xx ppb1 at pci0 dev 3 function 0 Intel X58 PCIE rev 0x13 pci2 at ppb1 bus 6 ciss0 at pci2 dev 0 function 0 Hewlett-Packard Smart Array rev 0x01: apic 3 int 0 (irq 10) ciss0: 1 LD, HW rev 2, FW 3.66/3.66, 64bit fifo rro scsibus0 at ciss0: 1 targets sd0 at scsibus0 targ 0 lun 0: HP, LOGICAL VOLUME, 3.66 SCSI3 0/direct fixed sd0: 953816MB, 512 bytes/sec, 1953415216 sec total ppb2 at pci0 dev 7 function 0 Intel X58 PCIE rev 0x13 pci3 at ppb2 bus 5 ppb3 at pci0 dev 9 function 0 Intel X58 PCIE rev 0x13 pci4 at ppb3 bus 4 Intel X58 Misc rev 0x13 at pci0 dev 20 function 0 not configured Intel X58 GPIO rev 0x13 at pci0 dev 20 function 1 not configured Intel X58 RAS rev 0x13 at pci0 dev 20 function 2 not configured uhci0 at pci0 dev 26 function 0 Intel 82801JI USB rev 0x00: apic 1 int 16 (irq 10)
Re: Audio stutters badly on IBM Thinkpad T22 (CS4280, clcs(4) driver) with OpenBSD 4.9-stable
On 06/29/2011 05:26 PM, Ted Unangst wrote: On Wed, 29 Jun 2011, Rares Aioanei wrote: I have an audio biggie with my old laptop, which can't seem to play audio (mp3,ogg) or video (the sound part) (flv) with mplayer , mpg321 , xmms or mp3blaster. The sound is choppy, all I get is noise. From what I've read (google) there were some issues of the kind a few years ago, but no recent problem reports similar to mine exist. I start aucat as root with nice -n 20 aucat -l -b 7000 -m play -f /dev/audio0 then mplayer (or other players) filename . I searched the misc@ archives to no end. Even if I start aucat only with the -l flag (without the other options), the result is the same. The CPU load does not spike while playing, nor after. I've played audio/video on this machine in the past without issues, even though it's somewhat underpowered. Here's the dmesg and sorry if I wasn't clear enough. Try disabling CPU Power Management on the BIOS. It's been a long time, but there's something wrong with clcs that causes this. I'm not sure if it's the chip or the driver, but the interrupts don't seem to be synced right. IIRC, sometimes rebooting will work. Or was it that it only worked after a cold boot? Something like that. I run -current on a T22 and still get some write/read fail codec when suspending or returning from sleep. When I get those errors after a resume and I try mplayer or anything that uses sound I get flooded with errors on dmesg and the computer just hangs for a bit until I kill the program that was using the sound card. These are the errors: clcs0: AC97 read prob clcs0: AC97 write fail The fix for me is to suspend it again and normally on the next resume it's gone. Cheers, --rodolfo
Re: Flag to move isakmpd default keys dir?
On 06/05/2011 02:37 AM, Paul Suh wrote: Folks, I've been working with the flashrd system for booting from compact flash media, and ran across a case where I'd like to make some changes to isakmpd, but before I do so I'm not sure that it's a good idea. The location for certificates, CA's, private keys, etc. is hard-coded in /usr/src/sbin/isakmpd/conf.h and conf.c to be /etc/isakmpd/. I'd like to be I thought you could change those in isakmpd.conf: # Certificates stored in PEM format [X509-certificates] CA-directory= /etc/isakmpd/ca/ Cert-directory= /etc/isakmpd/certs/ CRL-directory= /etc/isakmpd/crls/ Private-key=/etc/isakmpd/private/local.key I took the above from the isakmpd.conf(5). Cheers, --rodolfo
Re: sensords reports ciss0.drive0: pfail and UNKNOWN
Hi anyone got any insight on this? I keep getting flooded with messages from sensorsd. Thanks. On Mon, Apr 04, 2011 at 06:23:18PM +0100, Rodolfo Gouveia wrote: Hi all. I got this on a server with OpenBSD 4.7 and a ciss0: sensorsd[10636]: ciss0.drive0: pfail, WARN sensorsd[10636]: ciss0.drive0: online, OK This was a month ago and lately I have this: sensorsd[28867]: ciss0.drive0: 0 ???, UNKNOWN sensorsd[28867]: ciss0.drive0: online, OK bioctl -v ciss0 gives me this: ciss0 0 Online 25002380 sd0 RAID1 0 Online 250059350016 0:0.0 noencl ATA GB0250EAFYK 'WCAT1F1X' 1 Online 250059350016 0:1.0 noencl ATA GB0250EAFYK 'WCAT1F1X' Anyone knows what this means? Bad disk? cheers, --rodolfo
Re: svnserve and SASL
On Wed, Apr 06, 2011 at 06:27:08PM -0700, Maxim Nazarenko wrote: Hello I have nearly identical setup and my problem is the same: SASL(-13): user not found: no secret in database. My file locations and permissions seem to be correct, however svnserve dtill doesn't work. What did you do to solve it? Here some notes from my setup. sasl part of svnserve.conf: [sasl] use-sasl = true min-encryption = 128 max-encryption = 256 create /usr/local/lib/sasl2/svn.conf: pwcheck_method: auxprop auxprop_plugin: sasldb sasldb_path: /etc/svn-sasldb2 mech_list: DIGEST-MD5 create database: saslpasswd2 -c -f /etc/svn-sasldb2 -u REALM USERNAME Hope it helps. cheers, --rodolfo
sensords reports ciss0.drive0: pfail and UNKNOWN
Hi all. I got this on a server with OpenBSD 4.7 and a ciss0: sensorsd[10636]: ciss0.drive0: pfail, WARN sensorsd[10636]: ciss0.drive0: online, OK This was a month ago and lately I have this: sensorsd[28867]: ciss0.drive0: 0 ???, UNKNOWN sensorsd[28867]: ciss0.drive0: online, OK bioctl -v ciss0 gives me this: ciss0 0 Online 25002380 sd0 RAID1 0 Online 250059350016 0:0.0 noencl ATA GB0250EAFYK 'WCAT1F1X' 1 Online 250059350016 0:1.0 noencl ATA GB0250EAFYK 'WCAT1F1X' Anyone knows what this means? Bad disk? cheers, --rodolfo
Re: Dell R310 - H200 Raid performance problem
On Thu, Feb 10, 2011 at 09:49:43PM -0500, Nick Holland wrote: Also, check to see if your RAID card has a battery for its cache, if it doesn't, a lot of RAID controllers drop to non-cached writes, and often seem to slow down way beyond what you'd expect just to make you buy the dang battery :). I believe most of the current crop of Dell RAID controllers have an option buried in the RAID setup screens to cache writes even without a battery. Don't blame me (or Dell, or anyone else) if you trip over the power cord and blow away your array. I second this too. Check if you have that write cache enabled. cheers, --rodolfo
Re: softraid metadata change 4.7 - 4.8
On 01/06/2011 05:43 PM, Nick Holland wrote: [snip] What new feature are you after? Does that feature apply to crypto softraid? There's the answer. :) None actually. :-) I was just being cautious not run in problems with an old softraid volume and newer systems but the upgrade guide clearly states that at least for this release, 4.8, backwards compatibility was achieved. Thanks Joachim and Nick. Cheers, --rodolfo
Re: softraid metadata change 4.7 - 4.8
On 01/04/2011 08:02 PM, Joachim Schipper wrote: On Tue, Jan 04, 2011 at 02:34:08PM +, Rodolfo Gouveia wrote: I have a machine with 4.7 softraid CRYPTO. On the upgrade48.html it's recommended to rebuild the softraid volume I believe rebuild means dump and restore here. Hmm ... you mean on a softraid CRYPTO only or would this apply to a softraid volume with RAID 1? Thanks. --rodolfo
softraid metadata change 4.7 - 4.8
I have a machine with 4.7 softraid CRYPTO. On the upgrade48.html it's recommended to rebuild the softraid volume to use some of the upcoming features. Thing is I can't rebuild a CRYPTO softraid volume. # bioctl -v softraid0 Volume Status Size Device softraid0 0 Online 5371066880 sd2 CRYPTO 0 Online 5371066880 0:0.0 noencl sd1h 'unknown serial' # bioctl -v -R /dev/sd1h sd2 bioctl: BIOCSETSTATE: Invalid argument # dmesg | tail -n1 softraid0: discipline does not support rebuild Will this pose a problem in the future? Cheers, --rodolfo
Dell R410 mpii: xfer timeout and sd0 errors
Hi all! I'm having these errors with mpii0: mpii0: xfer timeout, ccb 4 state 2 mpii0: xfer timeout, ccb 5 state 2 mpii0: xfer timeout, ccb 43 state 2 mpii0: xfer timeout, ccb 51 state 2 mpii0: xfer timeout, ccb 24 state 2 ... mpii0: xfer timeout, ccb 104 state 2 And also: /bsd: sd0(mpii0:1:0): Check Condition (error 0x70) on opcode 0x28 /bsd: SENSE KEY: Media Error /bsd: INFO: 0xc664e20 (VALID flag on) /bsd: ASC/ASCQ: Unrecovered Read Error /bsd: sd0(mpii0:1:0): Check Condition (error 0x70) on opcode 0x28 This is on a Dell PowerEdge R410 with two disks as RAID 1 on mpii(4). The machine normally just lockups under some IO load due to a PostgreSQL server. As this is on the datacenter I would like to know if this could be triggered by something else than hardware before going there locally. This is on 4.7 -release AMD64. Any feedback is appreciated, --rodolfo OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3478622208 (3317MB) avail mem = 3379052544 (3222MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xcf79c000 (77 entries) bios0: vendor Dell Inc. version 1.3.9 date 04/07/2010 bios0: Dell Inc. PowerEdge R410 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC SPCR HPET DM__ MCFG WDAT SLIC ERST HEST BERT EINJ SRAT TCPA SSDT acpi0: wakeup devices PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 16 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5502 @ 1.87GHz, 1862.26 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 20 (application processor) cpu1: Intel(R) Xeon(R) CPU E5502 @ 1.87GHz, 1862.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 1 pa 0xfec8, version 20, 24 pins ioapic1: misconfigured as apic 0, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEX1) acpiprt2 at acpi0: bus 2 (PEX3) acpiprt3 at acpi0: bus 3 (PEX7) acpiprt4 at acpi0: bus -1 (PEX9) acpiprt5 at acpi0: bus -1 (PEXA) acpiprt6 at acpi0: bus -1 (SBEX) acpiprt7 at acpi0: bus 4 (COMP) acpicpu0 at acpi0: C3, C1 acpicpu1 at acpi0: C3, C1 ipmi at mainbus0 not configured cpu0: unknown i686 model 0x1a, can't get bus clock cpu0: EST: PSS not yet available for this processor pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 5500 Host rev 0x13 ppb0 at pci0 dev 1 function 0 Intel X58 PCIE rev 0x13 pci1 at ppb0 bus 1 bnx0 at pci1 dev 0 function 0 Broadcom BCM5716 rev 0x20: apic 1 int 4 (irq 15) bnx1 at pci1 dev 0 function 1 Broadcom BCM5716 rev 0x20: apic 1 int 16 (irq 14) ppb1 at pci0 dev 3 function 0 Intel X58 PCIE rev 0x13 pci2 at ppb1 bus 2 ppb2 at pci0 dev 7 function 0 Intel X58 PCIE rev 0x13: apic 1 int 21 (irq 0) pci3 at ppb2 bus 3 mpii0 at pci3 dev 0 function 0 Symbios Logic SAS2008 rev 0x02: apic 1 int 6 (irq 15) scsibus0 at mpii0: 42 targets sd0 at scsibus0 targ 1 lun 0: Dell, Virtual Disk, 1028 SCSI4 0/direct fixed sd0: 237824MB, 512 bytes/sec, 487063552 sec total mpii0: unable to create sensors Intel X58 Misc rev 0x13 at pci0 dev 20 function 0 not configured Intel X58 GPIO rev 0x13 at pci0 dev 20 function 1 not configured Intel X58 RAS rev 0x13 at pci0 dev 20 function 2 not configured uhci0 at pci0 dev 26 function 0 Intel 82801JI USB rev 0x00: apic 0 int 17 (irq 14) uhci1 at pci0 dev 26 function 1 Intel 82801JI USB rev 0x00: apic 0 int 18 (irq 11) ehci0 at pci0 dev 26 function 7 Intel 82801JI USB rev 0x00: apic 0 int 19 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 uhci2 at pci0 dev 29 function 0 Intel 82801JI USB rev 0x00: apic 0 int 21 (irq 6) uhci3 at pci0 dev 29 function 1 Intel 82801JI USB rev 0x00: apic 0 int 20 (irq 5) uhci4 at pci0 dev 29 function 2 Intel 82801JI USB rev 0x00: apic 0 int 21 (irq 6) uhci5 at pci0 dev 29 function 3 Intel 82801JI USB rev 0x00: apic 0 int 20 (irq 5) ehci1 at pci0 dev 29 function 7 Intel 82801JI USB rev 0x00: apic 0 int 21 (irq 6) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x90 pci4 at ppb3 bus 4 vga1 at pci4 dev 3 function 0 Matrox MGA G200eW rev 0x0a wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 31 function 0 Intel 82801JIR LPC rev 0x00 pciide0 at pci0 dev 31 function 2 Intel 82801JI SATA rev 0x00: DMA, channel 0
mounting a disk from macppc on i386
Hi all. Say I have a macppc machine and it dies. Could I mount the disk on an i386 one to salvage the information? With a ffs filesystem of course. Thanks. --rodolfo
suspend broken on T22 (APM) with latest snaps
Hi! The last snaps that I've tested have somehow broken my suspend ability on my thinkpad t22 which uses apm. I issue a normal zzz and if I'm in X it switches to ttyc0 but never goes to sleep. Also happens outside X and with 'apm -S'. The screen just stays with ttyc0 with the normal login but doesn't respond to any keypresses or responds to any ping from another system. Effectively it halts. Any help in debugging this furthermore is appreciated. happy hacking, --rodolfo OpenBSD 4.8-current (GENERIC) #143: Wed Aug 25 19:10:59 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 698 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE real mem = 267874304 (255MB) avail mem = 253534208 (241MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 05/16/01, BIOS32 rev. 0 @ 0xfd820, SMBIOS rev. 2.3 @ 0xfff (46 entries) bios0: vendor IBM version 16ET22WW (1.02 ) date 05/16/2001 bios0: IBM 26478EG apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd7b0/0x850 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdee0/208 (11 entries) pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xc000 0xcc000/0x1800 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xf800, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 S3 Savage/IX-MV rev 0x13 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 2 function 0 TI PCI1450 CardBus rev 0x03: irq 11 cbb1 at pci0 dev 2 function 1 TI PCI1450 CardBus rev 0x03: irq 11 fxp0 at pci0 dev 3 function 0 Intel 8255x rev 0x0c, i82550: irq 11, address 00:03:47:7b:ac:a8 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 ATT/Lucent LTMODEM rev 0x01 at pci0 dev 3 function 1 not configured clcs0 at pci0 dev 5 function 0 Cirrus Logic CS4280/46xx CrystalClear rev 0x01: irq 11 ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02: unable to claim ownership from BIOS, SpeedStep disabled pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2040AT wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HITACHI, DVD-ROM GD-S200, 0034 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 11 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x03: SMI iic0 at piixpm0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 biomask efed netmask efed ttymask mtrr: Pentium Pro MTRR support ral0 at cardbus1 dev 0 function 0 Ralink RT2561 rev 0x00: irq 11, address 00:08:a1:a0:b7:78 ral0: MAC/BBP RT2661B, RF RT2527 softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted clcs0: firmware loaded audio0 at clcs0
HP DL120 G6 with OpenBSD?
Hi! Has anyone ran OpenBSD on an HP Proliant DL120 G6? It comes with an Embedded HP NC107i which seems to be a bge(4) based on BCM5784, according to a report in FreeBSD [1]. In OpenBSD this is already supported by bge(4). Apart from that I can't see any problems with this machine but would like to hear feedback. (full dmesg from that report inline) Thanks. --rodolfo [1]http://lists.freebsd.org/pipermail/freebsd-net/2010-January/024265.html Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #0: Thu Jan 14 20:12:47 CET 2010 root at db3.xxx.xx:/usr/obj/usr/src/sys/GENERIC amd64 WARNING: WITNESS option enabled, expect reduced performance. Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz (2394.00-MHz K8-class CPU) Origin = GenuineIntel Id = 0x106e5 Stepping = 5 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x98e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT AMD Features=0x28100800SYSCALL,NX,RDTSCP,LM AMD Features2=0x1LAHF TSC: P-state invariant real memory = 17179869184 (16384 MB) avail memory = 16533999616 (15768 MB) ACPI APIC Table: HP ProLiant FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 6 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: HP ProLiant on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0 Timecounter HPET frequency 14318180 Hz quality 900 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge irq 16 at device 3.0 on pci0 pci1: ACPI PCI bus on pcib1 pci0: base peripheral at device 8.0 (no driver attached) pci0: base peripheral at device 8.1 (no driver attached) pci0: base peripheral at device 8.2 (no driver attached) pci0: base peripheral at device 8.3 (no driver attached) pci0: base peripheral at device 16.0 (no driver attached) pci0: base peripheral at device 16.1 (no driver attached) ehci0: Intel PCH USB 2.0 controller USB-B mem 0xdfd02000-0xdfd023ff irq 16 at device 26.0 on pci0 ehci0: [ITHREAD] usbus0: EHCI version 1.0 usbus0: Intel PCH USB 2.0 controller USB-B on ehci0 pcib2: ACPI PCI-PCI bridge irq 17 at device 28.0 on pci0 pci16: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge irq 17 at device 28.4 on pci0 pci32: ACPI PCI bus on pcib3 bge0: HP NC107i PCIe Gigabit Server Adapter, ASIC rev. 0x5784100 mem 0xdf90-0xdf90 irq 16 at device 0.0 on pci32 miibus0: MII bus on bge0 brgphy0: BCM5784 10/100/1000baseTX PHY PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: f4:ce:46:0f:2a:2c bge0: [FILTER] pcib4: ACPI PCI-PCI bridge irq 16 at device 28.5 on pci0 pci34: ACPI PCI bus on pcib4 bge1: HP NC107i PCIe Gigabit Server Adapter, ASIC rev. 0x5784100 mem 0xdfa0-0xdfa0 irq 17 at device 0.0 on pci34 miibus1: MII bus on bge1 brgphy1: BCM5784 10/100/1000baseTX PHY PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge1: Ethernet address: f4:ce:46:0f:2a:2d bge1: [FILTER] pcib5: ACPI PCI-PCI bridge irq 18 at device 28.6 on pci0 pci36: ACPI PCI bus on pcib5 vgapci0: VGA-compatible display mem 0xde00-0xdeff,0xdf80-0xdf803fff,0xdf00-0xdf7f irq 18 at device 0.0 on pci36 pcib6: ACPI PCI-PCI bridge irq 19 at device 28.7 on pci0 pci38: ACPI PCI bus on pcib6 ehci1: Intel PCH USB 2.0 controller USB-A mem 0xdfd02400-0xdfd027ff irq 23 at device 29.0 on pci0 ehci1: [ITHREAD] usbus1: EHCI version 1.0 usbus1: Intel PCH USB 2.0 controller USB-A on ehci1 pcib7: PCI-PCI bridge at device 30.0 on pci0 pci48: PCI bus on pcib7 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel AHCI controller port 0x1830-0x1837,0x1824-0x1827,0x1828-0x182f,0x1820-0x1823,0x1800-0x181f mem 0xdfd01000-0xdfd017ff irq 18 at device 31.2 on pci0 atapci0: [ITHREAD] atapci0: AHCI v1.30 controller with 6 3Gbps ports, PM supported ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 ata3: [ITHREAD] ata4: ATA channel 2 on atapci0 ata4: [ITHREAD] ata5: ATA channel 3 on atapci0 ata5: [ITHREAD] pci0: serial bus, SMBus at device 31.3 (no driver attached) acpi_button0: Power Button on acpi0 atrtc0: AT realtime clock port 0x70-0x71 on acpi0 uart0: 16550 or compatible port
cp -r different than cp -R ?
It seems the 'r' flag isn't mentioned on the man page. I glanced at the code and it seems to do something very similar to 'R'. I also noticed that you cannot use both flags together. In FreeBSD and NetBSD this code exists too and again it isn't mentioned on the man page. Any special reason for it?
Re: Low power OpenBSD machine
On Thu, Apr 16, 2009 at 12:10:19PM -0300, Nenhum_de_Nos wrote: I have a t5xxx also and want to do the same, but if I use usb flash (tried and worked fine), how to limit at max disk writes ? so the flash can live longer ... From section 14.17.2 of the FAQ: Write fatigue: Much has been written about the finite number of times an individual flash cell can be rewritten before failure. Practically speaking, however, there are many ways a flash device can fail, write fatigue is just one of them. Modern flash devices will verify writes, and in the event of failure, will automatically remap the failed sectors with one of the many spare sectors. Most users with most flash devices will not have to worry about write fatigue. You would probably experience more down time due to failure of clever tricks done to avoid writing to the flash drive than you will by just using the drives as read-write media.
Re: -stable 4.4 - a bunch of config problems
On Tue, Apr 14, 2009 at 11:21:06AM +0200, soko.tica wrote: Remapping by wscons, I guess, won't work ( I haven't tried it), since it would probably lead me into various problems that I wouldn't be able to solve, for instance, in creating .pdf from .odt. Besides, I need those keyboard layouts only in desktop and don't want them elsewhere. Take a look at setxkbmap. If there is a way to do it that you can tell me, I'd be very grateful. I don't mind for desktop background, at present I can't disable it in GNOME for I get the following: === Unable to start the settings manager 'gnome-settings-daemon'. Without the GNOME settings manager running, some preferences may not take effect. This could indicate a problem with Bonobo, or a non-GNOME (e.g. KDE) settings manager may already be active and conflicting with the GNOME settings manager. === Is it installed (ports/x11/gnome/settings-daemon) ? There is no .xinitrc in my /home. How can I create it? This is explained in the FAQ: http://www.openbsd.org/faq/faq11.html#StartingX
Re: Can I disable AAAA queries in the resolver?
Above we see 10 seconds delay but with Firefox it takes __hours__ to do something useful. Is there any posibility to disable those `' queries via resolv.conf(5) or $RES_OPTIONS variable? If that's the main problem, disable ipv6 support on firefox: in the address bar enter about:config and change network.dns.disableipv6 to true.