LM9: minor problem when running fsck at boot

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
mick55
Level 6
Level 6
Posts: 1485
Joined: Fri Sep 25, 2009 2:47 am

Re: LM9: minor problem when running fsck at boot

Post by mick55 »

It still hasn't happened to me, and I am using an IDE drive.

Does anyone else using an IDE drive have this problem?


Or, is it only affecting SATA drives?

mick
Things are more like they are now than they ever were before.

Dwight D. Eisenhower (1890 - 1969)

altair4
Level 19
Level 19
Posts: 9892
Joined: Tue Feb 03, 2009 10:27 am

Re: LM9: minor problem when running fsck at boot

Post by altair4 »

I've installed Mint9 on two boxes. Both exhibit this problem. One is IDE one is SATA.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
oobetimer
Level 7
Level 7
Posts: 1877
Joined: Tue Jun 01, 2010 12:53 pm
Location: Finland / above the Arctic Circle
Contact:

Re: LM9: minor problem when running fsck at boot

Post by oobetimer »

Brian49 wrote:In LM9, when running fsck at boot, the checking process goes through quickly, but then the system doesn't go on to boot to the desktop in the normal way; this can only be brought about by hitting "C" on the keyboard - the same move that can be made to cancel the check. Any ideas on how to fix this, please?

From the Ubuntu forums, it seems that various glitches arose with fsck at the beta stage of Lucid, but they were supposedly fixed by the latest version of mountall (v.2.15, which is what I have on my system). Many thanks.

Code: Select all

sudo fdisk -l

sudo tune2fs -c 30 /dev/sdxy

....eg. 

 sudo tune2fs -c 30 /dev/sda1

Brian49
Level 5
Level 5
Posts: 611
Joined: Thu Oct 29, 2009 2:27 pm

Re: LM9: minor problem when running fsck at boot

Post by Brian49 »

oobetimer - sorry, you appear to have missed the point of this thread. It concerns a malfunction once fsck has started, not the interval between checks.

User avatar
mick55
Level 6
Level 6
Posts: 1485
Joined: Fri Sep 25, 2009 2:47 am

Re: LM9: minor problem when running fsck at boot

Post by mick55 »

altair4 wrote:I've installed Mint9 on two boxes. Both exhibit this problem. One is IDE one is SATA.
There goes my theory. :P :mrgreen: :?

Thanks for the update Altair4.

mick
Things are more like they are now than they ever were before.

Dwight D. Eisenhower (1890 - 1969)

davegregg
Level 1
Level 1
Posts: 2
Joined: Sat Jul 24, 2010 5:28 pm

Re: LM9: minor problem when running fsck at boot

Post by davegregg »

I too have this issue. I'm not sure if I've ever been able to run an fsck successfully because of this.

The error I get in fsck is:
(process:333): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
But ALSO note that I see this error during bootup, if I hit ESC instead of watching the Mint load screen process animation. The difference being the "process:xxx" bit:
(process:313): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
Here is my inxi report:
System: Host dmgzero Kernel 2.6.32-21-generic x86_64 (64 bit) Distro Linux Mint 9 Isadora
CPU: Single core AMD Athlon Neo MV-40 (UP) cache 512 KB flags (sse3 nx lm svm) bmips 3191.26 clocked at 1600.00 MHz
Graphics: Card ATI Mobility Radeon HD 3400 Series X.Org 1.7.6 Res: 1280x800@60.0hz
GLX Renderer Mesa DRI R600 (RV620 95C4) 20090101 TCL DRI2 GLX Version 1.5 Mesa 7.7.1 Direct Rendering Yes
Audio: Card-1 ATI SBx00 Azalia (Intel HDA) driver HDA Intel
Card-2 ATI RV620 Audio device [Radeon HD 34xx Series]driver HDA Intel
Sound: Advanced Linux Sound Architecture Version 1.0.21
Network: Card-1 Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller driver r8169 v: 2.3LK-NAPI at port a000
Card-2 Broadcom BCM4322 802.11a/b/g/n Wireless LAN Controller driver wl
Disks: HDD Total Size: 500.1GB (7.8% used) 1: /dev/sda WDC WD5000BEVT-6 500.1GB 41C
Partition: ID:/ size: 19G used: 4.5G (26%) fs: ext4 ID:/home size: 191G used: 32G (18%) fs: ext4
ID:swap-1 size: 10.24GB used: 0.00GB (0%) fs: swap
Sensors: System Temperatures: cpu: 69.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes 180 Uptime 20 min Memory 879.0/3962.3MB Client Shell inxi 1.3.2
Looking forward to a resolution! If there's anything I can do, let me know. Thanks!

