Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[einit] 0.16.0 -- how'd i let 230 commits slip by like that?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 9, 10, 11  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Thu Mar 22, 2007 6:20 pm    Post subject: Reply with quote

rmh3093 wrote:
mdeininger wrote:
and the list seems to get longer as it is... disabling a whole branch at once seems a nice option :)
have you looked at how many video_cards there are :wink: i will look into making things work like the xorg ebuild after class is over today

yeah, and i always wanted a simple "-all +nvidia" ;)

although, if you get it working like these input_devices and video_cards variables, that'd be just great ;)
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Thu Mar 22, 2007 6:56 pm    Post subject: Reply with quote

mdeininger wrote:
rmh3093 wrote:
mdeininger wrote:
and the list seems to get longer as it is... disabling a whole branch at once seems a nice option :)
have you looked at how many video_cards there are :wink: i will look into making things work like the xorg ebuild after class is over today

yeah, and i always wanted a simple "-all +nvidia" ;)

although, if you get it working like these input_devices and video_cards variables, that'd be just great ;)


the xorg ebuild only builds what you tell it to unless you dont specify anything so if you add VIDEO_CARDS="nvidia" you only get nvidia-drivers there is no need for -all.... I dont know how that isnt what you want
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Thu Mar 22, 2007 7:03 pm    Post subject: Reply with quote

rmh3093 wrote:
the xorg ebuild only builds what you tell it to unless you dont specify anything so if you add VIDEO_CARDS="nvidia" you only get nvidia-drivers there is no need for -all.... I dont know how that isnt what you want

hmmm kay, that's true :)
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Fri Mar 23, 2007 1:53 am    Post subject: Reply with quote

Magnus, I committed revision 969 which contains ebuild einit-9999-r13 which contains a base ebuild with working USE_EXPAND use flags.... for an initial test I created EINIT_INTMOD_ and EINIT_EXTMOD to contain the internal and external modules. For some reason this dosent work 100% with overlays so if this is the way you decide you want to go then the additional files i added in <overlaydir>/profiles will have to be modified in the official portage tree... Anyway what will be required for uses in the mean time is this:
Code:
oldprofile=`readlink /etc/make.profile`; rm -rf /etc/make.profile
; ln -s /usr/portage/local/layman/einit/profiles/einit /etc/make.profile; echo $oldprofile > /usr/portage/local/layman/einit/profiles/einit/parent


EDIT: fyi, the new ebuild is package.masked because it dosent do anything useful yet
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Fri Mar 23, 2007 2:01 pm    Post subject: Reply with quote

this seems a bit intrusive... + i think the way it was now, it would've masked the default USE_EXPAND variables...

i played a bit with it today, (and moved the -r13 ebuild off the main overlay... package.mask seems unintuitive with svn packages, especially since the sabayon overlay has us package.mask-ed), and i noticed that one might also put the USE_EXPAND="" in /etc/make.conf, maybe we could work something out that way?

btw, if setting the variable alone will set the whole thing to "", how do we make sure a good set of defaults is active unless overriden?
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
ericxx2005
Apprentice
Apprentice


Joined: 05 Apr 2005
Posts: 231
Location: 10 square miles surrounded by reality

PostPosted: Fri Mar 23, 2007 3:46 pm    Post subject: Reply with quote

Anyone have an example of getting ipw3945d and 915resolution services to start?


here's the revelant part of my local.xml:

Code:

 <services>
<!-- both of the following would define a net-eth1 module, one using dhcp, the other with a static address from above -->
<!--  <virtual>
   <module>
    <shell id="shell-net-eth1-dhcp"
     based-on-template="template-shell-net-dhcp"
     interface="eth1" />
    <shell id="shell-net-eth1-static"
     based-on-template="template-shell-net-static"
     interface="eth1" />
    <shell id="shell-net-eth2-wpasupplicant"
     based-on-template="template-shell-net-wpasupplicant"
     interface="eth2" />
   </module>
  </virtual> -->

  <prefer>
   <xdm s="daemon-gdm" />
   <syslog s="daemon-syslog-ng" />
   <kern-alsa s="shell-kern-audio-alsa" />
   <ipw3945d s="daemon-ipw3945d" />
   <!-- <915resolution s="daemon-915resolution" /> -->
  </prefer>

  <alias>
