[gentoo-user] test. please ignore

2005-10-28 Thread Jason Cooper
dyndns.org changed their setup, or my dynamic dns service expired.  At
any rate, checking to see if mails are making it around ok since I fixed
the dyndns.org acct and pings are moving okay.

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



Re: [gentoo-user] Need help with eth0 on new computer

2005-10-15 Thread Jason Cooper
Martins Steinbergs ([EMAIL PROTECTED]) scribbled:
 i would say there no support for ya net cart built into kernel/module
 
 On Thursday 13 October 2005 17:51, Michael Sullivan wrote:
  I got a new computer yesterday.  As I was installing Gentoo on it, I ran
  into a problem.  I've got the basic install set up, but my eth0 won't
  start.  It would with the liveCD.  When I boot up with the live CD and
  run:
 
  dmesg | grep 'eth0 it gives me this output:
 
 
  e100: eth0: e100_probe: addr 0xff91, irq 20, MAC addr 00:13:20:2B:98:18
  e100: eth0: e100_watchdog: link up, 100 Mbps, full-duplex
  eth0: no IPv6 routers present
 
 
  However, when I reboot into my installed environment and run the same
  command, there's no mention of 'eth0'.  I tried emerging net-misc/e100 (I
  thought it might help), but the build failed.  Something about too many
  parameters being passed to a method.  Is there anything I can do to
  resolve this other than filing a bug report?

It looks from the ebuild that net-misc/e100 was intended for 2.4.x
series kernels (*.o as opposed to *.ko).  I would suggest running 'make
menuconfig' or similar and enabling e100 as a module from within the
kernel tree. 

hth,

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



Re: [gentoo-user] Fumblefingers corrupts an ebuild, plea for help

2005-10-15 Thread Jason Cooper
Kevin O'Gorman ([EMAIL PROTECTED]) scribbled:
 I thought I was just looking, but after closing the editor my emerges are
 complaining about a corrupted ebuild of xchat. Specifically,

emerge sync :)

hth,

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



Re: [gentoo-user] struggling with dri

2005-10-10 Thread Jason Cooper
Fernando Meira ([EMAIL PROTECTED]) scribbled:
 Yes, they were not 0666 but instead 0660. I changed them, rebooted, and
 they're back to 0660 :(

cd into /etc/udev/rules.d/ and make a file called 10-local.rules .  Add
the 'dri' lines from 50-udev.rules.  Append to the end of each line
MODE=0666

 Anyway, I don't think it is a permissions problem, because I get the same
 result if I run glxinfo with root... or is it?

Make sure the module for your agpgart is loaded _before_ the radeon
module.  

hth,

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



Re: [gentoo-user] struggling with dri

2005-10-10 Thread Jason Cooper
Kevin Hanson ([EMAIL PROTECTED]) scribbled:
 I've got a radeon mobility 9200 in my laptop and have compiled 
 CONFIG_AGP=m, CONFIG_AGP_INTEL=m, CONFIG_DRM=m, and CONFIG_DRM_RADEON=m. 
 
 Interestingly enough, agpgart module loads at boot but intel_agp 
 doesn't.  Modprobe of intel_agp produces no errors, but lsmod shows it's 
 not loaded.  Nothing in log files either.  When X is started, drm and 
 radeon modules load up, but dri still doesn't work, probably because agp 
 isn't working.

Do you have agpgart in /etc/modules.autoload.d/kernel-2.6 ?  replace it
with intel_agp, then place radeon on the line following.  intel_agp will
draw in agpgart, and radeon must be loaded after those are in.

hth,

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



Re: [gentoo-user] struggling with dri

2005-10-10 Thread Jason Cooper
Fernando Meira ([EMAIL PROTECTED]) scribbled:
 I think I have radeon driver built-in the kernel.. does that mean that it is
 loaded before agpgart?
 agpgart and intel_agp are both modules...
 
 should I them recompile my kernel and leave radeon as module?

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



Re: [gentoo-user] Simple command line stuff

2005-10-09 Thread Jason Cooper
Mark Knecht ([EMAIL PROTECTED]) scribbled:
 Hi,
I don't have a single book on Linux. (Amazing...) Can someone
 recommend a simple book on command line stuff, or better yet a good
 web site on this topic?

Sorry, I picked up most of it from fiddling around, but on to your
problem...

For instance, I wanted to run a specific command on every file in a
 directory which will create a new file, so I need to do
 
 commandfile1.wavfile1-convert.wav
 
 I need to take each name, create a new name to build the actual
 command that gets run and then do that for every file in the
 directory, or even in a hierarchy of directories.


# for file in `ls *.wav`
 do
 newname=`echo ${file} | sed -e s/\.wav$/-convert.wav/`
 command -i ${file} -o ${newname} 
 done

chug...chug...chug

and it's done.  But this will only work on files in one subdirectory.
For recursive operations, replace the first line with this:

# for file in `find . -type f -iname *.wav -print`

hth,

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



Re: [gentoo-user] Simple command line stuff

