/srv/irclogs.ubuntu.com/2005/10/06/#ubuntu-kernel.txt

mjg59jbailey: It should still ask us in case the user doesn't have usplash12:26
mjg59Or has removed the "splash" argument12:26
jbaileyWhy, though?12:28
jbaileyWithout fbcon, it's not useful for the console.12:29
=== crimsun [n=crimsun@216.239.132.120] has joined #ubuntu-kernel
BenCI think I have the solution for our kernel post-breezy, with regards to git01:05
=== BenC has a grand vision now
mjg59jbailey: If it's not loading fbcon, it ought to be01:15
=== crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel
BenCSubject: linux-source-2.6.12_2.6.12-9.19_source.changes ACCEPTED01:36
=== BenC declares breezy kernel frozen, waves his hands, and goes to start on post-breezy stuff
jbaileymjg59: Right, and it's not.  It's just vesafb and capabilities.04:38
jbaileymjg59: Fabio mentioned that he didn't know why those were in there, just that they were.  Given that usplash loads vesafb or vga16fb if it needs to, I'm inclined to just move the capabilities loading hint out of the kernel and into initramfs.04:39
jbaileyI know that ppc kernels generally have the framebuffer built in.  Is that generally the right thing, or should there be some initramfs magic that loads the framebuffers right away and does something to autodetect what it can (loading all the per-arch framebuffers or something04:40
jbaileyAll obviously post-breezy. =)04:40
desrtBenC; nooo!!04:45
desrtBenC; first you must enable hugepages :)04:45
jbaileydesrt: It's okay.  He's a *kernel hacker*05:01
jbaileyLinus set a fine tradition that frozen is what you get out of a slurpy machine. ;)05:01
desrt:)05:54
desrtbtw.  fix inotify.h :)05:54
jbaileyyeah yeah yeah.06:04
jbaileyGot a current patch for me? =)06:09
desrtya.  it's on bugzilla06:15
desrtwell... not a 'patch' per se06:15
desrtbut the one-line that needs to be added06:16
desrtyou actually want it in patch form?06:16
=== crimsun [n=crimsun@216.239.132.120] has joined #ubuntu-kernel
desrtjbailey; k.  updated patch uploaded here: http://bugzilla.ubuntu.com/show_bug.cgi?id=1445606:26
desrtit's perfectly in sync with the one in the kernel now with the exception that all the #ifdef KERNEL business is removed (which you did)06:26
jbaileyCool, thanks.06:53
jbaileyYeah the upstream lkh that we uses gets rid of all of that.06:53
jbaileyAnd makes usre all the rest of the types are trivially usable from userspace.06:53
jbaileySleep now, will hack in the morning. =)06:53
jbailey(Best to upload that lkh when I'm sober.  thankyou very much for the patch)06:54
fabbioneBenC: didn't you back out the security patch???06:57
fabbioneah never mind06:57
BenCfabbione: it's removed from 00list08:43
=== crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel
=== chmj [n=chmj@wbs-146-151-240.telkomadsl.co.za] has joined #ubuntu-kernel
=== mkrufky [n=mkrufky@user-12lcl1s.cable.mindspring.com] has joined #ubuntu-kernel
=== crimsun_ [n=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-kernel
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-kernel
=== Yagisan [n=jamie@220-245-252-194-nsw-pppoe.tpgi.com.au] has joined #ubuntu-kernel
=== Yagisan [n=jamie@220-245-252-194-nsw-pppoe.tpgi.com.au] has left #ubuntu-kernel []
=== TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #ubuntu-kernel
=== doko [n=doko@dslb-084-059-101-102.pools.arcor-ip.net] has joined #ubuntu-kernel
=== doko_ [n=doko@dslb-084-059-083-102.pools.arcor-ip.net] has joined #ubuntu-kernel
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-kernel
=== Yagisan [n=jamie@60-240-127-215.tpgi.com.au] has joined #ubuntu-kernel
=== joh [n=joh@cD908888B.sdsl.catch.no] has joined #ubuntu-kernel
johHello, I'm running ubuntu on a server which I had to restart the ugly way by pulling the plug because of a crash. Now when I boot the machine, I discover some files (about 10) located in /bin /sbin /usr/bin and /usr/sbin which all have their owner changed to uid 112 and gid 114. Now I'm unable to change their permissions back to root (Operation not permitted). Actually, I'm unable to change *any* file in those 4 directories. After running an fsck,07:06
fabbionejoh: hmmmm07:08
fabbionei would try to check for chattr -i07:08
mjg59Yeah, it's likely that they've ended up immutable07:08
fabbioneif you still can't change them, try to run another e2fsck on it07:09
fabbioneprobably there is still corruption07:09
johfabbione: hmmmm07:11
johfabbione: chattr -i didn't help either...07:11
fabbionejoh: switch to init s and umount /usr07:12
fabbionee2fsck -fF /dev/whatever07:12
fabbioneand see if it helps07:12
johfabbione: ok, some of the files are immutable actually...07:13
johfabbione: but removing the flag doesn't help07:13
johfabbione: they have all the sia flags set07:14
fabbionejoh: please so as i said and check for extra corruption first07:14
fabbionewhat fs is that?07:14
johfabbione: ext307:14
joh(this is the root filesystem, so I cannot umount it atm :P I can check the files in /usr though)07:15
fabbioneswitch to single user and mount it ro07:15
fabbionei have to go now07:15
fabbionebbl07:15
johok, thanks07:15
=== doko_ [n=doko@dslb-084-059-090-027.pools.arcor-ip.net] has joined #ubuntu-kernel
=== joh [n=joh@cD908888B.sdsl.catch.no] has joined #ubuntu-kernel
johfabbione: thanks, it worked when I removed the sia attributes from them. both fscks run successfully (no errors as far as I could see)...07:38
fabbionejoh: no problem07:38
johfabbione: any idea what could've caused this, btw?07:40
fabbionejoh: it depends from a billion things07:41
fabbionefirst, do you know why the machine crashed?07:41
johfabbione: ok? :P the cause of the crash was out of memory I think...07:41
fabbionealso.. what does the machine run?07:41
johfabbione: probably a leak in hula07:41
fabbionedoes the machine do a lot of IO?07:42
johfabbione: apache, hula, mysql, pgsql, ssh, php, ...07:42
fabbioneso yeah07:42
fabbioneit's possible that it was doing I/O while you unplugged the power07:43
fabbioneand crap has been written to disk07:43
fabbionethat's simplest explanation i can find07:43
johfabbione: well, the system wasn't responsive at all when it crashed.07:43
fabbionethe worst one is that you have been hacked and that the leak and corruption was caused by an attacker attempt to gain root07:43
johfabbione: i.e. I could change VTs but not run any process...07:43
fabbionejoh: that doesn't mean much.. it could have been busy doing I/O07:44
fabbionenow i give you a few tips07:44
johfabbione: ok :)07:44
fabbionewhen you install servers. it's always a good idea to use different partitions07:44
fabbionelike /usr /var /tmp /home on separate partitions07:44
fabbioneeven LVM would do07:44
johthey are07:45
fabbioneok07:45
fabbionewell i understood differently befor07:45
fabbionee07:45
johwell, what I meant that was that the files in /bin and /sbin were on the root filesystem.07:45
fabbioneand if your server provides a lot of different services07:45
joh*root partition07:45
fabbioneit's worth a try to make some partitions ro07:46
fabbionelike /usr07:46
fabbionethere is no need to write there07:46
johunless I install some packages :P07:46
fabbioneroot is a bit too complicate...07:46
johyeah07:46
fabbioneof cours07:46
fabbionebut than you can always mount/remount07:46
johyeah07:46
johOk, thanks again, I have to go now :)07:46
fabbionenp07:47
=== doko [n=doko@dslb-084-059-092-205.pools.arcor-ip.net] has joined #ubuntu-kernel
=== doko_ [n=doko@dslb-084-059-088-190.pools.arcor-ip.net] has joined #ubuntu-kernel
=== doko__ [n=doko@dslb-084-059-073-057.pools.arcor-ip.net] has joined #ubuntu-kernel

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!