Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Wednesday 02 December 2009 06:24:22 Maxim Wexler wrote: so tell me how come none of you quarter-brights have responded to the email where I say this problem has been fixed? Maybe because you were making such a ruckus with your three-year old style tantrums that everyone who cares stopped reading the thread already? The only people left are ancient codgers like me who take delight in penning witty responses, dripping with sarcasm, designed to highlight just how idiotic behaviour on the intartubes can be you want to help? answer me this: why did # /var/git/openrc/git pull --rebase update all init.d services except net.lo? That's today's scintillating question. How do I know? Why do I care? Um, let's see. What could do this? Wait, wait, I know! It's a bug! doh BUT WHAT THE FUCK DOES THIS HAVE TO DO WITH YOUR IMAGINARY FSCK ISSUES? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Tue, 1 Dec 2009 21:24:22 -0700, Maxim Wexler wrote: so tell me how come none of you quarter-brights have responded to the email where I say this problem has been fixed? Because your attitude sucks. you want to help? Frankly, no. Good luck in getting help in future when you respond to genuine advice, offered freely, with abuse. plonk -- Neil Bothwick Top Oxymorons Number 17: Clearly misunderstood signature.asc Description: PGP signature
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Maxim really has a bad attitude, but I'll try once more, and only once. This post I quote from Willie Wong has an step-by-step guide that Maxim obviously didn't read, because even the most utterly illiterate person would understand it. On Tue, 1 Dec 2009 04:56:53 -0500, Willie Wong ww...@math.princeton.edu wrote: (a) When AC cord is plugged in, fsck runs on boot. (b) When running on battery, fsck refuses to run on boot. (c) When fsck does not run, your computer refuses to mount /var and /home? [...] (i) You have a broken ext2 file system. Probably marked dirty from a bad unmount prior to shutdown. (ii) On boot, when the AC cord is plugged in, fsck runs, so any error is fixed, and if no error, the file system is marked clean again. (ii') When running on battery, because devs don't want fsck to run half way and have the computer run out of battery (which may corrupt the FS beyond whatever state it is already in), fsck does not run. (iii) Since the file system is marked clean, when the AC cord is in, the system boots fine. Directories are mounted, you can use it as usual. (iii') When the AC cord is out, the file system is still marked dirty, since fsck did not have a chance to look at it. Mount refuses to process those directories because Bad Things (tm) can happen. So your boot fails. Again, if (a-c) are correct, then what Neil and Alan said does NOT in anyway contradict your observation I quoted just above; in fact, your quote seems to make their diagnosis even more reasonable. According to what I vaguely remember of this thread (again correct me if I am wrong), you see the symptom that (iii) behaves differently from (iii'), and want to fix it by making its immediate causes (ii) and (ii') agree. What Neil and Alan are telling you is that (ii) vs (ii') should never be a problem (and I agree: on my Gigabyte netbook my ext2 and my ext3 partitions never showed any behaviour like yours), and in fact it is probably by design. That the reason why (iii) and (iii') differ is actually (i). What Maxim fails to see is that fsck *is not a fix* for his problem. The real problem is that the fs is marked dirty, and that happens because it has not been unmounted the right way on shutdown. When fsck runs at boot time, the fs is marked clean and it can be mounted, when fsck doesn't run it isn't marked clean, and, hence, it can't be mounted. Please, Maxim, once and for all, understand that running fsck when the power is low is bad, it could completely break your fs, do you really think that's an acceptable policy Please, Maxim, once and for all, understand that if an fs is marked as non-clean, it can't be mounted, because it could completely break your fs, and you would lose all your data in a single sweep, is that an acceptable policy??? Plese, Maxim, once and for all, understand that the real problem is *why is your fs being marked dirty*??? That's the problem that you don't seem to be aware of, you are now just feeling a rigid zealotry for your cause and you are not even listening any longer. Please, read this post, quotes fron Wong included, and try to understand what we are saying before even responding. You are only repeating yourself but with the powercord it works, explain me why?, and we have done so many times already: with your power cord, fsck works, when fsck works, the fs is marked clean, when it's clean it can be mounted. Right? Now ask yourself: why is not not clean? Why??? To explain your crazy theories you have invented some rules that never existed, during more than 15 years of ext2, it NEVER ever required fsck to boot, that's an invention of you. Others have already told you that fsck DOESN'T run at every boot. Only when the fs is not clean or when it's due. They even told you that the tune2fs tool can be used to control this, and that fstab can as well. You didn't even bother to check the man pages, instead you just continue to invent theories that can support your crazy idea that the Earth is flat so everything can fit together in your mind. If you want help, we are handing it to you, if not, please, just stop and good luck anywhere else. Regards, and some tea. -- Jesús Guerrero
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Mon, 30 Nov 2009 18:54:45 -0700, Maxim Wexler wrote: you guys are killing me -- the problem goes away when the ac cord is plugged in. I open files watch videos surf the web and so on -- no problems. I'm no expert, but that would seem to suggest that the fs is OK, no? No! You're missing the point. You are telling us that the system works fine if you fsck the root partition before trying to mount it rw, but fails to mount if it is not fscked. That means there is something wrong. Hint: I am typing this on an Asus Eee PC that was just booted up on battery power. -- Neil Bothwick EASY TO INSTALL = Difficult to install, but instruction manual has pictures. signature.asc Description: PGP signature
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Mon, Nov 30, 2009 at 06:54:45PM -0700, Penguin Lover Maxim Wexler squawked: you guys are killing me -- the problem goes away when the ac cord is plugged in. I open files watch videos surf the web and so on -- no problems. I'm no expert, but that would seem to suggest that the fs is OK, no? I set this forth above. Did your eyes glaze over at that point? Nope. But please clarify if I remember wrong, since I have been only half-following this thread since the beginning: (a) When AC cord is plugged in, fsck runs on boot. (b) When running on battery, fsck refuses to run on boot. (c) When fsck does not run, your computer refuses to mount /var and /home? Are all three of the above assertions correct? If not, please correct our impressions. If yes, then what Alan and Neil said are perfectly reasonable: (i) You have a broken ext2 file system. Probably marked dirty from a bad unmount prior to shutdown. (ii) On boot, when the AC cord is plugged in, fsck runs, so any error is fixed, and if no error, the file system is marked clean again. (ii') When running on battery, because devs don't want fsck to run half way and have the computer run out of battery (which may corrupt the FS beyond whatever state it is already in), fsck does not run. (iii) Since the file system is marked clean, when the AC cord is in, the system boots fine. Directories are mounted, you can use it as usual. (iii') When the AC cord is out, the file system is still marked dirty, since fsck did not have a chance to look at it. Mount refuses to process those directories because Bad Things (tm) can happen. So your boot fails. Again, if (a-c) are correct, then what Neil and Alan said does NOT in anyway contradict your observation I quoted just above; in fact, your quote seems to make their diagnosis even more reasonable. According to what I vaguely remember of this thread (again correct me if I am wrong), you see the symptom that (iii) behaves differently from (iii'), and want to fix it by making its immediate causes (ii) and (ii') agree. What Neil and Alan are telling you is that (ii) vs (ii') should never be a problem (and I agree: on my Gigabyte netbook my ext2 and my ext3 partitions never showed any behaviour like yours), and in fact it is probably by design. That the reason why (iii) and (iii') differ is actually (i). If you think this analysis is incorrect, please point out exactly where my assumptions went awry. Cheers, W -- Unfamilliarity does bring terror, so I sympathize with those of you who aren't. ~DeathMech, S. Sondhi. P-town PHY 205 Sortir en Pantoufles: up 1089 days, 8:35
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Mon, Nov 30, 2009 at 06:54:45PM -0700, Penguin Lover Maxim Wexler squawked: Roy Marples, who is a(the?) openrc developer, roped me into using git to do whatever git is supposed to do and now it's much worse. /dev/sd1 and 2 fail to mount as before PLUS many init services fail to start PLUS it no longer matters if the battery is being used or the ac cord: Chaos ensues, castles crumble, empires totter ... Well, a question: after doing whatever Roy told you to do, does the computer run fsck on boot at all (both with and without AC cord please)? If it does not run fsck, then it further vindicates the points of many of the individuals in this thread. Try booting into a rescue medium and checking those filesystems. If it does run fsck... show us the actual error message perhaps? It maybe that whatever you did left your system, excuse the pun, completely fscked. W -- Intolerant people should be shot. Sortir en Pantoufles: up 1089 days, 8:49
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Roy Marples, who is a(the?) openrc developer, roped me into using git to do whatever git is supposed to do and now it's much worse. /dev/sd1 and 2 fail to mount as before PLUS many init services fail to start PLUS it no longer matters if the battery is being used or the ac cord: Chaos ensues, castles crumble, empires totter ... If you don't know what git is, then probably it's a good idea to stay far, far away from it. It's just a repository for a number of project source code. But Gentoo is already building things from source and helping you to configure that source code correctly based on your make.conf settings and so on. Unless you are a developer or trying to get around bugs in portage where the ebuild isn't working, you should need to use git as a Gentoo user. I'm not saying there is anything wrong with git, but I don't think it's very good advice in this situation. I can't see at all how it's related to the problem except that someone who's not involved with Gentoo wants to be sure it's not a Gentoo issue. But there's no reason to think it's a Gentoo-specific problem. And, for the record, while people might be arguing with you, it's not malicious. We are only trying to help. ~daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Unless you are a developer or trying to get around bugs in portage where the ebuild isn't working, you should need to use git as a Gentoo user. *Shouldn't* need to use git.
Re: [gentoo-user] fsck won't work if ac cord not attached?!FIXED -- almost
On 12/1/09, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 30 Nov 2009 18:54:45 -0700, Maxim Wexler wrote: you guys are killing me -- the problem goes away when the ac cord is plugged in. I open files watch videos surf the web and so on -- no problems. I'm no expert, but that would seem to suggest that the fs is OK, no? No! You're missing the point. You are telling us that the system works fine if you fsck the root partition before trying to mount it rw, but fails to mount if it is not fscked. That means there is something wrong. To hell with that. Read the damn title of THIS THREAD!! Hint: I am typing this on an Asus Eee PC that was just booted up on battery power. so what? it isn't mine. You trying to say your hardware and data are electron for electron and bit for bit a clone of mine? marples git openrc repo wiped my fsck and I forgot to add the line 'sleep 5' in the fsck start() func. Voila! Volumes mount -- no problem. Everything boots fine with battery power or AC. Problem sorted. Only thing, git sync failed to update /etc/init.d/net.lo. In /var/git/openrc net.lo.in for some reason was not transformed into net.lo and copied to /etc/init.d/. So of course net.lo and net.eth0(the symlink) are not available when boot completes. Now if you will just withdraw your fangs and help me with this latest glitch I'll be muy contento. mw
Re: [gentoo-user] fsck won't work if ac cord not attached?!
And, for the record, while people might be arguing with you, it's not malicious. We are only trying to help. Fine, then read what I say and, until you know better, believe it.
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote: Fine, then read what I say and, until you know better, believe it. OK, you're right, everyone else is wrong and there's no point in any of us trying to help you. -- Neil Bothwick There is absolutely no substitute for a genuine lack of preparation. signature.asc Description: PGP signature
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Tuesday 01 December 2009 22:19:24 Neil Bothwick wrote: On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote: Fine, then read what I say and, until you know better, believe it. OK, you're right, everyone else is wrong and there's no point in any of us trying to help you. Wise Chinese man say: young tempestuous fellow need to bang head on rock many more time before lesson be learned. Allow young man to bang head, obviously he like. Maybe he get head rush? One day he'll realise that he has installed a combination of software packages that just does not do what suits him best. Then he will change it. Until then, well, many happy non-booting returns! -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Tue, Dec 1, 2009 at 16:57, Maxim Wexler maxim.wex...@gmail.com wrote: And, for the record, while people might be arguing with you, it's not malicious. We are only trying to help. Fine, then read what I say and, until you know better, believe it. Your problem has nothing to do with openrc, kernels, etc. Your filesystem is not cleanly umounting, and thus is marked dirty, mount will not work because its considered danger to mount an unclean fs. FSCK will not run cause it is extremely dangerous to run while on battery, so this is all EXPECTED BEHAVIOR from the software. Running fsck every boot is a workaround, not an answer to your problem. We are trying to give you a solution, not a workaround. What is your netbook model? This can narrow things down. -- Daniel da Veiga
Re: [gentoo-user] fsck won't work if ac cord not attached?!
meh, you got nothing On 12/1/09, Alan McKinnon alan.mckin...@gmail.com wrote: On Tuesday 01 December 2009 22:19:24 Neil Bothwick wrote: On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote: Fine, then read what I say and, until you know better, believe it. OK, you're right, everyone else is wrong and there's no point in any of us trying to help you. Wise Chinese man say: young tempestuous fellow need to bang head on rock many more time before lesson be learned. Allow young man to bang head, obviously he like. Maybe he get head rush? One day he'll realise that he has installed a combination of software packages that just does not do what suits him best. Then he will change it. Until then, well, many happy non-booting returns! -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Tue, 1 Dec 2009 16:14:09 -0700, Maxim Wexler wrote: meh, you got nothing Well, we haven't got broken systems that won't start up without a filesystem repair at every boot. If that's nothing, nothing will do me. If you really want help, I'd suggest you stop the tantrums, read the advice you were given and hope there is still someone prepared to help despite your attitude. -- Neil Bothwick Nostalgia isn't what it used to be. signature.asc Description: PGP signature
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Tue, Dec 1, 2009 at 6:18 PM, Maxim Wexler maxim.wex...@gmail.com wrote: We just want to help you -- that's what the police say before they tase your ass On 12/1/09, Maxim Wexler maxim.wex...@gmail.com wrote: meh, you got nothing On 12/1/09, Alan McKinnon alan.mckin...@gmail.com wrote: On Tuesday 01 December 2009 22:19:24 Neil Bothwick wrote: On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote: Fine, then read what I say and, until you know better, believe it. OK, you're right, everyone else is wrong and there's no point in any of us trying to help you. Wise Chinese man say: young tempestuous fellow need to bang head on rock many more time before lesson be learned. Allow young man to bang head, obviously he like. Maybe he get head rush? One day he'll realise that he has installed a combination of software packages that just does not do what suits him best. Then he will change it. Until then, well, many happy non-booting returns! -- alan dot mckinnon at gmail dot com I *almost* feel sorry for you, after several people here have tried to help, even WITHOUT you giving an actual direct error message that you're receiving beyond the *expected* behavior of the fsck being skipped on boot, and even despite your being belligerent toward several of the most helpful people I've seen on the list overall. What I do fail to understand, though, is why a person would post, asking for help, disregard every bit of help given, and *both* act as though they're being forced to listen to help they didn't ask for *and* as though they're not getting any help at all. If someone gives you an answer that is wrong for the situation as you see it, it typically means one of two things... 1) you didn't give all the details needed for them to understand what you're seeing and to know WHY the answer they're giving isn't correct, which 2) you're overlooking or ignoring something that they're trying to point out in their answer and, despite what you may want to hear, they are in fact correct. Now, a-typically, it's possible you know what's wrong, what's causing it, and the solution, so you can instantly know that answers you're receiving are wrong... but in my experience, in those cases, people don't waste other people's time asking for help. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] fsck won't work if ac cord not attached?!
so tell me how come none of you quarter-brights have responded to the email where I say this problem has been fixed? you want to help? answer me this: why did # /var/git/openrc/git pull --rebase update all init.d services except net.lo? That's today's scintillating question. On 12/1/09, Joshua Murphy poiso...@gmail.com wrote: On Tue, Dec 1, 2009 at 6:18 PM, Maxim Wexler maxim.wex...@gmail.com wrote: We just want to help you -- that's what the police say before they tase your ass On 12/1/09, Maxim Wexler maxim.wex...@gmail.com wrote: meh, you got nothing On 12/1/09, Alan McKinnon alan.mckin...@gmail.com wrote: On Tuesday 01 December 2009 22:19:24 Neil Bothwick wrote: On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote: Fine, then read what I say and, until you know better, believe it. OK, you're right, everyone else is wrong and there's no point in any of us trying to help you. Wise Chinese man say: young tempestuous fellow need to bang head on rock many more time before lesson be learned. Allow young man to bang head, obviously he like. Maybe he get head rush? One day he'll realise that he has installed a combination of software packages that just does not do what suits him best. Then he will change it. Until then, well, many happy non-booting returns! -- alan dot mckinnon at gmail dot com I *almost* feel sorry for you, after several people here have tried to help, even WITHOUT you giving an actual direct error message that you're receiving beyond the *expected* behavior of the fsck being skipped on boot, and even despite your being belligerent toward several of the most helpful people I've seen on the list overall. What I do fail to understand, though, is why a person would post, asking for help, disregard every bit of help given, and *both* act as though they're being forced to listen to help they didn't ask for *and* as though they're not getting any help at all. If someone gives you an answer that is wrong for the situation as you see it, it typically means one of two things... 1) you didn't give all the details needed for them to understand what you're seeing and to know WHY the answer they're giving isn't correct, which 2) you're overlooking or ignoring something that they're trying to point out in their answer and, despite what you may want to hear, they are in fact correct. Now, a-typically, it's possible you know what's wrong, what's causing it, and the solution, so you can instantly know that answers you're receiving are wrong... but in my experience, in those cases, people don't waste other people's time asking for help. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] fsck won't work if ac cord not attached?!
should be /var/git/openrc# git pull --rebase On 12/1/09, Maxim Wexler maxim.wex...@gmail.com wrote: so tell me how come none of you quarter-brights have responded to the email where I say this problem has been fixed? you want to help? answer me this: why did # /var/git/openrc/git pull --rebase update all init.d services except net.lo? That's today's scintillating question. On 12/1/09, Joshua Murphy poiso...@gmail.com wrote: On Tue, Dec 1, 2009 at 6:18 PM, Maxim Wexler maxim.wex...@gmail.com wrote: We just want to help you -- that's what the police say before they tase your ass On 12/1/09, Maxim Wexler maxim.wex...@gmail.com wrote: meh, you got nothing On 12/1/09, Alan McKinnon alan.mckin...@gmail.com wrote: On Tuesday 01 December 2009 22:19:24 Neil Bothwick wrote: On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote: Fine, then read what I say and, until you know better, believe it. OK, you're right, everyone else is wrong and there's no point in any of us trying to help you. Wise Chinese man say: young tempestuous fellow need to bang head on rock many more time before lesson be learned. Allow young man to bang head, obviously he like. Maybe he get head rush? One day he'll realise that he has installed a combination of software packages that just does not do what suits him best. Then he will change it. Until then, well, many happy non-booting returns! -- alan dot mckinnon at gmail dot com I *almost* feel sorry for you, after several people here have tried to help, even WITHOUT you giving an actual direct error message that you're receiving beyond the *expected* behavior of the fsck being skipped on boot, and even despite your being belligerent toward several of the most helpful people I've seen on the list overall. What I do fail to understand, though, is why a person would post, asking for help, disregard every bit of help given, and *both* act as though they're being forced to listen to help they didn't ask for *and* as though they're not getting any help at all. If someone gives you an answer that is wrong for the situation as you see it, it typically means one of two things... 1) you didn't give all the details needed for them to understand what you're seeing and to know WHY the answer they're giving isn't correct, which 2) you're overlooking or ignoring something that they're trying to point out in their answer and, despite what you may want to hear, they are in fact correct. Now, a-typically, it's possible you know what's wrong, what's causing it, and the solution, so you can instantly know that answers you're receiving are wrong... but in my experience, in those cases, people don't waste other people's time asking for help. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Monday 30 November 2009 05:40:31 Maxim Wexler wrote: Right. wrong Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. There's nothing wrong with the filesystem. It's ext2 and requires being checked at every boot. Wrong. There is no need to fsck ext2 at every boot. The default is to check it every 26 mounts. You can change that if you want, and send your reboot times sky-high.. Before that it wouldn't boot at all. That would appear to be a completely separate issue. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Sun, 29 Nov 2009 20:40:31 -0700, Maxim Wexler wrote: Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. There's nothing wrong with the filesystem. It's ext2 and requires being checked at every boot. Before that it wouldn't boot at all. If the filesystem was cleanly unmounted, fsck does nothing, except on every 30th mount (unless you have changed to with e2fstune). The filesystem should mount whether you run fsck or not. On the other hand, having a battery run out during a fsck operation could be damaging, so the idea of skipping this check when on battery power is a good one. -- Neil Bothwick Do hungry crows have ravenous appetites? signature.asc Description: PGP signature
Re: [gentoo-user] fsck won't work if ac cord not attached?!
aarrrgh!! I'm the one with the netbook!! The default didn't work. Checking fs every boot does. Extra reboot time amounts to a few secs vs not booting at all, dammit! On 11/30/09, Alan McKinnon alan.mckin...@gmail.com wrote: On Monday 30 November 2009 05:40:31 Maxim Wexler wrote: Right. wrong Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. There's nothing wrong with the filesystem. It's ext2 and requires being checked at every boot. Wrong. There is no need to fsck ext2 at every boot. The default is to check it every 26 mounts. You can change that if you want, and send your reboot times sky-high.. Before that it wouldn't boot at all. That would appear to be a completely separate issue. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Monday 30 November 2009 18:09:07 Maxim Wexler wrote: aarrrgh!! I'm the one with the netbook!! The default didn't work. Checking fs every boot does. Extra reboot time amounts to a few secs vs not booting at all, dammit! You are missing the point. That behaviour is wrong and I cannot overstate that enough. If your system requires an fsck at every boot to even reboot at all, then there is something badly wrong with your filesystem. Enabling an fsck at every boot for ext2 is merely working around the problem at another level and not addressing the actual problem. So please stop arguing with people who are trying to help you and instead find out why your system is exhibiting incorrect behaviour. My first guess is that the filesystem is not being correctly unmounted at shutdown and is therefore marked as dirty at next startup. Ext2 does require an fsck under those circumstances as the chances of data corruption are vastly increased - the assumption being that power to the machine was probably removed abruptly. There could be many reasons for this and you will have to investigate your shutdown process carefully. Do you disagree with my logic as stated above? On 11/30/09, Alan McKinnon alan.mckin...@gmail.com wrote: On Monday 30 November 2009 05:40:31 Maxim Wexler wrote: Right. wrong Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. There's nothing wrong with the filesystem. It's ext2 and requires being checked at every boot. Wrong. There is no need to fsck ext2 at every boot. The default is to check it every 26 mounts. You can change that if you want, and send your reboot times sky-high.. Before that it wouldn't boot at all. That would appear to be a completely separate issue. -- alan dot mckinnon at gmail dot com -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Right. wrong Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. There's nothing wrong with the filesystem. It's ext2 and requires being checked at every boot. Wrong. There is no need to fsck ext2 at every boot. The default is to check it every 26 mounts. You can change that if you want, and send your reboot times sky-high.. Before that it wouldn't boot at all. That would appear to be a completely separate issue. Exactly. In fact, we had a lab computer running a 2.2 kernel and it was failing fsck and wouldn't boot, so I just turned off the fsck at boot. Hey, the filesystem could be corrupted, but it boots! ~daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
aarrrgh!! I'm the one with the netbook!! The default didn't work. Checking fs every boot does. Extra reboot time amounts to a few secs vs not booting at all, dammit! And I'm not sure about this fewseconds. I suppose a netbook drive is small. But if I'm toying around with kernel configs and rebooting all day, you better believe I turn off fsck because it takes like 10 minutes (and my partition is only 50 GB). ~daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
out why your system is exhibiting incorrect behaviour. What the hell do you think I'm doing? Do you disagree with my logic as stated above? logic? all I'm aware of is someone who insists on having the last word at all costs. Help me, my eye!
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Mon, 30 Nov 2009 09:09:07 -0700, Maxim Wexler wrote: aarrrgh!! I'm the one with the netbook!! The default didn't work. Checking fs every boot does. Extra reboot time amounts to a few secs vs not booting at all, dammit! Correction, you are one person with a netbook. Others with netbooks have contributed to this thread, and no one seems to agree with your position. If a filesystem will not mount without an fsck, it is broken. It doesn't matter whether that filesystem is on a desktop, server, laptop, netbook, MID or mobile phone as the location of the filesystem is irrelevant, only the fact that it needs fixing before it can boot... every time. -- Neil Bothwick A great many people mistake opinions for thoughts. -- Herbert V. Prochnow signature.asc Description: PGP signature
Re: [gentoo-user] fsck won't work if ac cord not attached?!
you guys are killing me -- the problem goes away when the ac cord is plugged in. I open files watch videos surf the web and so on -- no problems. I'm no expert, but that would seem to suggest that the fs is OK, no? I set this forth above. Did your eyes glaze over at that point? Roy Marples, who is a(the?) openrc developer, roped me into using git to do whatever git is supposed to do and now it's much worse. /dev/sd1 and 2 fail to mount as before PLUS many init services fail to start PLUS it no longer matters if the battery is being used or the ac cord: Chaos ensues, castles crumble, empires totter ... On 11/30/09, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 30 Nov 2009 09:09:07 -0700, Maxim Wexler wrote: aarrrgh!! I'm the one with the netbook!! The default didn't work. Checking fs every boot does. Extra reboot time amounts to a few secs vs not booting at all, dammit! Correction, you are one person with a netbook. Others with netbooks have contributed to this thread, and no one seems to agree with your position. If a filesystem will not mount without an fsck, it is broken. It doesn't matter whether that filesystem is on a desktop, server, laptop, netbook, MID or mobile phone as the location of the filesystem is irrelevant, only the fact that it needs fixing before it can boot... every time. -- Neil Bothwick A great many people mistake opinions for thoughts. -- Herbert V. Prochnow
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Dienstag 01 Dezember 2009, Maxim Wexler wrote: you guys are killing me -- the problem goes away when the ac cord is plugged in. I open files watch videos surf the web and so on -- no problems. I'm no expert, but that would seem to suggest that the fs is OK, no? I set this forth above. Did your eyes glaze over at that point? Roy Marples, who is a(the?) openrc developer, roped me into using git to do whatever git is supposed to do and now it's much worse. /dev/sd1 and 2 fail to mount as before PLUS many init services fail to start PLUS it no longer matters if the battery is being used or the ac cord: Chaos ensues, castles crumble, empires totter ... well, now you know why he isn't a gentoo dev anymore :D but seriously, Neil has a point. If your system demands a fsck on every boot something is very fishy.
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Hi group, When my netbook boots under battery power w/o the ac adapter connected I get this warning msg in the boot window: 'Skipping fsck due to not being an ac adapter'. Chaos ensues. The warning appears in /etc/init.d/fsck. How do I fix this? Some option in /etc/conf.d/fsck? I did some googling and found two links which could be of service. The first is the Gentoo Handbook on power management: http://www.gentoo.org/doc/en/power-management-guide.xml Do you have powermgmt-base installed? Also, the top post here seems similar to your question, but I can't find anything like lvcheck on my own system (or for Gentoo...maybe it's named something else): http://markmail.org/message/5ipnsva3xkdyzzfy I can say that with newer kernels (2.6.30 at least and above) if I pull the ac power, my backlight automatically dims. I'm pretty sure it was done automatically by either the kernel or another update (probably based on some option like Power Management enabled in the kernel), since I don't have any power management stuff setup except battery level monitoring. Regards, daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Do you have powermgmt-base installed? Ah, memories! Yes Also, the top post here seems similar to your question, but I can't find anything like lvcheck on my own system (or for Gentoo...maybe it's named something else): http://markmail.org/message/5ipnsva3xkdyzzfy /etc/init.d, conf.d/lvm closest equivalent. Nothing there about ac cord Thanks for you interest. Maxim
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Sat, Nov 28, 2009 at 8:37 PM, Maxim Wexler maxim.wex...@gmail.com wrote: Hi group, When my netbook boots under battery power w/o the ac adapter connected I get this warning msg in the boot window: 'Skipping fsck due to not being an ac adapter'. Chaos ensues. The warning appears in /etc/init.d/fsck. How do I fix this? Some option in /etc/conf.d/fsck? If you look for gentoo bug 291654 you get to a page that's difficult to read, something wonky with the xml, but it describes this problem and adds that it's fixed upstream. I'm using ext2 with the journal option, openrc and baselayout-2. My latest world update was two days ago. maxim Skipping fsck at boot, when the system's on battery, would appear to be hard coded in /etc/init.d/fsck ... and the function it uses to check is completely independent of userspace tools related to PM. The only thing it checks is the /proc tree. You can make it ignore all of that and force a check by booting with forcefsck on your kernel command line or by creating the file /forcefsck (simply using touch should suffice). You say Chaos ensues ... in what way? Further errors, failure to boot, file system corruption, or...? The problem isn't likely rooted in the fact that it doesn't run an fsck when the system's booting on battery, but rather that you have some more pressing problem that should be addressed. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] fsck won't work if ac cord not attached?!
You say Chaos ensues ... in what way? Further errors, failure to boot, file system corruption, or...? The problem isn't likely rooted in the fact that it doesn't run an fsck when the system's booting on battery, but rather that you have some more pressing problem that should be addressed. /var and /home fail to mount with predictable consequences. Roy Marples, the developer is aware of the problem says I need to git the openrc project on his repository to fix this. Getting that sorted now. Never used git before.
Re: [gentoo-user] fsck won't work if ac cord not attached?!
On Sun, 29 Nov 2009 16:08:56 -0700, Maxim Wexler wrote: You say Chaos ensues ... in what way? Further errors, failure to boot, file system corruption, or...? The problem isn't likely rooted in the fact that it doesn't run an fsck when the system's booting on battery, but rather that you have some more pressing problem that should be addressed. /var and /home fail to mount with predictable consequences. That's not caused by fsck not running, on most boots it doesn't run anyway, just looks to see if it's due o be run. If those filesystems won't mount without being fscked first, there is something wrong with them and they need to be fixed. -- Neil Bothwick I am in total control, but don't tell my wife. signature.asc Description: PGP signature
Re: [gentoo-user] fsck won't work if ac cord not attached?!
You say Chaos ensues ... in what way? Further errors, failure to boot, file system corruption, or...? The problem isn't likely rooted in the fact that it doesn't run an fsck when the system's booting on battery, but rather that you have some more pressing problem that should be addressed. /var and /home fail to mount with predictable consequences. That's not caused by fsck not running, on most boots it doesn't run anyway, just looks to see if it's due o be run. If those filesystems won't mount without being fscked first, there is something wrong with them and they need to be fixed. Right. Go ahead and turn off fsck at boot to deal with these more serious problems first. This is controlled by the 0 or 1 flag in /etc/fstab (1 being fsck during boot every so-often). You can make it look something like: /dev/sda3 / ext3noatime 0 0 Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. OpenRC is also in portage, so I'm not clear on why you need the bleeding edge source from git... In fact, if you're not familiar with git, and you want to shift to OpenRC (not a bad idea), I'd suggest following the Gentoo documentation, as I found it quite good: http://www.gentoo.org/doc/en/openrc-migration.xml Regards, daid
Re: [gentoo-user] fsck won't work if ac cord not attached?!
Right. wrong Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. There's nothing wrong with the filesystem. It's ext2 and requires being checked at every boot. Before that it wouldn't boot at all. OpenRC is also in portage, so I'm not clear on why you need the bleeding edge source from git. http://roy.marples.name/cgi-bin/gitweb.cgi?p=openrc.git;a=commit;h=d29daf395299fc97b8e13676bc282800a8bddae8 Marples is the developer. In emails to me he says this is what I have to do. In fact, if you're not familiar with git, and you want to shift to OpenRC (not a bad idea), I'd suggest following the Gentoo documentation, as I found it quite good: http://www.gentoo.org/doc/en/openrc-migration.xml read what I wrote: I have already shifted. mw
Re: [gentoo-user] fsck won't work if ac cord not attached?!
besides the problem has to do with the power cord and/or the battery -- not the fs. I'm sending this from the netbook in question with the power cord attached; if I was on battery power it wouldn't work. Look in your /etc/init.d/fsck, you'll see the warning. There ought to be some boolean thing I can put in /etc/conf.d/fsck to over-ride it, but apparently not. On 11/29/09, Maxim Wexler maxim.wex...@gmail.com wrote: Right. wrong Of course, if there are serious filesystem structural problems you'll want to get them solved, but it's either a LiveCD chroot or disable fsck at boot. There's nothing wrong with the filesystem. It's ext2 and requires being checked at every boot. Before that it wouldn't boot at all. OpenRC is also in portage, so I'm not clear on why you need the bleeding edge source from git. http://roy.marples.name/cgi-bin/gitweb.cgi?p=openrc.git;a=commit;h=d29daf395299fc97b8e13676bc282800a8bddae8 Marples is the developer. In emails to me he says this is what I have to do. In fact, if you're not familiar with git, and you want to shift to OpenRC (not a bad idea), I'd suggest following the Gentoo documentation, as I found it quite good: http://www.gentoo.org/doc/en/openrc-migration.xml read what I wrote: I have already shifted. mw