***: heavysixer has joined #arpnetworks
visinin has quit IRC ("yeah")
heavysixer has quit IRC ()
baklava: uh oh, looks like my kernel didn't take ;)
obsidieth: :(
funtimes
***: heavysixer has joined #arpnetworks
baklava: looks like VNC won't save me now hehe
obsidieth: what exactly did you change with it haha
***: vtoms has joined #arpnetworks
heavysixer has quit IRC ()
heavysixer has joined #arpnetworks
baklava: not sure what it was yet
***: Suhaib has joined #arpnetworks
vtoms has quit IRC (Remote closed the connection)
Suhaib has left
vtoms has joined #arpnetworks
up_the_irons: baklava: do you need a hard reset at all?
Nat_UB: screw off the shelf serial console hardware, they are too expensive and featureless
Nat_UB: this is what you do to get a bad ass serial console for $300 --
1x Cisco 2611 router ($50 on ebay)
1x NM-32A
($200 - $250 on ebay)
1x IOS c2600-advsecurityk9-mz.123-14.T7.bin (optional, but will give you SSH v2)
1x Cisco CAB-OCTAL-ASYNC Serial Cable
($30)
OK, maybe a little more than $300
but still well under $500 and you have THIRTY TWO serial ports
baklava: yea, pretty sure I do... not getting anywhere mounting root ;)
up_the_irons: ok, shutting it down
baklava: should be coming back up
Nat_UB: and you can go crazy if you need more than 32 -- get a 3640 instead of 2611, will give you 4 network module slots, so stick 4 NM32-A's in there. 128 serial ports!!
baklava: looks like it is at the login prompt
***: vtoms has quit IRC ("Leaving.")
baklava: up_the_irons: looks great, thanks :)
up_the_irons: baklava: cool
baklava: My kernel was happy afterall
***: visinin has joined #arpnetworks
up_the_irons: baklava: ah cool; but there was no way to reboot from the console?
baklava: or did it just not see the disk? (i've seen that happen before, I think I have to disable APIC for all FreeBSD VMs)
mhoran: I found a way to disable APIC for FreeBSD and make "date; sleep 1; date" happy
mhoran: either: 1) you compile a kernel without APIC support, and I hard restart your VM, or 2) I restart your VM with a special KVM switch that turns off APIC support in QEMU. Not sure which is better. #2 is what I tried on a test VM and it worked great
that said, i gotta head out for a bit, bbl
baklava: up_the_irons: yea, I issued a reboot and it couldn't mount that drive, then just sat there :P I do know APIC can do that
up_the_irons: baklava: you've seen this with APIC before?
baklava: I wonder what would happen if you disabled APIC in your kernel
baklava: up_the_irons: In checking out the issue, I read about other people having to disable APIC then it working fine
up_the_irons: baklava: other people using KVM/QEMU or even on regular hardware?
baklava: I don't recall which I read were from virtual environments and which were on regular hardware
up_the_irons: ah ok
mhoran: up_the_irons: I'd rather not custom-compile, to reap the benefit of freebsd-update.
Man, I thought I'd have all this time to work on the problem. Little did I know ...
Anyway, that's great news. I'll be around tonight if you want to test that out on my VM.
baklava: up_the_irons: what about just adding "hint.apic.0.disabled=1" to the /boot/loader.conf?
mhoran: We tried that one. Caused the disks to disappear.
baklava: well that's not nice
***: heavysixer has quit IRC ()
heavysixer has joined #arpnetworks
heavysixer has quit IRC ()
up_the_irons: baklava: mhoran: the disks disappearing problem I think would go away if APIC was disabled completely in the kernel, instead of on the bootloader command line; just a theory though
mhoran: i'll be around tonight also to restart your VM w/o APIC
***: visinin has quit IRC ("out for a bit")
mhoran: up_the_irons: I let people know, so maybe in ~15?
(Or, whenever you get back.)
up_the_irons: mhoran: sure, whenever you're ready
***: heavysixer has joined #arpnetworks
mhoran: Okay. I think I'm ready. I've also been looking into resizing FreeBSD partitions -- doesn't look too complicated.
Is it possible for oyu to assign that space that you gave me as an extra disk to the first disk?
I think I can take it from there in single user mode.
up_the_irons: mhoran: which extra space, the blank dist?
*disk
mhoran: yyes.
***: heavysixer has quit IRC ()
up_the_irons: mhoran: so you want it to appear as /dev/ad0 ? you sure???? :)
mhoran: oh oh oh
mhoran: i see what you're saying
mhoran: you want me to extend your volume from 20 -> 40, and then you'll worry about the UFS side from single user mode?
mhoran: Exactly.
up_the_irons: ok
i'll do that
mhoran: and I'd really be interested in how you did it :)
mhoran: We'll see if I can not fuck up my system. :)
Anyway, go ahead and reboot whenever you're ready.
up_the_irons: ok
toddf: grofs(8) ?
er
growfs(8) ?
mhoran: fdisk, re-label with bsdlabel, then growfs. :)
up_the_irons: mhoran: 1st step complete:
sudo lvextend -L40G /dev/vol1/matt_horan
toddf: real men do it in /etc/rc, why bother with singleuser?
up_the_irons: Extending logical volume matt_horan to 40.00 GB
Logical volume matt_horan successfully resized
googling "resizing ufs2 partition" doesn't produce much useful stuff
toddf: man growfs
mhoran: Yeah.
-: up_the_irons learns something new
toddf: just have the disklabel size extended (must only add to the end of a single slice)
and growfs w/out it mounted
growfs will do like newfs, auto-detect based on disklabel size and extend the filesystem to the bigger size
up_the_irons: mhoran: shutting down
***: mhoran has quit IRC (Remote closed the connection)
vtoms has joined #arpnetworks
toddf: now if only softraid had a lvextend etc going on
up_the_irons: and he dies
toddf: must have been using his vm system?? ;-)
up_the_irons: does `kvm' require HT ?
up_the_irons: toddf: hyper threading?
toddf: nah, the cpu virtualization extension
though I wonder why they named it the same
up_the_irons: toddf: all it requires is Intel VT or AMD's version (forgot the name)
toddf: oh VT sorry my bad
AMD-V
up_the_irons: yeah, it does require VT
or AMD-V :)
toddf: was thinking of setting up some kvm on a system here, just for playground, break my 'all openbsd shop' rule but that'd be better than using vmware (non open source)
up_the_irons: yeah
toddf: then I wouldn't have to wait for you to have another beta system to see if the latest kvm codez have fixed mpbios (not expecting it to, but .. )
up_the_irons: yeah :)
what *is* mpbios anyway?
toddf: hows conserver? treatin you ok? still not hiding serial ports?
The mpbios driver extracts configuration information from the BIOS on
multiprocessor systems that conform to the Intel MultiProcessor Specifi-
up_the_irons: I wonder if the -no-kvm-irqchip option that fixes FreeBSD timing issues would work for OpenBSD 4.5 booting problem (both are IRQ related)
toddf: cation. This information is used to attach application processors and
APICs, and to assign interrupts to ISA, EISA and PCI devices.
On modern systems this information is provided by ACPI through the
acpimadt(4) device. On such a system mpbios will not attach, even if the
BIOS also contains the data structures specified by the Intel MP Specifi-
cation.
The mpbios driver supports version 1.1 and 1.4 of the Intel MP Specifica-
tion.
if you want to find out I'm game to halt -p my vm so you can change cmdline
or would you prefer I halt'ed it instead?
up_the_irons: toddf: no worries, i'll try it on a new OpenBSD VM i'm going to make (for console, etc...)
toddf: aw, ok. ;-)
up_the_irons: toddf: conserver is working pretty well, except for it showing all consoles, but I think I can hack a way around that (just disallow 'x')
toddf: that works ;-)
could make it a cmdline option for a restricted set of actions available, maybe even feed it upstream
up_the_irons: toddf: so my next steps are: 1) provision new OpenBSD VM (console.cust.arpnetworks.com, perhaps), 2) make a test user, 3) have test user run special shell with options like "open console", "send hard reset", etc...
toddf: one xen hosting provider had a text menu, but I like the restricted shell idea with multiple cmds
up_the_irons: toddf: yeah, if I find the code straight forward enough, i'll go to that extend (make it a full feature, instead of just commenting out the 'x' ;)
toddf: thing is, the available options will be so limited, why have a restricted shell? seems like a text menu would be best
toddf: though I am the consultant who wrote my invoicing / time tracking software via perl + postgresql and it provides its own cmdline
ios esque
you'll probably have less questions with a text menu, indeed
up_the_irons: yeah
toddf: not that I'm advocating this but just as an example here is what I saw at a compeditor (well, not really, they won't run OpenBSD heh)
http://book.xen.prgmr.com/mediawiki/index.php/Prgmr_menu
jeev: that's easy
;D
toddf: looks like its in the server not the client, client can send arbitrary commands, bleh
presuing you have the same codebase, line 3772 of conserver/group.c looks like where you'd whack it with #if 0 for easy testing
***: mhoran has joined #arpnetworks
mhoran: /dev/ad0s1f 34G 2.4G 29G 8% /usr
However, something is still broken.
Also, did the APIC change not get pushed?
My sleep is still busted.
up_the_irons: mhoran: well, you some it to resize *some*, that's cool
mhoran: mmm.. appears APIC change didn't take; I'll have to shut it down one more time and start it back up
mhoran: Okay.
up_the_irons: toddf: that menu is what partly inspired me to make my own
mhoran: reboot now ok?
mhoran: Go for it.
up_the_irons: ok
***: mhoran has quit IRC (Remote closed the connection)
jeev: OWNED
kill -9 -1
up_the_irons: heh
***: mhoran has joined #arpnetworks
mhoran: Okay, we're good!
fsck is happy, and sleep() works.
up_the_irons: mhoran: w00t!
mhoran: and the resize went OK?
mhoran: Yup. fsck was complaining about some soft update crap, but I'm not too concerned.
up_the_irons: mhoran: ah ok
mhoran: Basically, fdisk -BI to resize the slice, bsdlabel -e ad0s1 and change partition c to the new size, and update the size of the volume you'd like to grow.
Then run newfs on the partition.
up_the_irons: mhoran: correct me if i'm wrong, but you can only grow the slice at the end of the partition, no?
mhoran: Yup.
up_the_irons: ok
mhoran: Which is where my /usr was. :)
up_the_irons: yeah, i guess that's why it is the default ;)
mhoran: so you don't do the bsdlabel part *before* the fdisk?
mhoran: No; bsdlabel won't see the space if it hasn't been fdisk'd yet.
fdisk is above bsdlabel.
up_the_irons: mhoran: and when you say "update the size of the volume you'd like to grow", is that my side?
mhoran: ah ok, roger
mhoran: I meant, edit the bsdlabel and resize the partitoin I want to assign the new space to.
up_the_irons: gotcha
mhoran: So the c partition has to be enlarged to show all available space. Then I updated my f partition with all the rest.
Worked great!
up_the_irons: wicked
mhoran: when did growfs(8) hit the picture, if at all?
mhoran: Run growfs after you resize the partition in bsdlabel.
So I'd resized f, then ran growfs ad0s1f.
By default, that'll grow out to all available space.
up_the_irons: mhoran: ah gotcha, thanks for the info
***: vtoms has left
up_the_irons: oh i just PWN'D me some SEO. Google results for "openbsd vps" have my magnet site (openbsdvps.net) at #2!!! :)
mhoran: Excellent.
***: heavysixer has joined #arpnetworks
up_the_irons: and I added it to their index on Sept 8th
mhoran: Aw, comes in third for me.
up_the_irons: so 7 days, and BANG
3rd? haha.. still shows #2 here
wish I could get higher on "freebsd vps", I'm at like #5 / #6
mhoran: Still, first page.
up_the_irons: I was at #4 for a few days, it really makes a difference, those first few slots
mhoran: Yeah.
Good thing matthoran.com is #1 on google.
up_the_irons: you are _the_ Matt Horan
***: heavysixer has quit IRC (Client Quit)
mhoran: No doubt! Haha.
jeev: up_the_iron, ever encounter an RJ9 ?
up_the_irons: jeev: RJ9? nope
dinner time; bbl
jeev: ok
***: mhoran_ has joined #arpnetworks
mhoran_ has quit IRC (Client Quit)
up_the_irons: mhoran: cacti happy now?
mike-burns: [23:18:10] @mhoran | Holy cron batman!
(From another channel.)
***: [FBI] starts logging #arpnetworks at Tue Sep 15 23:00:29 2009
[FBI] has joined #arpnetworks
up_the_irons: mike-burns: hehe
how is tuesday night treatin' everyone...?
man, i feel better than i did last night (had a massive headache, and a head cold for like 5 days)
-: up_the_irons drops a pin
up_the_irons drops the grenade from which the pin was pulled