--- Day changed --- Log opened Mon Jul 07 00:00:02 2003 01:14 -!- cameron [~cameron@crosstalk.otago.ac.nz] has quit [Quit: 9) nanoseconds] 01:24 < ido> hey guys 01:29 < ido> hmmpf 01:29 < ido> would anyone help resizing a partition of a UML 01:29 < ido> ? 01:30 < Pahan> What is the problem with resizing it? 01:32 < ido> how would i do it ? 01:32 < Pahan> Mmmh. 01:32 < Pahan> Do you have Python installed? 01:32 < ido> on the host ;p 01:32 < Pahan> Yeap. 01:32 < ido> i do. 01:32 < Pahan> First, back up the partition file. 01:33 < Pahan> You are expanding the partition, right? 01:33 < ido> yep 01:33 < Pahan> Excellent. 01:33 < Pahan> After backing up the thing, start Python. 01:34 < ido> ok, done. 01:35 < Pahan> Type 'f=file("", "r+)' 01:35 < Pahan> Without the quotes and substitute the partition file name. 01:35 < ido> ok 01:35 < Pahan> Also, I forgot the closing quote to the mode thing. 01:36 < ido> yeah, i did that already 01:36 < green> expanding with dd and pipes seems to be more natural and friendly ;) 01:36 < ido> seemed like a type 01:36 < Pahan> Do an 'f.seek(-1)' 01:36 < Pahan> green: HAHAHAHAHAHA 01:36 < ido> whats newsize counted with ? 01:36 < Pahan> ido: Bytes. 01:36 < Pahan> ido: You can use the multiplication operator :) 01:37 < Pahan> And then do an 'f.write("\x00")' 01:37 < ido> lets say for example 1gig is 1024^3 ? 01:37 < Pahan> And 'f.close()' 01:37 < Pahan> Yes. 01:37 < Pahan> No 01:37 < Pahan> It's 1024**3 01:38 < ido> would f.seek(1024**3-1) be correct ? 01:38 < Pahan> Yes. 01:38 < ido> or do i need to put the -1 outside another pair of brackets 01:38 < Pahan> No. 01:38 < ido> ok, done. 01:38 < ido> what now ? 01:39 < Pahan> Did you do the write and close calls? 01:39 < ido> yep 01:39 < ido> python seems rather easy to use 01:40 < Pahan> Okay, exct the interpreter with a ctrl-d and do a "/sbin/resize2fs " 01:40 < Lathiat> i love python 01:40 < Pahan> It should detect the file size automatically. 01:40 < ido> resize2fs newgentoo 01:40 < ido> resize2fs 1.27 (8-Mar-2002) 01:40 < ido> Please run 'e2fsck -f newgentoo' first. 01:40 < ido> should i run e2fsck first ? 01:40 < Pahan> Do as it says :) 01:41 < Pahan> I hope you aren't doing this on a live filesystem. 01:41 < ido> ofcourse not 01:41 < ido> although that could be fun ;p 01:41 < ido> ok, booting it again ;p 01:42 < ido> ewww, now i've got more free space, sweet. 01:42 < Pahan> :P 01:42 < ido> could the fs be shrunk too ? 01:43 < Lathiat> perl is executabel line noise, python is executable psuedo code :P 01:43 < Pahan> Yeah, you specify the new size with resize2fs, seek to that position with Python and do a truncate() 01:43 < ido> f.truncate() ? 01:44 < Pahan> Yep. 01:44 < ido> :) 01:44 < Pahan> The tutorial is at http://www.python.org/doc/current/tut/tut.html and file object documentation is at http://www.python.org/doc/current/lib/bltin-file-objects.html 01:45 < ido> thanks again. 01:45 < Pahan> Sure :) 01:45 < ido> maybe its time to learn python ;p 01:46 < Pahan> It's easy enough to learn. 01:59 < ido> is there a way to monitor the disk usage of a UML ? 01:59 < ido> i mean, how much does it access the HD 02:00 < Lathiat> umm 02:01 < Lathiat> watch the light? :) 02:01 < ido> its not beside me, otherwise i would have 02:05 < ido> s it possible to limit a uml to use a max percentage of CPU power ? 02:21 -!- ticallion [~ticallion@213.175.160.100] has joined #uml 03:00 -!- ticallion [~ticallion@213.175.160.100] has quit [Quit: Client exiting] 03:25 -!- ido [~Ido@212.150.75.108] has quit [Ping timeout: 490 seconds] 03:35 -!- pirlouit [~peter@64.162.195.202] has joined #uml 03:36 -!- ido [~Ido@212.150.75.108] has joined #uml 04:50 -!- revenger [revenger@p508B252D.dip.t-dialin.net] has joined #uml 04:53 -!- revenger_ [revenger@p508B2B70.dip.t-dialin.net] has quit [Ping timeout: 488 seconds] 07:04 -!- thy_ [koubt9am@u-pl4.ms.mff.cuni.cz] has joined #uml 07:27 -!- yeti [~yeti@62.226.41.80] has joined #uml 07:57 -!- yeti [~yeti@62.226.41.80] has quit [Ping timeout: 488 seconds] 09:28 -!- ASY [~someone@66.36.132.12] has quit [Ping timeout: 488 seconds] 09:33 -!- stratsi [~stratsi@80.72.68.187] has joined #uml 09:50 -!- snide [~snide@AMontsouris-108-1-33-192.w81-53.abo.wanadoo.fr] has joined #uml 10:56 -!- sl [~sl@p50889EB7.dip.t-dialin.net] has joined #uml 10:56 -!- sl is now known as wahlau 10:57 < wahlau> hi 10:58 < wahlau> anywhere i can get the latest root_fs ? 11:05 < ljlane> Odd question. root_fs are varied and many. You can make your own too. 11:06 < wahlau> the point is 11:06 < wahlau> i have so far only success with suse 11:06 < wahlau> using the uml-install-suse tool 11:22 -!- snide [~snide@AMontsouris-108-1-33-192.w81-53.abo.wanadoo.fr] has quit [Ping timeout: 488 seconds] 11:54 < wahlau> bye 11:54 -!- wahlau [~sl@p50889EB7.dip.t-dialin.net] has quit [Quit: using sirc version 2.211+KSIRC/1.2.4] 11:59 -!- stratsi [~stratsi@80.72.68.187] has quit [Ping timeout: 488 seconds] 12:00 -!- caker [~null@pcp507591pcs.nash01.tn.comcast.net] has quit [Ping timeout: 488 seconds] 13:50 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has joined #uml 13:53 -!- caker [~null@pcp507591pcs.nash01.tn.comcast.net] has joined #uml 13:59 < kayl> hi, have a question. I'm trying to compile a uml on debian box and the kernel panics in early boot stages "Kernel Panix: Segfault with no mm" (kernel is 2.4.18 uml patch 2.4.18-41) I've no clue about what this message means can anyone point me in the right direction? 14:02 < Lathiat> hrm 14:02 < Lathiat> did u cmpile tracing thread mode into the uml? 14:04 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has quit [Read error: Connection reset by peer] 14:05 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has joined #uml 14:05 < kayl> connections pbms 14:13 -!- stratsi [~stratsi@80.72.68.187] has joined #uml 14:13 < david> hello 14:13 < david> kayl: why not start with a more recent UML kernel? 14:13 < david> kayl: 2.4.18 is ancient and probably has a load of problems which have since been fixed 14:13 < kayl> Lathiat: I'm redoing from scratch to make sure 14:14 < kayl> david: you're right but I've been working on it so far and would like to finish before to move up to the 2.4.20 series and catch up with all I missed :) 14:14 < Lathiat> your not missing much 14:14 < Lathiat> upgrade :) 14:15 < kayl> arf :) 14:17 < david> kayl: if you're spending time patching kernels and compiling it, you might as well do it with something recent 14:34 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has quit [Read error: Connection reset by peer] 14:35 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has joined #uml 14:43 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has quit [Read error: Connection reset by peer] 14:44 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has joined #uml 14:45 < kayl> re-arf... ok sounds dumm but I re-started from scratch and well can't find where to choose between SKA mode or TT mode in the configuration. I've dropped this a while and kept thinking I selected TT in the configuration. Right now I'm wondering if I was dreaming or what... only thing for sure is that CONFIG_MODE_SKAS is not defined in my .config and I didn't patch the host kernel neither 14:46 < kayl> resuming this kind of stuff after having left it unfinished a while is ... well ... :) 14:54 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has quit [Read error: Connection reset by peer] 14:54 -!- kayl [~jada@65.32.176.248] has joined #uml 15:05 -!- _kail_ [~jada@6532176hfc248.tampabay.rr.com] has joined #uml 15:05 -!- kayl [~jada@65.32.176.248] has quit [Read error: Connection reset by peer] 15:06 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has joined #uml 15:06 -!- _kail_ [~jada@6532176hfc248.tampabay.rr.com] has quit [Read error: Connection reset by peer] 15:11 -!- kayl [~jada@6532176hfc248.tampabay.rr.com] has quit [Client Quit] 15:12 -!- kayl [~jada@65.32.176.248] has joined #uml 15:33 -!- _slh__ [~chatzilla@68.19.239.102] has joined #uml 15:33 -!- sssssssh_______ [~chatzilla@68.19.239.102] has quit [Remote host closed the connection] 15:51 -!- kayl [~jada@65.32.176.248] has quit [Read error: Connection reset by peer] 15:56 -!- Dave\\\ [dave@ool-4352e135.dyn.optonline.net] has joined #uml 15:56 -!- Dave\\ [dave@67.82.225.53] has quit [Read error: Connection reset by peer] 16:03 -!- rob [~shak@80.4.84.78] has joined #uml 16:36 -!- Pahan [pahan@syr-24-59-98-110.twcny.rr.com] has quit [Ping timeout: 488 seconds] 16:51 < rob> hrm 16:52 < rob> still struggling with my bandwith limiting palaver 16:53 < rob> hrm 16:53 < rob> wait a moment, I might have just got far enough in reading through the lartc site 16:53 < rob> :O 16:54 < Lathiat> hehe 16:54 < Lathiat> lartc is cool 16:54 < Lathiat> im off to sleep adios 16:54 < rob> adios 16:57 < rob> infact 16:57 < rob> nope, its not liking it 16:57 < rob> 70.23K/s <--- when apparently its limited to 12kbit 16:57 -!- ElectricElf [~david@elf.noc.oftc.net] has quit [Ping timeout: 240 seconds] 17:02 -!- thy_ [koubt9am@u-pl4.ms.mff.cuni.cz] has quit [Quit: Client exiting] 17:03 -!- ElectricElf [~david@elf.noc.oftc.net] has joined #uml 17:26 < rob> http://www.tls-technologies.com/CPU/cpu-intro.html <--- looks dead 17:27 < rob> I mailed the guy a clean patch for .21 17:27 < rob> and he hasn't replied 17:59 -!- Pahan [~pahan@adsl-64-123-27-105.dsl.austtx.swbell.net] has joined #uml 19:23 -!- rob [~shak@80.4.84.78] has quit [Read error: Connection reset by peer] 21:45 -!- ElectricElf [~david@elf.noc.oftc.net] has quit [] 21:45 < david> hello 23:05 -!- david changed the topic of #uml to: User Mode Linux | 2.4.20-6um, 2.5.69-1um, 2.4.22-pre3-djc1-6um | http://user-mode-linux.sf.net | http://usermodelinux.org | http://usermodelinux.co.uk | http://uml.openconsultancy.com | http://www.stearns.org/slartibartfast | #uml Archives: http://www.theshore.net/uml/irc/ 23:59 < caker> evening --- Log closed Tue Jul 08 00:00:00 2003