From: Steven Dake <sdake@mvista.com>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] [PATCHES] Advanced TCA Hotswap Support in Linux Kernel
Date: Tue, 15 Oct 2002 11:39:02 -0700 [thread overview]
Message-ID: <3DAC60C6.9090507@mvista.com> (raw)
In-Reply-To: 20021015005909.GC10278@kroah.com
Greg,
Responses below.
Greg KH wrote:
>On Mon, Oct 14, 2002 at 11:42:15AM -0700, Steven Dake wrote:
>
>
>>lkml,
>>
>>http://www.sourceforge.net/project/showfiles.php?group_id=64580
>>
>>I am announcing a sourceforge project for developing support in Linux
>>kernel for Advanced TCA (PICMG 3.0) architecture. Advanced TCA is a
>>technology where boards exist in a chassis and can either be processor
>>nodes or storage nodes. All boards in the chassis are connected by
>>FibreChannel and Ethernet. The blades can be hot added or hot removed
>>while the Linux processor nodes are active, meaning, that the SCSI
>>subsystem must add devices on insertion request and remove devices on
>>ejection requests. Further the typical /dev/sda naming of devices is
>>not appropriate since device nodes can change depending on the insertion
>>order of disks.
>>
>>These patches are for Linux 2.4.19 and work with the Qlogic 2300
>>FibreChannel driver and at this point mostly support hotswap of the disk
>>subsystem.
>>
>>
>
>Some questions:
> - is there a public spec for this architecture?
>
>
The spec hasn't ratified yet and I don't have a copy (I only have
pre-spec hardware). I think distribution is limited to PICMG members
once a spec is available, but I'm not sure. Who needs specs anyway :)
> - are you going to be generating a 2.5 version of this so that
> this feature can be added to the main kernel tree?
>
If you think it would be accepted, I'd spend the time making 2.5 kernel
patches. Beyond your other comments, any suggestions to get it accepted?
> - Why don't you use the existing kernel way of notifying
> userspace of hotplug events, through /sbin/hotplug?
>
The hotplug events occur through IPMI (a system management interface
specification) messages. I'm not sure if the hotswap manager will go in
the kernel or not, but if it were in the kernel, it could use
/sbin/hotplug to notify management software of hotswap events (which
would allow the scsi hotswap commands to be used to add or remove
devices). Initially I am going to probably do a user space manager
since its simpler and I think that sort of thing probably belongs in
user space. It will access the IPMI driver, read hotswap events from
the IPMI driver, and swap in and out devices and map/unmap devices via
the ga mapper.
Perhaps what is really needed is a kernel driver that uses the IPMI
driver kernel interface to pump disk device hotswap messages through
/sbin/hotplug. After I get a userspace implementation working (which is
easier to debug and test) I can start work on something like this. What
would you think of that? The nice thing about using /sbin/hotplug is
more things can be scripted like automatically removing a MD disk if the
hotswapped device is part of an MD device.
I've not started on this component yet and am just figuring out the IPMI
messaging at this point. Any comments you have on how to best integrate
this into the current hotplug system would be highly welcomed.
> - You create a lot of new ioctls, which is not nice. You should
> probably do what was done for the pci hotplug subsystem, and
> create a ram based filesystem for this subsystem. That way
> you don't need to have a /dev node, and the userspace tools
> become dirt simple.
>
>
I'll have to look at that. I'm not familiar with the ram based
filesystem. Could you point me to a source file that uses some of the
interfaces?
Thanks
-steve
>thanks,
>
>greg k-h
>
>
>
>
>
next prev parent reply other threads:[~2002-10-15 18:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-14 18:42 [ANNOUNCE] [PATCHES] Advanced TCA Hotswap Support in Linux Kernel Steven Dake
2002-10-15 0:59 ` Greg KH
2002-10-15 18:39 ` Steven Dake [this message]
2002-10-15 20:42 ` Greg KH
2002-10-15 5:29 ` Greg KH
2002-10-15 17:38 ` Steven Dake
2002-10-15 19:11 ` Michael Clark
2002-10-15 19:28 ` Steven Dake
2002-10-15 20:34 ` Greg KH
2002-10-15 20:46 ` Steven Dake
2002-10-15 20:54 ` Greg KH
2002-10-15 21:07 ` Steven Dake
2002-10-15 21:16 ` Greg KH
2002-10-15 21:48 ` Steven Dake
2002-10-16 1:05 ` Michael Clark
2002-10-15 20:52 ` Greg KH
[not found] ` <3DAC89FA.9000505@mvista.com>
2002-10-15 22:04 ` Greg KH
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=3DAC60C6.9090507@mvista.com \
--to=sdake@mvista.com \
--cc=greg@kroah.com \
--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