Re: [gentoo-user] BTTV Mini-HOWTO -- how do I use multiple inputs?

2005-11-28 Thread Nick Rout
On Mon, 28 Nov 2005 23:17:37 +1300
Nick Rout [EMAIL PROTECTED] wrote:

 yes, you probably have one bttv device with a number of inputs. you
 need to switch inputs. they are usually called TV, Composite, S-Video
 etc. If there is more than one composite they might be called
 Composite-1, Composite-2 etc
 
 On the other hand they may be audio inputs? 4 composite inputs is
 rather excessive I would have thought.
 
 By the way which package does v4lctl come in?


ok it is part of xawtv. just refreshing myself, you can see a list of
available parameters with

v4lctl -c /dev/video0 list
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wvdial: dialup for users

2005-11-28 Thread Alan E. Davis
I've been plunking around with this. I tried what may be a brute
force method: change the permissions of /dev/ttyS14. But
/dev/ttyS14 is a link to /dev/tts/14. I now see that is a devfs
rendering? I thought I do not have support for devfs, and I am
trying to use something else.

Anyway, is it possible my problems are related to this issue? 

I see that the Cannot open /dev/ttyS14: device or resource busy
message is a common one. And there are almost as many proposed
solutions as there are instances. There surely would be an easy
way to do such a simple thing? Nothing works for me.

Alan Davis

On 11/28/05, Dale [EMAIL PROTECTED] wrote:
John J. Foster wrote:On Sat, Nov 26, 2005 at 10:20:15PM -0600, Dale wrote:Now wvdial, it dials out, then sits for a minute, then disconnects withthe error that my password is wrong, which is crap because it is
correct.I only got wvdial to work once on another rig.It has neverworked on this one though.Anybody have a clue on that one?I justlike to have options in case it pours instead of just a little shower.
Hi Dale - I had the same problem until I setStupid Mode=yes in /etc/wvdial.conf. All was fine then.JohnThanks for that tip.I'll try that.I like to have as many back-ups as
I can get.If it were not for bad luck, I would have no luck at all.Well, there is the exception of my girlfriend.She is the best thing,person, to happen yet.Dale:-)--To err is human, I'm most certainly human.
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] wvdial: dialup for users

2005-11-28 Thread Alan E. Davis
Ok: success! After changing the permissions a a BUNCH of files,
and ownerships, and even generating new groups (ppp), finally, when I
changed the ownership of /etc/wvdial to root:dialout, the setup works!

Isn't that always the way? When I finally have posted and given up, a new option occurs to me that works!

Thank you to everyone who made suggestions.

Alan DavisOn 11/28/05, Alan E. Davis [EMAIL PROTECTED] wrote:
I've been plunking around with this. I tried what may be a brute
force method: change the permissions of /dev/ttyS14. But
/dev/ttyS14 is a link to /dev/tts/14. I now see that is a devfs
rendering? I thought I do not have support for devfs, and I am
trying to use something else.

Anyway, is it possible my problems are related to this issue? 

I see that the Cannot open /dev/ttyS14: device or resource busy
message is a common one. And there are almost as many proposed
solutions as there are instances. There surely would be an easy
way to do such a simple thing? Nothing works for me.

Alan Davis

On 11/28/05, Dale [EMAIL PROTECTED]
 wrote:
John J. Foster wrote:On Sat, Nov 26, 2005 at 10:20:15PM -0600, Dale wrote:Now wvdial, it dials out, then sits for a minute, then disconnects withthe error that my password is wrong, which is crap because it is
correct.I only got wvdial to work once on another rig.It has neverworked on this one though.Anybody have a clue on that one?I justlike to have options in case it pours instead of just a little shower.
Hi Dale - I had the same problem until I setStupid Mode=yes in /etc/wvdial.conf. All was fine then.JohnThanks for that tip.I'll try that.I like to have as many back-ups as
I can get.If it were not for bad luck, I would have no luck at all.Well, there is the exception of my girlfriend.She is the best thing,person, to happen yet.Dale:-)--To err is human, I'm most certainly human.
--gentoo-user@gentoo.org mailing list




[gentoo-user] Re: BTTV Mini-HOWTO -- how do I use multiple inputs?

2005-11-28 Thread James
Nick Rout nick at rout.co.nz writes:


  By the way which package does v4lctl come in?

 ok it is part of xawtv. just refreshing myself, you can see a list of
 available parameters with

 v4lctl -c /dev/video0 list



What about 'media-video/came' although it's masked it says:
Description: rewrite of the xawtv webcam app, which adds imlib2 
support and a lot of new features


Just curious if anyone has used came with a frame grabber board?
Does it interfere with xawtv? complement?


James

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Video capture card recommendations

2005-11-28 Thread Budd, Tracy
I just need a bare-bones card to make backups of my VCR tapes and DVDs.
Not even interested in a TV-tuner though I guess they all include that.
Gentoo support is a must.
TIA
-tracy

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How does Portage prioritze emerges in emerge world?

2005-11-28 Thread James
Holly Bostick motub at planet.nl writes:

 I said that the situation of upgrading a kernel with the 'symlink' USE
 flag active occurring at the same time as a (particular) program needing
 to compile against a configured kernel was not likely to occur all that
 often, but I was wrong. It's happened again today, but with a different
 program than the ones I normally keep an eye on.

 The good thing is that I (think I) see what the problem is.

 The problem is that Portage emerges the new kernel before (almost)
 everything else, without regard for whether the 'symlink' USE flag is
 active, and whether or not any of the other programs proposed to emerge
 need to compile against a configured kernel source-- or rather, the
 currently-running kernel, which the symlink most likely pointed to
 before Portage changed it via a previous emerge.

Folks either I'm missing the  boat entirely, or this is far simpler 
than these correspondances indicate.

/etc/src contains this:
rw-r--r--   1 root root0 Aug 24 14:54 .keep
lrwxrwxrwx   1 root root   22 Nov  3 16:35 linux - linux-2.6.13-gentoo-r5
drwxr-xr-x  19 root root 1280 Oct  5 16:42 linux-2.6.12-gentoo-r9
drwxr-xr-x  19 root root 1280 Nov 22 16:21 linux-2.6.13-gentoo-r5
drwxr-xr-x  18 root root  688 Oct 30 01:02 linux-2.6.14-gentoo
drwxr-xr-x  18 root root  688 Nov 14 02:45 linux-2.6.14-gentoo-r2
drwxr-xr-x  18 root root  688 Nov 17 21:04 linux-2.6.14.2


But since my symlink is to the 'linux-2.6.13-gentoo-r5' kernel
source, that is what all of my packages use as a default to
compile against, unless I use some of these techniques that 
others have listed?  Am I correct?

I have several kernel-sources later than 'linux-2.6.13-gentoo-r5'
some vanilla some gentoo. How would portage know which one to
compile against if not the symlink set in /usr/src?

Did I miss something or this conversation only relevant if
one chooses to set USE flags in lieu of a symlink in /usr/src?

Why would you want to control this behavior with a USE flag 
versus an 'old fashion symlink' in /usr/src?


confused
James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How does Portage prioritze emerges in emerge world?

2005-11-28 Thread Neil Bothwick
On Mon, 28 Nov 2005 16:26:56 + (UTC), James wrote:

 I have several kernel-sources later than 'linux-2.6.13-gentoo-r5'
 some vanilla some gentoo. How would portage know which one to
 compile against if not the symlink set in /usr/src?

uname -r returns the currently running kernel version.
 
 Did I miss something or this conversation only relevant if
 one chooses to set USE flags in lieu of a symlink in /usr/src?

 Why would you want to control this behavior with a USE flag 
 versus an 'old fashion symlink' in /usr/src?

The sylink is still used, but maintained by portage when you install
new kernel sources. The USE flag in question is 'symlink'