2005-10-09 Thread Jason Cooper
Daniel Lynch ([EMAIL PROTECTED]) scribbled:
 If you want THE book on command line stuff, I would highly recommend the
 book UNIX Power Tools published by O'Reilly. It basically goes over
 every common UNIX command line tool and covers the common/useful tasks
 you might want to do with it. It's a very thick book, but don't be
 intimidated by its size,you can read just the sections you need. It's
 basically a recipe book. As far as a website, a decent tutorial for
 shell scripting is available at: http://www.tldp.org/LDP/abs/html/

oops, I totally forgot about that,

# emerge -av abs-guide

hth,

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



Re: [gentoo-user] A simple explanation on how to get wireless working on my laptop ...

2005-10-07 Thread Jason Cooper
Richard Watson ([EMAIL PROTECTED]) scribbled:
 # iwconfig eth1 says wireless extensions not found

what is the output of 

# lspci 

you may need to 

# emerge sys-apps/pciutils

to get lspci.

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



Re: [gentoo-user] A simple explanation on how to get wireless working on my laptop ...

2005-10-07 Thread Jason Cooper
Richard Watson ([EMAIL PROTECTED]) scribbled:
 :02:02.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B
 Mini PCI Adapter (rev 04)
   Subsystem: Intel Corporation MIM2000/Centrino
   Flags: bus master, medium devsel, latency 128, IRQ 11
   Memory at 9000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [dc] Power Management version 2

This is the device you need to get working, make sure /usr/src/linux
points to your current kernel version and try this:

# emerge -av ipw2100 ipw2100-firmware

If that goes well, then do this:

# modprobe ipw2100

# iwconfig 

You should now have a device name.

# iwconfig dev essid any

# ifconfig dev up

# dhcpcd dev

# ping gentoo.org

hth,

jason

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install issue, I need a solution quickly..

