Re: [gentoo-user] Suspend to swap on a diskless host
On Wednesday 23 May 2007, Dan Farrell wrote: I know this is a long shot, and not many people run diskless hosts. I have one with kind of a loud fan that uses a lot of energy - it's a pentium 4 in a slimline case and it runs pretty hot, so I can't adjust the fan speed based on temperature, because it seems like turning the fan off at 70+ degrees C is a bad idea. Instead, I'd like to be able to suspend to ram or swap so that the fans can stop spinning and the cpu can cool down -- all in one fell swoop! -- but I've had troubles doing so. While working on that, I was thinking I might have better luck if the kernel was allowed to restart itself. I would like to set up swsuspend on the machine, but I'm a little unclear as to how I would do so. I know swapon doesn't work on regular files, so to add my swap I need to first use losetup to set up /dev/loop0 as my swap device. Then swapon /dev/loop0 works. but how can I enable swap on loop0 before the initscripts boot (right now I have it done in local.start). Don't I need to be able to mount the swap as swap right away to resume from it? Or will it be enought to specify the location? If not, is there some way to specify loop settings at boot time, on the kernel command line? Your entire post seems half-assed, and I think you need to think it through carefully: 1. What are you *actually* trying to do? Seems like the fan is loud, so a) replace the fan with a different one that has propellers/bearing that don't make a friggin' noise, or b) clean the thing 2. It's *diskless* machine. The whole point of swap is to entend virtual memory to include space on disk. If you don't have a physical spinning disk platter, what are you going to swap to? tmpfs? 3. Who told you you can't swapon to a regular file? 'man swapon' says otherwise 4. It's a p4 cpu you have. Cpu throttling is what reduces cpu temperatures in that case, and cpufreqd accomplishes that nicely 5. How *exactly* are you going to resume from a loop device? AFAIK the kernel will unmount such mounts before suspending (but this topic is in a state of flux as per many recent conversations on lkml) I think you really need emerge cpufreqd and configure your kernel with the necessary governors etc alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [solved] Re: [gentoo-user] Xinerama on 945GM: Set VBE mode failed
Am Mittwoch, 23. Mai 2007 18:08 schrieb Allan Gottlieb: Have you tried booting (with the device plugged in) into single user mode, then trying to convince the system to use the built in screen as the default device (fn-f7 on my machine), and finally exiting the single user shell to go multiuser? (One could also hit fn-f7 while the system has the grub screen displayed and then go straight to multiuser.) Thanks for the suggestion. On my machine this key doesn't do anything unless I use Windows. On http://gentoo-wiki.com/HARDWARE_Lenovo_3000_V100 it says: The monitor switching button emits a scancode but is not tied to a keycode. Obviously under Windows the screen is switched by software. Gian -- [EMAIL PROTECTED] mailing list
[gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?
Are these any options in the kernel and in the gcc to optimize for Intel's Core 2 Duo chips? When I set up my gentoo box for the Pentium Processor Extreme Edition (dual core prescott), I just used -march=prescott in make.conf Which -march flag would be the most relevant gcc optimization for Intel Core 2 Duo? And is there explicit support in the latest gentoo kernel for Core 2 Duo, or does it go under Pentium 4 family? Thanks -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?
On 5/24/07, Denis [EMAIL PROTECTED] wrote: Are these any options in the kernel and in the gcc to optimize for Intel's Core 2 Duo chips? When I set up my gentoo box for the Pentium Processor Extreme Edition (dual core prescott), I just used -march=prescott in make.conf Which -march flag would be the most relevant gcc optimization for Intel Core 2 Duo? And is there explicit support in the latest gentoo kernel for Core 2 Duo, or does it go under Pentium 4 family? Google is your friend: http://www.google.com/search?q=core+2+duo+cflags http://gentoo-wiki.com/Safe_Cflags#Intel_Core_2_Duo.2FQuad_.2F_Xeon_51xx.2F53xx -- Ryan W Sims -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?
On 5/24/07, Denis [EMAIL PROTECTED] wrote: Are these any options in the kernel and in the gcc to optimize for Intel's Core 2 Duo chips? When I set up my gentoo box for the Pentium Processor Extreme Edition (dual core prescott), I just used -march=prescott in make.conf Which -march flag would be the most relevant gcc optimization for Intel Core 2 Duo? And is there explicit support in the latest gentoo kernel for Core 2 Duo, or does it go under Pentium 4 family? Thanks -- [EMAIL PROTECTED] mailing list A gentoo forum thread[1] states to use -march=nocona for Core 2 Duo, and -march=prescott for Core Solo/Duo. [1] http://forums.gentoo.org/viewtopic-p-3602555.html -- - Mark Shields
Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?
After reading some docs, the impression I get is that the 'nocona' flag is for building a 64-bit system... For a 32-bit system, it seems like 'prescott' would be the choice, wouldn't it? This from the GCC website about 4.2.0 release changes: IA-32/x86-64 * -mtune=generic can now be used to generate code running well on common x86 chips. This includes AMD Athlon, AMD Opteron, Intel Pentium-M, Intel Pentium 4 and Intel Core 2. * -mtune=native and -march=native will produce code optimized for the host architecture as detected using the cpuid instruction. * Added a new command line option -fstackrealign and and __attribute__ ((force_align_arg_pointer)) to realign the stack at runtime. This allows functions compiled with a vector-aligned stack to be invoked from legacy objects that keep only word-alignment. We don't have gcc-4.2.0 in our portage available for installation yet, do we? Anyone know when? -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: which -march flag to pick for Intel Core 2 Duo in make.conf?
Denis [EMAIL PROTECTED] wrote: Are these any options in the kernel and in the gcc to optimize for Intel's Core 2 Duo chips? In the kernel: Yes. At least in 2.6.21. And is there explicit support in the latest gentoo kernel for Core 2 Duo, or does it go under Pentium 4 family? I'd say, it goes under Core2 - MCORE2. Alexander Skwar -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?
On Thu, 24 May 2007 11:13:30 -0400, Denis wrote: After reading some docs, the impression I get is that the 'nocona' flag is for building a 64-bit system... For a 32-bit system, it seems like 'prescott' would be the choice, wouldn't it? Yes. We don't have gcc-4.2.0 in our portage available for installation yet, do we? Anyone know when? When the devs consider it suitable for at least the testing branch or when you do echo =sys-devel/gcc-4.2* /etc/portage/package.mask, whichever comes sooner. Bear in mind that GCC is almost certainly masked for good reason. It's not like you're using a binary distro and only need a compiler for a few packages. Feel free to try it in the knowledge that if it breaks your system, you get to keep the pieces. -- Neil Bothwick Sects, sects, sects, is that all you monks think about? signature.asc Description: PGP signature
Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?
Neil Bothwick [EMAIL PROTECTED] writes: When the devs consider it suitable for at least the testing branch or when you do echo =sys-devel/gcc-4.2* /etc/portage/package.mask, whichever comes sooner. Even that will not work (yet) as gcc-4.2 is not actually masked it is not keyworded. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] which -march flag to pick for Intel Core 2 Duo in make.conf?
On 5/24/07, Neil Bothwick [EMAIL PROTECTED] wrote: Bear in mind that GCC is almost certainly masked for good reason. It's not like you're using a binary distro and only need a compiler for a few packages. Feel free to try it in the knowledge that if it breaks your system, you get to keep the pieces. Ain't it the truth! No, I wasn't asking with the anxiety to hurry things up - I was asking more about an estimated release time, whether it will be a month, 2 months, 3 months, etc. I'm not really looking to experiment with the cutting-edge releases right now. My aim is to build a fast, stable system for my computations, which ultimately brought me to another major decision: 32-bit or 64-bit... I run simulations which I write in C and numerical computations which I run in Mathematica (which has just released the 64-bit version). Would a 64-bit system significantly benefit these applications? -- [EMAIL PROTECTED] mailing list
[gentoo-user] OT - Disabling hidden file view in GNOME dialog boxes
Whenever I try to Open/Save in GNOME, it pulls up a dialog box that lists hidden files as well as visible files. Those hidden files are hidden for a reason, the reason being that I did not consciously create them, so I should not have to wade through them in order to get to my files. How can I disable them being displayed? I don't see them by default in nautilus - just dialog boxes. Here's my info: camille ~ # emerge -pv gnome These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] gnome-base/gnome-2.16.2 USE=cdr cups dvdr hal -accessibility -ldap 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Please help! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT - Disabling hidden file view in GNOME dialog boxes
On Thu, 24 May 2007 12:22:46 -0500, Michael Sullivan wrote: Whenever I try to Open/Save in GNOME, it pulls up a dialog box that lists hidden files as well as visible files. Those hidden files are hidden for a reason, the reason being that I did not consciously create them, so I should not have to wade through them in order to get to my files. How can I disable them being displayed? I don't see them by default in nautilus - just dialog boxes. Do you mean the GTK file requester. Right-click on the file list and deselect the option to show hidden files. -- Neil Bothwick If you smoke after sex, you're doing it too fast. signature.asc Description: PGP signature
[gentoo-user] Error starting kde with kernels above 2.6.18
hi folks ! My gentoo desktop needed to be reinstaled this week, and i did it :) well, all compiled, without a single error, kernel 2.6.20-r8 installed, ok. when i start my kde, it hangs, showing only the X window with mouse cursor, when i return to the terminal, i got some messages refering to the kded, saying, it cannot contact DCop Server or connect to the X server. I downgraded the kernel version until reach the 2.6.18.-r2 version(wich was the last version used on the machine until the reinstall), and everything worked fine again ! this is weird ! what could be happening whith kde3.5.5and the kernels above 2.6.18-r2 ?? -- __ Atenciosamente, Thiago Lüttig MSN: [EMAIL PROTECTED] ICQ: 194392373 __
Re: [gentoo-user] Error starting kde with kernels above 2.6.18
On Donnerstag, 24. Mai 2007, Thiago Lüttig wrote: hi folks ! My gentoo desktop needed to be reinstaled this week, and i did it :) well, all compiled, without a single error, kernel 2.6.20-r8 installed, ok. when i start my kde, it hangs, showing only the X window with mouse cursor, when i return to the terminal, i got some messages refering to the kded, saying, it cannot contact DCop Server or connect to the X server. I downgraded the kernel version until reach the 2.6.18.-r2 version(wich was the last version used on the machine until the reinstall), and everything worked fine again ! this is weird ! what could be happening whith kde3.5.5and the kernels above 2.6.18-r2 ?? forgot to enable sockets? or something like that? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Error starting kde with kernels above 2.6.18
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Thiago, Thiago Lüttig wrote: saying, it cannot contact DCop Server or connect to the X server. I Could you please post the messages the console printed? Have you tried to startx as another user? As root? Could you please attach /var/log/Xorg.0.log and some info on your hardware? - -- Fabio A. Correa D. Physics Dept, Universidad Nacional, Bogota, Colombia [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] My webpage and OpenPGP key at http://facorread.150m.com [EMAIL PROTECTED] is not working anymore!!! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGVf9lYOZCB4zf2uQRAtSVAJ4l51391wWOjfQA868+ZOoJR4athQCgw8E0 ENgvyDGO+KbR9xK72PIvc2E= =/q0L -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Suspend to swap on a diskless host
On Wed, 23 May 2007 22:05:14 +0200 Hans-Werner Hilse [EMAIL PROTECTED] wrote: Hi, On Wed, 23 May 2007 11:59:23 -0500 Dan Farrell [EMAIL PROTECTED] wrote: I know swapon doesn't work on regular files, so to add my swap I need to first use losetup to set up /dev/loop0 as my swap device. Then swapon /dev/loop0 works. but how can I enable swap on loop0 before the initscripts boot (right now I have it done in local.start). Don't I need to be able to mount the swap as swap right away to resume from it? Or will it be enought to specify the location? If not, is there some way to specify loop settings at boot time, on the kernel command line? Check out userspace suspend (http://suspend.sf.net/). It's not in portage, but will do what you want since you can resume from an initrd. In the initrd, you can open a network connection, mount all that stuff (you never told where that looped file is located, so I guess it's on r/w NFS) and then resume. It's not implemented at the moment, I think, but should be easy to add (remote suspending is mentioned as an easy possibility). -hwh Interesting and helpful, thanks. -- [EMAIL PROTECTED] mailing list
[gentoo-user] sharing portage directories when dual booting x86 and amd64
I have a core 2 duo (dell 6400), which is currently running x86. I am thinking of setting up another partition and dual booting amd64. My question concerns sharing some directories between the two (naturally only one is active at a time). In particular can I share * distfiles (DISTDIR) * logs (PORT_LOGDIR) * tmp (PORTAGE_TMPDIR) Thanks, allan -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Suspend to swap on a diskless host
On Wed, 23 May 2007 20:56:30 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: Well, for what it's worth, Your entire post seems half-assed, and I think you need to think it through carefully: 1. What are you *actually* trying to do? Seems like the fan is loud, so a) replace the fan with a different one that has propellers/bearing that don't make a friggin' noise, or b) clean the thing Yeah, I could buy a nicer fan. I don't want to bother with it though. The fan is clean and well lubricated. The heatsink is low-profile and it requires a lot of airflow -- the fan has to spin fast and it's not going to be silent when it's running, the case is too small and it's a hot-running processor. 2. It's *diskless* machine. The whole point of swap is to entend virtual memory to include space on disk. If you don't have a physical spinning disk platter, what are you going to swap to? tmpfs? NFS. The whole point of swap for me is for efficient use of existing memory. a few megs of swap go a long way keeping the system responsive when the ram gets well loaded. 3. Who told you you can't swapon to a regular file? 'man swapon' says otherwise I can do so on the nfs server. The fact that it's on NFS interferes, I guess. The diskless says: | swapon: swapfile has holes 4. It's a p4 cpu you have. Cpu throttling is what reduces cpu temperatures in that case, and cpufreqd accomplishes that nicely 5. How *exactly* are you going to resume from a loop device? AFAIK the kernel will unmount such mounts before suspending (but this topic is in a state of flux as per many recent conversations on lkml) I recently was given a laptop with a work battery, and it doesn't unmount anything when I suspend it to swap. Hans-Werner Hilse explains in his response how one might resume from a remote disk. I think you really need emerge cpufreqd and configure your kernel with the necessary governors etc I have, but unless cpufreqd disagrees with cpufreq-info as far as hardware limits: | slim / # cpufreq-info | grep limits | hardware limits: 2.10 GHz - 2.40 GHz i don't think it's going to do any good. between 2.1 and 2.4 ghz, there's virtually no noticable difference (in performance _or_ temp). I just want to suspend it when it isn't doing anything so it doesn't make any sound but only takes a few seconds to start up. So that's kind of what I was thinking. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
On 5/24/07, Allan Gottlieb [EMAIL PROTECTED] wrote: I have a core 2 duo (dell 6400), which is currently running x86. I am thinking of setting up another partition and dual booting amd64. My question concerns sharing some directories between the two (naturally only one is active at a time). In particular can I share * distfiles (DISTDIR) * logs (PORT_LOGDIR) * tmp (PORTAGE_TMPDIR) Thanks, allan -- [EMAIL PROTECTED] mailing list You can probably share all of them, but just realize the distfiles for x86 won't be usable for amd64 and vice-versa (unless you're going to use an x86 distfile on the amd64 because there isn't an amd64 version available). But let me ask you this: are you really that strapped for space to have to share these directories? -- - Mark Shields
Re: [gentoo-user] two identical /etc/sudoers -- only one works
On Wed, May 23, 2007 at 06:14:53PM -0700, maxim wexler wrote Hi group, I connect to the web using $sudo /usr/sbin/pon isp on one machine(2.6.20-gentoo-r6). On another machine(2.6.19-gentoo-r5), I get :sudo: can't open /etc/sudoers: Permission denied. Is picky a member of both users and wheel? Does picky's machine run PAM? PAM has additional config files to control access. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 Q. Mr. Ghandi, what do you think of Microsoft security? A. I think it would be a good idea. -- [EMAIL PROTECTED] mailing list
[gentoo-user] VFS: Cannot open root device - kernel panic
This is the first time ever that I ended up with an unbootable kernel after a new install, and I have no idea where to start. This is a fresh install of Gentoo 2007.0 minimal CD stage 3, using the x86 quick install guide. Here's the error I get at boot while the kernel is loading its device drivers: VFS: Cannot open root device sda3 or unknown-block(0,0) Please append a correct root= boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I am using grub, with conf file just like in the install guide (I happened to use the same file system set-up): title=Gentoo root (hd0,0) kernel /boot/kernel root=/dev/sda3 I have a SATA drive in my system, which seems to get loaded fine by the kernel, at least from what I can tell - there seem to be no error messages to that effect. I suppose I could do a genkernel, but I'd like to be able to tell where I went wrong with my config... Where do I start looking for this? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
On Freitag, 25. Mai 2007, Denis wrote: This is the first time ever that I ended up with an unbootable kernel after a new install, and I have no idea where to start. This is a fresh install of Gentoo 2007.0 minimal CD stage 3, using the x86 quick install guide. Here's the error I get at boot while the kernel is loading its device drivers: VFS: Cannot open root device sda3 or unknown-block(0,0) Please append a correct root= boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I am using grub, with conf file just like in the install guide (I happened to use the same file system set-up): title=Gentoo root (hd0,0) kernel /boot/kernel root=/dev/sda3 I have a SATA drive in my system, which seems to get loaded fine by the kernel, at least from what I can tell - there seem to be no error messages to that effect. I suppose I could do a genkernel, but I'd like to be able to tell where I went wrong with my config... Where do I start looking for this? like copying the relevant parts of dmesg for us to see? maybe it is a missing sata-driver, missing scsi-disk support? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
On Thu, 24 May 2007 17:51:09 -0400, Mark Shields wrote: You can probably share all of them, but just realize the distfiles for x86 won't be usable for amd64 and vice-versa (unless you're going to use an x86 distfile on the amd64 because there isn't an amd64 version available). Of course they will, because they contains source code. Of course, sometimes there will be different versions of a package marked stable in x86 and amd64, and some patch files are arch-specific, but generally most packages use the same source files whatever the architecture. I use a shared $DISTDIR for x86, ~x86, ~amd64 and ~ppc systems. -- Neil Bothwick Do hungry crows have ravenous appetites? signature.asc Description: PGP signature
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
like copying the relevant parts of dmesg for us to see? maybe it is a missing sata-driver, missing scsi-disk support? I wanted to attach a dmesg output but I don't know how where I can extract it. It's a fresh install, and the only way I can boot right now is with the Gentoo CD... The file systems are in place, but I have to chroot again from the CD in order to reconfigure and recompile the kernel. One strange thing - when I go to do make menuconfig, it says Warning - clock skew detected. Your build may be incomplete. That's out of the Gentoo CD environment. Is this harmless or something to worry about? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
Allan Gottlieb wrote: I have a core 2 duo (dell 6400), which is currently running x86. I am thinking of setting up another partition and dual booting amd64. I assume you've checked whether it is 64-bit compatible. Not all Core 2 Duo's in 6400's are. I have a T2400 processor in my 6400 which is not em64t enabled. Not that I mind - plenty quick enough in 32-bit mode. cat /proc/cpuinfo look for em64t in flags to make sure. My question concerns sharing some directories between the two (naturally only one is active at a time). In particular can I share * distfiles (DISTDIR) definitely - it's source code after all. Not sure about the others - logs is an output so should be safe, tmp may have some portage state stuff in it but I know nothing... W. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
What make and model motherboard? Did you set the clock with date? Did you cp your zone information? -- Powered by Gentoo/Linux -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
I have an Intel D975XBX2 motherboard with an Intel Core 2 Duo E6600 processor. One Seagate SATA drive. An IDE CD-RW. Pretty much all the controllers on the board are Intel. I did re-set the clock, after which the make stopped complaining. One concern I have - when I configure the kernel, I fail to see where libata option is for the SATA driver... I scoured the whole menuconfig a few times but for some reason get the feeling like there are some options missing or something. I just recently set up a Gentoo box on another machine, and kernel config gave me no problems whatsoever, unlike now. That time I did it, I remember seeing the libata option in the kernel, and now I don't see it... I think it's the same kernel version 2.6.20-r8 that I installed on my other box. Maybe I'm just going nuts (which I am). -- [EMAIL PROTECTED] mailing list
[gentoo-user] Problem with keyboard in XFCE and Fluxbox
Hi all! I have a problem with symbol 'vertical-line' (now i'm in fluxbox session,and cannot insert it :)) In gnome or plain console (tty1..6) all works fine, keyboard works without any problem, but in XFCE and Fluxbox i have a problem.. in quake3 keys a,w,s,d not working... vertical line not inserting (just \ or /). xorg.conf Section Module Loaddbe # Double buffer extension SubSection extmod Optionomit xfree86-dga # don't initialise the DGA extension EndSubSection Loadfreetype Load glx Load dri EndSection Section Files FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/100dpi/ FontPath /usr/share/fonts/75dpi/ InputDevices /dev/input/mice InputDevices /dev/gpmctl EndSection Section ServerFlags #Option NoTrapSignals EndSection Section InputDevice Identifier Keyboard1 Driver kbd Option AutoRepeat 500 30 Option XkbRules xorg Option XkbModel pc104 Option XkbLayout ru(winkeys),us Option XkbOptions grp:ctrl_shift_toggle,ctrl:ctrl_aa,grp_led:scroll,caps:capslock,altwin:menu EndSection Section InputDevice Identifier Synaptics Driver synaptics Option Protocol auto-dev # Auto detect Option Device /dev/input/mice Option LeftEdge 1700 Option RightEdge 5300 Option BottomEdge 4200 Option FingerLow 25 Option FingerHigh 30 Option MaxTapTime 180 Option MaxTapMove 220 Option VertScrollDelta100 Option MinSpeed 0.09 Option MaxSpeed 0.18 Option AccelFactor0.0015 Option SHMConfig true EndSection Section InputDevice Identifier MousePS2 Driver mouse Option Protocol explorerps/2 Option Device /dev/input/mice Option ZAxisMapping 4 5 Option Buttons 5 EndSection Section Monitor Identifier LCD Monitor HorizSync 31.5 - 150 VertRefresh 50-230 EndSection Section Device Identifier Standard VGA VendorName Unknown BoardName Unknown Driver vga EndSection Section Device Identifier ATI X1250 Driver fglrx VideoRam65536 EndSection Section Screen Identifier Screen 1 Device ATI X1250 Monitor LCD Monitor DefaultDepth 24 Subsection Display Depth 24 Modes 1280x800 ViewPort0 0 EndSubsection EndSection Section ServerLayout Identifier Simple Layout Screen Screen 1 Option AIGLX false InputDevice Synaptics CorePointer InputDevice Keyboard1 CoreKeyboard EndSection Section DRI Group 0 Mode 0666 EndSection Section Extensions Option Composite False EndSection === emerge --info = [EMAIL PROTECTED] ~ $ emerge --info Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo i686) = System uname: 2.6.21-gentoo i686 AMD Turion(tm) 64 X2 Mobile Technology TL-50 Gentoo Base System release 1.12.10 Timestamp of tree: Thu, 24 May 2007 21:30:02 + distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-java/java-config: 1.3.7, 2.0.31-r7 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox:1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS=x86 ~x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O3 -march=k8 -pipe -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo CXXFLAGS=-O3 -march=k8 -pipe -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse DISTDIR=/usr/portage/distfiles FEATURES=ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict GENTOO_MIRRORS=ftp://city.mirror.ekb-lug.ru/pub/gentoo http://ftp.citkit.ru/pub/Linux/gentoo ftp://ftp.citkit.ru/pub/Linux/gentoo LANG=ru_RU.UTF-8 LC_ALL= LINGUAS=ru MAKEOPTS=-j6 PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-* PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=3dnow 3dnow2 3dnowext X aac aalib acl acpi alsa automount berkdb bitmap-fonts cairo cdr
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
On 5/24/07, Denis [EMAIL PROTECTED] wrote: I have an Intel D975XBX2 motherboard with an Intel Core 2 Duo E6600 processor. One Seagate SATA drive. An IDE CD-RW. Pretty much all the controllers on the board are Intel. I did re-set the clock, after which the make stopped complaining. One concern I have - when I configure the kernel, I fail to see where libata option is for the SATA driver... I scoured the whole menuconfig a few times but for some reason get the feeling like there are some options missing or something. I just recently set up a Gentoo box on another machine, and kernel config gave me no problems whatsoever, unlike now. That time I did it, I remember seeing the libata option in the kernel, and now I don't see it... I think it's the same kernel version 2.6.20-r8 that I installed on my other box. Maybe I'm just going nuts (which I am). -- In newer kernels the SATA options have been moved. Enter make menuconfig and type / SATA It will show you the SATA options and tell you how they are configured. It will also give hints as to where to find these options. Good luck, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
On Freitag, 25. Mai 2007, Denis wrote: I have an Intel D975XBX2 motherboard with an Intel Core 2 Duo E6600 processor. One Seagate SATA drive. An IDE CD-RW. Pretty much all the controllers on the board are Intel. I did re-set the clock, after which the make stopped complaining. One concern I have - when I configure the kernel, I fail to see where libata option is for the SATA driver... I scoured the whole menuconfig a few times but for some reason get the feeling like there are some options missing or something. I just recently set up a Gentoo box on another machine, and kernel config gave me no problems whatsoever, unlike now. That time I did it, I remember seeing the libata option in the kernel, and now I don't see it... I think it's the same kernel version 2.6.20-r8 that I installed on my other box. Maybe I'm just going nuts (which I am). Device Drivers: Serial ATA (prod) and Parallel ATA (experimental) drivers --- one below scsi, two below ide. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
Device Drivers: Serial ATA (prod) and Parallel ATA (experimental) drivers --- one below scsi, two below ide. Yes, I combed through that and set all the necessary options there before, so I doubt this is the problem... I've just reconfigured the kernel and recompiled it on another fresh install... When the kernel compile finished, it said Root device is (8, 3). What does that actually mean? Does it mean that I should be telling grub that root is (hd8, 3) instead of (hd0, 0)? Or not? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
On 5/24/07, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 24 May 2007 17:51:09 -0400, Mark Shields wrote: You can probably share all of them, but just realize the distfiles for x86 won't be usable for amd64 and vice-versa (unless you're going to use an x86 distfile on the amd64 because there isn't an amd64 version available). Of course they will, because they contains source code. Of course, sometimes there will be different versions of a package marked stable in x86 and amd64, and some patch files are arch-specific, but generally most packages use the same source files whatever the architecture. I use a shared $DISTDIR for x86, ~x86, ~amd64 and ~ppc systems. -- Neil Bothwick Do hungry crows have ravenous appetites? Yeah, you're right. Now that I re-read it, I realized I was thinking, for some odd reason, that he was talking about the kernel. -- - Mark Shields
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
SOLVED. I was able to configure and compile the kernel and configure a working Gentoo system that gives me no errors at boot :-) I am not sure what went wrong the first time. I selected the same basic driver support within the kernel as the first time, except I didn't bother with some of the other bells and whistles I first had in there. Perhaps now that I have a working system, I can play with the kernel and see what works, since I can always fall back onto a working kernel and still have a running system. I'm glad this is solved because I was getting really annoyed at myself here... Thanks to everyone who chimed in! -Denis -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] two identical /etc/sudoers -- only one works
Is picky a member of both users and wheel? Yes Does picky's machine run PAM? PAM has additional config files to control Yes, and /etc/pam.d/sudo is identical on both machines Also permissions under /usr/bin/sudo are identical on both machines: ---s--x--x. As are all other bin and sbin permissions(generally): 755. Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
Denis wrote: SOLVED. I was able to configure and compile the kernel and configure a working Gentoo system that gives me no errors at boot :-) I am not sure what went wrong the first time. I selected the same basic driver support within the kernel as the first time, except I didn't bother with some of the other bells and whistles I first had in there. Perhaps now that I have a working system, I can play with the kernel and see what works, since I can always fall back onto a working kernel and still have a running system. I'm glad this is solved because I was getting really annoyed at myself here... Thanks to everyone who chimed in! -Denis I have ran into things like this before, I usually run make mrproper from within the kernel directory to make sure there is no old cruft laying around in there. After that, on a kernel upgrade of course, I copy the .config over and run make oldconfig. Of course, on a new install, start from scratch. :/ There are a LOT of people that know more about this than me but this has worked for me so far. Someone may have even better ideas to add. Dale :-) :-) :-) -- www.myspace.com/-remove-me-dalek1967 Copy n paste then remove the -remove-me- part. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
Denis wrote: I have ran into things like this before, I usually run make mrproper from within the kernel directory to make sure there is no old cruft laying around in there. In my case, it was a fresh install, which made it quite a bit more painful to fix because I had to go through the procedures twice and did not have a working kernel to fall back on. It's the scenario I've always dreaded, and then one day it actually happens. When I re-did the install, I erased the partition table and started anew, so there was no old cruft to begin with. I'm not sure if this contributed to anything, but I enabled all the relevant RAID support the second time around. Since I only have one SATA drive, I simply turned off RAID support initially in the kernel, but it's possible that this particular combination of hardware was expecting a RAID driver... I'm so clueless sometimes trying to figure out some of these kernel options... haha. The really technical ones where it's like a foreign language. I love the if unsure, say N here. or if you don't know what this is, you probably don't need it - say N here. ;-) Well, when you download the kernel sources, there can be old cruft in there. It does seem to start out with some basic options and I was told once a long time ago to run mrproper to be sure to get it all out. It fixed the problem I was having then and I have done it ever since. Funny thing is, I wonder if that would have helped. Most likely not but something to remember next time. I just checked and I have a newer kernel on here. I may compile the new version and boot it next time. I'm on almost 45 days of uptime so don't hold your breath on me rebooting. LOL Glad you got it running though. Dale :-) :-) :-) -- www.myspace.com/-remove-me-dalek1967 Copy n paste then remove the -remove-me- part. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VFS: Cannot open root device - kernel panic
I have ran into things like this before, I usually run make mrproper from within the kernel directory to make sure there is no old cruft laying around in there. In my case, it was a fresh install, which made it quite a bit more painful to fix because I had to go through the procedures twice and did not have a working kernel to fall back on. It's the scenario I've always dreaded, and then one day it actually happens. When I re-did the install, I erased the partition table and started anew, so there was no old cruft to begin with. I'm not sure if this contributed to anything, but I enabled all the relevant RAID support the second time around. Since I only have one SATA drive, I simply turned off RAID support initially in the kernel, but it's possible that this particular combination of hardware was expecting a RAID driver... I'm so clueless sometimes trying to figure out some of these kernel options... haha. The really technical ones where it's like a foreign language. I love the if unsure, say N here. or if you don't know what this is, you probably don't need it - say N here. ;-) -- [EMAIL PROTECTED] mailing list
[gentoo-user] Problem configuring ppp forpppoe
Hi. I am having difficulty configuring ppp to use pppoe. A kernel module pppoe and pppox are loaded, but I get the following error from pppd: /usr/sbin/pppd unknown option eth2 Now eth2 is what I have in the link_ppp0 line in the /etc/conf.d/net Any assistance would be appreciated. Here is the /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). dns_domain_lo=covici.com dns_servers_lo= 127.0.0.1 4.2.2.1 64.83.1.10 postup() { if [ ${IFACE} = lo ]; then einfo setting host name again domainname covici.com hostname ccs.covici.com fi if [ ${IFACE} = eth1 ]; then killall ddclient ddclient -file /etc/ddclient.conf -ip 67.62.15.196 pid_length=`pidof asterisk|awk '{print length($0)}'` if [ $pid_length == 0 -a $pid_length != ]; then echo ADDING WCFXO modprobe wcfxo /sbin/modprobe wcfxs echo STARTING ASTERISK /usr/sbin/amportal start else asterisk -rx reload fi /etc/init.d/sendmail stop /etc/init.d/apache2 stop /usr/sbin/apache2 -k stop -f /etc/apache2-asterisk/apache2.conf /etc/init.d/rc.firewall stop echo starting firewall ifconfig eth2 up /etc/init.d/rc.firewall start /etc/init.d/ntpd stop /etc/init.d/ntpd start /etc/init.d/sendmail start /etc/init.d/apache2 start /usr/sbin/apache2 -k start -f /etc/apache2-asterisk/apache2.conf fi } config_eth0=(192.168.0.1 netmask 255.255.255.0 brd 192.168.0.255) config_eth1=(67.62.15.196 netmask 255.255.255.0 ) routes_eth1=(default gw 67.62.15.1) config_ppp0=(ppp) link_ppp0=eth2 plugins_ppp0=(pppoe) username_ppp0='vzeqmmst' pppd_ppp0=( updetach noauth ipcp-accept-remote ipcp-accept-local holdoff 3 lcp-echo-interval 15 lcp-echo-failure 3 ) Here is emerge --info [1m[37mcfg-update-1.8.0-r6[0m[0m: Building checksum index...canceled! 1 config file update found, please run cfg-update -u Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686) = System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 4000+ Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 17 May 2007 01:30:01 + dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS=x86 ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol ANT_HOME=/usr/share/ant-core ARCH=x86 AUTOCLEAN=yes BASH_ENV=/root/.bashrc CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -mtune=athlon-xp -pipe CHOST=i686-pc-linux-gnu CLASSPATH=. CLEAN_DELAY=5 CONFIG_PROTECT=/etc /usr/share/X11/xkb /var/bind CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c CVS_RSH=ssh CXXFLAGS=-O2 -mtune=athlon-xp -pipe DISTDIR=/usr/portage/distfiles EDITOR=/usr/bin/emacs ELIBC=glibc EMERGE_DEFAULT_OPTS=--ask --color=n --verbose EMERGE_WARNING_DELAY=10 FEATURES=distlocks metadata-transfer sandbox sfperms strict FETCHCOMMAND=/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI} GCC_SPECS= GDK_USE_XFT=1 GENERATION=2 GENTOO_MIRRORS=ftp://mirror.iawnet.sandia.gov/pub/gentoo http://distfiles.gentoo.org; G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=UTF-8 HOME=/root HUSHLOGIN=FALSE INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info:/usr/share/info/emacs-21 INPUT_DEVICES=keyboard mouse evdev JAVAC=/etc/java-config-2/current-system-vm/bin/javac JAVA_HOME=/etc/java-config-2/current-system-vm JDK_HOME=/etc/java-config-2/current-system-vm KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LESS=-R -M --shift 5 LESSOPEN=|lesspipe.sh %s LOGNAME=root
Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
Will Briggs wrote: Allan Gottlieb wrote: I have a core 2 duo (dell 6400), which is currently running x86. I am thinking of setting up another partition and dual booting amd64. Not all Core 2 Duo's in 6400's are. I have a T2400 processor in my 6400 which is not em64t enabled. Not that I mind - plenty quick enough in 32-bit mode. That's not entirely true: _All_ Core 2 Duo processors have the 64bit instruction sets. Your T2400 is not a Core 2 Duo, it's a Core Duo. (http://en.wikipedia.org/wiki/Core_2) Roman pgpkpafSFO1nL.pgp Description: PGP signature