# useflag symlink
/usr/portage/profiles/use.desc:symlink - Force kernel ebuilds to automatically 
update the /usr/src/linux symlink.


-- 
Neil Bothwick

OPERATOR ERROR: Nyah, Nyah, Nyah, Nyah, Nyah!


signature.asc
Description: PGP signature


[gentoo-user] Problems upgrading gcc

2005-11-28 Thread Thiago Lüttig
Hi, i have an gentoo with gcc 3.4.4, and I´ve executed the tcupdate script to upgrade the gcc(after executed an emerge sync), well, the tcupdate doesnt did nothing, and when i try tu run an emerge gcc, the las version of gcc appears as 
3.4.4.-- __Atenciosamente,Thiago Lüttig__ 


Re: [gentoo-user] Re: How does Portage prioritze emerges in emerge world?

2005-11-28 Thread Neil Bothwick
On Mon, 28 Nov 2005 18:20:28 +0100, Francesco R. wrote:

 disclaimer: _not_ followed the whole thread and _not_ checked the 
 source.
 
 But how can be created packages that work on different machines if it 
 use uname -r ?

This thread is all about compiling kernel modules, which must be specific
to either the running kernel or the intended kernel. Most packages take
the latter option, using the symlink, which causes problems if the
symlink is updated during an emerge -u world.


-- 
Neil Bothwick

Always remember to pillage before you burn.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How does Portage prioritze emerges in emerge world?

2005-11-28 Thread Scott Stoddard

Neil Bothwick wrote:


This thread is all about compiling kernel modules, which must be specific
to either the running kernel or the intended kernel. Most packages take
the latter option, using the symlink, which causes problems if the
symlink is updated during an emerge -u world.



IMO exactly why no one should ever really use the symlink USE flag...

(Haven't read the whole thread either...long since deleted from my 
mailserver.)


Depending on the output of uname -r is foolish, as witnessed by the 
debacle of windows versions over the years.  (Several prominent pieces 
of software install only on versions matching a string returned by the 
OS, thereby essentially eliminating the possibility that they will work 
on future versions.  I still have several perfectly stable programs that 
won't run on windows xp 64 bit because of this problem.)


Who is to say what that [uname -r] return might look like on different 
systems with custom-patched kernels? from different distros? multi-years 
into the future?



Scott.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] mouse won't scroll anymore

2005-11-28 Thread Ernie Schroder
I've just moved from XFree86 to xorg and updated my KDE and now my wheel
mouse doesn't scroll anymore. I'm using the same mouse lines in xorg.conf
that I used in Xfree86.conf, but I can't get it to work. It must be
something I just don't see. Any ideas?

Logitek Track man Wheel (USB)

I've tried changing the protocol to PS/2 and removing gpm from my default 
runlevel

Section InputDevice

# Identifier and driver

Identifier  Mouse1
Driver  mouse
Option ProtocolPS/2
#   Option Device  mouse
Option Device /dev/psaux
Option ZAxisMapping 4 5

# Mouse-speed setting for PS/2 mouse.

#Option Resolution256

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#Option Protocol  Xqueue

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#Option BaudRate  9600
#Option SampleRate150

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#Option Emulate3Buttons
#Option Emulate3Timeout50

# ChordMiddle is an option for some 3-button Logitech mice

Option ChordMiddle

EndSection
-- 
Regards, Ernie
100% Microsoft and Intel free

 13:33:57 up  2:03,  6 users,  load average: 0.06, 0.07, 0.18
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Pam merge error

2005-11-28 Thread Ernie Schroder
On Monday 28 November 2005 03:49 am, a tiny voice compelled andy to write:
 try to emerge cracklib first.
 
cracklib and gnupg did it. Thanks
-- 
Regards, Ernie
100% Microsoft and Intel free

 13:43:48 up  2:13,  6 users,  load average: 0.18, 0.15, 0.13
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How does Portage prioritze emerges in emerge world?

2005-11-28 Thread Richard Fish
On 11/28/05, Scott Stoddard [EMAIL PROTECTED] wrote:
 Neil Bothwick wrote:
 
  This thread is all about compiling kernel modules, which must be specific
  to either the running kernel or the intended kernel. Most packages take
  the latter option, using the symlink, which causes problems if the
  symlink is updated during an emerge -u world.
 

 IMO exactly why no one should ever really use the symlink USE flag...

 (Haven't read the whole thread either...long since deleted from my
 mailserver.)

 Depending on the output of uname -r is foolish, as witnessed by the

I don't think anybody was advocating _depending_ upon the output of
uname -r, but using that to find the sources for the currently running
kernel.  As in:

ls -l /lib/modules/`uname -r`/build

Using uname -r in this context is unlikely to ever break, as then
module loading would be broken.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mouse won't scroll anymore

2005-11-28 Thread Richard Fish
On 11/28/05, Ernie Schroder [EMAIL PROTECTED] wrote:
 I've just moved from XFree86 to xorg and updated my KDE and now my wheel
 mouse doesn't scroll anymore. I'm using the same mouse lines in xorg.conf
 that I used in Xfree86.conf, but I can't get it to work. It must be
 something I just don't see. Any ideas?

 Logitek Track man Wheel (USB)

I'm confused.  If it is a USB mouse, why are you using /dev/psaux?
/dev/input/mice would be the preferred device if you are using a 2.6
kernel, with protocol either Auto or ExplorerPS/2.

Here is what I have in my xorg.conf:

Section InputDevice
Identifier  usbmouse
Driver  mouse
Option  Protocol ExplorerPS/2
Option  Device /dev/input/mice
Option  Buttons 8
Option  ZAxisMapping 4 5
Option  SendCoreEvents On
EndSection

My guess is the Buttons option is the critical one that you are
missing, and should probably be 5 in your case.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user][SOLVED] Where are the suspend2 options in suspend2-sources-2.6.14-r1-3

2005-11-28 Thread Uwe Klosa

I have also a P4 + HT and I want to use it to. Have you tried the 
CONFIG_SUSPEND_SMP parameter. I will try it this evening.

Cheers
Uwe

Robin Atwood wrote:

On Monday 28 November 2005 17:36, Uwe Klosa wrote:


No they did not. I've got a compile error.

But I have a solution for my problem. In my kernel config SMP was activated
- has always been. But in the current kernels suspend2 depends on (!SMP ||
SUSPEND_SMP). After I changed that - I deactivated SMP for now - SUSPEND2



I have had the exact same experience. The point is I have a P4 3.2 GHz  + HT 
processor and want to use the SMP support, as well as suspend. This worked in 
2.6.12 so it's a patching error, right?


Cheers...
-Robin,
begin:vcard
fn:Uwe Klosa
n:Klosa;Uwe
org:Uppsala University;Electronic Publishing Centre
adr:;;;Uppsala;;75120;Sweden
email;internet:[EMAIL PROTECTED]
tel;work:+46 (0)18 471 7658
url:http://publications.uu.se/epcentre
version:2.1
end:vcard



[gentoo-user] Re: PHP

2005-11-28 Thread Jeff Grossman
ellotheth rimmwen [EMAIL PROTECTED] wrote:
 On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 Is the dev-lang/php pretty stable?  Is there anything I should know
 before I make the switch?
 
 I'm running 5.0.5. It's lovely. Just follow the upgrade guide
 (http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw)
 and you should be peachy. Watch the USE flags, and the overlay wiki
 [http://svn.gnqs.org/projects/gentoo-php-overlay/] is your friend.
 
Thank you for the information.  I will take a look at those webpages and 
get it installed.

Jeff

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] usb key question

2005-11-28 Thread Antoine

Hi,
I get this from dmesg

usb 1-4: new high speed USB device using ehci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
  Vendor:   Model: USB Flash Memory  Rev: 1.04
  Type:   Direct-Access  ANSI SCSI revision: 00
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete

But I can't seem to mount it... what dev do I mount?
Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



[gentoo-user] cdrtools and 2.6.13-r3 kernel

2005-11-28 Thread Rob
Does anyone know if cdrtools 2.01-r3 works at all with the gentoo
2.6.13-r3 kernel?

I saw cdrecord giving a warning about later kernels.  Xcdroast just
doesn't seem to do anything when I've tried it.

Thanks,

Rob


-- 
--
Rob Lytle Home Page
A Seti search for intelligent life in Central Pa.
http://home.comcast.net/~europa100
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: BTTV Mini-HOWTO -- how do I use multiple inputs?

2005-11-28 Thread Nick Rout

On Mon, 28 Nov 2005 15:00:14 + (UTC)
James wrote:

 Nick Rout nick at rout.co.nz writes:
 
 
   By the way which package does v4lctl come in?
 
  ok it is part of xawtv. just refreshing myself, you can see a list of
  available parameters with
 
  v4lctl -c /dev/video0 list
 
 
 
 What about 'media-video/came' although it's masked it says:
 Description: rewrite of the xawtv webcam app, which adds imlib2 
 support and a lot of new features
 
 
 Just curious if anyone has used came with a frame grabber board?
 Does it interfere with xawtv? complement?

I think I tried it years ago, probably without success as the memory is
very dim. I think it is written camE (with the capitalised E). The
latest source file is dated June 2004 so maybe it is not maintained ?
Anyway it is a 38 k download.

If you want something to watch tv try media-tv/tvtime, brilliant for
watching live tv or a vid-cam pluged into your framegrabber. (It will
not work with hauppauge pvr cards that do mpeg encoding in hardware)

 
 
 James
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] completely removing a program

2005-11-28 Thread Nick Smith
sorry for the simple question.
how can i completely remove a program and have it get rid of the conf files and any other temp files it leaves around? i want to start from scratch with some programs and dont want to have to manually search and remove those files.

TIA
Nick


Re: [gentoo-user] cdrtools and 2.6.13-r3 kernel

2005-11-28 Thread Alexander Kirillov

Does anyone know if cdrtools 2.01-r3 works at all with the gentoo
2.6.13-r3 kernel?

I saw cdrecord giving a warning about later kernels.  Xcdroast just
doesn't seem to do anything when I've tried it.


Works for me with 2.6.14-gentoo-r2 since I disabled dma on /dev/cdrw
HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Video capture card recommendations

2005-11-28 Thread Bryce Verdier
I have 2 Hauppauge PVR-250's in a mythtv box And i couldn't be 
happier with the cards. the IVTV driver is in portage, and works great. 
And i've owned for of those 250's for over 2 years now.


bryce


Budd, Tracy wrote:


I just need a bare-bones card to make backups of my VCR tapes and DVDs.
Not even interested in a TV-tuner though I guess they all include that.
Gentoo support is a must.
TIA
-tracy

 



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] completely removing a program

2005-11-28 Thread Petteri Räty
Nick Smith wrote:
 sorry for the simple question.
 how can i completely remove a program and have it get rid of the conf
 files and any other temp files it leaves around? i want to start from
 scratch with some programs and dont want to have to manually search and
 remove those files.
 TIA
 Nick

CONFIG_PROTECT=-* emerge -C pkg

Just don't come complaining about deleted files. That would still leave
generated files around. You can use something like
http://gentoo-wiki.com/TIP_Clean_Up_Cruft to clean out tmp files.
Nothing Gentoo supported exists for the task you want I think.

Regards,
Petteri


signature.asc
Description: OpenPGP digital signature


[gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Michael Sullivan
Our cable internet service goes out frequently (and probably even more
frequently now that winter has come to OKlahoma.)  When it goes out,
pretty much everything on my Gentoo system slows down.  It's gotten to
where just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes back
on.  This morning the internet was out and I'd shut down net.eth0 and
then tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.  I
checked it and /etc/hosts was correct.  Must just be a glitch with
monodevelop.  My question is what is it about Gentoo that relies so
heavily on connecting to the internet?  My network was running just fine
- just the connection between the cable modem and the internet was down,
but everything inside my router should have been fine...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Ciaran McCreesh
On Mon, 28 Nov 2005 14:54:29 -0600 Michael Sullivan
[EMAIL PROTECTED] wrote:
| Our cable internet service goes out frequently (and probably even more
| frequently now that winter has come to OKlahoma.)  When it goes out,
| pretty much everything on my Gentoo system slows down.  It's gotten to
| where just to get an application (like gnumeric) to open I have to su
| - to root and shut down /etc/init.d/net.eth0 until the Internet comes
| back on.  This morning the internet was out and I'd shut down
| net.eth0 and then tried to run monodevelop and it refused to start
| giving me some message about my PC's hostname not being set correctly
| in /etc/hosts.  I checked it and /etc/hosts was correct.  Must just
| be a glitch with monodevelop.  My question is what is it about Gentoo
| that relies so heavily on connecting to the internet?  My network was
| running just fine
| - just the connection between the cable modem and the internet was
| down, but everything inside my router should have been fine...

Hrm. It's nothing in the base system. I sometimes run my laptop without
network, and I don't have issues. Chances are some app you're running
is trying to do lots of DNS queries... Does 'top' tell you anything
useful?

-- 
Ciaran McCreesh : Gentoo Developer (The one that looks before leaping)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



signature.asc
Description: PGP signature


Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Danyelle Gragsone
to me.. linux in general has always ran slow if the net connection goes
out. It might be constantly trying to access the internet.
Kinda like the a cell phones battery dies alot faster when it cant
connect to a tower. It just keeps trying til it gets something or
the phone dies.On 11/28/05, Michael Sullivan [EMAIL PROTECTED] wrote:
Our cable internet service goes out frequently (and probably even morefrequently now that winter has come to OKlahoma.)When it goes out,pretty much everything on my Gentoo system slows down.It's gotten towhere just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes backon.This morning the internet was out and I'd shut down net.eth0 andthen tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.Ichecked it and /etc/hosts was correct.Must just be a glitch withmonodevelop.My question is what is it about Gentoo that relies so
heavily on connecting to the internet?My network was running just fine- just the connection between the cable modem and the internet was down,but everything inside my router should have been fine...--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Alexander Kirillov

Our cable internet service goes out frequently (and probably even more
frequently now that winter has come to OKlahoma.)  When it goes out,
pretty much everything on my Gentoo system slows down.  It's gotten to
where just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes back
on.  This morning the internet was out and I'd shut down net.eth0 and
then tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.  I
checked it and /etc/hosts was correct.  Must just be a glitch with
monodevelop.  My question is what is it about Gentoo that relies so
heavily on connecting to the internet?  My network was running just fine
- just the connection between the cable modem and the internet was down,
but everything inside my router should have been fine...


Do you have nscd running? Try to stop or restart it. It can be a real 
nuisance when internet connection goes down.

It's also a good idea to run dns server locally
if only to troubleshoot name resolution problems.
HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread andy
On Mon, 28 Nov 2005 16:06:44 -0500
Danyelle Gragsone [EMAIL PROTECTED] wrote:

i think there are running files that you dont need without a net-device, try to 
find these processes/services with 
ps -aux and rc-update -s and stop/kill them

greets

 to me.. linux in general has always ran slow if the net connection goes
 out.  It might be constantly trying to access the internet.  Kinda like the
 a cell phones battery dies alot faster when it cant connect to a tower.  It
 just keeps trying til it gets something or the phone dies.
 
 On 11/28/05, Michael Sullivan [EMAIL PROTECTED] wrote:
 
  Our cable internet service goes out frequently (and probably even more
  frequently now that winter has come to OKlahoma.)  When it goes out,
  pretty much everything on my Gentoo system slows down.  It's gotten to
  where just to get an application (like gnumeric) to open I have to su -
  to root and shut down /etc/init.d/net.eth0 until the Internet comes back
  on.  This morning the internet was out and I'd shut down net.eth0 and
  then tried to run monodevelop and it refused to start giving me some
  message about my PC's hostname not being set correctly in /etc/hosts.  I
  checked it and /etc/hosts was correct.  Must just be a glitch with
  monodevelop.  My question is what is it about Gentoo that relies so
  heavily on connecting to the internet?  My network was running just fine
  - just the connection between the cable modem and the internet was down,
  but everything inside my router should have been fine...
 
  --
  gentoo-user@gentoo.org mailing list
 
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdrtools and 2.6.13-r3 kernel

2005-11-28 Thread AJ Spagnoletti
On 11/28/05, Alexander Kirillov [EMAIL PROTECTED] wrote:
 Does anyone know if cdrtools 2.01-r3 works at all with the gentoo 2.6.13-r3 kernel? I saw cdrecord giving a warning about later kernels.Xcdroast just doesn't seem to do anything when I've tried it.
I have had no trouble with cdrecord and I am using the 2.6.13-gentoo-r3 kernel

A.J.


Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Michael Sullivan
On Tue, 2005-11-29 at 00:21 +0300, Alexander Kirillov wrote:
  Our cable internet service goes out frequently (and probably even more
  frequently now that winter has come to OKlahoma.)  When it goes out,
  pretty much everything on my Gentoo system slows down.  It's gotten to
  where just to get an application (like gnumeric) to open I have to su -
  to root and shut down /etc/init.d/net.eth0 until the Internet comes back
  on.  This morning the internet was out and I'd shut down net.eth0 and
  then tried to run monodevelop and it refused to start giving me some
  message about my PC's hostname not being set correctly in /etc/hosts.  I
  checked it and /etc/hosts was correct.  Must just be a glitch with
  monodevelop.  My question is what is it about Gentoo that relies so
  heavily on connecting to the internet?  My network was running just fine
  - just the connection between the cable modem and the internet was down,
  but everything inside my router should have been fine...
 
 Do you have nscd running? Try to stop or restart it. It can be a real 
 nuisance when internet connection goes down.
 It's also a good idea to run dns server locally
 if only to troubleshoot name resolution problems.
 HTH,
 Sasha
 

I don't have a full DNS server for my domain.  Each computer on my
network has a copy of the same /etc/hosts file.  Is there some way I can
make it use that for DNS lookups locally?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Rob
Michael Sullivan wrote:
 Our cable internet service goes out frequently (and probably even more
 frequently now that winter has come to OKlahoma.)  When it goes out,
 pretty much everything on my Gentoo system slows down.  It's gotten to
 where just to get an application (like gnumeric) to open I have to su -
 to root and shut down /etc/init.d/net.eth0 until the Internet comes back
 on.  This morning the internet was out and I'd shut down net.eth0 and
 then tried to run monodevelop and it refused to start giving me some
 message about my PC's hostname not being set correctly in /etc/hosts.  I
 checked it and /etc/hosts was correct.  Must just be a glitch with
 monodevelop.  My question is what is it about Gentoo that relies so
 heavily on connecting to the internet?  My network was running just fine
 - just the connection between the cable modem and the internet was down,
 but everything inside my router should have been fine...
 
I saw somewhere in portage a daemon that manages
connection/disconnection from the network.  I think it was for laptops.
 But now I don't know what it is called or where it is in portage.

I wonder if it would work?

Rob.

-- 
--
Rob Lytle Home Page
A Seti search for intelligent life in Central Pa.
http://home.comcast.net/~europa100
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Sullivan wrote:
 I don't have a full DNS server for my domain.  Each computer on my
 network has a copy of the same /etc/hosts file.  Is there some way I can
 make it use that for DNS lookups locally?

Edit /etc/host.conf - it's well commented.

dnsmasq reads and provides dns resolution based on /etc/hosts, too. 
additionlly, check  your
/etc/resolv.conf. a nameserver 127.0.0.1 line should be present, if you want 
to avoid contacting
the internet for dns lookups, if so your system configured.

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDi3lGAlpOsGhXcE0RAlYoAJ9wn39wS3X93f1mjauNYgSQH6R0VACeJrA3
cUSVn7nMs5xa+Fuodaf/+ek=
=ASRh
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Alexander Kirillov

Our cable internet service goes out frequently (and probably even more
frequently now that winter has come to OKlahoma.)  When it goes out,
pretty much everything on my Gentoo system slows down.  It's gotten to
where just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes back
on.  This morning the internet was out and I'd shut down net.eth0 and
then tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.  I
checked it and /etc/hosts was correct.  Must just be a glitch with
monodevelop.  My question is what is it about Gentoo that relies so
heavily on connecting to the internet?  My network was running just fine
- just the connection between the cable modem and the internet was down,
but everything inside my router should have been fine...


Do you have nscd running? Try to stop or restart it. It can be a real 
nuisance when internet connection goes down.

It's also a good idea to run dns server locally
if only to troubleshoot name resolution problems.


I don't have a full DNS server for my domain.  Each computer on my
network has a copy of the same /etc/hosts file.  Is there some way I can
make it use that for DNS lookups locally?


The local resolver lib will use either /etc/hosts file or dns queries in 
the order defined in your /etc/host.conf

Anyway I think it makes sense to go through the chores of setting up
local dns server ones to save some time later down the road.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Dale
Danyelle Gragsone wrote:

 to me.. linux in general has always ran slow if the net connection
 goes out.  It might be constantly trying to access the internet. 
 Kinda like the a cell phones battery dies alot faster when it cant
 connect to a tower.  It just keeps trying til it gets something or the
 phone dies.

That's funny.  I'm on dial-up and I see no difference at all.  I even
run ntp which sets my clock and keeps it on track for me and there is no
difference when I am connected and when I am not.

Yes, I have three network cards installed and running all the time.  I
do have a local LAN here with three other rigs connected.

This is not making sense.  If what you guys are saying is correct,
people on dial-up can't use Linux.  That's not right.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Alexander Kirillov

Our cable internet service goes out frequently (and probably even more
frequently now that winter has come to OKlahoma.)  When it goes out,
pretty much everything on my Gentoo system slows down.  It's gotten to
where just to get an application (like gnumeric) to open I have to su -
to root and shut down /etc/init.d/net.eth0 until the Internet comes back
on.  This morning the internet was out and I'd shut down net.eth0 and
then tried to run monodevelop and it refused to start giving me some
message about my PC's hostname not being set correctly in /etc/hosts.  I
checked it and /etc/hosts was correct.  Must just be a glitch with
monodevelop.  My question is what is it about Gentoo that relies so
heavily on connecting to the internet?  My network was running just fine
- just the connection between the cable modem and the internet was down,
but everything inside my router should have been fine...


Do you have nscd running? Try to stop or restart it. It can be a real 
nuisance when internet connection goes down.

It's also a good idea to run dns server locally
if only to troubleshoot name resolution problems.
HTH,
Sasha



I don't have a full DNS server for my domain.  Each computer on my
network has a copy of the same /etc/hosts file.  Is there some way I can
make it use that for DNS lookups locally?



http://gentoo-wiki.com/HOWTO_setup_a_home-server
may be of use though I've never tried dnsmasq myself.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Kuroo portage with cdb module

2005-11-28 Thread Peper
Hello,
Is there any way to get kuroo working with portage with cdb module?

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question

2005-11-28 Thread Ognjen Bezanov

Dale wrote:


Danyelle Gragsone wrote:

 


to me.. linux in general has always ran slow if the net connection
goes out.  It might be constantly trying to access the internet. 
Kinda like the a cell phones battery dies alot faster when it cant

connect to a tower.  It just keeps trying til it gets something or the
phone dies.
   



That's funny.  I'm on dial-up and I see no difference at all.  I even
run ntp which sets my clock and keeps it on track for me and there is no
difference when I am connected and when I am not.

Yes, I have three network cards installed and running all the time.  I
do have a local LAN here with three other rigs connected.

This is not making sense.  If what you guys are saying is correct,
people on dial-up can't use Linux.  That's not right.

Dale
:-)

 