<!-- service groups -->
   <network group="net-lo" seq="most" />
   <video group="kern-nvidia" seq="any-iop" />
   <audio group="alsa:kern-sound" seq="most" />
   <avahi group="avahi-dnsconfd" seq="any-iop" />
   <samba group="smbd:nmbd" seq="all" />
   <printing group="hpiod:hplip:cupsd" seq="any-iop" />
  </alias>

<!-- example alias: localmount is the same as mount/local -->
<!--  <alias id="localmount" s="mount/local" /> -->

<!-- example override: on regular systems, einit-tty will only need mount/system, but if you'd like
     to use quingy and have the terminals controlled using einit-tty, then you will need mount/critical
     if /usr is on its own partition (due to libquingy) -->
<!--  <override>
   <module id="einit-tty" requires="mount/critical" />
  </override> -->

<!-- example override, probably useful for lvm users:
     this should make einit mount mount/system-nodes, i.e. /dev, /sys and /proc
     before trying to mount the root-filesystem -->
<!--  <override>
   <module id="einit-mount-root" requires="mount/system" />
   <module id="einit-mount-system" requires="sysconf" />
  </override> -->
 </services>

 <mode id="default" base="boot">
  <enable services="audio:clock:xdm:swap:mount/remote:tts" />
  <ttys s="tty2-regular:tty3-regular:tty4-regular:tty5-regular:tty6-regular" />
 </mode>
</einit>

_________________
AMD 1090T | 2 GB | AMD 890GX | Gentoo x86_64
Core i7-920 | 6 GB | AMD 5850 | Windows 7 Pro
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Fri Mar 23, 2007 7:58 pm    Post subject: Reply with quote

I fixed the new ebuild everyone so now if you run 'emerge -pv einit' you should see:
Quote:
[ebuild R ] sys-apps/einit-9999-r13 USE="-doc -static" EINIT_CORE="bootstrap-configuration-stree bootstrap-configuration-xml-expat linux-mount linux-process linux-sysconf log module-logic-v3 module-so" EINIT_MODULES="compatibility-sysv-initctl compatibility-sysv-utmp exec external feedback-aural feedback-visual-textual hostname ipc ipc-configuration ipc-core-helpers module-daemon module-exec module-transformations mount parse-sh process scheduler shadow-exec tty" 0 kB


until this ebuild gets added to portage and the EINIT_CORE and EINIT_MODULES use_expand variables get added to default profile or until the portage-dev start to recognize per-overlay variables you will be required to (at the very minimum) add the following to your 'make.conf' file:
/etc/make.conf:
USE_EXPAND="EINIT_MODULES EINIT_CORE"


also until we figure out some good default use settings, add the following:

For portage users
/etc/make.conf:
EINIT_CORE="module-so module-logic-v3 bootstrap-configuration-xml-expat bootstrap-configuration-stree log linux-sysconf linux-mount linux-process"
EINIT_MODULES="feedback-visual-textual feedback-aural hostname external exec ipc module-exec module-daemon mount tty process parse-sh ipc-configuration shadow-exec module-transformations ipc-core-helpers scheduler compatibility-sysv-utmp compatibility-sysv-initctl"


For paludis users
/etc/paludis/use.conf:
 * EINIT_CORE: -*  module-so module-logic-v3 bootstrap-configuration-xml-expat bootstrap-configuration-stree log
 * EINIT_MODULES: -*  feedback-visual-textual feedback-aural fqdn external exec ipc module-exec module-daemon mount tty process parse-sh ipc-configuration shadow-exec module-transformations ipc-core-helpers scheduler compatibility-sysv-utmp compatibility-sysv-initctl linux-sysconf linux-mount linux-process network feedback-visual-fbsplash


...feel free to remove modules that you dont want

NOTE: EINIT_CORE will eventually become HIDDEN_USE_EXPAND
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.


Last edited by rmh3093 on Fri Apr 27, 2007 9:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Fri Mar 23, 2007 10:56 pm    Post subject: Reply with quote

great job, Ryan! seems to work like a charm :)

