uh oh, looks like my kernel didn't take ;) :( funtimes looks like VNC won't save me now hehe what exactly did you change with it haha not sure what it was yet 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 yea, pretty sure I do... not getting anywhere mounting root ;) 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 up_the_irons: looks great, thanks :) baklava: cool My kernel was happy afterall 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 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 baklava: you've seen this with APIC before? baklava: I wonder what would happen if you disabled APIC in your kernel up_the_irons: In checking out the issue, I read about other people having to disable APIC then it working fine baklava: other people using KVM/QEMU or even on regular hardware? I don't recall which I read were from virtual environments and which were on regular hardware ah ok 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. up_the_irons: what about just adding "hint.apic.0.disabled=1" to the /boot/loader.conf? We tried that one. Caused the disks to disappear. well that's not nice 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 up_the_irons: I let people know, so maybe in ~15? (Or, whenever you get back.) mhoran: sure, whenever you're ready 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. mhoran: which extra space, the blank dist? *disk yyes. 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? Exactly. ok i'll do that mhoran: and I'd really be interested in how you did it :) We'll see if I can not fuck up my system. :) Anyway, go ahead and reboot whenever you're ready. ok grofs(8) ? er growfs(8) ? fdisk, re-label with bsdlabel, then growfs. :) mhoran: 1st step complete: sudo lvextend -L40G /dev/vol1/matt_horan real men do it in /etc/rc, why bother with singleuser? 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 man growfs Yeah. 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 mhoran: shutting down now if only softraid had a lvextend etc going on and he dies must have been using his vm system?? ;-) up_the_irons: does `kvm' require HT ? toddf: hyper threading? nah, the cpu virtualization extension though I wonder why they named it the same toddf: all it requires is Intel VT or AMD's version (forgot the name) oh VT sorry my bad AMD-V yeah, it does require VT or AMD-V :) 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) yeah 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 .. ) yeah :) what *is* mpbios anyway? 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- 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) 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? toddf: no worries, i'll try it on a new OpenBSD VM i'm going to make (for console, etc...) aw, ok. ;-) 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') that works ;-) could make it a cmdline option for a restricted set of actions available, maybe even feed it upstream 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... one xen hosting provider had a text menu, but I like the restricted shell idea with multiple cmds 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 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 yeah 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 that's easy ;D 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 /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. 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 Okay. toddf: that menu is what partly inspired me to make my own mhoran: reboot now ok? Go for it. ok OWNED kill -9 -1 heh Okay, we're good! fsck is happy, and sleep() works. mhoran: w00t! mhoran: and the resize went OK? Yup. fsck was complaining about some soft update crap, but I'm not too concerned. mhoran: ah ok 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. mhoran: correct me if i'm wrong, but you can only grow the slice at the end of the partition, no? Yup. ok Which is where my /usr was. :) yeah, i guess that's why it is the default ;) mhoran: so you don't do the bsdlabel part *before* the fdisk? No; bsdlabel won't see the space if it hasn't been fdisk'd yet. fdisk is above bsdlabel. mhoran: and when you say "update the size of the volume you'd like to grow", is that my side? mhoran: ah ok, roger I meant, edit the bsdlabel and resize the partitoin I want to assign the new space to. gotcha 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! wicked mhoran: when did growfs(8) hit the picture, if at all? 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. mhoran: ah gotcha, thanks for the info oh i just PWN'D me some SEO. Google results for "openbsd vps" have my magnet site (openbsdvps.net) at #2!!! :) Excellent. and I added it to their index on Sept 8th Aw, comes in third for me. 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 Still, first page. I was at #4 for a few days, it really makes a difference, those first few slots Yeah. Good thing matthoran.com is #1 on google. you are _the_ Matt Horan No doubt! Haha. up_the_iron, ever encounter an RJ9 ? jeev: RJ9? nope dinner time; bbl ok mhoran: cacti happy now? [23:18:10] @mhoran | Holy cron batman! (From another channel.) 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)