2005-09-01 Thread Jason Cooper
Ian K ([EMAIL PROTECTED]) scribbled:
 When I run chroot /mnt/gentoo /bin/bash,
 I get:
 
 chroot: cannot run command `/bin/bash': Exec format
 error

Does the arch of the stage tarball you installed match the arch of the 
processor?

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



Re: [gentoo-user] How to shred without deleting /dev/*

2005-08-29 Thread Jason Cooper
Michael Kintzios ([EMAIL PROTECTED]) scribbled:
 I was blanking a floppy but when I ran:
 
 $ shred -u -v /dev/fd0
 
 /dev/fd0 was dully deleted after the shred operation finished.  Rebooting the 
 machine relaunched udev which recreated fd0 (is there another way to avoid 
 having to reboot)?
 
 On the second floppy I thought of avoiding unwittingly deleting the fd0 node 
 so I tried:
 
 $ shred -u -v /dev/fd0/
 shred: /dev/fd0/: Not a directory
 
 Or:
 
 $ shred -u -v /dev/fd0/
 shred: /dev/fd0/*: Not a directory
 
 
 Is there a way of shredding a complete floppy (not just a file at a time) 
 without removing the /dev/fd0 node?

# man shred

[snip]
   -u, --remove
  truncate and remove file after overwriting

   -v, --verbose
  show progress

   -x, --exact
  do not round file sizes up to the next full block;

  this is the default for non-regular files

   -z, --zero
  add a final overwrite with zeros to hide shredding
[snip]

don't use '-u' on devices.

hth,

cooper.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie install - emerge: command not found

2005-08-23 Thread Jason Cooper
Assaf Urieli ([EMAIL PROTECTED]) scribbled:
 Nagatoro wrote:
  Assaf Urieli wrote:
  But when I try to run the emerge command, I get:
  emerge: command not found (no surprise, it's not in /bin).
 
  [2000] $ whereis emerge
  emerge: /usr/bin/emerge /usr/X11R6/bin/emerge /usr/bin/X11/emerge
  /usr/man/man1/emerge.1.gz /usr/share/man/man1/emerge.1.gz
 
  At least here it should be in /usr/bin, might it be a $PATH problem?
 
 There is no whereis or find command either.
 I'm logging in as root, so I should have access to everything (couldn't
 adduser anyway).
 BTW, /usr/bin doesn't even exist - all /usr contains is lost+found

did you try to set up /usr/bin as a separate partition?  if so, was it
mounted properly during install? And, is it mounted properly now?

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



Re: [gentoo-user] How to enable core dumps?

2005-08-18 Thread Jason Cooper
Antonio Souto ([EMAIL PROTECTED]) scribbled:
 Does any one knows how to enable core dumps?
 It seems like they are disabled by default.

# ulimit -c unlimited

hth,

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



[gentoo-user] OT: quote

2005-07-08 Thread Jason Cooper
Michael Thompson ([EMAIL PROTECTED]) scribbled:
[snip]
 -- 
 Mike
 
 To see the world in a grain of sand,
 and to see heaven in a wild flower,
 hold infinity in the palm of your hands,
 and eternity in an hour.

This one bugged me for a week till I remembered a moment ago where I
heard it.  Tomb Raider, right?

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



Re: [gentoo-user] OT: quote

2005-07-08 Thread Jason Cooper
Michael Thompson ([EMAIL PROTECTED]) scribbled:
 On Friday 08 July 2005 17:32, Jason Cooper wrote:
  Michael Thompson ([EMAIL PROTECTED]) scribbled:
  [snip]
  
   To see the world in a grain of sand,
   and to see heaven in a wild flower,
   hold infinity in the palm of your hands,
   and eternity in an hour.
 
  This one bugged me for a week till I remembered a moment ago where I
  heard it.  Tomb Raider, right?
 
 You proboly know it from Lara Croft, Cradle of Life, when Lara opens the book 
 of her father and splits the cover, it is a message from her father. But it 
 was a poem by William Blake called Auguries of Innocence.

That's so embarassing.  In my defense, I don't think William Blake had
sketches of Angelina Jolie to accompany his poems.  Perhaps if he had my
memory would be better... :)

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



Re: [gentoo-user] [OT] Travelling in Greece, need advice

2005-07-05 Thread Jason Cooper
Grant ([EMAIL PROTECTED]) scribbled:
 Hello!  I am travelling and am currently on the Greek island of Corfu.
  It is great!  I have my laptop but I'm finding it totally impossible
 to find a place that will let me plug into their network for Internet
 access.  I can't use public systems because of keyboard loggers and
 bank passwords etc.  My business is seriously dying at this point and
 after a lot of thinking, I think my best option is to get my modem
 working and hire one of the global dial-up providers.  I should be
 able to find a phone line wherever I am.  Does anyone have a better
 idea?  If not, does anyone recommend a particular one of these
 companies?

Go wifi, try this for a list of hotspots worldwide:

http://intel.jiwire.com/

hth,

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



Re: [gentoo-user] [OT] Travelling in Greece, need advice

2005-07-05 Thread Jason Cooper
Chad Leigh -- Shire.Net LLC ([EMAIL PROTECTED]) scribbled:
 On Jul 5, 2005, at 7:11 PM, Volker Armin Hemmann wrote:
 On Wednesday 06 July 2005 02:07, Jason Cooper wrote:
 Grant ([EMAIL PROTECTED]) scribbled:
[snip]
 after a lot of thinking, I think my best option is to get my modem
 working and hire one of the global dial-up providers.  I should be
 able to find a phone line wherever I am.  Does anyone have a better
 idea?  If not, does anyone recommend a particular one of these
 companies?
 
 Go wifi, try this for a list of hotspots worldwide:
 
 http://intel.jiwire.com/
 
 I would not trust a wifi setup by a unknown 3rd party to do online  
 banking.
 
 The security of the average wifi is pretty low. Because of  
 lazyness, stupidity
 or bugs.
 
 However, any good bank will have SSL for the higher level protocols,  
 and the wifi should be as secure as public wired connections (ie DSL  
 etc).  (which is to say, not secure).  If you trust your cable modem  
 or DSL to do SSL-enabled online banking, you should be ok with the wifi

Just keep in mind to always check that SSL is locked _before_ entering
any login information. ;)

hth,

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



Re: [gentoo-user] pptpclient: Wants MPPE In Kernel, I can't Find it

2005-05-24 Thread Jason Cooper
fire-eyes ([EMAIL PROTECTED]) scribbled:
 I'm trying to use pptpclient-1.6.0.
 
 On its home page it says I need MPPE support in the kernel and PPPD. For
 PPPD it was easy, a nice little USE flag. As far as MPPE support, it
 says that if I modprobe ppp-compress-18 and that works, I should be all
 set.
 
 However I get:
 
 Fatal: Module ppp_mppe_mppc not found.
 
 I dug around in the kernel config and couldn't find anything even close
 to this.
 
 Any ideas? Or perhaps the docs are out of date now?

You need to download and apply the patch for mppe support. 

http://www.polbox.com/h/hs001/

hth,

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



Re: [gentoo-user] pcHDTV300 - Almost there, I *think*

2005-05-22 Thread Jason Cooper
Michael Haan ([EMAIL PROTECTED]) scribbled:
 Ok, finally, the card loads:
 
 cx2388x dvb driver version 0.0.4 loaded cx88[0]: subsystem: 7063:3000,
 board: pcHDTV HD3000 HDTV [card=22,autodetected] saa7115: starting
 probe for adapter cx88[0] (0x1001b) tuner 1-0061: chip found @ 0xc2
 (cx88[0]) tuner 1-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
 ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16 ACPI: PCI Interrupt
 :02:08.2[A] - Link [APC1] - GSI 16 (level, low) - IRQ 225
 cx88[0]/2: found at :02:08.2, rev: 5, irq: 225, latency: 32, mmio:
 0xd900 cx88[0]/2: cx2388x based dvb card DVB: registering new
 adapter (cx88[0]).  DVB: registering frontend 0 (pcHDTV HD3000
 HDTV)...
 
 
 But then I get this (I think when trying to scan channels?):
 
 or51132: Waiting for firmware upload(dvb-fe-or51132-qam.fw)...
 or51132: No firmware uploaded(timeout or file not found?)
 
 I do have the file:
 
 [EMAIL PROTECTED] util # find / -name dvb-fe-or51132-qam.fw
 /usr/lib64/hotplug/firmware/dvb-fe-or51132-qam.fw
 
 Not sure if it's in the right place or not, though.  I'm almost there
 - can anyone help?


I believe firmware default location is '/lib/firmware', you may have to
create the dir.

hth,

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



Re: [gentoo-user] Problems with media-libs/libsdl-1.2.8-r1

2005-04-30 Thread Jason Cooper
darren kirby ([EMAIL PROTECTED]) scribbled:
 quoth the Vittorio:
 snip
  I modified the ebuild file as suggested in the bug report but when I
 
  bash-2.05b# emerge -uDn world
  Calculating world dependencies ...done!
 
   emerge (1 of 14) media-libs/libsdl-1.2.8-r1 to /
   md5 files   ;-) libsdl-1.2.6-r3.ebuild
 
  !!! Digest verification Failed:
  !!!/usr/portage/media-libs/libsdl/libsdl-1.2.8-r1.ebuild
  !!! Reason: Failed on MD5 verification
 
   Please ensure you have sync'd properly. Please try 'emerge sync' and
   optionally examine the file(s) for corruption. A sync will fix most
   cases.
 
  What should I do to skip this check of consistency?
 
 Have you done an 'emerge sync' recently to see if it is fixed?
 If so, this is most likely not the 'correct' way to do this, but you can edit 
 the Manifest file...
 
 cd to  /usr/portage/media-libs/libsdl/
 run:
 
 # md5sum libsdl-1.2.8-r1.ebuild
 dc422953436a92690bd6f7b0f0c2d4d5  libsdl-1.2.8-r1.ebuild # this is just sample
 # ls -l  libsdl-1.2.8-r1.ebuild
 -rw-r--r--  1 root root 4550 Apr 24 18:35 libsdl-1.2.8-r1.ebuild
 
 Now you have the md5sum and size of your edited ebuild script...
 Now edit 'Manifest'. Find the line with libsdl-1.2.8-r1.ebuild, and change 
 the 
 md5sum and size (the number at the end of the line) to your new values.
 
 Caveat: like I said, this is probably not the best way to do this, you will 
 probably want to wait for advice from someone more knowlegable than me ;)
 
 However, this is what I do when I want to change the source code in a 
 distfile 
 but install using emerge...

http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

In particular, once the ebuild is modified (or the source code), and put
in place, 'ebuild ebuild-name digest' will fix the above error.

hth,

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



Re: [gentoo-user] script to recursively unmask a package

2005-04-29 Thread Jason Cooper
Christoph Gysin ([EMAIL PROTECTED]) scribbled:
 Jason Cooper wrote:
 Why should he have to rewrite it in python?  eix is C++, and genlop is
 Perl.  Admittedly, they are not part of gentoolkit, but everyone uses
 them and I don't think anyone thinks any lesser of them. :)
 
 Don't get me wrong, I really like perl. But the idea was to integrate it 
 into portage. And portage is python.

Integrate as in 'emerge --recursive-unmask package-name' or integrate as
in 'app-portage/unmask'?  

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



Re: [gentoo-user] [OT]Which TV recorder

2005-04-28 Thread Jason Cooper
Tamas Sarga ([EMAIL PROTECTED]) scribbled:
 I read about Mythtv, but I don't want to install Mysql if it isn't
 absolutely required. BTW why Mythtv depends on Mysql? It can not work
 without it? What Mythtv use it for?

mythtv uses mysql to keep track of *everything*.  Including, but not
limited to, program guide, recording schedule, previously recorded
shows, configuration, etc.  

Is there a particular reason you want to avoid mysql?  I've been using
mythtv for almost two years now.  It's a lot easier than trying to brew
your own.  Especially under gentoo.

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



Re: [gentoo-user] Re: OT:HDTV and PVR

2005-04-28 Thread Jason Cooper
James ([EMAIL PROTECTED]) scribbled:
 Jason Cooper gentoo at lakedaemon.net writes:
 
  
  James (wireless at tampabay.rr.com) scribbled:
   Where brand/make of hdtv-receiver-card did you use
   for your PC?
  
  http://www.pchdtv.com
  
  It's *only* over-the-air though.
 
 That's OK, I was looking at a Samsung SyncMaster 403T 40
 display. It has a vga (Dsub 15pin) connector. 
 It's 1280x768 (15:9 aspect ratio). How do I know if this
 display watches (filters) for the broadcast flag over the
 Dsub 15pin connector or not?

If the input is VGA, then it has to comply with the VESA VGA standard.
There is no broadcast flag there, AFAIK.  If it can tune HDTV directly 
(raw antenna input), then you'll have to check the manual or call the
manufacturer.

Regardless, if you feed it via the VGA port, then you won't have a
problem.

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



Re: [gentoo-user] script to recursively unmask a package

2005-04-28 Thread Jason Cooper
Roy O. Wright ([EMAIL PROTECTED]) scribbled:
 Howdy,
 
 I was wanting to install just kdebase-3.4.0 without unmasking all of 
 kde-3.4.0.  The HOWTO
 Update KDE 3.3 to KDE 3.4 
 (http://www.gentoo-wiki.com/HOWTO_Update_KDE_3.3_to_KDE_3.4)
 suggested running emerge kdebase -p, find a package that is blocking, 
 then add that package to
 /etc/portage/packages.keywords, and repeat until no more packages are 
 blocking.  Tedious. 
 So here's a perl script to do just that.  It will work for any package.
 
 Usage:  unmask.pl packageName
 
 -- begin: unmask.pl 
[snip]
 -- end: unmask.pl 

No, no, no... You got it all wrong.  We can't have a portage utility
with a name that makes sense.  You need to rename it to something like
'gunmk' (Gentoo UNMasK).  :-)

Seriously, though.  Nice script.  

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



Re: [gentoo-user] shutdown now hangs on Saving random seed...

2005-04-27 Thread Jason Cooper
Colin ([EMAIL PROTECTED]) scribbled:
 Whenever I type in shutdown now, the kernel enters runlevel 1 and
 starts to shut down.  All of these [ ok ] just fine:
 
 * Stopping local...
 * Stopping fcron...
 * Unmounting network filesystems...
 * Stopping syslog-ng...
 * Syncing hardware clock to system clock [Local Time]...
 * Bringing eth0 down...
 *Removing inet6 addresses...
 *eth0 inet6 del fe80::20e:2eff:fe0c:6041/64...
 *Stopping eth0...
 * Bringing lo down...
 
 But it just hangs on this one:
 
 * Saving random seed...
 
 I can Ctrl-C my way out of it and continue to work in Gentoo, but a
 software shutdown isn't possible.  I just reboot, enter the BIOS and
 hold the switch.  What can I do about this little bug?  And is there
 even any purpose in loading and saving a random seed when random
 numbers are (AFAIK) seeded by the timer?

Have you enabled apm or acpi in your kernel?  

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



Re: [gentoo-user] shutdown now hangs on Saving random seed...

2005-04-27 Thread Jason Cooper
The Disguised Jedi ([EMAIL PROTECTED]) scribbled:
  On 4/27/05, Jason Cooper [EMAIL PROTECTED] wrote: 
   Colin ([EMAIL PROTECTED]) scribbled:
Whenever I type in shutdown now, the kernel enters runlevel 1 and
starts to shut down. All of these [ ok ] just fine:
   
* Stopping local...
* Stopping fcron...
* Unmounting network filesystems...
* Stopping syslog-ng...
* Syncing hardware clock to system clock [Local Time]...
* Bringing eth0 down...
* Removing inet6 addresses...
* eth0 inet6 del fe80::20e:2eff:fe0c:6041/64...
* Stopping eth0...
* Bringing lo down...
   
But it just hangs on this one:
   
* Saving random seed...
   
  I am wondering if it isn't the random number generator that is causing the 
 problem. Is ACPI and/or APM configured properly in your kernel? Did you 
 recently add these? I think the problem is that the kernel is trying to 
 signal shutdown on the machine, but it isn't configured right.
 
  I can Ctrl-C my way out of it and continue to work in Gentoo, but a
  software shutdown isn't possible. I just reboot, enter the BIOS and
  hold the switch. What can I do about this little bug? And is there
  even any purpose in loading and saving a random seed when random
  numbers are (AFAIK) seeded by the timer?
 Check your ACPI and/or APM configuration. The thing that is bugging me here 
 is that you can get out of it, which makes me think that ACPI is signaling 
 the power supply to switch off, but it doesn't. Try reboot to see if that 
 works. I had a problem where my machine wouldn't power off, but it would 
 reboot, and it was just a kernel configuration problem.
  HTH, 
 
 -- 
 The Disguised Jedi
 [EMAIL PROTECTED]

Please be more careful with your quoting.  What I wrote isn't in there,
yet you have attribution to me at the top.  Also, your word-wrapping
appears to be borked.  

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



Re: [gentoo-user] What can I safely delete from /tmp?

2005-04-26 Thread Jason Cooper
Richard Watson ([EMAIL PROTECTED]) scribbled:
 I'm starting to get low on disk space and was wondering what I can safely
 delete from the /tmp directory. How about everything? 

You should check to see that nothing has a file open first.  'lsof' is
good for this, however, if /tmp is a separate partition, you can just
try to umount it.  If it unmounts, then remount and delete everything.
Otherwise, just use 'lsof | grep tmp'.  

hth,

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



Re: [gentoo-user] emerge ideas

2005-04-25 Thread Jason Cooper
Devraj Mukherjee ([EMAIL PROTECTED]) scribbled:
 1. Emerge with a time delay, so that one can specify big emerge tasks 
 for say midnight for proper bandwidth usage etc. I know you can do this 
 with a combination of utilites (such as cron) but it would be neat to 
 have it as part of emerge.

most folks will say a solution involving cron/at is sufficient.  I agree
with that.  No need to unnecessarily complicate things.

 2. Background downloading, of packages while emerge compiles other 
 packages. For example when I am compiling something huge like GNome, 
 while a package like GTK is being compiled, emerge should be clever and 
 download the next package and save time.

emerge -fuD world 
sleep 5 
emerge -uDav world

But that's somewhat hackish.  I like the idea, though.  Unfortunately,
implementation isn't going to be that easy, unless there is a
--nodownload flag.  otherwise, you'll have to figure out some way to block
the emerge process until the file(s) is/are downloaded.

 If these ideas are of some use I hope someone can send it to the right 
 people, and obviously if they require any help with coding (which I am 
 sure they dont) I am happy to contribute.

http://bugs.gentoo.org ;-)

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



Re: [gentoo-user] emerge ideas

2005-04-25 Thread Jason Cooper
Neil Bothwick ([EMAIL PROTECTED]) scribbled:
 On Mon, 25 Apr 2005 08:47:22 -0400, Jason Cooper wrote:
  emerge -fuD world 
  sleep 5 
  emerge -uDav world
  
  But that's somewhat hackish.  I like the idea, though.  Unfortunately,
  implementation isn't going to be that easy, unless there is a
  --nodownload flag.  otherwise, you'll have to figure out some way to
  block the emerge process until the file(s) is/are downloaded.
 
 Add distlocks to FEATURES in /etc/make.conf. If one emerge process is
 already downloading a file, the other will wait for it to complete,
 rather than attempting a second download.

Nice.  So all that remains is adding a '--parallel' option that would
launch an 'emerge -f args ' at the beginning of the process. 

If I get a chance, I'll take a look at the bug mentioned earlier, see
what's already been tried/done.

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



Re: [gentoo-user] emerge ideas

2005-04-25 Thread Jason Cooper
Dave Nebinger ([EMAIL PROTECTED]) scribbled:
  2. Background downloading, of packages while emerge compiles other
  packages. For example when I am compiling something huge like GNome,
  while a package like GTK is being compiled, emerge should be clever and
  download the next package and save time.
 
 This, as well, can be handled via the same cron task used to 'emerge
 --sync'.  Add an 'emerge --update --deep --fetchonly world' and you get all
 of the packages pre-downloaded and ready to build when you are prepared to
 update the system.

Sometimes the simplest solution is the best... Wish I had thought of
that. /runs to change crontab  :)

 Since I have multiple gentoo systems, I use http-replicator as the http
 proxy for portage; all of the systems hit the proxy for package files so I
 only have to perform the download from the net once to keep the entire
 internal network up to date.

Does this handle pkg X being needed by the client, but not needed for
the pkg server?  This has been the only thing holding me back from doing
similar...

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



Re: [gentoo-user] emerge ideas

2005-04-25 Thread Jason Cooper
Neil Bothwick ([EMAIL PROTECTED]) scribbled:
 On Mon, 25 Apr 2005 11:15:12 -0400, Jason Cooper wrote:
 
   Since I have multiple gentoo systems, I use http-replicator as the
   http proxy for portage; all of the systems hit the proxy for package
   files so I only have to perform the download from the net once to
   keep the entire internal network up to date.
  
  Does this handle pkg X being needed by the client, but not needed for
  the pkg server?  This has been the only thing holding me back from doing
  similar...
 
 I don't see why it shouldn't, but I use a different approach to achieve
 the same end. I set DISTDIR to an NFS shared directory.

I generally try to avoid NFS due to bad experiences in the past.  

[EMAIL PROTECTED] # eix http-replicator

Found 0 matches
[EMAIL PROTECTED] # eix -S replicator

Found 0 matches

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



Re: [gentoo-user] nvidia drivers and glx

2005-04-25 Thread Jason Cooper
Bruno Lustosa ([EMAIL PROTECTED]) scribbled:
 Hello.
 After some update, the GLX extensions stopped working.
 I noticed it because opengl xscreensavers would just segfault. After I
 quit X and tried to restart it, I would get a segfault when trying to
 load the glx extension.
 The xorg.conf hasn't been changed.
 Finally, I had to remove the glx module from xorg.conf to have it
 working again (no 3d though).
 I tried re-emerging nvidia-{kernel,glx}, and also opengl-update
 nvidia, to no avail.
 Also, after this, I updated the drivers to the latest version (I was
 locked in 7167-r1, now I'm at 7174).
 I'm running gentoo on an athlon64.
 Anyone knows what make it fail? I looked into emerge.log, and only
 packages I saw that could generate weird things was baselayout and
 glibc.

Some packages use static library paths to libGL, libXm, etc.  Try
re-merging your screensaver app to pick up the new path.  X.org recently
shuffled around the locations of some libraries.  

hth,

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



Re: [gentoo-user] MythTv Ebuild Fails on Gentoo

2005-04-24 Thread Jason Cooper
Michael Haan ([EMAIL PROTECTED]) scribbled:
 On 4/24/05, Jason Cooper [EMAIL PROTECTED] wrote:
  Michael Haan ([EMAIL PROTECTED]) scribbled:
   I get the following error trying to build Mythfrontend 0.18 from the
   Gentoo ebuild:
  
Unpacking source...
Unpacking mythtv-0.18.tar.bz2 to 
/var/tmp/portage/mythfrontend-0.18/work
   /usr/lib/portage/bin/ebuild.sh: line 35: cd:
   /var/tmp/portage/mythfrontend-0.18/work/mythfrontend-0.18: No such
   file or directory
   sed: can't read settings.pro: No such file or directory
  
   !!! ERROR: media-tv/mythfrontend-0.18 failed.
   !!! Function myth_src_unpack, Line 40, Exitcode 2
   !!! Initial setup failed
   !!! If you need support, post the topmost build error, NOT this status 
   message.
  
   I know sort of what the issue is, but now how to fix it.  Anyone?
  
  http://bugs.gentoo.org/show_bug.cgi?id=90088
  
 
 Sorry to be a dope - but which file do you do this in?

/usr/portage/media-tv/mythfrontend/mythfrontend-0.18.ebuild

Just after the RDEPEND=... line.

Although, for completeness, you should take a look at how to use
PORTDIR_OVERLAY (in /etc/make.conf).  This way, changes you make to
ebuilds will survive 'emerge sync'.  

http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

hth,

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



Re: [gentoo-user] MythTv Ebuild Fails on Gentoo

2005-04-24 Thread Jason Cooper
Michael Haan ([EMAIL PROTECTED]) scribbled:
 On 4/24/05, Michael Haan [EMAIL PROTECTED] wrote:
  On 4/24/05, Jason Cooper [EMAIL PROTECTED] wrote:
   Michael Haan ([EMAIL PROTECTED]) scribbled:
I get the following error trying to build Mythfrontend 0.18 from the
Gentoo ebuild:
   
 Unpacking source...
 Unpacking mythtv-0.18.tar.bz2 to 
 /var/tmp/portage/mythfrontend-0.18/work
/usr/lib/portage/bin/ebuild.sh: line 35: cd:
/var/tmp/portage/mythfrontend-0.18/work/mythfrontend-0.18: No such
file or directory
sed: can't read settings.pro: No such file or directory
   
!!! ERROR: media-tv/mythfrontend-0.18 failed.
!!! Function myth_src_unpack, Line 40, Exitcode 2
!!! Initial setup failed
!!! If you need support, post the topmost build error, NOT this status 
message.
   
I know sort of what the issue is, but now how to fix it.  Anyone?
  
   http://bugs.gentoo.org/show_bug.cgi?id=90088
  
  
  Sorry to be a dope - but which file do you do this in?
  
 
 I tried modifying mythfrontend-0.18.ebuild but I get:
 
 tibeaux root # ACCEPT_KEYWORDS=~amd64 emerge mythfrontend mythdvd
 mythmusic nuvexport
 Calculating dependencies ...done!
  emerge (1 of 12) media-tv/mythfrontend-0.18 to /
  md5 files   ;-) mythfrontend-0.16.ebuild
 
 !!! Digest verification Failed:
 !!!/usr/portage/media-tv/mythfrontend/mythfrontend-0.18.ebuild
 !!! Reason: Filesize does not match recorded size
 
  Please ensure you have sync'd properly. Please try 'emerge sync' and
  optionally examine the file(s) for corruption. A sync will fix most cases.

See the link on modifying ebuilds from my other mail.  Making a Digest
is what you're looking for.

hth,

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



Re: [gentoo-user] 2.6 kernel and wlan-ng

2005-04-18 Thread Jason Cooper
Chris Bare ([EMAIL PROTECTED]) scribbled:
 I recently upgraded my laptop to the 2.6.11 kernel and am trying to get my
 wifi working again. It worked under 2.4 with the linux-wlan-ng package. I
 followed the instructions in the bug and built it for 2.6 by turning off the
 sandbox. It appears to build fine, but here's what I get in /var/log/messages
 when it tries to load:
 
 Apr 18 17:18:36 rygel kernel: prism2pci_init: prism2_pci.o: 0.2.1-pre23 Loaded
 Apr 18 17:18:36 rygel kernel: prism2pci_init: dev_info is: prism2_pci
 Apr 18 17:18:36 rygel kernel: ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 9
 Apr 18 17:18:36 rygel kernel: ACPI: PCI interrupt :00:12.0[A] - GSI 9
 (level, low) - IRQ 9
 Apr 18 17:18:36 rygel kernel: A Prism2.5 PCI device found, phymem:0xe8013000,
 irq:9, mem:0xcf94a000
 Apr 18 17:18:37 rygel kernel: prism2pci_init: prism2_pci: No devices found,
 driver not installed.
 
 
 daemon.log says:
 Apr 18 17:18:38 rygel modprobe: FATAL: Error inserting prism2_pci
 (/lib/modules/2.6.11-gentoo-r6cb1/linux-wlan-ng/prism2_pci.ko): No such device
 
 
 and lspci says:
 :00:12.0 Network controller: Intersil Corporation Prism 2.5 Wavelan
 chipset (rev 01)
 
 
 I'm at a loss, it seems to find the hardware, but fail to initialize. Any
 suggestions?

Are any of the orinoco drivers loaded?  

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



Re: [gentoo-user] intercept browser traffic

2005-04-12 Thread Jason Cooper
Antoine ([EMAIL PROTECTED]) scribbled:
 I am looking for a way to intercept a stream before it gets to my
 browser, so I can see everything that is being sent to me, and that I
 send back. Does anyone know know of a tool that will do this for me?

ethereal? squid proxy?

hth,

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



Re: [gentoo-user] Emerge needs a --nocolor option

2005-04-12 Thread Jason Cooper
A. Khattri ([EMAIL PROTECTED]) scribbled:
 There really ought to be a --nocolor option for emerge, alongside the
 --nospinner option. (I know I could add it to FEATURES in make.conf but I
 dont want to do that). I run emerge --sync from cron on my servers - the
 email from cron contains a lot of control codes.

I'll bet I wasn't the only one who went running to 'man emerge' and
'emerge --help'.  :)

damn, I coulda sworn at one time there was a --nocolor option.  Am I the
only one who remembers this?

Don't have time to look into this, but here's a good starting point:

[EMAIL PROTECTED] # grep -ni color `which emerge`
76:if (not sys.stdout.isatty()) or (portage.settings[NOCOLOR] in 
[yes,true]):
77: nocolor()
559:emergehelp.help(myaction,myopts,havecolor)

hth,

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



Re: [gentoo-user] Emerge needs a --nocolor option

2005-04-12 Thread Jason Cooper
Jason Stubbs ([EMAIL PROTECTED]) scribbled:
 On Tuesday 12 April 2005 20:49, A. Khattri wrote:
  There really ought to be a --nocolor option for emerge, alongside the
  --nospinner option. (I know I could add it to FEATURES in make.conf but I
  dont want to do that). I run emerge --sync from cron on my servers - the
  email from cron contains a lot of control codes.
 
 Well, that's three people saying it should be implemented but no offerings 
 off 
 any code yet... Here's my solution: Add NOCOLOR=true to your crontab.

ehh, challenge accepted. :)

initial patch attached.  This is against 'emerge' from
sys-apps/portage-2.0.51.19.

it adds '--nocolor' with the abbreviation '-r'.  Looks like my tabs
might be off, let me know if they are.

I've never looked at this code before, nor this language.  So I'm sure I
screwed it up...

Cooper.
--- emerge.orig 2005-04-12 14:08:43.295986784 +
+++ emerge  2005-04-12 14:16:16.896029096 +
@@ -151,7 +151,7 @@
 --fetchonly,--fetch-all-uri,
 --getbinpkg,--getbinpkgonly,
 --help, --noconfmem,
---newuse,
+--newuse,--nocolor,
 --nodeps,   --noreplace,
 --nospinner,--oneshot,
 --onlydeps, --pretend,
@@ -180,7 +180,7 @@
 n:--noreplace, N:--newuse,
 o:--onlydeps,  O:--nodeps,
 p:--pretend,   P:--prune,
-q:--quiet,
+q:--quiet, r:--nocolor,
 s:--search,S:--searchdesc,
 't':--tree,
 u:--update,U:--upgradeonly,
@@ -371,6 +371,10 @@
portage.debug=1
portage.settings.lock()
 
+# Set color output
+if (--nocolor in myopts) and (sys.stdout.isatty()):
+   nocolor()
+
 CLEAN_DELAY = 5
 EMERGE_WARNING_DELAY = 10
 if portage.settings[CLEAN_DELAY]:


Re: [gentoo-user] Emerge needs a --nocolor option

2005-04-12 Thread Jason Cooper
Jason Stubbs ([EMAIL PROTECTED]) scribbled:
 On Tuesday 12 April 2005 23:24, Jason Cooper wrote:
  Jason Stubbs ([EMAIL PROTECTED]) scribbled:
   On Tuesday 12 April 2005 20:49, A. Khattri wrote:
There really ought to be a --nocolor option for emerge, alongside the
--nospinner option. (I know I could add it to FEATURES in make.conf but
I dont want to do that). I run emerge --sync from cron on my servers -
the email from cron contains a lot of control codes.
  
   Well, that's three people saying it should be implemented but no
   offerings off any code yet... Here's my solution: Add NOCOLOR=true to
   your crontab.
 
  ehh, challenge accepted. :)
 
 And applied to CVS.
 
  initial patch attached.  This is against 'emerge' from
  sys-apps/portage-2.0.51.19.
 
  it adds '--nocolor' with the abbreviation '-r'.  Looks like my tabs
  might be off, let me know if they are.
 
 I removed the '-r' short option.
 
  I've never looked at this code before, nor this language.  So I'm sure I
  screwed it up...
 
 The spaces vs tabs in the options array is just a formatting thing. Other 
 than 
 that there were no problems.

so I guess this is kinda pointless?

http://bugs.gentoo.org/show_bug.cgi?id=88858

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