Mailinglist Archive: opensuse-bugs (8105 mails)

< Previous Next >
[Bug 246524] New: mkinitrd: cannot give options for filesystem modules on the kernel command line
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 16 Feb 2007 15:34:02 -0700 (MST)
  • Message-id: <bug-246524-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=246524

Summary: mkinitrd: cannot give options for filesystem modules on
the kernel command line
Product: openSUSE 10.3
Version: Alpha 1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: seife@xxxxxxxxxx
QAContact: qa@xxxxxxx
OtherBugsDependingO 245732
nThis:


In the initrd, module parameters for filesystem modules are parsed, but never
passed to the module. This is the code:

# Load fs modules _after_ resume
echo -ne "Filesystem modules:\t"
initrd_is_using_modules=
for modpath in $fs_modules; do
module=${modpath##*/}
module=${module%.ko}
echo -n "$module "
cat_linuxrc <<-EOF
|params=
|for p in \$(cat /proc/cmdline) ; do
| case \$p in
| $module.*)
| params="\$params \${p#$module.}"
| ;;
| esac
|done
EOF

cat_linuxrc <<-EOF
|echo "Loading ${module#/lib/modules/$kernel_version/}"
|modprobe $module
EOF
initrd_is_using_modules=1
done

there is a "\$params" missing from the modprobe command.


--
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, or are watching someone who is.

< Previous Next >