mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: bernd@bzed.de
Subject: [Bug 2120] New: /proc/ide - multiple directory entries
Date: Tue, 17 Feb 2004 07:55:53 -0800	[thread overview]
Message-ID: <18630000.1077033353@[10.10.2.4]> (raw)

http://bugme.osdl.org/show_bug.cgi?id=2120

           Summary: /proc/ide - multiple directory entries
    Kernel Version: 2.6.3-rc2-mm1
            Status: NEW
          Severity: normal
             Owner: akpm@digeo.com
         Submitter: bernd@bzed.de


Distribution: Debian testing/unstable
Hardware Environment: IBM Thinkpad R40 2722-GDG
Software Environment: Kernel 2.6.3-rc2-mm1, hdaparm 5.4

Problem Description:
Multiple directory entries in /proc/ide after removing and inserting a ultrabay
device with the use of hdparm -U/-R

0 think:/proc/ide# ll
total 2
-r--r--r--    1 root     root            0 Feb 17 10:19 drivers
lrwxrwxrwx    1 root     root            8 Feb 17 10:19 hda -> ide0/hda
lrwxrwxrwx    1 root     root            8 Feb 17 10:19 hdc -> ide1/hdc
dr-xr-xr-x    3 root     root            0 Feb 17 10:19 ide0
dr-xr-xr-x    3 root     root            0 Feb 17 10:19 ide1
dr-xr-xr-x    3 root     root            0 Feb 17 10:19 ide1
dr-xr-xr-x    3 root     root            0 Feb 17 10:19 ide1
dr-xr-xr-x    3 root     root            0 Feb 17 10:19 ide1
dr-xr-xr-x    3 root     root            0 Feb 17 10:19 ide1
dr-xr-xr-x    3 root     root            0 Feb 17 10:19 ide1
dr-xr-xr-x    3 root     root            0 Feb 17 10:19 ide1
-r--r--r--    1 root     root            0 Feb 17 10:19 piix
0 think:/proc/ide#



Steps to reproduce:
(that's the same the scripts from the hdparm's contrib directory do)

- remove drive from ultrabay
- hdparm -U 1 /dev/hda
- insert drive
- hdparm -R 0x170 0 0 /dev/hda

now we have another ide1 directory in /proc/ide, but the old one should b reused.


                 reply	other threads:[~2004-02-17 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='18630000.1077033353@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --cc=bernd@bzed.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®