[01:04] *** LT has joined #arpnetworks [01:10] *** mordac has quit IRC (Ping timeout: 260 seconds) [01:20] *** mordac has joined #arpnetworks [01:53] hmm someone posted on the openbsd mailing list having issues booting openbsd on arp [01:55] oh he's on old kvm node [02:03] actually his cpu flags look diff [02:04] he seems to have sse4 support and i don't. [02:11] *** fink has joined #arpnetworks [02:12] *** fink has quit IRC (Client Quit) [02:16] *** mordac has quit IRC (Quit: 403 attention redirect) [08:11] mercutio, I tried 5.6 the other day and was not able to get it booted [08:17] *** mkb_ has joined #arpnetworks [08:17] *** mkb has quit IRC (Read error: Connection reset by peer) [08:21] *** mkb_ is now known as mkb [09:24] *** LT has quit IRC (Quit: Leaving) [10:57] *** bardo_ has joined #arpnetworks [10:58] mercutio: this is what my flags look like on kvr30 : flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm up unfair_spinlock pni cx16 popcnt hypervisor lahf_lm abm sse4a [11:00] *** bardo has quit IRC (Ping timeout: 255 seconds) [12:01] i'm actually using a snapshot [12:01] OpenBSD 5.6-current (MEH) #0: Sun Nov 9 15:22:48 NZDT 2014 [12:01] but it's a recent snapshot [12:02] cpu0: QEMU Virtual CPU version 1.0, 2667.27 MHz [12:02] cpu0: FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,VMX,CX16,NXE,LONG,LAHF [12:02] That's what she said!! [12:03] i wouldn't want to say that [12:03] reading it is ok [12:19] they're not in the same order, but it seems i have vmx and you don't? [12:19] unless vmx and hypervisor is the same thing [12:20] maybe it's sse4.2 that shows as SSE4 on openbsd. [12:20] his showed as: [12:20] cpu0: QEMU Virtual CPU version 0.12.3, 2600.56 MHz [12:20] cpu0: [12:20] FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MM [12:20] X,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,ABM,SSE4A,PERF [12:20] That's what she said!! [12:21] err it has ABM but I don't. [12:22] actually that means AMD I think. [12:22] mkb: where was your boot stopping? [12:41] *** awyeah has quit IRC (Quit: ZNC - http://znc.in) [12:43] *** awyeah has joined #arpnetworks [13:05] mercutio, nvram: invalid checksum; same place as the mailing list [13:05] kvr29 [13:05] i get invalid checksum too [13:05] scsibus3 at softraid0: 256 targets [13:05] root on wd0a (f68d22bdb905441b.a) swap on wd0b dump on wd0b [13:06] clock: unknown CMOS layout [13:06] his seemed to get up to scsibus3 [13:06] get on up [13:06] and DANCE [13:06] * BryceBot dances :D-< [13:06] * BryceBot dances :D|-< [13:06] * BryceBot dances :D/-< [13:06] and not say the root or clock [13:06] i'm on kvr15 [13:06] i think kvr29 is amd [13:07] are you 2.6 ghz too? [13:07] cpu0: QEMU Virtual CPU version 0.12.3, 2600.66 MHz [13:07] it's 2.66ghz on intel [13:07] it seems [13:07] hmm [13:07] ok why does it say different virtual cpu version [13:07] i assumed 1.0 was more recent than 0.12.3 [13:08] but it looks like i was wrong, and that signifys amd not intel. [13:08] the version? [13:08] maybe when up_the_irons he can clue us in more [13:08] yeah. [13:11] I suppose someone needs to figure out how to get ddb or the virtualization software to dump the registers [13:12] damn amazon is expensive for shipping to here :( [13:13] $28.34 for a video card. [13:13] yeah i dunno if dumping would help much [13:13] did you try the -usb thing? [13:13] and -mpbios for good measure [13:14] I did try mpbios; didn't help. Then I gate up and installed 5.5 back [13:16] heh [13:16] i jumped from 5.5 i386 to 5.6 amd64 [13:17] well it was in betwen 5.5 and 5.6 on i386 [13:17] i did it a while ago, but i just recompiled my kernel shifting from GENERIC [13:34] *** staticsa1 has joined #arpnetworks [13:34] *** staticsafe has quit IRC (Quit: WeeChat 1.0) [13:39] *** staticsa1 is now known as staticsafe [17:13] *** carvite has quit IRC (Remote host closed the connection) [17:31] *** carvite has joined #arpnetworks [17:34] mercutio: I thought 1.0 was newer than 0.12.3 also [17:37] phlux: omg love the ascii art from the other day :) [17:38] *** carvite has quit IRC (Ping timeout: 264 seconds) [17:39] up_the_irons: i htink it's ths same and diff cpu definition? [17:39] up_the_irons: is kvr29 and kvr15 the same version of kvm? [17:40] $ ssh kvr15 lsb_release -rd [17:40] Description: Ubuntu 12.04.4 LTS [17:40] Release: 12.04 [17:40] $ ssh kvr29 lsb_release -rd [17:40] Description: Ubuntu 10.04.4 LTS [17:40] Release: 10.04 [17:40] $ [17:40] kvr15 is newer [17:40] oh [17:41] ok thanks :) [17:41] np:) [17:41] is kvr29 amd? [17:41] yes [17:41] ok [17:41] kvr15 is intel [17:41] that's where i went wrong [17:41] amd doesn't necessarily mean new kvm [17:41] yeah [17:41] up_the_irons: at least two people are having problems with openbsd 5.6 on the old kvm [17:41] metal detector: http://i.imgur.com/9he0xN8.jpg [17:42] unless that was the same guy as on the mailing list :) [17:45] *** carvite has joined #arpnetworks [17:46] mercutio: yeah i saw a ticket or two about that [17:46] going to need to migrate those guys or they downgrade [17:46] migrate seems most sensible to me [17:46] then virtio is supported too [17:46] mind oyu there's no knob in cp to enable that [17:48] $60,000 AUD in CAD [17:48] @wa $60,000 AUD in CAD [17:48] convert convert $60000 (US dollars) to Australian dollars to Canadian dollars;C$68230 (Canadian dollars) (at current quoted rate);$60000 (US dollars) (at current quoted rate);, 1-year minimum->C$65660 (December 20, 2013->11 months ago), 1-year maximum->C$71690 (April 23, 2014->7 months ago), 1-year average->C$69150 (annualized volatility: 6.3%) [17:49] *** carvite has quit IRC (Ping timeout: 245 seconds) [17:51] *** carvite has joined #arpnetworks [17:51] *** xales1 has joined #arpnetworks [17:52] *** xales has quit IRC (Ping timeout: 260 seconds) [17:52] *** m0unds1 has joined #arpnetworks [17:53] *** toddf_ has joined #arpnetworks [17:56] *** carvite has quit IRC (Ping timeout: 250 seconds) [17:56] *** toddf has quit IRC (Ping timeout: 260 seconds) [17:56] *** m0unds has quit IRC (Ping timeout: 260 seconds) [18:02] @exch 60000 AUD CAD [18:02] ^ also [18:02] 60000 AUD -> 51769.748864948 USD -> 58843.722659101 CAD (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:03] *** carvite has joined #arpnetworks [18:04] mercutio: well yeah i'd have to do it manually on my end [18:06] @exch 5000 MYR USD [18:06] 5000 MYR -> 1496.961617006 USD (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:10] @exch 60 EUR USD [18:10] 60 EUR -> 74.567601122988 USD (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:10] @exch 100 EUR USD [18:10] 100 EUR -> 124.27933520498 USD (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:10] *** JC_Denton_ has joined #arpnetworks [18:10] *** JC_Denton has quit IRC (Ping timeout: 264 seconds) [18:10] *** JC_Denton_ is now known as JC_Denton [18:11] *** JC_Denton is now known as Guest29150 [18:13] @exch 16.90 USD MYR [18:13] 16.90 USD -> 56.4476731 MYR (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:39] anyone know if the CPU NX flag can be passed on to guests? I can see our CPUs support it, but guests don't see it. I've been doing some googling and not coming up with much... [18:40] nothing bad should happen up_the_irons [18:40] it just means that the OS can mark pages as non executable. [18:41] so that data pages etc can be marked that way to reduce the chances of security issues [18:47] mercutio: yeah i understand, but how do i enable that flag for a guest... can't figure it out [18:48] i think you haev to chhange from defining generic cpus to specific flags [18:49] qemu -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+x2apic [18:49] err try +nx? [18:49] qemu -cpu host [18:49] actually that may be better [18:57] hmm.. [18:59] the only problem with cpu host is if doing live migration [18:59] which you don't do anyway. [18:59] it just means it exposes the raw cpu stuff [19:02] yeah [20:29] *** carvite has quit IRC (Ping timeout: 244 seconds) [20:30] *** carvite has joined #arpnetworks [20:50] *** Guest29150 is now known as JC_Denton [21:03] *** bardo_ has quit IRC (Ping timeout: 244 seconds) [21:06] *** novae has quit IRC (Remote host closed the connection) [21:06] *** novae has joined #arpnetworks [21:47] up_the_irons: Here is my pull request: https://github.com/up_the_irons/arpnet-toolbox/pull/3 Made some changes to the asn.sh file as per your input [21:49] I feel like a lot of this is redundant [21:50] For instance the if two= "AS" ... else ASN=${1##AS} [21:50] Those 5 lines alone could be pared down to 2 lines [21:51] But then we get to the point where you extract digits from $1... Why did we strip off "AS" if we can just pull the number out anyways? [21:51] to limit input like 123anything [21:52] What do you mean? [21:52] if you pull the number out alone, then even text after the number will be valid input [21:53] say AS123textgoeshere [21:53] If I feed AS1234ABCD I get 1234 back out [21:53] up_the_irons didnt like that behaviour [21:53] it should be invalid [21:53] only valid input should be as1234, AS1234 and 1234 [21:54] I would argue that we could/should leave the value validation to the backend (once it's been massaged to a suitable format) [22:00] mnathani: This will will replace all of that logic: egrep -o '^(AS)?[0-9]+$' [22:01] ASN=$(echo "$1" | egrep -o '^(AS)?[0-9]+$') [22:01] if[ "x$ASN" = "x" ] ; then usage ; exit 1 ; fi [22:01] ASN will either have a valid number, or it will be empty [22:02] oh forgot the -i to egrep [22:02] egrep -i -o '^(AS)?[0-9]+$' [22:02] -i case insensitive, -o to print only the portion that matched the regex [22:03] The regex itself will only match "as1234" and "1234", any trailing non-numbers will cause the pattern to fail and return a blank [22:03] (technically the check alone could be done with: if ! echo "$1" | egrep -q -i '^(AS)?[0-9]+$' ; then ... ; fi) [22:04] (or if you like to have fun, [ echo "$1" | egrep -o '^(AS)?[0-9]+$' ] || { usage ; exit 1 } [22:04] yea, looks like that will work [22:04] more elegant, less code [22:05] And arguably more readable (because it's concise) [22:05] and you didnt need to use like 5 extra variables either [22:17] *** brycec has quit IRC (Ping timeout: 256 seconds) [22:21] *** brycec has joined #arpnetworks [22:21] Huh, looks like all (most?) of my ipv4 states were cut [22:22] v4 IRC connections, OpenVPN connections (v4 udp) all flopped [23:19] *** gizmoguy has quit IRC (Remote host closed the connection) [23:42] damn that dead beef.