#arpnetworks/ 2014-11-10,Mon

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***LT has joined #arpnetworks [01:04]
mordac has quit IRC (Ping timeout: 260 seconds) [01:10]
mordac has joined #arpnetworks [01:20]
....... (idle for 33mn)
mercutiohmm someone posted on the openbsd mailing list having issues booting openbsd on arp
oh he's on old kvm node
[01:53]
actually his cpu flags look diff
he seems to have sse4 support and i don't.
[02:03]
***fink has joined #arpnetworks
fink has quit IRC (Client Quit)
mordac has quit IRC (Quit: 403 attention redirect)
[02:11]
........................................................................ (idle for 5h55mn)
mkbmercutio, I tried 5.6 the other day and was not able to get it booted [08:11]
***mkb_ has joined #arpnetworks
mkb has quit IRC (Read error: Connection reset by peer)
mkb_ is now known as mkb
[08:17]
............. (idle for 1h3mn)
LT has quit IRC (Quit: Leaving) [09:24]
................... (idle for 1h33mn)
bardo_ has joined #arpnetworks [10:57]
mnathanimercutio: 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 [10:58]
***bardo has quit IRC (Ping timeout: 255 seconds) [11:00]
............. (idle for 1h1mn)
mercutioi'm actually using a snapshot
OpenBSD 5.6-current (MEH) #0: Sun Nov 9 15:22:48 NZDT 2014
but it's a recent snapshot
cpu0: QEMU Virtual CPU version 1.0, 2667.27 MHz
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:01]
BryceBotThat's what she said!! [12:02]
mercutioi wouldn't want to say that
reading it is ok
[12:03]
.... (idle for 16mn)
they're not in the same order, but it seems i have vmx and you don't?
unless vmx and hypervisor is the same thing
maybe it's sse4.2 that shows as SSE4 on openbsd.
his showed as:
cpu0: QEMU Virtual CPU version 0.12.3, 2600.56 MHz
cpu0:
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MM
X,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,ABM,SSE4A,PERF
[12:19]
BryceBotThat's what she said!! [12:20]
mercutioerr it has ABM but I don't.
actually that means AMD I think.
mkb: where was your boot stopping?
[12:21]
.... (idle for 19mn)
***awyeah has quit IRC (Quit: ZNC - http://znc.in)
awyeah has joined #arpnetworks
[12:41]
..... (idle for 22mn)
mkbmercutio, nvram: invalid checksum; same place as the mailing list
kvr29
[13:05]
mercutioi get invalid checksum too
scsibus3 at softraid0: 256 targets
root on wd0a (f68d22bdb905441b.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout
his seemed to get up to scsibus3
[13:05]
BryceBotget on up
and DANCE
BryceBot dances :D-<
BryceBot dances :D|-<
BryceBot dances :D/-<
[13:06]
mercutioand not say the root or clock
i'm on kvr15
i think kvr29 is amd
are you 2.6 ghz too?
[13:06]
mkbcpu0: QEMU Virtual CPU version 0.12.3, 2600.66 MHz [13:07]
mercutioit's 2.66ghz on intel
it seems
[13:07]
mkbhmm [13:07]
mercutiook why does it say different virtual cpu version
i assumed 1.0 was more recent than 0.12.3
but it looks like i was wrong, and that signifys amd not intel.
[13:07]
mkbthe version? [13:08]
mercutiomaybe when up_the_irons he can clue us in more
yeah.
[13:08]
mkbI suppose someone needs to figure out how to get ddb or the virtualization software to dump the registers [13:11]
mercutiodamn amazon is expensive for shipping to here :(
$28.34 for a video card.
yeah i dunno if dumping would help much
did you try the -usb thing?
and -mpbios for good measure
[13:12]
mkbI did try mpbios; didn't help. Then I gate up and installed 5.5 back [13:14]
mercutioheh
i jumped from 5.5 i386 to 5.6 amd64
well it was in betwen 5.5 and 5.6 on i386
i did it a while ago, but i just recompiled my kernel shifting from GENERIC
[13:16]
.... (idle for 17mn)
***staticsa1 has joined #arpnetworks
staticsafe has quit IRC (Quit: WeeChat 1.0)
[13:34]
staticsa1 is now known as staticsafe [13:39]
........................................... (idle for 3h34mn)
carvite has quit IRC (Remote host closed the connection) [17:13]
.... (idle for 18mn)
carvite has joined #arpnetworks [17:31]
up_the_ironsmercutio: I thought 1.0 was newer than 0.12.3 also
phlux: omg love the ascii art from the other day :)
[17:34]
***carvite has quit IRC (Ping timeout: 264 seconds) [17:38]
mercutioup_the_irons: i htink it's ths same and diff cpu definition?
up_the_irons: is kvr29 and kvr15 the same version of kvm?
[17:39]
up_the_irons$ ssh kvr15 lsb_release -rd
Description: Ubuntu 12.04.4 LTS
Release: 12.04
$ ssh kvr29 lsb_release -rd
Description: Ubuntu 10.04.4 LTS
Release: 10.04
$
kvr15 is newer
[17:40]
mercutiooh
ok thanks :)
[17:40]
up_the_ironsnp:) [17:41]
mercutiois kvr29 amd? [17:41]
up_the_ironsyes [17:41]
mercutiook [17:41]
up_the_ironskvr15 is intel [17:41]
mercutiothat's where i went wrong
amd doesn't necessarily mean new kvm
[17:41]
up_the_ironsyeah [17:41]
mercutioup_the_irons: at least two people are having problems with openbsd 5.6 on the old kvm [17:41]
up_the_ironsmetal detector: http://i.imgur.com/9he0xN8.jpg [17:41]
mercutiounless that was the same guy as on the mailing list :) [17:42]
***carvite has joined #arpnetworks [17:45]
up_the_ironsmercutio: yeah i saw a ticket or two about that
going to need to migrate those guys or they downgrade
[17:46]
mercutiomigrate seems most sensible to me
then virtio is supported too
mind oyu there's no knob in cp to enable that
[17:46]
mnathani$60,000 AUD in CAD
@wa $60,000 AUD in CAD
[17:48]
BryceBotconvert 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:48]
***carvite has quit IRC (Ping timeout: 245 seconds)
carvite has joined #arpnetworks
xales1 has joined #arpnetworks
xales has quit IRC (Ping timeout: 260 seconds)
m0unds1 has joined #arpnetworks
toddf_ has joined #arpnetworks
carvite has quit IRC (Ping timeout: 250 seconds)
toddf has quit IRC (Ping timeout: 260 seconds)
m0unds has quit IRC (Ping timeout: 260 seconds)
[17:49]
brycec@exch 60000 AUD CAD
^ also
[18:02]
BryceBot60000 AUD -> 51769.748864948 USD -> 58843.722659101 CAD (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:02]
***carvite has joined #arpnetworks [18:03]
up_the_ironsmercutio: well yeah i'd have to do it manually on my end [18:04]
anisfarhana@exch 5000 MYR USD [18:06]
BryceBot5000 MYR -> 1496.961617006 USD (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:06]
up_the_irons@exch 60 EUR USD [18:10]
BryceBot60 EUR -> 74.567601122988 USD (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:10]
up_the_irons@exch 100 EUR USD [18:10]
BryceBot100 EUR -> 124.27933520498 USD (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:10]
***JC_Denton_ has joined #arpnetworks
JC_Denton has quit IRC (Ping timeout: 264 seconds)
JC_Denton_ is now known as JC_Denton
JC_Denton is now known as Guest29150
[18:10]
anisfarhana@exch 16.90 USD MYR [18:13]
BryceBot16.90 USD -> 56.4476731 MYR (as of Mon, 10 Nov 2014 17:00:48 -0800) [18:13]
...... (idle for 26mn)
up_the_ironsanyone 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:39]
mercutionothing bad should happen up_the_irons
it just means that the OS can mark pages as non executable.
so that data pages etc can be marked that way to reduce the chances of security issues
[18:40]
up_the_ironsmercutio: yeah i understand, but how do i enable that flag for a guest... can't figure it out [18:47]
mercutioi think you haev to chhange from defining generic cpus to specific flags
qemu -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+x2apic
err try +nx?
qemu -cpu host
actually that may be better
[18:48]
up_the_ironshmm.. [18:57]
mercutiothe only problem with cpu host is if doing live migration
which you don't do anyway.
it just means it exposes the raw cpu stuff
[18:59]
up_the_ironsyeah [19:02]
.................. (idle for 1h27mn)
***carvite has quit IRC (Ping timeout: 244 seconds)
carvite has joined #arpnetworks
[20:29]
..... (idle for 20mn)
Guest29150 is now known as JC_Denton [20:50]
bardo_ has quit IRC (Ping timeout: 244 seconds)
novae has quit IRC (Remote host closed the connection)
novae has joined #arpnetworks
[21:03]
......... (idle for 41mn)
mnathaniup_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:47]
brycecI feel like a lot of this is redundant
For instance the if two= "AS" ... else ASN=${1##AS}
Those 5 lines alone could be pared down to 2 lines
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:49]
mnathanito limit input like 123anything [21:51]
brycecWhat do you mean? [21:52]
mnathaniif you pull the number out alone, then even text after the number will be valid input
say AS123textgoeshere
[21:52]
brycecIf I feed AS1234ABCD I get 1234 back out [21:53]
mnathaniup_the_irons didnt like that behaviour
it should be invalid
only valid input should be as1234, AS1234 and 1234
[21:53]
brycecI would argue that we could/should leave the value validation to the backend (once it's been massaged to a suitable format) [21:54]
mnathani: This will will replace all of that logic: egrep -o '^(AS)?[0-9]+$'
ASN=$(echo "$1" | egrep -o '^(AS)?[0-9]+$')
if[ "x$ASN" = "x" ] ; then usage ; exit 1 ; fi
ASN will either have a valid number, or it will be empty
oh forgot the -i to egrep
egrep -i -o '^(AS)?[0-9]+$'
-i case insensitive, -o to print only the portion that matched the regex
The regex itself will only match "as1234" and "1234", any trailing non-numbers will cause the pattern to fail and return a blank
(technically the check alone could be done with: if ! echo "$1" | egrep -q -i '^(AS)?[0-9]+$' ; then ... ; fi)
(or if you like to have fun, [ echo "$1" | egrep -o '^(AS)?[0-9]+$' ] || { usage ; exit 1 }
[22:00]
mnathaniyea, looks like that will work
more elegant, less code
[22:04]
brycecAnd arguably more readable (because it's concise) [22:05]
mnathaniand you didnt need to use like 5 extra variables either [22:05]
***brycec has quit IRC (Ping timeout: 256 seconds)
brycec has joined #arpnetworks
[22:17]
brycecHuh, looks like all (most?) of my ipv4 states were cut
v4 IRC connections, OpenVPN connections (v4 udp) all flopped
[22:21]
............ (idle for 57mn)
***gizmoguy has quit IRC (Remote host closed the connection) [23:19]
..... (idle for 23mn)
mercutiodamn that dead beef. [23:42]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)