Re: 5.4-beta#20 xterm(1)/luit(1) in cwm, CM-Return random defunc
On Jul 09 13:31:30, mcmer-open...@tor.at wrote: hello folks, when 1) running cwm(1) with having 2) ``XTerm*locale:ISO8859-1'' in ~/.Xresources 3) hitting CM-Return starts xterm(1) after differing amounts of retries (between 1 and 9 up to now). If I disable ``XTerm*locale:ISO8859-1'' in ~/.Xresources the symptoms are gone. http://marc.info/?l=openbsd-miscm=137287894132390w=2 This exact problem was reported last week, naddy@ is looking into it. Bye, Marcus OpenBSD 5.4-beta (GENERIC.MP) #20: Sun Jul 7 17:36:04 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3194331136 (3046MB) avail mem = 3101630464 (2957MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf68e0 (62 entries) bios0: vendor Dell Inc. version A18 date 12/06/2011 bios0: Dell Inc. Latitude D630 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S4) RP03(S3) RP04(S3) RP05(S3) RP06(S5) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.36 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 2MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz, 1995.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,NXE,LONG,LAHF,PERF cpu1: 2MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 9 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature is 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL KP4331 serial 278 type LION oem SMP acpibat1 at acpi0: BAT1 not present acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivideo1 at acpi0: VID_ acpivideo2 at acpi0: VID2 cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 intel_overlay_map_regs partial stub inteldrm0: 1440x900 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 2 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x02: msi azalia0: codecs: Sigmatel STAC9205X audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: msi pci1 at ppb0 bus 11 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: msi pci2 at ppb1 bus 12 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, address 00:1f:3c:cc:e5:3c ppb2 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x02: msi pci3 at ppb2 bus 9 bge0 at pci3 dev 0 function 0 Broadcom BCM5755M rev 0x02, BCM5755 A2 (0xa002): apic 2 int 17, address 00:21:70:d9:e5:ab brgphy0 at bge0 phy 1: BCM5755 10/100/1000baseT PHY, rev. 0 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x02: apic 2 int 22 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: apic 2 int 20 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf2
Re: 5.4-beta#20 xterm(1)/luit(1) in cwm, CM-Return random defunc
On Jul 09 14:11:01, na...@mips.inka.de wrote: Jan Stary h...@stare.cz wrote: 1) running cwm(1) with having 2) ``XTerm*locale:ISO8859-1'' in ~/.Xresources 3) hitting CM-Return starts xterm(1) after differing amounts of retries (between 1 and 9 up to now). http://marc.info/?l=openbsd-miscm=137287894132390w=2 This exact problem was reported last week, Can you guys try to ktrace such a failed execution? Maybe put something like bind CM-Return ktrace -i xterm into ~/.cwmrc and retry until it fails? I did, it failed on the first try, and the kdump says: 32003 ktrace EMUL native 32003 ktrace RET ktrace 0 32003 ktrace CALL execve(0x7f7c7630,0x7f7c7bb8,0x7f7c7bc8) 32003 ktrace NAMI /home/hans/bin/xterm 32003 ktrace RET execve -1 errno 2 No such file or directory 32003 ktrace CALL execve(0x7f7c7630,0x7f7c7bb8,0x7f7c7bc8) 32003 ktrace NAMI /usr/bin/xterm 32003 ktrace RET execve -1 errno 2 No such file or directory 32003 ktrace CALL execve(0x7f7c7630,0x7f7c7bb8,0x7f7c7bc8) 32003 ktrace NAMI /bin/xterm 32003 ktrace RET execve -1 errno 2 No such file or directory 32003 ktrace CALL execve(0x7f7c7630,0x7f7c7bb8,0x7f7c7bc8) 32003 ktrace NAMI /usr/sbin/xterm 32003 ktrace RET execve -1 errno 2 No such file or directory 32003 ktrace CALL execve(0x7f7c7630,0x7f7c7bb8,0x7f7c7bc8) 32003 ktrace NAMI /sbin/xterm 32003 ktrace RET execve -1 errno 2 No such file or directory 32003 ktrace CALL execve(0x7f7c7630,0x7f7c7bb8,0x7f7c7bc8) 32003 ktrace NAMI /usr/X11R6/bin/xterm So the last thing in the kdump is the sucessfull call to the (eventually) found 'xterm'. Why is that? Here is the situation: |-+= 27788 hans -ksh (ksh) | \-+= 23950 hans /bin/sh /usr/X11R6/bin/startx | \-+- 14054 hans xinit /home/hans/.xinitrc -- /home/hans/.xserverrc :0 -auth /home/hans/.serverauth.23950 | |-+= 02769 hans Xorg -nolisten tcp | | \--- 06254 root Xorg: [priv] (Xorg) | \-+= 14366 hans sh /home/hans/.xinitrc | \-+- 24462 hans cwm | \-+= 32003 hans xterm | \--= 22601 hans (luit) PID TT STAT TIME COMMAND 22601 p1- Z 0:00.00 (luit) So xterm (32003) started, tried to call luit, which died, and is now a zombie (22601). Why doesn't the kdump continue with the (failed) luit child, or at least the attempt to call it? Yes, I do have the '-i' in the 'ktrace -i' call. This is also the case when it finally launches OK with a properly running luit. By the time they are up, the ktrace.out file is no longer open by anything (says fstat). Jan
Re: X or cwm got slower
On Jul 06 11:06:54, chrisbenn...@bennettconstruction.us wrote: vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 rev 0x00 Xorg.0.log: [ 128.407] (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.so [ 128.453] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so [ 223.223] (==) RADEON(0): Using EXA acceleration architecture [ 223.228] (II) Unloading vesa [ 225.094] (II) EXA(0): Driver registered support for the following operations: [ 225.094] (II) Solid [ 225.094] (II) Copy [ 225.094] (II) Composite (RENDER acceleration) [ 225.094] (II) UploadToScreen [ 225.095] (II) RADEON(0): Acceleration enabled In my case, it was due to XAA accelleration being dropped from the intel driver. You have Radeon, which uses the EXA accelleration - I am not sure about the status of EXA. The slowness disappeared when I switched to using vesa, try it. AcePerl-1.92p0-opt BitTorrent-4.4.0p11 ... I don't think your packages have anythong to do with it.
man(7) leftovers
The base manpages have been rewritten from man(7) to mdoc(7) some time ago, but it seems this has been left in scan_ffs(8): Index: scan_ffs.8 === RCS file: /cvs/src/sbin/scan_ffs/scan_ffs.8,v retrieving revision 1.16 diff -u -p -u -p -r1.16 scan_ffs.8 --- scan_ffs.8 23 Mar 2008 23:28:46 - 1.16 +++ scan_ffs.8 4 Jul 2013 09:54:27 - @@ -23,7 +23,6 @@ .\ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\ -.\ .TH scan_ffs 8 .Dd $Mdocdate: March 23 2008 $ .Dt SCAN_FFS 8 .Os Also, usr/src/usr.bin/tic/tic.1 and usr/src/usr.bin/tic/infotocap.1 seem to be in man(7) - are these maintained in curses, out of our tree, or should these be rewritten to mdoc(7) too? Jan
Re: Poor NFS performance
On May 10 19:22:08, brett.ma...@gmx.com wrote: On 05/10/13 14:04, Sebastian Neuper wrote: When I look at `top`, the CPU stays below 10% most of the time. The network is 1Gbit/s both sides and switch. So I think I could get a better performance than 20MB/s while coping files to and around 4MB/s when coping from that server. But where is the bottleneck? Not sure if it will help in your case but in the past when I used NFS, setting vfs.nfs.iothreads=20 in /etc/sysctl.conf (the default is 4) resulted in more stable performance. The same has made my 5.2-current panic a few months ago.
Re: Poor NFS performance
On May 09 16:03:30, pha...@gmx.de wrote: Hi again. Long time ago, I asked about [1] hardware recommendations to build a home file / video server, which streams HD videos for Avid. Quite late, but thanks for your responses. I bought a raid-controller and an em-network card and recycled a really old pc, installed OpenBSD 5.3 Current on a 2TB HDD ( My first one and Nick knows that disk [2] ) and made a Softraid RAID 1 with 2x2.5' 1TB Drives. Then I upgraded Windows 7 to Ultimate to get the build-in NFS Client. Started nfsd, statd, lockd etc. Good news: It works. But only in SD. On HD it hangs every 10 sec for a few. And I don't think, this is so, because I play Kate Ryan LoveLife music video to test it. ;) When I look at `top`, the CPU stays below 10% most of the time. The network is 1Gbit/s both sides and switch. So I think I could get a better performance than 20MB/s while coping files to and around 4MB/s when coping from that server. But where is the bottleneck? I uploaded the output of these commands: dmesg netstat -m nfsstat nfsstat -c ps ax systat ifstat systat nfsserver systat vm top vmstat and a screenshot of Windows netdrive options on http://www.sqrt2.de/log . If you need more, just mail. How is the filesystem mounted on the OpenBSD NFS server, how is it exported, and how is it mounted on the Win client?
Re: man(7) leftovers
On Jul 08 07:50:22, j...@kerhand.co.uk wrote: On Mon, Jul 08, 2013 at 08:30:43AM +0200, Jan Stary wrote: The base manpages have been rewritten from man(7) to mdoc(7) some time ago, but it seems this has been left in scan_ffs(8): Index: scan_ffs.8 === RCS file: /cvs/src/sbin/scan_ffs/scan_ffs.8,v retrieving revision 1.16 diff -u -p -u -p -r1.16 scan_ffs.8 --- scan_ffs.8 23 Mar 2008 23:28:46 - 1.16 +++ scan_ffs.8 4 Jul 2013 09:54:27 - @@ -23,7 +23,6 @@ .\ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\ -.\ .TH scan_ffs 8 .Dd $Mdocdate: March 23 2008 $ .Dt SCAN_FFS 8 .Os Also, usr/src/usr.bin/tic/tic.1 and usr/src/usr.bin/tic/infotocap.1 seem to be in man(7) - are these maintained in curses, out of our tree, or should these be rewritten to mdoc(7) too? Jan the tic and infotocap pages are from curses, yes. if you were feeling energetic, you could convert all the curses stuff and try and convince the curses folk to switch i guess. Yeah, converting the big amounts of outside documentation is exactly what Ingo advised me not to do, until I really know what I am talking about. I am a newcomer to mandoc and was looking for something small to train on; this is just what grepping for .TH gave. So I guess in base, the conversion is just fully done already, not counting outside stuff like curses and lynx etc.
Re: X or cwm got slower
On Jul 08 10:19:18, chrisbenn...@bennettconstruction.us wrote: On Mon, Jul 08, 2013 at 07:59:10AM +0200, Jan Stary wrote: On Jul 06 11:06:54, chrisbenn...@bennettconstruction.us wrote: vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 rev 0x00 Xorg.0.log: [ 128.407] (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.so [ 128.453] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so [ 223.223] (==) RADEON(0): Using EXA acceleration architecture [ 223.228] (II) Unloading vesa [ 225.094] (II) EXA(0): Driver registered support for the following operations: [ 225.094] (II) Solid [ 225.094] (II) Copy [ 225.094] (II) Composite (RENDER acceleration) [ 225.094] (II) UploadToScreen [ 225.095] (II) RADEON(0): Acceleration enabled In my case, it was due to XAA accelleration being dropped from the intel driver. You have Radeon, which uses the EXA accelleration - I am not sure about the status of EXA. The slowness disappeared when I switched to using vesa, try it. AcePerl-1.92p0-opt BitTorrent-4.4.0p11 ... I don't think your packages have anythong to do with it. Hmm. I did this to xorg.conf that Xorg -configure produced: Option RenderAccelOff Option NoAccelOff This fixed the strange lines but did not fix the slowness at all. What do I need to add to force vesa? Basically, Driver vesa where you have Driver radeon but read xorg.conf(5) first.
luit and crashing xterm
In my ~/.Xresources, I specify XTerm*locale:ISO8859-2 to get my xterm to display the chars of the Czech language, and in my ~/.xinitrc, I toggle -layout us,cz via setxkbmap to be able to type the Czech chars. (See full ~/.Xresources and ~/.xinitrc at bottom.) My problem is that _sometimes_ I cannot even start those xterms. Occasionaly, upon launching a new xterm with ctrl-alt-enter (I use cwm), the xterm window appears for a moment and disappears immediately. Sometimes, after a few such tries, the xterm window appears to stay and the xterm works just fine. Sometimes, luit(1) zombie are left after the previous failed xterms; sometimes not. This is how it looks after a succesfully started xterm: | \-+- 27420 hans xinit /home/hans/.xinitrc -- /home/hans/.xserverrc :0 -auth /home/hans/.serverauth.3252 | |-+= 24140 hans Xorg -nolisten tcp | | \--- 01784 root Xorg: [priv] (Xorg) | \-+= 30481 hans sh /home/hans/.xinitrc | \-+- 02515 hans cwm | \-+= 12316 hans xterm | \-+= 01852 hans /usr/X11R6/bin/luit -encoding ISO8859-2 -argv0 -ksh | \-+= 01607 hans -ksh (ksh) | \-+= 24783 hans tmux: client (/tmp/tmux-1000/default) (tmux) | \--- 30479 hans (tmux) I understand that the support for the XTerm*locale: ISO8859-2 setting is achieved by using luit(1). If I comment the locale setting out (and so don't launch luit and lose the locale support), these problems disappear. This leads me to suspect luit, or the way xterm calls luit. Am I missing something? Is there something specific I could test? Also, is this actually the way to get xterm support for my locale? How do people with languages out of ascii do this? Jan $ cat .xinitrc #!/bin/sh xset -b -c dpms 300 600 900 m 2 0 r rate 400 30 s blank s 120 60 xsetroot -solid black xrdb ~/.Xresources setxkbmap -layout us,cz -option grp:shifts_toggle,grp_led:scroll xmodmap ~/.xmodmaprc cwm $ cat .Xresources XTerm*termName: xterm-color XTerm*message: true XTerm*cutNewline: true XTerm*cutToBeginningOfLine: true ! these should not break a word XTerm*charClass:37:48,45-47:48,58:48,64:48,126:48 XTerm*toolBar: false !XTerm.keyboardType:vt220 XTerm*backarrowKeyIsErase: false !XTer*deleteIsDEL: true !XTerm.ptyInitialErase: true !XTerm.ttyModes: TODO XTerm*background: black XTerm*foreground: white XTerm*activeIcon: false XTerm*autowrap: true XTerm*colorMode:true XTerm*cursorBlink: true XTerm*backarrowKey: true XTerm*dynamicColors:false XTerm*loginShell: true XTerm*reverseWrap: true XTerm*scrollBar:false !XTerm*scrollKey: true !XTerm*scrollLines: 1024 !XTerm*scrollTtyOutput: false XTerm*saveLines:1024 XTerm*selectToClipboard:true !XTerm*translations:TODO XTerm*visualBell: true XTerm*pointerMode: 1 XTerm*eightBitInput:true !XTerm*font: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-2 XTerm*locale: ISO8859-2
syslog.conf tabs vs spaces
Laughably, I got bitten again: The selector field is separated from the action field by one or more tab characters. A tab is a tab, not a few spaces. Again, I copied a syslog.conf line from another xterm after an upgrade and spent half an hour wondering why my logfile stays empty. This is entirely user error, but anyway: is it on purpose that we require the separators to be tabs, not spaces? I understand this is what the original syslog had. Would there be any opposition to also allowing spaces? The '\t' seems to be hardcoded into usr.sbin/syslogd.c but it seems easy enough to extend it to allow ' ' as well. If we stay with tabs only, should the manpage emphasize not spaces? Also, making the mistake I made results in the line just being ignored; the log file is never written to. Should the starting syslogd complain about lines with space but not tabs?
Re: X or cwm got slower
On Jun 29 11:12:50, mhe...@gmail.com wrote: On Tue, Jun 25, 2013 at 10:45:08AM -0700, Philip Guenther wrote: On Tue, Jun 25, 2013 at 10:24 AM, Callum Davies calrog...@gmail.com wrote: I'm also not an X hacker but nv should use EXA since ~2007? should? No, not if you believe nv(4). Can? It would seem so. Does by default, or at least if XAA isn't available? Doesn't seem so. Setting Option AccelMethod EXA might improve performance. Or it might crash and burn, given that it hasn't been the default and is therefore probably undertested. AFAICT, EXA is only implemented for G80 chipsets in the nv driver. Older cards have lost acceleration since the removing of XAA in X server 1.4 which was imported into Xenocara on june 7. Thank you for the insight. Indeed, after beginning of June is about when I started noticing the slowness. As was already mentioned, just another reason to get rid of nvidia. Jan
Re: X or cwm got slower
On Jun 24 20:09:05, amitk...@gmail.com wrote: On Mon, Jun 24, 2013 at 4:17 PM, Jan Stary h...@stare.cz wrote: On Jun 24 08:56:09, guent...@gmail.com wrote: Lots has changed in the last year. Without knowing what before time you're comparing against, your real question can't be answered. Before means about three weeks ago. Sorry for nto being specific. Meanwhile, a comparison of dmesg and Xorg.0.log before and after may give hints. (What, not everyone keeps a history of those across upgrades?) I do for dmesg, and I will for Xorg.log Below are the two dmesgs: before and now I also did a Xorg -configure and tweaked the generated xorg.conf (see at bottom) to use the vesa driver instead of nv. This makes the graphic output noticeably faster -- but I have to give up 1680x1050 and only use 1024x768. See also the full Xorg.log with zero configuration and with this xorg.conf at the bottom. I experienced this due to a intel drm hang once... I saw the X messages just before shutting down and I forgot to grab the X.org.log :) Noticing the recent inteldrm debate, I looked for that, but my graphic device is an NVIDIA. 1:0:0: NVIDIA unknown 0x: Vendor ID: 10de Product ID: 0429 0x0004: Command: 0107 Status: 0010 0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: a1 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR mem 32bit addr: 0xd600/0x0100 0x0014: BAR mem prefetchable 64bit addr: 0xe000/0x1000 0x001c: BAR mem 64bit addr: 0xd400/0x0200 0x0024: BAR io addr: 0x2000/0x0080 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 17aa Product ID: 20d8 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00 0x0060: Capability 0x01: Power Management 0x0068: Capability 0x05: Message Signaled Interrupts (MSI) 0x0078: Capability 0x10: PCI Express Link Speed: 2.5 / 2.5 GT/s Link Width: x16 / x16
Re: X or cwm got slower
On Jun 25 00:58:41, guent...@gmail.com wrote: On Tue, Jun 25, 2013 at 12:35 AM, Jan Stary h...@stare.cz wrote: Noticing the recent inteldrm debate, I looked for that, but my graphic device is an NVIDIA. I'm no X hacker, but I think the 'nv' driver was affected by Xorg removing the XAA acceleration framework from the core server. It was an evolutionary dead-end, apparently, so don't expect X-server-side acceleration to be coming back like that; client side, direct rendering is the path forward. Thanks for the insight. Rereading the Xorg log carefully, I pay attention now to this: [ 154.482] (II) Loading sub module xaa [ 154.482] (II) LoadModule: xaa [ 154.485] (II) Loading /usr/X11R6/lib/modules/libxaa.so [ 154.500] (II) Module xaa: vendor=X.Org Foundation [ 154.500]compiled for 1.12.3, module version = 1.2.1 [ 154.500]ABI class: X.Org Video Driver, version 12.0 [ 154.501] (EE) module ABI major version (12) doesn't match the server's versi on (14) [ 154.501] (II) UnloadModule: xaa [ 154.501] (II) Unloading xaa [ 154.501] (EE) NV: Failed to load module xaa (module requirement mismatch, 0) Could someone who knows please shed some light on when exactly this acceleration was dropped? It wasn't _this_ slow a few weeks ago. The reasons for *not* buying NVIDIA have gotten even stronger. This laptop was a gift, I swear :-)
Re: X or cwm got slower
On Jun 25 10:45:08, guent...@gmail.com wrote: On Tue, Jun 25, 2013 at 10:24 AM, Callum Davies calrog...@gmail.com wrote: I'm also not an X hacker but nv should use EXA since ~2007? should? No, not if you believe nv(4). Can? It would seem so. Does by default, or at least if XAA isn't available? Doesn't seem so. Setting Option AccelMethod EXA might improve performance. Or it might crash and burn, given that it hasn't been the default and is therefore probably undertested. With this option, the horribly slow redrawings of a moved window are gone, but it is still very slugish; opening (any) new window takes forever, then a grey rectangle appears for a moment, then finaly the content appears. Overall, vesa is much more usable than nv with this. (Thanks for the hint anyway.) I'll juts get rid of this.
X or cwm got slower
With recent snapshots (i386), the overal X/cwm response seems to bee much slower than before. Has something fundamental changed in X or cwm? For example, moving a browser window a notch with Alt-L, I can see the individual lines of text being redrawn in a slow-motion movie ... Jan OpenBSD 5.3-current (GENERIC.MP) #8: Thu Jun 20 09:51:38 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 686-class) 2.20 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 real mem = 1071894528 (1022MB) avail mem = 1042903040 (994MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/07, BIOS32 rev. 0 @ 0xfdc70, SMBIOS rev. 2.4 @ 0xe0010 (71 entries) bios0: vendor LENOVO version 7KET72WW (1.22 ) date 08/27/2007 bios0: LENOVO 8918B8G 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) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) [...] 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 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 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 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 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 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 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T5233 serial 4893 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/0xf000 0xcf000/0x1000 0xd/0x1000 0xe/0x1! cpu0: Enhanced SpeedStep 1996 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c ppb0 at pci0 dev 1 function 0 Intel GM965 PCIE rev 0x0c: apic 1 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0429 rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) em0 at pci0 dev 25 function 0 Intel ICH8 IGP M rev 0x03: msi, address 00:1a:6b:d4:5f:22 uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: msi azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices AD1984 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 1 int 20 pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 21 pci3 at ppb2 bus 3 iwn0 at pci3 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61: msi, MIMO 2T3R, MoW2, address 00:13:e8:d2:4e:9b ppb3 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: apic 1 int 22 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x03: apic 1 int 23 pci5 at ppb4 bus 5 ppb5 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: apic 1 int 20 pci6 at ppb5 bus 13 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 16 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 17 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 1 int 18 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 int 19 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb6 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3 pci7 at ppb6 bus 21 cbb0 at pci7 dev 0 function 0 Ricoh 5C476 CardBus rev 0xba: apic 1 int 16 Ricoh 5C832 Firewire rev 0x04 at pci7
Re: X or cwm got slower
On Jun 24 12:48:56, h...@stare.cz wrote: With recent snapshots (i386), the overal X/cwm response seems to bee much slower than before. Has something fundamental changed in X or cwm? For example, moving a browser window a notch with Alt-L, I can see the individual lines of text being redrawn in a slow-motion movie ... On Jun 24 14:12:22, zel...@zeloff.org wrote: Did you by any chance have the system go to sleep somewhere along the way? I get the same behaviour on my laptop (Lenovo x201 with inteldrm, not nvidia though). If the system goes to sleep, it comes back with no X hardware acceleration (and some usb ports don't come back either). At the time I was reporting it, it was indeed after a resume. However, I am seeing the same even on a fresh boot. On Jun 24 11:53:36, o...@demirmen.com wrote: I think we'll need some more details here. There's the potential it's X, cwm or some port (ie browser) - can we narrow this down a bit? It is happening with every window of every application (not that I use that many): a browser window (firefox or xombrero), an xterm running (or not running) a tmux session. What would be a good way of capturing a video of my screen? On Jun 24 08:56:09, guent...@gmail.com wrote: Lots has changed in the last year. Without knowing what before time you're comparing against, your real question can't be answered. Before means about three weeks ago. Sorry for nto being specific. Meanwhile, a comparison of dmesg and Xorg.0.log before and after may give hints. (What, not everyone keeps a history of those across upgrades?) I do for dmesg, and I will for Xorg.log Below are the two dmesgs: before and now Jan OpenBSD 5.3-current (GENERIC.MP) #148: Tue Apr 30 11:41:58 MDT 2013 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 686-class) 2.20 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 real mem = 1071894528 (1022MB) avail mem = 1042931712 (994MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/27/07, BIOS32 rev. 0 @ 0xfdc70, SMBIOS rev. 2.4 @ 0xe0010 (71 entries) bios0: vendor LENOVO version 7KET72WW (1.22 ) date 08/27/2007 bios0: LENOVO 8918B8G 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 SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(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 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (GenuineIntel 686-class) 2.20 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 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 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 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 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T5233 serial 4893 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/0xf000 0xcf000/0x1000 0xd/0x1000 0xe/0x1! cpu0: Enhanced SpeedStep 2195 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c ppb0 at pci0 dev 1 function 0 Intel GM965 PCIE rev 0x0c: apic 1 int 16 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0429 rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) em0 at pci0 dev 25 function 0 Intel ICH8 IGP M rev 0x03: msi, address 00:1a:6b:d4:5f:22 uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1
Re: X or cwm got slower
On Jun 24 08:56:09, guent...@gmail.com wrote: Lots has changed in the last year. Without knowing what before time you're comparing against, your real question can't be answered. Before means about three weeks ago. Sorry for nto being specific. Meanwhile, a comparison of dmesg and Xorg.0.log before and after may give hints. (What, not everyone keeps a history of those across upgrades?) I do for dmesg, and I will for Xorg.log Below are the two dmesgs: before and now I also did a Xorg -configure and tweaked the generated xorg.conf (see at bottom) to use the vesa driver instead of nv. This makes the graphic output noticeably faster -- but I have to give up 1680x1050 and only use 1024x768. See also the full Xorg.log with zero configuration and with this xorg.conf at the bottom. Jan The autogenerated xorg.conf.new; Xorg -configure crashed during the autodetection, but produced this. Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 Screen 1 Screen1 RightOf Screen0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ FontPath /usr/X11R6/lib/X11/fonts/OTF/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ EndSection Section Module Load dbe Load dri Load dri2 Load extmod Load glx Load record EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol wsmouse Option Device /dev/wsmouse Option ZAxisMapping 4 5 6 7 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Monitor Identifier Monitor1 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz, ### percent: f% ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option Rotate# [str] #Option VideoKey # i #Option FlatPanel # [bool] #Option FPDither # [bool] #Option CrtcNumber# i #Option FPScale # [bool] #Option FPTweak # i #Option DualHead # [bool] Identifier Card0 Driver nv BusID PCI:1:0:0 EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz, ### percent: f% ### [arg]: arg optional #Option ShadowFB # [bool] #Option DefaultRefresh# [bool] #Option ModeSetClearScreen# [bool] Identifier Card1 Driver vesa BusID PCI:1:0:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 EndSubSection SubSection Display Viewport 0 0 Depth 24 EndSubSection EndSection Section Screen Identifier Screen1 Device Card1 MonitorMonitor1 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15
Re: install fixes address in /etc/hosts
On Apr 29 11:15:15, t...@tedunangst.com wrote: On Mon, Apr 29, 2013 at 11:02, Kenneth R Westerback wrote: On Mon, Apr 29, 2013 at 01:41:52PM +0200, Jan Stary wrote: Installed yesterday's current/i386, using dhcpd and pxeboot from another machine. After the installation, I noticed that the address that was assigned to me during the install via DHCP was written into /etc/hosts. Is that intended? Should an arbitrary dhcp-assigned address be written into /etc/hosts to stay there? Should that be mentioned in afterboot? Your points are valid. I no longer recall the discussions that took place at the time, and am open to any new discussion. As I recall, Bad Things (tm) happen when the machine's hostname does not resolve, and that's why there is always an entry in hosts. If I wanted to open a giant rabbit hole, I might suggest dhclient should update hosts as it runs... But it's important that *something* be in /etc/hosts that matches what's in /etc/myname. We changed it from adding 127.0.0.1 entries for the hostname because Other Bad Things (tm) happened when forward and reverse lookups for localhost and/or the hostname didn't coordinate. On a fresh current/i386 I see 127.0.0.1 localhost ::1 localhost 192.168.167.100 gw.my.domain gw where is the dhcp address assigned to me during install, now completely meaningless. I just deleted it. Should this be mentioned afterboot, possibly under Check hostname or Verify network interface configuration? Jan
Re: Seeking GUI refuge
On May 24 18:48:05, spell_gooder_...@spellingbeewinnars.org wrote: While about 7 out of the 9 years with Linux have been good, the graphical experience on Linux has plummeted for me. I don't really want to send prospective customers to Linux any more. I am fearing that Windows may end up being my only option. It looks like OpenBSD is all about software correctness and I am sure it will be great to work with, in a sort of back end way but is there a desktop manager to work with it that can match the reliability of OpenBSD? There is cwm(1) in the base install, which just might have everything you need.
Re: current/macppc on Mac Mini
On May 23 08:41:50, mpieuc...@nolizard.org wrote: On 26/12/12(Wed) 20:54, Miod Vallat wrote: Just upgraded to a current again, with the same problem, and the same solution: [...] wdc1 at kauaiata0 irq 39: DMA atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-R UJ-825, DAND ATAPI 5/cdrom removable wd0 at wdc1 channel 0 drive 1: ST9808211A wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors [...] bootpath: /pci@f400/ata-6@d/disk@1:/bsd I think I understand what goes wrong. The code responsible for matching the boot device to the actual kernel device on macppc is quite crude, especially for non-SCSI disks. Your bootpath specifies `disk@1' because the disk drive is the second device (slave) on the ATA channel, the cdrom drive being master. However, the kernel wants to match this information against a `wd1' device (as if there were two hard disks on the ATA channel). The kernel code needs to be fixed to use device_register() to match the boot path against actual attachment information, instead of walking the device tree at the end of autoconf. If nobody beats me to do this, I'll try to cook a diff in a few days. Were you thinking of something like that? It works for me (c) tm, with my PowerBooks (disk@0/wd0), I haven't tried NFS boot yet. Jan, does it improve something for you? Yes it does: with this patch, I don't need to hardcode config bsd root on wd0a into my kernel, it figures the bootpath itself. Thank you! Jan [ using 500872 bytes of bsd ELF symbol table ] console out [ATY,RockHopper2_A]console in [keyboard] , using USB using parent ATY,RockHopper2Paren:: memaddr 9800 size 800, : consaddr 9c008000, : ioaddr 9002, size 2: memtag 8000, iotag 8000: width 1280 linebytes 1280 height 1024 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2013 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.3-current (GENERIC.MP) #5: Thu May 23 09:02:44 CEST 2013 r...@www.stare.cz:/usr/src/sys/arch/macppc/compile/GENERIC.MP real mem = 1073741824 (1024MB) avail mem = 1032151040 (984MB) mainbus0 at root: model PowerMac10,2 cpu0 at mainbus0: 7447A (Revision 0x102): 1499 MHz: 512KB L2 cache mem0 at mainbus0 spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0 memc0 at mainbus0: uni-n rev 0xd2 hw-clock at memc0 not configured kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 mpcpcibr0 at mainbus0 pci: uni-north pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 Apple UniNorth AGP rev 0x00 appleagp0 at pchb0 agp0 at appleagp0: aperture at 0x0, size 0x1000 vgafb0 at pci0 dev 16 function 0 ATI Radeon 9200 rev 0x01, mmio wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) mpcpcibr1 at mainbus0 pci: uni-north pci1 at mpcpcibr1 bus 0 pchb1 at pci1 dev 11 function 0 Apple UniNorth PCI rev 0x00 bwi0 at pci1 dev 18 function 0 Broadcom BCM4318 rev 0x02: irq 52, address 00:11:24:bf:cb:2a macobio0 at pci1 dev 23 function 0 Apple Intrepid rev 0x00 openpic0 at macobio0 offset 0x4: version 0x4614 feature 3f0302 LE macgpio0 at macobio0 offset 0x50 modem-reset at macgpio0 offset 0x1d not configured modem-power at macgpio0 offset 0x1c not configured macgpio1 at macgpio0 offset 0x9 irq 47 programmer-switch at macgpio0 offset 0x11 not configured gpio5 at macgpio0 offset 0x6f not configured gpio6 at macgpio0 offset 0x70 not configured extint-gpio15 at macgpio0 offset 0x67 not configured escc-legacy at macobio0 offset 0x12000 not configured zsc0 at macobio0 offset 0x13000: irq 22,23 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 aoa0 at macobio0 offset 0x1: irq 30,1,2 audio0 at aoa0 timer at macobio0 offset 0x15000 not configured adb0 at macobio0 offset 0x16000apm0 at adb0: battery flags 0x0, 0% charged piic0 at adb0 iic1 at piic0 maxtmp0 at iic1 addr 0xc8: max6642 kiic1 at macobio0 offset 0x18000 iic2 at kiic1 wdc0 at macobio0 offset 0x2 irq 24: DMA ohci0 at pci1 dev 24 function 0 Apple Intrepid USB rev 0x00: couldn't map interrupt ohci1 at pci1 dev 25 function 0 Apple Intrepid USB rev 0x00: couldn't map interrupt ohci2 at pci1 dev 26 function 0 Apple Intrepid USB rev 0x00: irq 29, version 1.0, legacy support ohci3 at pci1 dev 27 function 0 NEC USB rev 0x43: irq 63, version 1.0 ohci4 at pci1 dev 27 function 1 NEC USB rev 0x43: irq 63, version 1.0 ehci0 at pci1 dev 27 function 2 NEC USB rev 0x04: irq 63 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1 usb1 at ohci2: USB revision 1.0 uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1 usb2 at ohci3: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 usb3 at ohci4: USB revision 1.0 uhub3 at usb3 NEC OHCI root hub rev 1.00/1.00 addr 1 mpcpcibr2 at mainbus0 pci: uni-north pci2 at mpcpcibr2 bus 0 pchb2 at pci2 dev
Re: openbsd on present day macintosh
On May 20 07:18:53, mayur...@devio.us wrote: hello, does anyone have any experience with installing and running openbsd on a present day macintosh, say a macmini? would like to know words of caution and advice before i commit to purchasing a macmini and using it exclusively for openbsd software development (my current thinkpad is dying quite rapidly). thanks. I am running a not-so-current/macppc on a Macmini. The only hurdle while installing was the discrepancy between what OFW (the macmini firmware) thinks is hd0 and what the OpenBSD installer thinks is hd0. http://marc.info/?l=openbsd-miscm=135653325832652w=2 That aside, the installation went smooth as ever, and it runbs just fine. Jan [ using 501892 bytes of bsd ELF symbol table ] console out [ATY,RockHopper2_A]console in [keyboard] , using USB using parent ATY,RockHopper2Paren:: memaddr 9800 size 800, : consaddr 9c008000, : ioaddr 9002, size 2: memtag 8000, iotag 8000: width 1280 linebytes 1280 height 1024 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.2-current (GENERIC.MP) #4: Wed Dec 26 15:08:07 CET 2012 r...@www.stare.cz:/usr/src/sys/arch/macppc/compile/GENERIC.MP real mem = 1073741824 (1024MB) avail mem = 1032146944 (984MB) mainbus0 at root: model PowerMac10,2 cpu0 at mainbus0: 7447A (Revision 0x102): 1499 MHz: 512KB L2 cache mem0 at mainbus0 spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0 memc0 at mainbus0: uni-n rev 0xd2 hw-clock at memc0 not configured kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 Apple UniNorth AGP rev 0x00 appleagp0 at pchb0 agp0 at appleagp0: aperture at 0x0, size 0x1000 vgafb0 at pci0 dev 16 function 0 ATI Radeon 9200 rev 0x01, mmio wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x5 pci1 at mpcpcibr1 bus 0 pchb1 at pci1 dev 11 function 0 Apple UniNorth PCI rev 0x00 bwi0 at pci1 dev 18 function 0 Broadcom BCM4318 rev 0x02: irq 52, address 00:11:24:bf:cb:2a macobio0 at pci1 dev 23 function 0 Apple Intrepid rev 0x00 openpic0 at macobio0 offset 0x4: version 0x4614 feature 3f0302 LE macgpio0 at macobio0 offset 0x50 modem-reset at macgpio0 offset 0x1d not configured modem-power at macgpio0 offset 0x1c not configured macgpio1 at macgpio0 offset 0x9 irq 47 programmer-switch at macgpio0 offset 0x11 not configured gpio5 at macgpio0 offset 0x6f not configured gpio6 at macgpio0 offset 0x70 not configured extint-gpio15 at macgpio0 offset 0x67 not configured escc-legacy at macobio0 offset 0x12000 not configured zsc0 at macobio0 offset 0x13000: irq 22,23 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 aoa0 at macobio0 offset 0x1: irq 30,1,2 audio0 at aoa0 timer at macobio0 offset 0x15000 not configured adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets apm0 at adb0: battery flags 0x0, 0% charged piic0 at adb0 iic1 at piic0 maxtmp0 at iic1 addr 0xc8: max6642 kiic1 at macobio0 offset 0x18000 iic2 at kiic1 wdc0 at macobio0 offset 0x2 irq 24: DMA ohci0 at pci1 dev 24 function 0 Apple Intrepid USB rev 0x00: couldn't map interrupt ohci1 at pci1 dev 25 function 0 Apple Intrepid USB rev 0x00: couldn't map interrupt ohci2 at pci1 dev 26 function 0 Apple Intrepid USB rev 0x00: irq 29, version 1.0, legacy support ohci3 at pci1 dev 27 function 0 NEC USB rev 0x43: irq 63, version 1.0 ohci4 at pci1 dev 27 function 1 NEC USB rev 0x43: irq 63, version 1.0 ehci0 at pci1 dev 27 function 2 NEC USB rev 0x04: irq 63 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1 usb1 at ohci2: USB revision 1.0 uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1 usb2 at ohci3: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 usb3 at ohci4: USB revision 1.0 uhub3 at usb3 NEC OHCI root hub rev 1.00/1.00 addr 1 mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6 pci2 at mpcpcibr2 bus 0 pchb2 at pci2 dev 11 function 0 Apple UniNorth PCI rev 0x00 kauaiata0 at pci2 dev 13 function 0 Apple Intrepid ATA rev 0x00 wdc1 at kauaiata0 irq 39: DMA atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-R UJ-825, DAND ATAPI 5/cdrom removable wd0 at wdc1 channel 0 drive 1: ST9808211A wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors cd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 wd0(wdc1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 Apple UniNorth Firewire rev 0x81 at pci2 dev 14 function 0 not configured gem0 at pci2 dev 15 function 0 Apple Uni-N2 GMAC rev 0x80: irq 41, address 00:14:51:17:42:34 bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4 umass0 at uhub0 port 1 configuration 1 interface 0 Prolific Technology Inc. Mass Storage
Re: openbsd on present day macintosh
On May 20 13:42:03, dco...@gmail.com wrote: On Mon, May 20, 2013 at 1:36 PM, Jan Stary h...@stare.cz wrote: I am running a not-so-current/macppc on a Macmini. The only hurdle while installing was the discrepancy between what OFW (the macmini firmware) thinks is hd0 and what the OpenBSD installer thinks is hd0. http://marc.info/?l=openbsd-miscm=135653325832652w=2 But present-day macminis are intel based. About intel-based macminis I don't know. On an intel-based macbook everything runs fine. OpenBSD 5.1-current (GENERIC.MP) #233: Sat Mar 24 14:20:48 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2646556672 (2523MB) avail mem = 2553819136 (2435MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (44 entries) bios0: vendor Apple Inc. version MB31.88Z.008E.B02.0803051832 date 03/05/08 bios0: Apple Inc. MacBook3,1 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.36 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-255 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP05) acpiprt2 at acpi0: bus 3 (RP06) acpiprt3 at acpi0: bus 4 (PCIB) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 15253732082930497 type 15253732284385612 oem 15253732284452179 acpivideo0 at acpi0: GFX0 cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1800, 1600, 1400, 1200, 800 MHz memory map conflict 0xf00f8000/0x1000 memory map conflict 0xfed1c000/0x4000 memory map conflict 0xfffa/0x3 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xa000, size 0x1000 inteldrm0 at vga1: apic 1 int 16 drm0 at inteldrm0 Intel GM965 Video rev 0x03 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 16 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 21 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: msi azalia0: codecs: Realtek ALC885 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: msi pci2 at ppb1 bus 2 Broadcom BCM4321 rev 0x03 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x03: msi pci3 at ppb2 bus 3 mskc0 at pci3 dev 0 function 0 Marvell Yukon 88E8058 rev 0x13, Yukon-2 EC Ultra rev. B0 (0x3): apic 1 int 17 msk0 at mskc0 port A: address 00:1b:63:aa:12:67 eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 16 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 18 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 1 int 21 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 int 20 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3 pci4 at ppb3 bus 4 ATT/Lucent FW322 1394 rev 0x61 at pci4 dev 3 function 0 not configured pcib0 at pci0 dev 31 function 0 Intel 82801HBM LPC rev 0x03 pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0
Re: Is fdisk, disklabel and newfs enough to reset an SSD
On May 13 21:04:00, pa...@ecentryx.com wrote: I would like to reinstall a fresh system on an SSD that contains an existing installation. From my limited knowledge of SSDs, I wonder if the drive controller may retain data from the old filesystem, unaware that there is a new filesystem put in place. The drive controller knows nothing about filesystems. It just passes bytes to and from a device. The OpenBSD installer will just use the disk portion that you allocate to it. It will not waste time inspectioing what was on the disk before. Will there be pieces of the disk that still contain untouched data blocks of files that existed on some previous filesystem? Yes, they might. Is this a concern? No. If so, how does one reset a used SSD for optimal operation with a fresh install? Just treat it as any other disk - which it is. On May 13 22:50:08, pa...@ecentryx.com wrote: Scott McEachern wrote: 2) Do you mean there could still be data residing on unused parts of the SSD? Yes, it can happen. Yes, this is what I'm referring to. I was hoping there was some way to instruct the drive controller that the entire drive space is free? It is, if you say so in the installer. Making sure there are no datablocks left over is another thing. The first question would be why would you concern yoursewlf with this.
Re: pflow collection and analysis
On May 01 11:31:23, deich...@wrench.com wrote: I use nfdump for netflow collection and analysis. On May 01 20:01:27, hrv...@srce.hr wrote: If you export v5 flows from openbsd 5.3 go with nfdump/nfsen On May 01 22:22:50, pe...@bsdly.net wrote: My absolute favorite is nfdump feeding nfsen. Thanks for the recommendation. I just installed nfdump-1.6.3.1p0 and noticed that there is no rc.d script - is that expected? Is nfcapd supposed to be run from rc.local? Would it be an improvement to write a rc.d script? Also, the -u and -g options of nfcapd do not seem to work: while the _nfcapd user and group are created by the package, nfcapd simply does not start if I try to use -u or -g. (Without it, it runs just fine). Jan
Re: pflow collection and analysis
Ok, so my pflow interface is up,: pflow0: flags=141UP,RUNNING,PROMISC mtu 1492 priority: 0 pflow: sender: 0.0.0.0 receiver: 127.0.0.1:9995 version: 5 groups: pflow The created states are exported: set state-defaults pflow, no-sync (Also pfctl -sr says so) The nfcapd is listening: # pgrep -fl nfcap 20264 /usr/local/bin/nfcapd -b 127.0.0.1 -4 -l /netflow -S 0 -w -D The flow packets are sent to the listening nfcapd: # tcpdump -i pflow0 tcpdump: listening on pflow0, link-type RAW 15:10:25.500196 0.0.0.0.61175 localhost.9995: udp 744 (DF) [tos 0x10] 15:11:44.512890 0.0.0.0.61175 localhost.9995: udp 888 (DF) [tos 0x10] 15:12:44.562534 0.0.0.0.61175 localhost.9995: udp 168 (DF) [tos 0x10] 15:13:44.681469 0.0.0.0.61175 localhost.9995: udp 120 (DF) [tos 0x10] 15:14:40.690466 0.0.0.0.61175 localhost.9995: udp 456 (DF) [tos 0x10] 15:15:47.701228 0.0.0.0.61175 localhost.9995: udp 984 (DF) [tos 0x10] 15:16:41.709903 0.0.0.0.61175 localhost.9995: udp 456 (DF) [tos 0x10] The running nfcapd is writing the captured files -rw-r--r-- 1 root wheel 276 May 2 15:10 nfcapd.201305021505 -rw-r--r-- 1 root wheel 276 May 2 15:15 nfcapd.201305021510 -rw-r--r-- 1 root wheel 276 May 2 15:15 nfcapd.current But none of the files contains any actual flows. They are all of size 276, probably just the header. At the end of every interval, the log says May 2 15:20:10 gw nfcapd[20264]: Ident: 'none' Flows: 0, Packets: 0, Bytes: 0, Sequence Errors: 0, Bad Packets: 0 May 2 15:20:10 gw nfcapd[20264]: Total ignored packets: 0 I must be missing something obvious. Can someone please give a hint? Jan
Re: pflow collection and analysis
On May 02 15:25:34, h...@stare.cz wrote: Ok, so my pflow interface is up,: pflow0: flags=141UP,RUNNING,PROMISC mtu 1492 priority: 0 pflow: sender: 0.0.0.0 receiver: 127.0.0.1:9995 version: 5 groups: pflow The created states are exported: set state-defaults pflow, no-sync (Also pfctl -sr says so) The nfcapd is listening: # pgrep -fl nfcap 20264 /usr/local/bin/nfcapd -b 127.0.0.1 -4 -l /netflow -S 0 -w -D The flow packets are sent to the listening nfcapd: # tcpdump -i pflow0 tcpdump: listening on pflow0, link-type RAW 15:10:25.500196 0.0.0.0.61175 localhost.9995: udp 744 (DF) [tos 0x10] 15:11:44.512890 0.0.0.0.61175 localhost.9995: udp 888 (DF) [tos 0x10] 15:12:44.562534 0.0.0.0.61175 localhost.9995: udp 168 (DF) [tos 0x10] 15:13:44.681469 0.0.0.0.61175 localhost.9995: udp 120 (DF) [tos 0x10] 15:14:40.690466 0.0.0.0.61175 localhost.9995: udp 456 (DF) [tos 0x10] 15:15:47.701228 0.0.0.0.61175 localhost.9995: udp 984 (DF) [tos 0x10] 15:16:41.709903 0.0.0.0.61175 localhost.9995: udp 456 (DF) [tos 0x10] The running nfcapd is writing the captured files -rw-r--r-- 1 root wheel 276 May 2 15:10 nfcapd.201305021505 -rw-r--r-- 1 root wheel 276 May 2 15:15 nfcapd.201305021510 -rw-r--r-- 1 root wheel 276 May 2 15:15 nfcapd.current But none of the files contains any actual flows. They are all of size 276, probably just the header. At the end of every interval, the log says May 2 15:20:10 gw nfcapd[20264]: Ident: 'none' Flows: 0, Packets: 0, Bytes: 0, Sequence Errors: 0, Bad Packets: 0 May 2 15:20:10 gw nfcapd[20264]: Total ignored packets: 0 I must be missing something obvious. Can someone please give a hint? Hm, setting the flow sender to 127.0.0.1 solved it $ cat /etc/hostname.pflow0 flowsrc 127.0.0.1 flowdst 127.0.0.1:9995 pflowproto 5 That is, nfscapd didn't see any flows if the reports were comming from 0.0.0.0; now that flowsrc is specified, so the reports come from 127.0.0.1, everything is OK. Is that intended? Jan
wsdisplay screen size
With recent snapshots, the wsdisplay allows for more text realestate. On most of my machines it works fine, but on this amd64 (see dmesg bellow), it does not cover the whole screen; like this: +-+ | | | | | | | | | | |$ echo $LINES COLUMNS| |35 106 | +-+ | | | ( unused space ) | | | +-+ Why is that? Jan OpenBSD 5.3-current (GENERIC) #127: Tue Apr 9 21:54:28 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC RTC BIOS diagnostic error 80clock_battery real mem = 1038864384 (990MB) avail mem = 1003593728 (957MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe4410 (25 entries) bios0: vendor Intel Corp. version MOPNV10J.86A.0175.2010.0308.0620 date 03/08/2010 bios0: Intel Corporation D510MO acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT acpi0: wakeup devices SLPB(S4) PS2M(S4) PS2K(S4) UAR1(S4) UAR2(S4) P32_(S4) ILAN(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S3) AZAL(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) Atom(TM) CPU D510 @ 1.66GHz, 1666.99 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,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF cpu0: 512KB 64b/line 8-way L2 cache cpu0: apic clock running at 170MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 5 (P32_) acpiprt1 at acpi0: bus 0 (PCI0) acpiprt2 at acpi0: bus 1 (PEX0) acpiprt3 at acpi0: bus 2 (PEX1) acpiprt4 at acpi0: bus 3 (PEX2) acpiprt5 at acpi0: bus 4 (PEX3) acpicpu0 at acpi0: C1, PSS acpibtn0 at acpi0: SLPB pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x02 vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x02 intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: apic 8 int 16 intel_overlay_map_regs partial stub wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: msi pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), apic 8 int 16, address 00:27:0e:07:09:9f rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x01: msi pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01: msi pci4 at ppb3 bus 4 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 8 int 23 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 8 int 19 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 8 int 18 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 8 int 16 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 8 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe1 pci5 at ppb4 bus 5 pcib0 at pci0 dev 31 function 0 Intel NM10 LPC rev 0x01 ahci0 at pci0 dev 31 function 2 Intel 82801GR AHCI rev 0x01: msi, AHCI 1.1 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: ATA, WDC WD6400BPVT-0, 01.0 SCSI3 0/direct fixed naa.50014ee25979e46a sd0: 610480MB, 512 bytes/sector, 1250263728 sectors sd1 at scsibus0 targ 1 lun 0: ATA, WDC WD10TPVT-00H, 01.0 SCSI3 0/direct fixed naa.50014ee2aed8deca sd1: 953869MB, 512 bytes/sector, 1953525168 sectors ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: apic 8 int 19 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5
pflow collection and analysis
I just started using plfow(4) on the router/firewall of my small home network. What do people recommend for collection and analysis tools? So far, I am aware of packages for flow-tools, flowd, and softflowd. Thanks Jan
install fixes address in /etc/hosts
Installed yesterday's current/i386, using dhcpd and pxeboot from another machine. After the installation, I noticed that the address that was assigned to me during the install via DHCP was written into /etc/hosts. Is that intended? Should an arbitrary dhcp-assigned address be written into /etc/hosts to stay there? Should that be mentioned in afterboot? The user might want to just use DHCP during the install, and only during afterboot, while setting everything up, decide on a fixed address and put that into hostname.if - but the arbitrary dhcp-assigned address will still be in /etc/hosts, possbily conflicting. Jan
Re: panic: got error 5 while accessing filesystem
On Apr 28 18:34:07, h...@stare.cz wrote: On Apr 28 12:55:58, m...@online.fr wrote: I wasn't able to find out what error 5 is. EIO. There are probably horrible I/O error messages in your dmesg prior to this panic. Actually, there are none. Could this indicate that the USB enclosure or the cable is faulty? The disk is functioning without a glitch now. I am running dd if=/dev/sd0c of=/dev/null bs=8m to see if it reports some errors. It finished without errors.
panic: got error 5 while accessing filesystem
My december-current/macppc panicked tonight, saying got error 5 while accessing filesystem Looking at the log tails, it apparently happened when daily.local started the nightly dumps. These are done to an USB connected Seagate. (see full dmesg below). Looking at the code, this is ufs/ffs/ffs_softdep.c: /* * Function to handle asynchronous write errors in the filesystem. */ void softdep_error(char *func, int error) { /* XXX should do something better! */ printf(%s: got error %d while accessing filesystem\n, func, error); } I wasn't able to find out what error 5 is. I will try disabling softdeps on that filesystem. Should I upgrade for some softdep-specific goodness? Jan OpenBSD 5.2-current (GENERIC.MP) #4: Wed Dec 26 15:08:07 CET 2012 r...@www.stare.cz:/usr/src/sys/arch/macppc/compile/GENERIC.MP real mem = 1073741824 (1024MB) avail mem = 1032146944 (984MB) mainbus0 at root: model PowerMac10,2 cpu0 at mainbus0: 7447A (Revision 0x102): 1499 MHz: 512KB L2 cache mem0 at mainbus0 spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0 memc0 at mainbus0: uni-n rev 0xd2 hw-clock at memc0 not configured kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 Apple UniNorth AGP rev 0x00 appleagp0 at pchb0 agp0 at appleagp0: aperture at 0x0, size 0x1000 vgafb0 at pci0 dev 16 function 0 ATI Radeon 9200 rev 0x01, mmio wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x5 pci1 at mpcpcibr1 bus 0 pchb1 at pci1 dev 11 function 0 Apple UniNorth PCI rev 0x00 bwi0 at pci1 dev 18 function 0 Broadcom BCM4318 rev 0x02: irq 52, address 00:11:24:bf:cb:2a macobio0 at pci1 dev 23 function 0 Apple Intrepid rev 0x00 openpic0 at macobio0 offset 0x4: version 0x4614 feature 3f0302 LE macgpio0 at macobio0 offset 0x50 modem-reset at macgpio0 offset 0x1d not configured modem-power at macgpio0 offset 0x1c not configured macgpio1 at macgpio0 offset 0x9 irq 47 programmer-switch at macgpio0 offset 0x11 not configured gpio5 at macgpio0 offset 0x6f not configured gpio6 at macgpio0 offset 0x70 not configured extint-gpio15 at macgpio0 offset 0x67 not configured escc-legacy at macobio0 offset 0x12000 not configured zsc0 at macobio0 offset 0x13000: irq 22,23 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 aoa0 at macobio0 offset 0x1: irq 30,1,2 audio0 at aoa0 timer at macobio0 offset 0x15000 not configured adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets apm0 at adb0: battery flags 0x0, 0% charged piic0 at adb0 iic1 at piic0 maxtmp0 at iic1 addr 0xc8: max6642 kiic1 at macobio0 offset 0x18000 iic2 at kiic1 wdc0 at macobio0 offset 0x2 irq 24: DMA ohci0 at pci1 dev 24 function 0 Apple Intrepid USB rev 0x00: couldn't map interrupt ohci1 at pci1 dev 25 function 0 Apple Intrepid USB rev 0x00: couldn't map interrupt ohci2 at pci1 dev 26 function 0 Apple Intrepid USB rev 0x00: irq 29, version 1.0, legacy support ohci3 at pci1 dev 27 function 0 NEC USB rev 0x43: irq 63, version 1.0 ohci4 at pci1 dev 27 function 1 NEC USB rev 0x43: irq 63, version 1.0 ehci0 at pci1 dev 27 function 2 NEC USB rev 0x04: irq 63 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1 usb1 at ohci2: USB revision 1.0 uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1 usb2 at ohci3: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 usb3 at ohci4: USB revision 1.0 uhub3 at usb3 NEC OHCI root hub rev 1.00/1.00 addr 1 mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6 pci2 at mpcpcibr2 bus 0 pchb2 at pci2 dev 11 function 0 Apple UniNorth PCI rev 0x00 kauaiata0 at pci2 dev 13 function 0 Apple Intrepid ATA rev 0x00 wdc1 at kauaiata0 irq 39: DMA atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-R UJ-825, DAND ATAPI 5/cdrom removable wd0 at wdc1 channel 0 drive 1: ST9808211A wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors cd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 wd0(wdc1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 Apple UniNorth Firewire rev 0x81 at pci2 dev 14 function 0 not configured gem0 at pci2 dev 15 function 0 Apple Uni-N2 GMAC rev 0x80: irq 41, address 00:14:51:17:42:34 bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4 umass0 at uhub0 port 1 configuration 1 interface 0 Prolific Technology Inc. Mass Storage Device rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: ST980815, A, 3.AL SCSI0 0/direct fixed serial.067b2506 sd0: 76319MB, 512 bytes/sector, 156301488 sectors uhidev0 at uhub1 port 1 configuration 1 interface 0 Apple Computer HID-proxy rev 2.00/19.65 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub1 port 1
Re: panic: got error 5 while accessing filesystem
On Apr 28 12:55:58, m...@online.fr wrote: I wasn't able to find out what error 5 is. EIO. There are probably horrible I/O error messages in your dmesg prior to this panic. Actually, there are none. Could this indicate that the USB enclosure or the cable is faulty? The disk is functioning without a glitch now. I am running dd if=/dev/sd0c of=/dev/null bs=8m to see if it reports some errors. I will try disabling softdeps on that filesystem. This will indeed avoid the panic (which occurs because at this point there is no way to propagate the I/O error up to the filesystem operation which has triggered it), but that won't fix the I/O error. I'd suggest doing backups and gettting ready to replace the disk. Yes, I did a backup of those backups :-)
Re: mixing ports and non-ports programs
On Apr 14 11:03:45, alan01...@gmail.com wrote: On 4/14/13, Marc Espie es...@nerim.net wrote: On Sat, Apr 13, 2013 at 11:40:09PM -0400, Alan Corey wrote: The question is what's the best way to mix current stuff in Run current, and create updated ports for the versions you need to run. but OpenBSD 5.0 isn't that different from 5.2. Go fuck yourself.
[no subject]
Going over the X FAQ, I see 11.1.1 - How much computer do I need to run X? While How much computer is slightly amusing, was it meant to be how much computer power or something? Jan
Re: suspend on Thinkpad T40
On Nov 20 10:55:00, h...@stare.cz wrote: Suspend mostly works, trigerred either by an explicit apm -s, or Fn+F4, or closing the lid. After a successfull resume, everything seems to be in order, including X and open connections (haven't tested wifi though). Mostly means that it _usually_ resumes back up, by either pressing the power button or pressing Fn. But sometimes it doesn't. The only pattern I have spotted is that it fails to resume back if it has been suspended for longer: after two minutes of suspend, it always comes back; after ten minutes of suspend, it never comes back. With current (see bellow), these problems are gone - the Thinkpad can stay suspended overnight and resume back up just fine. Haven't tried suspend to disk yet though. Jan OpenBSD 5.3-current (GENERIC) #103: Sun Mar 31 17:48:15 MDT 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2,PERF real mem = 804188160 (766MB) avail mem = 779624448 (743MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 radeondrm0 at vga1: irq 11 drm0 at radeondrm0 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xb000/0x1000 2:0:1: mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7f:83:fa ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:0c:f1:16:9b:b8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: IC25N020ATMR04-0 wd0: 16-sector PIO, LBA48, 19077MB, 39070080 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8083N, 0K03 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5 spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2100CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00
MIDI tutorial link
The MIDI tutorial link http://www.harmony-central.com/MIDI/Doc/tutorial.html in http://www.openbsd.org/faq/faq13.html#midi is broken. Perhaps one of the links at http://www.midi.org/aboutmidi/tutorials.php can replace it.
smtpd vs sendmail cronjob
The smtpd(8) manpage documents the steps needed to replace the default sendmail with smtpd. However, it does not mention the sendmail clientmqueue runner cronjob. That should probably be edited from the root's cronjob, right? Jan
Re: empty pf log / pflogd not starting?
On Mar 24 10:13:05, thatseattle...@gmail.com wrote: I'm playing with the latest 5.3 snapshot and I'm getting an always-empty /var/log/pflog. I'm wondering if there's a problem with the snapshot (unlikely) or something I did wrong in my configuration (much more likely). ps -aux shows pflogd is not running, which I assume is the source of the problem. In rc.conf (which I did not change of course) the pf lines are: pf=YES # Packet filter / NAT pf_rules=/etc/pf.conf # Packet filter rules file pflogd_flags= # add more flags, e.g. -s 256 And here's my rc.conf.local: ntpd_flags= hotplugd_flags= named_flags= check_quotas=NO That's it. Is there something I should be doing in rc.conf.local or elsewhere to get pflogd running? (I could do pflogd_flags=YES, maybe, but I thought that wasn't necessary, that pflogd would start automagically if pf was enabled.) Do you actually log something in your pf.conf? Does such traffic actually occur?
Re: scanf(3) return value
On Mar 05 13:30:53, j...@kerhand.co.uk wrote: On Sun, Mar 03, 2013 at 11:40:52AM +0100, Jan Stary wrote: The following part of the scanf(3) manpage probably needs to be reworded: The value .Dv EOF is returned if an input failure occurs before any conversion such as an end-of-file occurs. (I won't even attempt it, as I am not sure what the behaviour actually is.) what is wrong with it? Probably just my English comprehension, but conversion such as end-of-file bugs me.
scanf(3) return value
The following part of the scanf(3) manpage probably needs to be reworded: The value .Dv EOF is returned if an input failure occurs before any conversion such as an end-of-file occurs. (I won't even attempt it, as I am not sure what the behaviour actually is.)
Re: /tmp/aucat*
On Feb 28 09:31:06, a...@caoua.org wrote: On Wed, Feb 27, 2013 at 08:47:20PM +0100, Jan Stary wrote: The audio plays fine, but why is this: /tmp/aucat-1000/aucat0: No such file or directory Indeed, there is no /tmp/aucat-1000/aucat0 (1000 is my userid), but there is /tmp/aucat/aucat0; is this something from the past of sndio, when it used userid in the socket name? programs using libsndio try to connect to the per-user sndiod server first, then the system-wide server. This allows any regular user with no root privileges to bypass the system-wide server and use her/his own setup. Thanks for the explanation. Can we slightly unconfuse the DEBUGing user with the diff below? Index: aucat.c === RCS file: /cvs/src/lib/libsndio/aucat.c,v retrieving revision 1.56 diff -u -p -r1.56 aucat.c --- aucat.c 23 Nov 2012 07:03:28 - 1.56 +++ aucat.c 28 Feb 2013 09:07:55 - @@ -361,6 +361,7 @@ aucat_connect_un(struct aucat *hdl, unsi break; } hdl-fd = s; + DPRINTF(%s: connected\n, ca.sun_path); return 1; } The DEBUGing output then becomes /tmp/aucat-1000/aucat0: No such file or directory /tmp/aucat/aucat0: connected (Should something similar go to aucat_connect_tcp() as well?) Jan
Re: no sound azalia(4)
On Feb 27 07:59:46, martijn...@gmail.com wrote: On Tue, 2013-02-26 at 23:36 +0100, Jan Stary wrote: On Feb 26 23:25:17, martijn...@gmail.com wrote: Hello misc, I'm having troubles setting up my sound system on my openbsd-current laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of what the problem could be and has tips on how to solve it, it would be highly appreciated. What problem are you actually seeing? How exactly are you trying to play/record and what exactly is happening? As the subject says, I have no sound what so ever. I tried playing back a couple of songxx.ogg files via the ogg123 command as suggested per faq/faq13.html. The program seems to run fine, I just can't seem to put it through to my laptop speakers. I can't test for external atm since I have a temporary lack of cable. Are you running sndiod? Please try again with SIO_DEBUG=1.
Re: no sound azalia(4)
On Feb 27 18:32:37, martijn...@gmail.com wrote: On 02/27/13 13:07, Tim van der Molen wrote: On Wed, 27 Feb 2013 10:12:31 +0100, Jan Stary wrote: On Feb 27 07:59:46, martijn...@gmail.com wrote: On Tue, 2013-02-26 at 23:36 +0100, Jan Stary wrote: On Feb 26 23:25:17, martijn...@gmail.com wrote: Hello misc, I'm having troubles setting up my sound system on my openbsd-current laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of what the problem could be and has tips on how to solve it, it would be highly appreciated. What problem are you actually seeing? How exactly are you trying to play/record and what exactly is happening? As the subject says, I have no sound what so ever. I tried playing back a couple of songxx.ogg files via the ogg123 command as suggested per faq/faq13.html. The program seems to run fine, I just can't seem to put it through to my laptop speakers. I can't test for external atm since I have a temporary lack of cable. Are you running sndiod? Please try again with SIO_DEBUG=1. For the record, that should be SNDIO_DEBUG. I stopped sndiod via rc.d. After that I started it up again via: $ SNDIO_DEBUG=1 sudo -u _sndio /usr/bin/sndiod -d but when playing the songs again it gave no output (nor audio, nor stderr). I also tried it with SIO_DEBUG=1 for good measure, which also lacked output. Use SNDIO_DEBUG with the application you use to play the sound. $ env SNDIO_DEBUG=1 play file.mp3 aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 0 file.mp3: File Size: 4.52M Bit Rate: 128k Encoding: MPEG audio Channels: 2 @ 16-bit Samplerate: 44100Hz Replaygain: off Duration: 00:04:42.96 In:0.00% 00:00:00.00 [00:04:42.96] Out:0 [ | ]Clip:0 aucat: flowctl = 8820, maxwrite = 35280 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 [...] aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 In:0.26% 00:00:00.74 [00:04:42.21] Out:32.8k [ -==| ] Hd:5.4 Clip:0 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 In:0.33% 00:00:00.93 [00:04:42.03] Out:41.0k [ -==|= ] Hd:5.4 Clip:0 Aborted. This shows that the sndio subsystem is indeed getting audio samples from the application and tries to play them.
/tmp/aucat*
This is what happens on OpenBSD 5.2-current (GENERIC.MP) #15: Fri Jan 11 16:41:47 MST 2013 $ env SNDIO_DEBUG=1 play file.mp3 aucat_open: host= unit=0 devnum=0 opt=default /tmp/aucat-1000/aucat0: No such file or directory aucat: start, maxwrite = 0 file.mp3: File Size: 4.52M Bit Rate: 128k Encoding: MPEG audio Channels: 2 @ 16-bit Samplerate: 44100Hz Replaygain: off Duration: 00:04:42.96 In:0.00% 00:00:00.00 [00:04:42.96] Out:0 [| ] Clip:0 aucat: flowctl = 8820, maxwrite = 35280 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 aucat: flowctl = 882, maxwrite = 3528 [...] The audio plays fine, but why is this: /tmp/aucat-1000/aucat0: No such file or directory Indeed, there is no /tmp/aucat-1000/aucat0 (1000 is my userid), but there is /tmp/aucat/aucat0; is this something from the past of sndio, when it used userid in the socket name? Jan
Re: smtpd relay
On Feb 26 17:11:54, zko...@sbb.rs wrote: Another problem surfaced: I added line to muttrc to have smtpd as a mailer: set sendmail=/usr/sbin/smtpctl Why?
Re: no sound azalia(4)
On Feb 26 23:25:17, martijn...@gmail.com wrote: Hello misc, I'm having troubles setting up my sound system on my openbsd-current laptop, a quite old Sony Vaio PCG-7H2M. If anyone has any idea of what the problem could be and has tips on how to solve it, it would be highly appreciated. What problem are you actually seeing? How exactly are you trying to play/record and what exactly is happening? My audioctl: 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=3840 hiwat=9 lowat=1 output_muted=0 monitor_gain=0 mode= play.rate=48000 play.channels=2 play.precision=16 play.bps=2 play.msb=1 play.encoding=slinear_le play.gain=232 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=0 play.samples=0 play.eof=0 play.pause=1 play.error=0 play.waiting=0 play.open=0 play.active=0 play.buffer_size=65536 play.block_size=3840 play.errors=0 record.rate=48000 record.channels=2 record.precision=16 record.bps=2 record.msb=1 record.encoding=slinear_le record.gain=127 record.balance=32 record.port=0x0 record.avail_ports=0x0 record.seek=0 record.samples=0 record.eof=0 record.pause=1 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 record.block_size=3840 record.errors=0 My mixerctl -va: inputs.dac-4:5_mute=off [ off on ] inputs.dac-4:5=126,126 inputs.dac-0:1_mute=off [ off on ] inputs.dac-0:1=232,232 inputs.dac-2:3_mute=off [ off on ] inputs.dac-2:3=126,126 inputs.sel_source=cd [ cd ] inputs.sel_mute=off [ off on ] inputs.sel_cd=119,119 record.adc-0:1_source=sel3 [ sel3 ] record.adc-0:1_mute=off [ off on ] record.adc-0:1_sel3=119,119 outputs.hp_source=dac-4:5 [ dac-4:5 ] outputs.hp_dir=output [ none output input input-vr0 input-vr50 input-vr80 ] outputs.hp_boost=off [ off on ] outputs.line_source=dac-0:1 [ dac-0:1 ] outputs.line2_source=dac-2:3 [ dac-2:3 ] outputs.SPDIF_source=dig-dac-0:1 [ dig-dac-0:1 adc-0:1 ] inputs.sel3_source=mic [ hp mic dac-4:5 ] outputs.sel3_mute=off [ off on ] outputs.sel3=126,126 inputs.beep=85 outputs.hp_sense=unplugged [ unplugged plugged ] outputs.line_sense=unplugged [ unplugged plugged ] outputs.master=232,232 outputs.master.mute=off [ off on ] outputs.master.slaves=dac-0:1 { dac-4:5 dac-0:1 dac-2:3 sel3 beep } outputs.mode=analog [ analog digital ] my dmesg.boot: OpenBSD 5.3 (GENERIC.MP) #45: Thu Feb 21 23:15:34 MST 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Genuine Intel(R) 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 = 2145513472 (2046MB) avail mem = 2099458048 (2002MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/17/06, BIOS32 rev. 0 @ 0xfd5f0, SMBIOS rev. 2.40 @ 0xdc010 (20 entries) bios0: vendor Phoenix Technologies LTD version R0070J3 date 02/17/2006 bios0: Sony Corporation VGN-FE11S acpi0 at bios0: rev 0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC BOOT MCFG APIC SSDT SSDT SSDT acpi0: wakeup devices PWRB(S4) PXS1(S3) PXS2(S4) PXS3(S3) PXS4(S4) PXS5(S4) PXS6(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB7(S3) LANC(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) 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 0xe000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 4 (RP02) acpiprt4 at acpi0: bus 6 (RP03) acpiprt5 at acpi0: bus 8 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 10 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpitz0 at acpi0: critical temperature is 105 degC acpitz1 at acpi0: critical temperature is 105 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 not present acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpidock0 at acpi0: DOCK not docked (0) acpisony0 at acpi0: SNC_ acpivideo0 at acpi0: GFX0 bios0: ROM list: 0xc/0xf000 0xdc000/0x4000! 0xe/0x1800! 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
Re: Millions of files in /var/www inode / out of space issue.
On Feb 20 20:58:49, ke...@scott-land.net wrote: On 20/02/2013 07:36, Jan Stary wrote: On Tue, Feb 19, 2013 at 00:35, Keith wrote: Q. How do I make the default web folder /var/www/ capable of holding millions of files (say 50GB worth of small 2kb-12kb files) so that I won't get inode issues ? newfs defaults to -f 2k and -b 16k which is fine if you know in advance you will hold 2k-12k files. As for inodes, the default of -i is to create an inode for every 4 frags, that is 8192 bytes. So on a 50G filesystem this should give you over 6.1 millon inodes. What does df -hi say? But first of all, fix your crappy app to not do that. Hi, thanks for the info. Yesterday I did a backup, format, restore of the /var/www partition You said before you need to store 50G worth of files. So why did you create a 4.7G partition for it? although to be honest I wasn't really sure what i was doing with regards to the newfs command. Apparently: I tried running newfs -iwith different values and settled on newfs -i 1 /var/www as it seemed at the time to makes the make the most inodes and that was just based on how much output was generated while newfs was running. This is insane. Have you actually _read_ the manpage? I am a bit surprised newfs even lets you do that. You are creating one inode for every one byte. # df -hi Filesystem SizeUsed Avail Capacity iused ifree %iused Mounted on /dev/sd0a 1005M135M819M14%3272 152630 2% / /dev/sd0k 1005M2.0K955M 0% 1 155901 0% /home /dev/sd0n 21.0G2.0K 20.0G 0% 1 2832253 0% /scratch /dev/sd0d 3.9G 14.0K3.7G 0% 21 545641 0% /tmp /dev/sd0f 2.0G461M1.4G24% 13537 272285 5% /usr /dev/sd0g 1005M193M762M20%9547 146355 6% /usr/X11R6 /dev/sd0h 6.8G2.0G4.5G31% 41346 868092 5% /usr/local /dev/sd0j 2.0G2.0K1.9G 0% 1 285821 0% /usr/obj /dev/sd0i 1.9G2.0K1.8G 0% 1 285821 0% /usr/src /dev/sd0e 6.3G 37.2M6.0G 1% 740 856730 0% /var /dev/sd0m 1001M6.5M944M 1% 53 155849 0% /var/log /dev/sd0l 4.7G1.2G3.3G26% 449170 220631617% /var/www /dev/sd1a 1.8T1.6T147G92% 720111 60427023 1% /mnt/Media2TB /dev/sd2a 55.0G 11.3G 41.0G22% 208 7353262 0% /var/mysql The above df -hi output was done today after the wiped the app and started it again from scratch. It had been running for about 12 hours and there was about 450,000 files. How many files do you think I'll be able to store with this number of inodes ? You have 449170 used inodes and 2206316 free inodes now (hint: 'iused', 'ifree'). Read 'man df' in its entirety. (Do you actually know what an inode is?) I don't know how to fix the app or why the developers decided to make so many files on disk so I asked in their chat room Keef: I don't know how many files I had at the time that I was getting issues probably about 1/2 million That's why I asked exactly what errors you were getting. As said before, if you created a 50G partition (but now I don't even know if you did) with the default newfs, that would give you over 6M inodes, so it ould have been something else. Was the partition actually big enough? Was the demented app trying to create all those files in one directory?
Re: Millions of files in /var/www inode / out of space issue.
On Tue, Feb 19, 2013 at 00:35, Keith wrote: Q. How do I make the default web folder /var/www/ capable of holding millions of files (say 50GB worth of small 2kb-12kb files) so that I won't get inode issues ? newfs defaults to -f 2k and -b 16k which is fine if you know in advance you will hold 2k-12k files. As for inodes, the default of -i is to create an inode for every 4 frags, that is 8192 bytes. So on a 50G filesystem this should give you over 6.1 millon inodes. What does df -hi say? But first of all, fix your crappy app to not do that.
Re: Legal Question: OpenBSD Spin-off
On Feb 11 15:58:39, themazed...@gmail.com wrote: On 02/10/2013 06:47 PM, Rod Whitworth wrote: On Sun, 10 Feb 2013 18:09:56 -0600, Maximo Pech wrote: Well, installing openbsd is not what I'd call easy for people with few technical skills. Crap! It is well documented and very little data needs to be typed in as most input can be done by accepting the default. Why not make it a live system that boots from cd/dvd/USB/sd with everything already configured and ready to run? Live CDs can be a PITA.. People have built them and they aon't setting the world on fire. You can make your own USB flash by following the instructions in the FAQ (= same as install to the HD, just different HDD name. Installing in under 5 minutes is possible on a real drive - USB sticks are much slower. If I am doing a quick test I sometimes install to a real HDD on USB. Meanwhile go read the FAQ about installing and try it. Unless you are an absolute dummy you should be able to absorb the instructions and do the install. If you can't handle that, then OpenBSD is probably not for you and, given some of the horrors in some Linux Live-CDs, you may be best to stick to windows or mac. *** NOTE *** Please DO NOT CC me. Iam subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ --- This life is not the real thing. It is not even in Beta. If it was, then OpenBSD would already have a man page for it. Thanks for the replies guys, I am not too worried about people being able to install OpenBSD the installer is quick and fairly painless in my opinion. I think I am going to stick to simply writing a script that people can run after installing OpenBSD. The right way would be to port that thing. Then you can have them just 'pkg_add thatthing'.
Re: bootable OpenBSD USB stick from windows?
On Feb 11 23:55:30, hepta...@gmail.com wrote: On 2/11/13, Jiri B ji...@devio.us wrote: On Mon, Feb 11, 2013 at 10:51:29PM +, Heptas Torres wrote: Hello I have an old laptop with no CD-ROM but can boot from USB. Given that I only have access to a windows machine to burn an iso image, do you know of an easy way (e.g. some windows programa) to create a bootable OpenBSD USB stick which I can then use to install OpenBSD on my old laptop? -heptas Install OpenBSD on your usb stick on this Windows machine, How to do that exactly from windows when I cannot boot OpenBSD on that machine? why can't you?
Re: bootable OpenBSD USB stick from windows?
On Feb 11 23:48:09, hepta...@gmail.com wrote: On 2/11/13, christopher sasarak chris.sasa...@gmail.com wrote: I had a similar situation with my laptop and found a solution in the FAQ: http://www.openbsd.org/faq/faq14.html#flashmemLive Essentially what I had to do was boot from CD on the desktop system (using an ISO for the desktop system's architecture) That assumes that my windows machine can boot from a CD which is not the case (I have no CD-ROM neither on my windows machine nor on the machine where I want to install OpenBSD). I only have access to a windows machine to burn an iso image, do you How do you do it then, exactly?
Re: bootable OpenBSD USB stick from windows?
On Tue, Feb 12, 2013 at 8:29 AM, Heptas Torres hepta...@gmail.com wrote: On 2/12/13, Jan Stary h...@stare.cz wrote: On Feb 11 23:55:30, hepta...@gmail.com wrote: On 2/11/13, Jiri B ji...@devio.us wrote: On Mon, Feb 11, 2013 at 10:51:29PM +, Heptas Torres wrote: Hello I have an old laptop with no CD-ROM but can boot from USB. Given that I only have access to a windows machine to burn an iso image, do you know of an easy way (e.g. some windows programa) to create a bootable OpenBSD USB stick which I can then use to install OpenBSD on my old laptop? -heptas Install OpenBSD on your usb stick on this Windows machine, How to do that exactly from windows when I cannot boot OpenBSD on that machine? why can't you? because I don't have an OpenBSD booting media (the laptop has no CD-ROM, and I don't have bootable USB drive with OpenBSD - that's where I'm trying to get to). -heptas But you do have CDROM on the windows box: I only have access to a windows machine to burn an iso image So boot the OpenBSD CD on this windows machine, and install OpenBSD onto a USB thumb. Then boot from that USB thumb on your laptop, and install OpenBSD on the laptop. Done.
Re: OpenBSD-Update Tool
On Feb 09 21:11:56, themazed...@gmail.com wrote: On 02/09/2013 08:42 PM, System Administrator wrote: OpenBSD is all about KISS (simplicity) -- have you tried running the bi- annual release update procedure? have you read (carefully) the FAQ section on upgrading? Many users report it takes less than 15 minutes to perform a *remote* upgrade. Also you need to mind that OpenBSD does not support version rollbacks or offer binary updates to stable. So will an additional tool which requires ongoing maintenance and a configuration file setup, really add value (simplicity) ? On 9 Feb 2013 at 20:23, Crookedmaze wrote: Dear OpenBSD Community, Hello I am wondering if there is a tool similar to FreeBSD-update on OpenBSD? If not are there any reasons for why a tool like this hasn't been developed? Also if there isn't a tool like this (I am pretty sure there isn't one as I have checked) if I were to develop one do you think it would be accepted into OpenBSD? Please let me know what you think! Sincerely, Crookedmaze Yes, System Administrator I have had a look at the FAQ the reason I am asking about such a tool is because it seems as if the only way to update OpenBSD (Errata update wise) is to download a patch from the errata page and to manually patch the source code then follow the instructions for applying the patch (Or you could follow stable using CVS). I just thought it would be easier (and Simpler) if you were able to patch the version of OpenBSD you are running by simply typing openbsd-update which would then apply the security update by download and installing a binary package. Just upgrade with a snapshot, like everyone else. It doesn't get much simpler than that.
Re: pf blocking active connections
On Feb 07 21:31:11, martijn...@gmail.com wrote: Thanks for all the quick responses, but if I understand you all correctly there is no way to cut off an established connection by adding an ip address to a blocked table, so I'm still left with my two stage drop off the connection (both adding the the ip to the table and killing the connection manually). Yes; these are two distinct actions: 1. killing an active connection (pfctl -k) 2. adding a host to a table (pfctl -t) (whatever it may mean in the ruleset)
Re: Safe bruteforce rule for mobile-friendly website
On Feb 06 21:52:20, facebookman...@gmail.com wrote: Hi, Turns out this (http://home.nuug.no/~peter/pf/en/long-firewall.html) bans any IP connecting from mobile devices: pass in on $ext_if inet proto tcp from any to any port 80 keep state (max-src-conn 100, max-src-conn-rate 15/5, overload bruteforce flush global) Works fine when connecting from regular PCs though. Why is that? Do mobile devices connect differently somehow? tcpdump such a session to see what kind of connection your mobile device does to port 80; my android's browser for example goes over 15/5 like nothing. And can someone recommend a mobile-friendly bruteforce rule for port 80? It depends on your situation entirely. Do you want to block 15/5 clients?
Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?
On Jan 22 23:31:36, mih...@gmail.com wrote: I do think that using quemu is a good (and simple) way to go for me because: - I have qemu installed on my box for other reasons - one only needs an attached cf card and a current version of install.iso (no CD \ burning or laptop reboot required) - with qemu the install to cf can happen alongside other tasks within my usual work \ environment (e.g. browsing, word processing, etc) Hasn't this been discussed here many times already? Just do a standard install to the CF as if it was any other disk (which it is).
out of swap
This is current/amd64. Unlike in previous versions, some memory-heavy processes (such as in building some big port) get killed with UVM: pid 11422 (cc1plus), uid 0 killed: out of swap On this machine, I have _no_ swap. However, the machine has 1G RAM, and most of it is free in the moment this happens. In fact, occasionaly, spawning a new xterm fails like this, even if there is nothing else happening and there is nearly 1G of free RAM. Has something changed in this respect? Do I _have_ to have swap? Jan OpenBSD 5.2-current (GENERIC.MP) #378: Mon Aug 20 12:55:12 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery real mem = 1054593024 (1005MB) avail mem = 1004150784 (957MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe4410 (25 entries) bios0: vendor Intel Corp. version MOPNV10J.86A.0175.2010.0308.0620 date 03/08/2010 bios0: Intel Corporation D510MO acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT acpi0: wakeup devices SLPB(S4) PS2M(S4) PS2K(S4) UAR1(S4) UAR2(S4) P32_(S4) ILAN(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S3) AZAL(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) Atom(TM) CPU D510 @ 1.66GHz, 1666.97 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,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF cpu0: 512KB 64b/line 8-way L2 cache cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.69 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,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF cpu1: 512KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.69 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,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF cpu2: 512KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Atom(TM) CPU D510 @ 1.66GHz, 1666.69 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,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF cpu3: 512KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 5 (P32_) acpiprt1 at acpi0: bus 0 (PCI0) acpiprt2 at acpi0: bus 1 (PEX0) acpiprt3 at acpi0: bus 2 (PEX1) acpiprt4 at acpi0: bus 3 (PEX2) acpiprt5 at acpi0: bus 4 (PEX3) acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpicpu2 at acpi0: C1, PSS acpicpu3 at acpi0: C1, PSS acpibtn0 at acpi0: SLPB pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x02 vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 8 int 16 drm0 at inteldrm0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: msi pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), apic 8 int 16, address 00:27:0e:07:09:9f rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x01: msi pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01: msi pci4 at ppb3 bus 4 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 8 int 23 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 8 int 19 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 8 int 18 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 8 int 16 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 8 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe1 pci5 at ppb4 bus 5 pcib0 at pci0 dev 31 function 0 Intel NM10 LPC rev 0x01 ahci0 at pci0 dev 31 function 2 Intel 82801GR AHCI rev 0x01: msi, AHCI 1.1 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: ATA, WDC WD6400BPVT-0, 01.0 SCSI3 0/direct fixed naa.50014ee25979e46a sd0: 610480MB, 512 bytes/sector, 1250263728 sectors sd1 at scsibus0 targ 1 lun 0: ATA, WDC WD10TPVT-00H, 01.0 SCSI3
Re: out of swap
On Jan 07 13:27:35, h...@stare.cz wrote: This is current/amd64. Unlike in previous versions, some memory-heavy processes (such as in building some big port) get killed with UVM: pid 11422 (cc1plus), uid 0 killed: out of swap On this machine, I have _no_ swap. However, the machine has 1G RAM, and most of it is free in the moment this happens. In fact, occasionaly, spawning a new xterm fails like this, even if there is nothing else happening and there is nearly 1G of free RAM. Has something changed in this respect? Do I _have_ to have swap? On Jan 07 13:34:10, o...@drijf.net wrote: UVM: pid 17950 (cc1plus), uid 0 killed: out of swap UVM: pid 11442 (cc1plus), uid 0 killed: out of swap cc1plus is known to require vast ammounts of memory in some cases. It is likely you *are* running out of swap. On Jan 07 14:03:08, es...@nerim.net wrote: 1G of ram is definitely not enough to build large ports on amd64. Everything mozilla-related, for instance, goes up to 2G and more while linking. This was indeed a build of gtk+3. On Jan 07 07:59:46, amitk...@gmail.com wrote: I ran into /etc/login.conf limits of datasize = 512M way before hitting any other limit, so is that bumped? This was running as root, who is staff: staff:\ :datasize-cur=800M:\ :datasize-max=infinity:\ :maxproc-max=512:\ :maxproc-cur=128:\ :ignorenologin:\ :requirehome@:\ :tc=default:
Re: out of swap
On Jan 07 15:14:21, h...@stare.cz wrote: On Jan 07 13:27:35, h...@stare.cz wrote: This is current/amd64. Unlike in previous versions, some memory-heavy processes (such as in building some big port) get killed with UVM: pid 11422 (cc1plus), uid 0 killed: out of swap On this machine, I have _no_ swap. However, the machine has 1G RAM, and most of it is free in the moment this happens. In fact, occasionaly, spawning a new xterm fails like this, even if there is nothing else happening and there is nearly 1G of free RAM. Has something changed in this respect? Do I _have_ to have swap? On Jan 07 13:34:10, o...@drijf.net wrote: UVM: pid 17950 (cc1plus), uid 0 killed: out of swap UVM: pid 11442 (cc1plus), uid 0 killed: out of swap cc1plus is known to require vast ammounts of memory in some cases. It is likely you *are* running out of swap. On Jan 07 14:03:08, es...@nerim.net wrote: 1G of ram is definitely not enough to build large ports on amd64. Everything mozilla-related, for instance, goes up to 2G and more while linking. This was indeed a build of gtk+3. On Jan 07 07:59:46, amitk...@gmail.com wrote: I ran into /etc/login.conf limits of datasize = 512M way before hitting any other limit, so is that bumped? This was running as root, who is staff: No, sorry; root is in the daemon class: daemon:\ :ignorenologin:\ :datasize=infinity:\ :maxproc=infinity:\ :openfiles-cur=128:\ :stacksize-cur=8M:\ :localcipher=blowfish,8:\ :tc=default:
Re: out of swap
On Jan 07 17:09:16, es...@nerim.net wrote: who cares ? the limiting factor here is 1G of memory. keep in mind that 64 bits ~= twice the size for some things, which include compiling and linking code. There are lots of *large* stragglers in the ports tree that won't compile within 1G of memory, heck, they can go over 2G in some cases (landry@ is starting to hit hard limits on some 32 bit machines, for instance). Theo is right: a *huge* default limit *for every normal process* is wrong. But compiling big ports is not normal. :) Right. For starters, you could use the provided snapshots. If you don't, I use snapshots and prebuilt packages whenever I can. Compiling this was a workaround - you're supposed to know what you're doing (obviously, there's something missing there). Yesterday's current/amd64, as mirrored at ftp://ftp5.eu.openbsd.org/pub/OpenBSD/snapshots/amd64/ has sets from Jan 5 and x*-sets from Jan 4. I'm not sure if that is the reason, but the obligate pkg_add -ui says Can't install gtk+3-3.6.3 because of libraries |library freetype.19.0 not found | /usr/X11R6/lib/libfreetype.so.17.2 (system): bad major | /usr/X11R6/lib/libfreetype.so.18.0 (system): bad major | /usr/X11R6/lib/libfreetype.so.18.1 (system): bad major | /usr/X11R6/lib/libfreetype.so.18.2 (system): bad major | /usr/X11R6/lib/libfreetype.so.18.3 (system): bad major That's why I am bulding it from ports (and getting the out-of-swap errors). I don't mind waiting for a newer freetype or rebulding xenocara. I was just confused by the swap messages, which seems to be explained now. Thanks. Heck, I even added a few paragraphs about bulk build hints to ports(7) recently. Time for me to re-read then. You could also question whether it's reasonable to need THAT much memory to compile and link that code. Unfortunately, we're stuck with the tools that exist. Developping a more efficient compiler+linker is a *huge* adventure... No doubt. oh, and most people out there *won't even care*. If you whine that you can't compile stuff with your 1G of memory, a lot of developers will laugh at the puny amount of memory you have on your development machine. I just didn't know that 1G of RAM that my machine has (laugh away) is not enough for compiling _those_ ports, and that in fact I *will* be hitting (my nonexistent) swap, as Otto explained. Now I do. Thank you.
Re: Strange ksh history behaviour
On Jan 07 14:36:53, s...@spacehopper.org wrote: On 2013-01-07, Sébastien Marie semarie-open...@latrappe.fr wrote: What am I missing here? Can someone confirm this? You need to set your command-line editing mode to emacs. In order to keep EDITOR to vi, you should set VISUAL to emacs in your .profile: VISUAL=emacs EDITOR=vi export VISUAL EDITOR Many programs prefer VISUAL over EDITOR, so this is only of limited help. e.g. mutt: EDITOR Specifies the editor to use if VISUAL is unset. VISUAL Specifies the editor to use when composing messages.
Re: out of swap
Can't install gtk+3-3.6.3 because of libraries |library freetype.19.0 not found | /usr/X11R6/lib/libfreetype.so.17.2 (system): bad major | /usr/X11R6/lib/libfreetype.so.18.0 (system): bad major | /usr/X11R6/lib/libfreetype.so.18.1 (system): bad major | /usr/X11R6/lib/libfreetype.so.18.2 (system): bad major | /usr/X11R6/lib/libfreetype.so.18.3 (system): bad major That's why I am bulding it from ports (and getting the out-of-swap errors). I don't mind waiting for a newer freetype or rebulding xenocara. Right, the rebuilt xenocara (unlike the current x* sets) provides freetype.so.19 and gtk+3 and everything above is happy via pkg_add -ui.
Re: out of swap
On Jan 07 14:13:15, bra...@gmail.com wrote: Would http://www.openbsd.org/faq/faq14.html#Swap fix your issue? Specifically, section 14.5.3 where you create a swap space and add it to your swap pool? The issue here was my ignorance of the _need_ for more RAM or swap. It's resolved.
midi(4) nitpicking
Index: midi.4 === RCS file: /cvs/src/share/man/man4/midi.4,v retrieving revision 1.26 diff -u -p -r1.26 midi.4 --- midi.4 4 Oct 2010 09:32:43 - 1.26 +++ midi.4 8 Jan 2013 02:08:13 - @@ -243,8 +243,7 @@ and later largely rewritten by MIDI hardware was designed for real time performance and software using such hardware must be able to process MIDI events without any noticeable latency (typically no more than 5ms, which -corresponds to the time it takes to the sound to propagate 1.75 -meters). +is the time it takes for sound to propagate 1.75 meters). .Pp The .Ox
Re: vfs.nfs.iothreads
On Jan 03 10:06:38, j...@kerhand.co.uk wrote: On Sun, Dec 23, 2012 at 08:01:46PM +0001, Jason McIntyre wrote: On Sun, Dec 23, 2012 at 08:17:01PM +0100, Jan Stary wrote: Yes, on the _client_ (sorry, I should have been explicit). What got me trying it is that sysctl(8) says To adjust the number of kernel nfsio threads used to service asynchronous I/O requests on an NFS _client_ machine. Your diff seems to imply that this affects the _server_. However, on the client, vfs.nfs.iothreads jumps to 4 as soon as I mount the NFS share. On the server, it stays at -1. On the client, when I start copying from the server, it stays at 4; on the server it stays at -1. Same when I copy the other way round. So it really seems to affect the client (as sysctl(8) currently says), which I think makes your diff incorrect. After I unmount the share on the client, vfs.nfs.iothreads stays on 4; I set that manually to -1, and it jumps to 20, without even having anything NFS-mounted. Is that intended? Setting it manually to anything but -1 then panicked my 5.2/i386 client. (I would try current, but that's currently not bootable on my i386 laptop.) ok, so unless someone steps up and explains to me how this is meant to work i can;t do much... so after some help from blambert, i've committed a doc fix. Thanks, less confusion. vfs.nfs.iothreads is still mentioned (and commented out) in the default /etc/sysctl.conf - should that go too? i've not documented the fact that -1 is kind of the default. i'm not sure if explaining it is that helpful. nor do i know why it's done this way. Could a NFS dude please kindly shed some light on how vfs.nfs.iothreads works? In particular, is it supposed to affect the client or server behaviour? If the user is supposed to be able to use it, the manpage should describe how it works, right? If OTOH the user is not supposed to touch vfs.nfs.iothreads, the documentation should clearly say so (and it probably would have to go from sysctl.conf). I for one can happily leave it to the OS, and only tried bumping it up on my busy NFS client upon reading about it in sysctl(3,8). Thank you Jan
Re: vfs.nfs.iothreads
On Jan 05 14:35:40, j...@kerhand.co.uk wrote: i hope the diff committed is clear about that: NFS_NIOTHREADS The number of I/O kernel threads for NFS clients. Silly me, I was reading the old version. Yes, this is clear of course.
Re: Jan 4, 2013 snapshot fails with DHCP
On Jan 04 12:05:53, jpelt...@sfu.ca wrote: I just tried to use the latest amd64 snapshot to prepare for an upgrade to our firewall. We use DHCP during initial installation to PXE boot and perform the install at which point we configure through site52.tgz. However, during installation and after boot DHCP reports the following error Cannot lstat() '/var/db/dhclient.leases.bge0': No such file or directory it does this for all interfaces and DHCP fails to configure the interface. This does not happen with 5.2-RELEASE. I've had the same problem with this snapshot. Simply escaping to shell and doing /var/db/dhclient.leases.bge0 dhclient bge0 solved that.
Re: 3k machines
On Jan 02 09:49:13, ji...@devio.us wrote: On Wed, Jan 02, 2013 at 10:37:37AM -0200, Friedrich Locke wrote: Don't get me wrong. I only said they have 3K machine. I never said they are using OBSD. Actually, only servers are OBSD. For desktops, they are using win/linux. I am trying to change those desktops from win/linux to OBSD. If a company lets you convert 3000 of their machines to obsd, a followup to http://www.undeadly.org/cgi?action=articlesid=20110420080633 would be in order.
serial over USB
This is 5.2/i386 on an IBM Thinkpad T40. As this laptop does not have a serial port, I bought me this USB-to-serial gizmo: uplcom0 at uhub2 port 2 Prolific Technology Inc. USB 2.0 To COM Device rev 1.10/3.00 addr 2 ucom0 at uplcom0 I am trying to an ALIX running current/i386. From a machine with a serial port, I connect as cu -l /dev/cua00 -38400 and it works fine. The baudrate is indeed 38400; it is set so on the ALIX, and /etc/boot/conf says stty com0 38400 set tty com0 Now from this Thinkpad, I try to connect with cu -l /dev/cuaU0 -38400 That say 'Connected', but nothing else happens. I can see a garbled login screen such as kXKMr/i386 (gw.stare.cz) (tty00) login: -i I usually see something like that with a wrong baudrate. There is no reaction to nothing. All I can do is ~. to disconnect. What kind of problem is this? Can my ucom do 38400? How do I find out? Would it make sense to try other baudrates (on both the ALIX and my end, obviously)? Is anybody using an USB-to-serial connection to an ALIX? Jan OpenBSD 5.2 (GENERIC) #278: Wed Aug 1 10:04:16 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 real mem = 804188160 (766MB) avail mem = 780189696 (744MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) io address conflict 0x5800/0x8 io address conflict 0x5808/0x4 io address conflict 0x5810/0x8 io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 mem address conflict 0xb000/0x1000 mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7f:83:fa ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:0c:f1:16:9b:b8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HTS548040M9AT00 wd0: 16-sector PIO, LBA, 35087MB, 71859186 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8083N, 0K03 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5 spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2100CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not
Re: serial over USB
On Jan 02 23:02:02, com...@daknet.org wrote: Is anybody using an USB-to-serial connection to an ALIX? Yes i am. We have many Alix 2D13 boards that we use as routers running OpenBSD 5.2 on many sites. I use a USB-to-serial cable to configure them without problem but i've never used anything else than screen or minicom. You could try with these tools... screen is a multiplexing (text)window manager which you can run on the remote machine once you are logged in. screen itself does no remote connection, so I believe it's irrelevant here. I haven;t used minicom yet - I use cu(1), and now am looking at tip(1). But I don't think my problem is cu's or tip's problem. Also I would like to stay in base. The default baud rate on alix boards is 38400 but can be changed in cmos setup if you want (pressing S during memory test). I forgot whether 38400 was the default or I changed it to that, but at any rate (ha, pun) that's what is working from any (non-USB) serial port. So I speculate that my problem is with the ucom, not with the connecting software tools above.
Re: serial over USB
On Jan 02 23:32:43, mmakassi...@gmail.com wrote: On 2 January 2013 23:14, Jan Stary h...@stare.cz wrote: On Jan 02 23:02:02, com...@daknet.org wrote: Is anybody using an USB-to-serial connection to an ALIX? Yes i am. We have many Alix 2D13 boards that we use as routers running OpenBSD 5.2 on many sites. I use a USB-to-serial cable to configure them without problem but i've never used anything else than screen or minicom. You could try with these tools... screen is a multiplexing (text)window manager which you can run on the remote machine once you are logged in. screen itself does no remote connection, so I believe it's irrelevant here. Actually screen can also be used as a serial terminal. I wasn't aware of that - thanks. It's as easy as screen /dev/ttyS0 38400 screen /dev/cuaU0 38400 does nothing besides screen gradually consuming all of CPU. I haven;t used minicom yet - I use cu(1), and now am looking at tip(1). But I don't think my problem is cu's or tip's problem. Also I would like to stay in base. The default baud rate on alix boards is 38400 but can be changed in cmos setup if you want (pressing S during memory test). I forgot whether 38400 was the default or I changed it to that, but at any rate (ha, pun) that's what is working from any (non-USB) serial port. So I speculate that my problem is with the ucom, not with the connecting software tools above. Have you tried other USB ports ? What software/settings are you using to connect ? cu -l /dev/cuaU0 -38400 A quick Google search suggests both screen /dev/ttyUSB0 38400 and screen /dev/ttyUSB0 38400,cs8 should work. Same as above - screen just eats the CPU but nothing else happens.
Re: ext2fs read errors
On Dec 30 10:43:00, m.vandu...@jonker.nl wrote: I'm migrating my data from an ext3 partition (formatted under Debian 6.0, sparc64) to my new i386 OBSD system. You need to give more detail. You installed an i386 obsd machine, and did what? Took an ext3fs disk out of a Debian sparc64 machine, put it in the new obsd machine? How did you mount it? How exactly are you migrating it? When copying I found out that some files weren't copied correctly and returned the error: read error: Invalid argument. *Some* files. Other files copied correctly? Can you tell a pattern of which was which? The files are usable when mounting the disk under i386 Debian, so it's not an cpu-architectural problem. So, you put the same sparc64 disk into an i386 Debian machine, and did what exactly? Copied the whole thing over, with cp, without a read error? Other programs trying to operate on these files via ext2fs also fail with the same notion, (e.g. md5). And extracting these files from a tarball also result in the same error. What tarball? The ls command does succeed and shows the correct information (file-size, access-time, etc). When moving these files over via nfs the problem doesn't occur and the files are saved correctly on my ffs partition. That (or scp) is how I always copied files from one FS/OS/arch to a completely different FS/OS/arch.
Re: ext2fs read errors
Other programs trying to operate on these files via ext2fs also fail with the same notion, (e.g. md5). And extracting these files from a tarball also result in the same error. What tarball? I also tried placing the corrupted files in a tarball under Debian to see if it could have anything to do with file-names or whatever, but once the corrupted files were reached it gave me the same read error. (this was also done on the ext3 fs) Sigh, files were reached. Meaning what? As soon as the tar'ing Debian system got to them, while creating the tarball, it failed with a read error? Do you mean to say you already have read problems on the (source) Debian system? Or as soon as the untar'ing OpenBSD system reached those files while reading the tarball, it did what? Failing to read the tarball is not the same error as failing to read the original files. You need to tell us what _exactly_ you did, and what _exactly_ happened; preferably with a script(1). When moving these files over via nfs the problem doesn't occur and the files are saved correctly on my ffs partition. That (or scp) is how I always copied files from one FS/OS/arch to a completely different FS/OS/arch. And my point isn't the migration of my data. There is a work-around so I already fixed that. That's not a workaround. You cannot take a disk holding a certain filesystem from a certain OS on a certain architecture, put it into a different machine of a different architecture, running a different OS, mount it as a different filesystem, and just expect it to work. Going through a defined protocol such as NFS of SCP is the normal way.
Re: ext2fs read errors
When moving these files over via nfs the problem doesn't occur and the files are saved correctly on my ffs partition. That (or scp) is how I always copied files from one FS/OS/arch to a completely different FS/OS/arch. And my point isn't the migration of my data. There is a work-around so I already fixed that. That's not a workaround. You cannot take a disk holding a certain filesystem from a certain OS on a certain architecture, put it into a different machine of a different architecture, running a different OS, mount it as a different filesystem, and just expect it to work. Going through a defined protocol such as NFS of SCP is the normal way. This should not be an issue (this is also my response to Rogier). Ext3 is nothing more than ext2 with extra journaling features enabled, So in particular, the ext3 inode structure is precisely the ext2 inode structure? If a filesystem isn't a defined protocol then it shouldn't be offered as a mountable filesystem. Nobody is offering ext3 as a mountable filesystem on OpenBSD.
Re: ext2fs read errors
Nobody is offering ext3 as a mountable filesystem on OpenBSD. http://www.openbsd.org/faq/faq8.html#Journaling http://www.openbsd.org/faq/faq14.html#foreignfs
NFS umount on shutdown
This is 5.2/i386 client (ibm) on an IBM Thinkpad. It mounts a NFS share from another box (current/amd64). Everything works fine, except when the client shuts down, the NFS handle is still recognized on the (amd64) server. box:~$ showmount -a All mount points on localhost: ibm.stare.cz:/media Is that intended? One would expect the shutdown procedure to umount all filesystems, including NFS. Jan
Re: Most idiotic spammer award
On Jul 03 23:44:55, pe...@bsdly.net wrote: Kevin Chadwick ma1l1i...@yahoo.co.uk writes: I had a spammer tied up with spamd for a total of 4hours in 20 minute sessions. He was trapped by greyscanner and two dnsbl. The spammers saving grace from this award is the last two entries dropped to 20 seconds rather than 20 minutes before disconnection so I guess this ones no longer a single cell organism. Anyone got a candidate story for The most idiotic spammer award? Well, you've got a fairly strong candidate right there. It's also possible that a bit of data mining on the spamd logs in our various crypts could be a source of entertainment. Here at here at bsdly.net and friendlies we've had some hanging on for hours for a single failed delivery attempt (see eg [1]) and while I was tending more actively to my spambait address list ([2]) I noticed quite a few that would spend weeks after getting greytrapped, attempting to deliver to every last one of the 10,000+ addresses in that list. I have recently set up something similar at my MX, with some simple statistics displayed at stare.cz/spam/ The most hardworking spambot so far spent 321616 seconds talking to spamd, a bit short of four days of time.
sort -un gives just the last line
I have a list of IP addresses. Sorting them with sort -n works as expected. Sorting them with sort -u works as expected. $ sort -u /tmp/list 173.194.64.26 173.194.64.27 173.194.65.26 173.194.65.27 173.194.66.26 173.194.66.27 173.194.67.26 173.194.67.27 173.194.69.26 173.194.70.26 173.194.70.27 173.194.71.26 173.194.71.27 173.194.78.26 173.194.78.27 But: $ sort -u -n /tmp/list 173.194.70.27 This is just the last one in the file. Am I missing something obvious? Jan
Re: current/macppc on Mac Mini
On Jun 13 14:12:45, h...@stare.cz wrote: This is current/macppc on a late 2005 Mac Mini, which is PowerMac10,2. I needed to hardcode the root device into the kernel config, otherwise boot stops with unknown root device, as discussed in the misc thread that starts at http://marc.info/?l=openbsd-miscm=133932614509618w=2 - probably a discrepancy in what ofw passes to the kernel. Just upgraded to a current again, with the same problem, and the same solution: Index: GENERIC === RCS file: /cvs/src/sys/arch/macppc/conf/GENERIC,v retrieving revision 1.216 diff -u -p -r1.216 GENERIC --- GENERIC 4 Dec 2012 10:58:05 - 1.216 +++ GENERIC 26 Dec 2012 14:46:06 - @@ -27,7 +27,7 @@ optionWSDISPLAY_COMPAT_RAWKBD # provid option USER_PCICONF# user-space PCI configuration -config bsd swap generic +config bsd root on wd0a mainbus0 at root cpu* at mainbus0 [ using 501892 bytes of bsd ELF symbol table ] console out [ATY,RockHopper2_A]console in [keyboard] , using USB using parent ATY,RockHopper2Paren:: memaddr 9800 size 800, : consaddr 9c008000, : ioaddr 9002, size 2: memtag 8000, iotag 8000: width 800 linebytes 1024 height 600 depth 8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.2-current (GENERIC.MP) #4: Wed Dec 26 15:08:07 CET 2012 r...@www.stare.cz:/usr/src/sys/arch/macppc/compile/GENERIC.MP real mem = 1073741824 (1024MB) avail mem = 1032146944 (984MB) mainbus0 at root: model PowerMac10,2 cpu0 at mainbus0: 7447A (Revision 0x102): 1499 MHz: 512KB L2 cache mem0 at mainbus0 spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0 memc0 at mainbus0: uni-n rev 0xd2 hw-clock at memc0 not configured kiic0 at memc0 offset 0xf8001000 iic0 at kiic0 mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff pci0 at mpcpcibr0 bus 0 pchb0 at pci0 dev 11 function 0 Apple UniNorth AGP rev 0x00 appleagp0 at pchb0 agp0 at appleagp0: aperture at 0x0, size 0x1000 vgafb0 at pci0 dev 16 function 0 ATI Radeon 9200 rev 0x01, mmio wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation) mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x5 pci1 at mpcpcibr1 bus 0 pchb1 at pci1 dev 11 function 0 Apple UniNorth PCI rev 0x00 bwi0 at pci1 dev 18 function 0 Broadcom BCM4318 rev 0x02: irq 52, address 00:11:24:bf:cb:2a macobio0 at pci1 dev 23 function 0 Apple Intrepid rev 0x00 openpic0 at macobio0 offset 0x4: version 0x4614 feature 3f0302 LE macgpio0 at macobio0 offset 0x50 modem-reset at macgpio0 offset 0x1d not configured modem-power at macgpio0 offset 0x1c not configured macgpio1 at macgpio0 offset 0x9 irq 47 programmer-switch at macgpio0 offset 0x11 not configured gpio5 at macgpio0 offset 0x6f not configured gpio6 at macgpio0 offset 0x70 not configured extint-gpio15 at macgpio0 offset 0x67 not configured escc-legacy at macobio0 offset 0x12000 not configured zsc0 at macobio0 offset 0x13000: irq 22,23 zstty0 at zsc0 channel 0 zstty1 at zsc0 channel 1 aoa0 at macobio0 offset 0x1: irq 30,1,2 audio0 at aoa0 timer at macobio0 offset 0x15000 not configured adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets apm0 at adb0: battery flags 0x0, 0% charged piic0 at adb0 iic1 at piic0 maxtmp0 at iic1 addr 0xc8: max6642 kiic1 at macobio0 offset 0x18000 iic2 at kiic1 wdc0 at macobio0 offset 0x2 irq 24: DMA ohci0 at pci1 dev 24 function 0 Apple Intrepid USB rev 0x00: couldn't map interrupt ohci1 at pci1 dev 25 function 0 Apple Intrepid USB rev 0x00: couldn't map interrupt ohci2 at pci1 dev 26 function 0 Apple Intrepid USB rev 0x00: irq 29, version 1.0, legacy support ohci3 at pci1 dev 27 function 0 NEC USB rev 0x43: irq 63, version 1.0 ohci4 at pci1 dev 27 function 1 NEC USB rev 0x43: irq 63, version 1.0 ehci0 at pci1 dev 27 function 2 NEC USB rev 0x04: irq 63 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1 usb1 at ohci2: USB revision 1.0 uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1 usb2 at ohci3: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 usb3 at ohci4: USB revision 1.0 uhub3 at usb3 NEC OHCI root hub rev 1.00/1.00 addr 1 mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6 pci2 at mpcpcibr2 bus 0 pchb2 at pci2 dev 11 function 0 Apple UniNorth PCI rev 0x00 kauaiata0 at pci2 dev 13 function 0 Apple Intrepid ATA rev 0x00 wdc1 at kauaiata0 irq 39: DMA atapiscsi0 at wdc1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-R UJ-825, DAND ATAPI 5/cdrom removable wd0 at wdc1 channel 0 drive 1: ST9808211A wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors cd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 wd0(wdc1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 Apple UniNorth
greyscanner - sender with no MX or A
This is spamd and greyscanner on current/macppc. Generally, it works very well for me. Recently, I see greyscanner trapping hosts that try to mail from sender with no MX or A, such as Dec 26 17:21:13 www greyscanner[31861]: Trapped 87.219.109.249: Mailed from sender bernina.co.il with no MX or A That's a spammer alright, a typical mail from there looks like (GREY) 87.219.109.249: surchargeg...@bernina.co.il - xyfstare...@stare.cz However, there _is_ a MX and A record for bernina.co.il: $ host -t a bernina.co.il bernina.co.il has address 62.90.102.9 $ host -t mx bernina.co.il bernina.co.il mail is handled by 20 mx5.adcd.co.il. bernina.co.il mail is handled by 10 mx4.adcd.co.il. So there is something wrong. Same way, gmail.com got trapped: Dec 26 20:54:32 www greyscanner[12163]: Trapped 209.85.215.177: Mailed from sender gmail.com with no MX or A Needless to say, there are MX and A records for gmail.com (and there must have been at Dec 26 20:54:32 too). What could be causing this? DNS resolving works fine on this machine. Could it be that for some reason, greyscanner failed to resolve at that precise moment? Can the $DNS_SOCK_MAX = 50; setting have something to do with it? Is anyone else seeing this? Jan
Re: greyscanner - sender with no MX or A
On Dec 26 21:31:26, h...@stare.cz wrote: This is spamd and greyscanner on current/macppc. Generally, it works very well for me. Recently, I see greyscanner trapping hosts that try to mail from sender with no MX or A, such as Dec 26 17:21:13 www greyscanner[31861]: Trapped 87.219.109.249: Mailed from sender bernina.co.il with no MX or A That's a spammer alright, a typical mail from there looks like (GREY) 87.219.109.249: surchargeg...@bernina.co.il - xyfstare...@stare.cz However, there _is_ a MX and A record for bernina.co.il: $ host -t a bernina.co.il bernina.co.il has address 62.90.102.9 $ host -t mx bernina.co.il bernina.co.il mail is handled by 20 mx5.adcd.co.il. bernina.co.il mail is handled by 10 mx4.adcd.co.il. So there is something wrong. Same way, gmail.com got trapped: I looked over my log with grep 'no MX' /var/log/maillog | awk '{print$11}' | sort -u /tmp/bad cat /tmp/bad | xargs -n1 host Most of them are actually spammers, but almost every of them _does_ have valid MX and A records. admail.com.ar atayatirim.com.tr axsone.com bernina.co.il blomnet.com bmacapital.com buhrmann.com buxrud.se cascade.oostrozebeke.com cbthomebank.com chinesegamer.net ctrip.com deltamar.net dilos.com ef-law.com etisbew.com eurobiobiz.com fiemg.com.br financial-tracking.com glgmc.org globalnavipro.com gmail.com greaterlouisville.com harrisoncapmgmt.com hemc.net iicbelgium.com legionofrassilon.net lsinter.net multiform.at naahq.org pacunion.com porterorlin.com ras-mgu.com regallager.com retalix.com ritzier.com rmgindia.com robinsongrimes.com roulle.com rouvet.com royalautos.com royalprime.com siaminet.com smilde-bv.nl taupower.se twaron.com uky.edu uncw.edu uob-oskam.com.my wonderware.com yahoo.com yahoo.nl yhbia.com
Re: spammers getting less stupid?
I see it too. I also use greyscanner to catch spammers and I see a lot of spam to random numbers and letters@mydomains. So I trap all hosts sending to addresses with numbers in them (as I don't have any legit accounts with numbers). This catches almost all spam. I finally got to deploying greyscanner on my mailservers, and did something similar: trap every recipient address with two or more digits in the user part (one digit could be a typo, say a '2' before the '@'). This catches most of it. I make all the ficticious addresses into spam traps. Here's a bit of the output from my spamd database: SPAMTRAP|a3d2...@witworx.com SPAMTRAP|a7c85e...@witworx.com ... I do the same, but it seems less relevant now. In the past, when I published a trap address, the bots harvested it and tried to send to it, getting themselves trapped; but now they just shoot out to wh4t3v3rg4rb...@mydomain.org, apparently generating the user part themselves (as opposed to harvesting real/trap addresses somewhere). I clean out the traps every few days with a script and back they come with new tries. Yes. Recently, the 64.18.0.0 farm has been active on me. $ spamdb | grep TRAPPED TRAPPED|86.122.194.113|1356282022 TRAPPED|212.110.189.85|1356283885 TRAPPED|216.106.48.217|1356289572 TRAPPED|64.18.0.21|1356308593 TRAPPED|171.76.91.71|1356281598 TRAPPED|64.18.0.140|1356286482 TRAPPED|217.200.184.87|1356290678 TRAPPED|64.18.0.23|1356304740 TRAPPED|64.18.0.142|1356285089 TRAPPED|194.228.32.128|1356286433 TRAPPED|64.18.0.25|1356298962 TRAPPED|64.18.3.31|1356302574 TRAPPED|64.18.0.177|1356322196 TRAPPED|91.121.102.20|1356281598 TRAPPED|178.236.112.75|1356281598 TRAPPED|64.18.0.187|1356301851 TRAPPED|64.18.0.144|1356295832 TRAPPED|67.228.3.116|1356298119 TRAPPED|64.18.0.27|1356310158 TRAPPED|64.18.0.181|1356286964 TRAPPED|217.72.102.116|1356281598 TRAPPED|64.20.227.133|1356282002 TRAPPED|64.18.0.146|1356305342 TRAPPED|64.18.0.183|1356294508 TRAPPED|213.174.32.135|1356281598 TRAPPED|89.189.37.102|1356286482 TRAPPED|64.18.0.148|1356290415 TRAPPED|64.18.0.247|1356293785 TRAPPED|64.18.0.185|1356286052 TRAPPED|74.125.149.196|1356287445 _All_ of the 64.18.0.0 hosts are trying dd02...@stare.cz for two days now ... @GOOD = ( qr'^[A-Za-z\.\+]+@mydomain.(com|se)$'i, ); $COMPREHENSIVE = 1; I was trying this too, until a customer made a typo, blocking his company's smtp server. On Nov 05 22:36:30, s...@spacehopper.org wrote: On 2012-11-01, Jan Stary h...@stare.cz wrote: Anyway, it seems (some) spambots got less demented and actually do resend, getting themselves whitelisted - thus working themselves around the whole premise of greylisting. Not the whole premise... A good part of it is to just delay the mail, this increases the chance that spamtraps etc will have picked up the mail before you accept it, thus increasing the effectiveness of other checks (DNSBL, razor/pyzor, etc). True. Greyscanner has helped me very much! Jan
Re: vfs.nfs.iothreads
On Dec 21 19:01:44, j...@kerhand.co.uk wrote: On Fri, Dec 21, 2012 at 02:34:50PM +0100, Jan Stary wrote: On 5.2/i386, man sysctl says To adjust the number of kernel nfsio threads used to service asynchronous I/O requests on an NFS client machine: # sysctl vfs.nfs.iothreads=4 The default is 4; 20 is the maximum. See nfssvc(2) and nfsd(8) for further discussion. Does it still apply? The default now seems to be # sysctl vfs.nfs.iothreads vfs.nfs.iothreads=-1 which scales itself to 4 when I copy a file from a NFS server. Should I be touching vfs.nfs.iothreads manually? Setting it to 20 just panicked my 5.2/i386. Also, neither nfssvc(2) nor nfsd(8) seems to contain any further discussion of this. i get -1 here too. but you;re saying that the value changes to 4 when transferring, right? Yes, on the _client_ (sorry, I should have been explicit). What got me trying it is that sysctl(8) says To adjust the number of kernel nfsio threads used to service asynchronous I/O requests on an NFS _client_ machine. Your diff seems to imply that this affects the _server_. However, on the client, vfs.nfs.iothreads jumps to 4 as soon as I mount the NFS share. On the server, it stays at -1. On the client, when I start copying from the server, it stays at 4; on the server it stays at -1. Same when I copy the other way round. So it really seems to affect the client (as sysctl(8) currently says), which I think makes your diff incorrect. After I unmount the share on the client, vfs.nfs.iothreads stays on 4; I set that manually to -1, and it jumps to 20, without even having anything NFS-mounted. Is that intended? Setting it manually to anything but -1 then panicked my 5.2/i386 client. (I would try current, but that's currently not bootable on my i386 laptop.) Jan
vfs.nfs.iothreads
On 5.2/i386, man sysctl says To adjust the number of kernel nfsio threads used to service asynchronous I/O requests on an NFS client machine: # sysctl vfs.nfs.iothreads=4 The default is 4; 20 is the maximum. See nfssvc(2) and nfsd(8) for further discussion. Does it still apply? The default now seems to be # sysctl vfs.nfs.iothreads vfs.nfs.iothreads=-1 which scales itself to 4 when I copy a file from a NFS server. Should I be touching vfs.nfs.iothreads manually? Setting it to 20 just panicked my 5.2/i386. Also, neither nfssvc(2) nor nfsd(8) seems to contain any further discussion of this. Jan
Re: no BIOS memory map supplied
On Nov 18 12:04:46, h...@stare.cz wrote: On Nov 14 08:39:22, h...@stare.cz wrote: On Nov 14 08:35:37, h...@stare.cz wrote: With today's i386 snapshot (Nov 14th) and the previous (Nov 11th), the booting bsd goes straight to ddb prompt saying panic: no BIOS memory map supplied This is on a Thinkpad T40. Is anyone else seeing this? Forgot to add: here is an older snapshot that worked fine: The current/i386 snapshot (Nov 17th) is working fine again. And the last one and the previous again don't. Can anyone please give a clue to what's happening? Below is the last current/i386 that worked for me on this laptop. (Some of my other machines work with the later currents too, and 5.2. works fine everywhere.) Jan OpenBSD 5.2-current (GENERIC) #87: Sat Nov 17 13:27:31 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2,PERF real mem = 267317248 (254MB) avail mem = 251985920 (240MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xb000/0x1000 2:0:1: mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7f:83:fa ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:0c:f1:16:9b:b8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HTS548040M9AT00 wd0: 16-sector PIO, LBA, 35087MB, 71859186 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8083N, 0K03 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
suspend on Thinkpad T40
This is current/i386 on a Thinkpad T40 (dmesg below). It's an APM machine; no acpi. I am running apmd -A, and have scripts in /etc/apm/ that just go logger -f /var/log/messages $0 apm -S indeed puts the machine to standby, but comes right back up itself. Is that intended? Nov 20 09:11:49 ibm root: /etc/apm/standby Nov 20 09:12:02 ibm root: /etc/apm/resume Nov 20 09:12:02 ibm apmd: system resumed from APM sleep Suspend mostly works, trigerred either by an explicit apm -s, or Fn+F4, or closing the lid. Nov 20 09:25:41 ibm root: /etc/apm/suspend Nov 20 09:26:16 ibm root: /etc/apm/resume Nov 20 09:26:16 ibm apmd: system resumed from APM sleep After a successfull resume, everything seems to be in order, including X and open connections (haven't tested wifi though). Mostly means that it _usually_ resumes back up, by either pressing the power button or pressing Fn. But sometimes it doesn't. The only pattern I have spotted is that it fails to resume back if it has been suspended for longer: after two minutes of suspend, it always comes back; after ten minutes of suspend, it never comes back. What could be causing that? The exact method of suspending (lid, button, Fn+F4) seems to be irrelevant to this; the method of waking up too: when it happens, there is no reaction to nothing. The only way to get back up then is to remove the power and battery and have a rough awakening. Being on AC or not, or plugging AC in or out during the sleep doesn't seem to make a difference either. Also, I have machdep.lidsuspend=0, but the machine still suspends when I close the lid - is that intended? Are there other settings that regulate when a suspend happens, possibly something that overrides machdep.lidsuspend? Hibernate (apm -Z or Fn+F12) never happens. Fn+F12 however makes the low beep that Fn+F4 makes, so perhaps it is attempting something; there is nothing in the logs though. The console/xterm says System will enter hibernate mode momentarily. but nothing happens after that. I understand that the suspend/hibernate subsystem is currently being heavily worked on, particularly on i386, and I want to thank the people improving that. Is there something specific I should test or report? Thank you for your time Jan OpenBSD 5.2-current (GENERIC) #87: Sat Nov 17 13:27:31 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2,PERF real mem = 267317248 (254MB) avail mem = 251985920 (240MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xb000/0x1000 2:0:1: mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7f:83:fa ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:0c:f1:16:9b:b8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at
Re: no BIOS memory map supplied
On Nov 14 08:39:22, h...@stare.cz wrote: On Nov 14 08:35:37, h...@stare.cz wrote: With today's i386 snapshot (Nov 14th) and the previous (Nov 11th), the booting bsd goes straight to ddb prompt saying panic: no BIOS memory map supplied This is on a Thinkpad T40. Is anyone else seeing this? Forgot to add: here is an older snapshot that worked fine: The current/i386 snapshot (Nov 17th) is working fine again.
address conflict
On an IBM THinkpad T40, dmesg reports address conflicts and I am not sure what exactly that means and whether to worry. The full dmesg and the full output of pcidump -v are below. Here are the snipets that seem relevant. 0:31:1: Intel 82801DBM IDE 0x: Vendor ID: 8086 Product ID: 24ca 0x0004: Command: 0005 Status ID: 0280 0x0008: Class: 01 Subclass: 01 Interface: 8a Revision: 01 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR io addr: 0x/0x0008 0x0014: BAR io addr: 0x/0x0004 0x0018: BAR io addr: 0x/0x0008 0x001c: BAR io addr: 0x/0x0004 0x0020: BAR io addr: 0x1860/0x0010 0x0024: BAR mem 32bit addr: 0x1000/0x0400 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 1014 Product ID: 052d 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 2:0:0: TI PCI1520 CardBus 0x: Vendor ID: 104c Product ID: ac55 0x0004: Command: 0107 Status ID: 0210 0x0008: Class: 06 Subclass: 07 Interface: 00 Revision: 01 0x000c: BIST: 00 Header Type: 82 Latency Timer: 40 Cache Line Size: 08 0x0010: Cardbus Control Registers Base Address: c0211000 0x0018: Primary Bus: 2 Cardbus Bus: 3 Subordinate Bus: 5 Cardbus Latency Timer: b0 0x001c: Memory Base 0: f000 0x0020: Memory Limit 0: 0x0024: Memory Base 1: f000 0x0028: Memory Limit 1: 0x002c: I/O Base 0: fffc 0x0030: I/O Limit 0: 0x0034: I/O Base 1: fffc 0x0038: I/O Limit 1: 0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 07c0 0x0040: Subsystem Vendor ID: 1014 Product ID: 0512 0x0044: 16-bit Legacy Mode Base Address: 0001 0x00a0: Capability 0x01: Power Management 2:0:1: TI PCI1520 CardBus 0x: Vendor ID: 104c Product ID: ac55 0x0004: Command: 0107 Status ID: 0210 0x0008: Class: 06 Subclass: 07 Interface: 00 Revision: 01 0x000c: BIST: 00 Header Type: 82 Latency Timer: 40 Cache Line Size: 08 0x0010: Cardbus Control Registers Base Address: c0212000 0x0018: Primary Bus: 2 Cardbus Bus: 6 Subordinate Bus: 8 Cardbus Latency Timer: b0 0x001c: Memory Base 0: f000 0x0020: Memory Limit 0: 0x0024: Memory Base 1: f000 0x0028: Memory Limit 1: 0x002c: I/O Base 0: fffc 0x0030: I/O Limit 0: 0x0034: I/O Base 1: fffc 0x0038: I/O Limit 1: 0x003c: Interrupt Pin: 02 Line: 0b Bridge Control: 07c0 0x0040: Subsystem Vendor ID: 1014 Product ID: 0512 0x0044: 16-bit Legacy Mode Base Address: 0001 0x00a0: Capability 0x01: Power Management 2:0:0: mem address conflict 0xb000/0x1000 2:0:1: mem address conflict 0xb100/0x1000 Can somebody please shed a light on this? Jan OpenBSD 5.2-current (GENERIC) #0: Fri Oct 19 10:07:44 CEST 2012 r...@ibm.stare.cz:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2 real mem = 267317248 (254MB) avail mem = 251990016 (240MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Re: address conflict
On other Thinkpads, this seems to be the case too: http://article.gmane.org/gmane.os.openbsd.newbies/2234
no BIOS memory map supplied
With today's i386 snapshot (Nov 14th) and the previous (Nov 11th), the booting bsd goes straight to ddb prompt saying panic: no BIOS memory map supplied This is on a Thinkpad T40. Is anyone else seeing this?
Re: no BIOS memory map supplied
On Nov 14 08:35:37, h...@stare.cz wrote: With today's i386 snapshot (Nov 14th) and the previous (Nov 11th), the booting bsd goes straight to ddb prompt saying panic: no BIOS memory map supplied This is on a Thinkpad T40. Is anyone else seeing this? Forgot to add: here is an older snapshot that worked fine: OpenBSD 5.2-current (GENERIC) #0: Fri Oct 19 10:07:44 CEST 2012 r...@ibm.stare.cz:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2 real mem = 267317248 (254MB) avail mem = 251990016 (240MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xb000/0x1000 2:0:1: mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7f:83:fa ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:0c:f1:16:9b:b8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HTS548040M9AT00 wd0: 16-sector PIO, LBA, 35087MB, 71859186 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8083N, 0K03 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: 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 wsmouse1 at pms0 mux 0 pms0: Synaptics touchpad, firmware 5.9 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt2 at isa0 port 0x3bc/4: polled npx0 at isa0 port 0xf0/16:
Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort
forward(5) of a_user (that's the one tried first) |/usr/local/bin/procmail after that delivery to b_user is not attempted. THis is relevant to my previous post: why is procmail failing here in the first place? I find that procmail always fails for me without the -f option. No idea, maybe procmail is still running and waiting for something to quit ? Can you check for the procmail process with top ? What happens is that procmail actually does append the message to the appropriate mailbox, but without the leading 'From ' line. (And apparently, it exits with a nonzero status, thus disturbing smtpd, which was the OP's problem as I understood it.) Jan
Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort
On Apr 14 19:48:24, mcmer-open...@tor.at wrote: hello (opensmtpd-) folks, I think OpenSMTPd aborts delivery to multiple aliased recipients as soon as a delivery attempt returns non-zero. I consider this unwanted: a super user defined delivery list in aliases(5) is not applied if some foolish luser messes up her/his .forward. How I found out about this: in aliases(5): foobar: b_user, a_user (Verbose log shows this get's reordered to a_user, b_user. I'm not sure that is good.) forward(5) of a_user (that's the one tried first) |/usr/local/bin/procmail after that delivery to b_user is not attempted. THis is relevant to my previous post: why is procmail failing here in the first place? I find that procmail always fails for me without the -f option. If I change a_user's forward(5) to |/usr/local/bin/procmail; exit 0 The same can be achieved, perhaps a bit more cleanly, by setting DELIVERED in your ~/.procmailrc If set to `yes' procmail will pretend (to the mail agent) the mail has been delivered. If mail cannot be delivered after having met this assignment (set to `yes'), the mail will be lost (i.e., it will not bounce).
spammers getting less stupid?
After cleaning my spamdb on the first of last month, I see that there are 572 WHITE hosts now. Only a handfull of those are legitimate (my mailserver is very low traffic, basically just mail for my family). Looking at the logs, I see that most of them got themselves whitelisted by actually resending within greyexp. Here is a typical host: WHITE|2.139.201.210|||1351517497|1351518564|1354630766|2|1 which is 210.red-2-139-201.staticip.rima-tde.net. It tried to connect at Mon Oct 29 14:31:37 CET 2012, and got WHITE at Mon Oct 29 14:49:24 CET 2012. It is obviously a spammer: Oct 29 15:19:26 biblio smtpd[26924]: b4f049e1: from=@, relay=210.red-2-139-201.staticip.rima-tde.net [2.139.201.210], stat=LocalError (530 5.0.0 Recipient rejected: 7e8a5...@stare.cz) Strangely, the only occurence of 2.139.201.210 in the last month's maillog is just this; that's half an hour after it got WHITE. What happend at Mon Oct 29 14:49:24 CET 2012 that made it WHITE? Anyway, it seems (some) spambots got less demented and actually do resend, getting themselves whitelisted - thus working themselves around the whole premise of greylisting. Are people seeing something similar? Jan
Re: openbsd host halted with unknown acpi event
On Oct 31 14:27:41, phess...@theapt.org wrote: On 2012 Oct 31 (Wed) at 18:05:09 +0200 (+0200), Rares Aioanei wrote: :On Wed, Oct 31, 2012 at 10:28:35AM +0400, Sergey Bronnikov wrote: : Yesterday I have found an unpleasent bug in OpenBSD. : : I started two virtual machines in qemu with netbsd and building : source inside each virtual machine. : After about 10 min laptop become overheated just below the keyboard, : Xorg was shutdowned and host halted with following messages on console: : : /bsd: acpithinkpad0: unknown event 0x6022 : /bsd: acpitz1: critical temperature exceeded 100C (3732K), shutting down : : Is described above load critical for openbsd? : What is an event 0x6022? I didn't find such event in dumped acpi tables. : :That is not a bug, but a feature to defend your hardware from being damaged by heat. Try opening your Thinkpad and cleaning it, and your problems will likely go away. 3732K is not the same as 100C. 3732 Kelvin is 3458.85 C, which is hot I believe I was at least once confused about the same thing, and was told on this list that the number really means (in your case) 373.2K - which is about 100C.
Re: Android tethering via urndis(4)
On Sep 02 18:46:41, h...@stare.cz wrote: On my amd64 workstation (see dmesg below), my android appears as an urndis(4) device a can provide the box with a network conection. urndis0 at uhub0 port 3 configuration 1 interface 0 SAMSUNG Electronics Co., Ltd. Samsung Android USB Device rev 2.00/4.00 addr 3 urndis0: address be:a1:fc:82:8f:c5 Trying to do the same on my i386 laptop (dmesg below), I get urndis0 at uhub0 port 1 configuration 1 interface 0 SAMSUNG Electronics Co., Ltd. Samsung Android USB Device rev 2.00/4.00 addr 2 urndis0: TIMEOUT urndis0: unable to get init response urndis0: TIMEOUT urndis0: unable to get query response urndis0: unable to get hardware address The very same happens on an IBM Thinkpad T40 running current/i386. That's USB 1.0 again; can someone please shed some light on whether USB 1.0 vs 2.0 is the problem? So far, it has not worked in any USB 1.0 slot, and has worked in every USB 2.0 slot (not that I have tried many). Jan OpenBSD 5.2-current (GENERIC) #36: Sun Oct 14 13:13:06 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2 real mem = 267317248 (254MB) avail mem = 251985920 (240MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xb000/0x1000 2:0:1: mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7f:83:fa ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:0c:f1:16:9b:b8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HTS548040M9AT00 wd0: 16-sector PIO, LBA, 35087MB, 71859186 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8083N, 0K03 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision
Re: spamd and greyscanner help needed..
On Oct 17 09:33:28, o...@drijf.net wrote: Op 17 okt. 2012 om 09:16 heeft Joakim Aronius joa...@aronius.com het volgende geschreven: * Boudewijn Dijkstra (sp4mtr4p.boudew...@indes.com) wrote: Op Tue, 16 Oct 2012 22:01:54 +0200 schreef Joakim Aronius joa...@aronius.com: Any ideas on what I am doing wrong? I would guess that there is a mistake in your pf.conf. Yep. I had added a 'log' keyword to the redirect rule for spamd (incoming 25 - 8025) to get some 'observability'... Spamlogd caught that log entry and immediately whitelisted the sender.. Its a bit unfortunate that it is then not possible to log the rdrs but I can live with that. To avoid this problem, use another pflog interface for spamlogd. See the man page for details. Exactly. This is why I have pflog1, just for spamlogd to use. Notice that log interfaces beyond pflog0 do not even exist by default; but it suffices to have 'up' in /etc/hostname.pflog1
softraid0: sd0 was not shutdown properly
This is current/i386 on IBM Thinkpad T40. I am using a crypto RAID to host my /home partition, set up in rc.local as follows: RAID=/dev/wd0o HOMEFS=/dev/sd0a echo mounting encrypted /home bioctl -h -v -c C -l $RAID softraid0 fsck $HOMEFS mount -v -o rw,softdep,noatime,nodev,nosuid $HOMEFS /home This has worked fine for some weeks. Now after the upgrade to current, it says softraid0: sd0 was not shutdown properly The filesystem that lives on sd0a thus created is clean and does not need fscking and mounts fine. sd0 at scsibus2 targ 1 lun 0: OPENBSD, SR CRYPTO, 005 SCSI2 0/direct fixed sd0: 20354MB, 512 bytes/sector, 41685328 sectors So everything works except I get this message when setting up the partition at boot time. Has something changed in the way softraid volumes are handled? In particular, is there something that needs to be done now to have the softraid 'shut down properly'? I shutdown with 'shutdown -h -p now' as always, but that gets me this message on the next boot. Jan OpenBSD 5.2-current (GENERIC) #36: Sun Oct 14 13:13:06 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2 real mem = 267317248 (254MB) avail mem = 251985920 (240MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xb000/0x1000 2:0:1: mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7f:83:fa ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:0c:f1:16:9b:b8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HTS548040M9AT00 wd0: 16-sector PIO, LBA, 35087MB, 71859186 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8083N, 0K03 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
turn ipw(4) off when not needed
This is current/i386 on an IBM Thinkpad T40. It comes with an ipw(4) wifi interface, which works fine. Anyway, the ipw(4) seems to be one of the substantial battery eaters. So I would like to not use the interface when running on battery and not actually using a wifi connection. Running 'ifconfig ipw0 down' seems to do that: the antenna icon led switches off, and time left (as reported by apm) starts increasing. (What would be a more rigorous way to see that the battery is actually running off more slowly now, others being equal? The machine doesn't have any sensors, as reported by 'sysctl hw'). I would like to let that happen automatically, if only because sometimes I forget to do that, and drain the battery considerably faster. What is the preffered way to do that? Is ifstated(8) the way? istated(8) is monitoring the 'interface link state'. Is 'no network' recognizable as an interface link state? What I would like to recognize with ipw0 is what 'no carrier' would be for an ethernet interface: is that a good analogy? 'no network' just means the interface is not associated to any network, not that there isn't a nework around, right? Now I tend to put ifconfig ipw0 | grep 'no network' /dev/null ifconfig ipw0 down into the root's crontab but that seems a bit crude. Jan OpenBSD 5.2-current (GENERIC) #36: Sun Oct 14 13:13:06 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2 real mem = 267317248 (254MB) avail mem = 251985920 (240MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007 bios0: IBM 237382G apm0 at bios0: Power Management spec V1.2 acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) 0:31:1: io address conflict 0x5800/0x8 0:31:1: io address conflict 0x5808/0x4 0:31:1: io address conflict 0x5810/0x8 0:31:1: io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M7 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xb000/0x1000 2:0:1: mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI1520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI1520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7f:83:fa ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:0c:f1:16:9b:b8 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HTS548040M9AT00 wd0: 16-sector PIO, LBA, 35087MB, 71859186 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR8083N, 0K03 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4
Re: SSH_CLIENT in recent OpenBSD releases
On Oct 11 10:38:04, be...@kroenchenstadt.de wrote: Hi, I've got to port some shell scripts which rely on env vars. One amongst those is $SSH_CLIENT. On OpenBSD 5.1 machines, I don't get what I'd assume to get: # echo $SSH_CLIENT It returns just a blank line. Are you in fact ssh-connected to the machine you are running this on? That is, are you running this in the sshd-spawned shell?