Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
On Mon, Apr 04, 2005 at 06:49:02PM -0400, Robert G. Hays wrote Tty's are still 80x25, that's after a **LOT** of work. I really need this fixed too, I'll tackle this part. SVGATextMode is an absolute pain to get right. And you don't really need it for a nice crisp 80x48 (YES!) text display. First, make sure that you've enabled alternate text modes to begin with. The make menuconfig path is... Device Drivers --- Graphics support --- Console display driver support --- [*] Video mode selection support You *MUST* have Video mode selection support enabled. If it's not enabled, do so now. Next step is to put vga=6 into lilo or grub. When you reboot, you'll end up in the alternate VGA text mode, which is 640 pixels across by 480 scanlines. vga=6 loads the crummy 8x8 CGA fonts. This gives... 640 x 480 - = 80 x 60 8 x 8 Lots of lines, but murder on my eyes. Rather than 8 x 8 CGA, I prefer the following option in /etc/rc.conf CONSOLEFONT=lat1-10 This invokes an 8 x 10 font, which gives... 640 x 480 - = 80 x 48 8 x 10 Because of the extra 25% vertical detail, this gives a *MUCH* more readable display than vga=1 80 x 50 mode, which uses CGA 8 x 8 fonts on the default 640 x 400 VGA mode. For more details see my webpage... http://www.waltdnes.org/tips_and_tricks/textmodes.html -- Walter Dnes [EMAIL PROTECTED] An infinite number of monkeys pounding away on keyboards will eventually produce a report showing that Windows is more secure, and has a lower TCO, than linux. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
(Leaving all text intact for others to find all in one place.) Walter Thank You! This sounds very like what I am looking for for the consoles (though I would prefer longer lines). *And* it sounds like it won't mess with X. If I can't get X said wider console both working, I'll certainly try this. May even try it next time I boot Gentoo (in win now...) to ease the rest of the install work. Also printing this! ( B.T.W., Matir in LinuxQuestion.org provided an ATI-X link :: http://gentoo-wiki.com/HOWTO_ATI_Drivers that looks hopeful; checking now. ) Thank You!, Robert G. Hays. Walter Dnes wrote: On Mon, Apr 04, 2005 at 06:49:02PM -0400, Robert G. Hays wrote Tty's are still 80x25, that's after a **LOT** of work. I really need this fixed too, I'll tackle this part. SVGATextMode is an absolute pain to get right. And you don't really need it for a nice crisp 80x48 (YES!) text display. First, make sure that you've enabled alternate text modes to begin with. The make menuconfig path is... Device Drivers --- Graphics support --- Console display driver support --- [*] Video mode selection support You *MUST* have Video mode selection support enabled. If it's not enabled, do so now. Next step is to put vga=6 into lilo or grub. When you reboot, you'll end up in the alternate VGA text mode, which is 640 pixels across by 480 scanlines. vga=6 loads the crummy 8x8 CGA fonts. This gives... 640 x 480 - = 80 x 60 8 x 8 Lots of lines, but murder on my eyes. Rather than 8 x 8 CGA, I prefer the following option in /etc/rc.conf CONSOLEFONT=lat1-10 This invokes an 8 x 10 font, which gives... 640 x 480 - = 80 x 48 8 x 10 Because of the extra 25% vertical detail, this gives a *MUCH* more readable display than vga=1 80 x 50 mode, which uses CGA 8 x 8 fonts on the default 640 x 400 VGA mode. For more details see my webpage... http://www.waltdnes.org/tips_and_tricks/textmodes.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
On Apr 4, 2005 6:52 PM, Robert G. Hays [EMAIL PROTECTED] wrote: Replies inlined... Justin Patrin wrote: On Apr 4, 2005 5:58 PM, Robert G. Hays [EMAIL PROTECTED] wrote: Thank you for the reply! The problem is to date, I cannot get Xorg to go to a higher resolution than 640x480, and only acknolwedges one of the two monitors (uselessly duplicates teh one monitor onto the other, which is the power-on default for the card. I was trying to find any such while running Gentoo, but no framebeffer, either, and so far Gentoo does not like my ps/2 trackbball-mouse, so I had no luck. Today I have booted Win98SE, and am just about to go looking again where I can *see* something besides all those lovely serifs in 80x25 mode. And I have spent the last 7, repeat, *seven* entire days trying to get Gentoo installed. What I need is 10x7 + 10x7, or better yet 12x10 + 10x7, either as one large desltop or as two separate desktops, preferrably switchable by momentarily zapping X issuing one command from the tt, probably just swappping between two X*.conf's. I did try the Gentoo fglrx driver config, but after emerging it, I found out that this is still Xfree86-only, so I can't use it under Xorg. I don't know why you think this...the fglrx and config program work fine for xorg since a little while ago. The first version I used I had to change some conf settings (found on a howto), but the latest version I had installed created a conf that worked fine in xorg. Did you try ~x86? 1) 'startx' fails, and the Xorg log states that fglrx requires Xfree86, thus why I think this; did I miss something? Or are there two versions of fglrx., one for each Xorg Xfree86? emerge coulda got da wrong one, I s'pose... (whatever the computer did, was whatever it darned jolly well wanted to, but on top of that, yeah, I do claim to be human, with all that that implies...) Bottom line, do you happen to know the correct version for emerge's Xorg on k-2.6.11-g-r4 or something near-by? Well...I don't know what to tell you. I updated to the newest driver and it supported xorg. My computer is unfortunately down so I can't really tell you what version is installed (argh). It *does* support xorg, though. I *know* I was running xorg-x11. 2) '-x86'; please specify where in what you mean; part of 'created fixes' was stage3 from universalCD, and ended up building everything new as -march=athlon-xp? Did I do a 'goofus, Rufus, you doofus' here? Maybe I need to rebuild *everyting* (...human...)? You never need to rebuild everything unless you goofed up your arch or cpu, in which case you're very likely to be screwed. By ~x86 I meant did you try the unstable version of the ati driver? To do this you need to add an entry in the /etc/portage/package.keywords file (I think). Sorry, again my server is down so I don't have the exact line. Check the portage usage manual pages for more. Also, I noticed that switching between the conf files didn't seem to work. I think the config program may make some other changes (perhaps some /proc stuff?) which forced me to re-run the config program if I wanted to change my configuration. ...re-run the config program... Urgh!; Well, I can go looking, if so maybe I can find a way to deal with that, too... Thank you for _that_ warning; I'll be prepared if I can ever get that far. Yeah...it's a pain. But perhaps *I* was doing something wrong. ;-) Thanks again!, rgh. So, I need a full-feature driver that runs under Xorg, or I need the Xfree86 system installed. Any thoughts? -- gentoo-user@gentoo.org mailing list -- Justin Patrin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
Inlined, with snips where appropriate. Justin Patrin wrote: snip 1) 'startx' fails, and the Xorg log states that fglrx requires Xfree86, thus why I think this; did I miss something? Or are there two versions of fglrx., one for each Xorg Xfree86? Bottom line, do you happen to know the correct version for emerge's Xorg on k-2.6.11-g-r4 or something near-by? Well...I don't know what to tell you. I updated to the newest driver and it supported xorg. My computer is unfortunately down so I can't really tell you what version is installed (argh). It *does* support xorg, though. I *know* I was running xorg-x11. I found more info, thus new things to try until I get it right (maybe I'm holding my mouth the wrong way?). If it is there, I will find it, probably with a little help from my friends! 2) '-x86'; please specify where in what you mean; part of 'created fixes' was stage3 from universalCD, and ended up building everything new as -march=athlon-xp? Did I do a 'goofus, Rufus, you doofus' here? Maybe I need to rebuild *everyting* (...human...)? You never need to rebuild everything unless you goofed up your arch or cpu, in which case you're very likely to be screwed. By ~x86 I meant did you try the unstable version of the ati driver? To do this you need to add an entry in the /etc/portage/package.keywords file (I think). Sorry, again my server is down so I don't have the exact line. Check the portage usage manual pages for more. I don't *think* I did that -- if I did, then the instruction need improving, badly! ...re-run the config program... Urgh!; Well, I can go looking, if so maybe I can find a way to deal with that, too... Thank you for _that_ warning; I'll be prepared if I can ever get that far. Yeah...it's a pain. But perhaps *I* was doing something wrong. ;-) I doubt it, yours worked! Thanks again!, rgh. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
Thanks, I'll check what emerge got, fix if/as needed. Re ATI-drivers, there's a petition :: http://www.linuxforums.org/forum/topic-27729-0.htmlhighlight= Might want to add your sig to it, convince other Linux people to. I love ATI, and they were the original linux-supporting vendor. I would guess they got laze because too little saled from linux community -- now we need to convince them that now there *is* enough to be worth their time, *if* the drivers are *good*. rgh. Richard Fish wrote: Well...I don't know what to tell you. I updated to the newest driver and it supported xorg. My computer is unfortunately down so I can't really tell you what version is installed (argh). It *does* support xorg, though. I *know* I was running xorg-x11. Ati-drivers-8.10.19 is current, and I also have used them with xorg-x11, although I can't remember if that was with x.org 6.8.0 or 6.8.2. I don't use them currently though, and my opinion of ATI's supposed linux support not really fit for print. Suffice to say my next laptop will have Intel or NVidia graphics. -Richard -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help! xorg doesn't recognise my pci-express card!
daniel wrote: I noticed that it doesn't really give the name of the card, so maybe it doesn't know how to use it? There's no option in the kernel config to enable PCI-Express in this case -- not sure why, since there is on my other athlon-tbird machine. Is this because I'm using an athlon64? I just checked it. With $ make ARCH=x86_64 menuconfig there is no option for PCIe. You could try building a kernel for the i386 arch, then see if Xorg can access PCIe. You'll lose the advantage of your 64 bits, but thats still better than Windows ;-) Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
please stop shouting, what precisely is the question? if you want your ATI card sorted, why do we have to be bombarded with info on your router and partitioning? On Mon, 04 Apr 2005 18:49:02 -0400 Robert G. Hays wrote: -- Nick Rout -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
Thank you for the reply! The problem is to date, I cannot get Xorg to go to a higher resolution than 640x480, and only acknolwedges one of the two monitors (uselessly duplicates teh one monitor onto the other, which is the power-on default for the card. I was trying to find any such while running Gentoo, but no framebeffer, either, and so far Gentoo does not like my ps/2 trackbball-mouse, so I had no luck. Today I have booted Win98SE, and am just about to go looking again where I can *see* something besides all those lovely serifs in 80x25 mode. And I have spent the last 7, repeat, *seven* entire days trying to get Gentoo installed. What I need is 10x7 + 10x7, or better yet 12x10 + 10x7, either as one large desltop or as two separate desktops, preferrably switchable by momentarily zapping X issuing one command from the tt, probably just swappping between two X*.conf's. I did try the Gentoo fglrx driver config, but after emerging it, I found out that this is still Xfree86-only, so I can't use it under Xorg. So, I need a full-feature driver that runs under Xorg, or I need the Xfree86 system installed. Any thoughts? Thansk, rgh. (And I am *very* computer knowledgeable, and a professional programmer for ~18 years. I can usually do anything needed by myself. But let's just say that I found a lot of things to fix to install Gentoo. Why? I don't know, but I did create fixes for all up to here so far. Which is by way of explaining why I was 'shouting'. If I can ever get Gentoo working to my needs, it looks to be the greatest thing since sliced bread, but meanwhile, I am getting a little behind in my income, and I can't afford much more of this; and I am just about to have to give up on linux go back to Windows, which crashes about ever 30 minutes, and *hope* that I can install yet more software so I can do this new project.) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
On Apr 4, 2005 5:58 PM, Robert G. Hays [EMAIL PROTECTED] wrote: Thank you for the reply! The problem is to date, I cannot get Xorg to go to a higher resolution than 640x480, and only acknolwedges one of the two monitors (uselessly duplicates teh one monitor onto the other, which is the power-on default for the card. I was trying to find any such while running Gentoo, but no framebeffer, either, and so far Gentoo does not like my ps/2 trackbball-mouse, so I had no luck. Today I have booted Win98SE, and am just about to go looking again where I can *see* something besides all those lovely serifs in 80x25 mode. And I have spent the last 7, repeat, *seven* entire days trying to get Gentoo installed. What I need is 10x7 + 10x7, or better yet 12x10 + 10x7, either as one large desltop or as two separate desktops, preferrably switchable by momentarily zapping X issuing one command from the tt, probably just swappping between two X*.conf's. I did try the Gentoo fglrx driver config, but after emerging it, I found out that this is still Xfree86-only, so I can't use it under Xorg. I don't know why you think this...the fglrx and config program work fine for xorg since a little while ago. The first version I used I had to change some conf settings (found on a howto), but the latest version I had installed created a conf that worked fine in xorg. Did you try ~x86? Also, I noticed that switching between the conf files didn't seem to work. I think the config program may make some other changes (perhaps some /proc stuff?) which forced me to re-run the config program if I wanted to change my configuration. So, I need a full-feature driver that runs under Xorg, or I need the Xfree86 system installed. Any thoughts? Thansk, rgh. (And I am *very* computer knowledgeable, and a professional programmer for ~18 years. I can usually do anything needed by myself. But let's just say that I found a lot of things to fix to install Gentoo. Why? I don't know, but I did create fixes for all up to here so far. Which is by way of explaining why I was 'shouting'. If I can ever get Gentoo working to my needs, it looks to be the greatest thing since sliced bread, but meanwhile, I am getting a little behind in my income, and I can't afford much more of this; and I am just about to have to give up on linux go back to Windows, which crashes about ever 30 minutes, and *hope* that I can install yet more software so I can do this new project.) -- gentoo-user@gentoo.org mailing list -- Justin Patrin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!: ATI -and Gentoo -and ( Xorg -or Xfree86 )
Replies inlined... Justin Patrin wrote: On Apr 4, 2005 5:58 PM, Robert G. Hays [EMAIL PROTECTED] wrote: Thank you for the reply! The problem is to date, I cannot get Xorg to go to a higher resolution than 640x480, and only acknolwedges one of the two monitors (uselessly duplicates teh one monitor onto the other, which is the power-on default for the card. I was trying to find any such while running Gentoo, but no framebeffer, either, and so far Gentoo does not like my ps/2 trackbball-mouse, so I had no luck. Today I have booted Win98SE, and am just about to go looking again where I can *see* something besides all those lovely serifs in 80x25 mode. And I have spent the last 7, repeat, *seven* entire days trying to get Gentoo installed. What I need is 10x7 + 10x7, or better yet 12x10 + 10x7, either as one large desltop or as two separate desktops, preferrably switchable by momentarily zapping X issuing one command from the tt, probably just swappping between two X*.conf's. I did try the Gentoo fglrx driver config, but after emerging it, I found out that this is still Xfree86-only, so I can't use it under Xorg. I don't know why you think this...the fglrx and config program work fine for xorg since a little while ago. The first version I used I had to change some conf settings (found on a howto), but the latest version I had installed created a conf that worked fine in xorg. Did you try ~x86? 1) 'startx' fails, and the Xorg log states that fglrx requires Xfree86, thus why I think this; did I miss something? Or are there two versions of fglrx., one for each Xorg Xfree86? emerge coulda got da wrong one, I s'pose... (whatever the computer did, was whatever it darned jolly well wanted to, but on top of that, yeah, I do claim to be human, with all that that implies...) Bottom line, do you happen to know the correct version for emerge's Xorg on k-2.6.11-g-r4 or something near-by? 2) '-x86'; please specify where in what you mean; part of 'created fixes' was stage3 from universalCD, and ended up building everything new as -march=athlon-xp? Did I do a 'goofus, Rufus, you doofus' here? Maybe I need to rebuild *everyting* (...human...)? Also, I noticed that switching between the conf files didn't seem to work. I think the config program may make some other changes (perhaps some /proc stuff?) which forced me to re-run the config program if I wanted to change my configuration. ...re-run the config program... Urgh!; Well, I can go looking, if so maybe I can find a way to deal with that, too... Thank you for _that_ warning; I'll be prepared if I can ever get that far. Thanks again!, rgh. So, I need a full-feature driver that runs under Xorg, or I need the Xfree86 system installed. Any thoughts? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help line 6: B: command not found
On Mon, 28 Mar 2005, Dave V wrote: Every time I emerge I get this message: * Caching service dependencies... /var/lib/init.d/depcache: line 6: B: command not found I also get this when booting in the middle of the normal service startup messages: /sbin/rc: line 6: B: command not found This problem has been hanging around for a while and so far hasn't caused any noticable trouble, but the locations are a bit worrisome. Any idea how I can fix this or what might be causing it? What does grep B /etc/init.d/* say? -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help line 6: B: command not found
Dave writes: I also get this when booting in the middle of the normal service startup messages: /sbin/rc: line 6: B: command not found Did you perhaps edit this file, maybe using etc-update and interactive merge? These are the first lines of my file: #!/bin/bash # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-src/rc-scripts/sbin/rc,v 1.80 2004/04/25 22:31:48 agriffis Exp $ trap : INT QUIT TSTP No B supposed to be there. Do you have it there? You can probably delete or comment this line then. Alex -- Alex Schuster [EMAIL PROTECTED] PGP Key available [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help line 6: B: command not found FIXED, user error in config file...
You got me looking in the right places at least. Turned out that the offending file was in /etc/conf.d. I somehow managed to insert a random B character on line 6 of /etc/conf.d/hdparm. Thanks for the help all. On (2005-03-28 12:54), A. Khattri wrote: On Mon, 28 Mar 2005, Dave V wrote: Every time I emerge I get this message: * Caching service dependencies... /var/lib/init.d/depcache: line 6: B: command not found I also get this when booting in the middle of the normal service startup messages: /sbin/rc: line 6: B: command not found This problem has been hanging around for a while and so far hasn't caused any noticable trouble, but the locations are a bit worrisome. Any idea how I can fix this or what might be causing it? What does grep B /etc/init.d/* say? -- -- gentoo-user@gentoo.org mailing list -- Booze is the answer. I don't remember the question. pgpdKzy5k3PaC.pgp Description: PGP signature
Re: [gentoo-user] Help on end of emerge message
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harry Putnam wrote: When ever I emerge something on this newly installed setup I get the message near the end of output: [...] Regenerating /etc/ld.so.cache... * Caching service dependencies... * Service 'postfix' already provide 'mta'!; * Not adding service 'sendmail'... net-libs/libnet-1.1.2.1 merged. [...] I had postfix installed at one time but unmerged it in favor of sendmail. I've run `emerge clean postfix' to see if the message would go away but it hasn't. It seems something needs to be updated since the system thinks postfix is an installed `mta'. -- gentoo-user@gentoo.org mailing list Hi, emerge does NOT delete entries in /etc/init.d or /etc/runlevels/... when you unmerge servers like postfix. Just delete the initscript postfix in /etc/init.d and from every runlevel. You should be fine after that. - -- Dirk Raeder I prefer encrypted and signed messages. My GPG key is available at hkp://blackhole.pca.dfn.de with ID 0x05EB5446 Registered Linux user #378554 http://counter.li.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCRTxg2QYJ1wXrVEYRAv/WAKCU7ZVraWIPva4r9wVDinKnU9kwxwCgpUxA +BFRVSpUiJRshnfWzCfUNNI= =t9bP -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help! Install issues.
On Fri, 25 Mar 2005, Phil Beaudry wrote: It says: Gentoo Linux Installation LiveCD http://gentoo.org Enter to boot; F1 for kernels F2 for options boot: so, I want the basic kernel. I hit enter or type gentoo and hit enter. it says: Loading gentoo. Loading gentoo.igz.. Ready. Try this: gentoo-nofb nodetect nohotplug nousb nodhcp My only other thought would be to ask what LiveCD it is and what sort of PC is it? -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help! Install issues.
Phil Beaudry wrote: Okay. So, I'm new to linux. A dev bud of mine suggested that i do an install of gentoo to begin my learning. Issue is, I can't get into the install interface. My Gentoo Installation Livecd disk is in. My new harddrive is in and recognized. so. I've got a similar problem myself. It's apparently quite common, yet very hard to diagnose. It says: Gentoo Linux Installation LiveCD http://gentoo.org Enter to boot; F1 for kernels F2 for options boot: so, I want the basic kernel. I hit enter or type gentoo and hit enter. it says: Loading gentoo. Loading gentoo.igz.. Ready. _ and the cursor blinks. and blinks. and blinks my yearning-for-linux heart away. This is an uneducated guess, but it looks like your output is being redirected (like to a serial port). Add the kernel parameter console=tty0 and give it another shot. This is something of an old box. circa 1999 or so. Used to run WinNT. It has a 160 gb HD (new) and the ATA/133 pci card needed for the HD to recognise. 512ram, pentium3 processor. Just in case the first parameter didn't work, try adding hdx=stroke to your kernel parameters and see what that does. Just in case your PCI card doesn't support 48-bit LBA, the kernel will take over. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help! Install issues.
Shoot that was a prompt reply. Didnt help, though... Still hangs up whilst loading the installation environment. On Fri, 25 Mar 2005 16:51:27 -0500, Colin [EMAIL PROTECTED] wrote: Phil Beaudry wrote: Okay. So, I'm new to linux. A dev bud of mine suggested that i do an install of gentoo to begin my learning. Issue is, I can't get into the install interface. My Gentoo Installation Livecd disk is in. My new harddrive is in and recognized. so. I've got a similar problem myself. It's apparently quite common, yet very hard to diagnose. It says: Gentoo Linux Installation LiveCD http://gentoo.org Enter to boot; F1 for kernels F2 for options boot: so, I want the basic kernel. I hit enter or type gentoo and hit enter. it says: Loading gentoo. Loading gentoo.igz.. Ready. _ and the cursor blinks. and blinks. and blinks my yearning-for-linux heart away. This is an uneducated guess, but it looks like your output is being redirected (like to a serial port). Add the kernel parameter console=tty0 and give it another shot. This is something of an old box. circa 1999 or so. Used to run WinNT. It has a 160 gb HD (new) and the ATA/133 pci card needed for the HD to recognise. 512ram, pentium3 processor. Just in case the first parameter didn't work, try adding hdx=stroke to your kernel parameters and see what that does. Just in case your PCI card doesn't support 48-bit LBA, the kernel will take over. -- Colin -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help finding files
Firstly, emerge -av *what*? World? System? PackageName? ? what difference does it make? These are files I need that I don't have, according to emerge -av pkg. Secondly, why is emerge requiring the files a problem? er, because without them the package won't work? Thirdly, why are you Googling for the files? packages.gentoo.org links to the homepage for every package in Portage (and the homepage is usually correct). didn't find them there So the first thing I would suggest is doing an emerge -avt whatever thanks, I'll add the t -mw __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help finding files
Those are dependencies to whatever it is you're trying to install. Portage will handle these for you. No need for any manual intervention. Catch 22. portage requires access to web. dial-up requires wvstreams and wvidial. No dial-up, no portage,n'est ce pas? -mw __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help finding files
On Sun, 6 Mar 2005 09:18:44 -0800 (PST), maxim wexler [EMAIL PROTECTED] wrote: Catch 22. portage requires access to web. dial-up requires wvstreams and wvidial. No dial-up, no portage,n'est ce pas? use emerge -pvf to get a list of which files is needed, or look in the ebuild for each app (in /usr/portage/...) Then get the files from the distfiles directory on any of the mirrors listed here: http://www.gentoo.org/main/en/mirrors.xml -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help finding files
frankly maxim, your question would have been a lot more understandable if you had explained the problem something like this: I am trying to get dial up networking going, and portage wants me to install the following packages, but I need to download these on another system/os before i can connect to the internet on this box. how can i find and download the exact files I need? The answer is then simple, emerge -pf package will tell you what files portage wants and a list of urls where they should be found. simply download those files and get them into /usr/portage/distfiles and you should be fine. portage will find them there and not attempt to download them Like Holly i was confused about why you would want to download the packages outside portage, and that led to a lot of futzing around. On Sun, 6 Mar 2005 09:18:44 -0800 (PST) maxim wexler wrote: Those are dependencies to whatever it is you're trying to install. Portage will handle these for you. No need for any manual intervention. Catch 22. portage requires access to web. dial-up requires wvstreams and wvidial. No dial-up, no portage,n'est ce pas? -mw __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ -- gentoo-user@gentoo.org mailing list -- Nick Rout Barrister Solicitor Christchurch http://www.rout.co.nz [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help finding files
maxim wexler wrote: Hello everyone, emerge -av requires the following: net-libs/wvstreams-3.70-r2 178 kb net-dialup/wvdial-1.53-r1 66 kb media-sound/mpg123-0.59s-r6 245 kb googling uncovers the files(supposedly) but the links lead to something quite different. Are there viable alternatives? I'm using 2004.3 with the distfiles(mostly) that came from the livecd. -mw Am I the only one confused by this question? Firstly, emerge -av *what*? World? System? PackageName? Secondly, why is emerge requiring the files a problem? Thirdly, why are you Googling for the files? packages.gentoo.org links to the homepage for every package in Portage (and the homepage is usually correct). Fourthly, alternative to what? wvstreams, wvdial and mpg123? There may be alternatives, but since we don't know what is requiring them in the first place, it's hard to know if any alternatives would be appropriate. You might just as well be able to remove the flags from the requesting programs USE options and not require these programs at all. So the first thing I would suggest is doing an emerge -avt whatever and seeing why these packages are being installed in the first place, then you can make a more informed decision about what you want to do. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help with firewall please
On Thursday 10 February 2005 11:40 pm, Nick Smith [EMAIL PROTECTED] wrote: im going to try and setup a firewall on my home server this weekend, but im unsure as to all the ports i have to open in order for my mail server to stay operational, this is a list of what i think i need to make accessible from outside, please let me know if i need to open anything else and suggestions please. im using 1 nic at the moment with a 2nd installed but not active yet, going to hook the machine straight up to my cable modem and bypass the router for now and run nic2 to the router/switch when i go to set this up. here is a list of what i think i need open, and question next to the ones im not sure of. Are you sure you want all these avilable to the internet? You may want to have some of these only listen to on the inside nic, if they are only supposed to provide services from inside your network. courier-imap - 143 courier-imap-ssl - 995? courier-pop3 - 110 courier-pop3-ssl - ? postfix - 25 apache - 80 proftpd - 21 webmin - 1 distcc - 3632 ssh - 22 ntp - ? what port does it update itself? clamav - same as above NFS - ? might try sharing drives across internet, what port? squid - 8080 tor - ? does it need a port? privoxy - ? openldap - ? when i get this running does it use a port? distcc should *never* be allowed to listen to the open net. [Heck, I was worried about it because it would answer my roommate's win-box.] distcc does NOT check to make the the command-line it is executing is a compile, so you are basically given local access to the box as the distcc user for anyone that the daemon will listen to. I'm not *exactly* sure what webmin is for. I do expose a the web interface to my netgear router to the internet (via ssh only), but that's so I can turn on/off port forwarding to inside boxes as needed. Yes, that's dangerous and you should probably think twice about doing it. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help with firewall please
Nick Smith wrote: im going to try and setup a firewall on my home server this weekend, but im unsure as to all the ports i have to open in order for my mail server to stay operational, this is a list of what i think i need to make accessible from outside, please let me know if i need to open anything else and suggestions please. im using 1 nic at the moment with a 2nd installed but not active yet, going to hook the machine straight up to my cable modem and bypass the router for now and run nic2 to the router/switch when i go to set this up. here is a list of what i think i need open, and question next to the ones im not sure of. courier-imap - 143 courier-imap-ssl - 995? courier-pop3 - 110 courier-pop3-ssl - ? The above SSL ports are probably alright, but don't open the non-ssl ports, 110 and 143. If you aren't going to use the SSL ports from the outside, then disable those too [I always tunnel via SSH rather than open them up]. postfix - 25 apache - 80 Good. proftpd - 21 Again, if you actually plan to use this from the outside, go ahead and open it, otherwise don't. Remember that passwords are most often passed in the clear with FTP. webmin - 1 DO NOT expose the webmin port. Period. distcc - 3632 Why? ssh - 22 Excellent idea. ntp - ? what port does it update itself? No good, do not expose this to the internet, period. clamav - same as above NFS - ? might try sharing drives across internet, what port? squid - 8080 tor - ? does it need a port? privoxy - ? openldap - ? when i get this running does it use a port? Do not expose any of these to the internet period. Why would you want any of these available outside your network? since im not to sure about iptables right now and dont fully understand it, ive been playing with webmin's shorewall 'plugin' and am going to try setting it up with that. it seems newbie friendly. It is still not newbie friendly. More importantly, if you don't know what you are setting up, it doesn't really matter which firewall you use. Perhaps you should consider reading up on firewalls, which essentially try to hide your services from the rest of the world, rather than make them secure outright. also, how do i know if a packet/port is TCP, UDP or IMCP? when i go to set this up i need to know that, is there a way to tell? im kinda new at this. first firewall...woo-hoo, never figured i needed one until now :-/ thanks for any and all help. Nick Essentially, IP traffic is ICMP, TCP or UDP. Most that you care about is TCP. ICMP is used for pings and traceroutes mostly [other stuff you aren't likely aware of like resets]. TCP is the most common traffic, used in about everything popular [http, ftp, telnet, ssh, nntp, etc]. UDP is used in broadcast type information such as some times of broadcast video or audio. To get an idea of the services and their types, take a look around in /etc/services. Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help for eth0 not existing
Make sure that you have the correct ethernet drivers compiled into the kernel, or that the correct module is loaded. I got the same error when I had compiled in the wrong driver. HTH, Bryan On Fri, 11 Feb 2005 15:27:53 +0100, Admin [EMAIL PROTECTED] wrote: Hi, someone could go through this. After I had installed 2004.3, compiled 2.6.9r1, rebooted and during booting I have such messages: ... *Starting input hotplugging... [ok] *Starting pci hotplugging...[ok] *Mounting network filessytems... [ok] *PCMCIA support detected [ok] *Starting pcmcia...[ok] cardmgr[7673]: watching 2 sockets *Bringing eth0 up (192.168.0.21)... SIOCSIFADDR: No such device eth0: unknown interface: No such device (and so on) fact #ls /dev/eth0 ls: /dev/eth0: No such file or directory I've looked into logs - nothing. Maybe I should change level of verbosity? I'm running out of ideas where to look for a bug. During LiveCD it was working well. I've compiled yenta_socket and xirc2ps_cs into kernel. Maybe I should create this device? Help, Arek -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help for eth0 not existing
Ok. There's no such thing like /dev/eth0. Use ifconfig -a. Things to check: 1. What's your NIC? Did u compile a module for it? Or included kernel support? 2. Look into /var/log/kern.log 3. run rc-update add coldplug boot Zitat von Admin [EMAIL PROTECTED]: Hi, someone could go through this. After I had installed 2004.3, compiled 2.6.9r1, rebooted and during booting I have such messages: ... *Starting input hotplugging... [ok] *Starting pci hotplugging...[ok] *Mounting network filessytems... [ok] *PCMCIA support detected [ok] *Starting pcmcia...[ok] cardmgr[7673]: watching 2 sockets *Bringing eth0 up (192.168.0.21)... SIOCSIFADDR: No such device eth0: unknown interface: No such device (and so on) fact #ls /dev/eth0 ls: /dev/eth0: No such file or directory I've looked into logs - nothing. Maybe I should change level of verbosity? I'm running out of ideas where to look for a bug. During LiveCD it was working well. I've compiled yenta_socket and xirc2ps_cs into kernel. Maybe I should create this device? Help, Arek -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help for eth0 not existing
Is this a wireless device? Do you have the ndiswrapper emerged? I read somewhere that this was a problem with the ndiswrapper's choice of driver. I'm pretty sure I read it in the Wireless Guide on the Gentoo Wiki. - Brad [EMAIL PROTECTED] wrote: Ok. There's no such thing like /dev/eth0. Use ifconfig -a. Things to check: 1. What's your NIC? Did u compile a module for it? Or included kernel support? 2. Look into /var/log/kern.log 3. run rc-update add coldplug boot Zitat von Admin [EMAIL PROTECTED]: Hi, someone could go through this. After I had installed 2004.3, compiled 2.6.9r1, rebooted and during booting I have such messages: ... *Starting input hotplugging... [ok] *Starting pci hotplugging...[ok] *Mounting network filessytems... [ok] *PCMCIA support detected [ok] *Starting pcmcia...[ok] cardmgr[7673]: watching 2 sockets *Bringing eth0 up (192.168.0.21)... SIOCSIFADDR: No such device eth0: unknown interface: No such device (and so on) fact #ls /dev/eth0 ls: /dev/eth0: No such file or directory I've looked into logs - nothing. Maybe I should change level of verbosity? I'm running out of ideas where to look for a bug. During LiveCD it was working well. I've compiled yenta_socket and xirc2ps_cs into kernel. Maybe I should create this device? Help, Arek -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help for eth0 not existing
how old is that card ? check your kernel enable * NE2000/NE1000 support under device drivers networking support 10 100 Admin wrote: Hi, someone could go through this. After I had installed 2004.3, compiled 2.6.9r1, rebooted and during booting I have such messages: ... *Starting input hotplugging... [ok] *Starting pci hotplugging...[ok] *Mounting network filessytems... [ok] *PCMCIA support detected [ok] *Starting pcmcia...[ok] cardmgr[7673]: watching 2 sockets *Bringing eth0 up (192.168.0.21)... SIOCSIFADDR: No such device eth0: unknown interface: No such device (and so on) fact #ls /dev/eth0 ls: /dev/eth0: No such file or directory I've looked into logs - nothing. Maybe I should change level of verbosity? I'm running out of ideas where to look for a bug. During LiveCD it was working well. I've compiled yenta_socket and xirc2ps_cs into kernel. Maybe I should create this device? Help, Arek -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help with a script please...
Mal Herring wrote: Hi List, I would like to write a script that somehow gets a text only output of a webpage - can lynx do this ? Then grep the output for a desired string of text - then somehow pass the result to an if command so that if the string is found - lauch this and if not then loop... Can this be done ? You may wish to use the wget command line utility in combination with grep in order to achieve this: wget http://server.org/page.html | grep my text page.html The actual script will probably need to be a bit smarter. -- -Mike Melanson -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help with a script please...
Mal Herring ([EMAIL PROTECTED]) scribbled: Hi List, I would like to write a script that somehow gets a text only output of a webpage - can lynx do this ? Then grep the output for a desired string of text - then somehow pass the result to an if command so that if the string is found - lauch this and if not then loop... wget -O - web url | grep expression hth, Cooper. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Help with a script please...
wget -O - web url | grep expression I forgot to mention that the page is on an odd port - 9270, when trying the command I get : HTTP request sent, awaiting response... 17:45:21 ERROR -1: Malformed status line. Should I change something ? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help with a script please...
On Friday 04 February 2005 11:51 am, Mal Herring [EMAIL PROTECTED] wrote: Hi List, I would like to write a script that somehow gets a text only output of a webpage - can lynx do this ? Then grep the output for a desired string of text - then somehow pass the result to an if command so that if the string is found - lauch this and if not then loop... Can this be done ? Use wget to grab the HTML. (wget URL -O -, or somesuch) Use sed to strip out the HTML tags. (sed -e 's/[^]*//g', or similar) You probably want something like: while [ ! `wget $URL -O - | sed -e 's/[^]*//g' | grep $STRING` ] ; do $CMD_IF_STRING_FOUND done -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Help with a script please...
Yeah, wget http://address:port/...; -Original Message- From: Mal Herring [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 1:02 PM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] Help with a script please... wget -O - web url | grep expression I forgot to mention that the page is on an odd port - 9270, when trying the command I get : HTTP request sent, awaiting response... 17:45:21 ERROR -1: Malformed status line. Should I change something ? -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help with a script please...
On Fri, 4 Feb 2005 12:56:02 -0500, Jason Cooper [EMAIL PROTECTED] wrote: Mal Herring ([EMAIL PROTECTED]) scribbled: Hi List, I would like to write a script that somehow gets a text only output of a webpage - can lynx do this ? Then grep the output for a desired string of text - then somehow pass the result to an if command so that if the string is found - lauch this and if not then loop... Using lynx, try something like this: if lynx -dump URL | grep -q -e expression then whatever else whatever fi -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Help with a script please...
if lynx -dump URL | grep -q -e expression Wget causes the same previously posted error - lynx rocks ! Will continue - thanks all ! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help with a script please...
On Friday 04 February 2005 12:01 pm, Mal Herring [EMAIL PROTECTED] wrote: wget -O - web url | grep expression I forgot to mention that the page is on an odd port - 9270, when trying the command I get : HTTP request sent, awaiting response... 17:45:21 ERROR -1: Malformed status line. Should I change something ? Make sure you specify the port in the URL like http://myserver:9270/myfile. The error you posted indicates the server is broken (not really using HTTP), but that could be because you attempted to use the wrong port. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help me recording music...
For this sort of task you might try Audacity, Rezound or Sweep. With a bit of effort they should all be capable of accomplishing what you want to do. Good luck, Mark On Sat, 22 Jan 2005 15:50:57 +, Vittorio [EMAIL PROTECTED] wrote: Context:Latest Gentoo on pentium 4, intel8x0 sound card, kernel 2.6.10, alsa support. I have many a cassette of my favourite singers over the sixties to the eighties which I'd like to transfer on CDs. I use xcdroast smoothly for this last purpose but I'm absolutely unexperienced on what pieces of software are available to: 1) Record the cassettes on files using a tape recorder connected to the mic port of the sound card (or there's some other way to do it?) 2) Translate those files into wav files to be burned with xcdroast. Ciao Vittorio -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help me recording music...
1) Record the cassettes on files using a tape recorder connected to the mic port of the sound card (or there's some other way to do it?) 2) Translate those files into wav files to be burned with xcdroast. Shell: arecord or gramofile KDE: krec (enable full duplex for arts in the control center first) Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help me recording music...
On Saturday 22 January 2005 17:50, Vittorio wrote: Context:Latest Gentoo on pentium 4, intel8x0 sound card, kernel 2.6.10, alsa support. I have many a cassette of my favourite singers over the sixties to the eighties which I'd like to transfer on CDs. I use xcdroast smoothly for this last purpose but I'm absolutely unexperienced on what pieces of software are available to: 1) Record the cassettes on files using a tape recorder connected to the mic port of the sound card (or there's some other way to do it?) If your soundcard has a Line In use that one, otherwise mic. If your tape recorder has got an Line Out use that one (best quality). If not so, use the earphones out and dial volume to one third. In this case, you really have to experiment with the volume to get the best quality. 2) Translate those files into wav files to be burned with xcdroast. Use audacity to record, edit and export them as wav files. Uwe -- Alternative phrasing of the First Law of Thermodynamics: If you eat it, and you don't burn it off, you'll sit on it. http://www.uwix.iway.na (last updated: 20.06.2004) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help i killed amavisd-new
On Fri, 2005-01-21 at 23:04 -0500, Nick Smith wrote: i was upgrading my system, did an emerge -uD world, and then recompiled my kernel to 2.6.10-r6 and i get this when i try to start amavisd: mail root # /etc/init.d/amavisd start * Starting amavisd-new... Problem in the Amavis::Unpackers code: Can't locate IO/String.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux) at /usr/lib/perl5/vendor_perl/5.8.5/Archive/Tar.pm line 23. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/Archive/Tar.pm line 23. Compilation failed in require at (eval 52) line 20. BEGIN failed--compilation aborted at (eval 52) line 20. so i am bypassing my content filter for now until i can get this resolved, what could have changed to make this not work? i used the same kernel config from my old 2.6.9-r1 kernel for the new one, and its talking about perl in the error, but i dont understand it, i tried re-emerging amavisd-new and that didnt help either, any ideas? nick i also just re-emerged perl and libwww-perl and it had no effect. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help i killed amavisd-new
On Fri, 2005-01-21 at 23:04 -0500, Nick Smith wrote: i was upgrading my system, did an emerge -uD world, and then recompiled my kernel to 2.6.10-r6 and i get this when i try to start amavisd: Problem in the Amavis::Unpackers code: Can't locate IO/String.pm in @INC emerge IO-String at /usr/lib/perl5/vendor_perl/5.8.5/Archive/Tar.pm line 23. emerge Archive-Tar Or use the script /usr/portage/dev-lang/perl/files/libperl_rebuilder which will rebuild *all* of the perl modules that have ever been built by portage. This kind of problem tends to happen when switching perl versions (like from perl-5.8.4 to perl-5.8.5) as installed modules get put in a path that includes the perl version installed at the time it was built, but the perl interpreter just looks in paths matching its own version. If you just want to rebuild individual packages, they tend to have the same capitalization but with a / or :: turned into a - as shown below. emerge search String includes: * dev-perl/IO-String Latest version available: 1.05 Latest version installed: [ Not Installed ] Size of downloaded files: 6 kB emerge search Archive includes: * dev-perl/Archive-Tar Latest version available: 1.23 Latest version installed: 1.23 Size of downloaded files: 31 kB -- Scott Taylor - [EMAIL PROTECTED] Uncle Ed's Rule of Thumb: Never use your thumb for a rule. You'll either hit it with a hammer or get a splinter in it. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help i killed amavisd-new
On Fri, 2005-01-21 at 22:11 -0700, Scott Taylor wrote: On Fri, 2005-01-21 at 23:04 -0500, Nick Smith wrote: i was upgrading my system, did an emerge -uD world, and then recompiled my kernel to 2.6.10-r6 and i get this when i try to start amavisd: Problem in the Amavis::Unpackers code: Can't locate IO/String.pm in @INC emerge IO-String at /usr/lib/perl5/vendor_perl/5.8.5/Archive/Tar.pm line 23. emerge Archive-Tar Or use the script /usr/portage/dev-lang/perl/files/libperl_rebuilder which will rebuild *all* of the perl modules that have ever been built by portage. ok cool, thanks for the info, at least i know im on the right track, i am running that script above as we speak, said something about it when i re-emerged perl and figured i would give it a shot, from what you say it sounds like its going to work **wipes sweat from forehead** i thought i had broken it for good this time. This kind of problem tends to happen when switching perl versions (like from perl-5.8.4 to perl-5.8.5) as installed modules get put in a path that includes the perl version installed at the time it was built, but the perl interpreter just looks in paths matching its own version. If you just want to rebuild individual packages, they tend to have the same capitalization but with a / or :: turned into a - as shown below. emerge search String includes: * dev-perl/IO-String Latest version available: 1.05 Latest version installed: [ Not Installed ] Size of downloaded files: 6 kB emerge search Archive includes: * dev-perl/Archive-Tar Latest version available: 1.23 Latest version installed: 1.23 Size of downloaded files: 31 kB -- Scott Taylor - [EMAIL PROTECTED] Uncle Ed's Rule of Thumb: Never use your thumb for a rule. You'll either hit it with a hammer or get a splinter in it. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help!! tune2fs ^O - Is this be safe to do....
On Sun, 2004-02-15 at 17:59, Mark Knecht wrote: ...and what exactly is it doing? Please see Gentoo bug #24991 http://bugs.gentoo.org/show_bug.cgi?id=24991 tune2fs -O ^dir_index /dev/hda7 BTW - this is what the error looked like. I'm unclear whether I should do tune2fs-O ^dir_index /dev/hda7 or... tune2fs-O ^dir_index / or... tune2fs-O ^dir_index/var /tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3 !!! ERROR: There appears to be FILE SYSTEM CORRUPTION. A file that is listed as existing is not capable of being stat'd. If you are using an experimental kernel, please boot into a stable one, force an fsck,and ensure your filesystem is in a sane state. 'shutdown -Fr now' File:/var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.tmpError: [Errno 2] No such file or directory: '/var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.tmp' Wizard root # -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help!! tune2fs ^O - Is this be safe to do....
On Sun, 2004-02-15 at 18:14, Mark Knecht wrote: tune2fs-O ^dir_index /dev/hda7 So I did this one and perl seems to merge now. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
Stephen Liu wrote: Hi Christoph, I can't imagine how this can happen without the use of etc-update... Please note that he is booting his system from a rescue floppy, therefore booting into single user mode. Boot into the live CD. Run e2fsck on your hda1 and hda2. Do the chroot routine. Edit the /etc/fstab and change the /dev/BOOT to your real device (/dev/hda1) and change the /dev/ROOT to your real root device (/dev/hda3). Same with the /dev/SWAP (/dev/hda2 most likely). Make sure the filesystem type is what you formatted them as. e.g. reiser, ext2, ext3, etc. Make sure your grub or lilo correct. Then you can run # passwd root to enter your root password. If you already ran useradd, then run # passwd enter your username here Then remove the floppy and/or the live CD and try to reboot to your hard drive system. -- Johnny Sistumz injunear -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
On Mon, 09 Feb 2004 14:59:23 +0800 Stephen Liu [EMAIL PROTECTED] wrote: Ernie Schroder wrote: - snip - Stephen Liu wrote: Hi all folks, I encountered problem in rebooting Gentoo 1.4 after running # emerge -u world IIRC the last item updated is betagenkernel During rebooting following warning popup; .. Checking all filesystems... fsck.ext2: No such file or directory while tryinng to open /dev/BOOT /dev/BOOT: The superblock could not be read or does not describe a correct ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck - b 8193 device * Fsck could not correct all errors, manual repair need Give root password for maintaince (or type Control-D for normal startup): No root password is required to enter. If typing in root password I can't enter, following warning popup; Login incorrect It is rather strange Tried; # fsck /dev/hda # fsck /dev/hda1 # fsck /dev/hda3 etc. fsck.ext2: No such file or directory while tryinng to open /dev/hda .. /dev/hda1 ../dev/hda3 etc. (remark: harddrive is connected to a ATA controller card) IIRC Gentoo is running on 'reiser fs' . How to check it. Furthermore 'reboot' (soft) has no effect. I have to press hard-reboot (reset button) Kindly advise how to fix the problem. TIA Stephen Liu -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list Stephen, When you ran etc-update after your emerge -u world, you overwrote your /etc/fstab. You will need to boot the live CD and chroot into your Gentoo and recreate the file. Hi Ernie, Thanks for your response. I have not ran 'etc-update' in this test. I ran # emerge -u world ending up with following warning and exited 'emerge -u world' .. .. extensions/libipt_ROUTE.c: In function `init': extensions/libipt_ROUTE.c:51: error: structure has no member named `flags' extensions/libipt_ROUTE.c: In function `parse': extensions/libipt_ROUTE.c:138: error: structure has no member named `flags' extensions/libipt_ROUTE.c:138: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) extensions/libipt_ROUTE.c:138: error: (Each undeclared identifier is reported only once extensions/libipt_ROUTE.c:138: error: for each function it appears in.) extensions/libipt_ROUTE.c: In function `print': extensions/libipt_ROUTE.c:186: error: structure has no member named `flags' extensions/libipt_ROUTE.c:186: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) extensions/libipt_ROUTE.c: In function `save': extensions/libipt_ROUTE.c:209: error: structure has no member named `flags' extensions/libipt_ROUTE.c:209: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) make: *** [extensions/libipt_ROUTE_sh.o] Error 1 !!! ERROR: net-firewall/iptables-1.2.9 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) This warning appeared before and I could not fixed it (I have posted this problem on Gentoo forum but without a solution) I ran '# emerge -u world' on Konsole window. Login as USER on KDE desktop first, started Konsole window and then 'su -' as ROOT I rebooted on Konsole window but could not start Gentoo. As I recalled, before rebooting, I tried to start another Konsole window on KDE desktop, it popup 'hostname not found..' and I could not 'su -' B.R. Stephen -- [EMAIL PROTECTED] mailing list Hello, I think that you overwrite some of your /etc files. To su - verify that you're in the group wheel in /etc/group for hostname problem re-edit /etc/hostname and /etc/hosts.conf If you can repopulate /etc with a backup it should be great for you but if not reedit one by one your /etc files. Don't know what you've done but it seems there's a problem. Verify your CONFIG_PROTECT variable ++ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
Stephen Liu wrote: Thanks for your response. I have not ran 'etc-update' in this test. You did not? So, this must be your first reboot since installing gentoo. Repeat chapter 7 from the installation guide at http://www.gentoo.org/doc/en/gentoo-x86-install.xml, chroot as described in chapter 8 and edit /etc/fstab as described in chapter 15. Feel free to ask again if any problem occurs. bye, christoph -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
Hi Christoph, Thanks for your response I have not ran 'etc-update' in this test. You did not? So, this must be your first reboot since installing gentoo. No, this Gentoo box has been running several months for test purpose. It has been idle for a period. Last week I started # emerge -u world (Remark: I operated all commands on Konsole window after login as USER on KDE desktop and then 'su -') Because this is a slow machine it took about 6 x 24 hrs to complete. Finally it ended up as follows; .. .. extensions/libipt_ROUTE.c: In function `init': extensions/libipt_ROUTE.c:51: error: structure has no member named `flags' extensions/libipt_ROUTE.c: In function `parse': extensions/libipt_ROUTE.c:138: error: structure has no member named `flags' extensions/libipt_ROUTE.c:138: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) extensions/libipt_ROUTE.c:138: error: (Each undeclared identifier is reported only once extensions/libipt_ROUTE.c:138: error: for each function it appears in.) extensions/libipt_ROUTE.c: In function `print': extensions/libipt_ROUTE.c:186: error: structure has no member named `flags' extensions/libipt_ROUTE.c:186: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) extensions/libipt_ROUTE.c: In function `save': extensions/libipt_ROUTE.c:209: error: structure has no member named `flags' extensions/libipt_ROUTE.c:209: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) make: *** [extensions/libipt_ROUTE_sh.o] Error 1 !!! ERROR: net-firewall/iptables-1.2.9 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) Then I ran # emerge sync # emerge -u world (again) But it returned to the same situation again. Repeat chapter 7 from the installation guide at http://www.gentoo.org/doc/en/gentoo-x86-install.xml, chroot as described in chapter 8 and edit /etc/fstab as described in chapter 15. I am not quite familiar with rescue on Gentoo. I shall do follows; 1) boot up the Gentoo box with the rescue diskette 2) mount /dev/hda3 /mnt/gentoo 3) mount /dev/hda1 /mnt/gentoo/boot 4) mount t proc proc /mnt/gentoo/proc 5) chroot /mnt/gentoo /bin/bash 6) nano -w /mnt/gentoo/etc/fstab (to edit 'fstab') OR omitting step 4) Kindly advise. TIA One thing I could not resolve why I can login as ROOT without password. If key in ROOT password then it says wrong password B.R. Stephen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
Hi Nox, Thanks for your response. - snip - Hi Ernie, Thanks for your response. I have not ran 'etc-update' in this test. I ran # emerge -u world ending up with following warning and exited 'emerge -u world' .. .. extensions/libipt_ROUTE.c: In function `init': extensions/libipt_ROUTE.c:51: error: structure has no member named `flags' extensions/libipt_ROUTE.c: In function `parse': extensions/libipt_ROUTE.c:138: error: structure has no member named `flags' extensions/libipt_ROUTE.c:138: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) extensions/libipt_ROUTE.c:138: error: (Each undeclared identifier is reported only once extensions/libipt_ROUTE.c:138: error: for each function it appears in.) extensions/libipt_ROUTE.c: In function `print': extensions/libipt_ROUTE.c:186: error: structure has no member named `flags' extensions/libipt_ROUTE.c:186: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) extensions/libipt_ROUTE.c: In function `save': extensions/libipt_ROUTE.c:209: error: structure has no member named `flags' extensions/libipt_ROUTE.c:209: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) make: *** [extensions/libipt_ROUTE_sh.o] Error 1 !!! ERROR: net-firewall/iptables-1.2.9 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) This warning appeared before and I could not fixed it (I have posted this problem on Gentoo forum but without a solution) I ran '# emerge -u world' on Konsole window. Login as USER on KDE desktop first, started Konsole window and then 'su -' as ROOT I rebooted on Konsole window but could not start Gentoo. As I recalled, before rebooting, I tried to start another Konsole window on KDE desktop, it popup 'hostname not found..' and I could not 'su -' B.R. Stephen Hello, I think that you overwrite some of your /etc files. To su - verify that you're in the group wheel in /etc/group for hostname problem re-edit /etc/hostname and /etc/hosts.conf If you can repopulate /etc with a backup it should be great for you but if not reedit one by one your /etc files. Don't know what you've done but it seems there's a problem. Verify your CONFIG_PROTECT variable Another folk on the list also ran into the same situation similar to my case: Could not 'su -' after running 'emerge -u world' I doubt whether 'upgrading betagenkernel' has influence. IIRC I saw upgrading it on the screen. B.R. Stephen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
Stephen Liu wrote: I am not quite familiar with rescue on Gentoo. I shall do follows; 1) boot up the Gentoo box with the rescue diskette 2) mount /dev/hda3 /mnt/gentoo 3) mount /dev/hda1 /mnt/gentoo/boot 4) mount t proc proc /mnt/gentoo/proc there's a typo: mount -t proc proc /mnt/gentoo/proc ^ 5) chroot /mnt/gentoo /bin/bash 6) nano -w /mnt/gentoo/etc/fstab (to edit 'fstab') change ROOT, BOOT and SWAP with the appropriate devices (/dev/hda3, /dev/hda1 and /dev/hda2 I assume) One thing I could not resolve why I can login as ROOT without password. If key in ROOT password then it says wrong password This could mean that you've also overwritten your /etc/passwd. Is your normal user still in the /etc/passwd? If not, just add it with # useradd and reset your root-password with # passwd I can't imagine how this can happen without the use of etc-update... bye, christoph -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
Hi Christoph, To my surprize, I can start 'Fail Safe' Hereinbelow is /etc/fstab # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/BOOT/bootext2noauto,noatime1 1 /dev/ROOT/xfsnoatime0 0 /dev/SWAPnoneswapsw0 0 /dev/cdroms/cdrom0/mnt/cdromiso9660noauto,ro0 0 #/dev/fd0/mnt/floppyautonoauto0 0 # NOTE: The next line is critical for boot! none/procprocdefaults0 0 . none/dev/shmtmpfsdefaults0 0 Compared it with chapter 15 and found following difference /dev/ROOT/xfsnoatime0 0 (new) /dev/ROOT / reiserfsnoatime 0 1 (Chapter15 'reiserfs) (shall I change 'xfs' back to 'reiserfs' none/dev/shmtmpfsdefaults 0 0 (I think the above line was added during 'emerge -u world' and /mnt/cdwriter disappears) I can login as ROOT without password but can't login as USER (satimis) with/without password. # cat /etc/passwd root:x:0,0:root:root:/bin/bash ... ... Operator:x:11:0:operator:/root:/bin/bash (USER/satimis not found there) Kindly advise how to revive Gentoo. What shall I do next. TIA B.R. Stephen Stephen Liu wrote: I am not quite familiar with rescue on Gentoo. I shall do follows; 1) boot up the Gentoo box with the rescue diskette 2) mount /dev/hda3 /mnt/gentoo 3) mount /dev/hda1 /mnt/gentoo/boot 4) mount t proc proc /mnt/gentoo/proc there's a typo: mount -t proc proc /mnt/gentoo/proc ^ 5) chroot /mnt/gentoo /bin/bash 6) nano -w /mnt/gentoo/etc/fstab (to edit 'fstab') change ROOT, BOOT and SWAP with the appropriate devices (/dev/hda3, /dev/hda1 and /dev/hda2 I assume) One thing I could not resolve why I can login as ROOT without password. If key in ROOT password then it says wrong password This could mean that you've also overwritten your /etc/passwd. Is your normal user still in the /etc/passwd? If not, just add it with # useradd and reset your root-password with # passwd I can't imagine how this can happen without the use of etc-update... bye, christoph -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
Looks like you let it over-write your /etc/fstab You will need to set it up again (be careful with etc-update) Stephen Liu wrote: Hi all folks, I encountered problem in rebooting Gentoo 1.4 after running # emerge -u world IIRC the last item updated is betagenkernel During rebooting following warning popup; .. Checking all filesystems... fsck.ext2: No such file or directory while tryinng to open /dev/BOOT /dev/BOOT: The superblock could not be read or does not describe a correct ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck - b 8193 device * Fsck could not correct all errors, manual repair need Give root password for maintaince (or type Control-D for normal startup): No root password is required to enter. If typing in root password I can't enter, following warning popup; Login incorrect It is rather strange Tried; # fsck /dev/hda # fsck /dev/hda1 # fsck /dev/hda3 etc. fsck.ext2: No such file or directory while tryinng to open /dev/hda .. /dev/hda1 ../dev/hda3 etc. (remark: harddrive is connected to a ATA controller card) IIRC Gentoo is running on 'reiser fs' . How to check it. Furthermore 'reboot' (soft) has no effect. I have to press hard-reboot (reset button) Kindly advise how to fix the problem. TIA Stephen Liu -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
Hi blade, Looks like you let it over-write your /etc/fstab You will need to set it up again (be careful with etc-update) Tks for your response. The problme is I could not start Gentoo. Kindly advise how to run 'etc-update' TIA B.R. Stephen Stephen Liu wrote: Hi all folks, I encountered problem in rebooting Gentoo 1.4 after running # emerge -u world IIRC the last item updated is betagenkernel During rebooting following warning popup; .. Checking all filesystems... fsck.ext2: No such file or directory while tryinng to open /dev/BOOT /dev/BOOT: The superblock could not be read or does not describe a correct ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck - b 8193 device * Fsck could not correct all errors, manual repair need Give root password for maintaince (or type Control-D for normal startup): No root password is required to enter. If typing in root password I can't enter, following warning popup; Login incorrect It is rather strange Tried; # fsck /dev/hda # fsck /dev/hda1 # fsck /dev/hda3 etc. fsck.ext2: No such file or directory while tryinng to open /dev/hda .. /dev/hda1 ../dev/hda3 etc. (remark: harddrive is connected to a ATA controller card) IIRC Gentoo is running on 'reiser fs' . How to check it. Furthermore 'reboot' (soft) has no effect. I have to press hard-reboot (reset button) Kindly advise how to fix the problem. TIA Stephen Liu -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP: Problem in rebooting after running 'emerge -u world'
On Sunday 08 February 2004 11:46 pm, Stephen Liu wrote: Hi blade, Looks like you let it over-write your /etc/fstab You will need to set it up again (be careful with etc-update) Tks for your response. The problme is I could not start Gentoo. Kindly advise how to run 'etc-update' TIA B.R. Stephen Stephen Liu wrote: Hi all folks, I encountered problem in rebooting Gentoo 1.4 after running # emerge -u world IIRC the last item updated is betagenkernel During rebooting following warning popup; .. Checking all filesystems... fsck.ext2: No such file or directory while tryinng to open /dev/BOOT /dev/BOOT: The superblock could not be read or does not describe a correct ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck - b 8193 device * Fsck could not correct all errors, manual repair need Give root password for maintaince (or type Control-D for normal startup): No root password is required to enter. If typing in root password I can't enter, following warning popup; Login incorrect It is rather strange Tried; # fsck /dev/hda # fsck /dev/hda1 # fsck /dev/hda3 etc. fsck.ext2: No such file or directory while tryinng to open /dev/hda .. /dev/hda1 ../dev/hda3 etc. (remark: harddrive is connected to a ATA controller card) IIRC Gentoo is running on 'reiser fs' . How to check it. Furthermore 'reboot' (soft) has no effect. I have to press hard-reboot (reset button) Kindly advise how to fix the problem. TIA Stephen Liu -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list Stephen, When you ran etc-update after your emerge -u world, you overwrote your /etc/fstab. You will need to boot the live CD and chroot into your Gentoo and recreate the file. -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help with a second nic
Valmor de Almeida [EMAIL PROTECTED] writes: snip , | 02:06.0 PCI bridge: Actiontec Electronics Inc: Unknown device 0100 (rev 11) | 02:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) ` do you have the 3c59X stuff compiled in / built as module for your kernel ? hth anupam Valmor de Almeida -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help!!! mm-sources-2.6.1-r5 are gone!!!
Thomas Mandl wrote: after an emerge sync (about 10 min. ago) I could only find mm-sources-2.6.2_rc1-r2, rc1-r3 and rc2-r1. any ideas? check out the Changelog in /usr/portage/sys-kernel/mm-sources/ --- snipp --- *mm-sources-2.6.2_rc2-r1 (28 Jan 2004) 28 Jan 2004; Brian Jackson [EMAIL PROTECTED] mm-sources-2.6.1-r3.ebuild, mm-sources-2.6.1-r4.ebuild, mm-sources-2.6.1-r5.ebuild, mm-sources-2.6.2_rc1-r3.ebuild, mm-sources-2.6.2_rc2-r1.ebuild, files/apic.patch, files/mm-sources.CAN-2003-0985.patch, files/mm4-export-dnotify_parent.diff, files/mm4-fix-bw-qcam-typo.diff, files/wpadded.patch: version bump, clean up old ebuilds --- snipp --- as you can see, a patch for the vulnerability CAN-2003-0985 has been added to the mm-sources (among others). it is also mentioned that the old ebuilds were cleaned up. I would suggest you update both your machines to 2.6.2_rc2-r1. which 2.6 kernel sources are most stable and can be recommended for a stable production system (web server/mysql server). Since I don't run a real production system I can't answer this one. But AFAIK mm-sources aren't the right choice for production systems. bye, christoph -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help with a second nic
Here it is what is compiled into the kernel. # # Ethernet (10 or 100Mbit) # CONFIG_NET_ETHERNET=y CONFIG_NET_VENDOR_3COM=y CONFIG_EL2=y CONFIG_ELPLUS=y CONFIG_EEPRO100=y CONFIG_E100=y # CONFIG_3C515 is not set I do not see any 3C59??? Will double check with make menuconfig. -- Valmor Valmor de Almeida [EMAIL PROTECTED] writes: snip , | 02:06.0 PCI bridge: Actiontec Electronics Inc: Unknown device 0100 (rev 1 1) | 02:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (r ev 78) ` do you have the 3c59X stuff compiled in / built as module for your kernel ? hth anupam Valmor de Almeida -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help with a second nic
Valmor de Almeida wrote: When trying to start my second nic I get bash-2.05b# /etc/init.d/net.eth1 start * Bringing eth1 up... SIOCSIFADDR: No such device eth1: unknown interface: No such device SIOCSIFBRDADDR: No such device eth1: unknown interface: No such device SIOCSIFNETMASK: No such device * Failed to bring eth1 up My /etc/conf.d/net is as follows -- # card on the laptop iface_eth0=192.168.0.5 broadcast 192.168.0.255 netmask 255.255.255.0 # # card on the port replicator iface_eth1=192.168.0.5 broadcast 192.168.0.255 netmask 255.255.255.0 # gateway=eth0/192.168.0.1 -- I would like to use the nic on the port replicator at work and the nic on the laptop at home. Both at home and at work the laptop is on an intranet behind a firewall router. The gateway address is the same in both intranets. I created the symbolic link for the init.d script ln -s /etc/init.d/net.eth0 /etc/init.d/net.eth1 The result from lspci is --- bash-2.05b# lspci 00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 04) 00:01.0 PCI bridge: Intel Corp. 82815 815 Chipset AGP Bridge (rev 04) 00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 03) 00:1f.0 ISA bridge: Intel Corp. 82801BAM ISA Bridge (LPC) (rev 03) 00:1f.1 IDE interface: Intel Corp. 82801BAM IDE U100 (rev 03) 00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 Go] (rev b2) 02:03.0 Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 10) 02:06.0 PCI bridge: Actiontec Electronics Inc: Unknown device 0100 (rev 11) 02:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) 02:0f.0 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller 02:0f.1 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller 02:0f.2 FireWire (IEEE 1394): Texas Instruments PCI4451 IEEE-1394 Controller 08:04.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08) 08:08.0 Communication controller: Lucent Microelectronics WinModem 56k (rev 01) --- I have built support for both nic into the kernel 2.4.22-r5. Also another error: bash-2.05b# ifconfig eth1 eth1: error fetching interface information: Device not found What is the output of 'dmesg | grep eth'? -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help with a second nic
What is the output of 'dmesg | grep eth'? -- It is bash-2.05b# dmesg | grep eth eth0: OEM i82557/i82558 10/100 Ethernet, 00:20:E0:6E:EC:7B, IRQ 10. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help with a second nic
Valmor de Almeida wrote: What is the output of 'dmesg | grep eth'? It is bash-2.05b# dmesg | grep eth eth0: OEM i82557/i82558 10/100 Ethernet, 00:20:E0:6E:EC:7B, IRQ 10. Okay, you need to compile in support for your '3Com Corporation 3c905C-TX/TX-M' in your kernel. Its not being detected by the kernel which means its not supported. Once you get support in the kernel, all should be fine. -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help setting up ethernet
On Sat, 31 Jan 2004 18:15:14 -0500, Peter Wu [EMAIL PROTECTED] said: On Sat, Jan 31, 2004 at 04:32:16PM -0500, Jason Rogers wrote: On Fri, 30 Jan 2004 22:33:14 +, Tom Hosiawa [EMAIL PROTECTED] said: Is the driver compiled as module or compiled into the kernel? It is compiled into the kernel Just to make sure, it's the tulip driver? I have version 0.9.15-pre12 (Aug 9 ,2002) in /lib/modules/... Does that mean that it is not compiled in to the kernel as I thought it was? Did you build the driver as module or in kernel? I went back and checked my settings, and it is built in to the kernel('*' instead of 'M'). Still no luck. I tried a modprobe on it and it just spewed errors from insmod. I can post them if necessary. I have just built a 2.6 kernel and will try that. I heard whispers (on a Debian list) of the tulip driver being broken for kernel 2.4.2x (I don't remember the actual minor version number). =jason -- Jason Rogers [EMAIL PROTECTED] [:everyQuestion | ^ Jesus] -- http://www.fastmail.fm - Choose from over 50 domains or use your own -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help setting up ethernet
On Saturday 31 January 2004 22:32, Jason Rogers wrote: Is the driver compiled as module or compiled into the kernel? It is compiled into the kernel Just to make sure, it's the tulip driver? I have version 0.9.15-pre12 (Aug 9 ,2002) in /lib/modules/... Does that mean that it is not compiled in to the kernel as I thought it was? -- Not implicitly. But you should check this out. Just try to load it with modprobe. cu lukas pgp0.pgp Description: signature
Re: [gentoo-user] Help setting up ethernet
On Sat, Jan 31, 2004 at 04:32:16PM -0500, Jason Rogers wrote: On Fri, 30 Jan 2004 22:33:14 +, Tom Hosiawa [EMAIL PROTECTED] said: Is the driver compiled as module or compiled into the kernel? It is compiled into the kernel Just to make sure, it's the tulip driver? I have version 0.9.15-pre12 (Aug 9 ,2002) in /lib/modules/... Does that mean that it is not compiled in to the kernel as I thought it was? Did you build the driver as module or in kernel? -- ,,, (o o) Peter Wu ---ooO-(_)-Ooo--- Powered by GNU/Linux 2.4.22 pgp0.pgp Description: PGP signature
Re: [gentoo-user] Help setting up ethernet
Have you followed the network information in the installation instructions? http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1chap=8#doc_chap2 I am running into a strange problem and don't know much about networking, so I don't know how to fix it or how to go about finding out what's wrong. I have installed Gentoo on a x86 desktop with a LinkSYS network card. When running from the bootable CDROM, the network card works, I can get in and out of the box via the internet. When I boot from the harddisk the network becomes not work. ;) I get errors in /var/log/syslog saying the eth0 could not be brought up and that it timed out waiting for a valid DHCP response. As far as I can tell the DHCP setup is the same as when I am booting from CD -- it points to my router at 192.168.2.1 in both cases. I would really appreciate some help fixing this. The first bit of help I need is in knowing what to share with the list. I can pass along all of my config files (if I know which ones to include) etc. I am actually wondering if it is a driver issue. Thanks. Jason Rogers -- Jason Rogers [EMAIL PROTECTED] [:everyQuestion | ^ Jesus] -- http://www.fastmail.fm - A no graphics, no pop-ups email service -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help setting up ethernet
On Friday 30 January 2004 23:27, Jason Rogers wrote: I get errors in /var/log/syslog saying the eth0 could not be brought up and that it timed out waiting for a valid DHCP response. As far as I can tell the DHCP setup is the same as when I am booting from CD -- it points to my router at 192.168.2.1 in both cases. Can you post the exact error message from syslog? I would really appreciate some help fixing this. The first bit of help I need is in knowing what to share with the list. I can pass along all of my config files (if I know which ones to include) etc. I am actually wondering if it is a driver issue. What are the entries in /etc/conf.d/net? Is the driver compiled as module or compiled into the kernel? If it is compiled as modules try loading the module with modprobe DRIVERNAME Have you tried to bring up the interface by hand with e.g. ifconfig eth0 192.168.1.123 up cu lukas -- ** PGP-key available on keyserver pgp.mit.edu ** 3261 D27B D604 8B8A D6BF 74ED D0E8 99D7 D3B9 F7CE Please don't sign your public mail unless your PGP-key is available for everyone! pgp0.pgp Description: signature
Re: [gentoo-user] Help setting up ethernet
On Fri, Jan 30, 2004 at 05:27:46PM -0500, Jason Rogers wrote: I am running into a strange problem and don't know much about networking, so I don't know how to fix it or how to go about finding out what's wrong. I have installed Gentoo on a x86 desktop with a LinkSYS network card. When running from the bootable CDROM, the network card works, I can get in and out of the box via the internet. When I boot from the harddisk the network becomes not work. ;) I get errors in /var/log/syslog saying the eth0 could not be brought up and that it timed out waiting for a valid DHCP response. As far as I can tell the DHCP setup is the same as when I am booting from CD -- it points to my router at 192.168.2.1 in both cases. Post your /etc/conf.d/net. Did you enable DHCP? How many NIC's do you have on the box? -- ,,, (o o) Peter Wu ---ooO-(_)-Ooo--- Powered by GNU/Linux 2.4.22 pgp0.pgp Description: PGP signature
Re: [gentoo-user] Help setting up ethernet
On Fri, Jan 30, 2004 at 05:27:46PM -0500, Jason Rogers wrote: I get errors in /var/log/syslog saying the eth0 could not be brought up and that it timed out waiting for a valid DHCP response. As far as I can tell the DHCP setup is the same as when I am booting from CD -- it points to my router at 192.168.2.1 in both cases. I suspect you may be running a malconfigured DHCP server on your router. Some routers don't have it configured by default. You user manual should tell you how to log on to the web interface to enable or configure various features of your router. Regards, Brian -- Brian Richardson Sun Certified Java Programmer GnuPG Fingerprint 132E 867F 4E73 0607 A4AA 49A7 CB0D BCC9 DEC2 886C Public Key available at http://www.cubik.ca/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help setting up ethernet
On Fri, 30 Jan 2004 18:16:31 -0700, [EMAIL PROTECTED] said: On Fri, Jan 30, 2004 at 05:27:46PM -0500, Jason Rogers wrote: I get errors in /var/log/syslog saying the eth0 could not be brought up and that it timed out waiting for a valid DHCP response. As far as I can tell the DHCP setup is the same as when I am booting from CD -- it points to my router at 192.168.2.1 in both cases. I suspect you may be running a malconfigured DHCP server on your router. Some routers don't have it configured by default. You user manual should tell you how to log on to the web interface to enable or configure various features of your router. I sort of doubt this is the issue because if it were the network would not work when booting from the CD. =jason -- Jason Rogers [EMAIL PROTECTED] [:everyQuestion | ^ Jesus] -- http://www.fastmail.fm - Access all of your messages and folders wherever you are -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help setting up ethernet
On Fri, 30 Jan 2004 18:06:58 -0500, Peter Wu [EMAIL PROTECTED] said: On Fri, Jan 30, 2004 at 05:27:46PM -0500, Jason Rogers wrote: I am running into a strange problem and don't know much about networking, so I don't know how to fix it or how to go about finding out what's wrong. I have installed Gentoo on a x86 desktop with a LinkSYS network card. When running from the bootable CDROM, the network card works, I can get in and out of the box via the internet. When I boot from the harddisk the network becomes not work. ;) I get errors in /var/log/syslog saying the eth0 could not be brought up and that it timed out waiting for a valid DHCP response. As far as I can tell the DHCP setup is the same as when I am booting from CD -- it points to my router at 192.168.2.1 in both cases. Post your /etc/conf.d/net. At the bottom of this response are the relevant parts of files I believe folks have asked for. Did you enable DHCP? Yes. I have tried setting this manually as well (as you can see from the commented out line), but to no avail. How many NIC's do you have on the box? 1, for now. --- Relevant files: --- '/etc/conf.d/net' #iface_eth0=192.168.2.32 broadcast 192.168.2.255 netmask 255.255.255.0 iface_eth0=dhcp # For setting the default gateway # #gateway=eth0/192.168.0.1 / '/etc/conf.d/net' --- '/var/log/syslog' Jan 29 00:08:01 localhost kernel: eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1. Jan 29 00:08:12 localhost kernel: eth0: no IPv6 routers present Jan 29 00:08:13 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out Jan 29 00:08:13 localhost kernel: eth0: Tx queue start entry 4 dirty entry 0. Jan 29 00:08:13 localhost kernel: eth0: Tx descriptor 0 is 2000. (queue head) Jan 29 00:08:13 localhost kernel: eth0: Tx descriptor 1 is 2000. Jan 29 00:08:13 localhost kernel: eth0: Tx descriptor 2 is 2000. Jan 29 00:08:13 localhost kernel: eth0: Tx descriptor 3 is 2000. Jan 29 00:08:13 localhost kernel: eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1. Jan 29 00:08:37 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out Jan 29 00:08:37 localhost kernel: eth0: Tx queue start entry 4 dirty entry 0. Jan 29 00:08:37 localhost kernel: eth0: Tx descriptor 0 is 2000. (queue head) Jan 29 00:08:37 localhost kernel: eth0: Tx descriptor 1 is 2000. Jan 29 00:08:37 localhost kernel: eth0: Tx descriptor 2 is 2000. Jan 29 00:08:37 localhost kernel: eth0: Tx descriptor 3 is 2000. Jan 29 00:08:37 localhost kernel: eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1. Jan 29 00:09:01 localhost dhcpcd[16567]: timed out waiting for a valid DHCP server response / '/var/log/syslog' --- resolv.conf nameserver 192.168.2.1 search sanarb01.mi.comcast.net / '/etc/resolv.conf' --- Thanks again for all of the help! -- Jason Rogers [EMAIL PROTECTED] [:everyQuestion | ^ Jesus] -- http://www.fastmail.fm - Email service worth paying for. Try it for free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help setting up ethernet
On Fri, 30 Jan 2004 23:52:54 +0100, lukas [EMAIL PROTECTED] said: On Friday 30 January 2004 23:27, Jason Rogers wrote: I get errors in /var/log/syslog saying the eth0 could not be brought up and that it timed out waiting for a valid DHCP response. As far as I can tell the DHCP setup is the same as when I am booting from CD -- it points to my router at 192.168.2.1 in both cases. Can you post the exact error message from syslog? Please refer to other response... What are the entries in /etc/conf.d/net? Please refer to other response... Is the driver compiled as module or compiled into the kernel? It is compiled into the kernel If it is compiled as modules try loading the module with modprobe DRIVERNAME Have you tried to bring up the interface by hand with e.g. ifconfig eth0 192.168.1.123 up Yep. Tried it, but to no avail. Thanks. =jason -- Jason Rogers [EMAIL PROTECTED] [:everyQuestion | ^ Jesus] -- http://www.fastmail.fm - The professional email service -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help setting up ethernet
On Fri, 30 Jan 2004 17:43:28 -0500, Valmor de Almeida [EMAIL PROTECTED] said: Have you followed the network information in the installation instructions? http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1chap=8#doc_chap2 been there, done that... Thanks. =jason -- Jason Rogers [EMAIL PROTECTED] [:everyQuestion | ^ Jesus] -- http://www.fastmail.fm - A no graphics, no pop-ups email service -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help setting up ethernet
Is the driver compiled as module or compiled into the kernel? It is compiled into the kernel Just to make sure, it's the tulip driver? Tom -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help me please!!! cannot read/write home directory
Andrew B. Panphiloff wrote: Today I get next : [EMAIL PROTECTED] /]su - borisych su: warning: cannot change directory to /home/borisych: Permission denied -bash: /home/borisych/.bash_profile: Permission denied -bash-2.05b$ ls -l /home/ | grep borisych drwx--2 borisych borisych 4096 Jan 12 17:05 borisych -bash-2.05b$ id borisych uid=510(borisych) gid=511(borisych) groups=511(borisych) -bash-2.05b$ logout -bash: /home/borisych/.bash_logout: Permission denied [EMAIL PROTECTED] /]cp -rp /home/borisych /home/borisych1 [EMAIL PROTECTED] /]rm -fr /home/borisych [EMAIL PROTECTED] /]mv /home/borisych1 /home/borisych [EMAIL PROTECTED] /]su - borisych [EMAIL PROTECTED] borisych]$ I think that problem in kernel, but how solve it ? Due to my low expirience in English, I can't clear define my problem to search it in google. Help me. -- [EMAIL PROTECTED] mailing list Do an ls of /home without grepping. Or do an ls of / only (no grep). I bet your /home directory is owned by root (as it should be) with 600 permission. Since you have no access as a regular user to /home, you can never get to /home/borisych -- Bryan Whitehead Email:[EMAIL PROTECTED] WorkE:[EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help me please!!! cannot read/write home directory
On Wed, Jan 28, 2004 at 03:05:14PM -0800, Bryan Whitehead wrote: I bet your /home directory is owned by root (as it should be) with 600 permission. Since you have no access as a regular user to /home, you can never get to /home/borisych The solution to this is to become root in the / directory and execute: chmod 700 /home/borisych There are few cases when a directory should not have execute permissions. Try to avoid it. Dan -- /--- - - - - - - | Dan Noe, freelance hacker | http://isomerica.net/ pgp0.pgp Description: PGP signature
Re: [gentoo-user] help me please!!! cannot read/write home directory
Dan Noe wrote: On Wed, Jan 28, 2004 at 03:05:14PM -0800, Bryan Whitehead wrote: I bet your /home directory is owned by root (as it should be) with 600 permission. Since you have no access as a regular user to /home, you can never get to /home/borisych The solution to this is to become root in the / directory and execute: chmod 700 /home/borisych There are few cases when a directory should not have execute permissions. Try to avoid it. Dan No, if /home itself does not have the +x bits on, he will need to change the permission of /home. as root: chmod 755 /home If /home is 700 (I previously mistyped 600) and owned by root, then the permissions for /home/borisych won't matter. He can't get to borisych if home won't allow him execute permission as a regular user. Since he keeps greping the output of the commands he's using it is hard to diagnose This might not be the problem at all... ;) -- Bryan Whitehead Email:[EMAIL PROTECTED] WorkE:[EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help me please!!! cannot read/write home directory
On Wed, Jan 28, 2004 at 05:19:40PM -0800, Bryan Whitehead wrote: No, if /home itself does not have the +x bits on, he will need to change the permission of /home. as root: chmod 755 /home If /home is 700 (I previously mistyped 600) and owned by root, then the permissions for /home/borisych won't matter. He can't get to borisych if home won't allow him execute permission as a regular user. This is true: However, in this situation (700) root could still access and change to the directory. If the directory mode is 600, strange things happen. Since he keeps greping the output of the commands he's using it is hard to diagnose This might not be the problem at all... ;) Reminds me of the good old My computer doesn't work!. Ooookay... how about telling me something that will contribute towards a solution? :) -- /--- - - - - - - | Dan Noe, freelance hacker | http://isomerica.net/ pgp0.pgp Description: PGP signature
Re: [gentoo-user] help me please!!! cannot read/write home directory
Andrey Kartashov wrote: On Sat, Jan 24, 2004 at 12:14:20AM +0300, Andrew B. Panphiloff wrote: ... skpd [EMAIL PROTECTED] /]ls -l /home/ | grep alucard drwx--2 alucard alucard 4096 Dec 12 14:23 alucard [EMAIL PROTECTED] /]id alucard uid=509(alucard) gid=510(alucard) groups=510(alucard) [EMAIL PROTECTED] /]chown -R alucard:alucard /home/alucard [EMAIL PROTECTED] /]chmod -R u+rwx /home/alucard/ [EMAIL PROTECTED] /]ls -l /home/ | grep alucard drwx--2 alucard alucard 4096 Dec 12 14:23 alucard [EMAIL PROTECTED] /]su - alucard su: warning: cannot change directory to /home/alucard: Permission denied -bash: /home/alucard/.bash_profile: Permission denied -bash-2.05b$ only cp solve my problem, but I can't copy all my disk! Are you using NFS by any chance? Or some other network-mounted file system for home directories (run 'mount' with no options to find out). Good idea! If you don't deem it sensitive, it might be a good idea to post it here too. I for one have had trouble with mounted volumes before, both local and remote ones. If it's not an nfs-mount, what filesystem are you using on the volume hosting /home? ext2, ext3, reiser or something else maybe? If it is indeed a network mount, you need to make sure you have necessary permissions on the server as it may not honor your local 'root' privileges. Also, in this case you need to double check if your 'cp ' commands above didn't screw things up i.e. you didn't end up with local copies of that stuff instead of the network mounted directories (could happen if you are running an automount). Automount seems to take control over the mount even to the extent that root is denied access in some cases, if youre running autofs, check your configs thoroughly, I've seen some cases where it (autofs) starts up with no errors, just to refuse all access later... The only other thing that comes to mind is a corrupt filesystem, in which case you can try 'shutdown -r -F 0' , where '-F' should force 'fsck' on reboot (even for journalized filesystems).
Re: [gentoo-user] help me please!!! cannot read/write home directory
Andrew B. Panphiloff wrote: Today I get next : [EMAIL PROTECTED] /]su - borisych su: warning: cannot change directory to /home/borisych: Permission denied -bash: /home/borisych/.bash_profile: Permission denied -bash-2.05b$ ls -l /home/ | grep borisych drwx--2 borisych borisych 4096 Jan 12 17:05 borisych -bash-2.05b$ id borisych uid=510(borisych) gid=511(borisych) groups=511(borisych) -bash-2.05b$ logout -bash: /home/borisych/.bash_logout: Permission denied [EMAIL PROTECTED] /]cp -rp /home/borisych /home/borisych1 [EMAIL PROTECTED] /]rm -fr /home/borisych [EMAIL PROTECTED] /]mv /home/borisych1 /home/borisych [EMAIL PROTECTED] /]su - borisych [EMAIL PROTECTED] borisych]$ No error messages yet ? Did u play with file attributes ? noro I think that problem in kernel, but how solve it ? Due to my low expirience in English, I can't clear define my problem to search it in google. Help me. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help me please!!! cannot read/write home directory
, 24.01.2004, 01:55, Norbert Kamenicky : Andrew B. Panphiloff wrote: Today I get next : [EMAIL PROTECTED] /]su - borisych su: warning: cannot change directory to /home/borisych: Permission denied -bash: /home/borisych/.bash_profile: Permission denied -bash-2.05b$ ls -l /home/ | grep borisych drwx--2 borisych borisych 4096 Jan 12 17:05 borisych -bash-2.05b$ id borisych uid=510(borisych) gid=511(borisych) groups=511(borisych) -bash-2.05b$ logout -bash: /home/borisych/.bash_logout: Permission denied [EMAIL PROTECTED] /]cp -rp /home/borisych /home/borisych1 [EMAIL PROTECTED] /]rm -fr /home/borisych [EMAIL PROTECTED] /]mv /home/borisych1 /home/borisych [EMAIL PROTECTED] /]su - borisych [EMAIL PROTECTED] borisych]$ No error messages yet ? Did u play with file attributes ? [EMAIL PROTECTED] /]lsattr /home | grep borisych - /home/borisych [EMAIL PROTECTED] /] noro I think that problem in kernel, but how solve it ? Due to my low expirience in English, I can't clear define my problem to search it in google. Help me. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help me please!!! cannot read/write home directory
Andrew B. Panphiloff wrote: , 24.01.2004, 01:55, Norbert Kamenicky : Andrew B. Panphiloff wrote: Today I get next : [EMAIL PROTECTED] /]su - borisych su: warning: cannot change directory to /home/borisych: Permission denied -bash: /home/borisych/.bash_profile: Permission denied -bash-2.05b$ ls -l /home/ | grep borisych drwx--2 borisych borisych 4096 Jan 12 17:05 borisych -bash-2.05b$ id borisych uid=510(borisych) gid=511(borisych) groups=511(borisych) -bash-2.05b$ logout -bash: /home/borisych/.bash_logout: Permission denied [EMAIL PROTECTED] /]cp -rp /home/borisych /home/borisych1 [EMAIL PROTECTED] /]rm -fr /home/borisych [EMAIL PROTECTED] /]mv /home/borisych1 /home/borisych [EMAIL PROTECTED] /]su - borisych [EMAIL PROTECTED] borisych]$ No error messages yet ? Did u play with file attributes ? [EMAIL PROTECTED] /]lsattr /home | grep borisych - /home/borisych [EMAIL PROTECTED] /] do a # ls -l /home then a # chown -R borisych:users /home/borisych # chmod -R u+rwx /home/borisych # ls -l /home good luck! /Linus
Re: [gentoo-user] help me please!!! cannot read/write home directory
, 24.01.2004, 02:03, Linus harling : Andrew B. Panphiloff wrote: , 24.01.2004, 01:55, Norbert Kamenicky : Andrew B. Panphiloff wrote: Today I get next : [EMAIL PROTECTED] /]su - borisych su: warning: cannot change directory to /home/borisych: Permission denied -bash: /home/borisych/.bash_profile: Permission denied -bash-2.05b$ ls -l /home/ | grep borisych drwx--2 borisych borisych 4096 Jan 12 17:05 borisych -bash-2.05b$ id borisych uid=510(borisych) gid=511(borisych) groups=511(borisych) -bash-2.05b$ logout -bash: /home/borisych/.bash_logout: Permission denied [EMAIL PROTECTED] /]cp -rp /home/borisych /home/borisych1 [EMAIL PROTECTED] /]rm -fr /home/borisych [EMAIL PROTECTED] /]mv /home/borisych1 /home/borisych [EMAIL PROTECTED] /]su - borisych [EMAIL PROTECTED] borisych]$ No error messages yet ? Did u play with file attributes ? [EMAIL PROTECTED] /]lsattr /home | grep borisych - /home/borisych [EMAIL PROTECTED] /] do a # ls -l /home then a # chown -R borisych:users /home/borisych # chmod -R u+rwx /home/borisych # ls -l /home good luck! /Linus [EMAIL PROTECTED] /]ls -l /home/ | grep alucard drwx--2 alucard alucard 4096 Dec 12 14:23 alucard [EMAIL PROTECTED] /]id alucard uid=509(alucard) gid=510(alucard) groups=510(alucard) [EMAIL PROTECTED] /]chown -R alucard:alucard /home/alucard [EMAIL PROTECTED] /]chmod -R u+rwx /home/alucard/ [EMAIL PROTECTED] /]ls -l /home/ | grep alucard drwx--2 alucard alucard 4096 Dec 12 14:23 alucard [EMAIL PROTECTED] /]su - alucard su: warning: cannot change directory to /home/alucard: Permission denied -bash: /home/alucard/.bash_profile: Permission denied -bash-2.05b$ only cp solve my problem, but I can't copy all my disk! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] help me please!!! cannot read/write home directory
On Sat, Jan 24, 2004 at 12:14:20AM +0300, Andrew B. Panphiloff wrote: ... skpd [EMAIL PROTECTED] /]ls -l /home/ | grep alucard drwx--2 alucard alucard 4096 Dec 12 14:23 alucard [EMAIL PROTECTED] /]id alucard uid=509(alucard) gid=510(alucard) groups=510(alucard) [EMAIL PROTECTED] /]chown -R alucard:alucard /home/alucard [EMAIL PROTECTED] /]chmod -R u+rwx /home/alucard/ [EMAIL PROTECTED] /]ls -l /home/ | grep alucard drwx--2 alucard alucard 4096 Dec 12 14:23 alucard [EMAIL PROTECTED] /]su - alucard su: warning: cannot change directory to /home/alucard: Permission denied -bash: /home/alucard/.bash_profile: Permission denied -bash-2.05b$ only cp solve my problem, but I can't copy all my disk! Are you using NFS by any chance? Or some other network-mounted file system for home directories (run 'mount' with no options to find out). If it is indeed a network mount, you need to make sure you have necessary permissions on the server as it may not honor your local 'root' privileges. Also, in this case you need to double check if your 'cp ' commands above didn't screw things up i.e. you didn't end up with local copies of that stuff instead of the network mounted directories (could happen if you are running an automount). The only other thing that comes to mind is a corrupt filesystem, in which case you can try 'shutdown -r -F 0' , where '-F' should force 'fsck' on reboot (even for journalized filesystems). -- - Andrey ~ In theory, practice and theory are the same, but in practice they are different (Larry McVoy) ~ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: [normal] Re: [gentoo-user] Help! file system problems - force an fsck? - now more confused
-- quoting Mark Knecht -- Right now I'm left with this 'incomplete merge' message.. Did you post a bug @ bugs.gentoo.org? -- Cable. It's more wonderful than I dared hope. -- Homer Simpson Homer vs. Lisa and the 8th Commandment -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help! file system problems - force an fsck?
On Sun, 2004-01-18 at 07:18, Mark Knecht wrote: !!! ERROR: There appears to be FILE SYSTEM CORRUPTION. A file that is listed as existing is not capable of being stat'd. If you are using an experimental kernel, please boot into a stable one, force an fsck, and ensure your filesystem is in a sane state. 'shutdown -Fr now' So apparently I just do the 'shutdown -Fr now' and let things happen? I'm unclear what questions I might be asked or how to answer them. Thanks, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help! file system problems - force an fsck?
On Sun, 18 Jan 2004 07:20:04 -0800 thus spake Mark Knecht [EMAIL PROTECTED]: So apparently I just do the 'shutdown -Fr now' and let things happen? I'm unclear what questions I might be asked or how to answer them. I never got this exact error but you will have to make you best guess when running fsck. It will tell there are corrupted inodes or files that messed up and ask if it can either get rid of them or fix them. fix=yes get rid of=depends on what it is. I had a rouge bzImage that I had been working on corrupt some things and I just got rid of it because I knew I could easily re-create it. Just use your noodle, you'll figure it out. good luck! -- BigNate ~ ~ ~ :wq -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help! file system problems - force an fsck? - now more confused
On Sun, 2004-01-18 at 07:34, n_powell wrote: On Sun, 18 Jan 2004 07:20:04 -0800 thus spake Mark Knecht [EMAIL PROTECTED]: So apparently I just do the 'shutdown -Fr now' and let things happen? I'm unclear what questions I might be asked or how to answer them. I never got this exact error but you will have to make you best guess when running fsck. It will tell there are corrupted inodes or files that messed up and ask if it can either get rid of them or fix them. fix=yes get rid of=depends on what it is. I had a rouge bzImage that I had been working on corrupt some things and I just got rid of it because I knew I could easily re-create it. Just use your noodle, you'll figure it out. good luck! Nathan, Hi. Now I'm even more confused... OK, so I did the 'shutdown -Fr now' and let things proceed. fsck said it found one inode that should 2 but was 1 so it corrected it, rebooted another time and then came up fine. Everything was automatic. I didn't do anything other than start the process. At this point I did another emerge -Uv world, which is what I was doing earlier. Things progress along for a while and then I get the same error again: !!! ERROR: There appears to be FILE SYSTEM CORRUPTION. A file that is listed as existing is not capable of being stat'd. If you are using an experimental kernel, please boot into a stable one, force an fsck, and ensure your filesystem is in a sane state. 'shutdown -Fr now' File: /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.tmp Error: [Errno 2] No such file or directory: '/var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.tmp' Wizard root # Indeed, the offending file both seems to be there, in the sense that there's a name when I do an ls, but also not there in the sense that it says no such file or directory. Wizard root # ls -al /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/H* ls: /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.tmp: No such file or directory -rw-r--r--1 root root 2699 Jan 18 08:26 /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.3pm.gz Wizard root # I don't know how to proceed? Is this a problem with my system? Is this some sort of strange portage problem? Could this have been left over from the previous time? I'm very confused! Thanks, MArk -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help! file system problems - force an fsck? - now more confused
On Sun, 2004-01-18 at 08:53, Mark Knecht wrote: Indeed, the offending file both seems to be there, in the sense that there's a name when I do an ls, but also not there in the sense that it says no such file or directory. Wizard root # ls -al /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/H* ls: /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.tmp: No such file or directory -rw-r--r--1 root root 2699 Jan 18 08:26 /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.3pm.gz Wizard root # So after another fsck the file appears good: Wizard root # ls -al /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash* -rw-r--r--1 root root 2699 Jan 18 08:26 /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.3pm.gz -rw-r--r--2 root root 3196 Jan 18 08:26 /var/tmp/portage/perl-5.8.0-r12/image/usr/share/man/man3/Hash::Util.tmp Wizard root # Can I safely erase all of /var/tmp/portage and let things take their course again? I think yes, but don't want to pull the trigger quite yet... Thanks, Mark -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: [normal] Re: [gentoo-user] Help! file system problems - force an fsck? - now more confused
Hi Mark, Can I safely erase all of /var/tmp/portage and let things take their course again? I think yes, but don't want to pull the trigger quite yet... Just delete all data in /var/tmp/portage and start from the beginning. It's safe to do so ... brgds, Marc -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: [normal] Re: [gentoo-user] Help! file system problems - force an fsck? - now more confused
On Sun, 2004-01-18 at 09:37, Marc Redmann wrote: Hi Mark, Can I safely erase all of /var/tmp/portage and let things take their course again? I think yes, but don't want to pull the trigger quite yet... Just delete all data in /var/tmp/portage and start from the beginning. It's safe to do so ... brgds, Marc Marc, I did this but the problem has repeated for the 3rd time. I don't get it. Could it be somehow related to portage trying to do a downgrade? Wizard root # emerge -Upv world --upgradeonly implies --update... adding --update to options. These are the packages that I would merge, in order: Calculating world dependencies ...done! INCOMPLETE MERGE: /var/db/pkg/dev-lang/-MERGING-perl-5.8.0-r12 [ebuild UD] dev-lang/perl-5.8.0-r12 [5.8.1-r2] +berkdb -doc +gdbm -threads [ebuild U ] sys-libs/glibc-2.3.2-r9 [2.3.2-r8] +nls -pic -build -nptl [ebuild U ] sys-devel/binutils-2.14.90.0.7-r4 [2.14.90.0.7] +nls -bootstrap -build Wizard root # Right now I'm left with this 'incomplete merge' message.. Thanks, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help! ACCEPT() returns an Invalid argument error after an emerge?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 12 January 2004 15:07, Hareesh Nagarajan wrote: if( (newClientFD=accept(serverFD, (struct sockaddr*) newClientAddress, addrLength)) 0 ) perror(accept:); Do you set addrLength before this call? - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAAqHJds9m9uhAobARAgfzAKCiX5a/VJrxCedafB11wwlCNEX2LgCgmhhs 9kxjV9c4ODj0t2JwZahIsOQ= =2Zji -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help! ACCEPT() returns an Invalid argument error after an emerge?
On Mon, 2004-01-12 at 19:01, Erik S. Johansen wrote: On Monday 12 January 2004 15:07, Hareesh Nagarajan wrote: if( (newClientFD=accept(serverFD, (struct sockaddr*) newClientAddress, addrLength)) 0 ) perror(accept:); Do you set addrLength before this call? I did not, but now I do! Whew! Any idea why it works on some systems/configurations and fails on others? (Bah! And I blame it on portage) Thank you very much. -- Hareesh Nagarajan Bangalore, India Try ionicChat today, an Instant Messenger with a difference! http://puggy.symonds.net/~hareesh/ionic-chat/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help! ACCEPT() returns an Invalid argument error after an emerge?
On Mon, 12 Jan 2004 10:21:27 -0800, Hareesh Nagarajan muttered: On Mon, 2004-01-12 at 19:01, Erik S. Johansen wrote: On Monday 12 January 2004 15:07, Hareesh Nagarajan wrote: if( (newClientFD=accept(serverFD, (struct sockaddr*) newClientAddress, addrLength)) 0 ) perror(accept:); Do you set addrLength before this call? I did not, but now I do! Whew! Any idea why it works on some systems/configurations and fails on others? Differing address lengths on different machines? -- Andrew Farmer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: [gentoo-user] help with genkernel
On Monday 12 January 2004 2:02 am, sean smith wrote: i already have gentoo up and running i want to have the gaming kernel as another kernel to boot to. the problem is if i run genkernel it is still pointed to the old kernel sources not the gaming one, does anyone know how to change that, is there a config file for genkernel?? the symlink in /usr/src has to point to the kernel source you want to compile... [EMAIL PROTECTED] pross $ ls -l /usr/src/ total 4 lrwxrwxrwx1 root root 12 Jan 10 01:33 linux - linux-2.4.24 drwxr-xr-x 15 root root 4096 Jan 10 17:52 linux-2.4.24 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help with su - postgres problems
On Wed, 2004-01-07 at 17:38, Tiago Lima wrote: Could it be from a /etc file? I remember etc-updateing some files but dont know them by hard... If it is then the best was to check is to have a look at /etc/passwd. This file has all/most the info needed to login at that user. Have a look and see if you can spot anything out of the ordinary. On my machine it currently looks like the following: postgres:x:70:70::/var/lib/postgresql:/bin/bash Cheers -- Dg -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help with su - postgres problems
The line is exactly the same... Maybe something else... ? Thanks, Tiago Lima On Wednesday 07 January 2004 17:50, David Gethings wrote: On Wed, 2004-01-07 at 17:38, Tiago Lima wrote: Could it be from a /etc file? I remember etc-updateing some files but dont know them by hard... If it is then the best was to check is to have a look at /etc/passwd. This file has all/most the info needed to login at that user. Have a look and see if you can spot anything out of the ordinary. On my machine it currently looks like the following: postgres:x:70:70::/var/lib/postgresql:/bin/bash Cheers -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help with portage dependencies needed
Still the same problem with mozilla ... first answer sent to Spider, but not gentoo-user. Thanke you, Spider ! You are right ... it was in the deep night, I was very tired ... do not know how it happend, but -X was really missing in my USE flags, -doc is also a good tip, since after adding these two flags only nasm and lilo are going to be (re)emerged. noro Spider wrote: begin quote On Sun, 28 Dec 2003 02:20:26 +0100 Norbert Kamenicky [EMAIL PROTECTED] wrote: Hi everybody ! I installed a small gentoo based (q)mail only server from stage3 tarball on very old PC with 2GB hdd. (2GB is not much, but should be enough, 'cause no other services nor XFree ... are needed.) I simply booted from Knoppix, and made these steps: fdisk, mkfs, mount fs's, setup network, downloaded stage3 tarbal, untarred, chrooted, source profile, env-update, emerge sync, edited make.conf = USE= -X -kde -gnome -ipv6 maildirs emerge gentoo_sources ... and now it cames ... emerge -pv lilo ... the answer is very surrprising: [ebuild N] media-libs/jpeg-6b-r3 [ebuild N] media-libs/libpng-1.2.5-r4 [ebuild N] media-libs/freetype-2.1.4 +doc +zlib -bindist [ebuild N] x11-misc/ttmkfdir-3.0.9 [ebuild N] x11-base/opengl-update-1.5 [ebuild N] media-libs/fontconfig-2.2.1 [ebuild N] app-arch/cabextract-0.6 [ebuild N] x11-base/xfree-4.3.0-r3 -3dfx +sse -mmx -3dnow +xml2 +truetype +nls -cjk +doc -ipv6 -debug -static +pam -sdk -gatos [ebuild N] media-libs/tiff-3.5.7-r1 [ebuild N] net-print/cups-1.1.19-r1 +ssl -slp +pam [ebuild N] app-text/ghostscript-7.07.1-r1 +X +cups -cjk look here? +X +cups ? i'd check your /etc/make.conf again so you haven't forgotten to uncomment the USE line. [ebuild N] dev-lang/nasm-0.98.38 +doc -build [ebuild N] sys-boot/lilo-22.5.1 also try to add -doc to your USE flags. //Spider -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help with portage dependencies needed
begin quote On Sun, 28 Dec 2003 02:20:26 +0100 Norbert Kamenicky [EMAIL PROTECTED] wrote: Hi everybody ! I installed a small gentoo based (q)mail only server from stage3 tarball on very old PC with 2GB hdd. (2GB is not much, but should be enough, 'cause no other services nor XFree ... are needed.) I simply booted from Knoppix, and made these steps: fdisk, mkfs, mount fs's, setup network, downloaded stage3 tarbal, untarred, chrooted, source profile, env-update, emerge sync, edited make.conf = USE= -X -kde -gnome -ipv6 maildirs emerge gentoo_sources ... and now it cames ... emerge -pv lilo ... the answer is very surrprising: [ebuild N] media-libs/jpeg-6b-r3 [ebuild N] media-libs/libpng-1.2.5-r4 [ebuild N] media-libs/freetype-2.1.4 +doc +zlib -bindist [ebuild N] x11-misc/ttmkfdir-3.0.9 [ebuild N] x11-base/opengl-update-1.5 [ebuild N] media-libs/fontconfig-2.2.1 [ebuild N] app-arch/cabextract-0.6 [ebuild N] x11-base/xfree-4.3.0-r3 -3dfx +sse -mmx -3dnow +xml2 +truetype +nls -cjk +doc -ipv6 -debug -static +pam -sdk -gatos [ebuild N] media-libs/tiff-3.5.7-r1 [ebuild N] net-print/cups-1.1.19-r1 +ssl -slp +pam [ebuild N] app-text/ghostscript-7.07.1-r1 +X +cups -cjk look here? +X +cups ? i'd check your /etc/make.conf again so you haven't forgotten to uncomment the USE line. [ebuild N] dev-lang/nasm-0.98.38 +doc -build [ebuild N] sys-boot/lilo-22.5.1 also try to add -doc to your USE flags. //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] Help with new system
begin quote On Wed, 24 Dec 2003 22:59:44 + Thomas Richards [EMAIL PROTECTED] wrote: Any suggestion on why I should use JFS over ext3 or vice versa? Not really, overall I advice against ReiserFS because of their horrid recovery-tools. Jfs I've had mixed success with but overall it felt good. I haven't evaluated xfs because so far it hasn't been mainline when I've started to work on repartitioning. Ext3 isn't the fastest in the race, but it has a darn good support team. That matters a lot for me. //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] Help with new system
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would like to thank all of you for your input :) Its things like this that make Gentoo so great. Do to shipping errors, i wont have my new case for atleast another couple of days. So its just that much longer until I can actually get my system up. I wish all of you a Merry Christmas :) Tom | | | -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/6q2ZK4gvbg3FdRARAnDMAJ9vzLSRVI00+WVpEKG9qmrbW+GSCQCfUx/V rK83vvcGUSWcC4gmNeW3AwI= =ZpXI -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help with new system
On Thursday 25 December 2003 8:43 am, Spider wrote: Not really, overall I advice against ReiserFS because of their horrid recovery-tools. Jfs I've had mixed success with but overall it felt good. I haven't evaluated xfs because so far it hasn't been mainline when I've started to work on repartitioning. Ext3 isn't the fastest in the race, but it has a darn good support team. That matters a lot for me. //Spider I've been following this discussion, and must differ with Spider, even though I'm sure he knows much more Linux than I do. At least in my case (desktop/home usage box), I originally used ext2/3. About a year ago, I switched all my boxes over to reiserfs, and the improvement in responsiveness and overall speed was, in a word, drastic- so much so that I would never consider going back ( I do use ext3 on my Gentoo /boot partition). I've never lost one bit of data when having to do a reboot after a lockup (I do lots of kernel and app testing with Gentoo ~x86 systems, and Mandrake cooker). The reiserfs journaling has always worked perfectly for me. I do work with generally small files, which reiser is suppose to excel at. I generally defer to Spider's expertise, but since it became clear that he was not a reiserfs fan, I thought I'd offer a different opinion, based on my personal experience with reiserfs. As usual, YMMV, and reiserfs might not be the best choice in all cases. Robert Crawford -- [EMAIL PROTECTED] mailing list