Re: Clue-by-four needed: trunk(4) and an(4)
On Thu, Apr 26, 2007 at 12:32:36AM +0200, Markus Bergkvist wrote: I don't know if it is related, but you could perhaps try the patch at the end of this report http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=5420 /Markus Your patch did indeed resolve the an(4) active issue for me, and trunk(4) is now working. Thank you for pointing me to the PR. -J-
Re: Prevent circumventing dansguardian with pf
On Wed, 25 Apr 2007 16:29:17 -0600 Tobias Weingartner [EMAIL PROTECTED] wrote: On Wednesday, April 25, Timo Schoeler wrote: actually, me thinks the same about allowing/denying ICMP as you, tobias. however, we recently had a CCIE/NSA certified blahblah guy in our company, tuning our, err, Cizcoooeee equipment. guess what he did -- he violated 'the RFCs'. unfortunately, i wasn't able to find them on the net. do you have them handy? i'm very curious about that :) The RFCs? Google will point you to them. Or go to the source at IETF google is evil. :) http://ietf.org/rfc.html actually, i know this source and i was looking for this: http://marc.info/?l=openbsd-miscm=117754000230466w=2 as we're talking about TCP/ICMP issues, and not RFCs in general. thanks, timo
Erlangen mirror downtime
Hi crowd, Erlangen is undergoing some maintenance work as of now. Depending on how well things go, the machine should be back online in about 6 hours. Thanks for your patience, -- Alexander grunk von Gernler PGP 0xEBC27515 http://www.de.openbsd.org/ -- Free, functional, secure
Trouble configuring FreeType BCI hinting
I realize that this is of marginal relevance to this mailing list, but I like you guys, so I wanted to ask here first: As soon as I got my 4.1 CDs (great theme, by the way), I popped them into my old Inspiron 8200 and started the install. For kicks, I decided to recompile XF4 with FreeType's BCI hinting (by uncommenting the line #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER in xc/lib/font/FreeType/module/ftoption.h). I then enabled hinting and sub-pixel anti-aliasing with the following X resource settings: Xft.hinting: true Xft.hintstyle: hintfull Xft.antialias: rgba Xft.rgba: rgb These settings make 90% of my fonts look amazing. However, in certain fonts -- especially Georgia and Bitstream Vera Serif -- glyphs' diagonal lines now appear blotchy. Here's an example of Georgia at 14pt in Firefox: http://markshroyer.com/files/georgia-hinted.png On the other hand, if I set Xft.hinting: false (reverting FreeType to its patent-unencumbered auto-hinting mode, if I am not mistaken), everything returns to normal: except that my Webcore fonts are no longer as crisp as genuine pixel-aligned TrueType hinting would allow for, of course. I'm sure I'm not the only one here who's recompiled XF4 for TrueType hinting, so any (ahem) hints? Thanks in advance... Mark -- Mark Shroyer [EMAIL PROTECTED] http://markshroyer.com/
HP ProLiant DL140 G3 problems
Hi all! I have a HP ProLiant DL140 G3 coming in soon, that I really would like to run OpenBSD 4.1 on. Its predecessor runs OpenBSD (sparc). If I do not succeed it will wind up running SLES 10 and that is a pity. I have used a snapshot of OpenBSD amd64 from April 24. HP ProLiant DL 140 G2 works like a charm with OpenBSD 4.0. The problems: 1) something with keyboard interrupts. When booting with a PS2 or USB keyboard attached BIOS, CDBOOT and boot(8) works fine, but the kernel gets no keyboard. using boot boot cd0a:/4.1/amd64/bsd.rd -c gives an UKC promt but does not respond to keystrokes. First changing the console using boot set tty com0 and then boot boot cd0a:/4.1/amd64/bsd.rd -c gives a serial console that is usable. The dmsg is attached 2) something with internal USB devices. The axe(4) driver mistakes something in the server for an USB network card and fails to configure it. Therefore the disabling of the axe device in the following dmsg output. I can live without an axe device so this is not a big problem. At the end of the dmsg there is something concerning keyboard interrupts. What can I do about it? -- / Raimo Niskanen, Erlang/OTP, Ericsson AB [demime 1.01d removed an attachment of type application/octet-stream]
Re: NFS mount by non-root
On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX), but since I couldn't get a regular user to do the mount just on the local machine, I thought I'd start with this problem first. Any help would be appreciated. Maybe I am being dumb, but wouldn't the obvious thing be to configure 'sudo' for each user so that they can mount 'their' share (only)? This would probably be quite onerous if you had a lot of users, mind you. Tor
Re: HP ProLiant DL140 G3 problems
hi! On Thu, Apr 26, 2007 at 12:23:58PM +0200, Raimo Niskanen wrote: I have a HP ProLiant DL140 G3 coming in soon, that I really would like to run OpenBSD 4.1 on. Its predecessor runs OpenBSD (sparc). If I do not succeed it will wind up running SLES 10 and that is a pity. I have used a snapshot of OpenBSD amd64 from April 24. HP ProLiant DL 140 G2 works like a charm with OpenBSD 4.0. The problems: i have seen similar problems on the DL145 G3 with OpenBSD 4.0 and OpenBSD 4.1. 1) something with keyboard interrupts. When booting with a PS2 or USB keyboard attached BIOS, CDBOOT and boot(8) works fine, but the kernel gets no keyboard. using boot boot cd0a:/4.1/amd64/bsd.rd -c gives an UKC promt but does not respond to keystrokes. First changing the console using boot set tty com0 and then boot boot cd0a:/4.1/amd64/bsd.rd -c gives a serial console that is usable. The dmsg is attached ukc works fine for me but the final system keyboard doesn't work. the redirected console via iLO (ESC+Q) works without problems, i didn't try the serial console. 2) something with internal USB devices. The axe(4) driver mistakes something in the server for an USB network card and fails to configure it. Therefore the disabling of the axe device in the following dmsg output. I can live without an axe device so this is not a big problem. it is not an axe device, it is some internal serverworks virtual stuff (and i don't need it). the interesting thing is that it reports an empty device and vendor id (see last line) which is not handled correctly in the usb stack: Controller /dev/usb2: addr 1: full speed, self powered, config 1, OHCI root hub(0x), ServerWorks(0x1166), rev 1.00 port 1 powered port 2 addr 2: full speed, power 100 mA, unconfigured, SE USB Device(0x), ServerEngines(0x), rev 0.01 the attach as axe is mostly random, it sometimes attaches as axe(4) and sometimes as uberry(4) in my DL145 G3... uberry0 at uhub2 port 2 uberry0: ServerEngines SE USB Device, rev 1.10/0.01, addr 2 uberry0: Charging enabled At the end of the dmsg there is something concerning keyboard interrupts. What can I do about it? we need to fix this ;) reyk
Re: Trouble configuring FreeType BCI hinting
--- Mark Shroyer [EMAIL PROTECTED] wrote: Xft.hinting: true Xft.hintstyle: hintfull Xft.antialias: rgba Xft.rgba: rgb These settings make 90% of my fonts look amazing. However, in certain fonts -- especially Georgia and Bitstream Vera Serif -- glyphs' diagonal lines now appear blotchy. I suppose you could use in fonts.conf something like this for Vera (adjust the size under which you want hinting to be OFF, or you can remove the test for pixelsize to always unhint the font), and you can add some other fonts too: !DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig !-- The Bitstream Vera fonts have GASP entries suggesting that hinting be disabled below 8 ppem, but FreeType ignores those, preferring to use the data found in the instructed hints. The initial Vera release didn't include the right instructions in the 'prep' table. Fix this by disabling hinting manually at smaller sizes ( 8ppem) -- match target=font test name=family stringBitstream Vera Sans/string /test test name=pixelsize compare=less double7.5/double /test edit name=hinting boolfalse/bool /edit /match match target=font test name=family stringBitstream Vera Serif/string /test test name=pixelsize compare=less double7.5/double /test edit name=hinting boolfalse/bool /edit /match match target=font test name=family stringBitstream Vera Sans Mono/string /test test name=pixelsize compare=less double7.5/double /test edit name=hinting boolfalse/bool /edit /match /fontconfig --- CUT --- R-C Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: The OpenBSD Command-Line Companion Book delayed (or MIA?)
On 4/26/07, Todd Alan Smith [EMAIL PROTECTED] wrote: Thanks for the update, Austin. I was just wondering about this last night. I placed my order for the book on the same day that I placed my pre-order for OpenBSD 4.1 (two separate orders). Since I hadn't yet received the book, I just figured that it wasn't printed yet. Jacek writes great books. I can wait a while longer for this one, if need be. I have plenty other material to read in the meantime. If Jacek is ill, I wish him a speedy recovery. If he's not ill, I hope he doesn't get a migraine from the shipping problems. From recent conversations made with him he seemed to be doing well hope noting has suddenly come up on him. --Siju
Re: HP ProLiant DL140 G3 problems
the attach as axe is mostly random, it sometimes attaches as axe(4) and sometimes as uberry(4) in my DL145 G3... uberry0 at uhub2 port 2 uberry0: ServerEngines SE USB Device, rev 1.10/0.01, addr 2 uberry0: Charging enabled And this is caused by a stupid bug in both axe and uberry. Thanks for pointing this out, I'll fix this later today. Miod
[landisk] a question for other users
I realize the landisk platform wasn't added until 4.1 and 4.1 is not yet officially released on the ftp site, but I haven't seen much from other users. It wasn't that hard to download a miniroot, dd it to the landisk hard drive, cvs src with OPENBSD_4_1 tag and build a release. Are there many of y'all out there? It's a pretty cool platform to run DNS servers, spamd traps and various other things on. I have a question for the developers. Is there away to have the box restart automagically after power loss? Maybe it's a setting for the ROM monitor on the box? I don't know 'cause I've never actually run one of my Plextors with the stuff it came with. If I've missed something obvious please feel free to hit me with a giant clue stick. diana
Re: authpf: real world uses of $user_id ?
Ted Unangst wrote: 2. Is anybody using it successfully? honestly, about the only thing i can think of is that instead of having per user authpf rules, you could create tables named by user, and reference them by $user_id. i don't know if this works. I think you have a point here. Maybe PF janitors can tell us what they had in mind? Thanks anyway Ted ! Matthias
Re: HP ProLiant DL140 G3 problems
On Thu, Apr 26, 2007 at 12:23:58PM +0200, Raimo Niskanen wrote: Hi all! I have a HP ProLiant DL140 G3 coming in soon, that I really would like to run OpenBSD 4.1 on. Its predecessor runs OpenBSD (sparc). If I do not succeed it will wind up running SLES 10 and that is a pity. I have used a snapshot of OpenBSD amd64 from April 24. HP ProLiant DL 140 G2 works like a charm with OpenBSD 4.0. The problems: 1) something with keyboard interrupts. When booting with a PS2 or USB keyboard attached BIOS, CDBOOT and boot(8) works fine, but the kernel gets no keyboard. using boot boot cd0a:/4.1/amd64/bsd.rd -c gives an UKC promt but does not respond to keystrokes. First changing the console using boot set tty com0 and then boot boot cd0a:/4.1/amd64/bsd.rd -c gives a serial console that is usable. The dmsg is attached 2) something with internal USB devices. The axe(4) driver mistakes something in the server for an USB network card and fails to configure it. Therefore the disabling of the axe device in the following dmsg output. I can live without an axe device so this is not a big problem. At the end of the dmsg there is something concerning keyboard interrupts. What can I do about it? -- / Raimo Niskanen, Erlang/OTP, Ericsson AB [demime 1.01d removed an attachment of type application/octet-stream] And here comes the dmsg: OpenBSD/amd64 CDBOOT 1.08 boot boot cd0a:/4.1/amd64/bsd.rd -c booting cd0a:/4.1/amd64/bsd.rd: 2186912+443055+2277312+0+331664 [80+224880+13881 8]=0x958f94 entry point at 0x1001e0 [7205c766, 3404, 24448b12, 9880aCopyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.1-current (RAMDISK_CD) #1091: Tue Apr 24 04:34:18 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 2146086912 (2095788K) avail mem = 1835941888 (1792912K) using 22937 buffers containing 214814720 bytes (209780K) of memory User Kernel Config UKC help command argsdescription add dev add a device base 8|10|16 base on large numbers changedevno|dev change devices disable attr val|devno|dev disable devices enableattr val|devno|dev enable devices exit leave UKC find devno|dev find devices help this message list list configuration lines [count] number of lines before more quit leave UKC show [attr [val]]show attributes (or devices with an attribute) timezone [mins [dst]]set timezone/dst verbose toggle verbose booting ? this message UKC find axe 127 axe* at uhub*|uhub* port -1 configuration -1 interface -1 vendor -1 product -1 release -1 flags 0x0 UKC disable axe 127 axe* disabled UKC quit Continuing... mainbus0 (root) acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Xeon(R) CPU 5110 @ 1.60GHz, 1596.15 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR ,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x13 ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x13 pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01 pci3 at ppb2 bus 3 ppb3 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01 pci4 at ppb3 bus 5 ppb4 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x13 pci5 at ppb4 bus 6 ppb5 at pci0 dev 4 function 0 Intel 5000X PCIE rev 0x13 pci6 at ppb5 bus 8 ppb6 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x13 pci7 at ppb6 bus 9 ppb7 at pci0 dev 6 function 0 Intel 5000 PCIE rev 0x13 pci8 at ppb7 bus 10 ppb8 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x13 pci9 at ppb8 bus 11 pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x13 pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x13 pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x13 pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x13 pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x13 pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x13 pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x13 ppb9 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09 pci10 at ppb9 bus 14 bge0 at pci10 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:18:fe:28:de:62 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb10 at pci0 dev 28 function 1 Intel 6321ESB PCIE rev 0x09 pci11 at ppb10 bus 15 bge1 at pci11 dev
Read and write disk statistics
I'd like to know how much of the disk activity is for reads and how much is for writes. It seems that there are a few system commands that show statistics about disks activity (iostat, vmstat, systat) but none of them separate reads and writes. Is there some command that shows the READ disk stats and WRITE disk stats, SEPARATELY? Thanks. -- ___ __ |- [EMAIL PROTECTED] |ederico Giannici http://www.neomedia.it ___
Re: : HP ProLiant DL140 G3 problems
On Thu, Apr 26, 2007 at 12:53:16PM +0200, Reyk Floeter wrote: hi! On Thu, Apr 26, 2007 at 12:23:58PM +0200, Raimo Niskanen wrote: I have a HP ProLiant DL140 G3 coming in soon, that I really would like to run OpenBSD 4.1 on. Its predecessor runs OpenBSD (sparc). If I do not succeed it will wind up running SLES 10 and that is a pity. I have used a snapshot of OpenBSD amd64 from April 24. HP ProLiant DL 140 G2 works like a charm with OpenBSD 4.0. The problems: i have seen similar problems on the DL145 G3 with OpenBSD 4.0 and OpenBSD 4.1. 1) something with keyboard interrupts. When booting with a PS2 or USB keyboard attached BIOS, CDBOOT and boot(8) works fine, but the kernel gets no keyboard. using boot boot cd0a:/4.1/amd64/bsd.rd -c gives an UKC promt but does not respond to keystrokes. First changing the console using boot set tty com0 and then boot boot cd0a:/4.1/amd64/bsd.rd -c gives a serial console that is usable. The dmsg is attached ukc works fine for me but the final system keyboard doesn't work. the redirected console via iLO (ESC+Q) works without problems, i didn't try the serial console. 2) something with internal USB devices. The axe(4) driver mistakes something in the server for an USB network card and fails to configure it. Therefore the disabling of the axe device in the following dmsg output. I can live without an axe device so this is not a big problem. it is not an axe device, it is some internal serverworks virtual stuff (and i don't need it). the interesting thing is that it reports an empty device and vendor id (see last line) which is not handled correctly in the usb stack: Controller /dev/usb2: addr 1: full speed, self powered, config 1, OHCI root hub(0x), ServerWorks(0x1166), rev 1.00 port 1 powered port 2 addr 2: full speed, power 100 mA, unconfigured, SE USB Device(0x), ServerEngines(0x), rev 0.01 the attach as axe is mostly random, it sometimes attaches as axe(4) and sometimes as uberry(4) in my DL145 G3... uberry0 at uhub2 port 2 uberry0: ServerEngines SE USB Device, rev 1.10/0.01, addr 2 uberry0: Charging enabled So what is the best way to deal with this? Disabling both axe and uberry, or disabling usb (I do not want to do that). For axe it loops failing something like axe0: read PHY failed axe0: read PHY failed axe0: read PHY failed axe0: read PHY failed axe0: read PHY failed until the kernel panics out of memory. At the end of the dmsg there is something concerning keyboard interrupts. What can I do about it? we need to fix this ;) Is there no kernel configuration that can be tweaked to make it limp. I can use always serial console but it is not that appealing. reyk -- / Raimo Niskanen, Erlang/OTP, Ericsson AB
Re: NFS mount by non-root
On Thu, Apr 26, 2007 at 12:54:18PM +0200, Tor Houghton wrote: On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX), but since I couldn't get a regular user to do the mount just on the local machine, I thought I'd start with this problem first. Any help would be appreciated. Maybe I am being dumb, but wouldn't the obvious thing be to configure 'sudo' for each user so that they can mount 'their' share (only)? This would probably be quite onerous if you had a lot of users, mind you. I think 'best scripted' is the UNIX way of spelling 'quite onerous', no? Joachim -- TFMotD: gem (4) - GEM 10/100/Gigabit Ethernet device
Re: [landisk] a question for other users
On Thursday 26 April 2007 14:54:24 Diana Eichert wrote: Are there many of y'all out there? It's a pretty cool platform to run DNS servers, spamd traps and various other things on. Well, I do own a Plextor PX-EH40L (400 GB). It is a fun platform but I don't find it usefull for real use as it is slow as hell... You can forget running it as a file server if you need to write to it, ftp reads are ~ok though (~2Mb/s). What kind of details do you need? -- Antoine Jacoutot [EMAIL PROTECTED] CREA ISC - UMR7656 CNRS / Ecole Polytechnique 1, rue Descartes 75005 Paris
Re: : HP ProLiant DL140 G3 problems
So what is the best way to deal with this? Disabling both axe and uberry, or disabling usb (I do not want to do that). For axe it loops failing something like axe0: read PHY failed axe0: read PHY failed axe0: read PHY failed axe0: read PHY failed axe0: read PHY failed until the kernel panics out of memory. http://www.archivesat.com/OpenBSD_Miscellaneous_topics/thread2719139.htm
Re: [landisk] a question for other users
On Thu, 26 Apr 2007, Antoine Jacoutot wrote: Well, I do own a Plextor PX-EH40L (400 GB). It is a fun platform but I don't find it usefull for real use as it is slow as hell... You can forget running it as a file server if you need to write to it, ftp reads are ~ok though (~2Mb/s). What kind of details do you need? -- Antoine Jacoutot I already have a bunch of them, looking for other people's uses. Writes are slow by default, it helped when I enabled softupdates on various partitions, but it's still not a very fast box. However my use is more for DNS server, remote SNMP server and some other things. The big issue I have with it is if it loses power it won't automagically restart. Anyone know how to make it autostart on powerloss? (I thought I stated that in my original post?) g.day diana
Re: NFS mount by non-root
On Apr 25, 2007, at 8:33 PM, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX), but since I couldn't get a regular user to do the mount just on the local machine, I thought I'd start with this problem first. i've always approached this class of problem with amd: http://www.openbsd.org/cgi-bin/man.cgi? query=amdapropos=0sektion=0manpath=OpenBSD +Currentarch=i386format=html the daemon runs with sufficient privs to mount the fs, and all the user has to do is reference the fs. Ben
Re: NFS mount by non-root
On Thu, 26 Apr 2007, Tor Houghton wrote: On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? I seem to be able to mount_nfs using sudo, but not as a regular user. I actually want to allow regular users to mount the NFS share from another machine/OS (MacOSX), but since I couldn't get a regular user to do the mount just on the local machine, I thought I'd start with this problem first. Any help would be appreciated. Maybe I am being dumb, but wouldn't the obvious thing be to configure 'sudo' for each user so that they can mount 'their' share (only)? Actually, that's probably the simplest solution; config a user group with access, then grant sudo access to that group for the mount. Lee
Re: Erlangen mirror downtime
* Alexander von Gernler [EMAIL PROTECTED] [2007-04-26 10:44]: Erlangen is undergoing some maintenance work as of now. Depending on how well things go, the machine should be back online in about 6 hours. As always, things did not go well. Please don't expect the machine to be back in shape before tomorrow. -- Alexander grunk von Gernler PGP 0xEBC27515 http://www.de.openbsd.org/ -- Free, functional, secure
Re: NFS mount by non-root
In article [EMAIL PROTECTED], Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? Mount, likely not, unless you do sudo. Have a look at nfsshell... -- [100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax
4.1 i386, server freezing... ( was: Yet, another thread about running out of static map entries.)
OK, after setting MAX_KMAPENT to 4000, the server only lasts about 25 hours before a weird freeze -- which is less than before. This weird freeze still answer to ping, and consoles changes, but I can't log in, and everything else stops to answer. Can anyone give me a clue on how to pinpoint this problem? I just need to know what is causing, so I can think of a solution. There is plenty free RAM, no swap use, and the server load doesn't go any higher than 5. I am really lost with lost problem. Thanks... dmesg follows: OpenBSD 4.1 (GENERIC) #0: Mon Apr 16 10:52:27 BRT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error 80clock_battery cpu0: Intel(R) Pentium(R) D CPU 3.00GHz (GenuineIntel 686-class) 3.01 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,CNXT-ID,CX16,xTPR real mem = 2137092096 (2087004K) avail mem = 1943195648 (1897652K) using 4278 buffers containing 107003904 bytes (104496K) of memory RTC BIOS diagnostic error 80clock_battery mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 08/17/06, SMBIOS rev. 2.3 @ 0xe53d0 (34 entries) bios0: Intel Corporation D945GNT apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown, estimated 0:00 hours apm0: flags 30102 dobusy 0 doidle 1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xae00! 0xcb000/0x1800 0xcc800/0x2200 0xcf000/0x1000 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82945GP rev 0x02 vga1 at pci0 dev 2 function 0 Intel 82945G Video rev 0x02: aperture at 0x8820, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x01 pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01 pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01 pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01 pci5 at ppb4 bus 5 ppb5 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1 pci6 at ppb5 bus 6 skc0 at pci6 dev 0 function 0 D-Link Systems DGE-530T B1 rev 0x11, Yukon Lite (0x9): irq 9 sk0 at skc0 port A, address 00:15:e9:a6:d0:31 eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5 fxp0 at pci6 dev 1 function 0 Intel 8255x rev 0x10, i82551: irq 10, address 00:07:e9:1b:87:45 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 ami0 at pci6 dev 3 function 0 Symbios Logic MegaRAID rev 0x01: irq 11 ami0: LSI 523, 64b/lhc, FW 713N, BIOS vG119, 64MB RAM ami0: 1 channels, 0 FC loops, 2 logical drives scsibus0 at ami0: 40 targets sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00, SCSI2 0/direct fixed sd0: 76314MB, 76314 cyl, 64 head, 32 sec, 512 bytes/sec, 156291072 sec total sd1 at scsibus0 targ 1 lun 0: AMI, Host drive #01, SCSI2 0/direct fixed sd1: 76314MB, 76314 cyl, 64 head, 32 sec, 512 bytes/sec, 156291072 sec total scsibus1 at ami0: 16 targets ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus2 at atapiscsi0: 2 targets cd0 at scsibus2 targ 0 lun 0: HL-DT-ST, CD-ROM GCR-8523B, 1.00 SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 11 for native-PCI interrupt ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: irq 11 iic0 at ichiic0 adt0 at iic0 addr 0x2e: emc6d100 rev 0x68 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 biomask f9fd netmask fffd ttymask pctr: user-level cycle counter enabled dkcsum: sd0 matches BIOS drive 0x80 dkcsum: sd1 matches BIOS drive 0x81 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 vmstat from 30 secs before freeze: Memory statistics by bucket size Size In Use Free Requests HighWater Couldfree 1674412 71252 2247702581280 23786 3212676 1532 89972273 640 1735 64 71152457009789 320 357 128 4819 452115083 160 3249 256 64052037446251 80 30164 51221302 104240637 40
Re: Read and write disk statistics
$ systat -w 1 iostat Federico Giannici wrote: I'd like to know how much of the disk activity is for reads and how much is for writes. It seems that there are a few system commands that show statistics about disks activity (iostat, vmstat, systat) but none of them separate reads and writes. Is there some command that shows the READ disk stats and WRITE disk stats, SEPARATELY? Thanks.
Re: 4.1 packages on the ftp sites
frantisek holop wrote: Ok. You need to stop pissing off the developers. They've already said, wait till May 1st. It's done. It's not open to discussion. Move on. Accept the fact that some people know more about running a project on a limited budget and limited resources. We DON'T want LESS time spent hacking and MORE time spent dealing with getting packages available before the release. Wait until May 1st. Then you can perform a CD upgrade to 4.1. Then you can point to the new packages and use pkg_add to upgrade.
Re: The OpenBSD Command-Line Companion Book delayed (or MIA?)
On Thu, Apr 26, 2007 at 01:40:12PM -0400, Jean-Daniel Beaubien wrote: Will this cause a delay for those of us who ordered both the 4.1 CD set and the book in the same order? Thanks, Jd On 4/25/07, Austin Hook [EMAIL PROTECTED] wrote: Shipments of the OpenBSD Command-Line Companion Book have been delayed and ETA is unknown at this time. According to the author's blog: http://devguide.net there was a problem with the UPS shipment, but we are unable to contact Jacek Artymiak directly, and we have no tracking number for the shipment. This book was to have been printed in the USA and shipped to the Belgian and Sweet Grass, MT, USA depots in early April. We know from past events that Jacek is subject to a certain chronic illness that can sometimes suddenly put him in the hospital for a few months at a time. If such is the case, we wish him all the best. For the mean time we have removed the book from the order pages, and will ship existing orders without the book, showing it as a backorder. If anyone knows which US printer Jacek had the books made at we would try to trace them from that end. Let us know. OpenBSD Distribution Milk River, Alberta, Canada Please re-read the original email. -- James Turner
Re: 4.1 i386, server freezing... ( was: Yet, another thread about running out of static map entries.)
On Thursday 26 April 2007 11:31:54 Private Joker wrote: OK, after setting MAX_KMAPENT to 4000, the server only lasts about 25 hours before a weird freeze -- which is less than before. This weird freeze still answer to ping, and consoles changes, but I can't log in, and everything else stops to answer. Can anyone give me a clue on how to pinpoint this problem? I just need to know what is causing, so I can think of a solution. There is plenty free RAM, no swap use, and the server load doesn't go any higher than 5. I am really lost with lost problem. Thanks... [snip] Try decreasing the amount of ram. --STeve Andre'
Re: NFS mount by non-root
On 4/25/07, Douglas Maus [EMAIL PROTECTED] wrote: $ mount_nfs 10.0.1.201:/home/usera/dir2share /home/usera/private/mnt fails with mount_nfs: bad MNT RPC: RPC: Authentication error; why = Client credential too weak mountd wants the request to come on a reserved port.
Re: NFS mount by non-root
On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? Mike Erdely responded: From mount_nfs(8): HISTORY The -P flag historically informed the kernel to use a reserved port when communicating with clients. In OpenBSD, a reserved port is always used. This means to me that you will always have to be root to use mount_nfs. Unless I'm missing something. Alright, I'm confused - if you cannot use a reserved port unless you are root, thus you have to be root to use mount_nfs, then why is there a mountd option -P to tell the kernel to use a reserved port? Unless even root needs to tell the kernel not to use a default unreserved port, but rather use a reserved one. Douglas Maus
Re: NFS mount by non-root
On 4/26/07, Douglas Maus [EMAIL PROTECTED] wrote: On Thu, Apr 26, 2007 at 03:33:47AM +, Douglas Maus wrote: Is it possible for users (non-root) to mount NFS exports? Mike Erdely responded: From mount_nfs(8): HISTORY The -P flag historically informed the kernel to use a reserved port when communicating with clients. In OpenBSD, a reserved port is always used. This means to me that you will always have to be root to use mount_nfs. Unless I'm missing something. Alright, I'm confused - if you cannot use a reserved port unless you are root, thus you have to be root to use mount_nfs, then why is there a mountd option -P to tell the kernel to use a reserved port? Unless even root needs to tell the kernel not to use a default unreserved port, but rather use a reserved one. Well, read what you quoted: The -P flag historically [...] It's there for compatibility.
Re: shutdown gets stuck at `syncing discs...'
Chris Cappuccio wrote: You have both IDE disks on the same IDE channel which is problematic. Set both IDE disks to 'master' and put them on separate IDE channels. Cheers, what a difference! Not a bug, eey? OpenBSD 4.1-current (GENERIC) #5: Sun Apr 22 01:44:59 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 1700+ (AuthenticAMD 686-class, 256KB L2 cache) 1.47 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 804810752 (785948K) avail mem = 725520384 (708516K) using 4278 buffers containing 40366080 bytes (39420K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 03/28/02, BIOS32 rev. 0 @ 0xfdad0, SMBIOS rev. 2.3 @ 0xf0630 (22 entries) bios0: MSI MS-6380E apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7f00/192 (10 entries) pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT8233 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xf800 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA VT8366 PCI rev 0x00 ppb0 at pci0 dev 1 function 0 VIA VT8366 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 NVIDIA GeForce4 MX 4000 rev 0xa4 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 6 function 0 VIA VT83C572 USB rev 0x50: irq 5 uhci1 at pci0 dev 6 function 1 VIA VT83C572 USB rev 0x50: irq 12 ehci0 at pci0 dev 6 function 2 VIA VT6202 USB rev 0x51: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 uhub0: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered re0 at pci0 dev 7 function 0 Realtek 8169 rev 0x10: RTL8169S (0x0400), irq 12, address 00:08:a1:3c:34:7a rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0 rl0 at pci0 dev 10 function 0 Realtek 8139 rev 0x10: irq 5, address 00:e0:4c:67:52:80 rlphy0 at rl0 phy 0: RTL internal PHY viapm0 at pci0 dev 17 function 0 VIA VT8233A ISA rev 0x00 iic0 at viapm0 iic0: addr 0x2f 00=00 02=0f 03=00 04=00 06=0f 07=00 08=00 0a=06 0b=00 0c=00 0d=07 0e=84 0f=00 10=c0 11=11 12=00 13=60 pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: Maxtor 6Y080L0 wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LITE-ON, LTR-40125S, ZS0N SCSI0 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 wd1 at pciide0 channel 1 drive 0: Maxtor 6L250R0 wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6 uhci2 at pci0 dev 17 function 2 VIA VT83C572 USB rev 0x23: irq 10 uhci3 at pci0 dev 17 function 3 VIA VT83C572 USB rev 0x23: irq 10 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered usb2 at uhci1: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered usb3 at uhci2: USB revision 1.0 uhub3 at usb3 uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered usb4 at uhci3: USB revision 1.0 uhub4 at usb4 uhub4: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered isa0 at mainbus0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lm0 at isa0 port 0x290/8: W83697HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask fffd netmask fffd ttymask pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 # Han
Re: shutdown gets stuck at `syncing discs...'
Han Boetes [EMAIL PROTECTED] wrote: Chris Cappuccio wrote: You have both IDE disks on the same IDE channel which is problematic. Set both IDE disks to 'master' and put them on separate IDE channels. Cheers, what a difference! Not a bug, eey? Not a software bug, anyways...As Art pointed out, the hardware does not appear to be responding properly. It is never a recommended practice to put multiple devices on a single IDE channel, as IDE has no method of dealing with bus contention (like select/release in SCSI). I only do it when one disk is low-usage (second disk with just MP3s on it, or whatever) and the other channel is already in use. Chris
Re: shutdown gets stuck at `syncing discs...'
Chris Cappuccio wrote: Han Boetes [EMAIL PROTECTED] wrote: Chris Cappuccio wrote: You have both IDE disks on the same IDE channel which is problematic. Set both IDE disks to 'master' and put them on separate IDE channels. Cheers, what a difference! Not a bug, eey? Not a software bug, anyways...As Art pointed out, the hardware does not appear to be responding properly. It is never a recommended practice to put multiple devices on a single IDE channel, as IDE has no method of dealing with bus contention (like select/release in SCSI). I only do it when one disk is low-usage (second disk with just MP3s on it, or whatever) and the other channel is already in use. Yes I am aware that it is recommended to put HDs on a different ide channel. I just forgot about it and I never had any problems with it until about some 3.9 snapshot started misbehaving. And it never improved even though I found some cvs log messages that promised to fix the `syncing disks...' bug. And the behaviour was erratic so I never sure when it started, what started it and when it may have been fixed. So it's the typical situation where one problem is triggered by a change pretending it's another problem. Which made it very hard for me to figure out since it didn't seem to make sense. Anyway, my request: I'd like it if the kernel would behave more gracefully incase of a setup where more than one HD is on the same IDE channel. # Han
G5 Xserve wanted in Brisbane, Australia
Chris Pascoe (pascoe@) and I (dlg@) have been working on improving ATA support in OpenBSD recently. We'd like to fix the SATA support on Apple's G5 machines, but we actually need one to be able to do that. If you can help by getting us a G5 Xserve in Brisbane, Australia, please email me via this address, or via [EMAIL PROTECTED] Thanks, dlg
SSHJail patch for OpenBSD
Hi Before I testrun this http://paradigma.pt/~gngs/sshjail/ does anyone already know if this patch would work with OpenSSH on OpenBSD 3.9? Best regards Rico
Re: SSHJail patch for OpenBSD
What's the point again? On Fri, Apr 27, 2007 at 03:13:12AM +0200, Rico Secada wrote: Hi Before I testrun this http://paradigma.pt/~gngs/sshjail/ does anyone already know if this patch would work with OpenSSH on OpenBSD 3.9? Best regards Rico
Hackathon is coming up
The annual Calgary hackathon is coming up in a bit less than a month. As usual, this is a good time to remind people that developers need toys that they can fix/support, so maybe everyone can take a peek at http://www.openbsd.org/want.html and see if there is anything they should send to us to make the week-long event better. If you spot anything you can supply, it is worth while talking to the developer who asked for it, and to me as well. It may be better to send the equipment direct to me, so that the developer does not have to bring it to Calgary in their suitcases (maybe that means they can bring a bit more clean underwear). As always, I want to remind people that this is a good time to get extra laptops (via me) to developers who live in poorer countries or who face difficulties with fascist border guards. If you have any machines to contribute, drop me a note. There are always developers struggling with crappy laptops. Thanks.
Re: G5 Xserve wanted in Brisbane, Australia
On Fri, Apr 27, 2007 at 12:30:24PM +1000, David Gwynne wrote: Chris Pascoe (pascoe@) and I (dlg@) have been working on improving ATA support in OpenBSD recently. We'd like to fix the SATA support on Apple's G5 machines, but we actually need one to be able to do that. If you can help by getting us a G5 Xserve in Brisbane, Australia, please email me via this address, or via [EMAIL PROTECTED] Thanks, dlg Perhaps ask for donations towards http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItemrd=1item=270113938901ssPageName=STRK:MEWA:ITih=017 Though it is in Sydney and pickup only. There doesn't really seem to be too many people selling xserves second hand, that is the only one that has surfaced on ebay in more than several months. Too bad Apple doesn't sell them any more...
Re: The OpenBSD Command-Line Companion Book delayed (or MIA?)
On Thu, Apr 26, 2007 at 08:52:11PM -0700, Austin Hook wrote: There has been a slight delay for those folks who ordered both, as we were hoping on a day by day basis to ship them together, so we decided at the end of last week to put an immediate end to that, and make sure all orders for both have the CD (or or other items) shipped ASAP. Which means you have to pay more to make two shipments. :( Thanks for your consideration of those waiting to get their hands on 4.1! -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation