Re: [gentoo-user] Good command for wiping a hard drive?
Mark Knecht schrieb: I'd like to pretty securely wipe the drive before shipping. dd if=/dev/null of=/dev/hda Alexander Skwar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Good command for wiping a hard drive?
Richard Fish schrieb: A good option for more speed would be to use aespipe to encrypt /dev/zero and write that output to the disk. Why do that? Overwritten data is already pretty much irrecoverable. Or do you know of ONE instance, where those rescue companies restored an OVERWRITTEN (ie. not something simple as burned or such) drive? And if you fear, that the CIA or FBI might recover data - use a metal shredder... Alexander Skwar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Good command for wiping a hard drive?
On Saturday 01 October 2005 16:15, Alexander Skwar wrote: Mark Knecht schrieb: I'd like to pretty securely wipe the drive before shipping. dd if=/dev/null of=/dev/hda Alexander Skwar dban: http://dban.sourceforge.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't emerge K3B -- SOLVEDAGAIN
Dan wrote: Hemmann, Volker Armin wrote: On Saturday 01 October 2005 15:36, Dan wrote: This is indeed a wonderful list. Everything is going extremely well. -HAL K3B is running well, looks good but it has no DVD Video copying option that I can find. On windows I had clone DVD. Source:Dual Layer DVD in one drive, Destination: Single Layer blank in burning drive. Press Go, wait 30 mins, done. Every time. A driver layer called AnyDVD strips the PUPs and other stuff and presents a clean disc to the next layer up. I don't have these in linux, so there's two questions: First, what working GUI can I use which will hande most standard feature films, and secondly what does gentoo use for handling access to the movies on the DVD? I know the answeres lie here and beyond http://linuxmafia.com/faq/Hardware/dvd.html but I am running out of time, I would like something simple running soon, I'm happy to mess around with command line transcoding later. Any more smart ideas? did you set the dvdr useflag? Yes. k3b is happy to go Tools -- Copy DVD but the heading says No video transcoding! Tools -- Encode video wants a project file, and all the options are greyed out. I run fluxbox, not kde so the help doesn't work and there's no man pages for k3b. google gives me lots of source code 9to5 looks like the tool for the job! Thanks for your help! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Good command for wiping a hard drive?
Alexander Skwar wrote: A good option for more speed would be to use aespipe to encrypt /dev/zero and write that output to the disk. Why do that? Overwritten data is already pretty much irrecoverable. Or do you know of ONE instance, where those rescue companies restored an OVERWRITTEN (ie. not something simple as burned or such) drive? And if you fear, that the CIA or FBI might recover data - use a metal shredder... Actually, even if you format a hard drive, it's still relatively easy to get the data off. Although we think of data in the digital domain, ones and zeros, there or not, hard drives are an analogue system using a variation in the magnetic field on a smooth plate, spinning at (usually) 120 revolutions per second and storing up to (I think) 120 billion 'bits' of information in one square inch of 'plate'. The accuracy needed to completely override the data for a particular sector is near improbable. Around the areas for any particular byte residual traces of a magnetic field can be found, if you have the right equipment. I can't remember the name of the program to do it, but if you want to securely erase a hard drive according to NSA/CIA/FBI standards, it needs 37 passes using RANDOM data! -- Jonathan Wright ~ mail at djnauk.co.uk ~ www.djnauk.co.uk -- 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+ up 23:38, 11 users, load average: 0.01, 0.16, 0.41 -- Memo to the Congress: Thanks for thinking of me, but I don't need you to defend my marriage. My husband and I can handle that ourselves. Spare me 'The Defense of Marriage Act' label on a bill banning same-sex marriages. The name implies that the value of heterosexual marriages goes down once you let homosexuals into the institution. There goes the neighborhood. I don't buy this realtor's view of relationships. Gay and lesbian couples who want to wed aren't trying to assail the grounds for marriage. They're trying to share them. If anything, they want to stabilize the gay community. ~ Syndicated Boston Globe columnist Ellen Goodman. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Good command for wiping a hard drive?
On 30 September 2005 22:50, Remy Blank wrote: Mark Knecht wrote: Sold my laptop on Ebay. It was dual boot Gentoo/XP Pro and had financial data on it. I'd like to pretty securely wipe the drive before shipping. I've already deleted all 10 partitions and written new partitions on which are different sizes and different file systems. What simple command can Ido to write data to the whole drive? Assuming your hard disk is /dev/hda, I'd do: dd if=/dev/zero of=/dev/hda bs=8M Then go have a coffee. If you want it more secure, go for this, a few times in a row (at least 7, I read): dd if=/dev/urandom of=/dev/hda bs=8M However, this will take a *long* time, as /dev/urandom is quite slow. But it will make the data unrecoverable even with expensive means. This doesn't really wipe out all data securely. It can still be recovered by special hardware. If you do both dds alternately 7 times, your data is gone. Reason: Writing zeros seven times to the harddrive doesn't change the magnetic properties much. Ideally, you should write zeros and 255s alternately several times. Uwe -- 95% of all programmers rate themselves among the top 5% of all software developers. - Linus Torvalds http://www.uwix.iway.na (last updated: 20.06.2004) -- gentoo-user@gentoo.org mailing list
[gentoo-user] k3b fails on cdrdao when making audio cd from mp3's
k3b writes iso's and random ecollections of files, ie data cd's fine. I am now trying to use k3b to take a sleection of mp3's amd make them into an audio cd (ie one my wife's old car stereo will play, not just a collection of mp3's on a cd). The conversion to .wav files goes well, but then I get cdrdao returned an unknown error (error 1) operation not permitted This isn't a permission thing as root gets the same result, and as I said k3b works for data cd's. Any clues out there? -- gentoo-user@gentoo.org mailing list
[gentoo-user] Linux installed from 2005.1 disk does not start
Hello! I am posting this to both gentoo-user and gentoo-ppc-user lists. My problem concerns the installation of Gentoo Linux on my G4 iMac, using the 2005.1 universal ppc disk. I should first mention that I have done this before, using the 2005.0 disk, and there was no trouble whatsoever. Now I have the same hardware and the same partitions. The install process went smoothly to its end, the kernel compiled at the first attempt, and the bootloader is well configured. But when I boot and choose l for Linux, I get this message (copied by hand): Please wait, loading kernel Elf32 kernel loaded Loading System.map System.map loaded at 0170, size:260 Kbytes Opening display /[EMAIL PROTECTED]/NVDA,[EMAIL PROTECTED] ok Copying OF device tree...done Calling quiesce... returning 0x0140 from prom_init And then everything hangs; the only way out is to cut the power. This is quite obscure to me and I am completely puzzled. I have found this occurrence (or something similar) reported a number of times on the Web, but without any useful answer. Has anybody on this list got an idea? I shall be grateful for all suggestions. Charles -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Right recipe for gentoo-user procmail
On Fri, 2005-09-30 at 19:54 -0400, Dave Nebinger wrote: Just set up the following recipe for postfix/courier-imapd/procmail: :0 * ^(From|Cc|To).*gentoo-user $HOME/.maildir/.Gentoo.User/new/ do not drop it in the new subdir, procmail will look after that. Also search on the right header: List-Id: Gentoo Linux mail gentoo-user.gentoo.org Just consider if someone sends a list message to the list with cc to you. Your recipe subverts the message designed for your inbox in to the Gentoo.User folder. Sound about right? Guess I'll find out before many of you can even reply ;-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] unable to execute i386-pc-linux-gnu-gcc
Am 1.10.2005 schrieb Brett I. Holcomb [EMAIL PROTECTED]: I'm installing from a stage 1 on 2005.0 LiveCD. I did the boot strap and a now am doing the emerge --emptytree system stage. However, I keep getting this error on python-fchksum AND files. unable to execute i386-pc-linux-gnu-gcc: No such file or directory error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1 I had the same error here recently. I solved it by symlinking the missing i386 stuff to the i686 pendants. Right now I have no access to the machine where the probleme arose but IIRC I just compared the folder structures of i386 with i686 and filled in the blanks so to say. Checking Bugzilla showed some bugs on this but the hints given did not work - I still get the error. That bug was marked a duplicate of another that had a long discussion on dependencies but no help on fixing it. I have not touched CHOST it is still CHOST=i686-pc-linux-gnu Any ideas on how to fix this? -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] sk98lin
Hi! I recently wanted to Install gentoo on my desktop computer (Acer 1804WSMi Laptop works fine with Gentoo!), but none of my two ethernet cards was working when I booted the universal installation CD. This is the composition of my system: Asus P5AD2 Deluxe Mainboard (Socket 775) Intel P4 3.4 Ghz (Hyperthreading - 2 virtual prozessors) 2G system memory (DDR2 - 533 MHz, bios automatically overclocks to 600MHz) 2x Marvell Yukon Gigabit Ethernet Cards (on board) 2x SATA-Harddisks (disks and controller work fine) 2x PATA CD/DVD ReWriter (working fine) Under SuSE Linux the driver sk98lin for the two ethernet cards works and exports eth0 and eth1, but when I booted the CD and manually modprobe sk98lin the driver, no ethernet cards were found. I found some other stuff about ASUS Mainboards on the Internet (sk98lin related), but it mostly didn't apply to my problem (I got NO error message during loading the module or in dmesg). Does somebody know what I could do? Thankful for every help, Martin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Good command for wiping a hard drive?
Jonathan Wright schrieb: Alexander Skwar wrote: A good option for more speed would be to use aespipe to encrypt /dev/zero and write that output to the disk. Why do that? Overwritten data is already pretty much irrecoverable. Or do you know of ONE instance, where those rescue companies restored an OVERWRITTEN (ie. not something simple as burned or such) drive? And if you fear, that the CIA or FBI might recover data - use a metal shredder... Actually, even if you format a hard drive, it's still relatively easy to get the data off. Well, but that's only so, because a format normally doesn't rewrite the whole device but only some header. I can't remember the name of the program to do it, I bet it's based on Secure Deletion of Data from Magnetic and Solid-State Memory by Peter Gutmann (see http://www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.html). but if you want to securely erase a hard drive according to NSA/CIA/FBI standards, There's no such thing. Those agencies recommend to incinerate harddrives containing sensitive data. it needs 37 passes using RANDOM data! No, it doesn't. That used to be true *AGES* ago with RLL/MFM drives, but no more with current drives. Nowadays, thanks to the improved reliability of harddrives, a simple overwrite with 0's is good enough. Back in May 2003, the german computermagazine c't send drives to ontrack, vogon and ibas with overwritten files. In *no* cases those companies could recover data. Even if data was just overwritten with 0! Those companies are only sucessful, when recovering data from burned or otherwise physically destroyed/inaccessible drives. Or do you have *PROVE* that those companies actually CAN recover overwritten data? I would *REALLY* be interested! Alexander Skwar -- gentoo-user@gentoo.org mailing list
[gentoo-user] kernel tuning
I've got a farm of 32-bit redhat 7 web servers that we're about to start migrating to gentoo on amd64 servers. One question my boss had that I can't seem to answer is this. Redhat kernels are supposedly tuned for sane defaults and I've done no tuning at all on the gentoo boxes. Using gentoo sources and NOT genkernel, can anyone give me some hints about what I need to look at? I'd be very embarrased if I replaced older 32-bit redhat 7 boxes with 64-bit gentoo boxes and the migration failed because I didn't change some parameter to tweak these guys for apache/zope. -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] unable to execute i386-pc-linux-gnu-gcc
Thank you. I finally did an emerge system and it all worked without problem. I may do what you say and see what happens. On Sat, 1 Oct 2005, [EMAIL PROTECTED] wrote: Am 1.10.2005 schrieb Brett I. Holcomb [EMAIL PROTECTED]: I'm installing from a stage 1 on 2005.0 LiveCD. I did the boot strap and a now am doing the emerge --emptytree system stage. However, I keep getting this error on python-fchksum AND files. unable to execute i386-pc-linux-gnu-gcc: No such file or directory error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1 I had the same error here recently. I solved it by symlinking the missing i386 stuff to the i686 pendants. Right now I have no access to the machine where the probleme arose but IIRC I just compared the folder structures of i386 with i686 and filled in the blanks so to say. -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list
[gentoo-user] xrandr rotation
Hi Rotatin my desktop orientation via the xrandr command (p.e. xrandr -o left) works perfectly from a konsol within the running kde-3.4.2! Unfortunately the equivalent command - xrandr -display :0.0 -o left - from a virtual terminal strikes with the following output message: Xlib: connection to :0.0 refused by server Xlib: No protocol specified kwin: can't connect to X server :0.0 Obviously there is a Xserver running with the specified displayname. The -(-)display-option of serveral commands(like kwin, etc.) refused to work as well with almost the same error. I think it's a problem with my xserver config but sadly i haven't found a solution on the internet. Can anybody help me? Thanks in advance Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ebuild for Lost Labyrinth
Hy Gentoo, I just uploaded Version 1.4.0 of Lost Labyrinth. This a very good release I think. We got a lot of new Stuff. The Windows Programmer did a Windows Version of it, because the new Linux Version is getting better than the Original I did a calculation and now I invested more than 413 hours in the development of this little game :-))) Markus Am Montag, 29. August 2005 22:54 schrieb Nick Rout: yes well when it is in portage the file will be updated into the portage tree automatically. in the meantime you have to download both the ebuild and the wrapper script, same as for any other new ebuild. Sorry if I didn't make this clear in the email with the new ebuild. I don't think its correct for an ebuild to create a script on the fly, ie embedded in the ebuild itself. FYI I have found a games ebuild howto which may lead me to change how the ebuild works before committing it to bugzilla and the terrible and swift swords of the devs... For example i stored the highscores.dat file (which needs to be writable) in /usr, whereas you shouldn't have programs writing to /usr, so it should go in /var somewhere. On Mon, 29 Aug 2005 12:47:02 -0700 Greg Bengeult wrote: Nick Rout wrote: did you have the laby wrapper script in /usr/local/portage/games-roguelike/laby/files ?? I posted the wrapper script with the first version of the ebuild. Nope, I didn't keep a copy of it at the time. To be considered complete, the ebuild should either include a copy of the wrapper or should create it on the fly. The user shouldn't have to do anything more than emerge laby. -- gentoo-user@gentoo.org mailing list -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] ATI 9700: how to configure tv out ?
Hi, I have an ATI radeon 9700 and i want to configure my tv out used with SVIDEO link. Actually i use fglrx driver. I want just a clone of my screen but it doesn't work. I tried atitvout but the tv is not detected when xorg started. Do i must configure a second screen in my xorg.conf to have a clone of my tv or can i do that adding options to my current device config ? thanks =) -- - shad -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xrandr rotation
I think it's a problem with my xserver config but sadly i haven't found a solution on the internet. Don't guess, tell us the facts. This implies an attached configuration file of X. Norman -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xrandr rotation
Norman Golisz wrote: I think it's a problem with my xserver config but sadly i haven't found a solution on the internet. Don't guess, tell us the facts. This implies an attached configuration file of X. Norman oh yes - you're right...here it comes Thanks Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/lib64/X11/rgb ModulePath /usr/lib64/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/75dpi/ FontPath /usr/share/fonts/100dpi/ EndSection Section Module Loadextmod #Load dri Loaddbe Loadrecord Loadxtrap Loadglx Loadtype1 Loadfreetype #Load Xrandr EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout de Option XkbVariantnodeadkeys EndSection Section InputDevice Identifier Mouse0 Driver mouse Option CorePointer Option Protocol ExplorerPS/2 Option Buttons 7 Option ButtonNumber 7 Option ZAxisMapping 6 7 Option Device/dev/input/mice #/dev/input/mouse0 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option DigitalVibrance # i #Option NoFlip# [bool] #Option Dac8Bit # [bool] Option NoLogoon #Option UBB # [bool] #Option Stereo# i #Option SWcursor # [bool] #Option HWcursor # [bool] #Option VideoKey # i #Option NvAGP # i #Option IgnoreEDID# [bool] #Option NoDDC # [bool] Option ConnectedMonitor DFP #Option ConnectedMonitors # str #Option TVStandard# str #Option TVOutFormat # str #Option RenderAccel # [bool] #Option CursorShadow # [bool] #Option CursorShadowAlpha # i #Option CursorShadowXOffset # i #Option CursorShadowYOffset # i #Option UseEdidFreqs # [bool] Option FlatPanelProperties Scaling = centered, Dithering = enabled Option RandRRotation on #Option TwinView # [bool] #Option TwinViewOrientation # str #Option SecondMonitorHorizSync# str #Option SecondMonitorVertRefresh # str #Option MetaModes # str #Option UseInt10Module# [bool] #Option NoTwinViewXineramaInfo# [bool] #Option NoRenderExtension # [bool] #Option Overlay # [bool] #Option CIOverlay # [bool] #Option ForceEmulatedOverlay # [bool] #Option TransparentIndex # i #Option OverlayDefaultVisual # [bool] #Option NvEmulate # i #Option NoBandWidthTest # [bool] #Option CustomEDID-CRT-0 # str #Option CustomEDID-CRT-1 # str #Option CustomEDID-DFP-0 # str #Option CustomEDID-DFP-1 # str #Option CustomEDID-TV-0 # str #Option CustomEDID-TV-1 # str #Option TVOverScan# f #Option IgnoreDisplayDevices # str #Option MultisampleCompatibility # [bool] #Option RegistryDwords# str #Option RegistryBinary# str Option NoBandwidthTest on Option NoPowerConnectorCheck on #Option AllowDFPStereo# [bool] #Option XvMCUsesTextures # [bool] #Option HorizSync # str #Option VertRefresh # str #Option
Re: [gentoo-user] kernel tuning
Sane defaults? Sounds a bit redundant to me. You will have to tweak the kernel sources since your not using genkernel (my experience with Redhat is minimal, I assume they use a type of generic kernel?). There's no way around it. Short story, if you want sane defaults, stick with the genkernel.On 10/1/05, John Jolet [EMAIL PROTECTED] wrote: I've got a farm of 32-bit redhat 7 web servers that we're about to startmigrating to gentoo on amd64 servers.One question my boss had that I can't seem to answer is this.Redhat kernels are supposedly tuned for sanedefaults and I've done no tuning at all on the gentoo boxes.Using gentoosources and NOT genkernel, can anyone give me some hints about what I need to look at?I'd be very embarrased if I replaced older 32-bit redhat 7 boxeswith 64-bit gentoo boxes and the migration failed because I didn't changesome parameter to tweak these guys for apache/zope.-- John Jolet Your On-Demand IT Department512-762-0729www.jolet.net[EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list-- - Mark Shields
Re: [gentoo-user] Re: no ebuild what to do?
--- Greg Yasko [EMAIL PROTECTED] wrote: maxim wexler blissfix at yahoo.com writes: Hello everybody, I'm sure this has been covered before but can't seem to google for it. I'd like to install dekagen but there are no ebuilds for it. I suppose I could just unpack it and follow the INSTALL doc but is that the appropriate gentoo way? -mw There is now an ebuild in Gentoo's bugzilla, so you could use Portdir_Overlay and provide some much needed testing. Could you explain how you found it? My searches always came up zarro. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Multi-services box
Ah well, I stand corrected. I at least had never heard or seen a UDMA44 standard in a BIOS setting or otherwise. This hard drive, btw, sustained physical damage (dropped while on). Long story on that one.On 9/30/05, Christoph Gysin [EMAIL PROTECTED] wrote: Mark Shields wrote: reports the speed as UDMA44 to the BIOS, when in fact there is no such standard and it should be UDMA66, but that's easily fixed with hdparm).Actually, there was a UDMA44 standard. It's defined in ATA-5 (Ansi NCITS 340-2000), tough I've never heard of hardware supporting only UDMA44...Christoph--echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list-- - Mark Shields
Re: [gentoo-user] Re: no ebuild what to do?
There is now an ebuild in Gentoo's bugzilla, so you could use Portdir_Overlay and provide some much needed testing. Well, I found it: http://bugs.gentoo.org/buglist.cgi?short_desc_type=allwordssubstrshort_desc=Newproduct=Gentoo+Linuxlong_desc_type=allwordssubstrlong_desc=bug_file_loc_type=allwordssubstrbug_file_loc=bug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDemailtype1=exactemail1=emailtype2=exactemail2=bugidtype=includebug_id=votes=changedin=chfieldfrom=chfieldto=Nowchfieldvalue=cmdtype=doitnewqueryname=order=Reuse+same+sort+as+last+timefield0-0-0=nooptype0-0-0=noopvalue0-0-0= but only because I clicked on something at random culled from google. Since I can't know in advance what the bug# is, why does a search for the ebuild by name come up empty in gentoo bugzilla? __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sk98lin
Try: modprobe sk98lin -- #Joseph On Sat, 2005-10-01 at 13:43 +0200, Martin Ullrich wrote: Hi! I recently wanted to Install gentoo on my desktop computer (Acer 1804WSMi Laptop works fine with Gentoo!), but none of my two ethernet cards was working when I booted the universal installation CD. This is the composition of my system: Asus P5AD2 Deluxe Mainboard (Socket 775) Intel P4 3.4 Ghz (Hyperthreading - 2 virtual prozessors) 2G system memory (DDR2 - 533 MHz, bios automatically overclocks to 600MHz) 2x Marvell Yukon Gigabit Ethernet Cards (on board) 2x SATA-Harddisks (disks and controller work fine) 2x PATA CD/DVD ReWriter (working fine) Under SuSE Linux the driver sk98lin for the two ethernet cards works and exports eth0 and eth1, but when I booted the CD and manually modprobe sk98lin the driver, no ethernet cards were found. I found some other stuff about ASUS Mainboards on the Internet (sk98lin related), but it mostly didn't apply to my problem (I got NO error message during loading the module or in dmesg). Does somebody know what I could do? Thankful for every help, Martin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sk98lin
IIRC, sk98lin is deprecated; use skge instead (I have one Marvell Yukon Gigabit NIC on my home PC).On 10/1/05, Joseph [EMAIL PROTECTED] wrote:Try:modprobe sk98lin--#Joseph On Sat, 2005-10-01 at 13:43 +0200, Martin Ullrich wrote: Hi! I recently wanted to Install gentoo on my desktop computer (Acer 1804WSMi Laptop works fine with Gentoo!), but none of my two ethernet cards was working when I booted the universal installation CD. This is the composition of my system: Asus P5AD2 Deluxe Mainboard (Socket 775) Intel P4 3.4 Ghz (Hyperthreading - 2 virtual prozessors) 2G system memory (DDR2 - 533 MHz, bios automatically overclocks to 600MHz) 2x Marvell Yukon Gigabit Ethernet Cards (on board) 2x SATA-Harddisks (disks and controller work fine) 2x PATA CD/DVD ReWriter (working fine) Under SuSE Linux the driver sk98lin for the two ethernet cards works and exports eth0 and eth1, but when I booted the CD and manually modprobe sk98lin the driver, no ethernet cards were found. I found some other stuff about ASUS Mainboards on the Internet (sk98lin related), but it mostly didn't apply to my problem (I got NO error message during loading the module or in dmesg). Does somebody know what I could do? Thankful for every help, Martin--gentoo-user@gentoo.org mailing list -- - Mark Shields
Re: [gentoo-user] xrandr rotation
wOmbad wrote: Hi Rotatin my desktop orientation via the xrandr command (p.e. xrandr -o left) works perfectly from a konsol within the running kde-3.4.2! Unfortunately the equivalent command - xrandr -display :0.0 -o left - from a virtual terminal strikes with the following output message: Xlib: connection to :0.0 refused by server Xlib: No protocol specified kwin: can't connect to X server :0.0 Obviously there is a Xserver running with the specified displayname. The -(-)display-option of serveral commands(like kwin, etc.) refused to work as well with almost the same error. I think it's a problem with my xserver config but sadly i haven't found a solution on the internet. Nothing to do with your xorg.conf, but with the X security mechanisms. By default X uses magic cookies to authenticate clients...any client that knows the magic password can access the display. One of the jobs of kdm is that once you have logged into the display, it creates ~/.Xauthority so that the programs that are run under your login know the password. But it only does this _after_ you login. While the login window is displayed, the magic file is /var/run/xauth/A:0-??, and is owned by root. So to run an xclient (like xrandr, xlogo, or xconsole), you need to point them to the correct xauthority file, and also run them as root. The tricky part is that the name of the file changes each time kdm is run. The following commands, run as root, should do the trick though: export XAUTHORITY=/var/run/xauth/`ls -rt /var/run/xauth/ | tail -n 1` xlogo -display :0 You can replace xlogo with xrandr or any other client you want to run. If this seems like too much work, you can add a xhost localhost to /usr/kde/3.4/share/config/kdm/Xsetup, but then you have no security at all for locally run clients. All of this only applies if you are using kdm as your login manager. If you are using gdm, xdm, or another login manager, you'll have to figure out how they handle xauth security. Anyway, you may want to read up on the ACCESS CONTROL section in the X man page, or read the Xsecurity man page. HTH, -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kernel tuning
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Shields wrote: Sane defaults? Sounds a bit redundant to me. You will have to tweak the kernel sources since your not using genkernel (my experience with Redhat is minimal, I assume they use a type of generic kernel?). There's no way around it. Short story, if you want sane defaults, stick with the genkernel. On 10/1/05, *John Jolet* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've got a farm of 32-bit redhat 7 web servers that we're about to start migrating to gentoo on amd64 servers. One question my boss had that I can't seem to answer is this. Redhat kernels are supposedly tuned for sane defaults and I've done no tuning at all on the gentoo boxes. Using gentoo sources and NOT genkernel, can anyone give me some hints about what I need to look at? I'd be very embarrased if I replaced older 32-bit redhat 7 boxes with 64-bit gentoo boxes and the migration failed because I didn't change some parameter to tweak these guys for apache/zope. -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net http://www.jolet.net [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list -- - Mark Shields IIRC, RedHat kernels are relatively generic in that they have almost everything turned on, and/or build the modules so that they can maximize the hardware compatibility. So it is likely that there will be tones of stuff that was turned on, or had modules build for it, that you didn't need. The same will likely be the case for the gentoo kernel. You're best bet is to spend the time on one system going through each kernel option (within reason), if you don't know what it does, read the help and/or turn it off (it will give a recommended setting in the Help). Once you've got your config, use that to build the kernels for the rest fo your systems. I know it's a lot of work, but once you've done it, subsequent configs/compiles for kernel upgrades, security patches, etc. will go MUCH faster. 1) Because you'll have a pre-defined kernel config. 2) You'll know what most of the kernel options are (at least superficially) and which ones you need enabled. You'll just have to read the help for any new ones that pop up. ;-) HTH - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDPuqXLYGSSmmWCZMRAhxlAKDrXCbDtafJPdObBrot58t9Zxuv8ACgjQtw g2gJWap5M6/a415dDccJpdU= =NRaR -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: no ebuild what to do?
--- Greg Yasko [EMAIL PROTECTED] wrote: Greg Yasko gyasko at cox.net writes: Login as root and do a mkdir -p /usr/local/portage/app-cdr/dekagen Then cd to the dekagen directory you just created. Copy the ebuild, which is at gentoo bugzilla under app-cdr/dekagen to your dekagen directory. Run ebuild dekagen-1.0.2.ebuild digest in the dekagen directory. Add app-cdr/dekagen ~x86 to /etc/portage/package.keywords Finally, do an emerge dekagen and it should work. Yow! dayglo ~ # emerge -pv dekagen These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] sys-apps/eject-2.0.13-r1 +nls 58 kB [ebuild N] media-sound/bladeenc-0.94.2-r1 139 kB [ebuild N] x11-libs/openmotif-2.2.3-r3 5,029 kB [ebuild N] media-libs/flac-1.1.1 +sse +xmms 1,432 kB [ebuild N] media-sound/xmcd-3.3.2 +alsa +encode +vorbis 1,599 kB [ebuild N] app-cdr/dekagen-1.0.2 0 kB Total size of downloads: 8,259 kB Somebody said bloat? Why do I need all this stuff when it works out of the box simply by running the script? Good luck. -G.Y. Whoops! I forgot to tell you to copy the ebuild to it's directory. See above. -- gentoo-user@gentoo.org mailing list __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
[gentoo-user] ddd not working right
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, today I recompiled my ddd and now I'm getting this messages a lot [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] the only important thing that I have change in my system since last time I builded ddd is that I now have glibc with nptl and nptl-only flags set up. That's the reason why I'm getting that messages? What could I do? BTW, I recompiled gdb later and no changes - -- Rodrigo Lazo (rlazo) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDPv0AcSM2/etFWtgRAh61AJ4oVSbGE8oJM0dhURS8CR2BV8KAugCaAyOe A44Qe1hAcMHi3l4Xr8qAmOc= =cwZc -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] unable to execute i386-pc-linux-gnu-gcc
Well, I did an emerge --emptytree system today and it all of them worked - no errors. I guess the emerge system put whatever was needed in place although I do not have an i386 directory. I was already to try your fix! I'll file it for future reference. On Sat, 1 Oct 2005, [EMAIL PROTECTED] wrote: Am 1.10.2005 schrieb Brett I. Holcomb [EMAIL PROTECTED]: I'm installing from a stage 1 on 2005.0 LiveCD. I did the boot strap and a now am doing the emerge --emptytree system stage. However, I keep getting this error on python-fchksum AND files. unable to execute i386-pc-linux-gnu-gcc: No such file or directory error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1 I had the same error here recently. I solved it by symlinking the missing i386 stuff to the i686 pendants. Right now I have no access to the machine where the probleme arose but IIRC I just compared the folder structures of i386 with i686 and filled in the blanks so to say. Checking Bugzilla showed some bugs on this but the hints given did not work - I still get the error. That bug was marked a duplicate of another that had a long discussion on dependencies but no help on fixing it. I have not touched CHOST it is still CHOST=i686-pc-linux-gnu Any ideas on how to fix this? -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list -- Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage, network less install and Apache, MySQL, PHP
Answer to 1: Yes, if you download a portage-timestamp.tar.bz2 file and uncompress it on /usr/portage, it has the same effect as emerge --sync. Actually, to be more precise, the same effect as emerge-webrsync. Unforunately, this consumes more bandwidth, since it downloads ebuilds you don't need to update as well. But, in a proxy enviroment that doesn't allow rsync, it is the only choice you have. Answer to 2: Portage doesn't really care how you download the source packages, as long as they have the same md5sum. So, if you download them separetely and move them to /usr/portage/distfiles, you should be fine. Answer to 3: See 1 and 2. :) 2005/9/30, Daniel da Veiga [EMAIL PROTECTED]: Greetings, I just managed to install (network less Universal CD install) Gentoo on my Pentium 100 with 48MB of RAM (yeah, it was hard, but I got the fastest system this poor hardware ever had), its working fine with minimal on everything, but as I have limited network access (proxy), I can't update, neither the usual emerge --sync nor emerge-webrsync works, the RSYNC is blocked for sure, and I suppose webrsync is trying to download something (all downloads are filtered, except for some extensions, but tar.bz2 and tar.gz are filtered). I scheduled the download of the last portage tree (snapshot) and MySQL and Apache latest versions and its dependencies, but I'm pretty sure I won't be able to install them, because when calculating dependencies, emerge fails (too old for the latest versions, and they're masked). So, I ask: 1) If I get the latest snapshot, will it be like an emerge --sync? 2) If I download all packages and dependencies, will I be able to install the masked version after pretending the sync with the snapshot? 3) Has anyone tried this? If I manage to install it, I'll get like 4 new servers using replication with hardware that would be trash nowadays (that's good for business). Thanks for all answers, -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] download first and compile later?
It is also very useful on a office enviroment. Normally, on offices, at least on my personal experiences, the entire staff is consuming bandwidth during commercial hours. So you can use a cron job to --fetchonly the packages you want from hours 21:00 to 06:00. Then on the next day, all you have to do is compile. 2005/9/30, Mark Shields [EMAIL PROTECTED]: Quick note: --fetchonly is also useful if for some reason the md5 checksum fails on the source files. On 9/30/05, Uwe Thiem [EMAIL PROTECTED] wrote: On 30 September 2005 06:57, vikram ranade wrote: Quick question I looked in the emerge man pages but i cant seem to figure out how to download all the packages using emerge and then compile them is there some parameter that i can use? emerge download first parameter package ? or do i have to mess with the make.conf file? You are looking for --fetchonly. Uwe -- 95% of all programmers rate themselves among the top 5% of all software developers. - Linus Torvalds http://www.uwix.iway.na (last updated: 20.06.2004) -- gentoo-user@gentoo.org mailing list -- - Mark Shields -- gentoo-user@gentoo.org mailing list
[gentoo-user] /var/db/pkg deleted
hi people I have a problem, i have deleted db of packages installed (/var/db/pkg) and I need to know if it is possible to recuper it with a command. best regards. -- Javier Uribe Puerto Montt - Chile juribe at linuxchile dot cl Old at heart but I'm only 28 And I'm much too young To let love break my heart... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /var/db/pkg deleted
Try this http://gentooexperimental.org/script/repo/show/28 On Thu, 2004-07-15 at 20:25 -0400, Javier Uribe wrote: hi people I have a problem, i have deleted db of packages installed (/var/db/pkg) and I need to know if it is possible to recuper it with a command. best regards. -- Javier Uribe Puerto Montt - Chile juribe at linuxchile dot cl Old at heart but I'm only 28 And I'm much too young To let love break my heart... -- live free() or die() Jadex signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] /var/db/pkg deleted
El Sáb 01 Oct 2005 21:06, Yoandy Rodriguez escribió: Try this http://gentooexperimental.org/script/repo/show/28 Thanks solved :D -- Javier Uribe Puerto Montt - Chile juribe at linuxchile dot cl Old at heart but I'm only 28 And I'm much too young To let love break my heart... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /var/db/pkg deleted
On Friday 16 July 2004 11:10, Javier Uribe wrote: El S?b 01 Oct 2005 21:06, Yoandy Rodriguez escribi?: Try this http://gentooexperimental.org/script/repo/show/28 Thanks solved :D -- Javier Uribe Puerto Montt - Chile juribe at linuxchile dot cl Great - now all you have to work out is how to set your system date ;-) -- gentoo-user@gentoo.org mailing list
[gentoo-user] Scanner Trouble
Hi, When I first installed Gentoo on my main machine about a month ago, my scanner was working just fine. I don't use it that much, but today when I went to use it (using xsane), I got a message that no devices were found. I checked dmesg and as far as I can tell, there doesn't seem to be anything wrong. The only thing that I did that might have affected it (although it doesn't seem to have affected anything else) is: emerge --update --deep mozilla-firefox (because there was an updated Firefox package) When I did this, emerge updated 26 packages including some x packages, so I don't know if this is what is causing the problem. The scanner works in Window - I tested it to be sure that it wasn't a scanner problem. Additionally, I used to have this problem when I ran FC4 all the time. I have a USB printer, zip drive and game pad all connected to my system and all work fine. The scanner is USB as well and in FC4, I used to always have to remove the usb cable and plug it back in again and then I could get xsane to recognize the scanner. However, I tried that and had no luck. Any ideas? Regards, Colleen -- gentoo-user@gentoo.org mailing list
[gentoo-user] error while loading shared libraries: libdc1394_control.so.9
I'm trying to run a script to convert avi files to vob. I'm getting an error I can't track down. I know the script works as I have another Gentoo box that runs it fine. The error is: ffmpeg: error while loading shared libraries: libdc1394_control.so.9: cannot open shared object file: No such file or directory I ran emerge -s libdc which shows I have media-libs/libdc1394 Latest version available: 1.0.0 Any ideas? Thanks, Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Scanner Trouble
On Sat, 2005-10-01 at 22:45 -0400, C. Beamer wrote: Hi, When I first installed Gentoo on my main machine about a month ago, my scanner was working just fine. I don't use it that much, but today when I went to use it (using xsane), I got a message that no devices were found. I checked dmesg and as far as I can tell, there doesn't seem to be anything wrong. The only thing that I did that might have affected it (although it doesn't seem to have affected anything else) is: emerge --update --deep mozilla-firefox (because there was an updated Firefox package) When I did this, emerge updated 26 packages including some x packages, so I don't know if this is what is causing the problem. The scanner works in Window - I tested it to be sure that it wasn't a scanner problem. Additionally, I used to have this problem when I ran FC4 all the time. I have a USB printer, zip drive and game pad all connected to my system and all work fine. The scanner is USB as well and in FC4, I used to always have to remove the usb cable and plug it back in again and then I could get xsane to recognize the scanner. However, I tried that and had no luck. Any ideas? Regards, Colleen Start at the beginning :-) what is the output of lsusb If you run watch --interval=1 lsusb can you see the scanner being plugged and unplugged (you may need to run these commands as root) Have you checked your /etc/sane.d/dll.conf to make sure that the backend that you need is not commented out by a rogue update? what is the output of scanimage -L and sane-find-scanner can root use the scanner? What are the permissions on the scanner device? (I assume that the user wanting to use it has to be in the scanner group? sane-backends makes the scanner group so I assume thats what it is for.) what modules get loaded for the scanner? (lsmod) -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Scanner Trouble - Solved (I think)
Hi all, I honestly don't know what I did. I was playing around checking different settings and now xsane works fine. Sorry for the bother. Regards, Colleen C. Beamer wrote: Hi, When I first installed Gentoo on my main machine about a month ago, my scanner was working just fine. I don't use it that much, but today when I went to use it (using xsane), I got a message that no devices were found. I checked dmesg and as far as I can tell, there doesn't seem to be anything wrong. The only thing that I did that might have affected it (although it doesn't seem to have affected anything else) is: emerge --update --deep mozilla-firefox (because there was an updated Firefox package) When I did this, emerge updated 26 packages including some x packages, so I don't know if this is what is causing the problem. The scanner works in Window - I tested it to be sure that it wasn't a scanner problem. Additionally, I used to have this problem when I ran FC4 all the time. I have a USB printer, zip drive and game pad all connected to my system and all work fine. The scanner is USB as well and in FC4, I used to always have to remove the usb cable and plug it back in again and then I could get xsane to recognize the scanner. However, I tried that and had no luck. Any ideas? Regards, Colleen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /var/db/pkg deleted
Note the date the message was sent: On Thursday 15 July 2004 09:10 pm, Javier Uribe wrote: El Sáb 01 Oct 2005 21:06, Yoandy Rodriguez escribió: Try this http://gentooexperimental.org/script/repo/show/28 Thanks solved :D Now that you have that fixed, Javier, you might want to take a look at how to set the date on your system. Either that or you live in some kind of timewarp where you posted this in 2004 and it's just now being delivered... ;-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: no ebuild what to do?
On Sat, 2005-10-01 at 13:54 -0700, maxim wexler wrote: --- Greg Yasko [EMAIL PROTECTED] wrote: Greg Yasko gyasko at cox.net writes: Login as root and do a mkdir -p /usr/local/portage/app-cdr/dekagen Then cd to the dekagen directory you just created. Copy the ebuild, which is at gentoo bugzilla under app-cdr/dekagen to your dekagen directory. Run ebuild dekagen-1.0.2.ebuild digest in the dekagen directory. Add app-cdr/dekagen ~x86 to /etc/portage/package.keywords Finally, do an emerge dekagen and it should work. Yow! dayglo ~ # emerge -pv dekagen These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] sys-apps/eject-2.0.13-r1 +nls 58 kB [ebuild N] media-sound/bladeenc-0.94.2-r1 139 kB [ebuild N] x11-libs/openmotif-2.2.3-r3 5,029 kB [ebuild N] media-libs/flac-1.1.1 +sse +xmms 1,432 kB [ebuild N] media-sound/xmcd-3.3.2 +alsa +encode +vorbis 1,599 kB [ebuild N] app-cdr/dekagen-1.0.2 0 kB Total size of downloads: 8,259 kB Somebody said bloat? Why do I need all this stuff when it works out of the box simply by running the script? because the ebuild has dragged in every optional dependency of dekagen including stuff that isn't actually needed to run it. dekagen is a console package, but appears to optionally use xmcd which requires openmotif. As for the others, well you will have seen from the dekagen docs (and from running the program) that you can choose rippers and encoders, and that there are therefore a whole lot of optional dependencies. You can run it without all of those options installed, you just don't get to use the ones you don't have (you obviously need a minimum of one ripper and one encoder for it to do its thing). for example dekagen can use any of the following to rip cd's: cdda2wav, cdparanoia, dagrab, or tosha. If you have just one of them installed it will work. If you want the option of trying them all as backends, you can install them all (although I am not sure that they are all in portage). Same with encoding, you can use any of 8hz-mp3, bladeenc, l3enc, lame, mp3enc, or notlame, or oggenc. The docs also say: You might also wish to install: 3. xmcd, 4. id3ed, id3tag, id3tool, or mp3info. I think the ebuild that has been written is dragging them all in whether you want them or not. The ebuild author admits it is his first ebuild and that he just copied another one. No criticism to him, but feel free to fix it :-) It'll probably end up with a whole lot of use flags, so you can control it's dependencies. Seems incredible overkill for a 34k shell script. Good luck. -G.Y. Whoops! I forgot to tell you to copy the ebuild to it's directory. See above. -- gentoo-user@gentoo.org mailing list __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list