Mailinglist Archive: opensuse-bugs (5931 mails)
| < Previous | Next > |
[Bug 668878] New: Kernel crash when trying to mount extended partition with reiserfs option
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 2 Feb 2011 13:08:31 +0000
- Message-id: <bug-668878-21960@http.bugzilla.novell.com/>
https://bugzilla.novell.com/show_bug.cgi?id=668878
https://bugzilla.novell.com/show_bug.cgi?id=668878#c0
Summary: Kernel crash when trying to mount extended partition
with reiserfs option
Classification: openSUSE
Product: openSUSE 11.4
Version: Milestone 6 of 6
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Kernel
AssignedTo: jeffm@xxxxxxxxxx
ReportedBy: trenn@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: Development
Blocker: ---
I run into this when trying to run our auto-installation on 11.4.
It's an ugly script trying to mount all partitions from /proc/partitions
unconditionally:
------------
DISKS=$(cat /proc/partitions | awk '{print $4}' | \
grep -v name | grep -v '^$' | grep -v loop | grep '[0-9]')
ROOT=$(mount | grep ' / ' | cut -d ' ' -f 1)
for partition in ${DISKS} ; do
partition=/dev/${partition}
if [ -b ${partition} ] && [ ${partition} != ${ROOT} ] ; then
if mount -v ${partition} /mnt ; then
if [ -f /etc/SuSE-release ] && [ -f /mnt/etc/motd ] ; then
replace_motd /mnt/etc/motd
fi
umount /mnt &> /dev/null
fi
sleep 1
fi
done
------------
The crash happens when trying to mount /dev/sda3 (Extended Partition) with
reiserfs. Other tries like vfat, due to no -t option given survive:
mount -v /dev/sda3 /mnt
mount: you didn't specify a filesystem type for /dev/sda3
I will try all types mentioned in /etc/filesystems or /proc/filesystems
Trying vfat
Trying hfs
Trying minix
Trying reiserfs
-> crash
So I can reproduce the issue doing:
mount -t reiserfs /dev/sda3 /mnt
fdisk -l /dev/sda
..
/dev/sda3 4289355 976768064 486239355 85 Linux extended
/dev/sda5 4289418 23856461 9783522 83 Linux
..
I can workaround the issue and clean up the script.
Still I thought it's worth reporting, the crash does not happen on SLES 11 SP1.
Unfortunately there is no backtrace in the serial logs, a kdump kernel gets
booted, but on the machine I tested kdump does not work as expected, possibly
due to IOMMU being used (bug#668872).
--
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.
| < Previous | Next > |