#arpnetworks 2009-09-15,Tue

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

WhoWhatWhen
***visinin has joined #arpnetworks [05:20]
heavysixer has joined #arpnetworks [05:34]
visinin has quit IRC ("yeah")
heavysixer has quit IRC ()
[05:48]
...... (idle for 28mn)
baklavauh oh, looks like my kernel didn't take ;) [06:19]
obsidieth:(
funtimes
[06:24]
***heavysixer has joined #arpnetworks [06:27]
baklavalooks like VNC won't save me now hehe [06:30]
obsidiethwhat exactly did you change with it haha [06:36]
***vtoms has joined #arpnetworks [06:42]
.................. (idle for 1h29mn)
heavysixer has quit IRC () [08:11]
heavysixer has joined #arpnetworks [08:24]
.... (idle for 16mn)
baklavanot sure what it was yet [08:40]
.................................. (idle for 2h47mn)
***Suhaib has joined #arpnetworks [11:27]
vtoms has quit IRC (Remote closed the connection) [11:37]
Suhaib has left [11:46]
vtoms has joined #arpnetworks [11:51]
............ (idle for 59mn)
up_the_ironsbaklava: 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
[12:50]
baklavayea, pretty sure I do... not getting anywhere mounting root ;) [12:54]
up_the_ironsok, 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
[12:55]
***vtoms has quit IRC ("Leaving.") [13:00]
............. (idle for 1h0mn)
baklavaup_the_irons: looks great, thanks :) [14:00]
up_the_ironsbaklava: cool [14:00]
baklavaMy kernel was happy afterall [14:00]
***visinin has joined #arpnetworks [14:11]
up_the_ironsbaklava: 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
[14:19]
baklavaup_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]
up_the_ironsbaklava: you've seen this with APIC before?
baklava: I wonder what would happen if you disabled APIC in your kernel
[14:24]
baklavaup_the_irons: In checking out the issue, I read about other people having to disable APIC then it working fine [14:25]
up_the_ironsbaklava: other people using KVM/QEMU or even on regular hardware? [14:26]
baklavaI don't recall which I read were from virtual environments and which were on regular hardware [14:27]
up_the_ironsah ok [14:27]
mhoranup_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.
[14:36]
baklavaup_the_irons: what about just adding "hint.apic.0.disabled=1" to the /boot/loader.conf? [14:52]
mhoranWe tried that one. Caused the disks to disappear. [14:53]
baklavawell that's not nice [14:54]
.......... (idle for 47mn)
***heavysixer has quit IRC () [15:41]
.... (idle for 15mn)
heavysixer has joined #arpnetworks [15:56]
heavysixer has quit IRC () [16:01]
up_the_ironsbaklava: 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
[16:05]
......... (idle for 42mn)
***visinin has quit IRC ("out for a bit") [16:51]
...... (idle for 28mn)
mhoranup_the_irons: I let people know, so maybe in ~15?
(Or, whenever you get back.)
[17:19]
.... (idle for 15mn)
up_the_ironsmhoran: sure, whenever you're ready [17:34]
***heavysixer has joined #arpnetworks [17:35]
mhoranOkay. 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.
[17:35]
up_the_ironsmhoran: which extra space, the blank dist?
*disk
[17:47]
mhoranyyes. [17:52]
***heavysixer has quit IRC () [17:52]
up_the_ironsmhoran: 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?
[17:54]
mhoranExactly. [17:55]
up_the_ironsok
i'll do that
mhoran: and I'd really be interested in how you did it :)
[17:55]
mhoranWe'll see if I can not fuck up my system. :)
Anyway, go ahead and reboot whenever you're ready.
[17:56]
up_the_ironsok [17:57]
toddfgrofs(8) ?
er
growfs(8) ?
[17:58]
mhoranfdisk, re-label with bsdlabel, then growfs. :) [17:59]
up_the_ironsmhoran: 1st step complete:
sudo lvextend -L40G /dev/vol1/matt_horan
[17:59]
toddfreal men do it in /etc/rc, why bother with singleuser? [17:59]
up_the_ironsExtending logical volume matt_horan to 40.00 GB
Logical volume matt_horan successfully resized
googling "resizing ufs2 partition" doesn't produce much useful stuff
[17:59]
toddfman growfs [18:00]
mhoranYeah. [18:00]
up_the_ironsup_the_irons learns something new [18:00]
toddfjust 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
[18:01]
up_the_ironsmhoran: shutting down [18:01]
***mhoran has quit IRC (Remote closed the connection)
vtoms has joined #arpnetworks
[18:02]
toddfnow if only softraid had a lvextend etc going on [18:02]
up_the_ironsand he dies [18:02]
toddfmust have been using his vm system?? ;-)
up_the_irons: does `kvm' require HT ?
[18:02]
up_the_ironstoddf: hyper threading? [18:04]
toddfnah, the cpu virtualization extension
though I wonder why they named it the same
[18:04]
up_the_ironstoddf: all it requires is Intel VT or AMD's version (forgot the name) [18:04]
toddfoh VT sorry my bad
AMD-V
[18:04]
up_the_ironsyeah, it does require VT
or AMD-V :)
[18:04]
toddfwas 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:05]
up_the_ironsyeah [18:06]
toddfthen 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]
up_the_ironsyeah :)
what *is* mpbios anyway?
[18:06]
toddfhows 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-
[18:06]
up_the_ironsI 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]
toddfcation. 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?
[18:07]
up_the_ironstoddf: no worries, i'll try it on a new OpenBSD VM i'm going to make (for console, etc...) [18:08]
toddfaw, ok. ;-) [18:09]
up_the_ironstoddf: 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]
toddfthat works ;-)
could make it a cmdline option for a restricted set of actions available, maybe even feed it upstream
[18:09]
up_the_ironstoddf: 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]
toddfone xen hosting provider had a text menu, but I like the restricted shell idea with multiple cmds [18:10]
up_the_ironstoddf: 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
[18:11]
toddfthough 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
[18:11]
up_the_ironsyeah [18:14]
toddfnot 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
[18:18]
jeevthat's easy
;D
[18:21]
toddflooks 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
[18:26]
***mhoran has joined #arpnetworks [18:30]
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.
[18:30]
up_the_ironsmhoran: 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
[18:33]
mhoranOkay. [18:34]
up_the_ironstoddf: that menu is what partly inspired me to make my own
mhoran: reboot now ok?
[18:35]
mhoranGo for it. [18:36]
up_the_ironsok [18:36]
***mhoran has quit IRC (Remote closed the connection) [18:36]
jeevOWNED
kill -9 -1
[18:36]
up_the_ironsheh [18:38]
***mhoran has joined #arpnetworks [18:39]
mhoranOkay, we're good!
fsck is happy, and sleep() works.
[18:40]
up_the_ironsmhoran: w00t!
mhoran: and the resize went OK?
[18:42]
mhoranYup. fsck was complaining about some soft update crap, but I'm not too concerned. [18:43]
up_the_ironsmhoran: ah ok [18:44]
mhoranBasically, 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.
[18:44]
up_the_ironsmhoran: correct me if i'm wrong, but you can only grow the slice at the end of the partition, no? [18:44]
mhoranYup. [18:44]
up_the_ironsok [18:44]
mhoranWhich is where my /usr was. :) [18:44]
up_the_ironsyeah, i guess that's why it is the default ;)
mhoran: so you don't do the bsdlabel part *before* the fdisk?
[18:44]
mhoranNo; bsdlabel won't see the space if it hasn't been fdisk'd yet.
fdisk is above bsdlabel.
[18:46]
up_the_ironsmhoran: and when you say "update the size of the volume you'd like to grow", is that my side?
mhoran: ah ok, roger
[18:46]
mhoranI meant, edit the bsdlabel and resize the partitoin I want to assign the new space to. [18:47]
up_the_ironsgotcha [18:47]
mhoranSo the c partition has to be enlarged to show all available space. Then I updated my f partition with all the rest.
Worked great!
[18:47]
up_the_ironswicked
mhoran: when did growfs(8) hit the picture, if at all?
[18:47]
mhoranRun 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.
[18:49]
up_the_ironsmhoran: ah gotcha, thanks for the info [18:52]
..... (idle for 23mn)
***vtoms has left [19:15]
up_the_ironsoh i just PWN'D me some SEO. Google results for "openbsd vps" have my magnet site (openbsdvps.net) at #2!!! :) [19:29]
mhoranExcellent. [19:29]
***heavysixer has joined #arpnetworks [19:29]
up_the_ironsand I added it to their index on Sept 8th [19:29]
mhoranAw, comes in third for me. [19:29]
up_the_ironsso 7 days, and BANG
3rd? haha.. still shows #2 here
wish I could get higher on "freebsd vps", I'm at like #5 / #6
[19:30]
mhoranStill, first page. [19:30]
up_the_ironsI was at #4 for a few days, it really makes a difference, those first few slots [19:31]
mhoranYeah.
Good thing matthoran.com is #1 on google.
[19:31]
up_the_ironsyou are _the_ Matt Horan [19:31]
***heavysixer has quit IRC (Client Quit) [19:31]
mhoranNo doubt! Haha. [19:32]
jeevup_the_iron, ever encounter an RJ9 ? [19:41]
up_the_ironsjeev: RJ9? nope
dinner time; bbl
[19:41]
jeevok [19:42]
........ (idle for 35mn)
***mhoran_ has joined #arpnetworks
mhoran_ has quit IRC (Client Quit)
[20:17]
................................ (idle for 2h35mn)
up_the_ironsmhoran: cacti happy now? [22:52]
mike-burns[23:18:10] @mhoran | Holy cron batman!
(From another channel.)
[22:54]
***[FBI] starts logging #arpnetworks at Tue Sep 15 23:00:29 2009
[FBI] has joined #arpnetworks
[23:00]
up_the_ironsmike-burns: hehe [23:04]
..... (idle for 22mn)
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)
[23:26]
up_the_irons drops a pin [23:35]
up_the_irons drops the grenade from which the pin was pulled [23:48]

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