Bug 587336
Summary: | Multipathd exits with -1 in main.c prepare_namespace() | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Shane Bradley <sbradley> | ||||
Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> | ||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | agk, bmarzins, bmr, christophe.varoqui, dwysocha, heinzm, junichi.nomura, kueda, lmb, mbroz, prajnoha, prockai, tao | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-07-01 19:15:05 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Shane Bradley
2010-04-29 15:53:34 UTC
Created attachment 410200 [details]
systemtap script to figure out what is causing the error
run
# stap it800403.stp
When it says
"starting"
run
# service multipathd start
If things work correctly, you should see something like
starting
multipathd entered sys_mount for <unknown> on /var/cache/multipathd
entered copy_mount_options for ramfs
exitted copy_mount_options with 0
entered getname for /var/cache/multipathd
exitted getname with -139636435095552
entered copy_mount_options for <unknown>
exitted copy_mount_options with 0
entered copy_mount_options for maxsize=3664746
exitted copy_mount_options with 0
entered do_mount for /var/cache/multipathd
exitted do_mount with 0
multipathd exitted sys_mount with 0
multipathd entered sys_mount for /var/cache/multipathd on /sbin
entered copy_mount_options for <unknown>
exitted copy_mount_options with 0
entered getname for /sbin
exitted getname with -139636435095552
entered copy_mount_options for /var/cache/multipathd
exitted copy_mount_options with 0
entered copy_mount_options for <unknown>
exitted copy_mount_options with 0
entered do_mount for /sbin
exitted do_mount with 0
multipathd exitted sys_mount with 0
multipathd entered sys_mount for /var/cache/multipathd on /bin
entered copy_mount_options for <unknown>
exitted copy_mount_options with 0
entered getname for /bin
exitted getname with -139636435095552
entered copy_mount_options for /var/cache/multipathd
exitted copy_mount_options with 0
entered copy_mount_options for <unknown>
exitted copy_mount_options with 0
entered do_mount for /bin
exitted do_mount with 0
multipathd exitted sys_mount with 0
multipathd entered sys_mount for /var/cache/multipathd on /tmp
entered copy_mount_options for <unknown>
exitted copy_mount_options with 0
entered getname for /tmp
exitted getname with -139636435095552
entered copy_mount_options for /var/cache/multipathd
exitted copy_mount_options with 0
entered copy_mount_options for <unknown>
exitted copy_mount_options with 0
entered do_mount for /tmp
exitted do_mount with 0
multipathd exitted sys_mount with 0
If it fails, you should see some exitted lines that return -14 (-EFAULT)
getname() is returning a pointer, so it most likely won't return the same as this one. As long as it doesn't return -14, it should be fine.
Please run this script on the machine that can reproduce the issue, and
copy the results into the bugzilla.
Have you gotten a chance to reproduce this with the systemtap script? |