Re: [gentoo-user] Portage hooks: Allow verbose output
Corentin, Since I am running genkenel to do the compilation, I would like to see all the output coming from genkernel (and not the compilation itself). Using ebegin/eend would require me to write the error/success messages myself, or not? Regards, On Tue, 21 Aug 2018 at 17:35 Corentin “Nado” Pazdera wrote: > August 21, 2018 10:03 PM, "Ben Mezger" > wrote: > > Greetings, > My current portage configuration is configure to not output any > compilation output, as so: > --- /etc/portage/make.conf > PORTAGE_ELOG_CLASSES="info warn error log qa" > PORTAGE_ELOG_SYSTEM="echo save" > FEATURES="split-elog buildpkg webrsync-gpg" > EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=4" > However, I have set a post_pkg_postinst hook to run "genkernel all" when > installing gentoo-sources. Is there anyway I can open an exception and > allow any output from a hook to be completely verbose when emerging? > > > You can use ebegin/eend in your hook, if there’s an error, it should be > sent to output. Any elog will also be printed after emerge is done. > Do you really need to see the kernel compilation happening? Or do you only > want to know whether it built successfully or not? > > Regards, > -- > Corentin “Nado” Pazdera > -- Ben Mezger
[gentoo-user] Portage hooks: Allow verbose output
Greetings, My current portage configuration is configure to not output any compilation output, as so: --- /etc/portage/make.conf PORTAGE_ELOG_CLASSES="info warn error log qa" PORTAGE_ELOG_SYSTEM="echo save" FEATURES="split-elog buildpkg webrsync-gpg" EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=4" However, I have set a post_pkg_postinst hook to run "genkernel all" when installing gentoo-sources. Is there anyway I can open an exception and allow any output from a hook to be completely verbose when emerging? Regards - Ben -- Ben Mezger
Re: [gentoo-user] Kernel module signature now shown on modinfo
Thanks for the link. It seems that the sign-file utility from the kernel (scripts/sign-file) has been converted to a .c file and somehow it produces a different output. I think if you really want to make sure the module is signed is by doing a hexdump and perhaps strip the signature out and try to load it. Regards, On 13 April 2018 at 15:32, Mick wrote: > On Thursday, 12 April 2018 22:47:31 BST Dave Trombley wrote: >> This has been broken for almost two years; the signature format switched to >> PKCS#7 and modinfo doesn't support it. It's not as simple as just >> patching kmod because evidently the kernel change regressed or disrespected >> the relevent structure in the modules in a way that makes it impossible for >> kmod to even make sense of. Details here: >> https://github.com/coreos/bugs/issues/1054 >> >> -David > > Thanks David, I had come across an older bug somewhere, but there was no > detailed explanation. > > -- > Regards, > Mick -- Kind regards, Met een vriendelijke groet, Ben Mezger https://seds.nl PGP: C473 DDC9 D1B1 40AF 2051 1CF6 18C4 6052 1688 92F7
[gentoo-user] Kernel module signature now shown on modinfo
Greetings, I have enabled module signature verification on my kernel, and it does seem to be enabled upon boot: $ dmesg | grep -i 'x.*509' [1.259988] Asymmetric key parser 'x509' registered [1.811026] Loading compiled-in X.509 certificates [1.813833] Loaded X.509 cert 'Build time autogenerated kernel key: 77e716fc52a6293567d953cd24a5977e55b41a5e' and doing a cat /proc/keys seems to show the key enabled: $ cat /proc/keys ... 37c67374 I-- 1 perm 1f03 0 0 asymmetri Build time autogenerated kernel key: 77e716fc52a6293567d953cd24a5977e55b41a5e: X509.rsa 55b41a5e [] ... However, if I do a modinfo to see the key on a module, it seems empty: $modinfo ntfs filename: /lib/modules/4.9.76-gentoo-r1/kernel/fs/ntfs/ntfs.ko license:GPL version:2.1.32 description:NTFS 1.2/3.x driver - Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. author: Anton Altaparmakov alias: fs-ntfs srcversion: 0D7ACE93F603E9350827FB8 depends: intree: Y vermagic: 4.9.76-gentoo-r1 SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 And hex dump does show me the digital signature appended at the end: $ hexdump -C /lib64/modules/4.9.76-gentoo-r1/kernel/fs/ntfs/ntfs.ko| tail 0004e8c0 e3 dd 54 9d 5e f1 1a 12 56 47 4e 54 91 b9 fa ce |..T.^...VGNT| 0004e8d0 e6 01 db 37 eb 83 f3 77 10 f0 b5 f8 11 fd 4e 86 |...7...w..N.| 0004e8e0 6c 81 8a 61 c2 15 6d 5a 35 93 8b 33 c0 32 2f e4 |l..a..mZ5..3.2/.| 0004e8f0 8c 15 71 de c8 c5 39 58 cc e8 65 e1 be 36 e6 02 |..q...9X..e..6..| 0004e900 b0 75 b5 a2 73 d8 4d 22 e7 2f 53 1f 42 fb ee 58 |.u..s.M"./S.B..X| 0004e910 f2 65 44 13 26 30 7b 31 1c 58 12 5a f2 5d b1 45 |.eD.&0{1.X.Z.].E| 0004e920 3a f0 a5 79 74 f4 00 00 02 00 00 00 00 00 00 00 |:..yt...| 0004e930 02 9e 7e 4d 6f 64 75 6c 65 20 73 69 67 6e 61 74 |..~Module signat| 0004e940 75 72 65 20 61 70 70 65 6e 64 65 64 7e 0a|ure appended~.| 0004e94e My question is: why doesn't modinfo show me the key fingerprint? -- Kind regards, Met een vriendelijke groet, Ben Mezger https://seds.nl PGP: C473 DDC9 D1B1 40AF 2051 1CF6 18C4 6052 1688 92F7
Re: [gentoo-user] gpg2 - error gpg: public key decryption failed: No pinentry
On Wed, Jan 17, 2018 at 07:30:15AM -0700, the...@sys-concept.com wrote: > On 01/17/2018 07:20 AM, Mick wrote: >> On Wednesday, 17 January 2018 13:51:20 GMT the...@sys-concept.com wrote: >>> OK, "gpg2 text.asc" it works now at the computer terminal but when I >>> log-in over "ssh" >>> it still giving me same error. >> >> Have you logged in as a user which has a key pair configured on the PC? > > I just copied 'scp' entire subfolder ".gnupg/" from one system to > another. It works when I click on the file at the computer but not over > ssh. > Have you tried pinentry-curses? I'm not sure if qt version works over ssh.
Re: [gentoo-user] gpg2 - error gpg: public key decryption failed: No pinentry
On Tue, Jan 16, 2018 at 10:51:40PM -0700, the...@sys-concept.com wrote: > When I try to decrypt a file I get: > > gpg2 text.asc > ... > gpg: public key decryption failed: No pinentry > gpg: decryption failed: No secret key > > app-crypt/pinentry-1.0.0-r2 is installed Sometime you have to set one of the following. # PIN entry program pinentry-program /usr/bin/pinentry-curses # no X pinentry-program /usr/bin/pinentry-qt pinentry-program /usr/bin/pinentry-kwallet pinentry-program /usr/bin/pinentry-gtk-2 to whatever suits you in ~/.gnupg/gpg-agent.conf. Hope that helps.
Re: [gentoo-user] Firefox/Adobe Flashplayer: Playback hangs
I'm having the same problem. noticed it with youtube. have to refresh the page for the video to play again. On 04/21/2013 08:29 PM, meino.cra...@gmx.de wrote: Hi, I am using Adobes Flashplayer with Firefox (both newest versions). When playing video, the playback freezes often while data is still transmitted. Often the playback starts half a minute or so without intervention, sometimes I have to cycle the pause/play botton several times. How can I prevent this ? Best regards, mcc
[gentoo-user] using meld with dispatch-conf
Hello list meld is the only merge tool I can work with, I configured meld in dispatch-conf.conf like that : diff="meld '%s' '%s'" it works and after a merge i am back in dispatch-conf screen, >> (1 of 1) -- /etc/inittab >> q quit, h help, n next, e edit-new, z zap-new, u use-new m merge, t toggle-merge, l look-merge: I press q to quite. and another dispatch-conf run is doing this: RCS file: /var/db/dispatch-conf/config-archive/etc/inittab,v 1.1 locked done /var/db/dispatch-conf/config-archive/etc/inittab,v <-- /var/db/dispatch-conf/config-archive/etc/inittab new revision: 1.2; previous revision: 1.1 done /var/db/dispatch-conf/config-archive/etc/inittab,v --> /var/db/dispatch-conf/config-archive/etc/inittab co: /var/db/dispatch-conf/config-archive/etc/inittab,v: no side branches present for 1.1 /var/db/dispatch-conf/config-archive/etc/inittab,v <-- /var/db/dispatch-conf/config-archive/etc/inittab new revision: 1.1.1.1; previous revision: 1.1 done My question is if that is ok? is the second dispatch-conf a must? Thank you.
Re: [gentoo-user] Suspend questions
Steve Dommett wrote: On Wednesday 03 October 2007, James Colby wrote: The reason for that is because the suspend kernel is configuring my hard disk as /dev/hda and my standard kernel is configuring it as /dev/sda. Does anyone know how I can get the suspend kernel to assign my hard disk as /dev/sda? I think eventually you would have run into this problem even if you hadn't switched to using suspend2-sources. Recent changes in the kernel (at 2.6.21 unless my memory fails me) removed the need for most SATA drivers to use the SCSI layer of the kernel. The result being that many hard drives that were previously addressed as /dev/sda will now be available at /dev/hda. You'll need to change at least /boot/grub/grub.conf and /etc/fstab to reflect this . Yes, it's a pest because it complicates booting into older kernels. You may not know that GRUB supports editing the boot parameters with the 'E' key, which goes a long way towards easing the pains. I think its preferable to get the SATA driver to handle the device if you can. I know on my machine disk performance dropped quite a bit when it was probed as hda by the ATA driver. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Suspend questions
James Colby wrote: I have trying to set up Suspend on my Dell Latitude D620 laptop. The laptop is currently running a 2.6.19-gentoo-r5 kernel. I emerged the suspend2 sources, copied the .config from the 2.6.19 directory and ran make oldconfig. I then configured the suspend options in the kernel via the docs in the wiki. When I try to boot the suspend kernel, the system fails to boot because it can't find any of the filesystems located in my /etc/fstab. The reason for that is because the suspend kernel is configuring my hard disk as /dev/hda and my standard kernel is configuring it as /dev/sda. Does anyone know how I can get the suspend kernel to assign my hard disk as /dev/sda? I had this problem when I upgraded my kernel a month ago or so. I believe it occurred because the standard ATA driver grew support for my SATA hardware. It was unfortunately probing before the SATA driver and grabbing the device. The best solution I found was to add the following to the boot line in grub: hda=noprobe hda=none Hope that helps. James - Ben -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
Michael Sullivan wrote: I upgraded my kernel to 2.6.19-gentoo-r6 this morning. I used genkernel. I followed these steps: Deleted the /usr/src/linux symlink and recreated it point to /usr/src/2.6.19-gentoo-r5 zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6 genkernel all After it successfully built, I opened up my /boot/grub/grub.conf file in vim and copied the entry lines for the old kernel I was using (2.6.18-gentoo-r6 - also created with genkernel) and changed the numbers to reflect the new kernel on the title, kernel, and initrd lines. However when I attempt to boot up with the new kernel, it goes through its usual device checks, and then right when it should say "Booting initramfs-{}", it says "/dev/sda6 is not a suitable root device." (or something like that) and offers me either a chance to enter the root device, or a shell. I asked for the shell. I did ls and saw a directory structure seemingly similar to my / on my root partition, but when I did ls /dev I didn't see any sda devices (or an other s* devices for that matter). What's gone wrong, and what do I do to fix it? Below is my /boot/grub/grub.conf: I ran into a similar problem when upgrading. It looked to me like the SATA device configuration variables had been changed or renamed. This caused me to lose all my SATA modules when I rebuilt. After I went in and explicitly added the new SATA drivers into the config the machine could boot again. Hope that helps. - Ben -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GTK fonts uglified after update
On Wednesday 29 November 2006 12:13 am, Shaw Vrana wrote: > I just performed an emerge -Du world and found that the fonts in the few > gtk apps that I use (gaim and wireshark) have now become quite ugly. I > followed the wiki at http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts to > beautify a while back and the changes I made there have remained intact > through the update. Are you running KDE with the gtk-qt theme engine? If so, I had a similar problem with fonts no longer being anti-aliased in gaim. I found the solution on this page: http://www.kde-look.org/content/show.php?content=9714 Basically you need to change your General font setting in the control center. Once you make a change (any change) you can change it back to how you had it originally. Once you restart your gtk applications the fonts should be aliased again. There is no explanation for why this works, but it resolved the issue for me. Hope that helps. > Thanks, > Shaw - Ben -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo GCC 4.1.1 Upgrade Guide
Well I am almost done re-compiling my system. While I was waiting I took information from the forums thread and the online documentation to create an upgrade guide. I have been using it on my boxes as I go as a quick reference. Hope someone else will find this useful: http://www.benr75.com/pages/gentoo_gcc_4.1.1_upgrade_guide If you use it and have any issues please holler holler. Thx, -- Ben Reubenstein 303-947-0446 http://www.benr75.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - GLSlideshow and nvidia (I think)
What does your /var/log/Xorg.0.log read? Does it actually load the glx extension or fail for some reason? Also, double check that you are using the opengl use-flag. I think it enables mesa since your video card doesn;t support ×ר×. Good luck Ben --- Michael Sullivan <[EMAIL PROTECTED]> wrote: > Since the upgrade to modular X my wife has not been > able to view her > favourite screesaver (our cats.) Whenever she runs > the GLSlideshow > screensaver, she gets the following error: > > > Xlib extension GLX missing on display ":0.0" > > glslideshow display :0.0 does not support the GLX > extension > > I googled for this error and everywhere I looked > people were fixing this > error by installing proper nvidia modules. My > problem is that I know > nothing about nvidia or even device drivers in > general. Do I need to > compile nvidia drivers into her kernel? If so, > which ones? Here's the > lspci output from her computer: > > catherine X11 # lspci -v > 00:00.0 Host bridge: Silicon Integrated Systems > [SiS] 741/741GX/M741 > Host (rev 03) > Subsystem: Elitegroup Computer Systems > Unknown device 1b13 > Flags: bus master, medium devsel, latency 32 > Memory at d000 (32-bit, > non-prefetchable) [size=128M] > Capabilities: [c0] AGP version 3.5 > > 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] > SiS AGP Port > (virtual PCI-to-PCI bridge) (prog-if 00 [Normal > decode]) > Flags: bus master, 66MHz, fast devsel, > latency 99 > Bus: primary=00, secondary=01, > subordinate=01, sec-latency=32 > I/O behind bridge: d000-dfff > Memory behind bridge: e100-e10f > Prefetchable memory behind bridge: > d800-dfff > > 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] > SiS964 [MuTIOL > Media IO] (rev 36) > Flags: bus master, medium devsel, latency 0 > > 00:02.5 IDE interface: Silicon Integrated Systems > [SiS] 5513 [IDE] (rev > 01) (prog-if 80 [Master]) > Subsystem: Elitegroup Computer Systems > Unknown device 1b13 > Flags: bus master, medium devsel, latency > 128, IRQ 16 > I/O ports at > I/O ports at > I/O ports at > I/O ports at > I/O ports at 4000 [size=16] > Capabilities: [58] Power Management version > 2 > > 00:02.7 Multimedia audio controller: Silicon > Integrated Systems [SiS] > AC'97 Sound Controller (rev a0) > Subsystem: Elitegroup Computer Systems > Unknown device 1b13 > Flags: bus master, medium devsel, latency > 32, IRQ 21 > I/O ports at e000 [size=256] > I/O ports at e400 [size=128] > Capabilities: [48] Power Management version > 2 > > 00:03.0 USB Controller: Silicon Integrated Systems > [SiS] USB 1.0 > Controller (rev 0f) (prog-if 10 [OHCI]) > Subsystem: Elitegroup Computer Systems > Unknown device 1b13 > Flags: bus master, medium devsel, latency > 32, IRQ 18 > Memory at e1104000 (32-bit, > non-prefetchable) [size=4K] > > 00:03.1 USB Controller: Silicon Integrated Systems > [SiS] USB 1.0 > Controller (rev 0f) (prog-if 10 [OHCI]) > Subsystem: Elitegroup Computer Systems > Unknown device 1b13 > Flags: bus master, medium devsel, latency > 32, IRQ 19 > Memory at e110 (32-bit, > non-prefetchable) [size=4K] > > 00:03.2 USB Controller: Silicon Integrated Systems > [SiS] USB 1.0 > Controller (rev 0f) (prog-if 10 [OHCI]) > Subsystem: Elitegroup Computer Systems > Unknown device 1b13 > Flags: bus master, medium devsel, latency > 32, IRQ 20 > Memory at e1101000 (32-bit, > non-prefetchable) [size=4K] > > 00:03.3 USB Controller: Silicon Integrated Systems > [SiS] USB 2.0 > Controller (prog-if 20 [EHCI]) > Subsystem: Elitegroup Computer Systems > Unknown device 1b13 > Flags: bus master, medium devsel, latency > 32, IRQ 17 > Memory at e1102000 (32-bit, > non-prefetchable) [size=4K] > Capabilities: [50] Power Management version > 2 > > 00:04.0 Ethernet controller: Silicon Integrated > Systems [SiS] SiS900 PCI > Fast Ethernet (rev 91) > Subsystem: Elitegroup Computer Systems > Unknown device 1b13 > Flags: bus master, medium devsel, latency > 32, IRQ 22 > I/O ports at e800 [size=256] > Memory at e1103000 (32-bit, > non-prefetchable) [size=4K] > [virtual] Expansion ROM at 1000 > [disabled] [size=128K] > Capabilities: [40] Power Management version > 2 > > 01:00.0 VGA compatible controller: Silicon >
Re: [gentoo-user] linux make modules fails
How is that supposed to help? His problem is with building modules, not installation... Ah ~ Must have read too fast. I think that it has something to do with the 64bit compile... just a guess... On 5/18/06, Richard Fish <[EMAIL PROTECTED]> wrote: On 5/18/06, Ben Reubenstein <[EMAIL PROTECTED]> wrote: > Hi Justin ~ > > Read the docs on Gentoo.org. Understand what Stage 2 is. -Richard -- gentoo-user@gentoo.org mailing list -- Ben Reubenstein 303-947-0446 http://www.benr75.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] linux make modules fails
Hi Justin ~ Read the docs on Gentoo.org. Understand what Stage 2 is. If not , you might be better off with Unbuntu. I promise if you follow the docs you will get a wonderful, running Gentoo system. URL: http://www.gentoo.org/doc/en/index.xml?catid=install#doc_chap2 ~ Ben On 5/18/06, Justin Findlay <[EMAIL PROTECTED]> wrote: When I try to build the 'modules' target with linux it doesn't create the .ko files. It seems to get stuck at 'stage 2', whatever that means, and I am at a loss finding out what exactly stage 2 is, from looking at scripts/Makefile.modpost, and why it doesn't build. This happens with either a vanilla-sources or gentoo-sources kernel and doesn't happen when I try to build the gentoo kernel from within another system, like a knoppix liveCD. # make V=1 modules rm -f .kernelrelease echo 2.6.17-rc4 > .kernelrelease set -e; echo ' CHK include/linux/version.h'; mkdir -p include/linux/; if [ `echo -n "2.6.17-rc4" | wc -c ` -gt 64 ]; then echo '"2.6.17-rc4" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2.6.17-rc4\"; echo \#define LINUX_VERSION_CODE `expr 2 \\* 65536 + 6 \\* 256 + 17`; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; ) < /usr/src/linux-2.6.17-rc4/Makefile > include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s include/linux/version.h include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp; else echo ' UPD include/linux/version.h'; mv -f include/linux/version.h.tmp include/linux/version.h; fi CHK include/linux/version.h make -f scripts/Makefile.build obj=scripts/basic mkdir -p .tmp_versions rm -f .tmp_versions/* make -f scripts/Makefile.build obj=. mkdir -p arch/x86_64/kernel/ make -f scripts/Makefile.build obj=scripts ... Building modules, stage 2. make -rR -f /usr/src/linux-2.6.17-rc4/scripts/Makefile.modpost scripts/mod/modpost -m -a -o /usr/src/linux-2.6.17-rc4/Module.symvers vmlinux Justin -- gentoo-user@gentoo.org mailing list -- Ben Reubenstein 303-947-0446 http://www.benr75.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: KDE version
> Isn't the solution to have 3 levels: 'testing', > 'probation' & 'stable' ? > 'Testing' would be literally that, asking for > feedback from users; > 'probation' wb already tested for a defined period > -- say 30 days -- How about a crazier idea: Each package has a stability rating from 0-99 per architecture. 0 means totally untested/unstable and 99 means rock solid/no bugs. (0-33~unstable, 34-66~testing, 67-99~stable) Each new package starts at 50. Whenever a user uses the package, he can then vote on it by giving +1 or -1 (on the website or through portage). As a package gains rating points, more and more users would be inclined to use it. A user could set the minimum stability rating that he wanted for all packages or on a per package basis. After the user does an emerge update, the system would check if an installed package is above the users minimum. If not, the system informs the user of the drop and asks if he wants the package to be removed or not. Only the maintainer would be able to actually modify the package itself. Of course, big status changes would happen soon after a maintainer modifies a package. Questions to think about: 1) Should modifications reset the status of a package to 50? 2) Should a plus/minus vote forward propogate to the packages that depend on it? Eg. if kdelibs gets a -1 vote, should amarok get a -1 vote too? 3) Should the votes backpropagate instead? Cheers, Ben "he who writes the code gets to choose his license, and nobody else gets to complain" - Linus Torvale In my honest option, it should read - "he who writes the code gets to choose his license, and everybody else complains." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] automatically adding a new user to cdrom group? [Solved]
Thanks for the hint. This seems like the best solution. I'll implement this as soon as possible. Cheers, Ben --- Richard Fish <[EMAIL PROTECTED]> wrote: > On 3/28/06, Schleimer, Ben <[EMAIL PROTECTED]> > wrote: > > Would it be reasonable to request that useradd > > automatically adds a new user to the cdrom group? > > You can do this yourself in /etc/group by assigning > different group > names the same gid: > > users:x:100:rjf > cdrom:x:100: > plugdev:x:100: > audio:x:100: > scanner:x:100: > usb:x:100: > ... > > -Richard > > -- > gentoo-user@gentoo.org mailing list > > "he who writes the code gets to choose his license, and nobody else gets to complain" - Linus Torvale In my honest option, it should read - "he who writes the code gets to choose his license, and everybody else complains." -- gentoo-user@gentoo.org mailing list
[gentoo-user] automatically adding a new user to cdrom group?
Would it be reasonable to request that useradd automatically adds a new user to the cdrom group? For a long time I couldn't figure out why the cdrom didn't work properly in user mode. Once i stumbled about the "add user to cdrom group" solution, everything works correctly. I'm thinking that gentoo would be a better system if this was done automatically. Thanks, Ben "he who writes the code gets to choose his license, and nobody else gets to complain" - Linus Torvale In my honest option, it should read - "he who writes the code gets to choose his license, and everybody else complains." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} Recovering data from a formatted hard disk
I understand that writing zeros over the file should permenately delete the data but couldn't the data be cached elsewhere on the drive, especially with journalling filesystems?? Cheers, Ben "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan - Original Message From: Dale <[EMAIL PROTECTED]> To: gentoo-user@lists.gentoo.org Sent: Tue 31 Jan 2006 02:56:25 PM IST Subject: Re: [gentoo-user] {OT} Recovering data from a formatted hard disk Iain Buchanan wrote: > > >I've heard of government departments filing down the old HD's into >little pieces, then mixing them in cement for the next building project. >Could be an urban legend though. > >All of the above is subject to my own bad memory :) > > I have heard the same thing. I have watched some of them on TV get data off some unbelievable drives. Some had bent platters, serious scratches, been formatted a few times etc etc etc, After all that, they still got enough of what they wanted. They put a chemical on one and you could see the data with your eyes. It looked like a round bar code sort of. Whatever you use, if it does it quickly, it ain't worth the time. Really erasing something and rewriting data over it takes a bit of time. That little light should be on a while. I still wouldn't count on it. Shreading it and putting it in concrete may be a good idea. Maybe putting it in a MRI machine would help too. I would leave the room though. O_O Dale :-) -- To err is human, I'm most certainly human. I have four rigs: 1: Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives. Named Smoker 2: Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive. Named Swifty 3: Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB drive. Named Pokey 4: Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB SCSI drive. Named Putput All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hard setting additional search domains into DHCP-overwrited resolv.conf
I too am interested in knowing how to do this. Theres no obvious place in /etc/config.d/net(work?) to set new search domains in resolv.conf if anyone can provide info on this, I'd appricate it. Thanks! Ben "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan - Original Message From: Marco Lazzeri <[EMAIL PROTECTED]> To: gentoo-user@lists.gentoo.org Sent: Tue 31 Jan 2006 11:38:12 AM IST Subject: [gentoo-user] Hard setting additional search domains into DHCP-overwrited resolv.conf Hi, I've been trying for a while to hard set additional search domains into my '/etc/resolv.conf', but the 'dhcpcd' daemon keeps overwriting the whole configuration at start. I've been googling around and searching into bugs.gentoo.org. I've also tried some kinds of settings from `man resolv.conf`: currently I'm starting the `dhcpcd` service with '-R -N -Y' params and I've also tried setting 'dhcpcd_eth0' into '/etc/conf.d/net' to 'nodns'. No way. I'm sure enough I'm missing something, but I don't know where else I should look at. Any hints? Thank you, Marco -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] {OT} Recovering data from a formatted hard disk
Hummm,, I just read the docs for shred and it doesn't garanttee that the data will be erased on a journalling filesystem. http://unixhelp.ed.ac.uk/CGI/man-cgi?shred+1 Nevermind, Ben --- "Schleimer, Ben" <[EMAIL PROTECTED]> wrote: > I understand that writing zeros over the file should > permenately delete the data but couldn't the data be > cached elsewhere on the drive, especially with > journalling filesystems?? > > Cheers, > Ben > > "Debugging is twice as hard as writing the code in > the first place. > Therefore, if you write the code as cleverly as > possible, you are, > by definition, not smart enough to debug it." - > Brian W. Kernighan > > > > - Original Message > From: Dale <[EMAIL PROTECTED]> > To: gentoo-user@lists.gentoo.org > Sent: Tue 31 Jan 2006 02:56:25 PM IST > Subject: Re: [gentoo-user] {OT} Recovering data from > a formatted hard disk > > Iain Buchanan wrote: > > > > > > >I've heard of government departments filing down > the old HD's into > >little pieces, then mixing them in cement for the > next building project. > >Could be an urban legend though. > > > >All of the above is subject to my own bad memory :) > > > > > > I have heard the same thing. I have watched some of > them on TV get data > off some unbelievable drives. Some had bent > platters, serious > scratches, been formatted a few times etc etc etc, > After all that, > they still got enough of what they wanted. They put > a chemical on one > and you could see the data with your eyes. It > looked like a round bar > code sort of. > > Whatever you use, if it does it quickly, it ain't > worth the time. > Really erasing something and rewriting data over it > takes a bit of > time. That little light should be on a while. I > still wouldn't count > on it. Shreading it and putting it in concrete may > be a good idea. > Maybe putting it in a MRI machine would help too. I > would leave the > room though. O_O > > Dale > :-) > > -- > To err is human, I'm most certainly human. > > I have four rigs: > > 1: Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, > 1GB of ram and right now two 80GB hard drives. > Named Smoker > 2: Home built; Iwill KK266-R w/ AMD 1GHz CPU, > 256MBs of ram and a 4GB drive. Named Swifty > 3: Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, > 224MBs of ram and a 2.5GB drive. Named Pokey > 4: Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, > 128MBs of ram and a 4.3GB SCSI drive. Named Putput > > All run Gentoo Linux, all run folding. #1 is my > desktop, 2, 3, and 4 are set up as servers. > > -- > gentoo-user@gentoo.org mailing list > > > > > > > -- > gentoo-user@gentoo.org mailing list > > "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't browse WinXP shares from gentoo
Go onto your roommates box and turn administrative tools on the start menu. Then go to Administrative tools, Local Security Policy. From there go to Local Policy - Security Options. In the right view, find Network Access: Sharing and Security for Local Accounts, then change that setting to Classic - local users authenticate as themselves. Also note the above setting where it shows which shares can be accessed anonymously. On 1/21/06, Brett I. Holcomb <[EMAIL PROTECTED]> wrote: You might want to uncheck simple file sharing in the file options and see ifthat works.On Saturday January 21 2006 19:36, [EMAIL PROTECTED] wrote:> On Sat, Jan 21, 2006 at 11:45:38PM +0200, Ryan Viljoen wrote: > > I can access my Windows XP Pro's shares with out user name or> > password quite successfully. Using both xsmbrowser and mounting> > them in the terminal. Are you sure that the other XP machines on > > the network dont also require a password to access the shares?>> Did you have to do anything special to enable that kind of sharing?>> This is the only Windows box on the network (it's my local home > LAN), so I don't have anything else to use as a comparison or> reference.>> >> Matt>> --> Matt Garman> email at: http://raw-sewage.net/index.php?file=email--Brett I. Holcomb--gentoo-user@gentoo.org mailing list
Re: [gentoo-user] i'm new of list
On Tuesday 20 December 2005 04:46, Holly Bostick wrote: > How about this, then--> :-o ? Yup, kmail knows that one too. > Not to disrespect your mad cli skills, but that's a lot of additon > there. Is the 'average' mutt user going to want to do all that? I am > really asking, since I don't know anything about what the 'average' mutt > user might want to do or be capable of doing under 'average' > circumstances, simply by virtue of being a person who uses and enjoys > mutt (which is on my list of apps to try one day). Mutt is an amazing mail client, I heartily recommend it. Given that mutt is a console based mail app, the average user seems to be relatively open to hacking the various config options to get it working the way they want it. There's a huge amount of resources out there to help you do so, whether it be other people's .mutt files or mailcaps, or the docs, such as http://www.mutt.org/doc/manual/manual-5.html Indeed on gentoo at least, a lot of the work is done for you, the default /etc/mailcap has some lynx entries, and the default mutt config files have the correct auto_view's. So html mail should Just Work (tm). mutt just can't be beat when you get a *lot* of mail. I use it when I ssh to my home machines, but I use it exclusively at work where I receive a lot more mail. Like a good editor, the keybindings and options can be initimidating to learn, but once you have you tend to be much more productive than with gui equivalents. Having said all that, there's nothing I know of in mutt that will convert ascii smileys into little emoticons ;) > > You can see all sorts of obnoxious mail attachments this way, such as > > msword via catdoc, and so forth. > > I was about to say, "Why on earth would you send a Word attachment to a > mailing list?", then I thought about some of the posts I've seen on MLs > this past week-- somebody sent a *10MB* trace log attachment to the Wine > list so I realize that I already know that there are some people so > clueless that they seem almost mad. So it is apparently important to > tell people not to do such things (just as it is important to instruct > people not to put their cat/dog in the microwave to dry them off after a > bath). True, true. But despite peoples' best efforts to the contrary, as sure as the sun will rise and set, people will still send html mail with msword attachments. Sometimes you're just going to have to suck it up and read it. Luckily with mutt and a couple of mime helpers, you can do so in plain text in one xterm without too much fuss. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] i'm new of list
On Monday 19 December 2005 22:58, Holly Bostick wrote: > That does not mean that the mail is showing up as HTML. That conversion > from a text smiley to a graphical smiley is a feature of the Mozilla > mail readers (MozMail and Thunderbird); it converts the smileys it knows > to graphics. It doesn't know all of them-- this.--> :-P --> will not > show up as a graphic. It does in kmail. So neh-neh-ne-ne-nehh, my mail client is better than yours. etc. > The thing about unreadable more likely refers to those who use > command-line mail clients like mutt or pine, because they like them, or > because they run a box without X (and just because you don't have X > doesn't mean that you shouldn't be able to read and respond to your > mail-- this is Linux, after all). Actually most console based mail clients can read html mail without needing X. Not to demean any of the other (excellent) arguments against html mail, but sometimes people do insist on sending it :( So in mutt, you would include the directive: auto_view text/html And have an entry like this in your /etc/mailcap or ~/.mailcap - text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html You can see all sorts of obnoxious mail attachments this way, such as msword via catdoc, and so forth. Ben -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Make changes to routing table permanent
On Monday 19 December 2005 00:49, Daniel D Jones wrote: > Every time I reboot my system, it comes up with the wrong default route. I > use the "route" command to delete the old default route and add the new > one. When I reboot, it comes back up with the wrong default route again. > How do I make the change permanent? Or what could be cause it to reset? It will be set in /etc/conf.d/net - you should be able to see the incorrect one in there and change it. Unless of course you're using dhcp, then your dhcp server may be supplying you with the wrong route - fixing that depends on the server... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BIND DNS?
On Tuesday 13 December 2005 20:54, Tom Smith wrote: > I'm looking to install BIND DNS on one of my server (the first Gentoo box > on my network) but haven't been able to locate it in Portage. I tried the > obvious searches for "bind", "nameserver", "dns", etc, but still haven't > been able to find it. > > Does Gentoo have a BIND package and, if so, what's it name? Uhh, there is a bind package: maya / # emerge -p bind These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] net-dns/bind-9.2.5-r6 maya / # Although personally I'd be tempted to recommend djbdns, much in the same way as I'd advise something like postfix over sendmail. There's some info on the wiki on how to install and configure djbdns, along with links to more info: http://gentoo-wiki.com/HOWTO_Setup_a_DNS_Server_with_DJBDNS -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: need text viewer with delete and multiple files
On Tuesday 13 December 2005 20:22, Manuel McLure wrote: > Ben wrote: > > vim. There's probably other (better) ways, but: > > :!rm $filename > > :n! > > > > The first line tells vim to execute the shell command rm, you have to > > give it the filename, but that's displayed in the buffer anyway (or you > > can get it with ^G). > > Try: > :!rm % > > "%" in a shell escape gets replaced with the name of the current file. I knew there'd be some way of getting that, but I couldn't find it, thanks. Works with both vim and less too. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: need text viewer with delete and multiple files
On Tuesday 13 December 2005 01:52, Daevid Vincent wrote: > Is there any recommended text viewer/editor whereby I can easily step > through the files (previous/next file), read .gz files, jump to the end of > a file, and most importantly, delete the current file? vim. There's probably other (better) ways, but: :!rm $filename :n! The first line tells vim to execute the shell command rm, you have to give it the filename, but that's displayed in the buffer anyway (or you can get it with ^G). The second line tells vim to move to the next file, but to ignore the fact that you have a buffer opened that hasn't been written yet. :p goes to the previous file, if you haven't deleted it. Actually thinking about it, you can do the same thing with less - !rm $filename works too. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question
On 28/11/05, Ognjen Bezanov <[EMAIL PROTECTED]> wrote: > >>to me.. linux in general has always ran slow if the net connection > >>goes out. It might be constantly trying to access the internet. > >>Kinda like the a cell phones battery dies alot faster when it cant > >>connect to a tower. It just keeps trying til it gets something or the > >>phone dies. > >> I had a problem of slowness a while ago and it was because my loopback interface was missing. Something to check. Ben -- Ben Edwards - Exeter & Bristol, UK, England WARNING:This email contained partisan views - don't ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- gentoo-user@gentoo.org mailing list
[gentoo-user] mythfrontend crashes in edit video mode nova-t / gentoo
While using mythtv frontend when I scrub video in edit mode to set cut points almose any time I go across a change of ratio the frontend secmentation faults. I have tried -v with various options but have not got any usefull debug. I am using mythtv 0.18.1 with a nova-t DVB-T card. Have been bouncing this one around for a few days on the gentoo forum and mythtv-user list so I thought I would give it a go here. Mucho Regards, Ben -- Ben Edwards - Exeter & Bristol, UK, England WARNING:This email contained partisan views - don't ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fixing fstab
Because it;s more WYSIWYG then vi? The most useful commands are printed at the bottom and ^h shows the rest... Cheers, Ben --- Bryan Whitehead <[EMAIL PROTECTED]> wrote: > I still don't understand the logic of not having vi > installed by default > over nano... > > On Mon, 14 Nov 2005, Petteri Räty wrote: > > > Mark wrote: > >> I made a mistake while creating my fstab on a new > install, and I can't > >> boot. If I use my Universal CD to boot up, what > command(s) will I have > >> to run to get access to the fstab to fix it? (I'm > assuming I have to > >> re-mount & chroot but I don't know specifically > what to do). Thanks! > > > > You only need to mount your root partition to > /mnt/gentoo and then > > execute nano /mnt/gentoo/etc/fstab -w. You can > change nano to another > > editor if you like. > > > > Regards, > > Petteri > > > > -- > Bryan Whitehead > Email:[EMAIL PROTECTED] "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- gentoo-user@gentoo.org mailing list
[gentoo-user] Only seem to be able to get on digest verison of this list
I have now tried sending a message to [EMAIL PROTECTED] twice and all I seem to be able to subscribe to is the digest version. Could someone please email be off list to tell me how to get on the normal version. This is really odd because getting on gentoo-media was easy. Regards, Ben -- Ben Edwards - Bristol, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] arts crasheing: FIXED!
Hi again, I figured out that artsd was crashing because I was trying to play a .ogg without having emerged kdemultimedia with the vorbis USE flag set. I added the USE flag, reemerged kdemultimedia (which wasn't autoemerge when I did emerge -ND world??) and artsd stopped crashing. So I guess, the more USE flags, the marrier. HOnestly though, is there some kind of standard set of flags one should have enabled? Also, maybe there could be a standard way of telling the user that the feature is disabled because of a USE flag instead of just crashing. Cheers, Ben PS. The things you learn after hours and hours of messing with the system... Not sure if it's worth it... --- "Schleimer, Ben" <[EMAIL PROTECTED]> wrote: > Hi, >I'm using kde-base/arts-3.4.1-r2 as my kde sound > server. > Unfortunately, it keeps crashing whenever i enable > it. > I've attached the backtrace it gave me but I can't > make any sense of it. > > Is there a way to emerge arts as a debug executable? > > Thanks, > Ben > > "Debugging is twice as hard as writing the code in > the first place. > Therefore, if you write the code as cleverly as > possible, you are, > by definition, not smart enough to debug it." - > Brian W. Kernighan > > > > "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problem emerging realplayer-10.0.6
Hi, I'm trying to emerge realplayer-10.0.6 and it's not behaving properly: Emerge media-video/realplayer-10.0.6 started... Started emerge on: Oct 29, 2005 22:15:41 emerge --nospinner =media-video/realplayer-10.0.6 emerge (1 of 1) media-video/realplayer-10.0.6 to / (1 of 1) Cleaning (media-video/realplayer-10.0.6::/usr/portage/media-video/realplayer/realplayer-10.0.6.ebuild) (1 of 1) Compiling/Merging (media-video/realplayer-10.0.6::/usr/portage/media-video/realplayer/realplayer-10.0.6.ebuild) >>> Downloading https://helixcommunity.org/download.php/1589/RealPlayer-10.0.6.776-20050915.i586.rpm --22:15:42-- https://helixcommunity.org/download.php/1589/RealPlayer-10.0.6.776-20050915.i586.rpm => `/usr/portage/distfiles/RealPlayer-10.0.6.776-20050915.i586.rpm'' 207.188.25.135 Connecting to helixcommunity.org|207.188.25.135|:443... connected. ERROR: Certificate verification error for helixcommunity.org: unable to get local issuer certificate To connect to helixcommunity.org insecurely, use `--no-check-certificate''. Unable to establish SSL connection. !!! Couldn''t download RealPlayer-10.0.6.776-20050915.i586.rpm. Aborting. ...done! >>> emerge (1 of 1) media-video/realplayer-10.0.6 to / terminating. Is there a way to work around this?? Thanks for the help, Ben "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge -u world fails -- broke compiler?
test On Sunday 14 August 2005 18:35, maxim wexler wrote: > Hello everybody, > > This is another "C compiler cannot create executables > error" :( There's a lot of stuff in the archive about > it but nothing I've seen so far seems to suit my case. > > I ran emerge --sync successfully and then tried -uv > world; it failed trying to compile sed-4.1.4 > > Sure enough, compiling Hello_World.c, did not produce > the .o file > > Anyways, here's the /var/tmp/portage/../config.log: > > This file contains any messages produced by compilers > while > running configure, to aid debugging if configure makes > a mistake. > > It was created by sed configure 4.1.4, which was > generated by GNU Autoconf 2.59. Invocation command > line was > > $ ./configure --prefix=/usr --host=i686-pc-linux-gnu > --mandir=/usr/share/man --infodir=/usr/share/info > --datadir=/usr/share --sysconfdir=/etc > --localstatedir=/var/lib --enable-nls > > ## - ## > ## Platform. ## > ## - ## > > hostname = dayglo > uname -m = i686 > uname -r = 2.6.11-gentoo-r3 > uname -s = Linux > uname -v = #3 Wed Aug 3 11:42:53 Local time zone must > be set--see zic manua > > /usr/bin/uname -p = AMD Sempron(tm) Processor 3100+ > /bin/uname -X = unknown > > /bin/arch = i686 > /usr/bin/arch -k = unknown > /usr/convex/getsysinfo = unknown > hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /sbin > PATH: /usr/sbin > PATH: /usr/lib/portage/bin > PATH: /bin > PATH: /usr/bin > PATH: /usr/local/bin > PATH: /opt/bin > PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5 > PATH: /opt/ati/bin > PATH: /usr/qt/3/bin > PATH: /usr/kde/3.4/sbin > PATH: /usr/kde/3.4/bin > > > ## --- ## > ## Core tests. ## > ## --- ## > > configure:1376: checking for a BSD-compatible install > configure:1431: result: /bin/install -c > configure:1442: checking whether build environment is > sane > configure:1485: result: yes > configure:1550: checking for gawk > configure:1566: found /bin/gawk > configure:1576: result: gawk > configure:1586: checking whether make sets $(MAKE) > configure:1606: result: yes > configure:1682: checking for i686-pc-linux-gnu-strip > configure:1711: result: no > configure:1720: checking for strip > configure:1736: found /usr/bin/strip > configure:1747: result: strip > configure:1791: checking for i686-pc-linux-gnu-gcc > configure:1807: found /usr/bin/i686-pc-linux-gnu-gcc > configure:1817: result: i686-pc-linux-gnu-gcc > configure:2099: checking for C compiler version > configure:2102: i686-pc-linux-gnu-gcc --version > &5 > i686-pc-linux-gnu-gcc (GCC) 3.3.5 (Gentoo Linux > 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) > Copyright (C) 2003 Free Software Foundation, Inc. > This is free software; see the source for copying > conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR > A PARTICULAR PURPOSE. > > configure:2105: $? = 0 > configure:2107: i686-pc-linux-gnu-gcc -v > >&5 > > Reading specs from > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs > Configured with: > /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure > --enable-version-specific-runtime-libs --prefix=/usr > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5 > --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5 > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info > --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++ >-v3 --host=i686-pc-linux-gnu --disable-altivec > --enable-nls --without-included-gettext > --enable-__cxa_atexit --enable-clocale=gnu > --with-system-zlib --disable-checking --disable-werror > --disable-libunwind-exceptions --enable-shared > --enable-threads=posix --disable-multilib > --disable-libgcj --enable-languages=c,c++ > Thread model: posix > gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, > ssp-3.3.2-3, pie-8.7.7.1) > configure:2110: $? = 0 > configure:2112: i686-pc-linux-gnu-gcc -V > >&5 > > i686-pc-linux-gnu-gcc: `-V' option must have argument > configure:2115: $? = 1 > configure:2138: checking for C compiler default output > file name > configure:2141: i686-pc-linux-gnu-gcc -O2 -march=i686 > -fomit-frame-pointer conftest.c >&5 > cc1: /usr/local/include: Not a directory > configure:2144: $? = 1 > > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.4" > | #define PACKAGE_STRING "sed 4.1.4" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.4" > | #define SED_FEATURE_VERSION "4.1" > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > > configure:2183: error: C compiler cannot create > executables > See `config.log' for more details. > > ## ## > ## Cache variables. ## >
Re: [gentoo-user] "Copying" between hard drives potential newbie question
MBR is probably damaged, hence why it won't boot. I would run grub-install just to be sure. You could also mount your old disk and the new disk, then use cp -R /mnt/olddisk/* /mnt/newdisk/ (putting in the appriopriate mount locations of course) Ben Blount On 9/1/05, John Jolet <[EMAIL PROTECTED]> wrote: > On Thursday 01 September 2005 18:04, Neil Bothwick wrote: > > On Thu, 1 Sep 2005 22:36:59 +0100, Stuart Howard wrote: > > > My question :- > > > > > > I need to "copy" all from hdb to hda what would be the sugested route? > > > > If both drives are the same size > > > > dd if=/dev/hdb of=/dev/hda bs=4096 > will that get the mbr, or does he still need to do the grub-install step? > -- > John Jolet > Your On-Demand IT Department > 512-762-0729 > www.jolet.net > [EMAIL PROTECTED] > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] newbie install - emerge: command not found
Assaf Urieli wrote: Holly Bostick wrote: So, when I restart, everything looks allright. Grub asks me to choose Gentoo Linux 2.6.12-r6, which I do. I can then login fine. But when I try to run the emerge command, I get: emerge: command not found (no surprise, it's not in /bin). Have I missed a step? Are you trying to run emerge as a user? It can only be run as root ('command not found' often indicates that, assuming that the application is installed, which in this case we know it is. The command cannot be found in the user's $PATH-- because and so that the user cannot use it-- but in root's $PATH). Nope, I tried to create a user, but the adduser command couldn't be found either. Neither can the find and whereis commands. Apologies if this is completely obvious, but you did say "newbie"... :-) After you "select Gentoo Linux 2.6.12-r6" do you see a lengthy boot process or do you get a command line instantly? It occured to me that you could somehow be getting to the grub command line, which has about a dozen commands... definitely no "emerge", "adduser", etc. Ben -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [asking again] keyboard/mouse woes on 2.6 kernel
Daniel Drake wrote: Ben Munat wrote: PS: I also found the following stuff in my logs starting at the time when I lost control of the keyboard and mouse; there's this MTRR stuff and then hundreds of lines with the call trace stuff: Aug 16 22:46:31 venus mtrr: no MTRR for cd80,80 found Aug 16 22:46:31 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:31 venus mtrr: no MTRR for cd00,80 found Aug 16 22:46:38 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:38 venus mtrr: no MTRR for cd00,80 found Aug 16 22:46:56 venus mtrr: no MTRR for cd80,80 found Aug 16 22:46:56 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:56 venus mtrr: no MTRR for cd00,80 found Aug 16 22:48:08 venus Aug 16 22:48:08 venus sibling Aug 16 22:48:08 venus task PC pid father child younger older Aug 16 22:48:08 venus init S 0 1 0 2 (NOTLB) Aug 16 22:48:08 venus dfe3fecc 0082 00d0 c01313c2 c0131656 c039f200 c039eb00 Aug 16 22:48:08 venus 0001 c14053e0 082a 534ee15d 0001d93f c0399bc0 Aug 16 22:48:08 venus c1527a20 c1527b44 1f056d90 1f056d90 dfe3fed4 0800 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] This is what happens when you press Alt+SysRq+T. I assume you didn't actually press these keys..? Daniel I don't even know what the "SysRq" key is... certainly nothing I did intentionally. b -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [asking again] keyboard/mouse woes on 2.6 kernel
Thanks for the thoughts guys... I probably will wind up compiling the kernel again from scratch since I haven't been able to make any headway with this issue. I thought I'd read somewhere that genkernel was working pretty smoothly and saved a lot of hassle, but I guess it isn't all it's cracked up to be. As for your questions, the loss of keyboard and mouse occurs while I'm in X, however, I'm in X most of the time, so that doesn't necessarily mean that much. And after force-quitting X (there's something interesting... ctrl-alt-backspace still works!), I'm generally hosed on the command line too... sometimes I get the wrong characters for keys, sometimes I just get nothing and have to ssh in from another box and reboot. I also did try showkey and I'm pretty sure I was getting weird random keycodes popping out... especially if I typed fast. My hunch is that it's actually something in the PS2 driver and not anything in X or the keymap. thanks again, b Moshe Kaminsky wrote: Hi, I don't really know what's going on. Just wanted to suggest some things: 1. I don't think it has anything to do with the 'Unknown key' messages. This simply means that there are some funny keys on the keyboard that the kernel doesn't recognize. You can check it with the showkey(1) program (but under X) 2. Does it happen also when X is not running, or only under X? 3. Maybe you should try recompiling the kernel, and see if there are any options specific to your keyboard (in menuconfig, you can search for a string by pressing /). Maybe you should grep the kernel docs (/usr/src/linux/Documentation) for your keyboard name. Sorry I can't help more, Moshe * Ben Munat <[EMAIL PROTECTED]> [18/08/05 06:20]: Really hoping someone has some idea on this... haven't found any solid answers on the web... b --- original message - Hello, I recently did a fresh install of 2005.0 on a AMD thunderbird-based machine. I wasn't in the mood for kernel configuring, so I just let genkernel do it's thing, installing a 2.6 kernel. Things mostly went fine, however my keyboard and/or mouse keep going berserk... they just stop working half the time. I share the same keyboard with a windows machine, and it works fine (I'm typing this email with it). Last week, I noticed a lot of entries in the logs like this: Aug 16 22:33:53 venus atkbd.c: Unknown key released (translated set 2, code 0xe0 on isa0060/serio0). Aug 16 22:33:53 venus atkbd.c: Use 'setkeycodes e060 ' to make it known. Aug 16 22:40:18 venus atkbd.c: Unknown key pressed (translated set 2, code 0x8e on isa0060/serio0). Aug 16 22:40:18 venus atkbd.c: Use 'setkeycodes e00e ' to make it known. I found a thread on the forums where the poster went ahead and set the keycodes as indicated... for all of them. So, last week, I took the log and cut and paste it together to make a script that set all of them... at least until last night. It started printing these lines again, and I lost the mouse and the keyboard. Restarted X and it was okay for a few minutes, but then it freaked out again and then I couldn't type anything at the command line even after killing X. Oh, I also managed to find the mouse and keyboard boot info from my logs: Aug 9 20:28:35 venus input: AT Translated Set 2 keyboard on isa0060/serio0 Aug 9 20:28:35 venus input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1 So, if anyone has any ideas or can point me in any direction at all, that would be great. Ben PS: I also found the following stuff in my logs starting at the time when I lost control of the keyboard and mouse; there's this MTRR stuff and then hundreds of lines with the call trace stuff: Aug 16 22:46:31 venus mtrr: no MTRR for cd80,80 found Aug 16 22:46:31 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:31 venus mtrr: no MTRR for cd00,80 found Aug 16 22:46:38 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:38 venus mtrr: no MTRR for cd00,80 found Aug 16 22:46:56 venus mtrr: no MTRR for cd80,80 found Aug 16 22:46:56 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:56 venus mtrr: no MTRR for cd00,80 found Aug 16 22:48:08 venus Aug 16 22:48:08 venus sibling Aug 16 22:48:08 venus task PC pid father child younger older Aug 16 22:48:08 venus init S 0 1 0 2 (NOTLB) Aug 16 22:48:08 venus dfe3fecc 0082 00d0 c01313c2 c0131656 c039f200 c039eb00 Aug 16 22:48:08 venus 0001 c14053e0 082a 534ee15d 0001d93f c0399bc0 Aug 16 22:48:08 venus c1527a20 c1527b44 1f056d90 1f056d90 dfe3fed4 0800 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08
[gentoo-user] [asking again] keyboard/mouse woes on 2.6 kernel
Really hoping someone has some idea on this... haven't found any solid answers on the web... b --- original message - Hello, I recently did a fresh install of 2005.0 on a AMD thunderbird-based machine. I wasn't in the mood for kernel configuring, so I just let genkernel do it's thing, installing a 2.6 kernel. Things mostly went fine, however my keyboard and/or mouse keep going berserk... they just stop working half the time. I share the same keyboard with a windows machine, and it works fine (I'm typing this email with it). Last week, I noticed a lot of entries in the logs like this: Aug 16 22:33:53 venus atkbd.c: Unknown key released (translated set 2, code 0xe0 on isa0060/serio0). Aug 16 22:33:53 venus atkbd.c: Use 'setkeycodes e060 ' to make it known. Aug 16 22:40:18 venus atkbd.c: Unknown key pressed (translated set 2, code 0x8e on isa0060/serio0). Aug 16 22:40:18 venus atkbd.c: Use 'setkeycodes e00e ' to make it known. I found a thread on the forums where the poster went ahead and set the keycodes as indicated... for all of them. So, last week, I took the log and cut and paste it together to make a script that set all of them... at least until last night. It started printing these lines again, and I lost the mouse and the keyboard. Restarted X and it was okay for a few minutes, but then it freaked out again and then I couldn't type anything at the command line even after killing X. Oh, I also managed to find the mouse and keyboard boot info from my logs: Aug 9 20:28:35 venus input: AT Translated Set 2 keyboard on isa0060/serio0 Aug 9 20:28:35 venus input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1 So, if anyone has any ideas or can point me in any direction at all, that would be great. Ben PS: I also found the following stuff in my logs starting at the time when I lost control of the keyboard and mouse; there's this MTRR stuff and then hundreds of lines with the call trace stuff: Aug 16 22:46:31 venus mtrr: no MTRR for cd80,80 found Aug 16 22:46:31 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:31 venus mtrr: no MTRR for cd00,80 found Aug 16 22:46:38 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:38 venus mtrr: no MTRR for cd00,80 found Aug 16 22:46:56 venus mtrr: no MTRR for cd80,80 found Aug 16 22:46:56 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:56 venus mtrr: no MTRR for cd00,80 found Aug 16 22:48:08 venus Aug 16 22:48:08 venus sibling Aug 16 22:48:08 venus task PC pid father child younger older Aug 16 22:48:08 venus init S 0 1 0 2 (NOTLB) Aug 16 22:48:08 venus dfe3fecc 0082 00d0 c01313c2 c0131656 c039f200 c039eb00 Aug 16 22:48:08 venus 0001 c14053e0 082a 534ee15d 0001d93f c0399bc0 Aug 16 22:48:08 venus c1527a20 c1527b44 1f056d90 1f056d90 dfe3fed4 0800 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus migration/0 S C0399960 0 2 1 3 (L-TLB) Aug 16 22:48:08 venus c1541fac 0046 c1527b44 c0399960 dfe3fec4 c1527020 c1541fc4 c0334ffa Aug 16 22:48:08 venus c0405640 c14053e0 059d 207d3479 000e c1527020 Aug 16 22:48:08 venus c1527520 c1527644 2648 207cf161 c1405d20 c14053e0 c154 c1541fc0 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus ksoftirqd/0 S DF8A6090 0 3 1 4 2 (L-TLB) Aug 16 22:48:08 venus c1543fb4 0046 dffdfa40 df8a6090 dffdfa40 c1405d40 c14053e0 Aug 16 22:48:08 venus 0247 c14053e0 006e 018b730b 0001d93c c0399bc0 Aug 16 22:48:08 venus c1527020 c1527144 c1542000 c03fa380 c1542000 c0119771 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus events/0 R running 0 4 1 5 3 (L-TLB) Aug 16 22:48:08 venus khelper S C01118A4 0 5 1 6 4 (L-TLB) Aug 16 22:48:08 venus c154bf5c 0046 c154bf30 c01118a4 d84a45e0 dfe0aa40 c1511824 dfe0aa40 Aug 16 22:48:08 venus c1405d40 c14053e0 0156 0c3532c5 0001d92f dfe0aa40 Aug 16 22:48:08 venus dffdf540 dffdf664 0246 d2e6fdec c151180c 0246 c1511800 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48
[gentoo-user] keyboard/mouse woes on 2.6 kernel
Hello, I recently did a fresh install of 2005.0 on a AMD thunderbird-based machine. I wasn't in the mood for kernel configuring, so I just let genkernel do it's thing, installing a 2.6 kernel. Things mostly went fine, however my keyboard and/or mouse keep going berserk... they just stop working half the time. I share the same keyboard with a windows machine, and it works fine (I'm typing this email with it). Last week, I noticed a lot of entries in the logs like this: Aug 16 22:33:53 venus atkbd.c: Unknown key released (translated set 2, code 0xe0 on isa0060/serio0). Aug 16 22:33:53 venus atkbd.c: Use 'setkeycodes e060 ' to make it known. Aug 16 22:40:18 venus atkbd.c: Unknown key pressed (translated set 2, code 0x8e on isa0060/serio0). Aug 16 22:40:18 venus atkbd.c: Use 'setkeycodes e00e ' to make it known. I found a thread on the forums where the poster went ahead and set the keycodes as indicated... for all of them. So, last week, I took the log and cut and paste it together to make a script that set all of them... at least until last night. It started printing these lines again, and I lost the mouse and the keyboard. Restarted X and it was okay for a few minutes, but then it freaked out again and then I couldn't type anything at the command line even after killing X. Oh, I also managed to find the mouse and keyboard boot info from my logs: Aug 9 20:28:35 venus input: AT Translated Set 2 keyboard on isa0060/serio0 Aug 9 20:28:35 venus input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1 So, if anyone has any ideas or can point me in any direction at all, that would be great. Ben PS: I also found the following stuff in my logs starting at the time when I lost control of the keyboard and mouse; there's this MTRR stuff and then hundreds of lines with the call trace stuff: Aug 16 22:46:31 venus mtrr: no MTRR for cd80,80 found Aug 16 22:46:31 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:31 venus mtrr: no MTRR for cd00,80 found Aug 16 22:46:38 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:38 venus mtrr: no MTRR for cd00,80 found Aug 16 22:46:56 venus mtrr: no MTRR for cd80,80 found Aug 16 22:46:56 venus mtrr: no MTRR for cc00,100 found Aug 16 22:46:56 venus mtrr: no MTRR for cd00,80 found Aug 16 22:48:08 venus Aug 16 22:48:08 venus sibling Aug 16 22:48:08 venus task PC pid father child younger older Aug 16 22:48:08 venus init S 0 1 0 2 (NOTLB) Aug 16 22:48:08 venus dfe3fecc 0082 00d0 c01313c2 c0131656 c039f200 c039eb00 Aug 16 22:48:08 venus 0001 c14053e0 082a 534ee15d 0001d93f c0399bc0 Aug 16 22:48:08 venus c1527a20 c1527b44 1f056d90 1f056d90 dfe3fed4 0800 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus migration/0 S C0399960 0 2 1 3 (L-TLB) Aug 16 22:48:08 venus c1541fac 0046 c1527b44 c0399960 dfe3fec4 c1527020 c1541fc4 c0334ffa Aug 16 22:48:08 venus c0405640 c14053e0 059d 207d3479 000e c1527020 Aug 16 22:48:08 venus c1527520 c1527644 2648 207cf161 c1405d20 c14053e0 c154 c1541fc0 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus ksoftirqd/0 S DF8A6090 0 3 1 4 2 (L-TLB) Aug 16 22:48:08 venus c1543fb4 0046 dffdfa40 df8a6090 dffdfa40 c1405d40 c14053e0 Aug 16 22:48:08 venus 0247 c14053e0 006e 018b730b 0001d93c c0399bc0 Aug 16 22:48:08 venus c1527020 c1527144 c1542000 c03fa380 c1542000 c0119771 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus events/0 R running 0 4 1 5 3 (L-TLB) Aug 16 22:48:08 venus khelper S C01118A4 0 5 1 6 4 (L-TLB) Aug 16 22:48:08 venus c154bf5c 0046 c154bf30 c01118a4 d84a45e0 dfe0aa40 c1511824 dfe0aa40 Aug 16 22:48:08 venus c1405d40 c14053e0 0156 0c3532c5 0001d92f dfe0aa40 Aug 16 22:48:08 venus dffdf540 dffdf664 0246 d2e6fdec c151180c 0246 c1511800 Aug 16 22:48:08 venus Call Trace: Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] Aug 16 22:48:08 venus [] etc -- gentoo-user@gentoo.org mailing list