[Bug 867118] New: os-prober tries to mount all extended partitions, causing awful kernel messages
https://bugzilla.novell.com/show_bug.cgi?id=867118 https://bugzilla.novell.com/show_bug.cgi?id=867118#c0 Summary: os-prober tries to mount all extended partitions, causing awful kernel messages Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: carlos.e.r@opensuse.org QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=581180) --> (http://bugzilla.novell.com/attachment.cgi?id=581180) syslog messages from comment 0 Elessar:~ # os-prober /dev/cdrom: open failed: No medium found No volume groups found /dev/sda5:openSUSE 12.1 (x86_64):SUSE:linux /dev/sda7:openSUSE 13.1 (x86_64):SUSE1:linux /dev/sdb5:openSUSE 11.4 (x86_64):SUSE2:linux Elessar:~ # It takes about 5 minutes to run (there are 4 hard disks present, about 50 partitions). These are the extended partitions: Elessar:~ # fdisk -l | grep -i Ext /dev/sdb4 1220940 976768064 487773562+ 5 Extended /dev/sdc4 3688448 3907028991 1951670272 5 Extended /dev/sda4 1220940 976768064 487773562+ f W95 Ext'd (LBA) Elessar:~ # This is what happens, then: 2014-03-06T13:03:27.319045+01:00 Elessar os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda4 2014-03-06T13:03:27.380156+01:00 Elessar kernel: [ 160.534017] EXT4-fs (sda4): unable to read superblock 2014-03-06T13:03:27.381142+01:00 Elessar kernel: [ 160.535391] EXT4-fs (sda4): unable to read superblock 2014-03-06T13:03:27.382142+01:00 Elessar kernel: [ 160.536571] EXT4-fs (sda4): unable to read superblock 2014-03-06T13:03:27.383143+01:00 Elessar kernel: [ 160.537759] isofs_fill_super: bread failed, dev=sda4, iso_blknum=16, block=32 2014-03-06T13:03:27.386165+01:00 Elessar kernel: [ 160.540472] XFS (sda4): bad magic number 2014-03-06T13:03:27.386172+01:00 Elessar kernel: [ 160.540476] ffff8801e3425000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............... 2014-03-06T13:03:27.386173+01:00 Elessar kernel: [ 160.540478] ffff8801e3425010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............... 2014-03-06T13:03:27.386174+01:00 Elessar kernel: [ 160.540479] ffff8801e3425020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............... 2014-03-06T13:03:27.386175+01:00 Elessar kernel: [ 160.540480] ffff8801e3425030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............... 2014-03-06T13:03:27.386176+01:00 Elessar kernel: [ 160.540483] XFS (sda4): Internal error xfs_sb_read_verify at line 780 of file /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/xfs/xfs_mount.c. Caller 0xffffffffa0f5e7b5 2014-03-06T13:03:27.386177+01:00 Elessar kernel: [ 160.540483] 2014-03-06T13:03:27.386178+01:00 Elessar kernel: [ 160.540486] CPU: 3 PID: 164 Comm: kworker/3:1H Tainted: P O 3.11.10-7-desktop #1 2014-03-06T13:03:27.386179+01:00 Elessar kernel: [ 160.540487] Hardware name: MICRO-STAR INTERNATIONAL CO.,LTD MS-7516/MS-7516, BIOS V1.5 10/10/2008 2014-03-06T13:03:27.386180+01:00 Elessar kernel: [ 155.720561] floppy: error -5 while reading block 0 2014-03-06T13:03:27.386181+01:00 Elessar kernel: [ 160.540520] Workqueue: xfslogd xfs_buf_iodone_work [xfs] 2014-03-06T13:03:27.386182+01:00 Elessar kernel: [ 160.540522] 0000000000000001 ffffffff8159ff82 ffff8801ee383000 ffffffffa0f614a6 2014-03-06T13:03:27.386183+01:00 Elessar kernel: [ 160.540525] 0000030c00000000 ffffffffa0f5e7b5 ffff88022b060200 0000000000000016 2014-03-06T13:03:27.386183+01:00 Elessar kernel: [ 160.540527] ffff8801ee383000 ffffe8ffffd80e00 ffffffffa0fb55ed ffffffffa0f5e7b5 2014-03-06T13:03:27.386184+01:00 Elessar kernel: [ 160.540530] Call Trace: 2014-03-06T13:03:27.386185+01:00 Elessar kernel: [ 160.540541] [<ffffffff81004a18>] dump_trace+0x88/0x310 2014-03-06T13:03:27.386186+01:00 Elessar kernel: [ 160.540544] [<ffffffff81004d70>] show_stack_log_lvl+0xd0/0x1d0 2014-03-06T13:03:27.386187+01:00 Elessar kernel: [ 160.540547] [<ffffffff810061ac>] show_stack+0x1c/0x50 2014-03-06T13:03:27.386188+01:00 Elessar kernel: [ 160.540551] [<ffffffff8159ff82>] dump_stack+0x50/0x89 2014-03-06T13:03:27.386189+01:00 Elessar kernel: [ 160.540564] [<ffffffffa0f614a6>] xfs_corruption_error+0x56/0x80 [xfs] 2014-03-06T13:03:27.386189+01:00 Elessar kernel: [ 160.540601] [<ffffffffa0fb55ed>] xfs_sb_read_verify+0xfd/0x120 [xfs] As you see, it attempts to mount sda4, which is an extended partition, and XFS kernel code breaks when this happens. There are bugillas about that part of the issue, I'll post the numbers later. This particular run has a "tainted" kernel, with the Nvidia driver, but I have older logs without the taint, so that's not the issue. And this report is against os-prober, anyway. The full syslog of the event is attached. Notice also this section of the log: 2014-03-06T13:03:44.878881+01:00 Elessar 30utility: debug: /dev/sdb8 is not a FAT partition: exiting 2014-03-06T13:03:44.880173+01:00 Elessar 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/40lsb 2014-03-06T13:03:44.941262+01:00 Elessar 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/70hurd 2014-03-06T13:03:44.946115+01:00 Elessar 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/80minix 2014-03-06T13:03:44.950475+01:00 Elessar 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku 2014-03-06T13:03:44.955169+01:00 Elessar 83haiku: debug: /dev/sdb8 is not a BeFS partition: exiting 2014-03-06T13:03:44.956346+01:00 Elessar 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro 2014-03-06T13:03:44.532708+01:00 Elessar dbus-daemon[856]: message repeated 18 times: [ **** /proc/self/mountinfo changed] 2014-03-06T13:07:28.868510+01:00 Elessar dbus[856]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper) 2014-03-06T13:07:29.155038+01:00 Elessar dbus[856]: [system] Successfully activated service 'org.freedesktop.PackageKit' 2014-03-06T13:08:45.174584+01:00 Elessar 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90solaris 2014-03-06T13:08:45.179573+01:00 Elessar 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/efi 2014-03-06T13:08:45.181937+01:00 Elessar dbus-daemon[856]: **** /proc/self/mountinfo changed 2014-03-06T13:08:45.260703+01:00 Elessar os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sdb9 2014-03-06T13:08:45.779198+01:00 Elessar 50mounted-tests: debug: mounted using GRUB reiserfs filesystem driver 2014-03-06T13:08:45.780300+01:00 Elessar 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/05efi 2014-03-06T13:08:45.785218+01:00 Elessar 05efi: debug: Not on UEFI platform This is where the 5 minute delay happens. On a previous run, when I noticed this problem, I was running an update (yast online update, ie, mandatory packages), perhaps a hundred updates (this is a seldom used test partition). A particular rpm update hung for so long, that I had to kill it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=867118
https://bugzilla.novell.com/show_bug.cgi?id=867118#c1
--- Comment #1 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=867118
https://bugzilla.novell.com/show_bug.cgi?id=867118#c2
Carlos Robinson
http://bugzilla.novell.com/show_bug.cgi?id=867118
Lars Müller
http://bugzilla.novell.com/show_bug.cgi?id=867118
--- Comment #4 from Carlos Robinson
participants (1)
-
bugzilla_noreply@novell.com