ZTE USB modem MF110
Hello all, would like to ask if there is anyone on the list that has tried using ZTE 3g Modem on OpenBSD. the kernel (5.1) was able to detect the device: umsm0 at uhub0 port 1 configuration 1 interface 0 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 umsm0 at uhub0 port 1 configuration 1 interface 0 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 umsm1 at uhub0 port 1 configuration 1 interface 1 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 umass0 at uhub0 port 1 configuration 1 interface 2 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 sd0 at scsibus2 targ 1 lun 0: ZTE, MMC Storage, 2.31 SCSI2 0/direct removable serial.19d20031567890ABCDEF umsm2 at uhub0 port 1 configuration 1 interface 3 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 there are some ZTE's on the umsm(4) man pages but not specifically MF110. i can't seem to make it to talk. ZTE AC2746 USB ZTE MF112USB ZTE MF190USB ZTE MF633USB ZTE MF637USB any suggestions or advice is awesomely appreciated. regards, -B -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Disclaimer: http://goldmark.org/jeff/stupid-disclaimers/
Re: ZTE USB modem MF110
Hello All! thanks if there are any people who would reply back. but I was able to get it to talk # cu -l cuaU1 Connected T OK AT OK thanks again. -B On Sat, Sep 7, 2013 at 3:33 PM, Beavis pfu...@gmail.com wrote: Hello all, would like to ask if there is anyone on the list that has tried using ZTE 3g Modem on OpenBSD. the kernel (5.1) was able to detect the device: umsm0 at uhub0 port 1 configuration 1 interface 0 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 umsm0 at uhub0 port 1 configuration 1 interface 0 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 umsm1 at uhub0 port 1 configuration 1 interface 1 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 umass0 at uhub0 port 1 configuration 1 interface 2 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 sd0 at scsibus2 targ 1 lun 0: ZTE, MMC Storage, 2.31 SCSI2 0/direct removable serial.19d20031567890ABCDEF umsm2 at uhub0 port 1 configuration 1 interface 3 ZTE,Incorporated ZTE CDMA Technologies MSM rev 2.00/0.00 addr 2 there are some ZTE's on the umsm(4) man pages but not specifically MF110. i can't seem to make it to talk. ZTE AC2746 USB ZTE MF112USB ZTE MF190USB ZTE MF633USB ZTE MF637USB any suggestions or advice is awesomely appreciated. regards, -B -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Disclaimer: http://goldmark.org/jeff/stupid-disclaimers/ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Disclaimer: http://goldmark.org/jeff/stupid-disclaimers/
udevadm equivalent
hi, is there an equivalent to udevadm in OpenBSD or BSD in particular? thanks, b -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Disclaimer: http://goldmark.org/jeff/stupid-disclaimers/
Re: udevadm equivalent
auto mounting external drive into openbsd On Wed, Mar 28, 2012 at 9:41 PM, Philip Guenther guent...@gmail.com wrote: On Wed, Mar 28, 2012 at 8:15 PM, Beavis pfu...@gmail.com wrote: is there an equivalent to udevadm in OpenBSD or BSD in particular? What problem are you trying to solve? Philip Guenther -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Disclaimer: http://goldmark.org/jeff/stupid-disclaimers/
Re: udevadm equivalent
found it through hotplugd thanks On Wed, Mar 28, 2012 at 9:59 PM, Beavis pfu...@gmail.com wrote: auto mounting external drive into openbsd On Wed, Mar 28, 2012 at 9:41 PM, Philip Guenther guent...@gmail.com wrote: On Wed, Mar 28, 2012 at 8:15 PM, Beavis pfu...@gmail.com wrote: is there an equivalent to udevadm in OpenBSD or BSD in particular? What problem are you trying to solve? Philip Guenther -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Disclaimer: http://goldmark.org/jeff/stupid-disclaimers/ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Disclaimer: http://goldmark.org/jeff/stupid-disclaimers/
pf for routers?
Greetings List, I would like to ask if someone has done routing via pf(4) (non-NAT rules). My idea is to be able to route packets from one interface to the other. say from tun0 to rl0. I've been googling a lot and most of the rules im seeing have something to do with NAT routes. any help would be awesomely appreciated. thanks, -b -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Niagra NIC Cards
Greetings Folks, I wanted to ask if anyone on the list has tried using one of the Niagra NIC Cards on OpenBSD? any success/failure to it? http://www.interfacemasters.com/products/network_interface_card_with_bypass.h tml any help/comment would be awesomely appreciated. manythanks, -B -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
amdiic0: exec: TimeOut on OpenBSD 4.6
Greetings to All, I'm running OpenBSD 4.6 as a webserver on a Sun X4100 M1 Hardware. I'm currently experiencing some slowness even though i only run a simple web-server with a Mysql backend. Network connections seem to be fine. but dmesg is spitting out the following: amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout amdiic0: exec: op 1, addr 0x2c, cmdlen 1, len 1, flags 0x08: timeout Anyone experience this? Any help would be awesomely appreciated. thanks, -b -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
proxychains on openbsd 4.6
Greetings Folks, Just wanted to ask out if there's anyone that is successful on building proxychains on OpenBSD? I tried building it on my box (4.6 stable) with the following output: $ gmake gmake all-recursive gmake[1]: Entering directory `/home/pfunix/tor/proxychains-3.1' Making all in proxychains gmake[2]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains' Making all in docs gmake[3]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs' Making all in en gmake[4]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs/en' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs/en' gmake[4]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs' gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs' gmake[3]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs' gmake[3]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c libproxychains.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wp,-MD,.deps/libproxychains.pp -c libproxychains.c -fPIC -DPIC -o .libs/libproxychains.o libproxychains.c:295: error: conflicting types for `getnameinfo' /usr/include/netdb.h:311: error: previous declaration of `getnameinfo' gmake[3]: *** [libproxychains.lo] Error 1 gmake[3]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/pfunix/tor/proxychains-3.1' gmake: *** [all-recursive-am] Error 2 googling brings me to just this post. http://kerneltrap.org/mailarchive/openbsd-misc/2009/9/25/6273573 anyhelp would be awesomely appreciated. -b -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: proxychains on openbsd 4.6
--snip-- This will filx this particular error. http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/proxychains/files/patch-proxychains-libproxychains.c?rev=1.1 thanks for the link. I tried the patch... and it gave me the following error $ gmake gmake all-recursive gmake[1]: Entering directory `/home/pfunix/tor/proxychains-3.1' Making all in proxychains gmake[2]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains' Making all in docs gmake[3]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs' Making all in en gmake[4]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs/en' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs/en' gmake[4]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs' gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs' gmake[3]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs' gmake[3]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c libproxychains.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wp,-MD,.deps/libproxychains.pp -c libproxychains.c -fPIC -DPIC -o .libs/libproxychains.o libproxychains.c: In function `get_chain_data': libproxychains.c:163: error: `PREFIX' undeclared (first use in this function) libproxychains.c:163: error: (Each undeclared identifier is reported only once libproxychains.c:163: error: for each function it appears in.) libproxychains.c:163: error: syntax error before string constant gmake[3]: *** [libproxychains.lo] Error 1 gmake[3]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/pfunix/tor/proxychains-3.1' gmake: *** [all-recursive-am] Error 2 I removed the PREFIX on line and it build ok. + if(!(file=fopen(PREFIX /etc/proxychains.conf,r))) thanks again. -b -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
hoststated on OpenBSD
Greetings List, I would like to ask some folks here regarding hoststated is it still available for OpenBSD? All i got through google is http://cvs.openbsd.org/papers/eurobsdcon07/pyr-loadbalancing/ I'm looking for a tool that would be able me to setup OpenBSD as a High-availability appliance where i place behind it win or *nix webservers and have them load-balance through it. I know that pf(4) would be able to aid me on this but getting info for hoststated would really help me a lot. any help would be appreciated. -b
Re: hoststated on OpenBSD
thank you all for the pointers. On Thu, Jan 22, 2009 at 6:19 PM, Chris Kuethe chris.kue...@gmail.com wrote: http://marc.info/?l=openbsd-announcem=120959605703777w=2 it was renamed to relayd On Thu, Jan 22, 2009 at 5:09 PM, Beavis pfu...@gmail.com wrote: Greetings List, I would like to ask some folks here regarding hoststated is it still available for OpenBSD? All i got through google is http://cvs.openbsd.org/papers/eurobsdcon07/pyr-loadbalancing/ I'm looking for a tool that would be able me to setup OpenBSD as a High-availability appliance where i place behind it win or *nix webservers and have them load-balance through it. I know that pf(4) would be able to aid me on this but getting info for hoststated would really help me a lot. any help would be appreciated. -b -- GDB has a 'break' feature; why doesn't it have 'fix' too?
synproxy on stand-alone webserver
I'm trying out the synproxy feature on my test webserver I have the following rule. ext_if = ne3 web_server = 192.168.4.7 pass in on $ext_if inet proto tcp from any to $web_server port www flags S/SA synproxy state I can't seem to hit the website at all. I ran pfctl -ss and got the following result: [EMAIL PROTECTED] sudo pfctl -ss all tcp 192.168.4.7:80 - 192.168.4.13:22468 PROXY:DST [EMAIL PROTECTED] sudo pfctl -sa FILTER RULES: pass in log on ne3 inet proto tcp from any to (ne3) port = www flags S/SA synproxy state No queue in use INFO: Status: Enabled for 0 days 00:08:53 Debug: Urgent State Table Total Rate current entries0 searches22334.2/s inserts 130.0/s removals 130.0/s Counters match 18323.4/s bad-offset 00.0/s fragment 00.0/s short 00.0/s normalize 00.0/s memory 00.0/s bad-timestamp 00.0/s congestion 00.0/s ip-option 00.0/s proto-cksum00.0/s state-mismatch 00.0/s state-insert 70.0/s state-limit00.0/s src-limit 00.0/s synproxy 1310.2/s TIMEOUTS: tcp.first 120s tcp.opening 30s tcp.established 86400s tcp.closing 900s tcp.finwait 45s tcp.closed 90s tcp.tsdiff 30s udp.first60s udp.single 30s udp.multiple 60s icmp.first 20s icmp.error 10s other.first 60s other.single 30s other.multiple 60s frag 30s interval 10s adaptive.start 6000 states adaptive.end 12000 states src.track 0s LIMITS: stateshard limit1 src-nodes hard limit1 frags hard limit 5000 tableshard limit 1000 table-entries hard limit 20 TABLES: OS FINGERPRINTS: 696 fingerprints loaded are there any other extra rules that i may be missing? im putting this up on a stand-alone webserver. I tried changing the synproxy state to modulate state. and all is well. I'm running this on 4.4 -current i tried the same rule on a stable 4.3 with the same results. any help will be greatly appreciated. thanks, -b
Re: synproxy on stand-alone webserver
found the extra rule that's needed. set state-policy if-bound fixed it. thanks list! On Sat, Oct 25, 2008 at 6:26 PM, Beavis [EMAIL PROTECTED] wrote: I'm trying out the synproxy feature on my test webserver I have the following rule. ext_if = ne3 web_server = 192.168.4.7 pass in on $ext_if inet proto tcp from any to $web_server port www flags S/SA synproxy state I can't seem to hit the website at all. I ran pfctl -ss and got the following result: [EMAIL PROTECTED] sudo pfctl -ss all tcp 192.168.4.7:80 - 192.168.4.13:22468 PROXY:DST [EMAIL PROTECTED] sudo pfctl -sa FILTER RULES: pass in log on ne3 inet proto tcp from any to (ne3) port = www flags S/SA synproxy state No queue in use INFO: Status: Enabled for 0 days 00:08:53 Debug: Urgent State Table Total Rate current entries0 searches22334.2/s inserts 130.0/s removals 130.0/s Counters match 18323.4/s bad-offset 00.0/s fragment 00.0/s short 00.0/s normalize 00.0/s memory 00.0/s bad-timestamp 00.0/s congestion 00.0/s ip-option 00.0/s proto-cksum00.0/s state-mismatch 00.0/s state-insert 70.0/s state-limit00.0/s src-limit 00.0/s synproxy 1310.2/s TIMEOUTS: tcp.first 120s tcp.opening 30s tcp.established 86400s tcp.closing 900s tcp.finwait 45s tcp.closed 90s tcp.tsdiff 30s udp.first60s udp.single 30s udp.multiple 60s icmp.first 20s icmp.error 10s other.first 60s other.single 30s other.multiple 60s frag 30s interval 10s adaptive.start 6000 states adaptive.end 12000 states src.track 0s LIMITS: stateshard limit1 src-nodes hard limit1 frags hard limit 5000 tableshard limit 1000 table-entries hard limit 20 TABLES: OS FINGERPRINTS: 696 fingerprints loaded are there any other extra rules that i may be missing? im putting this up on a stand-alone webserver. I tried changing the synproxy state to modulate state. and all is well. I'm running this on 4.4 -current i tried the same rule on a stable 4.3 with the same results. any help will be greatly appreciated. thanks, -b
Re: uvm_mapent_alloc
taking all the heat that was posted on the email i sent. I thank you all for trying to to give me as much pointers Things i learn. I run a small hosting site. i use openbsd, this is the first time that it showed me that uvm_alloc issue. 2nd im not a coder just your regular guy that likes to use this OS. Regardless, it's true that getting hand-outs of some diff is bad. specially if I myself don't know what the heck it does. Given that response I will. - RTFM my way through diff and patch and all. - Stop asking stupid questions. but all things aside. I am not going to back down on supporting this OS. regardless of people chewing my head on the list or ... some funny comments like Can I have your money and business (nice one art) I've moved away from using a free disorganized os (the L in the *nix), to OpenBSD, clear, simple and precise. (not offending anyone this is MY POINT OF VIEW) so thanks again List! :) regards, Beavis A. ButtHead On Mon, Oct 13, 2008 at 2:28 AM, Artur Grabowski [EMAIL PROTECTED] wrote: On a more serious note. No, there is no diff to 4.3 No, there won't be. No, the random changes this guy mailed do not solve the problem (at least one thing here can make things worse and one is pulled out of its context and will cause problems). No, I'm not going to tell you which changes there are since there were lots of things since 4.3 that lowered the pressure on static map entries. //art Artur Grabowski [EMAIL PROTECTED] writes: Wow. I'm impressed. So if I mailed you a random diff that you don't understand you'd happily apply it without having a single clue about what the diff does and who sent it? Cool. Can I have your money and business without going through that hassle? Can't be bothered to make a malicious diff right now, haven't had coffee yet. //art Beavis [EMAIL PROTECTED] writes: Vladimir, Sorry to bother you but I tried to apply the patch on uvm_map.c i copied the patch you gave me here and run patch -p0 uvm_map.patch I get some rej. files. any pointers or help will be greatly appreciated from anyone. -b On Fri, Oct 10, 2008 at 3:01 PM, Vladimir Kirillov [EMAIL PROTECTED] wrote: On 14:44 Fri 10 Oct, Beavis wrote: thanks for the reply vladimir. is it needed to upgrade my 4.3 stable to -current? isn't there a patch available for this? The 4.3 uvm_map.c is 5 diffs far from this patch http://www.openbsd.org/cgi-bin/cvsweb/src/sys/uvm/uvm_map.c?r1=1.104#rev1.104 you can generate the diff yourself, cvs diff -r1.99 -r1.104 uvm_map.c or here: Index: uvm_map.c === RCS file: /cvs/src/sys/uvm/uvm_map.c,v retrieving revision 1.99 retrieving revision 1.104 diff -u -p -r1.99 -r1.104 --- uvm_map.c 15 Sep 2007 10:10:37 - 1.99 +++ uvm_map.c 23 Sep 2008 13:25:46 - 1.104 @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.99 2007/09/15 10:10:37 martin Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.104 2008/09/23 13:25:46 art Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -98,6 +98,7 @@ static struct timeval uvm_kmapent_last_w static struct timeval uvm_kmapent_warn_rate = { 10, 0 }; struct uvm_cnt uvm_map_call, map_backmerge, map_forwmerge; +struct uvm_cnt map_nousermerge; struct uvm_cnt uvm_mlk_call, uvm_mlk_hint; const char vmmapbsy[] = vmmapbsy; @@ -538,6 +539,7 @@ uvm_map_init(void) UVMCNT_INIT(map_backmerge, UVMCNT_CNT, 0, # uvm_map() back merges, 0); UVMCNT_INIT(map_forwmerge, UVMCNT_CNT, 0, # uvm_map() missed forward, 0); + UVMCNT_INIT(map_nousermerge, UVMCNT_CNT, 0, # back merges skipped, 0); UVMCNT_INIT(uvm_mlk_call, UVMCNT_CNT, 0, # map lookup calls, 0); UVMCNT_INIT(uvm_mlk_hint, UVMCNT_CNT, 0, # map lookup hint hits, 0); @@ -726,6 +728,8 @@ uvm_map_p(struct vm_map *map, vaddr_t *s if ((map-flags VM_MAP_INTRSAFE) == 0) splassert(IPL_NONE); + else + splassert(IPL_VM); /* * step 0: sanity check of protection code @@ -832,6 +836,15 @@ uvm_map_p(struct vm_map *map, vaddr_t *s goto step3; } + /* +* Only merge kernel mappings, but keep track +* of how much we skipped. +*/ + if (map != kernel_map map != kmem_map) { + UVMCNT_INCR(map_nousermerge); + goto step3; + } + if (prev_entry-aref.ar_amap) { error = amap_extend(prev_entry, size); if (error) { @@ -897,6 +910,8 @@ step3: if ((flags UVM_FLAG_OVERLAY) == 0) new_entry-etype |= UVM_ET_NEEDSCOPY; } + if (flags UVM_FLAG_HOLE) + new_entry-etype |= UVM_ET_HOLE; new_entry-protection = prot
uvm_mapent_alloc
Greetings, I currently have a 4.3 running a modified kernel (disabled ACPI and APM because they hang on my HS20 Blade) I'm receiving the following Error: uvm_mapent_alloc: out of static map entries Is there a way for me to adjust this through sysctl? any help will be greatly appreciated. I run webservers on this box. thanks, -b
Re: uvm_mapent_alloc
thanks for the reply vladimir. is it needed to upgrade my 4.3 stable to -current? isn't there a patch available for this? thank you, -b On Fri, Oct 10, 2008 at 2:40 PM, Vladimir Kirillov [EMAIL PROTECTED] wrote: On 13:42 Fri 10 Oct, Beavis wrote: Greetings, I currently have a 4.3 running a modified kernel (disabled ACPI and APM because they hang on my HS20 Blade) I'm receiving the following Error: uvm_mapent_alloc: out of static map entries Is there a way for me to adjust this through sysctl? any help will be greatly appreciated. I run webservers on this box. looks like this is fixed in -current, see http://article.gmane.org/gmane.os.openbsd.cvs/79457 -- Vladimir Kirillov http://darkproger.net
Re: uvm_mapent_alloc
Vladimir, Sorry to bother you but I tried to apply the patch on uvm_map.c i copied the patch you gave me here and run patch -p0 uvm_map.patch I get some rej. files. any pointers or help will be greatly appreciated from anyone. -b On Fri, Oct 10, 2008 at 3:01 PM, Vladimir Kirillov [EMAIL PROTECTED] wrote: On 14:44 Fri 10 Oct, Beavis wrote: thanks for the reply vladimir. is it needed to upgrade my 4.3 stable to -current? isn't there a patch available for this? The 4.3 uvm_map.c is 5 diffs far from this patch http://www.openbsd.org/cgi-bin/cvsweb/src/sys/uvm/uvm_map.c?r1=1.104#rev1.104 you can generate the diff yourself, cvs diff -r1.99 -r1.104 uvm_map.c or here: Index: uvm_map.c === RCS file: /cvs/src/sys/uvm/uvm_map.c,v retrieving revision 1.99 retrieving revision 1.104 diff -u -p -r1.99 -r1.104 --- uvm_map.c 15 Sep 2007 10:10:37 - 1.99 +++ uvm_map.c 23 Sep 2008 13:25:46 - 1.104 @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.99 2007/09/15 10:10:37 martin Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.104 2008/09/23 13:25:46 art Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -98,6 +98,7 @@ static struct timeval uvm_kmapent_last_w static struct timeval uvm_kmapent_warn_rate = { 10, 0 }; struct uvm_cnt uvm_map_call, map_backmerge, map_forwmerge; +struct uvm_cnt map_nousermerge; struct uvm_cnt uvm_mlk_call, uvm_mlk_hint; const char vmmapbsy[] = vmmapbsy; @@ -538,6 +539,7 @@ uvm_map_init(void) UVMCNT_INIT(map_backmerge, UVMCNT_CNT, 0, # uvm_map() back merges, 0); UVMCNT_INIT(map_forwmerge, UVMCNT_CNT, 0, # uvm_map() missed forward, 0); + UVMCNT_INIT(map_nousermerge, UVMCNT_CNT, 0, # back merges skipped, 0); UVMCNT_INIT(uvm_mlk_call, UVMCNT_CNT, 0, # map lookup calls, 0); UVMCNT_INIT(uvm_mlk_hint, UVMCNT_CNT, 0, # map lookup hint hits, 0); @@ -726,6 +728,8 @@ uvm_map_p(struct vm_map *map, vaddr_t *s if ((map-flags VM_MAP_INTRSAFE) == 0) splassert(IPL_NONE); + else + splassert(IPL_VM); /* * step 0: sanity check of protection code @@ -832,6 +836,15 @@ uvm_map_p(struct vm_map *map, vaddr_t *s goto step3; } + /* +* Only merge kernel mappings, but keep track +* of how much we skipped. +*/ + if (map != kernel_map map != kmem_map) { + UVMCNT_INCR(map_nousermerge); + goto step3; + } + if (prev_entry-aref.ar_amap) { error = amap_extend(prev_entry, size); if (error) { @@ -897,6 +910,8 @@ step3: if ((flags UVM_FLAG_OVERLAY) == 0) new_entry-etype |= UVM_ET_NEEDSCOPY; } + if (flags UVM_FLAG_HOLE) + new_entry-etype |= UVM_ET_HOLE; new_entry-protection = prot; new_entry-max_protection = maxprot; @@ -1098,6 +1113,45 @@ uvm_map_spacefits(struct vm_map *map, va } /* + * uvm_map_pie: return a random load address for a PIE executable + * properly aligned. + */ + +#ifndef VM_PIE_MAX_ADDR +#define VM_PIE_MAX_ADDR (VM_MAXUSER_ADDRESS / 4) +#endif + +#ifndef VM_PIE_MIN_ADDR +#define VM_PIE_MIN_ADDR VM_MIN_ADDRESS +#endif + +#ifndef VM_PIE_MIN_ALIGN +#define VM_PIE_MIN_ALIGN PAGE_SIZE +#endif + +vaddr_t +uvm_map_pie(vaddr_t align) +{ + vaddr_t addr, space, min; + + align = MAX(align, VM_PIE_MIN_ALIGN); + + /* round up to next alignment */ + min = (VM_PIE_MIN_ADDR + align - 1) ~(align - 1); + + if (align = VM_PIE_MAX_ADDR || min = VM_PIE_MAX_ADDR) + return (align); + + space = (VM_PIE_MAX_ADDR - min) / align; + space = MIN(space, (u_int32_t)-1); + + addr = (vaddr_t)arc4random_uniform((u_int32_t)space) * align; + addr += min; + + return (addr); +} + +/* * uvm_map_hint: return the beginning of the best area suitable for * creating a new mapping with prot protection. */ @@ -1385,6 +1439,8 @@ uvm_unmap_remove(struct vm_map *map, vad if ((map-flags VM_MAP_INTRSAFE) == 0) splassert(IPL_NONE); + else + splassert(IPL_VM); /* * find first entry @@ -1451,7 +1507,9 @@ uvm_unmap_remove(struct vm_map *map, vad * special case: handle mappings to anonymous kernel objects. * we want to free these pages right away... */ - if (map-flags VM_MAP_INTRSAFE) { + if (UVM_ET_ISHOLE(entry)) { + /* nothing to do! */ + } else if (map-flags VM_MAP_INTRSAFE) { uvm_km_pgremove_intrsafe(entry-start
UFS on OpenBSD
Hi guys, Just wanted to ask if it's possible to format a drive on OpenBSD and tagged it as a UFS (makes it readable on a mac). I've been reading the newfs manpage but with no luck... anyone care to point me to some helpful links. any help will be awesomely appreciated. -b
Re: UFS on OpenBSD
thanks for the reply ted... i guess even if i try to forman the drive on HFS I won't be able to mount it on openbsd. i guess only way still is msdos_fs thanks again... :-) On Sat, Sep 20, 2008 at 4:30 PM, Ted Unangst [EMAIL PROTECTED] wrote: On Sat, Sep 20, 2008 at 6:16 PM, Beavis [EMAIL PROTECTED] wrote: Just wanted to ask if it's possible to format a drive on OpenBSD and tagged it as a UFS (makes it readable on a mac). I've been reading the newfs manpage but with no luck... anyone care to point me to some helpful links. The Mac UFS format is slightly different from the one used by OpenBSD, so not possible with the current tools.
Running virtualization Software on OpenBSD
Greetings folks, Just want to ask if there is someone who has tried to run Software Virtualization (OpenVZ, etc) on OpenBSD. I know that on the ports tree qemu is available, but i want something that is a bit simpler to manage. any comments or help will be awesomely appreciated. regards, -b
Re: Running virtualization Software on OpenBSD
thanks for the reply josh.. appreciate it! :) I'll look at OpenVZ and see if i can just run it on a host Linux box and do it from there. thanks thread! :) On Sat, Sep 13, 2008 at 12:03 PM, Josh Grosse [EMAIL PROTECTED] wrote: On Sat, Sep 13, 2008 at 11:32:44AM -0600, Beavis wrote: Greetings folks, Just want to ask if there is someone who has tried to run Software Virtualization (OpenVZ, etc) on OpenBSD. I know that on the ports tree qemu is available, but i want something that is a bit simpler to manage. any comments or help will be awesomely appreciated. I use qemu when I need a virtual kernel; if I only need a virtual disk farm I find chroot(8) serves magnificently.
OpenBSD syslogd
greetings kind folks, I would like do ask out if there's anyone here that uses OpenBSD's syslogd as a central log server for cisco equipment. I've been doing some googling and found the following thread http://www.monkey.org/openbsd/archive/misc/0110/msg01263.html I did put a -u on my /etc/rc.conf syslogd_flags= -u -a /logserver local7.debug/logserver/cisco.log and restart syslog (even restarted the entire box) but no good. any help will be greatly appreciated. thanks, b
Re: OpenBSD syslogd
thanks for the reply. i didn't enable pf at all. I'm using openbsd 4.2 rc.conf ospfd_flags=NO # for normal use: pf=NO # Packet filter / NAT pf_rules=/etc/pf.conf # Packet filter rules file pflogd_flags= # add more flags, ie. -s 256 On Thu, Jun 19, 2008 at 1:39 PM, Philip Guenther [EMAIL PROTECTED] wrote: On Thu, Jun 19, 2008 at 1:24 PM, Beavis [EMAIL PROTECTED] wrote: ... I did put a -u on my /etc/rc.conf syslogd_flags= -u -a /logserver If you have pf enabled, does your pf.conf let through UDP port 514 from the cisco? Philip Guenther
Re: OpenBSD syslogd
I want to thank the list. :) I was able to find out how to fix it. thanks, -B On Thu, Jun 19, 2008 at 1:53 PM, Beavis [EMAIL PROTECTED] wrote: thanks for the reply. i didn't enable pf at all. I'm using openbsd 4.2 rc.conf ospfd_flags=NO # for normal use: pf=NO # Packet filter / NAT pf_rules=/etc/pf.conf # Packet filter rules file pflogd_flags= # add more flags, ie. -s 256 On Thu, Jun 19, 2008 at 1:39 PM, Philip Guenther [EMAIL PROTECTED] wrote: On Thu, Jun 19, 2008 at 1:24 PM, Beavis [EMAIL PROTECTED] wrote: ... I did put a -u on my /etc/rc.conf syslogd_flags= -u -a /logserver If you have pf enabled, does your pf.conf let through UDP port 514 from the cisco? Philip Guenther
suid option + perl
Hello, Is there an suid option enabled on the perl built-into openbsd? I'm trying to setup qmail under openbsd 4.2 and would like to view that suid option for perl thanks, b
Re: sd0: not queuqued error 5
system is still good after I cvsup to -stable. my only concern is during bootup it takes around 1min. on the part that says ipmi0 at mainbus0 but i guess this is minimal as long as it doesn't spit out that sd0 error again. dmesg | grep mainbus0 shows: mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/28/08, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.4 @ 0x7fb9c000 (64 entries) acpi at mainbus0 not configured ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca8/8 spacing 4 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) keeping fingers cross, -beavis
Re: sd0: not queuqued error 5
Update: I've upgraded the BIOS and PERC 5/i (integrated) on my Dell PE 1950. Old BIOS: 1.5.1 New BIOS: 2.1.1 PERC 5/i OLD: 5.1.1-0040 PERC 5/i NEW: 5.2.1-0067 I've extracted a 126M file, before it completely hangs sd0, but as of the moment I was able to complete the extraction. I'll do some more testing and see if this rectify the problem or if it still exists. -beavis --dmesg-- OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR real mem = 2142142464 (2042MB) avail mem = 2063728640 (1968MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/28/08, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.4 @ 0x7fb9c000 (64 entries) bios0: vendor Dell Inc. version 2.1.1 date 01/28/2008 bios0: Dell Inc. PowerEdge 1950 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfa880/368 (21 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 6321ESB LPC rev 0x00) pcibios0: PCI bus #17 is the last bus bios0: ROM list: 0xc/0x9000! 0xc9000/0x1000 0xca000/0x1e00 0xcc000/0x5400 0xec000/0x4000! acpi at mainbus0 not configured ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca8/8 spacing 4 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12 ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12 pci1 at ppb0 bus 6 ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01 pci2 at ppb1 bus 7 ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01 pci3 at ppb2 bus 8 ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3 pci4 at ppb3 bus 9 bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 11 ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01 pci5 at ppb4 bus 10 ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01 pci6 at ppb5 bus 11 ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12 pci7 at ppb6 bus 1 ppb7 at pci7 dev 0 function 0 Intel IOP333 PCIE-PCIX rev 0x00 pci8 at ppb7 bus 2 mfi0 at pci8 dev 14 function 0 Dell PERC 5 rev 0x00: irq 5 mfi0: logical drives 1, version 5.2.1-0067, 256MB RAM scsibus0 at mfi0: 1 targets sd0 at scsibus0 targ 0 lun 0: DELL, PERC 5/i, 1.03 SCSI3 0/direct fixed sd0: 69376MB, 8844 cyl, 255 head, 63 sec, 512 bytes/sec, 142082048 sec total ppb8 at pci7 dev 0 function 2 Intel IOP333 PCIE-PCIX rev 0x00 pci9 at ppb8 bus 3 ppb9 at pci0 dev 4 function 0 Intel 5000 PCIE rev 0x12 pci10 at ppb9 bus 12 ppb10 at pci10 dev 0 function 0 Intel PCIE-PCIE rev 0x09 pci11 at ppb10 bus 13 ppb11 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12 pci12 at ppb11 bus 14 ppb12 at pci0 dev 6 function 0 Intel 5000 PCIE rev 0x12 pci13 at ppb12 bus 15 ppb13 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12 pci14 at ppb13 bus 16 pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12 pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12 pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12 pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12 pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12 pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12 pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12 ppb14 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09 pci15 at ppb14 bus 4 ppb15 at pci15 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3 pci16 at ppb15 bus 5 bnx1 at pci16 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 11 uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: irq 11 uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: irq 10 uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: irq 11 ehci0 at pci0 dev 29 function 7 Intel 6321ESB USB rev 0x09: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb16 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xd9 pci17 at ppb16 bus 17 vga1 at pci17 dev 13 function 0 ATI ES1000 rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ichpcib0 at pci0 dev 31 function 0 Intel 6321ESB LPC rev 0x09: PM disabled pciide0 at pci0 dev 31 function 1 Intel 6321ESB IDE rev 0x09: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: TEAC, DVD-ROM DV28EV, D.AE SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) 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
sd0: not queuqued error 5
Is there anyone here that have the same problem with a dell 1950 box, I tried to run openbsd 4.2 with a stock kernel, and when i try to extract the ports.tgz on the box i get the following msg: sd0: not queuqued error 5 I've tried to run a stable kernel but with the same results. below is my dmesg: any help would be greatly appreciated. -b OpenBSD 4.2-stable (MX01) #0: Fri Feb 8 04:51:27 CST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/MX01 cpu0: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR real mem = 2146697216 (2047MB) avail mem = 2068189184 (1972MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/10/07, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.4 @ 0x7ffbc000 (62 entries) bios0: vendor Dell Inc. version 1.5.1 date 08/10/2007 bios0: Dell Inc. PowerEdge 1950 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfaa30/368 (21 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 6321ESB LPC rev 0x00) pcibios0: PCI bus #17 is the last bus bios0: ROM list: 0xc/0x9000! 0xc9000/0x1000 0xca000/0x1800 0xcb800/0x5200 0xec000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12 ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12 pci1 at ppb0 bus 6 ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01 pci2 at ppb1 bus 7 ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01 pci3 at ppb2 bus 8 ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3 pci4 at ppb3 bus 9 bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 11 ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01 pci5 at ppb4 bus 10 ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01 pci6 at ppb5 bus 11 ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12 pci7 at ppb6 bus 1 ppb7 at pci7 dev 0 function 0 Intel IOP333 PCIE-PCIX rev 0x00 pci8 at ppb7 bus 2 mfi0 at pci8 dev 14 function 0 Dell PERC 5 rev 0x00: irq 5 mfi0: logical drives 1, version 5.1.1-0040, 256MB RAM scsibus0 at mfi0: 1 targets sd0 at scsibus0 targ 0 lun 0: DELL, PERC 5/i, 1.03 SCSI3 0/direct fixed sd0: 69376MB, 8844 cyl, 255 head, 63 sec, 512 bytes/sec, 142082048 sec total ppb8 at pci7 dev 0 function 2 Intel IOP333 PCIE-PCIX rev 0x00 pci9 at ppb8 bus 3 ppb9 at pci0 dev 4 function 0 Intel 5000 PCIE rev 0x12 pci10 at ppb9 bus 12 ppb10 at pci10 dev 0 function 0 Intel PCIE-PCIE rev 0x09 pci11 at ppb10 bus 13 ppb11 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12 pci12 at ppb11 bus 14 ppb12 at pci0 dev 6 function 0 Intel 5000 PCIE rev 0x12 pci13 at ppb12 bus 15 ppb13 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12 pci14 at ppb13 bus 16 pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12 pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12 pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12 pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12 pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12 pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12 pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12 ppb14 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09 pci15 at ppb14 bus 4 ppb15 at pci15 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3 pci16 at ppb15 bus 5 bnx1 at pci16 dev 0 function 0 Broadcom BCM5708 rev 0x12: irq 11 uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: irq 11 uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: irq 10 uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: irq 11 ehci0 at pci0 dev 29 function 7 Intel 6321ESB USB rev 0x09: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb16 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xd9 pci17 at ppb16 bus 17 vga1 at pci17 dev 13 function 0 ATI ES1000 rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ichpcib0 at pci0 dev 31 function 0 Intel 6321ESB LPC rev 0x09: PM disabled pciide0 at pci0 dev 31 function 1 Intel 6321ESB IDE rev 0x09: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: TEAC, DVD-ROM DV28EV, D.AE SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) 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 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd
Re: sd0: not queuqued error 5
is there any way to get around this? with -current? or is the same deal? I'm currently checking out dell for some firmware update. I'll inform the list as soon as i've applied the updates and the issue is fixed. -b On Feb 10, 2008 3:02 PM, Michael [EMAIL PROTECTED] wrote: Hi, Beavis schrieb: Is there anyone here that have the same problem with a dell 1950 box, No, but with an PE 2950... Michael # dmesg OpenBSD 4.2-current (GENERIC.MP) #0: Sat Jan 26 14:05:52 CET 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz (GenuineIntel 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR real mem = 3488874496 (3327MB) avail mem = 3385110528 (3228MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 08/10/07, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.4 @ 0xcffbc000 (62 entries) bios0: vendor Dell Inc. version 1.5.1 date 08/10/2007 bios0: Dell Inc. PowerEdge 2950 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP APIC SPCR HPET MCFG acpi0: wakeup devices PCI0(S5) 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 332 MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU 5130 @ 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,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 ioapic1 at mainbus0: apid 3 pa 0xfec81000, version 20, 24 pins ioapic1: misconfigured as apic 0, remapped to apid 3 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 6 (PEX2) acpiprt2 at acpi0: bus 7 (UPST) acpiprt3 at acpi0: bus 8 (DWN1) acpiprt4 at acpi0: bus 10 (DWN2) acpiprt5 at acpi0: bus 1 (PEX3) acpiprt6 at acpi0: bus 2 (PE2P) acpiprt7 at acpi0: bus 12 (PEX4) acpiprt8 at acpi0: bus 14 (PEX6) acpiprt9 at acpi0: bus 4 (SBEX) acpiprt10 at acpi0: bus 16 (COMP) acpicpu0 at acpi0 acpicpu1 at acpi0 bios0: ROM list: 0xc/0x9000! 0xc9000/0x5200 0xec000/0x4000! ipmi at mainbus0 not configured pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 5000X Host rev 0x12 ppb0 at pci0 dev 2 function 0 Intel 5000 PCIE rev 0x12 pci1 at ppb0 bus 6 ppb1 at pci1 dev 0 function 0 Intel 6321ESB PCIE rev 0x01 pci2 at ppb1 bus 7 ppb2 at pci2 dev 0 function 0 Intel 6321ESB PCIE rev 0x01 pci3 at ppb2 bus 8 ppb3 at pci3 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3 pci4 at ppb3 bus 9 bnx0 at pci4 dev 0 function 0 Broadcom BCM5708 rev 0x12: apic 2 int 17 (irq 11) ppb4 at pci2 dev 1 function 0 Intel 6321ESB PCIE rev 0x01: apic 2 int 17 (irq 0) pci5 at ppb4 bus 10 ppb5 at pci1 dev 0 function 3 Intel 6321ESB PCIE-PCIX rev 0x01 pci6 at ppb5 bus 11 ppb6 at pci0 dev 3 function 0 Intel 5000 PCIE rev 0x12 pci7 at ppb6 bus 1 ppb7 at pci7 dev 0 function 0 Intel IOP333 PCIE-PCIX rev 0x00 pci8 at ppb7 bus 2 mfi0 at pci8 dev 14 function 0 Dell PERC 5 rev 0x00: apic 3 int 14 (irq 5) mfi0: logical drives 1, version 5.1.1-0040, 256MB RAM scsibus0 at mfi0: 1 targets sd0 at scsibus0 targ 0 lun 0: DELL, PERC 5/i, 1.03 SCSI3 0/direct fixed sd0: 139392MB, 17769 cyl, 255 head, 63 sec, 512 bytes/sec, 285474816 sec total ppb8 at pci7 dev 0 function 2 Intel IOP333 PCIE-PCIX rev 0x00 pci9 at ppb8 bus 3 ppb9 at pci0 dev 4 function 0 Intel 5000 PCIE rev 0x12: apic 2 int 18 (irq 0) pci10 at ppb9 bus 12 ppb10 at pci0 dev 5 function 0 Intel 5000 PCIE rev 0x12 pci11 at ppb10 bus 13 ppb11 at pci0 dev 6 function 0 Intel 5000 PCIE rev 0x12: apic 2 int 19 (irq 0) pci12 at ppb11 bus 14 ppb12 at pci0 dev 7 function 0 Intel 5000 PCIE rev 0x12 pci13 at ppb12 bus 15 pchb1 at pci0 dev 16 function 0 Intel 5000 Error Reporting rev 0x12 pchb2 at pci0 dev 16 function 1 Intel 5000 Error Reporting rev 0x12 pchb3 at pci0 dev 16 function 2 Intel 5000 Error Reporting rev 0x12 pchb4 at pci0 dev 17 function 0 Intel 5000 Reserved rev 0x12 pchb5 at pci0 dev 19 function 0 Intel 5000 Reserved rev 0x12 pchb6 at pci0 dev 21 function 0 Intel 5000 FBD rev 0x12 pchb7 at pci0 dev 22 function 0 Intel 5000 FBD rev 0x12 ppb13 at pci0 dev 28 function 0 Intel 6321ESB PCIE rev 0x09 pci14 at ppb13 bus 4 ppb14 at pci14 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xc3 pci15 at ppb14 bus 5 bnx1 at pci15 dev 0 function 0 Broadcom BCM5708 rev 0x12: apic 2 int 16 (irq 11) uhci0 at pci0 dev 29 function 0 Intel 6321ESB USB rev 0x09: apic 2 int 21 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 6321ESB USB rev 0x09: apic 2 int 20 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 6321ESB USB rev 0x09: apic 2 int 21 (irq 11) ehci0
router/firewall PF
Just wanted to get some feedback on setting up pf(4) as a router/firewall only (no nat involved). I've been digging the list archive but most of the configurations on them has the a natted network. I'm looking for a basic router/firewall configuration. any help would be greatly appreciated. regards, -b
pf visible bridge/router
Hi all!, I've been searching lists with regards to building a Visible Bridge/Router with PF on OpenBSD. But most of the material I see are for invisible bridge configs. I wanted to just to a straight Routing/Bridging on my FW's (without the use of NAT) Any comments or experiences shared will be awesomely appreciated. thanks, -B
NAT and NO NAT Statements
hi list, just wanted to ask some pf folks here. is there a way to skip (bypass) filtering for just no nat statements? I'm currently working on some rules in which i need to have some servers on the other side of my fw to talk to internal machines without any translation (application performance issue). now i've setup my rule to work as follows: $rnet_lan=10.0.200.0/24 $rnet_wan=192.168.10.0/24 no nat on { $int_if, $ext_if } inet from $rnet_lan to $rnet_wan no nat on { $ext_if, $int_if } inet from $rnet_wan to $rnet_lan nat pass on $ext_if inet proto {tcp, udp, icmp} $rnet_lan to any - $ext_if # To let rnet_lan and rnet_wan talk to each other without any filtering pass in quick from any to $rnet_wan pass out quick from any to $rnet_wan pass in quick from $rnet_wan to any pass out quick from $rnet_wan to any pass in on $int_if inet proto tcp from $rnet_lan to any port 80 pass out on $ext_if inet proto tcp from ($ext_if) to any port 80 As soon as I put in a rule below for some weird reason, when i access PC's on the $rnet_wan. it gets filtered by pf. any comments or improvements that any can recommend will be greatly appreciated. thanks, -pf
Re: mutiple pptp pass-through PF
lars, thanks for the reply. as for the pptp implementation, I just wanted to make PF do this (pass-through) like what other packet filtering (iptables, even PIX) can do. I know how unsafe this implementation is, but the site where we are currently getting this pptp connection to, is an old branch office and i don't manage their network. they are moving to the new facility where i have my pf firewalls in place, they need this pptp pass-through during transition as soon as everybody is moved here we can easily let this pptp go. on the other side of things it would be nice to make PF do this pptp pass through, it makes pf more of a over-all packet filter that can basically do anything and personally .. it may sound like a joke here but .. with all of pf's features .. i kinda envy crappy routers like LINKSYS that can do PPTP pass-through and our beloved pf(4) can't -b On Nov 20, 2007 12:51 AM, Lars Noodin [EMAIL PROTECTED] wrote: Beavis wrote: ... I'm trying to run multiple pptp connections behind my 2 PF/carp firewalls. ... You should not be using PPTP. You have your choice, IPsec with encryption or SSL with encryption: http://www.vpnc.org/vpn-standards.html Allowing PPTP inside your LAN is to encourage use of insecure methods and technologies that *cannot* be secured. You've got to move to IPsec sometime, why not now? If you are dealing with Apple, it may be helpful to reference earlier bug reports regarding that serious security flaw. I myself filed problem ID #5517198, but that is marked as a duplicate of #4316417. We'll see if they can be assed to fix the gaping holes in the system. Regards, -Lars
mutiple pptp pass-through PF
hi folks, any pf folks available? I'm trying to run multiple pptp connections behind my 2 PF/carp firewalls. i was only successful to pass just 1 client and the rest gets denied for some weird reason. my pf.conf is below nat on $exT_if inet from any to any - $ext_if block in all block out all pass in quick on $int_if inet proto { tcp, udp } from any to any port 1723 pass in inet proto gre from any to any pass out inet proto gre from any to any am I missing some other config to let the rest go out? any comments would be awesomely appreciated. thanks, -b
reverse route
hi folks, I have setup a network as follows internet --[L3_switch1]--(out)[openbsd pf](in)--L3 Switch]--[LAN1] / [LAN2] I configure nat for LAN1(192.168.0.0/24) and LAN2(192.168.1.0/24) nat on $ext_if inet proto $proto_natg from { $LAN1, LAN2 } to any - $ext_if port 1:15000 i can't seem to route traffic from LAN2 to the internet. I've configured the L3 Switches to route everything to their corresponding fw's (L3_switch1) 0.0.0.0 0.0.0.0 Internet-Router (L3_switch2) 0.0.0.0 0.0.0.0 192.168.0.1 Is there a way for me to route traffic that LAN2 sent to the L3SwitchIP ? sort of a reverse route. I have tried to put in the following rdr pass on $ext_if proto tcp from any to $LAN2 - 192.168.0.6 (ip of switch2) but to no avail. any comments would be greatly appreciated. -pf
reverse route
for those that are about to answer my first email.. i would like to say thanks. I was able to figure it out man route :) thank you folks! -pf
Update features on PF(OpenBSD4.2)
hi folks, I saw this performance issue with pf on a AMD64firewall: below is the link http://www.nabble.com/firewall-is-very-slow%2C-something%27s-wrong-t4572653i20.html it states that pf on 4.2 performs much better than in 4.1. having said this, is it possible to be able to just update pf's feature instead of going through the entire OS upgrade? since im really going after the features of pf, and happy with how 4.1 is. any comments are awesomely appreciated. thanks, -beavis
Re: Update features on PF(OpenBSD4.2)
thanks for the reply guys, I currently run CARP and pfsync on both boxes (upgrade can be done with less downtime) though i haven't tried to stress test my setup, i guess this upgrade is do-able. instead of coding (im not a coder). regards, -beavis On 10/22/07, Paul de Weerd [EMAIL PROTECTED] wrote: On Mon, Oct 22, 2007 at 10:20:41AM -0600, Beavis wrote: | hi folks, | |I saw this performance issue with pf on a AMD64firewall: below is the link | | http://www.nabble.com/firewall-is-very-slow%2C-something%27s-wrong-t4572653i20.html | | it states that pf on 4.2 performs much better than in 4.1. having said | this, is it possible to be able to just update pf's feature instead of | going through the entire OS upgrade? since im really going after the | features of pf, and happy with how 4.1 is. Some of the improvements are outside of pf (some drivers have had drastic improvements), so only updating pf may not even get you all the new performance improvements that were made between 4.1 and 4.2. However, since pf is part of the kernel, the short answer to your question is no. You must upgrade the kernel to be able to use the new pf. The new kernel requires new userland, so that too must be upgraded. If you really want, and are a highly qualified coder, you could try to backport the improvements to 4.1. You'll find that upgrading is way (and i do mean *WAY*) easier than doing this work. If you are such a skilled programmer, your time is probably better spent doing other useful stuff (maybe improve pf even more). The upgrade will take you a coupe of minutes to an hour, depending on your exact situation. The backport will take you probably about six months and a team of dedicated OpenBSD developers. You will at the end be left with something that is not OpenBSD 4.1 anymore. How (and when) are you going to upgrade that ? Unless you consider this backport-thing a fun excercise, I would recommend against doing it. Cheers, Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
mic recording
Hi, I seem to have an issue with my mic on my openbsd 4.1 I tried the instructions on chapter 13 (http://www.openbsd.org/faq/faq13.html#convert) but to no avail, my soundcard is detected flawlessly... any hints would be greatly appreciated ed audioctl -a name=ICH4 AC97 version=0x01 config=auich0 encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16* properties=full_duplex,mmap,independent full_duplex=0 fullduplex=0 blocksize=1600 hiwat=40 lowat=1 monitor_gain=0 mode= play.rate=8000 play.channels=1 play.precision=8 play.encoding=mulaw play.gain=127 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=1600 play.samples=235600 play.eof=0 play.pause=0 play.error=1 play.waiting=0 play.open=0 play.active=0 play.buffer_size=65536 record.rate=8000 record.channels=1 record.precision=8 record.encoding=mulaw record.gain=191 record.balance=32 record.port=0x1 record.avail_ports=0x7 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=65536 ** mixerctl -a outputs.master=39,39 outputs.master.mute=off outputs.mono=255 outputs.mono.mute=on outputs.mono.source=mixerout outputs.headphones=255,255 outputs.headphones.mute=off outputs.bass=255 outputs.treble=255 inputs.speaker=255 inputs.speaker.mute=off inputs.phone=191 inputs.phone.mute=on inputs.mic=191 inputs.mic.mute=on inputs.mic.preamp=off inputs.mic.source=mic0 inputs.line=191,191 inputs.line.mute=on inputs.cd=191,191 inputs.cd.mute=on inputs.video=255,255 inputs.video.mute=off inputs.aux=191,191 inputs.aux.mute=on inputs.dac=191,191 inputs.dac.mute=off record.source=mic record.volume=255,255 record.volume.mute=off record.mic=0 record.mic.mute=off outputs.loudness=off outputs.spatial=off outputs.spatial.center=0 outputs.spatial.depth=0 outputs.surround=255,255 outputs.surround.mute=off outputs.center=255 outputs.center.mute=off outputs.lfe=255 outputs.lfe.mute=off outputs.extamp=off
premature scripts?
hi guys, Just wanted to know if the default setup for the built-in apache on 4.0can work with cgi's? I am currently building some mailboxes and I would like to run it on openbsd but I haven't noticed why is it that the default install can't run test-cgi or printenv at all? I did chmod 755 on the files even checked out if there is an ExecCGI on the /var/www/cgi-bin and everything looks good. is there anything else I'm missing? I have the following info. OpenBSD mail01 4.0 GENERIC#1107 i386 Apache $sudo httpd -V Server version: Apache/1.3.29 (Unix) Server's Module Magic Number: 19990320:15 Server compiled with -D EAPI -D HAVE_MMAP -D HAVE_SHMGET -D USE_MMAP_SCOREBOARD -D USE_MMAP_FILES -D HAVE_FLOCK_SERIALIZED_ACCEPT -D HAVE_SYSVSEM_SERIALIZED_ACCEPT -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D DYNAMIC_MODULE_LIMIT=64 -D HARD_SERVER_LIMIT=256 -D HTTPD_ROOT=/var/www -D SUEXEC_BIN=/usr/sbin/suexec -D DEFAULT_PIDLOG=logs/httpd.pid -D DEFAULT_SCOREBOARD=logs/httpd.scoreboard -D DEFAULT_LOCKFILE=logs/httpd.lock -D DEFAULT_ERRORLOG=logs/error_log -D TYPES_CONFIG_FILE=conf/mime.types -D SERVER_CONFIG_FILE=conf/httpd.conf -D ACCESS_CONFIG_FILE=conf/access.conf -D RESOURCE_CONFIG_FILE=conf/srm.conf not sure what else I'm missing. but if theres anything that i need to checked out I would greatly appreciate any feedback. thanks, Ed
Re: premature scripts?
Sorry for putting up noise where as Im silly at not looking at /etc/rc.conf first to find out that -u switch for HTTPD. thanks for all the reply guys! peace, Ed On 3/28/07, Beavis [EMAIL PROTECTED] wrote: hi guys, Just wanted to know if the default setup for the built-in apache on 4.0can work with cgi's? I am currently building some mailboxes and I would like to run it on openbsd but I haven't noticed why is it that the default install can't run test-cgi or printenv at all? I did chmod 755 on the files even checked out if there is an ExecCGI on the /var/www/cgi-bin and everything looks good. is there anything else I'm missing? I have the following info. OpenBSD mail01 4.0 GENERIC#1107 i386 Apache $sudo httpd -V Server version: Apache/1.3.29 (Unix) Server's Module Magic Number: 19990320:15 Server compiled with -D EAPI -D HAVE_MMAP -D HAVE_SHMGET -D USE_MMAP_SCOREBOARD -D USE_MMAP_FILES -D HAVE_FLOCK_SERIALIZED_ACCEPT -D HAVE_SYSVSEM_SERIALIZED_ACCEPT -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D DYNAMIC_MODULE_LIMIT=64 -D HARD_SERVER_LIMIT=256 -D HTTPD_ROOT=/var/www -D SUEXEC_BIN=/usr/sbin/suexec -D DEFAULT_PIDLOG=logs/httpd.pid -D DEFAULT_SCOREBOARD=logs/httpd.scoreboard -D DEFAULT_LOCKFILE=logs/httpd.lock -D DEFAULT_ERRORLOG=logs/error_log -D TYPES_CONFIG_FILE=conf/mime.types -D SERVER_CONFIG_FILE=conf/httpd.conf -D ACCESS_CONFIG_FILE=conf/access.conf -D RESOURCE_CONFIG_FILE=conf/srm.conf not sure what else I'm missing. but if theres anything that i need to checked out I would greatly appreciate any feedback. thanks, Ed
4.0 on Dell 2650
Hi guys Just wanted to ask if any of you have experience putting openbsd 4.0 to a dell 2650? I tried to boot up using both cd40.iso and floppyB40.fs but it always says no disks found. haven't seen any scsi drives loaded. I tried an initial setup using RAID 5 hardware (configured) and see if 4.0 will see it but with no luck I even tried it with mirror and just a regular stripe.. with still no avail, makes me wonder does this mean openbsd doesn't support scsi controllers build into dell boxes? well any comments or suggestions will be very much appreciated. thanks, -Ed
Re: 4.0 on Dell 2650
I'll try that jack thanks -ed On 2/9/07, Jack J. Woehr [EMAIL PROTECTED] wrote: On Feb 9, 2007, at 4:29 PM, Beavis wrote: yup jack... just saw it when i did the google specifically for PERC 3Di The one thing I remember from all my Dell Fu is that if you disable all the raid stuff in the BIOS OpenBSD loads. So I guess it's broke w/r/t RAID may be the answer. Or maybe I'm wrong! Take care! *-- * *Jack J. Woehr* *Director of Development* *Absolute Performance, Inc.* [EMAIL PROTECTED] *303-443-7000 ext. 527* * *
Re: 4.0 on Dell 2650
hi Steve, I have a PERC 3/Di on an old Dell 2650, dmesg doesn't show that much info it's just that there's no disk and PERC 3/Di is not-configured seems like dell still hasn't budge .. seems like it's an old issue old donkey-dell.. -Ed On 2/9/07, Steve Williams [EMAIL PROTECTED] wrote: Beavis wrote: Hi guys Just wanted to ask if any of you have experience putting openbsd 4.0to a dell 2650? I tried to boot up using both cd40.iso and floppyB40.fs but it always says no disks found. haven't seen any scsi drives loaded. I tried an initial setup using RAID 5 hardware (configured) and see if 4.0 will see it but with no luck I even tried it with mirror and just a regular stripe.. with still no avail, makes me wonder does this mean openbsd doesn't support scsi controllers build into dell boxes? well any comments or suggestions will be very much appreciated. thanks, -Ed Hi, What controller do you have? I'm just trying to install on a Poweredge 860 with a PERC 5IR. Do you have a dmesg? If you can't get one off your system, at the # prompt, you can still configure your network (dhclient/ifconfig) ftp is on the install CD if you have someplace to put it. Worked for me. Cheers, Steve W.