Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#30411 - mount is eating CPU just after boot up, trying to mount an Extended device

Attached to Project: Arch Linux
Opened by Saeed Rasooli (ilius) - Saturday, 23 June 2012, 07:08 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 03 July 2012, 11:57 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version 4.0.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I updated my whole arch system last day (2012/6/22), when I boot up now, mount command has 99.8% CPU usage.
This is my top line:
394 root 20 0 10688 1008 860 R 99.7 0.0 6:01.22 mount

And file /proc/394/cmdline contains:
/bin/mount-orelatime/dev/sda3/media/usbhd-sda3

sda is not a usb hard, its a SATA, but anyway. sda3 is an Extended partitons (which contains primary ones)

# fdisk -l
Device Boot Start End Blocks Id System
/dev/sda2 2048 199237631 99617792 83 Linux
/dev/sda3 199238191 976768064 388764937 5 Extended

my /etc/fstab does not contain /dev/sda3, and it shouldn't try to mount it.
Also shutdown and restart does not work (graphical or using halt or restart commands), I have to turn off phisically and turn on again.
My device is a Dell Vostro 3300 Laptop. And I'm running ArchLinux.
Some usefull command output:

# file -s /dev/sda3
/dev/sda3: x86 boot sector; partition 1: ID=0x83, starthead 254, startsector 2, 700096572 sectors; partition 2: ID=0x5, starthead 254, startsector 773336909, 4192965 sectors, extended partition table, code offset 0x0

# uname -a
Linux ilius-vostro3300 3.4.3-1-ARCH #1 SMP PREEMPT Mon Jun 18 08:28:29 CEST 2012 x86_64 GNU/Linux

# mount --version
mount from util-linux 2.21.2 (libmount 2.21.0: debug)

# cat /proc/cpuinfo
http://dpaste.org/0Puzw/
This task depends upon

Closed by  Tom Gundersen (tomegun)
Tuesday, 03 July 2012, 11:57 GMT
Reason for closing:  Not a bug
Comment by Saeed Rasooli (ilius) - Saturday, 23 June 2012, 07:16 GMT
And all devices inside sda3 are mounted properly
Comment by Saeed Rasooli (ilius) - Saturday, 23 June 2012, 07:22 GMT
And it keeps beeping once a while.
Comment by Ike Devolder (BlackEagle) - Saturday, 23 June 2012, 11:29 GMT
just for the record, this bug is not related to pacman, so its kinda normal being ignored here

move this bug to archlinux, maybe kernel related or utils-linux

then see if there get more responses

also the bootline might be an interesting point to start so get this also in the bug (the line u use from your bootloader)
Comment by Dave Reisner (falconindy) - Saturday, 23 June 2012, 14:07 GMT
If you don't have this as part of /etc/fstab, then do you have some silly udev rule trying to mount partitions?
Comment by Ionut Biru (wonder) - Saturday, 23 June 2012, 14:09 GMT
or maybe is udisk or udisks2 that is mounting it.
Comment by Saeed Rasooli (ilius) - Monday, 25 June 2012, 09:54 GMT
Dave Reisner (falconindy), Ionut Biru (wonder)
No, and no. This happend just after update, and I wasn't adding rules or something during update.

How do move the task? I don't see any Edit links...
Comment by Dave Reisner (falconindy) - Monday, 25 June 2012, 10:08 GMT
It's already been moved...

Since I don't believe you, please post the output of:

udevadm test $(udevadm info -q path -n /dev/sda3)

mount will not mount things it isn't told to mount.
Comment by Arthus Belliqueux (ABelliqueux) - Tuesday, 03 July 2012, 11:27 GMT
I had this problem too.
After issuing the command Dave Reisner provided, I found that some udev rules were causing this : 11-media-by-label-auto-mount.rules

As I found out, they were the rules you can find on the arch wiki for automounting USB :

https://wiki.archlinux.org/index.php?title=Udev&direction=prev&oldid=208580

These instructions were removed frome the wiki on 14/06/2012 : https://wiki.archlinux.org/index.php/Talk:Udev#remove_the_.22automounting_usb_devices.22_udev_rules_.3F

Hope this helps clarifying this issue.

Loading...