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

Erik Andersen (andersen@codepoet.org)
Thu, 12 Jun 2003 13:52:09 -0600


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)
>
> major minor #blocks name
>
> 8 0 117187500 sda
> 8 1 80011701 sda1
> 8 2 37174410 sda2
>
> fdisk /dev/sda believes the drive is only 120 GB but has a single 250 GB
> partition:

I strongly suspect your 1394 to IDE bridge is an ATA5 device, and
is therefore limited to supporting drives less than 128 GB. That
is the case for my firewire drives, so I keep them populated with
120 GB drives and I put my 200 GB drives elsewhere....

-Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-
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/