Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?
� Guerrero wrote: On Tue, 11 Sep 2007 03:36:13 +0200 Volker Armin Hemmann <[EMAIL PROTECTED]> wrote: On Dienstag, 11. September 2007, Roy Wright wrote: Howdy, Well, I had to local mask =x11-base/xorg-server-1.4-r1 =x11-base/xorg-server-1.4 =x11-base/xorg-x11-7.3 today to keep portage from blocking. My guess is that eventually a new version of nvidia-drivers will be available and a new revision of xorg-server will arrive that will support it (no longer block all versions of nvidia-drivers). Until that time will probably just keep masking xorg-server and hope I remember to unmask xorg-x11 at that time. This seems inelegant. So I'm hoping someone has a better approach. The really inelegant solution would be not to have the blocker. Most people would just update without looking even at the emerge -puDvN world output, and them complain on a huge and useless thread on the forums, because something broke :P If you have the blocker, you can't screw up the thing. Blockers are the only solution for incompatible packages, and the new xorg version is incompatible with all the nvidia-drivers version. In fact, no future version of xorg will fix this, since it is completely nvidia-side. So, I would change your snipped above by this one: =x11-base/xorg-server-1.4-r1 =x11-base/xorg-server-1.4 =x11-base/xorg-x11-7.3 Note, the '>=' in front of the packages, those are not quotations starting with '>', but '>=', because any new version will have the same problem (since as I said, the problem is in the drivers, that are just outdated). If you have to incompatible packages, you need to decide what your priority is, period. There is no way around that, until nvidia decides to release a new version that is compatible with the new abi. remove the blocker? the current nvidia-drivers work fine, if you add -ignoreAbi to your X-start script (like kdm conf). So the nvidia people say. Though I can confirm that in my installation it doesn't work. It just lockups (and yes, I am sure that X composite was off, because I always have it off). The lockup is probably caused by having the hal use flag set when you compile xorg-server. If you disable it you should be able to run the X server without conflicting with hal/dbus which was the problem. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?
On Tue, 11 Sep 2007 03:36:13 +0200 Volker Armin Hemmann <[EMAIL PROTECTED]> wrote: > On Dienstag, 11. September 2007, Roy Wright wrote: > > Howdy, > > > > Well, I had to local mask > > > > =x11-base/xorg-server-1.4-r1 > > =x11-base/xorg-server-1.4 > > =x11-base/xorg-x11-7.3 > > > > today to keep portage from blocking. My guess > > is that eventually a new version of nvidia-drivers > > will be available and a new revision of xorg-server > > will arrive that will support it (no longer block all > > versions of nvidia-drivers). > > > > Until that time will probably just keep masking > > xorg-server and hope I remember to unmask > > xorg-x11 at that time. > > > > This seems inelegant. So I'm hoping someone > > has a better approach. The really inelegant solution would be not to have the blocker. Most people would just update without looking even at the emerge -puDvN world output, and them complain on a huge and useless thread on the forums, because something broke :P If you have the blocker, you can't screw up the thing. Blockers are the only solution for incompatible packages, and the new xorg version is incompatible with all the nvidia-drivers version. In fact, no future version of xorg will fix this, since it is completely nvidia-side. So, I would change your snipped above by this one: >=x11-base/xorg-server-1.4-r1 >=x11-base/xorg-server-1.4 >=x11-base/xorg-x11-7.3 Note, the '>=' in front of the packages, those are not quotations starting with '>', but '>=', because any new version will have the same problem (since as I said, the problem is in the drivers, that are just outdated). If you have to incompatible packages, you need to decide what your priority is, period. There is no way around that, until nvidia decides to release a new version that is compatible with the new abi. > remove the blocker? the current nvidia-drivers work fine, if you > add -ignoreAbi to your X-start script (like kdm conf). So the nvidia people say. Though I can confirm that in my installation it doesn't work. It just lockups (and yes, I am sure that X composite was off, because I always have it off). -- Jesús Guerrero <[EMAIL PROTECTED]> -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Boot situation
Hi, I'm still struggling with this situation Alan McKinnon wrote: > On Sunday 09 September 2007, Colleen Beamer wrote: > Google found this: > > http://www.goodells.net/dellrestore/mediadirect.htm > > So it's a mini-OS type of thing to play media. It hides itself and does > other weird stuff so I'm not surprised it went ballistic on your > partition table... > > I'd advise you to go into the BIOS setup screen at the next boot and see > if there's a way to switch it off or disable it I tried this, but couldn't find a way to switch it off. > You might have an incorrect kernel config, with the filesystem or disk > drivers not compiled in anymore. Could you post the output of lspci, > plus your config? Use 'zcat /proc/config > /path/to/some/file' and > attach it so we are sure we have the right one I don't know what you are talking about here. First, I can't boot from the hard drive, so where do you want me to do lspci? From the chroot'd environment? I did it and it looks okay, but I suppose I could compare it to what I get when I've booted from the install CD I don't know how to post any file since the problem is on my laptop where I don't have e-mail and I'm writing on my old desktop. I have no means of getting the file to the old computer. > > What version and USE flags are you using for grub? I'm using the latest stable version of grub. > > MediaDirect *might* have done weird things to your BIOS setup, it's > worth a try to make a note of all current settings, then reset > everything to default and try once more. Long shot, but I've seen > stranger things... I've checked all the BIOS settings and they all look fine. I didn't see anything related to Media Direct in there. > >> Anyway, let me know what else you need (besides maybe contents of >> fstab and grub.conf >> >> Although the fstab and grub.conf are exactly what they were before >> hitting that damned "Media Direct" button. > > If they are the same then there's no real need to go further down that > route. For the record, your boot stanza will have minimally something > like this: I'm going to post my grub.conf file, just to be sure. I have a SATA drive on the laptop and I use genkernel. default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (2.6.22-gentoo-r5) root=(hd0,0) kernel /kernel-genkernel-x86-2.6.22-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev initrd /initramfs-genkernel-x86-2.6.22-gentoo-r5 Note: The line starting with kernel and ending with udev is all on one line, but wordwrap is on so it displays on 2 lined I am getting really frustrated here, 'cause my partitions all mount properly and I can edit files on them. When I try booting to the hard drive, it says "grub loading", or something to that affect, but then it won't boot properly. Anyway, I've been at this all night, so I'm giving up till tomorrow after work. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?
Volker Armin Hemmann wrote: > remove the blocker? the current nvidia-drivers work fine, if you > add -ignoreAbi to your X-start script (like kdm conf). > The problem is that any nvidia-driver is the blocker to xorg-server-1.4-r1. royw-gentoo portage # emerge -uDNpv world These are the packages that would be merged, in order: Calculating world dependencies... done! [ebuild N] x11-libs/pixman-0.9.5 USE="-debug" 0 kB [ebuild U ] x11-base/xorg-server-1.4-r1 [1.3.0.0] USE="dri hal%* ipv6 nptl sdl xorg xprint -3dfx -debug -dmx -kdrive -minimal" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="nv vesa vmware -amd% -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion% -vga -via -voodoo -xgi% (-fglrx%) (-nvidia%*)" 0 kB [ebuild U ] x11-drivers/xf86-input-keyboard-1.2.2 [1.1.1-r1] USE="-debug" 0 kB [ebuild U ] x11-base/xorg-x11-7.3 [7.2] 0 kB [blocks B ] x11-drivers/nvidia-drivers (is blocking x11-base/xorg-server-1.4-r1) Total: 4 packages (3 upgrades, 1 new, 1 block), Size of downloads: 0 kB Looking in the xorg-server-1.4-r1.ebuild: IUSE_VIDEO_CARDS=" [snip] # video_cards_fglrx # video_cards_nvidia" [snip] PDEPEND=" xorg? ( [snip] !x11-drivers/nvidia-drivers !x11-drivers/ati-drivers )" # video_cards_nvidia? ( x11-drivers/nvidia-drivers ) # video_cards_fglrx? ( >=x11-drivers/ati-drivers-8.37.6 ) I recall reading that the xserver team changed their release policy to not hold up releases for proprietary drivers (same as the kernel team). So this is as expected. I was just hoping someone would have a more elegant management solution for handling the new situation. Thank you, Roy -- [EMAIL PROTECTED] mailing list
[gentoo-user] [OT] suggestion for recombining audio with video
Hi all, recently I've been doing some better recordings (proper mic into sound system) along with my video camera. This means that I have two sources - one attached to the video, and one separate audio stream. It's not practical for me to plug the sound system into the video camera (although that would be ideal) because I move around too much, and a cable would be ... not practical :) And there are some "room noises" that the video camera picks up that a directional mic doesn't. anyway... I've just started using audacity to edit the "nice" audio, and add some simple effects, and I want to recombine that with the video, so that I have the nice audio + video. So I would require a program to do the following 1. line up video and audio from separate files 2. adjust the position of the audio frame by frame, so that I can get as-perfect-as-possible lip sync! 3. video and audio not necessarily the same length 4. mpeg or dvd compatible output 5. mix two (or more?) audio sources into one audio+video file, with some simple crossfade 6. Open software would be ideal (linux of course!), followed by closed-but-minimal-cost, followed by closed-costly-but-so-excellent-I-have-to-have-it! If there is a choice, I would prefer that the video is left as unaltered as possible by this program, to avoid going through too many conversions. I don't need any fancy editing or effects, I have other programs to do that! Any suggestions? I have been looking on google, but there are so many bad shareware programs that my results get flooded with rubbish! TIA, -- Iain Buchanan "Can you program?" "Well, I'm literate, if that's what you mean!" -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?
On Dienstag, 11. September 2007, Roy Wright wrote: > Howdy, > > Well, I had to local mask > > =x11-base/xorg-server-1.4-r1 > =x11-base/xorg-server-1.4 > =x11-base/xorg-x11-7.3 > > today to keep portage from blocking. My guess > is that eventually a new version of nvidia-drivers > will be available and a new revision of xorg-server > will arrive that will support it (no longer block all > versions of nvidia-drivers). > > Until that time will probably just keep masking > xorg-server and hope I remember to unmask > xorg-x11 at that time. > > This seems inelegant. So I'm hoping someone > has a better approach. > > > TIA, > Roy remove the blocker? the current nvidia-drivers work fine, if you add -ignoreAbi to your X-start script (like kdm conf). -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Corruption in reiserfs partition
On Dienstag, 11. September 2007, Jorge Peixoto de Morais Neto wrote: > > Do you think that there is any plausible chance that using the partition > > > > > might cause further damage? > > > > if there isn't a hardware problem - very probably not. I have had very > > good > > experiences with reiserfsck (for 3.6) and fsck.reiser4 (with reiser4). If > > the > > fs got fixed, it is fixed. > > If the disk is damaged, than reinstalling from scratch won't help you > > anyway. > > I realized that the damaged files were filled with nulls, so I made a > script that detected null-filled files across my filesystem. There are > some 250 files like this. Here are some: > > /media/hda2/bin/du: 59084 > /media/hda2/bin/rm: 34100 > /media/hda2/bin/tr: 27492 > /media/hda2/bin/wc: 23108 > /media/hda2/bin/dir: 79420 > /media/hda2/bin/cut: 27048 > /media/hda2/bin/env: 13436 > /media/hda2/bin/seq: 17740 > /media/hda2/bin/tty: 12800 > /media/hda2/bin/yes: 12876 > /media/hda2/bin/expr: 23336 > /media/hda2/bin/head: 24516 > /media/hda2/bin/sort: 65168 > /media/hda2/bin/stty: 37380 > /media/hda2/bin/sync: 12584 > /media/hda2/bin/true: 12200 > /media/hda2/bin/vdir: 79420 > /media/hda2/bin/dirname: 13836 > /media/hda2/bin/rmdir: 14684 > /media/hda2/bin/sleep: 14772 > /media/hda2/bin/touch: 34328 > /media/hda2/bin/uname: 15316 > /media/hda2/bin/chroot: 13500 > /media/hda2/bin/mkfifo: 14644 > /media/hda2/bin/readlink: 18988 > /media/hda2/bin/basename: 13772 > /media/hda2/etc/enlightenment/sysactions.conf: 2964 > /media/hda2/etc/laptop-mode/laptop-mode.conf: 15916 > /media/hda2/etc/laptop-mode/lm-profiler.conf: 1561 > /media/hda2/etc/portage/package.keywords/wanted~: 796 > /media/hda2/var/lib/scrollkeeper/scrollkeeper_docs: 1812 > /media/hda2/usr/lib/aspell-0.60/nroff-filter.info: 232 > /media/hda2/usr/lib/aspell-0.60/iso-8859-1.cset: 13848 > /media/hda2/usr/lib/aspell-0.60/iso-8859-2.cset: 14133 > /media/hda2/usr/lib/aspell-0.60/cp1250.cmap: 31404 > /media/hda2/usr/lib/aspell-0.60/cp1252.cset: 14039 > /media/hda2/usr/lib/aspell-0.60/cp1253.cset: 13682 > /media/hda2/usr/lib/aspell-0.60/iso-8859-8.cmap: 27758 > /media/hda2/usr/lib/aspell-0.60/iso-8859-8.cset: 12557 > /media/hda2/usr/lib/aspell-0.60/cp1255.cmap: 35133 > /media/hda2/usr/lib/aspell-0.60/cp1256.cset: 13307 > /media/hda2/usr/lib/aspell-0.60/cp1257.cmap: 31235 > /media/hda2/usr/lib/aspell-0.60/cp1258.cset: 13920 > /media/hda2/usr/lib/aspell-0.60/context-filter.so: 26976 > /media/hda2/usr/lib/aspell-0.60/iso-8859-10.cmap: 31046 > /media/hda2/usr/lib/aspell-0.60/iso-8859-10.cset: 14259 > /media/hda2/usr/lib/aspell-0.60/texinfo-filter.info: 914 start with emerging coreutils and go on from that point. > > > Most of these things are not essential; the big exception is the things in > /bin. So it does seem that the system is fixable. > Something else that I wanted to ask: this backup that I made after the > screwup but before rebuild-tree, do you think it is reliable? not really, no. Damaged files are damaged files. Some stuff might be usable but that has to be checked on a case to case basis. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Corruption in reiserfs partition
> Do you think that there is any plausible chance that using the partition > > might cause further damage? > > if there isn't a hardware problem - very probably not. I have had very > good > experiences with reiserfsck (for 3.6) and fsck.reiser4 (with reiser4). If > the > fs got fixed, it is fixed. > If the disk is damaged, than reinstalling from scratch won't help you > anyway. I realized that the damaged files were filled with nulls, so I made a script that detected null-filled files across my filesystem. There are some 250 files like this. Here are some: /media/hda2/bin/du: 59084 /media/hda2/bin/rm: 34100 /media/hda2/bin/tr: 27492 /media/hda2/bin/wc: 23108 /media/hda2/bin/dir: 79420 /media/hda2/bin/cut: 27048 /media/hda2/bin/env: 13436 /media/hda2/bin/seq: 17740 /media/hda2/bin/tty: 12800 /media/hda2/bin/yes: 12876 /media/hda2/bin/expr: 23336 /media/hda2/bin/head: 24516 /media/hda2/bin/sort: 65168 /media/hda2/bin/stty: 37380 /media/hda2/bin/sync: 12584 /media/hda2/bin/true: 12200 /media/hda2/bin/vdir: 79420 /media/hda2/bin/dirname: 13836 /media/hda2/bin/rmdir: 14684 /media/hda2/bin/sleep: 14772 /media/hda2/bin/touch: 34328 /media/hda2/bin/uname: 15316 /media/hda2/bin/chroot: 13500 /media/hda2/bin/mkfifo: 14644 /media/hda2/bin/readlink: 18988 /media/hda2/bin/basename: 13772 /media/hda2/etc/enlightenment/sysactions.conf: 2964 /media/hda2/etc/laptop-mode/laptop-mode.conf: 15916 /media/hda2/etc/laptop-mode/lm-profiler.conf: 1561 /media/hda2/etc/portage/package.keywords/wanted~: 796 /media/hda2/var/lib/scrollkeeper/scrollkeeper_docs: 1812 /media/hda2/usr/lib/aspell-0.60/nroff-filter.info: 232 /media/hda2/usr/lib/aspell-0.60/iso-8859-1.cset: 13848 /media/hda2/usr/lib/aspell-0.60/iso-8859-2.cset: 14133 /media/hda2/usr/lib/aspell-0.60/cp1250.cmap: 31404 /media/hda2/usr/lib/aspell-0.60/cp1252.cset: 14039 /media/hda2/usr/lib/aspell-0.60/cp1253.cset: 13682 /media/hda2/usr/lib/aspell-0.60/iso-8859-8.cmap: 27758 /media/hda2/usr/lib/aspell-0.60/iso-8859-8.cset: 12557 /media/hda2/usr/lib/aspell-0.60/cp1255.cmap: 35133 /media/hda2/usr/lib/aspell-0.60/cp1256.cset: 13307 /media/hda2/usr/lib/aspell-0.60/cp1257.cmap: 31235 /media/hda2/usr/lib/aspell-0.60/cp1258.cset: 13920 /media/hda2/usr/lib/aspell-0.60/context-filter.so: 26976 /media/hda2/usr/lib/aspell-0.60/iso-8859-10.cmap: 31046 /media/hda2/usr/lib/aspell-0.60/iso-8859-10.cset: 14259 /media/hda2/usr/lib/aspell-0.60/texinfo-filter.info: 914 Most of these things are not essential; the big exception is the things in /bin. So it does seem that the system is fixable. Something else that I wanted to ask: this backup that I made after the screwup but before rebuild-tree, do you think it is reliable? -- Software is like sex: it is better when it is free.
Re: [gentoo-user] SSH won't restart
> > Complete Side Note: > > Does anyone know where to issue a bug report to try to have this > > behavior changed. The correct (and more widely) seen behavior of > > http://bugzilla.gentoo.org I guess. Now, I know why I have never tried to submit a bug report before :) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
The current init script will not try to restart the daemon if everything does not exit cleanly. We already know that the main process won't exit cleanly since it was manually killed. Unless you are comfortable editing the init script I would suggest: 1) Type: ps auxww |grep /usr/sbin/sshd |grep -v grep This will give you the process id of the current sshd daemon. Write it down for later use. 2) On the following page, do steps 1 and 2 (I know this article is specifically related to upgrading sshd on redhat, but these steps are the same for gentoo): http://www.hackinglinuxexposed.com/articles/20020319.html This will give you a temporary sshd server, so that we can kill off all of your old sshd process, while still giving you access to the machine. It will also make sure that there are not any configuration problems with your current sshd_config file that are preventing the daemon from starting. If this copy of sshd daemon won't start then we know the problem is a configuration error or that the binary somehow became corrupted. 3) Kill off the current sshd process from step 1 kill -TERM sshd_pid -- or -- kill -KILL sshd_pid 4) Type: /etc/init.d/sshd zap DO NOT USE the stop or restart commands - they will kill off your temporary ssh server from step 2 5) Type: /etc/init.d/sshd start 6) Try connecting to your server as you normally would. If everything is working, then your can kill off the ssh daemon running on the alternate port. If it still doesn't start then its off two round three problem solving... -Good Luck, Stephen On 9/10/07, Grant <[EMAIL PROTECTED]> wrote: > > For Grant: > > I reread the init script for sshd, and I know see what was most likely > > the problem. The init script, now, tries to kill all instances with > > the process name of sshd, not just the daemon (as specified by the pid > > file). This is why you were locked out when trying to restart the > > daemon. If you can restart the machine, everything should be working > > fine after a reboot. This behavior differs from every other distro of > > linux that I have used, and with previous versions of the init script. > > Sorry I missed that before emailing the list last time. > > That's alright, I really appreciate your attention. One thing though. > Your init script discovery doesn't explain why sshd wouldn't restart > (stop actually) when I was logged in does it? Given that, do you > still think restarting is the way to go? I'm just trying to make sure > I don't restart and still not have access. That would be bad because > there is a crucial daemon running now that won't come up > automatically. > > Please tell me what you think. > > - Grant > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
[gentoo-user] How do you handle new Xorg + nvidia + ~x86?
Howdy, Well, I had to local mask =x11-base/xorg-server-1.4-r1 =x11-base/xorg-server-1.4 =x11-base/xorg-x11-7.3 today to keep portage from blocking. My guess is that eventually a new version of nvidia-drivers will be available and a new revision of xorg-server will arrive that will support it (no longer block all versions of nvidia-drivers). Until that time will probably just keep masking xorg-server and hope I remember to unmask xorg-x11 at that time. This seems inelegant. So I'm hoping someone has a better approach. TIA, Roy -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
At Mon, 10 Sep 2007 20:05:26 +0200 Daniel Pielmeier <[EMAIL PROTECTED]> wrote: > I have tested xrandr but it is useless for me! I tried various things > but neither of them seem to have any effect on my secondary screen. Since you are describing a TV out it might be your tertiary screen. When I type xrandr with no arguments I get Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920 VGA connected 1600x1200+0+0 (normal left inverted right) 0mm x 0mm 1920x1440 60.0 1600x1200 60.0* 1280x960 60.0 LVDS connected (normal left inverted right) 1680x1050 60.0 + 1024x768 60.0 800x60060.3 640x48059.9 TV disconnected (normal left inverted right) VGA is what I would call the "secondary" (for me it is an external monitor, I believe it is always the monitor attached via the VGA or DVI output, LVDS is the screen on the laptop. Presumably TV is the signal to drive a TV (I never used mine). If you type xrandr --output TV --off does it stop driving the TV? That is what the manual suggests will happen. If not than it seems the nvidia driver isn't supporting randr 1.2. Perhaps that was what was meant by "wont fix", nvidia bug. allan -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
> For Grant: > I reread the init script for sshd, and I know see what was most likely > the problem. The init script, now, tries to kill all instances with > the process name of sshd, not just the daemon (as specified by the pid > file). This is why you were locked out when trying to restart the > daemon. If you can restart the machine, everything should be working > fine after a reboot. This behavior differs from every other distro of > linux that I have used, and with previous versions of the init script. > Sorry I missed that before emailing the list last time. That's alright, I really appreciate your attention. One thing though. Your init script discovery doesn't explain why sshd wouldn't restart (stop actually) when I was logged in does it? Given that, do you still think restarting is the way to go? I'm just trying to make sure I don't restart and still not have access. That would be bad because there is a crucial daemon running now that won't come up automatically. Please tell me what you think. - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Stephen Wittig wrote: > I also agree that having a secondary way of accessing the box, that is > secure, is an important factor when updating a remote server (whether > that be another encrypted connection or people you can contact locally > in the data center). Other people had already suggested starting a > copy of the server manually on the a different port. Oh, I was just pointing out the fact that if I upgrade sshd, then I try to access the box using a non-sshd method, just for the sake of redundancy. Even netcat would work, or webmin, or whatever that is NOT what you are upgrading. > Complete Side Note: > Does anyone know where to issue a bug report to try to have this > behavior changed. The correct (and more widely) seen behavior of http://bugzilla.gentoo.org I guess. - -- Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica Servicios Ofrecidos: http://www.buanzo.com.ar/pro/ Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5dOtAlpOsGhXcE0RCshrAJ9Kk7FMN3SkotC+QRmwRGNshz+8RgCfX+Ag ilHwN7i2G6yQGoh4eJj3Zt4= =ZRn6 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
Yes, accessing the machine via telnet over an encrypted VPN connection is a safe way to access the box, but given the setup that Grant was describing it did not sound like he had a encrypted VPN setup to telnet over. I also agree that having a secondary way of accessing the box, that is secure, is an important factor when updating a remote server (whether that be another encrypted connection or people you can contact locally in the data center). Other people had already suggested starting a copy of the server manually on the a different port. For Grant: I reread the init script for sshd, and I know see what was most likely the problem. The init script, now, tries to kill all instances with the process name of sshd, not just the daemon (as specified by the pid file). This is why you were locked out when trying to restart the daemon. If you can restart the machine, everything should be working fine after a reboot. This behavior differs from every other distro of linux that I have used, and with previous versions of the init script. Sorry I missed that before emailing the list last time. Complete Side Note: Does anyone know where to issue a bug report to try to have this behavior changed. The correct (and more widely) seen behavior of restart for sshd should be something similar to: start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile "${SSHD_PIDFILE}" On 9/10/07, Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Stephen Wittig wrote: > > Killing the ssh daemon does not effect any of the existing > > connections. The ssh daemon is used to listen for new connections and > > create a process to handle communications with that request. That is > > why when you update configuration parameters for sshd, they do not > > take effect until the next connection. > > In an ideal world, yes. But humans tend to make mistakes. Grant is now > locked-out of his system > because of messing around with conditional execution, kill and sshd all in > the same command. > > > The problem with connecting to the server via telnet is that your > > password can be easily intercepted - which is one of the major reasons > > telnet has been depreciated. > > I use it over openvpn ;) > > COme on, 13 years of using Linux, I should've learned a couple of tricks > already :P > > - -- > Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica > Servicios Ofrecidos: http://www.buanzo.com.ar/pro/ > Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion. > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFG5ZixAlpOsGhXcE0RCiyMAJwNTQKn52VKaHS+/uwGkOYQSuqB+gCfcMSn > fhr6kAdDLTDVAF63dLxFgv0= > =GMM7 > -END PGP SIGNATURE- > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Mouse Paste
· Korthrun <[EMAIL PROTECTED]>: > This did work before I changed everything from the basic xmouse > config. I'd change everything back to the normal config and then gradually at stuff, until it breaks again. This way, you'll see when it breaks and it'll be easier to help you. Alexander Skwar -- Ace: Don't you realize that with Buttercup on our side ... WE COULD CONTROL TOWNSVILLE?! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
I found a bug at archlinux [1] which is describing my problem. There are two pictures attached. I have exactly the same problem. This bug was closed as wont fix because it should be a nvidia problem. This is possible, but i don't think so as the upgrade of xorg-server package obviously caused this. [1] http://bugs.archlinux.org/task/7346 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
I think that there may be something significantly wrong with your box (or configuration of sshd). I have never had a server disconnect an active connection when killing the ssh daemon. If there is someone that you can contact in the data center I would ask them to: 1) Backup your current sshd_config file 2) Restore the default sshd_config on the box, and then try restart the daemon Are there any other applications that are not behaving correctly? -Stephen On 9/10/07, Grant <[EMAIL PROTECTED]> wrote: > > Yes. As a personal preference I don't usually chain commands together > > when trouble shooting something, but there is technically nothing > > wrong with doing so. > > And now I'm locked out. What do you think guys? > > - Grant > > > > > > This process is the ssh daemon: > > > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > > > > > > > > Two things: before killing the process with the KILL signal, I would > > > > try killing it with TERM > > > > kill -TERM 2988 > > > > > > > > If that doesn't work then kill the process with the KILL signal. > > > > > > > > I would also use: > > > > /etc/init.d/sshd restart > > > > > > > > This will give the init script a chance to do some cleanup work before > > > > restarting > > > > > > Do this: > > > > > > kill -TERM 2988 && /etc/init.d/sshd restart > > > > > > and if that doesn't work, do: > > > > > > kill -9 2988 && /etc/init.d/sshd restart > > > > > > ? > > > > > > - Grant > > > > > > > > > > > > I just upgraded ssh and when I try to restart I get: > > > > > > > > > > > > * Stopping sshd ... [ !! ] > > > > > > > > > > > > I don't see anything about it in '/var/log/sshd/current'. How can I > > > > > > figure out what is wrong? I'm a little nervous because I don't want > > > > > > to shut myself out of this remote server. > > > > > > > > > > > > > > > > > > I had a similar issue after a previous update to ssh when I went > > > > > > to restart > > > > > > it to get it to use the new binaries. One of the nice features of > > > > > > sshd is > > > > > > that your current session will say active even if you kill the sshd > > > > > > daemon > > > > > > process. Of course, if you get disconnected then you will not be > > > > > > able to > > > > > > log back in, so it's good to do what you need to quickly if you do > > > > > > need to > > > > > > kill (or if it's really stuck, kill -9) the process. When I had > > > > > > this > > > > > > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - > > > > > > just be > > > > > > sure that you're killing the /usr/sbin/sshd process and not one of > > > > > > your sshd > > > > > > login forks at the same time. > > > > > > > > > > OK, I've got to be really careful here. I see the following processes > > > > > in 'ps -ef': > > > > > > > > > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > > > > > root 7573 2988 0 07:28 ?00:00:00 sshd: [EMAIL > > > > > PROTECTED]/0 > > > > > > > > > > Should I: > > > > > > > > > > kill -9 2988 && /etc/init.d/sshd start > > > > > > > > > > Are you sure? :) > > > > > > > > > > - Grant > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] keyboard layout
On 9/10/07, Matthew R. Lee <[EMAIL PROTECTED]> wrote: > Already tried changing it to "gb" but it didn't change anything Did you try to change the driver? My xorg.conf uses this: Driver "keyboard" Just for reference, here's the relevant part of my xorg.conf: Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "gb,fr,ru,ro" Option "XkbOptions" "grp:alt_shift_toggle" Option "XkbVariant" ",,winkeys,std" EndSection Try to play with the options. Regards, Liviu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
On 9/10/07, Grant <[EMAIL PROTECTED]> wrote: > > If there's a problem with ssh, then you're pretty much stuck with > > using other remote terminal tool to fix it, else, you can simply kill > > the process, delete the PID file, then "/etc/init.d/sshd zap" and > > "/etc/init.d/sshd restart", or "start", anyway... (I guess your host > > could easily issue this commands for you). > > What about just having them reboot and start my manual daemon? Would > that accomplish the same thing? > I guess so, but while your machine reboot all services go down, can you afford this downtime? If yes, well... If no, you may try alternatives such as my suggestion above :D -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
Hi, On Mon, 10 Sep 2007 14:28:41 -0500 Dan Farrell <[EMAIL PROTECTED]> wrote: > You can always start a seperate ssh server on a different port, to test > the new server and the config files. > > Then you can get in on a different port and fix it if your upgrade of > the usual ssh server gets borked. And you can always leave one session open. Plus: It's already configured. Plus: It's pretty secure. Plus: You know exactly whether the new binary works. It's as easy as "/usr/sbin/sshd -p 2". (or whatever free port there is) -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Need help with routing
Hi, On Mon, 10 Sep 2007 20:59:03 +0200 Florian Philipp <[EMAIL PROTECTED]> wrote: > I'll attach relevant ifconfig, route and iptables -L output. Hm, OK. This: snip Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- 10.8.0.1 anywhere ACCEPT all -- anywhere 10.8.0.1 DROP all -- !10.8.0.1 anywhere snip is on what computer? On the "server" (I guess it's the router) the last line would effectively prevent routing for the client (but I don't know why ICMP works...). I would suggest starting without it and then setting up proper rules -- and then setting the chain's policy to DROP (plus some REJECT rules for proper answers). Dan's hint is also worth investigating. BTW: use route/ifconfig/netstat/iptables' "-n" switch to make analysis easier! -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
> If there's a problem with ssh, then you're pretty much stuck with > using other remote terminal tool to fix it, else, you can simply kill > the process, delete the PID file, then "/etc/init.d/sshd zap" and > "/etc/init.d/sshd restart", or "start", anyway... (I guess your host > could easily issue this commands for you). What about just having them reboot and start my manual daemon? Would that accomplish the same thing? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
Allan Gottlieb schrieb: > At Mon, 10 Sep 2007 09:24:59 +0200 Daniel Pielmeier <[EMAIL PROTECTED]> wrote: > >> Thanks for your answer, i will try if i can get it working like this >> but randr doesn't seem to work on the secondary device. I have heard >> that nvidia cards doesn't support randr 1.2 so i will give it a try >> with randr disabled in my configuration. > > I don't have nvidia so can't comment (I810) > >> One thing is that i want the two screens (where i can move between >> with the mouse) avaialable not only one. > > I would guess randr supports that since it does have offsets (--pos) > > allan It looks like i have got my hopes up to soon. Though the screen is displayed properly and even the background image fits well, now one problem appeared i did not recognize before. I use the TV only for watching movies, but when i set my media player (xineui, mplayer or vlc doesn't matter) to fullscreen mode it is set to the size of the primary monitor. What has changed here, i am thinking of downgrading the xorg-server but i don't think this will get better with version 1.4. Any advices how to get this working again! Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
If there's a problem with ssh, then you're pretty much stuck with using other remote terminal tool to fix it, else, you can simply kill the process, delete the PID file, then "/etc/init.d/sshd zap" and "/etc/init.d/sshd restart", or "start", anyway... (I guess your host could easily issue this commands for you). -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
> > My host is pretty good about issuing commands for me. Any ideas > > there? > > > > - Grant > start sshd manually to get back in. something like '/usr/bin/sshd -p 3' > (that would listen on port 3 for ssh connections) > ("absolute path is necessary for re-exec") > > I still don't know what happened; here's what I can do: > === > [EMAIL PROTECTED] ~ $ ssh [EMAIL PROTECTED] > Last login: Mon Sep 10 14:23:18 2007 from pascal.spore.ath.cx > davey ~ # ps -eaf | grep sshd > root 28869 1 0 14:23 ?00:00:00 /usr/sbin/sshd > root 29147 28869 0 14:34 ?00:00:00 sshd: [EMAIL PROTECTED]/0 > root 29173 29152 0 14:34 pts/000:00:00 grep --colour=auto sshd > davey ~ # kill -9 28869 > davey ~ # ps -eaf | grep sshd > root 29147 1 0 14:34 ?00:00:00 sshd: [EMAIL PROTECTED]/0 > root 29186 29152 0 14:35 pts/000:00:00 grep --colour=auto sshd > davey ~ # /etc/init.d/sshd restart > * Stopping > sshd ... [ !! ] > davey ~ # /etc/init.d/sshd zap > * Manually resetting sshd to stopped state. > davey ~ # /etc/init.d/sshd start > * Starting > sshd ... [ ok ] > davey ~ # exit logout > Connection to davey closed. > [EMAIL PROTECTED] ~ $ ssh [EMAIL PROTECTED] > Last login: Mon Sep 10 14:34:26 2007 from pascal.spore.ath.cx > davey ~ # exit > logout > Connection to davey closed. > [EMAIL PROTECTED] ~ $ > = > as you can see, it worked fine for me. I even make sure to use -9. > > good luck, grant Thank you but doesn't it look like there must be a problem that is preventing my sshd from starting? Won't '/usr/bin/sshd -p 3' just fail, or is that more likely to work than '/etc/init.d/sshd start'? Also, is '/usr/bin/sshd' sufficient? Why not port 22? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Need help with routing
On Mon, 10 Sep 2007 20:59:03 +0200 Florian Philipp <[EMAIL PROTECTED]> wrote: > default HOMER-KUBUNTU64 0.0.0.0 UG0 0 0 eth0 What's this? I do not know if this should be here. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] keyboard layout
On Monday 10 September 2007 15:24:06 Liviu Andronic wrote: > Hello, > > I use x11-base/xorg-server [1.1.1-r3]. In my xorg.conf, I have the > following: > > Driver "keyboard" > ..and.. > Option "XkbLayout" "gb,fr,ru,ro" > > Try to change "uk" to "gb". > > Regards, > Liviu > > On 9/10/07, Matthew R. Lee <[EMAIL PROTECTED]> wrote: > > I had a few problems with an update of Xorg over the weekend which I have > > sorted out, however I've been left with one niggle. The keyboard layout > > isn't being recognized. > > I have a laptop with a British keyboard layout > > The xorg.conf has the following: > > Section "InputDevice" > > Identifier "Keyboard0" > > Driver "kbd" > > Option "XkbLayout" "uk" > > EndSection > > > > This used to work fine, but now it's not working > > I'm using xorg-server-1.3.0.0 > > > > Any suggestions as to why it's ignoring the .conf? > > > > Matt > > -- > > %%% > > Dr. Matthew R. Lee > > CASEB & ECIM > > Departamento de Ecologia, > > P. Universidad Catolica de Chile, > > Alameda 340, Santiago. > > CP 6513677 > > CHILE > > > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > > > URL: meiochile.matthewlee.org > > %%% > > -- > > [EMAIL PROTECTED] mailing list > > -- > Liviu Already tried changing it to "gb" but it didn't change anything -- %%% Dr. Matthew R. Lee CASEB & ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
> > > Yes. As a personal preference I don't usually chain commands > > > together when trouble shooting something, but there is technically > > > nothing wrong with doing so. > > > > And now I'm locked out. What do you think guys? > > > > - Grant > > > > Is your ssh session still open? I wish. :) 100% locked out. Connection refused. - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
On Mon, 10 Sep 2007 12:23:37 -0700 Grant <[EMAIL PROTECTED]> wrote: > My host is pretty good about issuing commands for me. Any ideas > there? > > - Grant start sshd manually to get back in. something like '/usr/bin/sshd -p 3' (that would listen on port 3 for ssh connections) ("absolute path is necessary for re-exec") I still don't know what happened; here's what I can do: === [EMAIL PROTECTED] ~ $ ssh [EMAIL PROTECTED] Last login: Mon Sep 10 14:23:18 2007 from pascal.spore.ath.cx davey ~ # ps -eaf | grep sshd root 28869 1 0 14:23 ?00:00:00 /usr/sbin/sshd root 29147 28869 0 14:34 ?00:00:00 sshd: [EMAIL PROTECTED]/0 root 29173 29152 0 14:34 pts/000:00:00 grep --colour=auto sshd davey ~ # kill -9 28869 davey ~ # ps -eaf | grep sshd root 29147 1 0 14:34 ?00:00:00 sshd: [EMAIL PROTECTED]/0 root 29186 29152 0 14:35 pts/000:00:00 grep --colour=auto sshd davey ~ # /etc/init.d/sshd restart * Stopping sshd ... [ !! ] davey ~ # /etc/init.d/sshd zap * Manually resetting sshd to stopped state. davey ~ # /etc/init.d/sshd start * Starting sshd ... [ ok ] davey ~ # exit logout Connection to davey closed. [EMAIL PROTECTED] ~ $ ssh [EMAIL PROTECTED] Last login: Mon Sep 10 14:34:26 2007 from pascal.spore.ath.cx davey ~ # exit logout Connection to davey closed. [EMAIL PROTECTED] ~ $ = as you can see, it worked fine for me. I even make sure to use -9. good luck, grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
On Mon, 10 Sep 2007 13:39:35 -0500 "Stephen Wittig" <[EMAIL PROTECTED]> wrote: >> That's why I usually have a telnet server up during ssh upgrade >> times. > The problem with connecting to the server via telnet is that your > password can be easily intercepted - which is one of the major reasons > telnet has been depreciated. You can always start a seperate ssh server on a different port, to test the new server and the config files. Then you can get in on a different port and fix it if your upgrade of the usual ssh server gets borked. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
On Mon, 10 Sep 2007 12:12:13 -0700 Grant <[EMAIL PROTECTED]> wrote: > > Yes. As a personal preference I don't usually chain commands > > together when trouble shooting something, but there is technically > > nothing wrong with doing so. > > And now I'm locked out. What do you think guys? > > - Grant > Is your ssh session still open? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] keyboard layout
Hello, I use x11-base/xorg-server [1.1.1-r3]. In my xorg.conf, I have the following: Driver "keyboard" ..and.. Option "XkbLayout" "gb,fr,ru,ro" Try to change "uk" to "gb". Regards, Liviu On 9/10/07, Matthew R. Lee <[EMAIL PROTECTED]> wrote: > I had a few problems with an update of Xorg over the weekend which I have > sorted out, however I've been left with one niggle. The keyboard layout > isn't being recognized. > I have a laptop with a British keyboard layout > The xorg.conf has the following: > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "XkbLayout" "uk" > EndSection > > This used to work fine, but now it's not working > I'm using xorg-server-1.3.0.0 > > Any suggestions as to why it's ignoring the .conf? > > Matt > -- > %%% > Dr. Matthew R. Lee > CASEB & ECIM > Departamento de Ecologia, > P. Universidad Catolica de Chile, > Alameda 340, Santiago. > CP 6513677 > CHILE > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > URL: meiochile.matthewlee.org > %%% > -- > [EMAIL PROTECTED] mailing list > > -- Liviu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Stephen Wittig wrote: > Killing the ssh daemon does not effect any of the existing > connections. The ssh daemon is used to listen for new connections and > create a process to handle communications with that request. That is > why when you update configuration parameters for sshd, they do not > take effect until the next connection. In an ideal world, yes. But humans tend to make mistakes. Grant is now locked-out of his system because of messing around with conditional execution, kill and sshd all in the same command. > The problem with connecting to the server via telnet is that your > password can be easily intercepted - which is one of the major reasons > telnet has been depreciated. I use it over openvpn ;) COme on, 13 years of using Linux, I should've learned a couple of tricks already :P - -- Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica Servicios Ofrecidos: http://www.buanzo.com.ar/pro/ Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5ZixAlpOsGhXcE0RCiyMAJwNTQKn52VKaHS+/uwGkOYQSuqB+gCfcMSn fhr6kAdDLTDVAF63dLxFgv0= =GMM7 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
>> Thanks for your answer, i will try if i can get it working like this >> but randr doesn't seem to work on the secondary device. I have heard >> that nvidia cards doesn't support randr 1.2 so i will give it a try >> with randr disabled in my configuration. > > I don't have nvidia so can't comment (I810) > >> One thing is that i want the two screens (where i can move between >> with the mouse) avaialable not only one. > > I would guess randr supports that since it does have offsets (--pos) Hi Allan, thanks for your efforts. Just an update, i have found a temporary solution, which works until the next restart. When i launch the "Nvidia X Server Settings" under "X Server Display Configuration". There is a button "Detect devices". When the external TV is connected and i hit this button the screen is updated and displayed as usual. So all is fine until the next boot. Then i have do do this again. At least there is hope. Maybe there is a configuration option to make it permanently. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
> Yes. As a personal preference I don't usually chain commands together > when trouble shooting something, but there is technically nothing > wrong with doing so. And now I'm locked out. What do you think guys? - Grant > > > This process is the ssh daemon: > > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > > > > > > Two things: before killing the process with the KILL signal, I would > > > try killing it with TERM > > > kill -TERM 2988 > > > > > > If that doesn't work then kill the process with the KILL signal. > > > > > > I would also use: > > > /etc/init.d/sshd restart > > > > > > This will give the init script a chance to do some cleanup work before > > > restarting > > > > Do this: > > > > kill -TERM 2988 && /etc/init.d/sshd restart > > > > and if that doesn't work, do: > > > > kill -9 2988 && /etc/init.d/sshd restart > > > > ? > > > > - Grant > > > > > > > > > I just upgraded ssh and when I try to restart I get: > > > > > > > > > > * Stopping sshd ... [ !! ] > > > > > > > > > > I don't see anything about it in '/var/log/sshd/current'. How can I > > > > > figure out what is wrong? I'm a little nervous because I don't want > > > > > to shut myself out of this remote server. > > > > > > > > > > > > > > > I had a similar issue after a previous update to ssh when I went to > > > > > restart > > > > > it to get it to use the new binaries. One of the nice features of > > > > > sshd is > > > > > that your current session will say active even if you kill the sshd > > > > > daemon > > > > > process. Of course, if you get disconnected then you will not be > > > > > able to > > > > > log back in, so it's good to do what you need to quickly if you do > > > > > need to > > > > > kill (or if it's really stuck, kill -9) the process. When I had this > > > > > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - > > > > > just be > > > > > sure that you're killing the /usr/sbin/sshd process and not one of > > > > > your sshd > > > > > login forks at the same time. > > > > > > > > OK, I've got to be really careful here. I see the following processes > > > > in 'ps -ef': > > > > > > > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > > > > root 7573 2988 0 07:28 ?00:00:00 sshd: [EMAIL > > > > PROTECTED]/0 > > > > > > > > Should I: > > > > > > > > kill -9 2988 && /etc/init.d/sshd start > > > > > > > > Are you sure? :) > > > > > > > > - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Need help with routing
Florian Philipp schrieb: > Dan Farrell schrieb: >> On Sun, 02 Sep 2007 05:12:11 -0500 >> Dale <[EMAIL PROTECTED]> wrote: >> >>> Florian Philipp wrote: Hi list! I'm trying to set up my laptop as the router for my PC. ... My problem: As soon as set up eth0 with "ifconfig 192.168.1.1 netmask 255.255.255.0 eth0" ppp0 is no longer used. >>> I do this too and I have this in my /etc/conf.d/net file on the one >>> that connects to the internet. >>> >>> gateway="ppp0" >>> >>> You may want to try that. >>> >>> Dale >> Yes, this is your problem Florian. You need to make sure the default >> route is not set to eth0, which will probably be done automatically for >> eth0 when you bring it up. >> >> In other words, follow Dale's advice. > > Thanks! At least they can ping each other now but routing still doesn't > work: "Destination host unreachable". > > Is there anything wrong with the server script in the howto? I've > already tried to deactivate ipv6 on the server. I'll attach relevant ifconfig, route and iptables -L output. eth0 Protokoll:Ethernet Hardware Adresse 00:1A:4D:7B:9F:1B inet Adresse:10.8.0.2 Bcast:10.8.0.255 Maske:255.255.255.0 inet6 Adresse: fe80::21a:4dff:fe7b:9f1b/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:192 errors:0 dropped:0 overruns:0 frame:0 TX packets:538 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:18818 (18.3 KiB) TX bytes:53935 (52.6 KiB) Interrupt:21 Basisadresse:0xa000 loProtokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:55 errors:0 dropped:0 overruns:0 frame:0 TX packets:55 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:5221 (5.0 KiB) TX bytes:5221 (5.0 KiB) eth0 Link encap:Ethernet HWaddr 00:19:B9:7A:74:31 inet addr:10.8.0.1 Bcast:10.8.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:375 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:36156 (35.3 Kb) TX bytes:1124 (1.0 Kb) Interrupt:17 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) ppp0 Link encap:Point-to-Point Protocol inet addr:10.129.141.215 P-t-P:10.64.64.64 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:7088 errors:0 dropped:0 overruns:0 frame:0 TX packets:6488 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:6071662 (5.7 Mb) TX bytes:846226 (826.3 Kb) Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- 10.8.0.1 anywhere ACCEPT all -- anywhere 10.8.0.1 DROP all -- !10.8.0.1 anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Kernel IP Routentabelle ZielRouter Genmask Flags Metric RefUse Iface 10.8.0.0* 255.255.255.0 U 0 00 eth0 link-local * 255.255.0.0 U 1000 00 eth0 default HOMER-KUBUNTU64 0.0.0.0 UG0 00 eth0 default 10.8.0.10.0.0.0 UG0 00 eth0 Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.64.64.64 * 255.255.255.255 UH0 00 ppp0 10.8.0.0* 255.255.255.0 U 0 00 eth0 loopback* 255.0.0.0 U 0 00 lo default 10.64.64.64 0.0.0.0 UG0 00 ppp0
Re: [gentoo-user] Xorg.conf changes and dual screen setup
At Mon, 10 Sep 2007 09:24:59 +0200 Daniel Pielmeier <[EMAIL PROTECTED]> wrote: > Thanks for your answer, i will try if i can get it working like this > but randr doesn't seem to work on the secondary device. I have heard > that nvidia cards doesn't support randr 1.2 so i will give it a try > with randr disabled in my configuration. I don't have nvidia so can't comment (I810) > One thing is that i want the two screens (where i can move between > with the mouse) avaialable not only one. I would guess randr supports that since it does have offsets (--pos) allan -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
Killing the ssh daemon does not effect any of the existing connections. The ssh daemon is used to listen for new connections and create a process to handle communications with that request. That is why when you update configuration parameters for sshd, they do not take effect until the next connection. The problem with connecting to the server via telnet is that your password can be easily intercepted - which is one of the major reasons telnet has been depreciated. -Stephen On 9/10/07, Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Grant wrote: > > Should I: > > kill -9 2988 && /etc/init.d/sshd start > > Are you sure? :) > > Sounds scary to kill sshd remotely, specially over ssh :P > > That's why I usually have a telnet server up during ssh upgrade times. > > > - -- > Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica > Servicios Ofrecidos: http://www.buanzo.com.ar/pro/ > Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion. > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFG5Yd+AlpOsGhXcE0RCqCvAJ46Spe77Qukj5oYjCAtBK4lO0cZ4QCcCm24 > U/zSADTHUKzZZ/G2dkZZkbo= > =5uQv > -END PGP SIGNATURE- > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
[gentoo-user] keyboard layout
I had a few problems with an update of Xorg over the weekend which I have sorted out, however I've been left with one niggle. The keyboard layout isn't being recognized. I have a laptop with a British keyboard layout The xorg.conf has the following: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "uk" EndSection This used to work fine, but now it's not working I'm using xorg-server-1.3.0.0 Any suggestions as to why it's ignoring the .conf? Matt -- %%% Dr. Matthew R. Lee CASEB & ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
Yes. As a personal preference I don't usually chain commands together when trouble shooting something, but there is technically nothing wrong with doing so. -Stephen On 9/10/07, Grant <[EMAIL PROTECTED]> wrote: > > This process is the ssh daemon: > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > > > > Two things: before killing the process with the KILL signal, I would > > try killing it with TERM > > kill -TERM 2988 > > > > If that doesn't work then kill the process with the KILL signal. > > > > I would also use: > > /etc/init.d/sshd restart > > > > This will give the init script a chance to do some cleanup work before > > restarting > > Do this: > > kill -TERM 2988 && /etc/init.d/sshd restart > > and if that doesn't work, do: > > kill -9 2988 && /etc/init.d/sshd restart > > ? > > - Grant > > > > > > I just upgraded ssh and when I try to restart I get: > > > > > > > > * Stopping sshd ... [ !! ] > > > > > > > > I don't see anything about it in '/var/log/sshd/current'. How can I > > > > figure out what is wrong? I'm a little nervous because I don't want > > > > to shut myself out of this remote server. > > > > > > > > > > > > I had a similar issue after a previous update to ssh when I went to > > > > restart > > > > it to get it to use the new binaries. One of the nice features of sshd > > > > is > > > > that your current session will say active even if you kill the sshd > > > > daemon > > > > process. Of course, if you get disconnected then you will not be able > > > > to > > > > log back in, so it's good to do what you need to quickly if you do need > > > > to > > > > kill (or if it's really stuck, kill -9) the process. When I had this > > > > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - > > > > just be > > > > sure that you're killing the /usr/sbin/sshd process and not one of your > > > > sshd > > > > login forks at the same time. > > > > > > OK, I've got to be really careful here. I see the following processes > > > in 'ps -ef': > > > > > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > > > root 7573 2988 0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0 > > > > > > Should I: > > > > > > kill -9 2988 && /etc/init.d/sshd start > > > > > > Are you sure? :) > > > > > > - Grant > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Grant wrote: > Should I: > kill -9 2988 && /etc/init.d/sshd start > Are you sure? :) Sounds scary to kill sshd remotely, specially over ssh :P That's why I usually have a telnet server up during ssh upgrade times. - -- Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica Servicios Ofrecidos: http://www.buanzo.com.ar/pro/ Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5Yd+AlpOsGhXcE0RCqCvAJ46Spe77Qukj5oYjCAtBK4lO0cZ4QCcCm24 U/zSADTHUKzZZ/G2dkZZkbo= =5uQv -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
I have tested xrandr but it is useless for me! I tried various things but neither of them seem to have any effect on my secondary screen. I can only change the configuration of my primary monitor. Disabling randr in xorg conf has no effect too. Does anybody know what changes have to be done in the xorg configuration to get it working again! Unfortunately there is documentation at http://www.x.org/wiki/. The man pages of randr and xorg.conf also give no hints. At least i have found nothing until now. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] awstats
Try changing: ScriptAlias /awstats "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl" ScriptAlias /awstats.pl "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl" To: ScriptAlias /awstats "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin" Also I specifically include: AddHandler cgi-script .cgi AddHandler cgi-script .pl I don't know if this is required for awstats to work, but it does for some other scripts. Lastly, make sure that the data directory specified in the awstats config file is writeable by the CGI script. Last, check the apache error logs after trying to access the page and let us know what they say. -Best of Luck, Stephen On 9/9/07, Jason Carson <[EMAIL PROTECTED]> wrote: > > On Sun, 9 Sep 2007 21:04:02 -0400 (EDT) > > Jason Carson wrote: > > > >> I've installed awstats on my server but when I go to access them from > >> http://canuckster.org/awstats/awstats.pl it says... > >> > >> "Forbidden > >> You don't have permission to access /awstats/awstats.pl on this > >> server" > >> > >> What do I do? > > > > Hi Jay, > > > > The obvious questions: > > > > What are the permissions? > > Have you checked the apache logs for messages? > > > > I've got it running on a non-gentoo machine. It's > > in /var/www/mydomain/cgi-bin and permitted as: > > > > -rwxr-xr-x 1 root root 527395 Feb 25 2005 awstats.pl* [ > > > > HTH, > > > > David > > > I have the same permissions. I also have awstats.pl in two locations... > > 1)/var/www/localhost/cgi-bin/awstats.pl > 2)/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl > > I think the second one is what matters, here is part of my > /etc/apache2/vhosts.d/00_default_vhost.conf (apache 2.2.6 released today) > > Alias /awstats/classes "/usr/share/webapps/awstats/6.5-r1/htdocs/classes/" > Alias /awstats/css "/usr/share/webapps/awstats/6.5-r1/htdocs/css/" > Alias /awstats/icons "/usr/share/webapps/awstats/6.5-r1/htdocs/icon/" > ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/" > ScriptAlias /awstats > "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl" > ScriptAlias /awstats.pl > "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl" > > > Options None > AllowOverride None > > Order allow,deny > Allow from all > > > > > Options ExecCGI > AllowOverride None > > Order allow,deny > Allow from all > > > > > > > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
> This process is the ssh daemon: > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > > Two things: before killing the process with the KILL signal, I would > try killing it with TERM > kill -TERM 2988 > > If that doesn't work then kill the process with the KILL signal. > > I would also use: > /etc/init.d/sshd restart > > This will give the init script a chance to do some cleanup work before > restarting Do this: kill -TERM 2988 && /etc/init.d/sshd restart and if that doesn't work, do: kill -9 2988 && /etc/init.d/sshd restart ? - Grant > > > I just upgraded ssh and when I try to restart I get: > > > > > > * Stopping sshd ... [ !! ] > > > > > > I don't see anything about it in '/var/log/sshd/current'. How can I > > > figure out what is wrong? I'm a little nervous because I don't want > > > to shut myself out of this remote server. > > > > > > > > > I had a similar issue after a previous update to ssh when I went to > > > restart > > > it to get it to use the new binaries. One of the nice features of sshd is > > > that your current session will say active even if you kill the sshd daemon > > > process. Of course, if you get disconnected then you will not be able to > > > log back in, so it's good to do what you need to quickly if you do need to > > > kill (or if it's really stuck, kill -9) the process. When I had this > > > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - just > > > be > > > sure that you're killing the /usr/sbin/sshd process and not one of your > > > sshd > > > login forks at the same time. > > > > OK, I've got to be really careful here. I see the following processes > > in 'ps -ef': > > > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > > root 7573 2988 0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0 > > > > Should I: > > > > kill -9 2988 && /etc/init.d/sshd start > > > > Are you sure? :) > > > > - Grant -- [EMAIL PROTECTED] mailing list
[gentoo-user] XkbOptions, grp_led:scroll and xorg-x11-7.3
Hi! Before upgading to xorg-x11-7.3 I have (successfully) used this xorg.conf/kbd section option Option "XkbOptions""grp:alt_shift_toggle,grp_led:scroll" to indicate which kbd layout is in use. Now the led is always off. Even "Num Lock" swithing doesn't influence to an (another) appropriate led, which is always off also (but switching itself works, as is for layout switching is). Where are my leds? :-) Where to dig in? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
This process is the ssh daemon: root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd Two things: before killing the process with the KILL signal, I would try killing it with TERM kill -TERM 2988 If that doesn't work then kill the process with the KILL signal. I would also use: /etc/init.d/sshd restart This will give the init script a chance to do some cleanup work before restarting -Best of Luck, Stephen On 9/10/07, Grant <[EMAIL PROTECTED]> wrote: > > I just upgraded ssh and when I try to restart I get: > > > > * Stopping sshd ... [ !! ] > > > > I don't see anything about it in '/var/log/sshd/current'. How can I > > figure out what is wrong? I'm a little nervous because I don't want > > to shut myself out of this remote server. > > > > > > I had a similar issue after a previous update to ssh when I went to restart > > it to get it to use the new binaries. One of the nice features of sshd is > > that your current session will say active even if you kill the sshd daemon > > process. Of course, if you get disconnected then you will not be able to > > log back in, so it's good to do what you need to quickly if you do need to > > kill (or if it's really stuck, kill -9) the process. When I had this > > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - just be > > sure that you're killing the /usr/sbin/sshd process and not one of your sshd > > login forks at the same time. > > OK, I've got to be really careful here. I see the following processes > in 'ps -ef': > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > root 7573 2988 0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0 > > Should I: > > kill -9 2988 && /etc/init.d/sshd start > > Are you sure? :) > > - Grant > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
On Mon, 10 Sep 2007 09:58:53 -0700 Grant <[EMAIL PROTECTED]> wrote: > OK, I've got to be really careful here. I see the following processes > in 'ps -ef': > > root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd > root 7573 2988 0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0 > > Should I: > > kill -9 2988 && /etc/init.d/sshd start > > Are you sure? :) It worked for me, I tested it. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH won't restart
> I just upgraded ssh and when I try to restart I get: > > * Stopping sshd ... [ !! ] > > I don't see anything about it in '/var/log/sshd/current'. How can I > figure out what is wrong? I'm a little nervous because I don't want > to shut myself out of this remote server. > > > I had a similar issue after a previous update to ssh when I went to restart > it to get it to use the new binaries. One of the nice features of sshd is > that your current session will say active even if you kill the sshd daemon > process. Of course, if you get disconnected then you will not be able to > log back in, so it's good to do what you need to quickly if you do need to > kill (or if it's really stuck, kill -9) the process. When I had this > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - just be > sure that you're killing the /usr/sbin/sshd process and not one of your sshd > login forks at the same time. OK, I've got to be really careful here. I see the following processes in 'ps -ef': root 2988 1 0 Sep04 ?00:00:00 /usr/sbin/sshd root 7573 2988 0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0 Should I: kill -9 2988 && /etc/init.d/sshd start Are you sure? :) - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Need help with routing
Dan Farrell schrieb: > On Sun, 02 Sep 2007 05:12:11 -0500 > Dale <[EMAIL PROTECTED]> wrote: > >> Florian Philipp wrote: >>> Hi list! >>> >>> I'm trying to set up my laptop as the router for my PC. >>> ... >>> My problem: As soon as set up eth0 with "ifconfig 192.168.1.1 >>> netmask 255.255.255.0 eth0" ppp0 is no longer used. > >> I do this too and I have this in my /etc/conf.d/net file on the one >> that connects to the internet. >> >> gateway="ppp0" >> >> You may want to try that. >> >> Dale > > Yes, this is your problem Florian. You need to make sure the default > route is not set to eth0, which will probably be done automatically for > eth0 when you bring it up. > > In other words, follow Dale's advice. Thanks! At least they can ping each other now but routing still doesn't work: "Destination host unreachable". Is there anything wrong with the server script in the howto? I've already tried to deactivate ipv6 on the server. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] awstats
On Mon, 10 Sep 2007 11:51:44 +0200 Naga <[EMAIL PROTECTED]> wrote: > Have you checked to see if mod_access.c is in apache-2.2.6? > If I'm not wrong the access modules have been reworked. They sure have. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Mouse Paste
On 9/9/07, Benno Schulenberg <[EMAIL PROTECTED]> wrote: > Korthrun wrote: > > I've done some tweaking of my xorg.conf, .xbindkeysrc and > > .Xmodmap to get my logitech mx1000 working. The forums/wiki > > helped a lot with this. > > You're not saying which forums or wiki. :) > > The https://help.ubuntu.com/community/MX1000Mouse page suggests that > the following may be needed: > > Option "ZAxisMapping" "4 5 7 6" Sorry, the gentoo forums and gentoo-wiki.com of course! :) > > Since making these changes I've lost my middleclick to paste > > functionality, > > When you remove all your tweaks again and go back to the defaults, > does middleclicking work again? Just to make sure the mouse is > still working. Yes, it does still work when I revert. When I get home today, I'll have to see if I can narrow it down to a specific option. Instinct tells me it's the difference in "evdev" versus "mouse' for driver. We'll see. > Benno > -- > [EMAIL PROTECTED] mailing list > > Maybe I'll just set the box on fire tonight. -- () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] 2007.0 Minimal CD problem
On Mon Sep 10 9:27 , 'Rafael Barrera Oro' <[EMAIL PROTECTED]> sent: ... >include/asm/page.h:89:2: error: #error "CONFIG_PHYSICAL_START must be a >multiple of 2MB" >make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 ... See: http://forums.gentoo.org/viewtopic-t-570173.html?sid=ced731c07f99b8d04f37f80164c83605 --James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Webcam on Pavilion Dv1000
On 9/5/07, CESAR GAVIDIA <[EMAIL PROTECTED]> wrote: > > Greetings brothers, I have a laptop Hp Pavilion dv1000, this brings > incorporated a webcam and a microphone, which have been able to fail to > utilize. > Sam Revich had a driver for the webcam on my HP dv9000t, which allowed me to get images. Something in the control data is different from the standard model however, so I can't really do anything with it without crashing the device, and I haven't been a good debugging partner. I'd be happy to use the thing but I don't have time to figure it out right now. I don't know if my device is the same as yours -- Sam has a listing of the USB device numbers on his blog, so you can see if his driver would work. If you have problems using it, he may be willing to work with you if you have time to help him with the data he needs for debugging. Here's the blog: http://lsb.blogdns.net/ry5u870/ -- [EMAIL PROTECTED] mailing list
[gentoo-user] 2007.0 Minimal CD problem
After failing with the graphical installer i decided to try with the minimall install CD, here is the outcome. Everything went ok until i reach the compilation of the kernel (using genkernel, but the same happens if i use make menuconfig), then i get this error: First i thought it was some issue regarding genkernel and ReiserFS so i switch to ext3 and got the exact same result. I am really about to lose it here. could be some issue with SATA? i am installing on a SATA disk. (chroot) livecd linux # genkernel --menuconfig all * Gentoo Linux Genkernel; Version 3.4.8 * Running with options: --menuconfig all # Linux Kernel 2.6.22-gentoo-r5 for x86_64... # configuration written to .config # config: Using config from /usr/share/genkernel/x86_64/kernel-config-2.6 * Previous config backed up to .config.bak * >> Running oldconfig... *** End of Linux kernel configuration. *** Execute 'make' to build the kernel or try 'make help'. * kernel: >> Making dependencies... * ERROR: Failed to compile the "prepare" target... * -- Grepping log... -- SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o arch/x86_64/Kconfig .config:47:warning: trying to assign nonexistent symbol VM86 .config:148:warning: trying to assign nonexistent symbol GART_IOMMU .config:161:warning: trying to assign nonexistent symbol REORDER .config:182:warning: trying to assign nonexistent symbol ACPI_HOTKEY .config:188:warning: trying to assign nonexistent symbol ACPI_IBM .config:189:warning: trying to assign nonexistent symbol ACPI_IBM_DOCK .config:288:warning: trying to assign nonexistent symbol NETDEBUG .config:351:warning: trying to assign nonexistent symbol NET_DIVERT .config:512:warning: trying to assign nonexistent symbol PARIDE_PARPORT .config:594:warning: trying to assign nonexistent symbol IDEDMA_PCI_AUTO .config:625:warning: trying to assign nonexistent symbol IDEDMA_AUTO .config:679:warning: trying to assign nonexistent symbol AIC79XX_ENABLE_RD_STRM .config:688:warning: trying to assign nonexistent symbol SCSI_SATA .config:689:warning: trying to assign nonexistent symbol SCSI_SATA_AHCI .config:690:warning: trying to assign nonexistent symbol SCSI_SATA_SVW .config:691:warning: trying to assign nonexistent symbol SCSI_ATA_PIIX .config:692:warning: trying to assign nonexistent symbol SCSI_SATA_MV .config:693:warning: trying to assign nonexistent symbol SCSI_SATA_NV .config:694:warning: trying to assign nonexistent symbol SCSI_PDC_ADMA .config:695:warning: trying to assign nonexistent symbol SCSI_SATA_QSTOR .config:696:warning: trying to assign nonexistent symbol SCSI_SATA_PROMISE .config:697:warning: trying to assign nonexistent symbol SCSI_SATA_SX4 .config:698:warning: trying to assign nonexistent symbol SCSI_SATA_SIL .config:699:warning: trying to assign nonexistent symbol SCSI_SATA_SIL24 .config:700:warning: trying to assign nonexistent symbol SCSI_SATA_SIS .config:701:warning: trying to assign nonexistent symbol SCSI_SATA_ULI .config:702:warning: trying to assign nonexistent symbol SCSI_SATA_VIA .config:703:warning: trying to assign nonexistent symbol SCSI_SATA_VITESSE .config:704:warning: trying to assign nonexistent symbol SCSI_SATA_INTEL_COMBINED .config:731:warning: trying to assign nonexistent symbol SCSI_QLA2XXX_EMBEDDED_FIRMWARE .config:753:warning: trying to assign nonexistent symbol MD_RAID5 .config:755:warning: trying to assign nonexistent symbol MD_RAID6 .config:787:warning: trying to assign nonexistent symbol IEEE1394_OUI_DB .config:788:warning: trying to assign nonexistent symbol IEEE1394_EXTRA_CONFIG_ROMS .config:789:warning: trying to assign nonexistent symbol IEEE1394_CONFIG_ROM_IP1394 .config:790:warning: trying to assign nonexistent symbol IEEE1394_EXPORT_FULL_API .config:955:warning: trying to assign nonexistent symbol NET_RADIO .config:956:warning: trying to assign nonexistent symbol NET_WIRELESS_RTNETLINK .config:978:warning: trying to assign nonexistent symbol IPW_QOS .config:1015:warning: trying to assign nonexistent symbol NET_WIRELESS .config:1038:warning: trying to assign nonexistent symbol SYNCLINK_SYNCPPP .config:1055:warning: trying to assign nonexistent symbol DLCI_COUNT .config:1451:warning: symbol value 'm' invalid for VIDEO_V4L2 .config:1532:warning: trying to assign nonexistent symbol DVB .config:1535:warning: trying to assign nonexistent symbol VIDEO_VIDEOBUF .config:1551:warning: trying to assign nonexistent symbol FB_FIRMWARE_EDID .config:1604:warning: trying to assign nonexistent symbol BACKLIGHT_DEVICE .config:1606:warning: trying to assign nonexistent symbol LCD_DEVICE .config:1612:warning: trying to assign nonexistent symbol SPEAKUP .config:1613:warning: trying to assign nonexistent symbol SPEAKUP_ACNTSA .config:1614:warning: trying to assign nonexistent symbol SPEAKUP_ACNTPC .config:1615:warning: trying to assign nonexistent symbol SPEAKUP_APOLLO .config:1616:warni
Re: [gentoo-user] Gentoo 2007.0 installer problem (unpacking the stage tarball takes forever)
True, but my point is that when you need to have a workstation ready as soon as possible and you are not a linux expert (again, my case) it would be advisable to use an installer. Anyway, if you look at my previous post you will see that i tried the minimal CD and fail miserably, maybe ill re-post that error on a new thread with a more accurate subject. 2007/9/10, Randy Barlow <[EMAIL PROTECTED]>: > > Rafael Barrera Oro wrote: > > However, when you are not a linux expert and want to > > set-up a gentoo workstation fast (my case) i think it would be > > convenient to use a graphical installer and then, with time get to know > > the basic install and all the concepts behind it. > > I would argue that you can much more efficiently learn Linux and Gentoo > by going through the install process by hand rather than using a > graphical installer. Then you see the pieces of the puzzle as they come > together! > > -- > Randy Barlow > http://electronsweatshop.com > -- > [EMAIL PROTECTED] mailing list > >
[gentoo-user] Re: 32bit apps on 64bit gentoo - fonts error
I've seen also this thread: http://forums.gentoo.org/viewtopic-t-543623-postdays-0-postorder-asc-highlight-fonts+32bit-start-50.html but no luck... m On 8/31/07, Marco Calviani <[EMAIL PROTECTED]> wrote: > Hi, > i'm running on Gentoo 64bit. I've just upgraded the system, and in > particular i went to version 10.0 of emul-linux* libraries. This > created a problem with 32bit binary applications such as > mozilla-firefox-bin and mozilla-thunderbird-bin (and also acroread), > in parrticular for what concern fonts (see attachment). > > Anyone has a clue for this issue? > > # equery l emul- > [ Searching for package 'emul-' in all categories among: ] > * installed packages > [I--] [ -] app-emulation/emul-linux-x86-baselibs-10.2 (0) > [I--] [ -] app-emulation/emul-linux-x86-compat-1.0-r3 (0) > [I--] [ ~] app-emulation/emul-linux-x86-gtklibs-11.0 (0) > [I--] [M-] app-emulation/emul-linux-x86-java-1.5.0.08 (1.5) > [I--] [ -] app-emulation/emul-linux-x86-java-1.6.0.02 (1.6) > [I--] [ -] app-emulation/emul-linux-x86-qtlibs-10.0 (0) > [I--] [ -] app-emulation/emul-linux-x86-soundlibs-10.0-r1 (0) > [I--] [ ~] app-emulation/emul-linux-x86-xlibs-10.1 (0) > > # equery l mozilla- > [I--] [ ] mail-client/mozilla-thunderbird-2.0.0.6 (0) > [I--] [ -] mail-client/mozilla-thunderbird-bin-2.0.0.6 (0) > [I--] [ ] www-client/mozilla-firefox-2.0.0.6 (0) > [I--] [ -] www-client/mozilla-firefox-bin-2.0.0.6 (0) > > Please note that this error does not appear with the 64bit compiled > version of firefox and thunderbird. > > Regards, > Marco Calviani > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] awstats
On Monday 10 September 2007 10:34:25 Jason Carson wrote: [...] > [...] > You don't have permission to access /awstats/awstats.pl on this server." Have you checked to see if mod_access.c is in apache-2.2.6? If I'm not wrong the access modules have been reworked. -- Naga -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] awstats
> Hello Jason Carson, > >> I have the same permissions. I also have awstats.pl in two locations... >> >> 1)/var/www/localhost/cgi-bin/awstats.pl >> 2)/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl >> >> I think the second one is what matters, > > You should be using the first one, read the webapp-config man page, or > http://dev.gentoo.org/~rl03/webapp-config.html if you don't have > webapp-config installed, for an explanation. > > > -- > Neil Bothwick > > Politically Incorrect -- and damn proud of it! > yeah, I did the following... webapp-config -I -h localhost -d awstats awstats 6.5-r1 and it worked, it told be to add the following to my apache config which I did ... # Alias /awstats/classes "/usr/share/webapps/awstats/6.5-r1/htdocs/classes/" Alias /awstats/css "/usr/share/webapps/awstats/6.5-r1/htdocs/css/" Alias /awstats/icons "/usr/share/webapps/awstats/6.5-r1/htdocs/icon/" ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/" ScriptAlias /awstats "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl" ScriptAlias /awstats.pl "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl" Options None AllowOverride None Order allow,deny Allow from all Options ExecCGI AllowOverride None Order allow,deny Allow from all ## These apache directives show /usr/share/webapps/awstats/... which is why I thought the "2)" was more important. Anyway, I still get the following error when I try and access my stats in my web browser... "Forbidden You don't have permission to access /awstats/awstats.pl on this server." -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo 2007.0 installer problem (unpacking the stage tarball takes forever)
Rafael Barrera Oro wrote: > However, when you are not a linux expert and want to > set-up a gentoo workstation fast (my case) i think it would be > convenient to use a graphical installer and then, with time get to know > the basic install and all the concepts behind it. I would argue that you can much more efficiently learn Linux and Gentoo by going through the install process by hand rather than using a graphical installer. Then you see the pieces of the puzzle as they come together! -- Randy Barlow http://electronsweatshop.com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Sound doesn't work in Flash
Daniel wrote: > I'm in the process now of compiling my kernel with OSS support (under Alsa) > to see if that helps. So... did this work? -- Randy Barlow http://electronsweatshop.com But you are a chosen race, a royal priesthood, a holy nation, a people for his own possession, that you may proclaim the excellencies of him who called you out of darkness into his marvelous light. Once you were not a people, but now you are God's people; once you had not received mercy, but now you have received mercy. ~1 Peter 2:9-10 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] the new Xorg 7.3 with i810 - issues
2007. 09. 10, hétfő keltezéssel 06.46-kor Graham Murray ezt írta: > Look at bug #191822, this may cover the problems. Hi, Thank you for your reply, my problem is exactly this bug. Workaround: hald and dbus must stop. But beryl still does not refresh the contents of the windows. Only a freezed picture shown, but the application itself working well. If I resize the window, I got a new snapshot about the window :) Cheers, István -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] awstats
Hello Jason Carson, > I have the same permissions. I also have awstats.pl in two locations... > > 1)/var/www/localhost/cgi-bin/awstats.pl > 2)/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl > > I think the second one is what matters, You should be using the first one, read the webapp-config man page, or http://dev.gentoo.org/~rl03/webapp-config.html if you don't have webapp-config installed, for an explanation. -- Neil Bothwick Politically Incorrect -- and damn proud of it! signature.asc Description: PGP signature
Re: [gentoo-user] Webcam on Pavilion Dv1000
CESAR GAVIDIA wrote: > Greetings brothers, I have a laptop Hp Pavilion dv1000, this brings > incorporated a webcam and a microphone, which have been able to fail to > utilize. So what is the error you are encountering? -- Randy Barlow http://electronsweatshop.com But you are a chosen race, a royal priesthood, a holy nation, a people for his own possession, that you may proclaim the excellencies of him who called you out of darkness into his marvelous light. Once you were not a people, but now you are God's people; once you had not received mercy, but now you have received mercy. ~1 Peter 2:9-10 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Xorg.conf changes and dual screen setup
> Now my ~/bin/Xinitialize begins > > #!/bin/sh > sleep 2 > > if xrandr | grep "VGA connected" ; then > xrandr --verbose --output VGA --mode 1600x1200 --output LVDS --off > else > xrandr --verbose --output VGA --off --output LVDS --mode 1680x1050 > fi > xset s reset# above seems to blank the screen > sleep 3 > > This sets 1600x1200 and turns off the laptop screen when the ext > monitor is in. It sets 1680x1050 and turns off driving the external > monitor connector (which may well be a useless step) when there is no > ext monitor connected. Thanks for your answer, i will try if i can get it working like this but randr doesn't seem to work on the secondary device. I have heard that nvidia cards doesn't support randr 1.2 so i will give it a try with randr disabled in my configuration. One thing is that i want the two screens (where i can move between with the mouse) avaialable not only one. I would also prefer a solution which works with the xorg configuration file. Regards, Daniel -- [EMAIL PROTECTED] mailing list