kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #20921
[Bug 1185521] Re: Mounting as minix can block a long time
apport information
** Tags added: apport-collected saucy
** Description changed:
I'm using Ubuntu 13.10 dev with mount 2.20.1-5.1ubuntu8. Forcing to use
minix as filesystem on mounting a device which has another filesystem
and doing another disk operation on the physical device will cause mount
to block until the disk operation is finished. Here is an example:
1. As preparation clean the cache with "echo 3 > /proc/sys/vm/drop_caches".
2. Execute "mount -t minix -v /dev/sda5 /mnt & find / > /dev/null" (dev/sda5 is a swap partition and / is /dev/sda1 (ext4)).
Because /dev/sda5 is a swap partition theoretically the mount operation
should fail in a short time. But mount waits until the find command has
finsihed which can need a long time. After this the following error is
shown (as expected):
root@ubuntu:~# mount: wrong fs type, bad option, bad superblock on /dev/sda5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Replacing minix with ext4 on mounting works fine. The mounting operation will fail too but this needs less than a seconds instead of a few minutes. It is even conspicuous that without another disk operation mounting as minix needs a few times longer than other filesystems. I'm assuming there is something broken on the minix module with checking for bad filesystems.
+ ---
+ AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-12-generic.
+ AplayDevices:
+ **** List of PLAYBACK Hardware Devices ****
+ card 0: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
+ Subdevices: 0/1
+ Subdevice #0: subdevice #0
+ ApportVersion: 2.12.5-0ubuntu1
+ Architecture: amd64
+ AudioDevicesInUse:
+ USER PID ACCESS COMMAND
+ /dev/snd/controlC0: sworddragon 1569 F.... plugin-containe
+ /dev/snd/pcmC0D0p: sworddragon 1569 F...m plugin-containe
+ /dev/snd/timer: sworddragon 1569 f.... plugin-containe
+ CRDA: Error: [Errno 2] No such file or directory
+ Card0.Amixer.info:
+ Card hw:0 'SB'/'HDA ATI SB at 0xf9ff4000 irq 16'
+ Mixer name : 'Realtek ALC662 rev1'
+ Components : 'HDA:10ec0662,18497662,00100101'
+ Controls : 36
+ Simple ctrls : 18
+ CurrentDmesg:
+ Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: No such file or directory
+ dmesg: write failed: Broken pipe
+ DistroRelease: Ubuntu 13.10
+ EcryptfsInUse: Yes
+ IwConfig: Error: [Errno 2] No such file or directory
+ Lsusb: Error: [Errno 2] No such file or directory
+ MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
+ MarkForUpload: True
+ NonfreeKernelModules: nvidia
+ Package: linux (not installed)
+ ProcEnviron:
+ TERM=xterm
+ PATH=(custom, no user)
+ LANG=de_DE.UTF-8
+ SHELL=/bin/bash
+ ProcFB: 0 VESA VGA
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=05338ff8-a226-421b-90a4-1dd45199f783 ro
+ ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
+ RfKill: Error: [Errno 2] No such file or directory
+ Tags: saucy
+ Uname: Linux 3.11.0-12-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo wireshark
+ WifiSyslog:
+
+ dmi.bios.date: 02/05/2013
+ dmi.bios.vendor: American Megatrends Inc.
+ dmi.bios.version: P1.30
+ dmi.board.asset.tag: BC5FF4739C55
+ dmi.board.name: 960GM/U3S3 FX
+ dmi.board.vendor: ASRock
+ dmi.chassis.asset.tag: To Be Filled By O.E.M.
+ dmi.chassis.type: 3
+ dmi.chassis.vendor: To Be Filled By O.E.M.
+ dmi.chassis.version: To Be Filled By O.E.M.
+ dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.30:bd02/05/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rn960GM/U3S3FX:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
+ dmi.product.name: To Be Filled By O.E.M.
+ dmi.product.version: To Be Filled By O.E.M.
+ dmi.sys.vendor: To Be Filled By O.E.M.
** Attachment added: "AlsaDevices.txt"
https://bugs.launchpad.net/bugs/1185521/+attachment/3873584/+files/AlsaDevices.txt
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1185521
Title:
Mounting as minix can block a long time
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
I'm using Ubuntu 13.10 dev with mount 2.20.1-5.1ubuntu8. Forcing to
use minix as filesystem on mounting a device which has another
filesystem and doing another disk operation on the physical device
will cause mount to block until the disk operation is finished. Here
is an example:
1. As preparation clean the cache with "echo 3 > /proc/sys/vm/drop_caches".
2. Execute "mount -t minix -v /dev/sda5 /mnt & find / > /dev/null" (dev/sda5 is a swap partition and / is /dev/sda1 (ext4)).
Because /dev/sda5 is a swap partition theoretically the mount
operation should fail in a short time. But mount waits until the find
command has finsihed which can need a long time. After this the
following error is shown (as expected):
root@ubuntu:~# mount: wrong fs type, bad option, bad superblock on /dev/sda5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Replacing minix with ext4 on mounting works fine. The mounting operation will fail too but this needs less than a seconds instead of a few minutes. It is even conspicuous that without another disk operation mounting as minix needs a few times longer than other filesystems. I'm assuming there is something broken on the minix module with checking for bad filesystems.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-12-generic.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: sworddragon 1569 F.... plugin-containe
/dev/snd/pcmC0D0p: sworddragon 1569 F...m plugin-containe
/dev/snd/timer: sworddragon 1569 f.... plugin-containe
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'SB'/'HDA ATI SB at 0xf9ff4000 irq 16'
Mixer name : 'Realtek ALC662 rev1'
Components : 'HDA:10ec0662,18497662,00100101'
Controls : 36
Simple ctrls : 18
CurrentDmesg:
Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: No such file or directory
dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 13.10
EcryptfsInUse: Yes
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Error: [Errno 2] No such file or directory
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
MarkForUpload: True
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=05338ff8-a226-421b-90a4-1dd45199f783 ro
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
RfKill: Error: [Errno 2] No such file or directory
Tags: saucy
Uname: Linux 3.11.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo wireshark
WifiSyslog:
dmi.bios.date: 02/05/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.30
dmi.board.asset.tag: BC5FF4739C55
dmi.board.name: 960GM/U3S3 FX
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.30:bd02/05/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rn960GM/U3S3FX:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1185521/+subscriptions