-david
http://www.thegoodquestion.com/

vincent
Level 8
Level 8
Posts: 2217
Joined: Tue Feb 09, 2010 4:10 am

Re: LM9: minor problem when running fsck at boot

Post by vincent »

Have you tried running fsck from a live CD session? That seems to be the only workaround for current fsck issues, heh.
Debian Testing x64/LM9 Main x64/Windows 7 x64 - LG R580 laptop w/ Intel Core 2 Duo T6500 2.1 GHz, 4 GB DDR2 RAM, Nvidia Geforce G 105M, Ralink rt2860 802.11n, 300 GB WD HD 5400 rpm

altair4
Level 19
Level 19
Posts: 9892
Joined: Tue Feb 03, 2009 10:27 am

Re: LM9: minor problem when running fsck at boot

Post by altair4 »

Well, at least it's now on the "Hot Bugs" list: https://bugs.launchpad.net/linuxmint
#583923

But the importance is still classified as "Undecided"
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

davegregg
Level 1
Level 1
Posts: 2
Joined: Sat Jul 24, 2010 5:28 pm

Re: LM9: minor problem when running fsck at boot

Post by davegregg »

I keep Isadora 64 on a MicroSD card in my reader slot on this laptop, ready to be inserted at any moment, so I'll do that for now. Thanks!

-david
http://www.thegoodquestion.com/

User avatar
tux-sven
Level 3
Level 3
Posts: 111
Joined: Sun Mar 08, 2009 6:44 am
Location: Sweden (@ Kinnekulle)

Re: LM9: minor problem when running fsck at boot

Post by tux-sven »

Well, at least it's now on the "Hot Bugs" list: https://bugs.launchpad.net/linuxmint
#583923

But the importance is still classified as "Undecided"
I'm very happy SOMETHING happens. I thought nobody cared about the trouble reports any longer. :(

Brian49
Level 5
Level 5
Posts: 611
Joined: Thu Oct 29, 2009 2:27 pm

Re: LM9: minor problem when running fsck at boot

Post by Brian49 »

The latest update to mountall (to 2.15.1) doesn't solve the problem (whether or not it was intended to).

chris1274
Level 1
Level 1
Posts: 4
Joined: Sun Aug 22, 2010 12:48 am

Re: LM9: minor problem when running fsck at boot

Post by chris1274 »

tux-sven wrote:I'm very happy SOMETHING happens. I thought nobody cared about the trouble reports any longer. :(
Clement Lefebvre himself is aware of the problem, so hopefully we'll see a fix soon:
Clement Lefebvre wrote on 2010-07-26: #25

Ok, it seems one of the lvl3 updates is causing a regression here. We need to identify which one so we can move its level to 5. This is also happening upstream obviously, so I'll be trying to mark the bugs related to this issue as duplicates.
I've been experiencing this same problem on two different laptops, a Dell and an HP.

altair4
Level 19
Level 19
Posts: 9892
Joined: Tue Feb 03, 2009 10:27 am

Re: LM9: minor problem when running fsck at boot

Post by altair4 »

chris1274 wrote:
tux-sven wrote:I'm very happy SOMETHING happens. I thought nobody cared about the trouble reports any longer. :(
Clement Lefebvre himself is aware of the problem, so hopefully we'll see a fix soon:
Clement Lefebvre wrote on 2010-07-26: #25

Ok, it seems one of the lvl3 updates is causing a regression here. We need to identify which one so we can move its level to 5. This is also happening upstream obviously, so I'll be trying to mark the bugs related to this issue as duplicates.
I've been experiencing this same problem on two different laptops, a Dell and an HP.
I'll admit I find it very difficult to follow Ubuntu bug reports but I think you are mistaken. If you look at the bug report in question:
https://bugs.launchpad.net/linuxmint/+bug/583923

It has been marked as a duplicate of this Ubuntu bug ( the "upstream" reference above ):
https://bugs.launchpad.net/ubuntu/+sour ... bug/571707

If you now go to that bug report you'll notice that not only has it been fixed but the fix was released on 2010-05-16.

It doesn't appear to be fixed on my system but ...............
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
tux-sven
Level 3
Level 3
Posts: 111
Joined: Sun Mar 08, 2009 6:44 am
Location: Sweden (@ Kinnekulle)

Re: LM9: minor problem when running fsck at boot

Post by tux-sven »

No it don't seems to be fixed. I installed Mint 9 Gnome for a neighbor and after a time (a week or so) he asked me about why it hang up during start. It was of course the fsck-problem. It's still there. I think I should have installed Mint 8 for him instead..... But I hoped this problem was already solved by now.

