Re: FreeBSD Support of Hot Swappable NICs
In message <[EMAIL PROTECTED]> Sergey Babkin writes: : 1. When the card is physically removed inform the driver that it : should shut down and don't try to get to the card afterwards. That means : it would handle some subset of configuration requests and delay or : throw away any data transfer requests. : : 2. Later take any neccessary amount of time to clean up the things. We've been through this on the pccard stuff. In that case, you have a few milliseconds to cease all access to the hardware. In the CPCI case you'd have on the order of a second. The CPCI spec says that a board shall have a led and a removal switch. The removal switch is put into the remove position, and the user is supposed to wait for the led to light (or was that go out) before removing the card. Even if he/she/it doesn't, it will take about a second to remove the card after frobbing the switch. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
In message <[EMAIL PROTECTED]> Mike Smith writes: : Actually, there's still a *lot* of work that has to be done to make this : work "right" - let me say two things only: : : "resource allocation" : : "interrupt routing" Yes. Given cardbus support, these are easy. We don't have cardbus support yet, so these will be quite hard. You have to cooperate with the pci bios to do either of these in a MI way. And the pci bios might not exist on all platforms, iirc. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
In message <[EMAIL PROTECTED]> Wes Peters writes: : Warner Losh has just started to look into support for CPCI, which would : mandate hot-swap and bus reprobing. The CardBus support is similar in : concept, too. Yes. Cardbus is indeed quite similar. That's one reason I like the CPCI stuff we have at work :-) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
In message <[EMAIL PROTECTED]> Dan Nelson writes: : In-Reply-To: <[EMAIL PROTECTED]>; from "Alfred Perlstein" on :Wed Jun 7 11:41:59 GMT 2000 : X-OS: FreeBSD 5.0-CURRENT : : In the last episode (Jun 07), Alfred Perlstein said: : > Brech, Cary <[EMAIL PROTECTED]> [000607 10:33] wrote: : > > Lucent recently introduced a product that uses FreeBSD as its OS. : > > We are currently contemplating adding the ability to "Hot Swap" the : > > custom network interface cards we are developing for the next : > > release. The question we have is does FreeBSD support the ability : > > to hot swap network interface cards? : > > : > > Thanks in advance for your assistance! : > : > We can do pcmcia hot swap, but it gets hairy if the interface is : > in use, the interface should be 'downed' before removing afaik. : : Or do you mean PCI hot-plug? FreeBSD currently doesn't support : powering off PCI slots or re-probing the PCI bus after bootup, both of : which are required for hot-plug. I don't know how hard it would be to : add, either. You'll probably have to ask -hackers about that (cc and : reply-to reset there). The compact PCI hot swap spec isn't implemented in FreeBSD at this time. The compact PCI cards will work w/o the hot swap stuff just fine. The hot swap spec doesn't include a register set to program to, as far as I could tell in my limited researches, so each chipset needs its own driver to add hot swap capibilities. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
Wes Peters wrote: > > Mike Smith wrote: > > > > Actually, there's still a *lot* of work that has to be done to make this > > work "right" - let me say two things only: > > > > "resource allocation" > > > > "interrupt routing" > > And that's just the start. When it comes to network interfaces, trying > to unthread them from the system in a small, fixed amount of time like > will be required for hot-eject on CPCI, CardBus, etc., is really fugly. Maybe it can be solved in two steps: 1. When the card is physically removed inform the driver that it should shut down and don't try to get to the card afterwards. That means it would handle some subset of configuration requests and delay or throw away any data transfer requests. 2. Later take any neccessary amount of time to clean up the things. -SB To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
With all the talk about adding support for hot plugging items into the system. Would it make sense to utilize Apple's work with IOKit in FreeBSD ? I know that this could be a BIG project- but why reproduce what apple is giving away ? It looks to be a really nice driver architecture. Would the APSL license stand in the way ??? I think that it would be mutually beneficial - Apple's Intel effort would acquire drivers by the boatload and the BSD community would have one cool driver development framework. Would the BSD community support such a project More information is available here for the interested. OS X Kernel - http://developer.apple.com/techpubs/macosx/System/Documentation/Developer/Kernel/KernelEnvironment.pdf IOKit - http://developer.apple.com/techpubs/macosx/System/Documentation/Developer/Kernel/Tutorials/2-HelloIOKit.pdf David To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
Mike Smith wrote: > > Actually, there's still a *lot* of work that has to be done to make this > work "right" - let me say two things only: > > "resource allocation" > > "interrupt routing" And that's just the start. When it comes to network interfaces, trying to unthread them from the system in a small, fixed amount of time like will be required for hot-eject on CPCI, CardBus, etc., is really fugly. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC [EMAIL PROTECTED] http://softweyr.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
Actually, there's still a *lot* of work that has to be done to make this work "right" - let me say two things only: "resource allocation" "interrupt routing" > This is rather interesting, it probably would have to do with PCI BIOS support > as well, I suppose, but other than that, as long as you could safely unload and > reload the pci code without depending upon it... it may work, or maybe set up a > hook into the driver to rescan. > > Dan Nelson had the audacity to say: > > In the last episode (Jun 07), Alfred Perlstein said: > > > Brech, Cary <[EMAIL PROTECTED]> [000607 10:33] wrote: > > > > Lucent recently introduced a product that uses FreeBSD as its OS. > > > > We are currently contemplating adding the ability to "Hot Swap" the > > > > custom network interface cards we are developing for the next > > > > release. The question we have is does FreeBSD support the ability > > > > to hot swap network interface cards? > > > > > > > > Thanks in advance for your assistance! > > > > > > We can do pcmcia hot swap, but it gets hairy if the interface is > > > in use, the interface should be 'downed' before removing afaik. > > > > Or do you mean PCI hot-plug? FreeBSD currently doesn't support > > powering off PCI slots or re-probing the PCI bus after bootup, both of > > which are required for hot-plug. I don't know how hard it would be to > > add, either. You'll probably have to ask -hackers about that (cc and > > reply-to reset there). > > > > -- > > Dan Nelson > > [EMAIL PROTECTED] > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-hackers" in the body of the message > > > > -- > Coleman Kane > President, > UC Free O.S. Users Group - http://pohl.ececs.uc.edu > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message > -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ [EMAIL PROTECTED] \\ and he'll hate you for a lifetime. \\ [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
This is rather interesting, it probably would have to do with PCI BIOS support as well, I suppose, but other than that, as long as you could safely unload and reload the pci code without depending upon it... it may work, or maybe set up a hook into the driver to rescan. Dan Nelson had the audacity to say: > In the last episode (Jun 07), Alfred Perlstein said: > > Brech, Cary <[EMAIL PROTECTED]> [000607 10:33] wrote: > > > Lucent recently introduced a product that uses FreeBSD as its OS. > > > We are currently contemplating adding the ability to "Hot Swap" the > > > custom network interface cards we are developing for the next > > > release. The question we have is does FreeBSD support the ability > > > to hot swap network interface cards? > > > > > > Thanks in advance for your assistance! > > > > We can do pcmcia hot swap, but it gets hairy if the interface is > > in use, the interface should be 'downed' before removing afaik. > > Or do you mean PCI hot-plug? FreeBSD currently doesn't support > powering off PCI slots or re-probing the PCI bus after bootup, both of > which are required for hot-plug. I don't know how hard it would be to > add, either. You'll probably have to ask -hackers about that (cc and > reply-to reset there). > > -- > Dan Nelson > [EMAIL PROTECTED] > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message > -- Coleman Kane President, UC Free O.S. Users Group - http://pohl.ececs.uc.edu To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
Dan Nelson wrote: > > In the last episode (Jun 07), Alfred Perlstein said: > > Brech, Cary <[EMAIL PROTECTED]> [000607 10:33] wrote: > > > Lucent recently introduced a product that uses FreeBSD as its OS. > > > We are currently contemplating adding the ability to "Hot Swap" the > > > custom network interface cards we are developing for the next > > > release. The question we have is does FreeBSD support the ability > > > to hot swap network interface cards? > > > > > > Thanks in advance for your assistance! > > > > We can do pcmcia hot swap, but it gets hairy if the interface is > > in use, the interface should be 'downed' before removing afaik. > > Or do you mean PCI hot-plug? FreeBSD currently doesn't support > powering off PCI slots or re-probing the PCI bus after bootup, both of > which are required for hot-plug. I don't know how hard it would be to > add, either. You'll probably have to ask -hackers about that (cc and > reply-to reset there). Warner Losh has just started to look into support for CPCI, which would mandate hot-swap and bus reprobing. The CardBus support is similar in concept, too. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC [EMAIL PROTECTED] http://softweyr.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD Support of Hot Swappable NICs
In-Reply-To: <[EMAIL PROTECTED]>; from "Alfred Perlstein" on Wed Jun 7 11:41:59 GMT 2000 X-OS: FreeBSD 5.0-CURRENT In the last episode (Jun 07), Alfred Perlstein said: > Brech, Cary <[EMAIL PROTECTED]> [000607 10:33] wrote: > > Lucent recently introduced a product that uses FreeBSD as its OS. > > We are currently contemplating adding the ability to "Hot Swap" the > > custom network interface cards we are developing for the next > > release. The question we have is does FreeBSD support the ability > > to hot swap network interface cards? > > > > Thanks in advance for your assistance! > > We can do pcmcia hot swap, but it gets hairy if the interface is > in use, the interface should be 'downed' before removing afaik. Or do you mean PCI hot-plug? FreeBSD currently doesn't support powering off PCI slots or re-probing the PCI bus after bootup, both of which are required for hot-plug. I don't know how hard it would be to add, either. You'll probably have to ask -hackers about that (cc and reply-to reset there). -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message