I'll see if i can get the ebuild to just drop to the default (or rather "old") behaviour of getting as much compiled as possible if there's no USE_EXPAND="EINIT_CORE EINIT_MODULES" defined (or if the individual EINIT_* variables...) ;)

EDIT: modified the ebuild to do just that... hey, it's working, too ;)
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
ericxx2005
Apprentice
Apprentice


Joined: 05 Apr 2005
Posts: 231
Location: 10 square miles surrounded by reality

PostPosted: Sun Mar 25, 2007 5:39 pm    Post subject: Reply with quote

I think my problems (listed above) are from not having the kernel modules loaded at boot. Where in local.xml do I put the list of modules I want to load?
_________________
AMD 1090T | 2 GB | AMD 890GX | Gentoo x86_64
Core i7-920 | 6 GB | AMD 5850 | Windows 7 Pro
Back to top
View user's profile Send private message
jvale
n00b
n00b


Joined: 23 Jan 2006
Posts: 74
Location: Porto, Portugal

PostPosted: Sun Mar 25, 2007 7:40 pm    Post subject: Reply with quote

I found this in /etc/einit/local.xml.example the last time I updated eINIT:

Code:

  <prefer>
   [...]

<!-- use /etc/modules.autoload.d/kernel-2.6 to autoload modules: -->
   <kern-arbitrary s="shell-kern-module-autoload.d" />

   [...]
  </prefer>


Just add the modules to /etc/modules.autoload.d/kernel-2.6 and they'll be loaded. ^^
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Sun Mar 25, 2007 8:48 pm    Post subject: Reply with quote

ericxx2005 wrote:
I think my problems (listed above) are from not having the kernel modules loaded at boot. Where in local.xml do I put the list of modules I want to load?

yep, what ryan suggested would work with the current svn version, alternatively there's some sections elements under <modules> where you can put modules to load. just make sure to enable the appropriate kern-<section>. i.e. if you added something to the <arbitrary s="" /> element, you also need to add kern-arbitrary to the list of services :D
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
ericxx2005
Apprentice
Apprentice


Joined: 05 Apr 2005
Posts: 231
Location: 10 square miles surrounded by reality

PostPosted: Sun Mar 25, 2007 10:35 pm    Post subject: Reply with quote

Thank you! It loads the modules just fine. Doesn't seem to fix my problem with ipw3945d or 915resolution though, as ipw3945d fails with no error message and 915resolution says it's started but is not, neither is xdm (gdm).
_________________
AMD 1090T | 2 GB | AMD 890GX | Gentoo x86_64
Core i7-920 | 6 GB | AMD 5850 | Windows 7 Pro
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sun Mar 25, 2007 11:02 pm    Post subject: Reply with quote

ericxx2005 wrote:
Thank you! It loads the modules just fine. Doesn't seem to fix my problem with ipw3945d or 915resolution though, as ipw3945d fails with no error message and 915resolution says it's started but is not, neither is xdm (gdm).
ipw3945 is on my list to get working again... but i was hoping to switch to iwlwifi instead so I have been holding off as long as possible
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
ericxx2005
Apprentice
Apprentice


Joined: 05 Apr 2005
Posts: 231
Location: 10 square miles surrounded by reality

PostPosted: Sun Mar 25, 2007 11:12 pm    Post subject: Reply with quote

rmh3093 wrote:
ericxx2005 wrote:
Thank you! It loads the modules just fine. Doesn't seem to fix my problem with ipw3945d or 915resolution though, as ipw3945d fails with no error message and 915resolution says it's started but is not, neither is xdm (gdm).
ipw3945 is on my list to get working again... but i was hoping to switch to iwlwifi instead so I have been holding off as long as possible


Is iwlwifi the sucessor to ipw3945?
_________________
AMD 1090T | 2 GB | AMD 890GX | Gentoo x86_64
Core i7-920 | 6 GB | AMD 5850 | Windows 7 Pro
Back to top
View user's profile Send private message
jvale
n00b
n00b


Joined: 23 Jan 2006
Posts: 74
Location: Porto, Portugal

PostPosted: Sun Mar 25, 2007 11:33 pm    Post subject: Reply with quote