vincent
Level 8
Level 8
Posts: 2217
Joined: Tue Feb 09, 2010 4:10 am

Re: LM9: minor problem when running fsck at boot

Post by vincent »

Well, in the meantime you could always work around the bug by stopping fsck from checking drives at boot (tune2fs). You could then choose to run fsck manually when you feel like it (e.g. from a live CD).
Debian Testing x64/LM9 Main x64/Windows 7 x64 - LG R580 laptop w/ Intel Core 2 Duo T6500 2.1 GHz, 4 GB DDR2 RAM, Nvidia Geforce G 105M, Ralink rt2860 802.11n, 300 GB WD HD 5400 rpm

User avatar
tux-sven
Level 3
Level 3
Posts: 111
Joined: Sun Mar 08, 2009 6:44 am
Location: Sweden (@ Kinnekulle)

Re: LM9: minor problem when running fsck at boot

Post by tux-sven »

@vincent

What does the command "sudo tune2fs -c 30 /dev/sdxy" really do? And how to you turn back to original?
(I know what x and y means. :) )

vincent
Level 8
Level 8
Posts: 2217
Joined: Tue Feb 09, 2010 4:10 am

Re: LM9: minor problem when running fsck at boot

Post by vincent »

From tune2fs' manual:
-c max-mount-counts
Adjust the number of mounts after which the filesystem will be
checked by e2fsck(8). If max-mount-counts is 0 or -1, the num‐
ber of times the filesystem is mounted will be disregarded by
e2fsck(8) and the kernel.

Staggering the mount-counts at which filesystems are forcibly
checked will avoid all filesystems being checked at one time
when using journaled filesystems.
Essentially, it sets the number of mounts before fsck is called on boot, i.e. tune2fs -c 30 would run fsck once every 30 mounts (i.e. when you boot) on partition /dev/sdxy. Setting the value to 0 would disable automatic fsck on boot.

Oh, and for Ubuntu/Mint, 30 mounts before fsck is forced is the default setting.
Debian Testing x64/LM9 Main x64/Windows 7 x64 - LG R580 laptop w/ Intel Core 2 Duo T6500 2.1 GHz, 4 GB DDR2 RAM, Nvidia Geforce G 105M, Ralink rt2860 802.11n, 300 GB WD HD 5400 rpm

User avatar
tux-sven
Level 3
Level 3
Posts: 111
Joined: Sun Mar 08, 2009 6:44 am
Location: Sweden (@ Kinnekulle)

Re: LM9: minor problem when running fsck at boot

Post by tux-sven »

Thanks vincent, I didn't understand the manual because English is not my native language. Now i know how it works! :D
By the way, your name reminds me about one of the most famous motorcycles in the world, "The Vincent". I think it's the only motorcycle name having "The" in the name.. :mrgreen:

vincent
Level 8
Level 8
Posts: 2217
Joined: Tue Feb 09, 2010 4:10 am

Re: LM9: minor problem when running fsck at boot

Post by vincent »

I never knew that...then again, I don't know much about motorcycles in general in the first place. But on the other hand, we both learned something new today! :D
Debian Testing x64/LM9 Main x64/Windows 7 x64 - LG R580 laptop w/ Intel Core 2 Duo T6500 2.1 GHz, 4 GB DDR2 RAM, Nvidia Geforce G 105M, Ralink rt2860 802.11n, 300 GB WD HD 5400 rpm

phil
Level 3
Level 3
Posts: 141
Joined: Sun Dec 30, 2007 12:46 pm
Location: Consejo, Belize, Central America

Re: LM9: minor problem when running fsck at boot

Post by phil »

I don't know if today's experience was related to the foregoing, but I will describe what happened and see if anyone can make sense out of it. I was running Mint 9 Xfce 32bit.

It started when I was running the benchmarks in HardInfo to compare my my computer running Athlon II X2 240 to my Atom 510. When I got to the FPU FFT bench The test bombed out and I got an error message "Segmentation Fault". Everything else still seemed to be running o.k. I wanted to get the information on my second data drive model number so I started up Pmagic 0.5.1. Then rebooted the Athlon. It would start up, go through the bios stuff and try to start Grub. At this point boot failed and it started over. After about six of these events I shut down completely. Turned off power and waited a few minutes. Did a restart and everything was back to normal. Booted into Mint 9 and went to HardInfo. Tried the FPU FFT bench and it ran.

I should also say that I had read the previous posts on this subject and had disabled file system checks in fstab a few days ago.

This is certainly weird behavior to say the least.

See signature line for my hardware on the computer in question.

Post Reply

Return to “Installation & Boot”