I have a gentoo system (Actually I have four of them) and they dont 
experience a slowdown when my internet connection goes down (which it 
invariably does because my ISP reboots its servers every 28 days as a 
policy, thereby disconnecting me ). Chances are its a particular program 
thats trying to connect to the net and failing, thereby using cycles in 
new attempts.


While we are at it, does there exist a program that can monitor my 
internet connection and run a script if the net is down (like a restart 
script)? I dont want to have to come home and ssh in to restart 
everytime my ISP reboots its M$ Servers.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Alexander Kirillov

The local resolver lib will use either /etc/hosts file or dns queries in
the order defined in your /etc/host.conf


You mean /etc/nsswitch.conf?


I probably do. Is /etc/host.conf still of any use?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Michael Sullivan
On Mon, 2005-11-28 at 18:40 -0300, Arturo 'Buanzo' Busleiman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Michael Sullivan wrote:
  I don't have a full DNS server for my domain.  Each computer on my
  network has a copy of the same /etc/hosts file.  Is there some way I can
  make it use that for DNS lookups locally?
 
 Edit /etc/host.conf - it's well commented.
 
 dnsmasq reads and provides dns resolution based on /etc/hosts, too. 
 additionlly, check  your
 /etc/resolv.conf. a nameserver 127.0.0.1 line should be present, if you 
 want to avoid contacting
 the internet for dns lookups, if so your system configured.
 
 - --
 Arturo Buanzo Busleiman - www.buanzo.com.ar
 Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
 KTP Consultores - info AT ktpconsultores.com.ar
 
 Romper un sistema de seguridad los acerca tanto a ser hackers como el
 encender autos puenteando los convierte en ingenieros automotrices.

The loopback address wasn't in my /etc/resolv.conf, so I added it and
restarted net.eth0

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question

2005-11-28 Thread Nick Rout

On Mon, 28 Nov 2005 22:43:01 +
Ognjen Bezanov wrote:

 
 I have a gentoo system (Actually I have four of them) and they dont 
 experience a slowdown when my internet connection goes down (which it 
 invariably does because my ISP reboots its servers every 28 days as a 
 policy, thereby disconnecting me ). Chances are its a particular program 
 thats trying to connect to the net and failing, thereby using cycles in 
 new attempts.
 
 While we are at it, does there exist a program that can monitor my 
 internet connection and run a script if the net is down (like a restart 
 script)? I dont want to have to come home and ssh in to restart 
 everytime my ISP reboots its M$ Servers.

many programs do a dns lookup on connection, to see who is trying to
connect. It should be managed on your lan with /etc/hosts if you have it
sorted properly.

can you ping via name to other machines on your lan?

 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question

2005-11-28 Thread Michael Sullivan
On Tue, 2005-11-29 at 12:24 +1300, Nick Rout wrote:
 On Mon, 28 Nov 2005 22:43:01 +
 Ognjen Bezanov wrote:
 
  
  I have a gentoo system (Actually I have four of them) and they dont 
  experience a slowdown when my internet connection goes down (which it 
  invariably does because my ISP reboots its servers every 28 days as a 
  policy, thereby disconnecting me ). Chances are its a particular program 
  thats trying to connect to the net and failing, thereby using cycles in 
  new attempts.
  
  While we are at it, does there exist a program that can monitor my 
  internet connection and run a script if the net is down (like a restart 
  script)? I dont want to have to come home and ssh in to restart 
  everytime my ISP reboots its M$ Servers.
 
 many programs do a dns lookup on connection, to see who is trying to
 connect. It should be managed on your lan with /etc/hosts if you have it
 sorted properly.
 
 can you ping via name to other machines on your lan?

Yes I can.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question

2005-11-28 Thread Dale
Ognjen Bezanov wrote:

  I dont want to have to come home and ssh in to restart everytime my
 ISP reboots its M$ Servers.

It's funny that you say that.  One of the first things I asked my ISP
when I was looking for one, what OS do you use?  If they didn't use
*nix, I was going to keep looking.  It is very rare that I have any
trouble either.

Another thing I like about mine is the service.  When I call them, I get
a live human being that answers the phone.  They don't have a automated
thingy, just people.  I have talked to the owner once and have actually
had the guys that run the network to call me for help.  I am the only
one that runs Linux with the logs turned on and it gives them a lot of
info if they are having any connection problems.  I guess windoze
doesn't.  They call me and get me to connect and see what happens.  If I
can't connect, I call them back and read them the log files and the boo
boo message.  They had the login/password file get borked once.  They
said it was there but it was messed up.  They took the one from their
back-ups and up it went.  We were surfing again.  :)

Ever consider switching ISPs or are you stuck with the one you have? 
I'll switch for DSL but that is about it.  Dial-up sucks, 26K is all I
get here.

Dale
:) :)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Richard Fish
On 11/28/05, Alexander Kirillov [EMAIL PROTECTED] wrote:
 The local resolver lib will use either /etc/hosts file or dns queries in
 the order defined in your /etc/host.conf
 
  You mean /etc/nsswitch.conf?

 I probably do. Is /etc/host.conf still of any use?

Actually, I'm not sure.  I've always edited nsswitch.conf to get it to
do what I want, with good results.

I see with strace that when I ping somehost, both nsswitch.conf and
host.conf are opened.  The man pages don't reveal anything about their
relationship, so I guess I'll have to take a look at the glibc sources
tonight.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question

2005-11-28 Thread Michael Sullivan
On Mon, 2005-11-28 at 18:11 -0600, Dale wrote:
 Ognjen Bezanov wrote:
 
   I dont want to have to come home and ssh in to restart everytime my
  ISP reboots its M$ Servers.
 
 It's funny that you say that.  One of the first things I asked my ISP
 when I was looking for one, what OS do you use?  If they didn't use
 *nix, I was going to keep looking.  It is very rare that I have any
 trouble either.
 
 Another thing I like about mine is the service.  When I call them, I get
 a live human being that answers the phone.  They don't have a automated
 thingy, just people.  I have talked to the owner once and have actually
 had the guys that run the network to call me for help.  I am the only
 one that runs Linux with the logs turned on and it gives them a lot of
 info if they are having any connection problems.  I guess windoze
 doesn't.  They call me and get me to connect and see what happens.  If I
 can't connect, I call them back and read them the log files and the boo
 boo message.  They had the login/password file get borked once.  They
 said it was there but it was messed up.  They took the one from their
 back-ups and up it went.  We were surfing again.  :)
 
 Ever consider switching ISPs or are you stuck with the one you have? 
 I'll switch for DSL but that is about it.  Dial-up sucks, 26K is all I
 get here.
 
 Dale
 :) :)
 
 -- 
 To err is human, I'm most certainly human.

My wife says that we can try SBC DSL after the new year starts (when we
can afford it.)  I just hope that I can get everything converted over to
PPP

 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] man mouse problems

2005-11-28 Thread Willie Wong
On Mon, Nov 28, 2005 at 03:13:38PM -0500, Billy Holmes wrote:
 Willie Wong wrote:
 [02:51 PM]wwong man4 $ man 4x mouse
 No entry for mouse in section 4x of the manual
 
 just do:
 
   man 4 mouse

The problem is, there's another entry for mouse under section 4:

--snip of man 4 mouse
MOUSE(4)   Linux Programmer's Manual  MOUSE(4)



NAME
   mouse - serial mouse interface

