Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-12 Thread kashani

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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-11 Thread Grant
> > 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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-11 Thread Grant
> > 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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Willie Wong
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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Willie Wong
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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Mike Williams
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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Petteri Räty
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


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Grant
> > 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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Grant
> >>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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Mike Williams
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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Petteri Räty
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


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Dale
Grant wrote:

>
>Ok, does anyone run a udev system without hotplug and coldplug?
>
>- Grant
>
>  
>
Looks like I don't run them:

> [EMAIL PROTECTED] / # rc-update show | grep hotplug
>  hotplug |
> [EMAIL PROTECTED] / # rc-update show | grep coldplug
> [EMAIL PROTECTED] / #


They are not started anyway.  H, 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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-10 Thread Grant
> 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



Re: [gentoo-user] hotplug and coldplug for a hosted server?

2005-12-09 Thread Phill MV
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 <[EMAIL PROTECTED]> wrote:
Should I emerge hotplug and coldplug on my hosted server whenupgrading 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


[gentoo-user] hotplug and coldplug for a hosted server?

2005-12-09 Thread Grant
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