{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/9856","labels_url":"https://api.github.com/repos/docker/docker/issues/9856/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/9856/comments","events_url":"https://api.github.com/repos/docker/docker/issues/9856/events","html_url":"https://github.com/docker/docker/issues/9856","id":53151321,"number":9856,"title":"Kernel Panic when mounting volumes on RHEL 6.5 using Docker 1.4.0, Docker 1.4.1, with latest device mapper ","user":{"login":"marcellodesales","id":131457,"avatar_url":"https://avatars.githubusercontent.com/u/131457?v=3","gravatar_id":"","url":"https://api.github.com/users/marcellodesales","html_url":"https://github.com/marcellodesales","followers_url":"https://api.github.com/users/marcellodesales/followers","following_url":"https://api.github.com/users/marcellodesales/following{/other_user}","gists_url":"https://api.github.com/users/marcellodesales/gists{/gist_id}","starred_url":"https://api.github.com/users/marcellodesales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcellodesales/subscriptions","organizations_url":"https://api.github.com/users/marcellodesales/orgs","repos_url":"https://api.github.com/users/marcellodesales/repos","events_url":"https://api.github.com/users/marcellodesales/events{/privacy}","received_events_url":"https://api.github.com/users/marcellodesales/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels//system/devicemapper","name":"/system/devicemapper","color":"FBCA04"},{"url":"https://api.github.com/repos/docker/docker/labels/exp/expert","name":"exp/expert","color":"3B8686"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94"},{"url":"https://api.github.com/repos/docker/docker/labels/os/linux/rhel","name":"os/linux/rhel","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2014-12-30T22:08:19Z","updated_at":"2015-06-16T15:06:20Z","closed_at":"2015-04-28T15:51:35Z","body":"The problem\r\n----\r\n\r\nAfter mounting a host volume with Docker 1.4.0, Docker 1.4.1-dev, the server hangs for a few seconds and the ssh terminal session is lost with the host. Here's a Fig up session:\r\n\r\n```\r\n[root@pppdc9prd6dq newww]# fig up\r\nCreating newww_npmRegistryElasticsearchData_1...\r\nCreating newww_npmRegistryElasticsearchServer_1...\r\nCreating newww_npmRegistryCouchdbData_1...\r\nCreating newww_npmRegistryCouchdbServer_1...\r\nCreating newww_npmRegistryRedisData_1...\r\nCreating newww_npmRegistryRedisServer_1...\r\nWrite failed: Broken pipe\r\n```\r\n\r\nThe same occurs when running the docker command manually... \r\n\r\n```\r\n[root@pppdc9prd6dq newww]# docker run -ti -v $(pwd)/dev/couch/data:/usr/local/var/lib/couchdb -v $(pwd)/dev/couch/couch-docker.ini:/usr/local/etc/couchdb/local.ini busybox bash\r\nexec: \"bash\": executable file not found in $PATHFATA[0000] Error response from daemon: Cannot start container e8e53a826d1602e1ca5363109db401856963f47313f2d25a8e6a2d9b3e718c3a: exec: \"bash\": executable file not found in $PATH \r\n[root@pppdc9prd6dq newww]# docker run -ti -v $(pwd)/dev/couch/data:/usr/local/var/lib/couchdb -v $(pwd)/dev/couch/couch-docker.ini:/usr/local/etc/couchdb/local.ini busybox sh\r\n/ # ls -la\r\ntotal 56\r\ndrwxr-xr-x   17 root     root          4096 Dec 30 18:51 .\r\ndrwxr-xr-x   17 root     root          4096 Dec 30 18:51 ..\r\n-rwxr-x---    1 root     root             0 Dec 30 18:51 .dockerenv\r\n-rwxr-x---    1 root     root             0 Dec 30 18:51 .dockerinit\r\ndrwxrwxr-x    2 root     root          4096 May 22  2014 bin\r\ndrwxr-xr-x    5 root     root           380 Dec 30 18:51 dev\r\ndrwxr-xr-x    6 root     root          4096 Dec 30 18:51 etc\r\ndrwxrwxr-x    4 root     root          4096 May 22  2014 home\r\ndrwxrwxr-x    2 root     root          4096 May 22  2014 lib\r\nlrwxrwxrwx    1 root     root             3 May 22  2014 lib64 -> lib\r\nlrwxrwxrwx    1 root     root            11 May 22  2014 linuxrc -> bin/busybox\r\ndrwxrwxr-x    2 root     root          4096 Feb 27  2014 media\r\ndrwxrwxr-x    2 root     root          4096 Feb 27  2014 mnt\r\ndrwxrwxr-x    2 root     root          4096 Feb 27  2014 opt\r\ndr-xr-xr-x  158 root     root             0 Dec 30 18:51 proc\r\ndrwx------    2 root     root          4096 Dec 30 18:51 root\r\nlrwxrwxrwx    1 root     root             3 Feb 27  2014 run -> tmp\r\ndrwxr-xr-x    2 root     root          4096 May 22  2014 sbin\r\ndrwxr-xr-x   13 root     root             0 Dec 30 18:28 sys\r\ndrwxrwxrwt    3 root     root          4096 May 22  2014 tmp\r\ndrwxrwxr-x    7 root     root          4096 Dec 30 18:51 usr\r\ndrwxrwxr-x    4 root     root          4096 May 22  2014 var\r\n/ # ls -la /usr/local/var/lib/couchdb/\r\ntotal 8\r\ndrwxr-x---    2 root     root          4096 Dec 30 09:50 .\r\ndrwxr-x---    3 root     root          4096 Dec 30 18:51 ..\r\n/ # ls -la /usr/local/etc/couchdb/local.ini \r\n-rw-------    1 root     root          1359 Dec 30 07:14 /usr/local/etc/couchdb/local.ini\r\n/ # exit\r\nWrite failed: Broken pipe\r\n```\r\n\r\nI cannot ssh to the host until I restart the server... ssh to the host becomes unavailable... \r\n\r\n```\r\nmdesales@SDGl121456EB ~ (mac) $ ssh npm.corp.intuit.net \r\nssh: connect to host npm.corp.intuit.net port 22: Operation timed out\r\n```\r\n\r\nReproducing\r\n-----\r\n\r\nFirst, I installed the latest Docker 1.4.0 from yum EPEL, and later built Docker 1.4.1 on a Ubuntu machine and scp the latest version to the host. Still the same problem occurs. Everything started with the following error:\r\n\r\nhttp://stackoverflow.com/questions/27216473/docker-1-3-fails-to-start-on-rhel6-5\r\n\r\nSo I upgraded the device mapper library to the latest version:\r\n\r\n```\r\n$ cd /etc/yum.repos.d \r\n$ wget public-yum.oracle.com/public-yum-ol6.repo \r\n$ wget public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle\r\n$ yum update device-mapper\r\n```\r\n\r\nAfter that, I was able to restart Docker 1.4.0 or Docker 1.4.1-dev without a problem... \r\n\r\n```\r\n[root@pppdc9prd6dq mdesales]# docker --version\r\nDocker version 1.4.1-dev, build a444643\r\n```\r\n\r\nI can list images without a problem and manipulate them using Fig:\r\n\r\n```\r\n[root@pppdc9prd6dq newww]# fig up\r\nCreating newww_npmRegistryElasticsearchData_1...\r\nCannot start container 62c57ef8830000496a8c6dfeba637dc8976de47d82431f3df701c6bdccfe6d5d: Cannot find child for /newww_npmRegistryElasticsearchData_1\r\n[root@pppdc9prd6dq newww]# fig rm\r\nGoing to remove newww_npmRegistryRedisServer_1, newww_npmRegistryRedisData_1, newww_npmRegistryCouchdbServer_1, newww_npmRegistryCouchdbData_1, newww_npmRegistryElasticsearchServer_1\r\nAre you sure? [yN] y\r\nRemoving newww_npmRegistryElasticsearchServer_1...\r\nRemoving newww_npmRegistryCouchdbData_1...\r\nRemoving newww_npmRegistryCouchdbServer_1...\r\nRemoving newww_npmRegistryRedisData_1...\r\nRemoving newww_npmRegistryRedisServer_1...\r\n```\r\n\r\nAfter that, I tried to \"fig up\" again and the same problem occurs...\r\n\r\n```\r\n[root@pppdc9prd6dq newww]# fig up\r\nCreating newww_npmRegistryElasticsearchData_1...\r\nCreating newww_npmRegistryElasticsearchServer_1...\r\nCreating newww_npmRegistryCouchdbData_1...\r\nCreating newww_npmRegistryCouchdbServer_1...\r\nCreating newww_npmRegistryRedisData_1...\r\nCreating newww_npmRegistryRedisServer_1...\r\nWrite failed: Broken pipe\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/112463604","html_url":"https://github.com/docker/docker/issues/9856#issuecomment-112463604","issue_url":"https://api.github.com/repos/docker/docker/issues/9856","id":112463604,"user":{"login":"rhvgoyal","id":9487534,"avatar_url":"https://avatars.githubusercontent.com/u/9487534?v=3","gravatar_id":"","url":"https://api.github.com/users/rhvgoyal","html_url":"https://github.com/rhvgoyal","followers_url":"https://api.github.com/users/rhvgoyal/followers","following_url":"https://api.github.com/users/rhvgoyal/following{/other_user}","gists_url":"https://api.github.com/users/rhvgoyal/gists{/gist_id}","starred_url":"https://api.github.com/users/rhvgoyal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhvgoyal/subscriptions","organizations_url":"https://api.github.com/users/rhvgoyal/orgs","repos_url":"https://api.github.com/users/rhvgoyal/repos","events_url":"https://api.github.com/users/rhvgoyal/events{/privacy}","received_events_url":"https://api.github.com/users/rhvgoyal/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T15:06:20Z","updated_at":"2015-06-16T15:06:20Z","body":"Can somebody paste the full panic() with any backtrace here. IOW, please paste the output of console."}}