CONFIG
   Serial  mice  are  connected  to  a  serial RS232/V24 dialout line, see
   ttyS(4) for a description.
--end snip--

which is rather different from the entry in section 4x

--snip of man /usr/man/man4/mouse.4x.gz---
MOUSE(4x)MOUSE(4x)



NAME
   mouse - Mouse input driver

SYNOPSIS
   Section InputDevice
 Identifier idevname
 Driver mouse
 Option Protocol protoname
 Option Device   devpath
 ...
   EndSection
---end snip-

[07:16 PM]wwong ~ $ find /usr/man/ -name mouse.*
/usr/man/man4/mouse.4x.gz
/usr/man/man4/mouse.4.gz

Any ideas?

W

p.s. my apologies for hi-jacking the thread. The issue came up when I
was trying to help the OP with the original problem. 
-- 
  Two people turned in problem set 12 without indicating their names!
  This is true scholarship, done for it's own sake and not for
 material advantage, like a grade.
  It is an honor to be associated with such nobility of soul.
   ~Prof. Kirk T. McDonald, DeathEM'03 
Sortir en Pantoufles: up 16 days, 16:34
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mouse won't scroll anymore

2005-11-28 Thread Ernie Schroder
Nothing new in the man pages. This is driving me nuts

On Monday 28 November 2005 03:13 pm, a tiny voice compelled Billy Holmes to 
write:
 Willie Wong wrote:
  [02:51 PM]wwong man4 $ man 4x mouse
  No entry for mouse in section 4x of the manual

 just do:

man 4 mouse

-- 
Regards, Ernie
100% Microsoft and Intel free

 19:26:45 up  5:01,  3 users,  load average: 0.06, 0.31, 0.47
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question

2005-11-28 Thread John Jolet
On Monday 28 November 2005 17:58, Michael Sullivan wrote:
 On Tue, 2005-11-29 at 12:24 +1300, Nick Rout wrote:
  On Mon, 28 Nov 2005 22:43:01 +
 
  Ognjen Bezanov wrote:
   I have a gentoo system (Actually I have four of them) and they dont
   experience a slowdown when my internet connection goes down (which it
   invariably does because my ISP reboots its servers every 28 days as a
   policy, thereby disconnecting me ). Chances are its a particular
   program thats trying to connect to the net and failing, thereby using
   cycles in new attempts.
  
   While we are at it, does there exist a program that can monitor my
   internet connection and run a script if the net is down (like a restart
   script)? I dont want to have to come home and ssh in to restart
   everytime my ISP reboots its M$ Servers.

ifplugd works, at least at the ethernet level.
 
  many programs do a dns lookup on connection, to see who is trying to
  connect. It should be managed on your lan with /etc/hosts if you have it
  sorted properly.
 
  can you ping via name to other machines on your lan?

 Yes I can.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Video capture card recommendations

2005-11-28 Thread Bob Sanders
On Mon, 28 Nov 2005 10:32:11 -0500
Budd, Tracy [EMAIL PROTECTED] wrote:

 I just need a bare-bones card to make backups of my VCR tapes and DVDs.
 Not even interested in a TV-tuner though I guess they all include that.
 Gentoo support is a must.

I have both a PVR-350 Hauppauge  and an HD-3000 from pcHDTV.  Of the
two, I find the HD-3000 easier to use, and less expensive than the PVR-350.

Bob
-  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? + question

2005-11-28 Thread Dale
Michael Sullivan wrote:

On Mon, 2005-11-28 at 18:11 -0600, Dale wrote:
  


My wife says that we can try SBC DSL after the new year starts (when we
can afford it.)  I just hope that I can get everything converted over to
PPP
  

I !think! they use windoze too.  Aren't they the same as Bell South?  I know 
Bell South uses windoze because it is a nightmare paying my bill online.  Since 
I am on a slow dial-up their servers keep timing out on me.  I notice windoze 
does this a lot more *nix servers do.

Later

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Succinct compilation of system info...

2005-11-28 Thread Harry Putnam

What is the standard or common way to compile a detailed yet succinct
listing of system info.  

Are there tools that do this?  Or maybe one of those 16 inch cmdlines
with 2 dozen pipes... :)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Succinct compilation of system info...

2005-11-28 Thread Scott Stoddard

Harry Putnam wrote:

What is the standard or common way to compile a detailed yet succinct
listing of system info.  


Are there tools that do this?  Or maybe one of those 16 inch cmdlines
with 2 dozen pipes... :)



Well, if you're talking about all hardware then I tend to prefer 
sys-apps/lshw which can generate ascii/html output or run with a gui.


If you want more of a summary of things, you could consider lspci and 
lsusb (found in pciutils and usbutils respectively).


Scott.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Succinct compilation of system info...

2005-11-28 Thread Harry Putnam
Scott Stoddard [EMAIL PROTECTED] writes:

 Harry Putnam wrote:
 What is the standard or common way to compile a detailed yet succinct
 listing of system info.  Are there tools that do this?  Or maybe one
 of those 16 inch cmdlines
 with 2 dozen pipes... :)
 

 Well, if you're talking about all hardware then I tend to prefer
 sys-apps/lshw which can generate ascii/html output or run with a gui.

 If you want more of a summary of things, you could consider lspci and
 lsusb (found in pciutils and usbutils respectively).

Thanks, I wasn't aware of lshw.   But I was thinking more along the
lines BelarcAdvisor in the windows world.

But different in the sense that it isn't gui.  With Belarc you have to
start and run the gui, which generates an html page.  To get a text
file you can `save as' from the gui.

I want straight command line so redirect is possible, but a thorough
summary.  Not just hdw or pci or usb.  I want that but also what
filesystems, which users, all installed software. How much data on
which partitions, all devices broken down into their uses such as
ethernet, disk controller etc etc.

In general a full scope summary.  It seems this would have been
invented long ago, for the treasure trove it would supply to
developers. 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] unkillable processes

2005-11-28 Thread Mark Knecht
Hi,
   My wife ran into a problem this evening that required I do a
reboot. She runs Gnome. Sometimes something about her setup goes
haywire and she loses all her desktop icons and her wallpaper. In the
past I've found that if we log her out and then in the console kill
all processes left running with her account as the owner that she can
then log back in and use Gnome correctly.

   This evening one of these processes was unkillable. I tried

kill -15 PID
kill -9 PID
killall -9 process_name

but none worked. To make forward progress I just rebooted.

   Is there some other way I could have tried killing this process?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] PHP5 and Squirrelmail

2005-11-28 Thread Jeff Grossman

I just upgraded from dev-php/php-4.4.0 to dev-lan/php-5.0.5 and have one 
problem.  Squirrelmail no longer seems to work.  Does anybody know if 
there is a fix yet?  The error is:

Fatal error: Only variables can be passed by reference in 
/var/www/localhost/htdocs/squirrelmail/functions/imap_messages.php on 
line 480

Thanks for any help you can offer me.

Jeff

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] usb2 hard drive

2005-11-28 Thread Brian Henning
Greeting,

I am trying to get my USB2 external 200 gig ext2fs formated hard drive
to mount in Gentoo.

Below is my configuration:
Linux yodo 2.6.11-gentoo-r3 #1 Sat Oct 1 17:38:42 CDT 2005 i686 AMD
Duron(tm) Processor  AuthenticAMD GNU/Linux

mount
/dev/hda3 on / type ext2 (rw,noatime)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)

eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.
html

I have tried emerging coldplug and rebooting and i am able to
successfully mount the drive as /dev/sda1, but the coldplug causes my
network card to not work (can't even ping).
emerge coldplug
rc-update add coldplug default

Could someone give me some advice on a different approach to mounting
this device or give me a suggestion to fix my networking issue? Please
email me directly as, I do not receive emails from the list.

Thanks,

Brian

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: PHP

2005-11-28 Thread Jeff Grossman
ellotheth rimmwen [EMAIL PROTECTED] wrote:
 On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 Is the dev-lang/php pretty stable?  Is there anything I should know
 before I make the switch?
 
 I'm running 5.0.5. It's lovely. Just follow the upgrade guide
 (http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw)
 and you should be peachy. Watch the USE flags, and the overlay wiki
 [http://svn.gnqs.org/projects/gentoo-php-overlay/] is your friend.
 
Okay.  I have removed dev-php/php-4.4.0 and installed dev-lanp/php-5.0.5 
and everything appears to be working okay (except for Squirelmail, but I 
have another thread started for that discussion).  But, now when I do a 
emerge -uaDv world, it wants to install dev-php/php-4.4.0.  Can I have a 
system with only 5.0.5 installed?  Or do I need to install 4.4.0 also?  
Can I tell what program is installed that wants php-4.4.0?

If I run an equery depends php, I get the following:

apple var # equery depends php
[ Searching for packages depending on php... ]
dev-lang/swig-1.3.21
dev-php/PEAR-Console_Getopt-1.2-r1
dev-php/PEAR-Archive_Tar-1.3.2
dev-php/PEAR-PEAR-1.3.6-r1
dev-php/PEAR-XML_RPC-1.4.4
www-apps/net2ftp-0.82


I guess one of those programs is wanting php4?

Thanks,
Jeff

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Succinct compilation of system info...

2005-11-28 Thread Bob Sanders
On Mon, 28 Nov 2005 22:31:28 -0600
Harry Putnam [EMAIL PROTECTED] wrote:


 I want straight command line so redirect is possible, but a thorough
 summary.  Not just hdw or pci or usb.  I want that but also what
 filesystems,

df -h
cat /etc/fstab

 which users, 

cat /etc/passwd
cat /etc/group

 all installed software.

emerge -evt world

 How much data on
 which partitions, 

du -hSx /
du -hSx /home
...for each partition of interest.  Probably need to do some sorting 
and summaries
with grep, sed, and awk.

 all devices broken down into their uses such as
 ethernet, disk controller etc etc.


lshw 
-or- 
lshw -short
lshw -businfo
lshw -html
etc.

 In general a full scope summary.  It seems this would have been
 invented long ago, for the treasure trove it would supply to
 developers. 


It was never hidden and has always been available.  The commands, excepting
lshw, have been available since the 1970s.  And lots of system inventory scripts
are in existance.  Many written obscurely in Perl and other languages.

Bob
-  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PHP5 and Squirrelmail

2005-11-28 Thread Norberto Bensa
Jeff Grossman wrote:
 Fatal error: Only variables can be passed by reference in
 /var/www/localhost/htdocs/squirrelmail/functions/imap_messages.php on
 line 480

Yup. You need to upgrade squirrelmail

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out?

2005-11-28 Thread Richard Fish
On 11/28/05, Richard Fish [EMAIL PROTECTED] wrote:
 On 11/28/05, Alexander Kirillov [EMAIL PROTECTED] wrote:
  The local resolver lib will use either /etc/hosts file or dns queries in
  the order defined in your /etc/host.conf
  
   You mean /etc/nsswitch.conf?
 
  I probably do. Is /etc/host.conf still of any use?

 Actually, I'm not sure.  I've always edited nsswitch.conf to get it to
 do what I want, with good results.

 I see with strace that when I ping somehost, both nsswitch.conf and
 host.conf are opened.  The man pages don't reveal anything about their
 relationship, so I guess I'll have to take a look at the glibc sources
 tonight.

As close as I can tell from reading the code (which is to say, I am
making an only slightly educated guess), the 'order' keyword in
host.conf is pretty much ignored by current glibc versions.  Host.conf
is only consulted by the libnss_files.so module, and then only for the
'multi' option.  The order in nsswitch.conf is authoritative.

This seems to be confirmed by a few strace ping attempts with
various configurations.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb2 hard drive

2005-11-28 Thread Richard Fish
On 11/28/05, Brian Henning [EMAIL PROTECTED] wrote:
 Greeting,

 I am trying to get my USB2 external 200 gig ext2fs formated hard drive
 to mount in Gentoo.

 I have tried emerging coldplug and rebooting and i am able to
 successfully mount the drive as /dev/sda1, but the coldplug causes my
 network card to not work (can't even ping).
 emerge coldplug
 rc-update add coldplug default

Well, the one 'dangerous' thing that the coldplug rc script does is to
extract /lib/firmware.tar.bz2 if it exists.  If the tarball exists on
your system (it should not), this could potentially overwrite some
firmware file required for your network adapter.

Other than that, some dmesg output would be helpful.  Also, if the
driver for your network card is configured as a module, try reloading
it and see what you get from dmesg.

 Could someone give me some advice on a different approach to mounting
 this device or give me a suggestion to fix my networking issue?

FYI, coldplug is probably not necessary.  It's main use is to run the
/etc/hotplug/*.rc scripts at bootup for hot-pluggable devices
connected before the hotplug agent is setup correctly.  If you connect
or power on the USB drive after the system is booted, coldplug has no
effect.

 Please
 email me directly as, I do not receive emails from the list.

I have cc'd you and the list.  Please only reply to the list.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unkillable processes

2005-11-28 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Knecht wrote:

Hi,
 My wife ran into a problem this evening that required I do a
reboot. She runs Gnome. Sometimes something about her setup goes
haywire and she loses all her desktop icons and her wallpaper. In the
past I've found that if we log her out and then in the console kill
all processes left running with her account as the owner that she can
then log back in and use Gnome correctly.

 This evening one of these processes was unkillable. I tried

kill -15 PID
kill -9 PID
killall -9 process_name

but none worked. To make forward progress I just rebooted.

 Is there some other way I could have tried killing this process?

Thanks,
Mark

Was it a defunct or zombie process?

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDi/FtLYGSSmmWCZMRAh8NAJ9KXTfe8++DNn6sdGDwJSElL8Q9ywCePcxo
XP7NmLuc8FA30xS7AfLj6W4=
=AssW
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unkillable processes

2005-11-28 Thread Richard Fish
On 11/28/05, Mark Knecht [EMAIL PROTECTED] wrote:
 kill -15 PID
 kill -9 PID
 killall -9 process_name

 but none worked. To make forward progress I just rebooted.

Is there some other way I could have tried killing this process?

Nope.  Usually this means something went terribly wrong in hardware. 
Pullling a hard drive out of the system while it is running is an easy
way to duplicate this problem, as it will cause the kernel to enter an
interminable reset loop to try and recover.  Problems with network
filesystems could also cause something similar.

You should check dmesg output to see if the kernel is complaining
about something.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub on a SATA drive

2005-11-28 Thread maxim wexler


--- Petr Kocmid [EMAIL PROTECTED]
wrote:

 On Thursday 24 of November 2005 17:31, maxim wexler
 wrote:
 
  But what do I call it? hd0 and hd1 are taken.
 
 It may well depend on your chipset configuration,
 number of actually connected 
 drives and bios boot settings. On my board, there
 are 2 PATA and 1 SATA 
 channels on the same controller. In linux kernel,
 PATA is hda and hdb, SATA 
 is hdc, no matter what drives are actually
 connected. When i migrated my 
 installation from PATA hda to SATA hdc, grub
 detected hda as hd0 and hdc as 
 hd1 before, but once I removed parallel drive, SATA
 become hd0 in grub (but 
 still hdc in linux), since it is first (boot) bios
 drive. So I needed to fix 
 grub config to hd0 and change a root= kernel
 parameter to hdc, since grub 
 insists hd0 should be hda even if there is no drive
 connected on PATA:
 
 root (hd0,0)
 kernel /boot/bzImage-2.6.10 root=/dev/hdc1

is this a gentoo box?

 
 Also, I did grub setup on SATA MBS 

what's MBS?

 from booted grub shell, not in linux, 
 because what it sees is what it gets then.
 
 Hope this may help you.

Thanks for your suggestions. Here's where things
stand:

I did a fresh 2005.1 stage3 install onto the SATA
drive without a hitch. I removed the ide drive, so
there's only one hd.

In dmesg the drive comes up as /dev/sda
   sda1(Macro$haft) sda2(/boot)  sda5(swap) sda6(/)
sda7(home)

When I boot w/ the grub floppy I do:

grub root (hd0,1)
  Fs is ext2, part type 0x83
grub kernel /vmlinuz root=/dev/sda6
  [Linux-bzImage, setup=0x120, size 0x1463b31]

...so far, so good...

grub boot

and get:

...VFS: Cannot open root device sda6 or unknown
block (0,0)
Please append correct root boot option
Kernel Panic-not syncing: VFS: Unable to mount root fs
on unknown block (0,0)

So I'm at a loss. The grub commands went alright.
Wouldn't I get an error if one of the commands was
wrong? Don't know what's meant by unknown block
(0,0). Is it saying it's trying to mount / on
/dev/sda1? Doesn't make sense.

WinXP occupies 20G at /dev/sda1 and it boots OK. LBA
is activated and this is a brand new, modern drive on
a fairly up-to-date Asus, K8N, skt 754 mobo, so it
can't be that old BIOS drive limit from the 90s.

-mw

 
 -- 
 Petr
 -- 
 gentoo-user@gentoo.org mailing list
 
 




__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub on a SATA drive

2005-11-28 Thread Heinz Sporn
Am Montag, den 28.11.2005, 22:34 -0800 schrieb maxim wexler:
 
 --- Petr Kocmid [EMAIL PROTECTED]
 wrote:
 
  On Thursday 24 of November 2005 17:31, maxim wexler
  wrote:
  
   But what do I call it? hd0 and hd1 are taken.
  
  It may well depend on your chipset configuration,
  number of actually connected 
  drives and bios boot settings. On my board, there
  are 2 PATA and 1 SATA 
  channels on the same controller. In linux kernel,
  PATA is hda and hdb, SATA 
  is hdc, no matter what drives are actually
  connected. When i migrated my 
  installation from PATA hda to SATA hdc, grub
  detected hda as hd0 and hdc as 
  hd1 before, but once I removed parallel drive, SATA
  become hd0 in grub (but 
  still hdc in linux), since it is first (boot) bios
  drive. So I needed to fix 
  grub config to hd0 and change a root= kernel
  parameter to hdc, since grub 
  insists hd0 should be hda even if there is no drive
  connected on PATA:
  
  root (hd0,0)
  kernel /boot/bzImage-2.6.10 root=/dev/hdc1
 
 is this a gentoo box?
 
  
  Also, I did grub setup on SATA MBS 
 
 what's MBS?
 
  from booted grub shell, not in linux, 
  because what it sees is what it gets then.
  
  Hope this may help you.
 
 Thanks for your suggestions. Here's where things
 stand:
 
 I did a fresh 2005.1 stage3 install onto the SATA
 drive without a hitch. I removed the ide drive, so
 there's only one hd.
 
 In dmesg the drive comes up as /dev/sda
sda1(Macro$haft) sda2(/boot)  sda5(swap) sda6(/)
 sda7(home)
 
 When I boot w/ the grub floppy I do:
 
 grub root (hd0,1)
   Fs is ext2, part type 0x83
 grub kernel /vmlinuz root=/dev/sda6
   [Linux-bzImage, setup=0x120, size 0x1463b31]

Shouldn't that read root=/dev/sda2 since your kernel obviously sits
in /boot == /dev/sda2 ? The root paramter should define the place where
your kernel / grub stage files reside IIRC and not where your root
filesystem is located. Naming the parameter root is quite misleading
though.

 
 ...so far, so good...
 
 grub boot
 
 and get:
 
 ...VFS: Cannot open root device sda6 or unknown
 block (0,0)
 Please append correct root boot option
 Kernel Panic-not syncing: VFS: Unable to mount root fs
 on unknown block (0,0)
 
 So I'm at a loss. The grub commands went alright.
 Wouldn't I get an error if one of the commands was
 wrong? Don't know what's meant by unknown block
 (0,0). Is it saying it's trying to mount / on
 /dev/sda1? Doesn't make sense.
 
 WinXP occupies 20G at /dev/sda1 and it boots OK. LBA
 is activated and this is a brand new, modern drive on
 a fairly up-to-date Asus, K8N, skt 754 mobo, so it
 can't be that old BIOS drive limit from the 90s.
 
 -mw
 
  
  -- 
  Petr
  -- 
  gentoo-user@gentoo.org mailing list
  
  
 
 
 
   
 __ 
 Yahoo! Music Unlimited 
 Access over 1 million songs. Try it free. 
 http://music.yahoo.com/unlimited/
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
 A-4540 Bad Hall
 Austria / Europe

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] BTTV Mini-HOWTO -- how do I use multiple inputs?

2005-11-28 Thread Daevid Vincent
  If I try to take a picture:
  
  /usr/bin/v4lctl -c /dev/video0 snap jpeg 320x240
  /home/dae51d/public_html/nokia_cam.jpg
  /usr/bin/v4lctl -c /dev/video1 snap jpeg 320x240
  /home/dae51d/public_html/ittybitty_cam.jpg
  
  Then the first one works fine, but the second one is failing with:
  
  v4l2: open /dev/video1: No such device
  v4l2: open /dev/video1: No such device
  v4l: open /dev/video1: No such device
  no grabber device available
 
 yes, you probably have one bttv device with a number of inputs. you
 need to switch inputs. they are usually called TV, Composite, S-Video
 etc. If there is more than one composite they might be called
 Composite-1, Composite-2 etc
 
 On the other hand they may be audio inputs? 4 composite inputs is
 rather excessive I would have thought.

The PCI card looks kind of like this one:
http://www.hauppauge.com/pages/products/data_impactvcb.html
But it has 3 RCA Inputs and and S-VIDEO input (see bottom of page)

 By the way which package does v4lctl come in?

# equery belongs v4lctl
[ Searching for file(s) v4lctl in *... ]
media-tv/xawtv-3.94-r1 (/usr/bin/v4lctl)

 ok it is part of xawtv. just refreshing myself, you can see a list of
 available parameters with
 
 v4lctl -c /dev/video0 list

attribute  | type   | current | default | comment
---++-+-+---
--
norm   | choice | PAL | PAL | PAL NTSC SECAM PAL-Nc PAL-M PAL-N
NTSC-JP PAL-60
input  | choice | Televis | Televis | Television Composite1 S-Video
Composite3
audio mode | choice | mono| mono| mono stereo lang1 lang2
bright | int|   32768 |   32768 | range is 0 = 65535
contrast   | int|   32768 |   32768 | range is 0 = 65535
color  | int|   32768 |   32768 | range is 0 = 65535
hue| int|   32768 |   32768 | range is 0 = 65535
mute   | bool   | off | off |
chroma agc | bool   | off | off |
combfilter | bool   | off | off |
automute   | bool   | on  | off |
luma decim | bool   | off | off |
agc crush  | bool   | on  | off |
vcr hack   | bool   | off | off |
whitecrush | int| 207 | 207 | range is 0 = 255
whitecrush | int| 127 | 127 | range is 0 = 255

So this doesn't mention anything about the inputs.

I would have thought they would be /dev/video0 ... Video2

Since the way that I take a snap with one camera attached to the card is
like this:
/usr/bin/v4lctl -c /dev/video0 snap jpeg 320x240
/home/dae51d/public_html/nokia_cam.jpg

Notice the -c /dev/video0


-- 
gentoo-user@gentoo.org mailing list