ericxx2005 wrote:
Is iwlwifi the sucessor to ipw3945?


From what I've read, yes: http://intellinuxwireless.org/?p=iwlwifi
Back to top
View user's profile Send private message
ericxx2005
Apprentice
Apprentice


Joined: 05 Apr 2005
Posts: 231
Location: 10 square miles surrounded by reality

PostPosted: Mon Mar 26, 2007 12:28 am    Post subject: Reply with quote

jvale wrote:
ericxx2005 wrote:
Is iwlwifi the sucessor to ipw3945?


From what I've read, yes: http://intellinuxwireless.org/?p=iwlwifi


Sounds promising. What about 915resolution and xdm though?
_________________
AMD 1090T | 2 GB | AMD 890GX | Gentoo x86_64
Core i7-920 | 6 GB | AMD 5850 | Windows 7 Pro
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Mon Mar 26, 2007 10:15 am    Post subject: Reply with quote

i wish i could help with the 915resolution module, but i don't have any hardware to test that on :/

did you put its service in your video group? (local.xml, somewhere near the end)
the default is
Code:

 <video group="kern-nvidia" seq="any-iop" />


and for that intel card you'd modify it to be
Code:

 <video group="video-intel-resolution" seq="any-iop" />

_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Mon Mar 26, 2007 12:56 pm    Post subject: Reply with quote

A suggestion: update the paludis overlay installation wiki instructions for the einit overlay like so:

einit.conf code:
Code:
# Paludis einit repository configuration file

location = /var/paludis/repositories/einit
sync = svn+http://einit.svn.sourceforge.net/svnroot/einit/trunk/distro/gentoo/portdir_overlay
format = ebuild
master_repository = gentoo
names_cache = ${location}/.cache/names
write_cache = /var/cache/paludis/metadata

(eclassdirs and profiles are inherited from the master repo, and the format name has changed to ebuild)

add overlay installation code (1st-time sync of overlay):
Code:
paludis -s x-einit
Back to top
View user's profile Send private message
ericxx2005
Apprentice
Apprentice


Joined: 05 Apr 2005
Posts: 231
Location: 10 square miles surrounded by reality

PostPosted: Tue Mar 27, 2007 1:19 am    Post subject: Reply with quote

Both changing nvidia to intel resolution and upgrading einit to svn did work. ipw3945d still doesn't, i guess I'll have to wait until iwlwifi if ready. I'll stick with sysv for now. Einit is mad fast though.
_________________
AMD 1090T | 2 GB | AMD 890GX | Gentoo x86_64
Core i7-920 | 6 GB | AMD 5850 | Windows 7 Pro
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Mar 27, 2007 2:52 am    Post subject: Reply with quote

[quote="ericxx2005"][quote="jvale"]
ericxx2005 wrote:
What about 915resolution
update your bios
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
ericxx2005
Apprentice
Apprentice


Joined: 05 Apr 2005
Posts: 231
Location: 10 square miles surrounded by reality

PostPosted: Tue Mar 27, 2007 3:15 am    Post subject: Reply with quote

[quote="rmh3093"][quote="ericxx2005"]
jvale wrote:
ericxx2005 wrote:
What about 915resolution
update your bios


I don't believe that's possible from within linux and it's on a laptop, so no floppy.
_________________
AMD 1090T | 2 GB | AMD 890GX | Gentoo x86_64
Core i7-920 | 6 GB | AMD 5850 | Windows 7 Pro
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Mar 27, 2007 10:29 am    Post subject: Reply with quote

ericxx2005 wrote:
rmh3093 wrote:
ericxx2005 wrote:
What about 915resolution
update your bios


I don't believe that's possible from within linux and it's on a laptop, so no floppy.

heh, i can relate to that problem :-/

well, i managed to get my bios updated by creating a dvd-ram with freedos and the original tools, which worked but was a pita -- sorry i can't help with that module because i don't have access to a computer with an intel graphics card :)
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Tue Mar 27, 2007 11:03 am    Post subject: Reply with quote

0.20.0 is out, so here's the new thread:
https://forums.gentoo.org/viewtopic-t-549596.html
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 9, 10, 11
Page 11 of 11

 
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