* [gentoo-user] hotplug and coldplug for a hosted server?
@ 2005-12-10 3:17 Grant
2005-12-10 7:49 ` Phill MV
0 siblings, 1 reply; 15+ messages in thread
From: Grant @ 2005-12-10 3:17 UTC (permalink / raw
To: Gentoo mailing list
Should I emerge hotplug and coldplug on my hosted server when
upgrading to udev? I don't think there are any attached devices.
However, the docs do say:
hotplug also handles the automated bringup of network devices and
firmware downloading.
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 3:17 [gentoo-user] hotplug and coldplug for a hosted server? Grant
@ 2005-12-10 7:49 ` Phill MV
2005-12-10 17:26 ` Grant
0 siblings, 1 reply; 15+ messages in thread
From: Phill MV @ 2005-12-10 7:49 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 900 bytes --]
hotplug, afaik, refers to not only the practice of swapping SCSI drives on
the fly in busy servers but as well as anything USB related, mounting of
drives, and the like.
Assuming you won't need to plug in a USB drive all of the sudden and you
keep a spotless fstab and have a sole eth connection, hotplug might in fact
be somewhat useless to you.
I switched to udev ages ago however; find out if it's really ncessary.
In the end of the day however, it's not like it's a very heavy process for
your machine.
On 09/12/05, Grant <emailgrant@gmail.com> wrote:
>
> Should I emerge hotplug and coldplug on my hosted server when
> upgrading to udev? I don't think there are any attached devices.
> However, the docs do say:
>
> hotplug also handles the automated bringup of network devices and
> firmware downloading.
>
> - Grant
>
> --
> gentoo-user@gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 1241 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 7:49 ` Phill MV
@ 2005-12-10 17:26 ` Grant
2005-12-10 17:43 ` Dale
` (4 more replies)
0 siblings, 5 replies; 15+ messages in thread
From: Grant @ 2005-12-10 17:26 UTC (permalink / raw
To: gentoo-user
> hotplug, afaik, refers to not only the practice of swapping SCSI drives on
> the fly in busy servers but as well as anything USB related, mounting of
> drives, and the like.
> Assuming you won't need to plug in a USB drive all of the sudden and you
> keep a spotless fstab and have a sole eth connection, hotplug might in fact
> be somewhat useless to you.
> I switched to udev ages ago however; find out if it's really ncessary.
> In the end of the day however, it's not like it's a very heavy process for
> your machine.
Ok, does anyone run a udev system without hotplug and coldplug?
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 17:26 ` Grant
@ 2005-12-10 17:43 ` Dale
2005-12-10 17:45 ` Petteri Räty
` (3 subsequent siblings)
4 siblings, 0 replies; 15+ messages in thread
From: Dale @ 2005-12-10 17:43 UTC (permalink / raw
To: gentoo-user
Grant wrote:
>
>Ok, does anyone run a udev system without hotplug and coldplug?
>
>- Grant
>
>
>
Looks like I don't run them:
> root@smoker / # rc-update show | grep hotplug
> hotplug |
> root@smoker / # rc-update show | grep coldplug
> root@smoker / #
They are not started anyway. Hmmmm, makes me wonder.
I have no idea how I did that though. Anybody think I should start
them? I do use USB for my printer and my camera, all work fine though.
Rest is plugged in at boot-up.
Dale
:-)
--
To err is human, I'm most certainly human.
I have four rigs:
1: Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.
2: Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.
3: Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB drive.
4: Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive.
All run Gentoo, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 17:26 ` Grant
2005-12-10 17:43 ` Dale
@ 2005-12-10 17:45 ` Petteri Räty
2005-12-10 18:00 ` Grant
2005-12-10 17:53 ` Mike Williams
` (2 subsequent siblings)
4 siblings, 1 reply; 15+ messages in thread
From: Petteri Räty @ 2005-12-10 17:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 936 bytes --]
Grant wrote:
>>hotplug, afaik, refers to not only the practice of swapping SCSI drives on
>>the fly in busy servers but as well as anything USB related, mounting of
>>drives, and the like.
>>Assuming you won't need to plug in a USB drive all of the sudden and you
>>keep a spotless fstab and have a sole eth connection, hotplug might in fact
>>be somewhat useless to you.
>>I switched to udev ages ago however; find out if it's really ncessary.
>>In the end of the day however, it's not like it's a very heavy process for
>>your machine.
>
>
> Ok, does anyone run a udev system without hotplug and coldplug?
>
> - Grant
>
udev will bring anything it needs as dependencies
(sys-apps/hotplug-base). No need to emerge hotplug or coldplug unless
you want to. I don't even use coldplug on my desktop system because I
know what hardware I have and coldplug is only useful at boot time.
Other software handles runtime.
Regards,
Petteri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 17:26 ` Grant
2005-12-10 17:43 ` Dale
2005-12-10 17:45 ` Petteri Räty
@ 2005-12-10 17:53 ` Mike Williams
2005-12-10 18:02 ` Grant
2005-12-10 20:20 ` Willie Wong
2005-12-12 19:03 ` kashani
4 siblings, 1 reply; 15+ messages in thread
From: Mike Williams @ 2005-12-10 17:53 UTC (permalink / raw
To: gentoo-user
On Saturday 10 December 2005 17:26, Grant wrote:
> Ok, does anyone run a udev system without hotplug and coldplug?
gandalf ~ # emerge udev -epv | egrep "plug|udev"
[ebuild N ] sys-apps/hotplug-base-20040401 0 kB
[ebuild N ] sys-fs/udev-070-r1 (-selinux) -static 0 kB
--
Mike Williams
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 17:45 ` Petteri Räty
@ 2005-12-10 18:00 ` Grant
2005-12-10 18:43 ` Petteri Räty
2005-12-10 20:23 ` Willie Wong
0 siblings, 2 replies; 15+ messages in thread
From: Grant @ 2005-12-10 18:00 UTC (permalink / raw
To: gentoo-user
> >>hotplug, afaik, refers to not only the practice of swapping SCSI drives on
> >>the fly in busy servers but as well as anything USB related, mounting of
> >>drives, and the like.
> >>Assuming you won't need to plug in a USB drive all of the sudden and you
> >>keep a spotless fstab and have a sole eth connection, hotplug might in fact
> >>be somewhat useless to you.
> >>I switched to udev ages ago however; find out if it's really ncessary.
> >>In the end of the day however, it's not like it's a very heavy process for
> >>your machine.
> >
> >
> > Ok, does anyone run a udev system without hotplug and coldplug?
> >
> > - Grant
> >
>
> udev will bring anything it needs as dependencies
> (sys-apps/hotplug-base). No need to emerge hotplug or coldplug unless
> you want to. I don't even use coldplug on my desktop system because I
> know what hardware I have and coldplug is only useful at boot time.
> Other software handles runtime.
>
> Regards,
> Petteri
I'm a bit confused. udev does emerge hotplug-base as a dependency.
But as far as hotplug itself, this document:
http://www.gentoo.org/doc/en/udev-guide.xml
says:
"You do not need to install hotplug unless you want your modules
automatically loaded when you plug devices in. hotplug also handles
the automated bringup of network devices and firmware downloading."
and about coldplug:
"If you want modules loaded for devices that have been plugged in
before you boot, use the coldplug package. Don't forget to add
coldplug to the boot runlevel."
I'm just trying to figure out what I need for my laptop and for my
server. I'd rather not have useless stuff on my systems, but I don't
want anything to break either. Also, should hotplug be added to the
default runlevel? The doc doesn't mention it although it does say to
add coldplug to the boot runlevel.
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 17:53 ` Mike Williams
@ 2005-12-10 18:02 ` Grant
2005-12-10 18:48 ` Mike Williams
0 siblings, 1 reply; 15+ messages in thread
From: Grant @ 2005-12-10 18:02 UTC (permalink / raw
To: gentoo-user
> > Ok, does anyone run a udev system without hotplug and coldplug?
>
> gandalf ~ # emerge udev -epv | egrep "plug|udev"
> [ebuild N ] sys-apps/hotplug-base-20040401 0 kB
> [ebuild N ] sys-fs/udev-070-r1 (-selinux) -static 0 kB
>
> --
> Mike Williams
What is the meaning of this? It looks like you aren't running a udev
system to me since udev isn't installed.
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 18:00 ` Grant
@ 2005-12-10 18:43 ` Petteri Räty
2005-12-11 17:40 ` Grant
2005-12-10 20:23 ` Willie Wong
1 sibling, 1 reply; 15+ messages in thread
From: Petteri Räty @ 2005-12-10 18:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]
Grant wrote:
>
> I'm a bit confused. udev does emerge hotplug-base as a dependency.
> But as far as hotplug itself, this document:
>
> http://www.gentoo.org/doc/en/udev-guide.xml
>
> says:
>
> "You do not need to install hotplug unless you want your modules
> automatically loaded when you plug devices in. hotplug also handles
> the automated bringup of network devices and firmware downloading."
>
Yes, this is the purpose of hotplug. I use it on my laptop to
automatically load my wlan driver when I turn on my usb wireless chip
and then automatically start net.wlan0.
> and about coldplug:
>
> "If you want modules loaded for devices that have been plugged in
> before you boot, use the coldplug package. Don't forget to add
> coldplug to the boot runlevel."
>
coldplug is one useful if you have tons of modules installed and don't
know what you need. Otherwise you can just use
/etc/modules.autoload.d/kernel-2.6
>
> I'm just trying to figure out what I need for my laptop and for my
> server. I'd rather not have useless stuff on my systems, but I don't
> want anything to break either. Also, should hotplug be added to the
> default runlevel? The doc doesn't mention it although it does say to
> add coldplug to the boot runlevel.
>
hotplug is not a service that you can start and coldplug is up to you.
Regards,
Petteri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 18:02 ` Grant
@ 2005-12-10 18:48 ` Mike Williams
0 siblings, 0 replies; 15+ messages in thread
From: Mike Williams @ 2005-12-10 18:48 UTC (permalink / raw
To: gentoo-user
On Saturday 10 December 2005 18:02, Grant wrote:
> > gandalf ~ # emerge udev -epv | egrep "plug|udev"
> > [ebuild N ] sys-apps/hotplug-base-20040401 0 kB
> > [ebuild N ] sys-fs/udev-070-r1 (-selinux) -static 0 kB
>
> What is the meaning of this? It looks like you aren't running a udev
> system to me since udev isn't installed.
Note the 'e'. It shows that udev-070-r1 depends on hotplug-base.
Meaning you don't need hotplug, or coldplug separately.
--
Mike Williams
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 17:26 ` Grant
` (2 preceding siblings ...)
2005-12-10 17:53 ` Mike Williams
@ 2005-12-10 20:20 ` Willie Wong
2005-12-12 19:03 ` kashani
4 siblings, 0 replies; 15+ messages in thread
From: Willie Wong @ 2005-12-10 20:20 UTC (permalink / raw
To: gentoo-user
On Sat, Dec 10, 2005 at 09:26:18AM -0800, Penguin Lover Grant squawked:
> Ok, does anyone run a udev system without hotplug and coldplug?
>
sep wwong # rc-update show | grep plug
sep wwong #
USB keys work just fine, so does my DigiCam.
Then again, I compiled mostly everything I need into the kernel, so
Drivers need no binding. Looking at
http://linux-hotplug.sourceforge.net/?selected=overview
I don't really need hotplug on this box.
On my laptop, I have hotplug running just to save a few keystrokes
when I enable my wireless interface.
W
--
"What are you talking about? "
"Never mind, eat the fruit. "
"You know, this place almost looks like the Garden of Eden.
"
"Eat the fruit. "
"Sounds quite like it too. "
Sortir en Pantoufles: up 28 days, 12:35
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 18:00 ` Grant
2005-12-10 18:43 ` Petteri Räty
@ 2005-12-10 20:23 ` Willie Wong
2005-12-11 17:42 ` Grant
1 sibling, 1 reply; 15+ messages in thread
From: Willie Wong @ 2005-12-10 20:23 UTC (permalink / raw
To: gentoo-user
On Sat, Dec 10, 2005 at 10:00:42AM -0800, Penguin Lover Grant squawked:
> I'm just trying to figure out what I need for my laptop and for my
> server. I'd rather not have useless stuff on my systems, but I don't
> want anything to break either. Also, should hotplug be added to the
> default runlevel? The doc doesn't mention it although it does say to
> add coldplug to the boot runlevel.
>
> - Grant
>
More likely, your hardware configuration for your server is fairly
static: you will know precisely what you put on it (like my desktop),
and thus probably won't need either.
For laptops, hotplug can be a good idea. I use it for wireless.
W
--
When going on vacation, be sure to leave cans of dog food and a can opener
where your dog can easily reach them.
Sortir en Pantoufles: up 28 days, 12:42
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 18:43 ` Petteri Räty
@ 2005-12-11 17:40 ` Grant
0 siblings, 0 replies; 15+ messages in thread
From: Grant @ 2005-12-11 17:40 UTC (permalink / raw
To: gentoo-user
> > I'm a bit confused. udev does emerge hotplug-base as a dependency.
> > But as far as hotplug itself, this document:
> >
> > http://www.gentoo.org/doc/en/udev-guide.xml
> >
> > says:
> >
> > "You do not need to install hotplug unless you want your modules
> > automatically loaded when you plug devices in. hotplug also handles
> > the automated bringup of network devices and firmware downloading."
> >
>
> Yes, this is the purpose of hotplug. I use it on my laptop to
> automatically load my wlan driver when I turn on my usb wireless chip
> and then automatically start net.wlan0.
So udev's "hotplug-base" dependency isn't sufficient for this, and
hotplug itself must be emerged separately?
> > and about coldplug:
> >
> > "If you want modules loaded for devices that have been plugged in
> > before you boot, use the coldplug package. Don't forget to add
> > coldplug to the boot runlevel."
> >
>
> coldplug is one useful if you have tons of modules installed and don't
> know what you need. Otherwise you can just use
> /etc/modules.autoload.d/kernel-2.6
Ok, so if I emerge coldplug and start the daemon at boot I can 'rm -rf
/etc/modules.autoload.d' and all of the necessary modules will still
be loaded?
> > I'm just trying to figure out what I need for my laptop and for my
> > server. I'd rather not have useless stuff on my systems, but I don't
> > want anything to break either. Also, should hotplug be added to the
> > default runlevel? The doc doesn't mention it although it does say to
> > add coldplug to the boot runlevel.
> >
>
> hotplug is not a service that you can start and coldplug is up to you.
Are you sure about that?
system4 ~ # rc-update show | grep hotplug
hotplug |
Also, I noticed net.ath0 doesn't display any output about connecting
to the wireless AP during bootup with hotplug and coldplug emerged. I
did like seeing if it was able to connect each time. Is that
hotplug's doing?
- Grant
> Regards,
> Petteri
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 20:23 ` Willie Wong
@ 2005-12-11 17:42 ` Grant
0 siblings, 0 replies; 15+ messages in thread
From: Grant @ 2005-12-11 17:42 UTC (permalink / raw
To: gentoo-user
> > I'm just trying to figure out what I need for my laptop and for my
> > server. I'd rather not have useless stuff on my systems, but I don't
> > want anything to break either. Also, should hotplug be added to the
> > default runlevel? The doc doesn't mention it although it does say to
> > add coldplug to the boot runlevel.
> >
> > - Grant
> >
>
> More likely, your hardware configuration for your server is fairly
> static: you will know precisely what you put on it (like my desktop),
> and thus probably won't need either.
>
> For laptops, hotplug can be a good idea. I use it for wireless.
>
> W
I emerged udev (not hotplug or coldplug) on my server and booted into
the new kernel and things are running great. Thanks!
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] hotplug and coldplug for a hosted server?
2005-12-10 17:26 ` Grant
` (3 preceding siblings ...)
2005-12-10 20:20 ` Willie Wong
@ 2005-12-12 19:03 ` kashani
4 siblings, 0 replies; 15+ messages in thread
From: kashani @ 2005-12-12 19:03 UTC (permalink / raw
To: gentoo-user
Grant wrote:
> Ok, does anyone run a udev system without hotplug and coldplug?
>
Pretty much all my 1U/2U servers are setup that way. I think I installed
hotplug and coldplug as prereqs to udev, but never run them. Anything
with multiple SCSI drives is plugged into a RAID card so it's hidden
form the OS regardless.
kashani
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-12-12 19:09 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-10 3:17 [gentoo-user] hotplug and coldplug for a hosted server? Grant
2005-12-10 7:49 ` Phill MV
2005-12-10 17:26 ` Grant
2005-12-10 17:43 ` Dale
2005-12-10 17:45 ` Petteri Räty
2005-12-10 18:00 ` Grant
2005-12-10 18:43 ` Petteri Räty
2005-12-11 17:40 ` Grant
2005-12-10 20:23 ` Willie Wong
2005-12-11 17:42 ` Grant
2005-12-10 17:53 ` Mike Williams
2005-12-10 18:02 ` Grant
2005-12-10 18:48 ` Mike Williams
2005-12-10 20:20 ` Willie Wong
2005-12-12 19:03 ` kashani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox