Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Frage zu Coldplug
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Jul 16, 2005 1:58 pm    Post subject: Frage zu Coldplug Reply with quote

Mit dem neuen Coldplug wird hotplug aus dem runlevel verbannt. Nur Coldplug wird beim booten gestartet.

Frage:
Wieso wird nach einem Start des Linux Systems - mit angeschlossener Digicam - das Device nicht erkannt. Erst nach manuellen aus- und wieder anstecken wird die Digicam erkannt.

Muss hotplug zusätzlich im runlevel boot o. default sein?
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Sat Jul 16, 2005 3:12 pm    Post subject: Reply with quote

Quote:
coldplug boot
hotplug default

cheers.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Jul 16, 2005 3:21 pm    Post subject: Reply with quote

Quote:

Zitat:
coldplug boot
hotplug default

cheers.

eine etwas kurze Antwort. Von wem ist den das Zitat oder sollte es ein Code werden?

Hier ein Auszug von Gentoo Linux Documentation:
Quote:

If you want modules loaded for devices that have been plugged in before you boot, use the coldplug package

das trifft ja auch mich zu, aber coldplug startet z.B. meine Digicam nicht. Muss manuell ab- und wieder angesteckt werden. Dann greift auch schon hotplug:

Quote:

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.


Verstehe ich das jetzt falsch - ich würde sagen hotplug gehört aus allen runlevel, korrekt?
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Sat Jul 16, 2005 3:28 pm    Post subject: Reply with quote

Mh ich glaube das stand im UDEV Guide drin, also ich habe damit keine Probleme wenn ich die so in die RCs setze.

cheers.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Jul 16, 2005 4:13 pm    Post subject: Reply with quote

Quote:

Mh ich glaube das stand im UDEV Guide drin, also ich habe damit keine Probleme wenn ich die so in die RCs setze.

Kannst du mal den Link für das HowTo posten? Würde gern mal drüber lessen.

Probleme sollten nicht auftreten wenn du hotplug in runlevel hast, aber es ist (wohl) nicht nötigt.
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3482
Location: Berlin

PostPosted: Sat Jul 16, 2005 4:40 pm    Post subject: Reply with quote

http://www.athemis.de/content/linux/udev_primer_de.html

Da steht hotplug add boot

http://www.gentoo.de/doc/de/udev-guide.xml

Da steht, das hotplug optional ist.

Ich habe hotplug und coldplug im boot runlevel.
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Jul 16, 2005 4:44 pm    Post subject: Reply with quote

Quote:

http://www.athemis.de/content/linux/udev_primer_de.html

Da steht hotplug add boot

ja, aber auf coldplug wird garnicht eingegangen :(

Quote:

http://www.gentoo.de/doc/de/udev-guide.xml

Da steht, das hotplug optional ist.

Ich habe hotplug und coldplug im boot runlevel.

Genau. Coldplug sollte die device starten, die schon am BUS hängen und hotplug die, die hinzugefügt werden (im laufenden Betrieb). Dazu muss hotplug nicht in den runlevel. So habe ich das verstanden.
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3482
Location: Berlin

PostPosted: Sat Jul 16, 2005 5:02 pm    Post subject: Reply with quote

Wenn Du beide beim booten startest, was ist daran falsch. Coldplug soll per boot. Hotplug ist egal. Ich habe beide ab boot, da es anfangs kain coldplug gab. Da war hotplug ab boot. Später kam coldplug dazu. Also habe ich es dazugenommen und gut.
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Jul 16, 2005 5:16 pm    Post subject: Reply with quote

Quote:

Wenn Du beide beim booten startest, was ist daran falsch. Coldplug soll per boot. Hotplug ist egal. Ich habe beide ab boot, da es anfangs kain coldplug gab. Da war hotplug ab boot. Später kam coldplug dazu. Also habe ich es dazugenommen und gut.

Meine Frage bezog sich nur auf Coldplug. Wahrscheinlich ein coldplug problem.

Bez. Hotplug:
Code:

# cat /etc/init.d/hotplug
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/files/hotplug.rc.empty,v 1.3 2005/01/27 18:29:26 wolf31o2 Exp $

#
# nothing here anymore. Please use the coldplug package if you really want to
# load modules for devices that are discovered by your kernel before init runs.
#
# However, please realize that if you have any problems, the developers
# recommend just using the modules.autoload functionality to handle this in a
# much simpler manner.
#
# Comments, flames, and fine beer should be directed at gregkh@gentoo.org
#

depend() {
        need modules
}

start () {
        # just verify that people build their kernel with hotplug support.
        if [ ! -f /proc/sys/kernel/hotplug ] ; then
                eerror "CONFIG_HOTPLUG not enabled for this kernel!"
                return 1
        fi
        # This unpacks any firmware tarballs.  Used for LiveCD.
        if [ -e /lib/firmware.tar.bz2 ]
        then
                ebegin "Unpacking hotplug firmware"
                tar xjf /lib/firmware.tar.bz2 -C /lib/firmware
                eend 0
        fi
}


Wie du siehst gibt es für hotplug keine Verwendung als boot / default Skript. Kannst es getrost entfernen :)
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
theche
Guru
Guru


Joined: 26 Feb 2004
Posts: 512

PostPosted: Sat Jul 16, 2005 11:08 pm    Post subject: Reply with quote

Ich hab hotplug in garkeinem Level. Geht aber trotzdem.
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Jul 16, 2005 11:41 pm    Post subject: Reply with quote

Quote:

Ich hab hotplug in garkeinem Level. Geht aber trotzdem.

aber coldplug

EDIT:
Ich würde diesen Thread gern beenden:
Code:

# nothing here anymore. Please use the coldplug package if you really want to
# load modules for devices that are discovered by your kernel before init runs.



Gruß
Benjamin
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
misterjack
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1655

PostPosted: Sun Jul 17, 2005 12:40 am    Post subject: Reply with quote

ein blick ins gentoo wiki hätte das auch beantwortet: Klick mich
_________________
„Meine Meinung steht fest! Bitte verwirren Sie mich nicht mit Tatsachen.“
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum