Re: SBP2 hotplug doesn't update /proc/partitions

Ben Collins (bcollins@debian.org)
Thu, 12 Jun 2003 15:52:43 -0400


On Thu, Jun 12, 2003 at 12:28:00PM -0700, Torrey Hoffman wrote:
> I am now running 2.5.70-bk15, and with slab debugging turned off SBP2
> mostly works. However, I just had an interesting glitch show up.
>
> I plugged in a 120 GB drive which had two VFAT partitions, mounted them,
> copied some data to them, unmounted them, and unplugged the drive.
> That worked perfectly. (This was the first use of SBP2 after booting.)
>
> Then I plugged in a 250 GB drive with a single reiserfs partition. The
> SBP2 driver detected the drive correctly, but the kernel's idea of what
> partitions are available was not updated.
>
> /proc/partitions still has the old, stale data from the 120 GB drive and
> looks like this: (skipping my hda partitions)

Sounds like the scsi layer is keeping stale info. I'd say this is
suspiciously similar to what's causing your oops in your later email.
Track down where the stale info comes from, and I think you'll find the
cause of both your problems.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/