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