Re: [gentoo-user] Does a tool that resizes reiser4 partitions exists ?

2005-04-22 Thread Richard Fish
Maxim Vexler wrote:

Since the first public release of resiser4 it came a long way, but yet
I haven't seen even one tool that can resize a reiser partition.

Have I missed something fundamental ?
And If the answer is yes, can I get a livecd with that ?
  


RTFM!

Let me show you how:

# tar -xzf /usr/portage/distfiles/reiser4progs-1.0.4.tar.gz
# less reiser4progs-1.0.4/TODO
snip
* online/offline resizer/repacker, manual page resizefs.

-Richard


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-22 Thread Dirk Heinrichs
Am Donnerstag, 21. April 2005 16:04 schrieb ext fire-eyes:

 So I'm using a 2.6 kernel, and trying to figure out how to cause eth0
 and eth1 to swap. That is, eth0 start up as eth1, and eth1 start up as
 eth0.

 Any more ideas?

In case you're using udev, you can give them whatever name you want, based 
on the mac address:

$ grep eth /etc/udev/rules.d/10-local.rules
KERNEL=eth*, SYSFS{address}=00:50:8b:90:be:3c, NAME=lan

$ /sbin/ifconfig
lan   Protokoll:Ethernet  Hardware Adresse 00:50:8B:90:BE:3C
[Some lines skipped]

See also: http://gentoo-wiki.com/HOWTO_Customizing_UDEV

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpiPuHg8F3rM.pgp
Description: PGP signature


Re: [gentoo-user] 100% disk full again

2005-04-22 Thread Neil Bothwick
On Thu, 21 Apr 2005 22:33:06 -0500, Kirk Schneider wrote:

 Orginally I was cleaning ccache since my emerge runs under root and
 root's home directory is on a small partition.  Taking your input
 I've decided to just set ccache size and not use my script to clean it.

Why not set ccache (I think it's CCACHE_DIR) to use a directory on a
larger partition. I too have /root on a small partition, but have a
large XFS partition that I use for temporary/non-essential files; like
ccache, PORT_TMPDIR and ?ISO images.

 Cleaning all distfiles was a decision I made on having high speed
 downloads. Considering your problem of slow downloads, I have changed
 the script to remove files that have been on the system after 30 number
 of days. Adjust the number of days based on your needs.

There are scripts that clean out distfiles based on which are not needed
by currently install packages. That seems a more appropriate approach to
me than deleting everything over a randomly chosen age.


-- 
Neil Bothwick

The box said 'needs Win95 or better' so I bought an Amiga.


pgpz6KHMU8euh.pgp
Description: PGP signature


[gentoo-user] OT - hardware problems

2005-04-22 Thread Patrick Marquetecken
Hi,

Yesterday arround midday i have lost contact with my home server, when i
came home i saw that on the front the light (power) was red instead of
green.
I have rebooted with the power button and all is fine until now.
The machine is a old Compaq deskpro AP prof desktop PIII, does anyone know
what the red light could be ?
Its the first time this happens.

TIA
Patrick
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dma is off

2005-04-22 Thread iNFERNo
Hi,

I had the same problem and I've installed gentoo-sources-2.6.11-r5
and the problem was gone, the old kernel was gentoo-sources-2.6.11-r3.
Now I'm running on gentoo-sources-2.6.11-r6 and it's ok.

Best regards

Al Bayrouni wrote:

 Al Bayrouni wrote:

 Benno Schulenberg wrote:

 Al Bayrouni wrote:

 # CONFIG_IDEDMA_ONLYDISK is not set
 CONFIG_IDEDMA_ONLYDISK=y




 This doesn't look right.  Did you configure the kernel by hand?  Or
 by using genkernel?  If so, try it with 'make menuconfig' to get a
 consistent config.

 Benno



 Thank you very much.
 I configured the kernel like this:
 CONFIG_BLK_DEV_SIS5513=y is now enabled
 CONFIG_IDEDMA_ONLYDISK=n is now disabled

 I am now recompiling my kernel.
 I shall send the result after rebooting my system on the new kernl .

 Thanks :)
 Al Bayrouni


 I had compiled a new kern that support dma, restartd my gentoo, and
 now the dma is on.
 Thank you very much for your anwers.

 Al Bayrouni



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: vi is mising from the portage

2005-04-22 Thread Ciaran McCreesh
On Thu, 21 Apr 2005 22:34:45 +0100 Digby Tarvin [EMAIL PROTECTED] wrote:
| Anyway, what has been bugging me about the vi imposter on gentoo is
| this gawdy psychadelic colourisation

Try one of these in your vimrc:
set background=dark
set background=light

Or possibly:
colorscheme darkblue

Or possibly:
colorscheme elflord

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgptdeIe6TNxE.pgp
Description: PGP signature


Re: [gentoo-user] Re: vi is mising from the portage

2005-04-22 Thread Ciaran McCreesh
On Fri, 22 Apr 2005 01:09:43 -0400 Walter Dnes [EMAIL PROTECTED]
wrote:
|   Here's a patch you probably *WON'T* acceptg.  Warning, some coarse
| language...  http://dev.gentoo.org/~lewk/img/vim.gif

*sigh* what makes that really pathetic is that we already have vimgor,
which is an actual implementation of a paperclip for vim but a heck of a
lot funnier.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpaQhiawkSgr.pgp
Description: PGP signature


[gentoo-user] i810 Intel 82856G graphic 2

2005-04-22 Thread Devraj Mukherjee
Is there anyone using Xorg on an Intel 82865G card and can lend me their 
Xorg configuration file. I got my card as a part of a Dimension 3000.

Thanks
--
Devraj Mukherjee ([EMAIL PROTECTED])
Eternity Technologies Pty. Ltd. ACN 107 600 975
P O Box 5949 Wagga Wagga NSW 2650 Australia
Voice: +61-2-69717131 / Fax: +61-2-69251039
http://www.eternitytechnologies.com/
--
gentoo-user@gentoo.org mailing list


[gentoo-user] how to read dvd (encrypted) with mplayer

2005-04-22 Thread Al Bayrouni
Hello all
I have one movie dvd that I had get at dvdtheque.
I can't read it.
which libraries I need?
Thank you
Bayrouni.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: tweaking USE settings

2005-04-22 Thread Nick Rout
try 

emerge info

to see what the end result of all the files.

Also remember you have stackable (is that the name? its late) profiles.



your profile is in 

/u/p/p/default.linux/x86/2005.0

but note the parent file in there, this contains a single entry: ..
- this means that everything in the directory above is also part of the
profile. And guess what, so does the dir above have a parent file. And
so on. so the make.defaults files in each of the included directories
may add something to the profile.

emerge info is a far easier way of seeing the end result!



On Thu, 2005-04-21 at 20:23 +, James wrote:
 Dave Nebinger dnebinger at joat.com writes:
 
 
  ls -l /etc/make.profile should indicate what profile you're linked to.
 
  How come all of those 'use.defaults' files still
  have 2004.x in the path names instead of 2005.0 ?
 
  I believe the 2005.x standard is to use the
  /u/p/p/default-linux/use.defaults; the 2004 version(s) were used by those
  specific profiles.  In fact if you look at the listing it would appear that
  the intention is that the profile-specific use.defaults are extensions to
  the d-l/use.defaults file, indicating that at some point along the way it
  was determined that no 2005.x specific additions are necessary.  Obviously
  there are others more qualified than I to answer this one correctly.
 
 
 Thanks,
 
 James
 
 
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 100% disk full again

2005-04-22 Thread Nick Rout
On Fri, 2005-04-22 at 08:50 +0100, Neil Bothwick wrote:
  Cleaning all distfiles was a decision I made on having high speed
  downloads. Considering your problem of slow downloads, I have
 changed
  the script to remove files that have been on the system after 30
 number
  of days. Adjust the number of days based on your needs.
 
 There are scripts that clean out distfiles based on which are not
 needed
 by currently install packages. That seems a more appropriate approach
 to
 me than deleting everything over a randomly chosen age.


This one (not my original work) I liked:

http://clug.net.nz/index.php/GentooTips

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] i810 Intel 82856G graphic 2

2005-04-22 Thread Devraj Mukherjee
Hi Bill,
Thanks for that. Are you using Xorg or Xfree?
Devraj
Bill Roberts wrote:
On 20:16 Fri 22 Apr , Devraj Mukherjee wrote:
Is there anyone using Xorg on an Intel 82865G card and can lend me their 
Xorg configuration file. I got my card as a part of a Dimension 3000.

Devraj
I wouldn't hold my xorg.conf up as a exemplar of fine configuration,
but it works for me.
My hardware, courtesy of lshw:
*-pci:0
 description: PCI bridge
 product: 82865G/PE/P PCI to AGP Controller
 vendor: Intel Corp.
 physical id: 1
My xorg.conf:
---
Section ServerLayout
Identifier XFree86 Configured
Screen  0   Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection
Section Files
RgbPath  /usr/lib/X11/rgb
FontPath unix/:-1
FontPath/usr/share/fonts/local/
FontPath/usr/share/fonts/misc/
FontPath/usr/share/fonts/75dpi/:unscaled
FontPath/usr/share/fonts/100dpi/:unscaled
FontPath/usr/share/fonts/Type1/
FontPath/usr/share/fonts/TTF/
FontPath/usr/share/fonts/CID/
FontPath/usr/share/fonts/Speedo/
FontPath/usr/share/fonts/75dpi/
FontPath/usr/share/fonts/100dpi/
FontPath/usr/share/fonts/artwiz/
FontPath/usr/share/fonts/corefonts/
FontPath/usr/share/fonts/cyrillic/
FontPath/usr/share/fonts/default/
FontPath/usr/share/fonts/freefont/
FontPath/usr/share/fonts/sharefonts/
FontPath/usr/share/fonts/terminus/
FontPath/usr/share/fonts/ttf-bitstream-vera/
FontPath/usr/share/fonts/ukr/
FontPath/usr/share/fonts/unifont/
FontPath/usr/share/fonts/util/

ModulePath   /usr/X11R6/lib/modules
ModulePath   /usr/X11R6-DRI/lib/modules
EndSection
Section Module
Load  record
Load  extmod
Load  dbe
Load  dri
Load  glx
Load  GLcore
Load  xtrap
Load  type1
Load  freetype
EndSection
Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModelpc104
Option  XkbLayout   us
EndSection
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol IMPS/2
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5
EndSection
Section Monitor
DisplaySize   350   255 # mm
Identifier   Monitor0
VendorName   DEL
ModelNameDELL D1226H
HorizSync30.0 - 95.0
VertRefresh  50.0 - 160.0
Option  DPMS
EndSection
Section Device
Identifier  Card0
Driver  i810
Option  DDC false
VendorName  Intel Corp.
BoardName   82865G/GL [Brookdale-G] Chipset Integrated Graphics Device
VideoRam127680
BusID   PCI:0:2:0
EndSection
Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth  16
SubSection Display
Depth 16
Modes 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth 24
Modes 1024x768 800x600 640x480
EndSubSection
EndSection
Section DRI
Mode0666
EndSection
--
Best of Luck
Bill Roberts

--
Devraj Mukherjee ([EMAIL PROTECTED])
Eternity Technologies Pty. Ltd. ACN 107 600 975
P O Box 5949 Wagga Wagga NSW 2650 Australia
Voice: +61-2-69717131 / Fax: +61-2-69251039
http://www.eternitytechnologies.com/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Xorg 6.8.0 and Radeon Mobility

2005-04-22 Thread Lucien D.
Ah thanks, we're in business now, I should have put the DefaultDepth
in, that was just stupid.  The font is still a little big, but smaller
than before.  My next step is kde 3.3 - 3.4 so I'm just gonna wait on
that.  Well thanks for the help, my knowledge of X is slowly
improving.

Lucien

On 4/22/05, Richard Fish [EMAIL PROTECTED] wrote:
 Lucien D. wrote:
 
 Ok, making progress.  I installed 6.8.2-r1, did X -configure and its
 working, well mostly.  Two problems.
 
 well first, it seems like its running at a really high resolution, I
 always ran at 1600 which I thought was the highest this card could do
 (I vaguely remember it being the highest in windows).  And at this
 resolution the refresh rate is not right, it seems awfully low.  if I
 have a white background I can lines moving on the screen.
 
 
 
 A few things:
 
 My guess is that at a high resolution, the DPI is being calculated at
 something like 100x100 or 133x133.  While the calculation is technically
 correct, it makes fonts look huge.And font configuration in X right
 now is still a bit of a messso the only sane choice IMO is to run X
 at 75x75dpi.
 
 So, I have one small edit for your xorg.conf:
 
 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Modes 1600x1200 1280x1024
 Depth 24
 EndSubSection
 EndSection
 
 Replace 24 above with 16 if you want 16-bit color, I'm assuming you
 don't. This should give you the right resolution, and probably fix your
 fonts too.  But if the fonts are still huge, add -dpi 75 to the X
 command line.  For kdm (3.3), this will be
 /usr/kde/3.3/share/config/kdm/Xservers, or kdm 3.4 this will be
 /usr/kde/3.4/share/config/kdm/kdmrc, I don't know for gdm.
 
 If something else seems wrong, post /var/log/Xorg.0.log, and xdpyinfo |
 grep -A 30 ^screen.
 
 -Richard
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 100% disk full again

2005-04-22 Thread Neil Bothwick
On Fri, 22 Apr 2005 22:57:10 +1200, Nick Rout wrote:

 This one (not my original work) I liked:
 
 http://clug.net.nz/index.php/GentooTips

I like that one too. None of the scripts I saw dealt with a shared
distfiles directory, they deleted all files not used by the machine
running the script. My solution was a script that touched every file
required by all installed packages. Run it on every box then use find to
delete all distfiles files over a day old.

This idea of Jason's should be better, as long as I don't rm the
distfiles.old directory until all computers have run it.


-- 
Neil Bothwick

Without Time Everything Would Happen At Once!


pgpgtAeE3NOj0.pgp
Description: PGP signature


[gentoo-user] Re: Gentoo realtime-preempt kernel?

2005-04-22 Thread James
Mark Knecht markknecht at gmail.com writes:

 Sounds like fun stuff.
 
  
  He needs about 64 channels of analog(audio IO) in the form of high end
  audio cards with multiple input/output channels.  
 
 Probably a couple of RME HDSP 9652s sync'ed via word clock would get
 you pretty close at 52 channels. I use the card and it works very well
 under Linux with low latency realtime kernels.

Yes RME boards seem to have good support under the 2.6 linux kernel.
I definately need to research pci audio boards in more detail to decide.
I'll look into the board you have suggested. It would be good for me
to use boards that another Gentoo audiophile is using

 Is this just for live work? Not primarily recording? 
Both, When you produce live music, you have to be able to patch the band
into the system, and also run DJ style tunes when the band is taking
a break, to keep the natives happy. Also, Most live events get
recorded, so the better the quality of the (multi_track) recording
you can provide, the happier everyone is.

 If so I thinkn
 you could also look into customized delay plugins to ensure that
 different speak systems are in time with each other.

I have not purchased a mixer or other equipment for my 5kw system yet, as I
want everything to run from a gentoo portable(maybe a gentoo wireless rig)
talking to a gentoo 19 rack mount server, augmented with PCI cards.
(equipment suggestions are most welcome).

Here's a list of Doc's equipment(he knows he'll have to add more gear):
Right now for sound card I'm using a sound blaster audigy.
It works better with the speaker measurement software than
anything else does. For mixers, I have a Stanton DJ mixer,
a Behringer UB802, an old mostly functional biamp 24 channel 
studio mixing board, and an AH GL2200 24 channel board (almost 
brand new).

I'll get the name of the speaker setup/measurement software he's using, plus
any other software that he's using or would like to have. Hve you seen
a large mixer board that can be controlled via Gentoo? I'm leaning towards
building the mixer functions via internal pci_buss cards, but if an
external mixer unit interfaces well with Gentoo, I'd like to read up
on those options too.

If any of the audio boards, which have a linux driver, have open source on the
DSP or other processors  it would be of keen interest. That way, we can 
modify/extend the firmware to get features we like. My wife is one
hell of a firmware developer (micro controllers, DSPs and some FPGAs)
so an open hardware/firmware approach to getting things right, would
really be the way to go If not maybe you are aware of a Development
kit with basic audio firmware from somebody like Motorola(freescale) or TI?

What I really need is a Master Audiophile
who has played with all sorts of audio gear and can provide input as to
how to architect the entire audio system for DJing, recording, and
live productions. I have an an EE that can design/fabricate anything
and a firmware engineer that can code on any type of processor.
We want to keep the power/signals betweenthe amps and the speakers 
all analog, at the present time.

Your ideas are most welcome. 

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] i810 Intel 82856G graphic 2

2005-04-22 Thread Devraj Mukherjee
Thanks for the various emails Bill. I managed to get your Xorg 
configuration on my system. When I run X -config /root/xorg.conf.bill I 
get the following messages and my screen is blank

Any suggestions directions are welcome. I am using a Diemsnion 3000 by Dell.
Thanks
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11-gentoo-r3 i686 [ELF]
Current Operating System: Linux linux-dt 2.6.11-gentoo-r3 #1 SMP Thu Apr 
21 23:12:14 EST 2005 i686
Build Date: 22 April 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Apr 23 08:06:05 2005
(++) Using config file: /root/xorg.conf.bill
Using vt 7
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
Could not init font path element unix/:-1, removing from list!
Could not init font path element /usr/share/fonts/local/, removing from 
list!
Could not init font path element /usr/share/fonts/util/, removing from list!


Devraj
I started out with Xfree, migrated to Xorg. As I recall, the only
change required in configuration was the keyboard driver, I don't
remember the name of the old, Xfree, one. You can Google or check 
http://forums.gentoo.org for the particulars.


--
Devraj Mukherjee ([EMAIL PROTECTED])
Eternity Technologies Pty. Ltd. ACN 107 600 975
P O Box 5949 Wagga Wagga NSW 2650 Australia
Voice: +61-2-69717131 / Fax: +61-2-69251039
http://www.eternitytechnologies.com/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] i810 Intel 82856G graphic 2

2005-04-22 Thread Mark Knecht
On 4/22/05, Devraj Mukherjee [EMAIL PROTECTED] wrote:
 Is there anyone using Xorg on an Intel 82865G card and can lend me their
 Xorg configuration file. I got my card as a part of a Dimension 3000.
 
 Thanks
 
 --
 Devraj Mukherjee ([EMAIL PROTECTED])
 Eternity Technologies Pty. Ltd. ACN 107 600 975
 P O Box 5949 Wagga Wagga NSW 2650 Australia
 Voice: +61-2-69717131 / Fax: +61-2-69251039
 http://www.eternitytechnologies.com/
 

Here's another one for you. Shared memory design I think. It's an
eMachines box I got my wife a few months ago:

*-display
 description: VGA compatible controller
 product: 82865G Integrated Graphics Device
 vendor: Intel Corp.
 physical id: 2
 bus info: [EMAIL PROTECTED]:02.0
 version: 02
 size: 128MB
 clock: 33MHz
 capabilities: vga bus_master cap_list
 resources: iomemory:f000-f7ff
iomemory:fa00-fa07 io port:b000-b007 irq:5

dragonfly ~ # emerge -p xorg-x11

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-6.8.2-r1
dragonfly ~ #



Cheers,
Mark


xorg.conf
Description: Binary data


[gentoo-user] Re: tweaking USE settings

2005-04-22 Thread James
Nick Rout nick at rout.co.nz writes:


 emerge info

Hey, that's pretty cool.  Must of missed/forgot this command...

 to see what the end result of all the files.
 
 Also remember you have stackable (is that the name? its late) profiles.
 
 your profile is in 
 
 /u/p/p/default.linux/x86/2005.0

you mean:
/usr/portage/profiles/default-linux/x86/2005.0

default.linux thru me for a few seconds until a search
show default-linux...

 but note the parent file in there, this contains a single entry: ..
 - this means that everything in the directory above is also part of the
 profile. And guess what, so does the dir above have a parent file. And
 so on. so the make.defaults files in each of the included directories
 may add something to the profile.
 
 emerge info is a far easier way of seeing the end result!
 

Yep, 'emerge info' is what I was missing. Thanks for the explaination on the
.. mechanisms. That's what's so cool about Gentoo, it's all there
and folks like yourself take the time to illuminate details of 
how things actually work.

Thanks again Nick!

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - hardware problems

2005-04-22 Thread Patrick Marquetecken

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Patrick Marquetecken schrieb:
 Hi,

 Yesterday arround midday i have lost contact with my home server, when i
 came home i saw that on the front the light (power) was red instead of
 green.
 I have rebooted with the power button and all is fine until now.
 The machine is a old Compaq deskpro AP prof desktop PIII, does anyone
 know
 what the red light could be ?
 Its the first time this happens.

 TIA
 Patrick

 Maybe Suspend is on in the BIOS? Should be in the Power Saving Section.
no, it up and running for months now without funny lights, its must be a
hardware problem/warning but i can't find out what.

Patrick


 - --
 E-Mail: [EMAIL PROTECTED]
 Internet: http://www.KarstenRBecker.de
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

 iD8DBQFCaL9iZ7JZitcquM0RAkQWAJ9ENa7CQ+PC0K+5EEXyTEGYKgbYdQCgnKZh
 ZHqpTezt9SEN/QIcMuTsbbM=
 =So+Q
 -END PGP SIGNATURE-
 --
 gentoo-user@gentoo.org mailing list





-- 
a

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Automatic process restarter

2005-04-22 Thread Patrick Marquetecken
Hi,
I need to monitor some processes on a server and if they die, they must be
restarted.
Before reinventing the wheel again (create my ons script) i search the
internet and the most intresting soft i found was: procautostart 
http://www.yolinux.com/HOWTO/Process-Monitor-HOWTO.html

Are some of you using other programs that are in the portage ?
Patrick

-- 
I can only please one person per day. Today is not your day. Tomorrow is
not looking good either.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Automatic process restarter

2005-04-22 Thread Bastian Balthazar Bux
Patrick Marquetecken wrote:
 Hi,
 I need to monitor some processes on a server and if they die, they must be
 restarted.
 Before reinventing the wheel again (create my ons script) i search the
 internet and the most intresting soft i found was: procautostart 
 http://www.yolinux.com/HOWTO/Process-Monitor-HOWTO.html
 
 Are some of you using other programs that are in the portage ?
 Patrick
 
sure sys-process/daemontools


-- 
No problem is so formidable that you can't walk away from it.
~ Charles M. Schulz
But sometimes run fast is better
~ Francesco R.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] 1000Mbps NIC Getting 100Mbps speeds

2005-04-22 Thread fire-eyes
I have installed a 1000Mbps NIC in my system. This is the system some of
you read about me where I was trying to swap the names of eth0 and eth1
so maybe that has something to do with my problem.

The light on the NIC shows 1000Mbps link, as does the switch it is
connected to. Kernel messages show the link as autonegotiated, and
1000Mbps.

The only odd one out is mii-tool which claims eth0: negotiated
100baseTx-FD, link ok

I also tried using ethtool to set it at 1000Mbps anyway via ethtool -s
eth0 speed 1000 , and the kernel again spits out messages about a
1000Mbps link being up just fine. mii-tool still says the same as above,
however.

The problem is that I get speeds just as if it were a 100Mbps link,
starting at about 9MB/s then dropping to about 8.

As noted above I had two NIC's. One was an onboard 100Mbps, and the
second an add on 64-bit 1000Mbps. I had to do some tweaking with nameif
to get the 1000Mbps as eth0, and the 100Mbps as eth1. The reasons why I
wanted this really don't matter.

Making things more confusing, last night when I first applied the nameif
changes, I DID see 1000Mbps speed transfers.

I saw exactly this behavior in the past, what was happening was the
traffic was going right back out the 100Mbps and thus we had 100Mbps
speeds. However this time I've disabled the 100Mbps, even unplugged it.

There are no unusual routing entries. I am not using iptables.

I'm stumped here, any ideas?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg 6.8.0 and Radeon Mobility

2005-04-22 Thread Richard Fish
Lucien D. wrote:

Ah thanks, we're in business now, I should have put the DefaultDepth
in, that was just stupid.  The font is still a little big, but smaller
than before.  My next step is kde 3.3 - 3.4 so I'm just gonna wait on
that.  Well thanks for the help, my knowledge of X is slowly
improving.

Lucien
  


Glad I could help.  My hope is that eventually when someone posts a
problem with configuring X, we will be able to respond with delete
/etc/X11/xorg.conf, because the autoconfiguration in x.org will become
that good.  It works now for generating a good starting point, but as
you found out, we still *need* that config file, and it still requires
some edits to get things exactly right.

Cheers,

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A binary choice for a DVD burner... URGENT!

2005-04-22 Thread Graham Murray
Robert G. Hays [EMAIL PROTECTED] writes:

 B.T.W., LG may send their best units (unit-lots) to Sony /or other 
 Brand Names, and sell the 'shaky' stuff under their own name -- this 
 is a known operating plan used by *lots* of manufacturers for many years.

So it is strange that my LG DVD burner can handle DVD-RAM, but none of
the 'brand' name drives (that I have seen) mention DVD-RAM capability?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Gentoo realtime-preempt kernel?

2005-04-22 Thread Robert G. Hays
James,
I don't have the answers that you are looking for myself, but I have a 
couple of thoughts about 'proceedurals' that you *might* not have 
thought of; please forgive my presumption if you *have* already thought 
of 'em...

Have you put together a good precis of all the info from these messages 
 posted that on LinuxQuestions.Org? There are also a number of sound 
engineer and musician sites out there, and it wouldn't hurt to ask 
those too. Some of the answes from these _will_ be for WhinedoZZZe /or 
the Mac (not to mention older systems like the Yamaha  the Amiga, which 
were both VERY popular in the musician/sound area), but where there are 
answers for other systems there might also be answers for Linux  maybe 
even Gentoo, including from the software-producers themselves...  And 
remember that Gentoo _can_  import programs for other Linii.

Just a thought Just In Case you hadn't already had it!
(And I am a (more-or-less) fellow embedded programmer to your wife, so 
now you can tell her a fellow Gentoo'er also works with tiny stuff 
(8/16-bit) and said 'hi!'; she might get a kick or a grin or something 
out of that... ;) )

Good Luck, and please keep us informed of how you solve this -- some of 
us have been lurking with baited breath to learn from this too! :),
rgh.

James wrote:
Mark Knecht markknecht at gmail.com writes:
 

Sounds like fun stuff.
   

He needs about 64 channels of analog(audio IO) in the form of high end
audio cards with multiple input/output channels.  
 

Probably a couple of RME HDSP 9652s sync'ed via word clock would get
you pretty close at 52 channels. I use the card and it works very well
under Linux with low latency realtime kernels.
   

Yes RME boards seem to have good support under the 2.6 linux kernel.
I definately need to research pci audio boards in more detail to decide.
I'll look into the board you have suggested. It would be good for me
to use boards that another Gentoo audiophile is using
 

Is this just for live work? Not primarily recording? 
   

Both, When you produce live music, you have to be able to patch the band
into the system, and also run DJ style tunes when the band is taking
a break, to keep the natives happy. Also, Most live events get
recorded, so the better the quality of the (multi_track) recording
you can provide, the happier everyone is.
 

If so I thinkn
you could also look into customized delay plugins to ensure that
different speak systems are in time with each other.
   

I have not purchased a mixer or other equipment for my 5kw system yet, as I
want everything to run from a gentoo portable(maybe a gentoo wireless rig)
talking to a gentoo 19 rack mount server, augmented with PCI cards.
(equipment suggestions are most welcome).
Here's a list of Doc's equipment(he knows he'll have to add more gear):
Right now for sound card I'm using a sound blaster audigy.
It works better with the speaker measurement software than
anything else does. For mixers, I have a Stanton DJ mixer,
a Behringer UB802, an old mostly functional biamp 24 channel 
studio mixing board, and an AH GL2200 24 channel board (almost 
brand new).

I'll get the name of the speaker setup/measurement software he's using, plus
any other software that he's using or would like to have. Hve you seen
a large mixer board that can be controlled via Gentoo? I'm leaning towards
building the mixer functions via internal pci_buss cards, but if an
external mixer unit interfaces well with Gentoo, I'd like to read up
on those options too.
If any of the audio boards, which have a linux driver, have open source on the
DSP or other processors  it would be of keen interest. That way, we can 
modify/extend the firmware to get features we like. My wife is one
hell of a firmware developer (micro controllers, DSPs and some FPGAs)
so an open hardware/firmware approach to getting things right, would
really be the way to go If not maybe you are aware of a Development
kit with basic audio firmware from somebody like Motorola(freescale) or TI?

What I really need is a Master Audiophile
who has played with all sorts of audio gear and can provide input as to
how to architect the entire audio system for DJing, recording, and
live productions. I have an an EE that can design/fabricate anything
and a firmware engineer that can code on any type of processor.
We want to keep the power/signals betweenthe amps and the speakers 
all analog, at the present time.

Your ideas are most welcome. 

James

 

--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] A binary choice for a DVD burner... URGENT!

2005-04-22 Thread Volker Armin Hemmann
On Friday 22 April 2005 18:05, Mrugesh Karnik wrote:
 Hello,

 Thanks for all the input guys (and gals, if any). Finally, I've decided
 to go for LG as it's saving me money and can't really see a big gain
 from buying Sony.

 Anyways, now I'm wondering about the media... +R or -R? I have
 absolutely no knowledge about DVDs...

 Thanks once again,
 Mrugesh

go to LG's hp and look for media-information (NEC users find this on the same 
site as the firmwares), and have a look for the recommended media, or try to 
get a test in a 'good' magazine, and look which medias caused the less 
trouble for LG.

One golden rule:
blank media that is cool with burner A, will give desastrous results with 
burner B ...
-- 
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Where is video in Gentoo? (/dev/XXX)

2005-04-22 Thread Mark Knecht
On 4/22/05, Nick Rout [EMAIL PROTECTED] wrote:
 On Fri, 2005-04-22 at 16:15 -0700, Mark Knecht wrote:

  Is that driver required before the /dev/v4l/XXX is created?
 
 yes, quite likely.
 
 Anyway, your logs/dmesg should show whats going on.

OK, with the firmware properly extracted and in place and then with
ivtv loaded I now get /dev/v4l entries:

[EMAIL PROTECTED] ~ $ ls -a /dev/v4l/*
/dev/v4l/radio0  /dev/v4l/video   /dev/v4l/video24
/dev/v4l/vbi0/dev/v4l/video0  /dev/v4l/video32
[EMAIL PROTECTED] ~ $

Thanks to you and Lucian for your help. Likely I'll be back before
it's over (uh - the lirc stuff isn't right yet) but I am moving
forward and that feels good!

cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Where is video in Gentoo? (/dev/XXX)

2005-04-22 Thread Mark Knecht
On 4/22/05, Christoph Gysin [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
 
 Nick,
you and Lucian seem to be on the same tack but I do not have a
 /dev/v4l directory:
 
 dragonfly ~ # ls -la /dev/v4*
 ls: /dev/v4*: No such file or directory
 dragonfly ~ #
 
 Video4Linux is compiled and I've got some device drivers loaded, but
 no v4l devices. One that has an interesting name anyway is
 /dev/vttuner, but no v4l.
 
I've been poking around for information but so far nothing makes
 much sense in terms of how to fix this.
 
 
 Are you using udev or devfs (or static devices) ?
 
 Christoph

hehe!! Remember who you're talking to here Christoph. I'm a guitar
player, not an IT guy! ;-)

Default stage 3 Gentoo install from the Universal Install CD - 2005.0
profile. The install was done about a week ago. I think it's udev but
I'm not even sure how I tell you that for sure.

Remember who you're talking to here! ;-) ;-)

thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] What is the recommended order of maintenance updates?

2005-04-22 Thread michael

On Fri, 22 Apr 2005, Eric S. Johansson wrote:
Dave Nebinger wrote:
Reboots only come in if I build a new kernel.  And it is often times 
easier
to manually restart the services that have been updated rather than
rebooting the box.
I also suggest rebooting after major library updates to make sure that all 
executables and daemons are referencing the current version.
Good point, Eric. Your point being that unless you stop and restart all
running daemons or other executables, you can't be sure that an updated 
library is really being used.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer compile error

2005-04-22 Thread H.J. Jung
On 4/22/05, Christoph Gysin [EMAIL PROTECTED] wrote:
H.J. Jung wrote: When I try to compile Mplayer 1.0pre7 I get following errors: Checking for cc version ... 3.3.5-20050130, bad Why can't it find gcc?It finds your gcc, but your gcc version is not supported by mplayer.
gentoo adds a patch to work around this patch. After unpacking thesource, can you see thoe following line?* Applying mplayer-gcc_detection.patch ...[ ok ]Christoph--echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 
[EMAIL PROTECTED]--gentoo-user@gentoo.org mailing listit's solved now
thx

Re: [gentoo-user] Where is video in Gentoo? (/dev/XXX)

2005-04-22 Thread Mark Knecht
On 4/22/05, Nick Rout [EMAIL PROTECTED] wrote:

 I haven't got udev on the system with v4l on it, still on devfs.
 
 I would take a good look at dmesg, it should show the device being found
 and the device name allocated, or else the kernel log file (which varies
 from system to system).
 
 But wait, theres more...
 
 Re-reading your original post, you refer to the PVR-250 card and to the
 bttv driver BUT! the bttv driver does not drive the PVR-250. You need
 the ivtv driver. (I am assuming you are referring to the Hauppauge
 PVR-250)

OK - I bypassed portage and built ivtv from source. It's now installed:

dragonfly ~ # lsmod
Module  Size  Used by
msp340027832  0
saa711512440  0
tuner  20516  0
tveeprom   11444  0
ivtv  816996  0
i2c_algo_bit9096  1 ivtv
i2c_core   18704  5 msp3400,saa7115,tuner,tveeprom,i2c_algo_bit
videodev7680  1 ivtv
ndiswrapper   109844  0
snd_pcm_oss49184  0

Still no /dev/v4l directory though.
 
 In fact, unless you also have a bt/conexant based card as well as the
 pvr-250, I cannot figure why bttv is loaded at all.

Well, it loaded because I told it to although if it's not the right
driver I would have thought it wouldn't have loaded at all!

There is certainly a lot more info in dmesg now that ivtv is loaded:

Linux video capture interface: v1.00
ivtv:  START INIT IVTV 
ivtv: version 0.2.0 (rc3j) loading
ivtv: Linux version: 2.6.11-gentoo-r6 preempt PENTIUM4 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 250 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt :01:02.0[A] - GSI 3 (level, low) - IRQ 3
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x2570 vendor: 0x8086
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 7913638
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x1000)
tveeprom: audio_processor = MSP3445 (type = 12)
ivtv: i2c attach [client=tveeprom[0],ok]
ivtv: Tuner Type 39, Tuner formats 0x1000, Radio: yes, Model
0x008d1612, Revision 0x
ivtv: NTSC tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[0],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
msp34xx: ivtv version
msp34xx: init: chip=MSP3445G-B8, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Apr 22 2005 16:22:28
ivtv: i2c attach [client=MSP3445G-B8,ok]
Unable to open '/lib/modules/ivtv-fw-enc.bin'.
ivtv: failed loading encoder firmware
ivtv: Error loading firmware -3!
ivtv: Error -3 initializing firmware.
ivtv: Error -12 on initialization
ivtv-iTVC15_16_mpg2_encoder_card: probe of :01:02.0 failed with error -12
ivtv:   END INIT IVTV  
dragonfly ~ #

Seems the firmware part is the issue with this part of the bring up. I
know the Wiki said something about downloading a windows driver and
extracting the firmware so I'll go work on that next.

I hope someone can figure out where /dev/v4l is! ;-)

Thanks much,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where is video in Gentoo? (/dev/XXX)

2005-04-22 Thread Lucien D.
Make sure the card is recognized in lspci, heres the output from mine

000:00:10.0 Multimedia video controller: Internext Compression Inc
iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 250
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at e800 (32-bit, prefetchable)
Capabilities: [44] Power Management version 2

I know there are some issues with different versions of the card, but
u'd have to google for them.

On 4/22/05, Nick Rout [EMAIL PROTECTED] wrote:
 On Fri, 2005-04-22 at 14:48 -0700, Mark Knecht wrote:
  Appears to be udev:
 
  [EMAIL PROTECTED] ~ $ ps aux | grep udev
  root  4698  0.0  0.0   1428   436 ?Ss  13:34   0:00 udevd
  mark 16051  0.0  0.0   1476   464 pts/0R+   14:47   0:00 grep udev
  [EMAIL PROTECTED] ~ $
 
 
 I haven't got udev on the system with v4l on it, still on devfs.
 
 I would take a good look at dmesg, it should show the device being found
 and the device name allocated, or else the kernel log file (which varies
 from system to system).
 
 But wait, theres more...
 
 Re-reading your original post, you refer to the PVR-250 card and to the
 bttv driver BUT! the bttv driver does not drive the PVR-250. You need
 the ivtv driver. (I am assuming you are referring to the Hauppauge
 PVR-250)
 
 In fact, unless you also have a bt/conexant based card as well as the
 pvr-250, I cannot figure why bttv is loaded at all.
 
 
  On 4/22/05, Mark Knecht [EMAIL PROTECTED] wrote:
   On 4/22/05, Christoph Gysin [EMAIL PROTECTED] wrote:
Mark Knecht wrote:
   
Nick,
   you and Lucian seem to be on the same tack but I do not have a
/dev/v4l directory:

dragonfly ~ # ls -la /dev/v4*
ls: /dev/v4*: No such file or directory
dragonfly ~ #

Video4Linux is compiled and I've got some device drivers loaded, but
no v4l devices. One that has an interesting name anyway is
/dev/vttuner, but no v4l.

 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer compile error

2005-04-22 Thread Christoph Gysin
H.J. Jung wrote:

 When I try to compile Mplayer 1.0pre7 I get following errors:

 Checking for cc version ... 3.3.5-20050130, bad

 Why can't it find gcc?


It finds your gcc, but your gcc version is not supported by mplayer.
gentoo adds a patch to work around this patch. After unpacking the
source, can you see thoe following line?

* Applying mplayer-gcc_detection.patch ...  
[ ok ]

Christoph

-- 
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where is video in Gentoo? (/dev/XXX)

2005-04-22 Thread Mark Knecht
On 4/22/05, Nick Rout [EMAIL PROTECTED] wrote:
 On Fri, 2005-04-22 at 14:48 -0700, Mark Knecht wrote:
  Appears to be udev:
 
  [EMAIL PROTECTED] ~ $ ps aux | grep udev
  root  4698  0.0  0.0   1428   436 ?Ss  13:34   0:00 udevd
  mark 16051  0.0  0.0   1476   464 pts/0R+   14:47   0:00 grep udev
  [EMAIL PROTECTED] ~ $
 
 
 I haven't got udev on the system with v4l on it, still on devfs.
 
 I would take a good look at dmesg, it should show the device being found
 and the device name allocated, or else the kernel log file (which varies
 from system to system).
 
 But wait, theres more...
 
 Re-reading your original post, you refer to the PVR-250 card and to the
 bttv driver BUT! the bttv driver does not drive the PVR-250. You need
 the ivtv driver. (I am assuming you are referring to the Hauppauge
 PVR-250)
 
 In fact, unless you also have a bt/conexant based card as well as the
 pvr-250, I cannot figure why bttv is loaded at all.
 

But isn't bttv required? MAybe I've misread somewhere.

As for ivtv yes, I've been trying to emerge ivtv all day long.
Something's wrong with the ebuild or the source code serverI guess. I
filed a quick bug report a couple of hours ago.

Is that driver required before the /dev/v4l/XXX is created?

Anyway, I'll continue to try to get that installed. Maybe I can drop
back to some older version. There's nothing unmasked and ~x86 doesn't
download.

Addressing Lucian's question here's my lspci info:

:01:02.0 Multimedia video controller: Internext Compression Inc
iTVC16 (CX23 416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 250
Flags: bus master, medium devsel, latency 32, IRQ 3
Memory at f000 (32-bit, prefetchable)
Capabilities: available only to root


Thanks much,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where is video in Gentoo? (/dev/XXX)

2005-04-22 Thread Lucien D.
no problem, its nice to be able to answer questions occasionally
instead of just asking them.

On 4/22/05, Mark Knecht [EMAIL PROTECTED] wrote:
 On 4/22/05, Nick Rout [EMAIL PROTECTED] wrote:
  On Fri, 2005-04-22 at 16:15 -0700, Mark Knecht wrote:
 
   Is that driver required before the /dev/v4l/XXX is created?
 
  yes, quite likely.
 
  Anyway, your logs/dmesg should show whats going on.
 
 OK, with the firmware properly extracted and in place and then with
 ivtv loaded I now get /dev/v4l entries:
 
 [EMAIL PROTECTED] ~ $ ls -a /dev/v4l/*
 /dev/v4l/radio0  /dev/v4l/video   /dev/v4l/video24
 /dev/v4l/vbi0/dev/v4l/video0  /dev/v4l/video32
 [EMAIL PROTECTED] ~ $
 
 Thanks to you and Lucian for your help. Likely I'll be back before
 it's over (uh - the lirc stuff isn't right yet) but I am moving
 forward and that feels good!
 
 cheers,
 Mark
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] memory used

2005-04-22 Thread George Roberts
I started using Linux again a couple of months ago.  After I installed
Mandrake /noticed that if my computer sat idle over night the memory
usage went up from 100 megs to 2-300 megs ( I have 1 gig of ram, so no
biggie).  I switched to Gentoo and have noticed the samething.  After
watching this since then I have noticed that when my system is under a
load, ie large updates and such the lost memory is reclaimed.  Normal
memory usage runs around 320 megs or so, after a large update 7
packages or more the memory used dropped down to 155 megs. 
My question is:  is this typical? 
It is not causeing any issues with my computer.  I just puzzles the snot
out of me why this is happening.
Thanks.
/
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] tray open ?

2005-04-22 Thread Paul Kain
I tried burning 2 cd's but I keep getting this error when trying to
copy the distfiles from the cd to /mnt/gentoo/usr/portage/distfiles

hdb: tray open 
end_request: I/O error, dev hdb, sector 478884
buffer I/O error on device hdb, logical block 119722



Now I know it cant be the hardware as I can install off my old 2004 cd

and it copies the 1st 2 files fine before repeating the above error

would anyone have any advice?

thanks in advance

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems with vchkpw

2005-04-22 Thread gentoo-user
I'm trying to setup a new mailserver with qmail and vpopmail.  I've
installed both, and have setup user accounts.  I'm running into
problems when trying to test the setup to make sure things are
working.

Running this command:
printf [EMAIL PROTECTED] | vchkpw `which id` 30
yields this result:
uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),2
0(dialout),26(tape),27(video)

I run the same command on a working server and get this:
uid=89(vpopmail) gid=89(vpopmail)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),2
0(dialout),26(tape),27(video),35(games)

I can't authenticate any users on the new server.  My best guess is
that the discrepancy between the two is the source of the problem.

Some extra information:
Both servers are running Gentoo Linux.  The server with the problem is
running kernel 2.6.10.  The working server is running kernel 2.4.26


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] installation automation scripts

2005-04-22 Thread Eric S. Johansson
Eric S. Johansson wrote:
if I haven't forgotten something...
famous last words...  I forgot a few things.  but this version puts you 
much closer to having a working system in 90 minutes or less.  All you 
need to do is:

boot off of life CD
mkdir /mnt/flash
mount /dev/sda1 /mnt/flash #(don't forget -t vfat if necessary)
edit /mnt/flash/gentoo/config  #(to meet your requirements)
bash /mnt/flash/gentoo/phase1.sh #( to start everything off)
when it comes time, menuconfig will come up and let you configure the 
kernel.

current problems are getting modules to automatically load and 
automatically setting the password.  I may just used to make the root 
password go away at login so you can get in without first putting single 
user mode but I'm not really comfortable with that for obvious reasons. 
on the module loading problem, I'm coming to the opinion that if you 
need a module at boot time, it should just be built into the kernel.  YKMV.

I think this will be the last posting of this code, eventually I will 
put up Web accessible page or two on these pieces and I will post a 
notice at that point.

---eric
--
http://www.wired.com/wired/archive/13.03/view.html?pg=5
The result of the duopoly that currently defines competition is that
prices and service suck. We're the world's leader in Internet
technology - except that we're not.
# config variables
HOST_NAME=rufus
DOMAIN_NAME=harvee.org
DRIVE=/dev/hda

# CPUTYPE=i686
CPUTYPE=pentium3

MKFS2=mke2fs
MKFS3=mke2fs -j
MKFSR=mkreiserfs -q
MKSWP=mkswap

PART_ROOT=3
DRIVE_ROOT=/dev/hda

# format of the filesystem list is:
# partition number:filesystem command
# create the entries in the order in which they will be created and
# mounted. 
PART_ORDER=(1 2 3)

# order of the elements in each entry:
# partition number: mount point: file system format command
PART_LIST[1]=3:/mnt/gentoo:${MKFSR}
PART_LIST[2]=1:/mnt/gentoo/boot:${MKFS3}
PART_LIST[3]=2::${MKSWP}

# proxy configurations to say to wear and tear gentoo servers
# replicated below in constructing make.conf

SYNC=rsync://192.168.25.11/gentoo-portage
http_proxy=http://192.168.25.11:8080
RESUMECOMMAND= /usr/bin/wget -t 5 --passive-ftp  \${URI} -O 
\${DISTDIR}/\${FILE}

# if ethernet module is not detected automatically, list module here
ETHERMODULE=

# DHCP usually requires nothing but if module is manually loaded.
# activate command here

DHCPCD_CMD=dhcpcd

#otherwise enter static IP information.  Note, DHCP takes priority
#over static information 
# static IP address
IP_ADDR=192.168.25.11
BROADCAST=192.168.25.0
NETMASK=255.255.255.0
GATEWAY=192.168.25.254
NAMESERVER=192.168.25.1

# PCMCIA??  Y to turn on  to turn off
PCMCIA=y

# bail if config only
if [ -z $1 ] ; then

# partitions
# describe your partitions here in sfdisk format


PARTITIONS=`mktemp `|| exit 1

cat  $PARTITIONS EOF
0,200,L
,1000,S
,,L
;
EOF

# your default make.conf
MAKE_CONF=`mktemp `|| exit 1
cat  $MAKE_CONF EOF
MAKEOPTS=-j3
AUTOCLEAN=yes
PORTDIR_OVERLAY=/usr/local/portage
USE=mmx sse alsa oss aim emacs fastcgi gphoto2 imap maildir mozilla pcmcia 
python usb gdbm pam png berkdb apache2 perl qt readline gif gtk gtk2 ldap mbox 
mcal ncurses ssl wxwindows zlib
SYNC=rsync://xeno/gentoo-portage
http_proxy=http://xeno:8080
RESUMECOMMAND= /usr/bin/wget -t 5 --passive-ftp  \${URI} -O \${DISTDIR}/\${FILE
}
EOF

# stage grub.conf and any other needed data

GRUB_CONF=`mktemp `|| exit 1
cat  $GRUB_CONF EOF
PCMCIA=${PCMCIA}
  
DRIVE_ROOT=${DRIVE_ROOT}
PART_ROOT=${PART_ROOT}

cat  /boot/grub/grub.conf PHASE2
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
#splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo \${KERNEL_VERSION}
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /\${KERNEL_VERSION} root=${DRIVE_ROOT}${PART_ROOT}
PHASE2
EOF

FSTAB=`mktemp `|| exit 1
cat  $FSTAB EOF
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 
20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# fs  mountpointtype  opts  
dump/pass

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda3   /   reiserfsnoatime 
0 0
/dev/hda1   /boot   ext3noatime 
1 1
/dev/hda2   noneswapsw  
0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,ro   
0 0
#/dev/fd0   /mnt/floppy 

Re: [gentoo-user] memory used

2005-04-22 Thread Robert G. Hays
Maybe someone else knows, but my guess, from the numbers I see at the 
top of the screen when running ::
   top
suggest that this is cached stuff, maybe from cron et al, or files or 
screensaver.

Somebody please enlighten us both!
rgh.
George Roberts wrote:
I started using Linux again a couple of months ago.  After I installed
Mandrake /noticed that if my computer sat idle over night the memory
usage went up from 100 megs to 2-300 megs ( I have 1 gig of ram, so no
biggie).  I switched to Gentoo and have noticed the samething.  After
watching this since then I have noticed that when my system is under a
load, ie large updates and such the lost memory is reclaimed.  Normal
memory usage runs around 320 megs or so, after a large update 7
packages or more the memory used dropped down to 155 megs. 
My question is:  is this typical? 
It is not causeing any issues with my computer.  I just puzzles the snot
out of me why this is happening.
Thanks.
/
 

--
gentoo-user@gentoo.org mailing list


[gentoo-user] Advice sought on M9000 epia myth-box setup

2005-04-22 Thread Nick Rout
I have a recently acquired M9000 epia box. I want to make a gentoo
mythtv box. I have set up myth before, but not on an epia box.

This machine has a Ezra C3 processor and castlerock graphics (lspci
and /proc/cpuinfo below). This page http://gentoo-wiki.com/Safe_Cflags
tells me I should use 

CHOST=i586-pc-linux-gnu
CFLAGS=-march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer

The gentoo install instructions also tell me that if I do a stage three
install I cannot change CHOST, so am I right in saying that I have a
choice of either doing a stage 1 install and getting i586 from scratch,
or else I do an i386 stage 2 or 3 and then I am stuck with i386? And
anyway what is the practical difference between i386 and i586 in terms
of performance? I haven't done a stage one install before, but I will if
there is going to be an appreciable difference in performance.

Secondly, I am aware of this Howto
http://www.epiawiki.org/wiki/tiki-index.php?page=EpiaHowto

However I am not sure how up to date it is, and seek advice as to
whether there is anything more up to date, particularly as I am aware of
VIA recently opening at least some of  their sources. Naturally I am
keen to get hardware mpeg-2 decoding working, as well as tv-out.

I intend to get a hauppauge pvr-250 or maybe a pvr-150 card for the
tuner, these cards have hardware mpeg-2 encoding, and with the onboard
mpeg-2 decoding I should be able to squeeze suffcient performance out of
it to do some basic hard disk recording, as well as play dvd's.

Any comments or hints are appreciated.


livecd root # lspci
:00:00.0 Host bridge: VIA Technologies, Inc. VT8623 [Apollo CLE266]
:00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266
AGP]
:00:0d.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
:00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
:00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
:00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235 AC97 Audio Controller (rev 50)
:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102
[Rhine-II] (rev 74)
:01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8623
[Apollo CLE266] integrated CastleRock graphics (rev 03

livecd root # cat /proc/cpuinfo
processor   : 0
vendor_id   : CentaurHauls
cpu family  : 6
model   : 8
model name  : VIA C3 Ezra
stepping: 9
cpu MHz : 933.098
cache size  : 64 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu de tsc msr cx8 mtrr pge mmx 3dnow
bogomips: 1839.10


-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] memory used

2005-04-22 Thread Phil Sexton
On Fri, 2005-04-22 at 17:34, George Roberts wrote:

 It is not causeing any issues with my computer.  I just puzzles the snot
 out of me why this is happening.
 Thanks.

Perhaps these will help enlighten you.

# Memory and swap information
cat /proc/meminfo
free
An article, Tips for Optimizing Linux Memory:
http://www.home.linuxjournal.com/article.php?sid=2770

-- 
Phil
Our 2nd CD: http://www.cdbaby.com/naomisfancy
Naomi's Fancy performances: http://naomisfancy.virtualave.net/schedule.html

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer compile error

2005-04-22 Thread George Roberts
H.J. Jung wrote:

 HI, all

 When I try to compile Mplayer 1.0pre7 I get following errors:

 Detected operating system: Linux
 Detected host architecture: i386
 Checking for cc version ... 3.3.5-20050130, bad
 Checking for gcc version ... 3.3.5-20050130, bad
 Checking for gcc-3.4 version ... not found
 Checking for gcc-3.3 version ... not found
 Checking for gcc-3.2 version ... not found
 Checking for gcc-3.1 version ... not found
 Checking for gcc3 version ... not found
 Checking for gcc-3.0 version ... not found
 Checking for cc version ... 3.3.5-20050130, bad

 *** Please downgrade/upgrade C compiler to version gcc-2.95.x or
 gcc-3.x! ***

 You are not using a supported compiler. We do not have the time to
 make sure
 everything works with compilers other than the ones we use.  Use
 either the
 same compiler as we do, or use --disable-gcc-checking but DO *NOT*
 REPORT BUGS
 unless you can reproduce them after recompiling with a 2.95.x or 3.x
 version!

 Note for gcc 2.96 users: Some versions of this compiler are known to
 miscompile
 mplayer and lame (which is used for mencoder).  If you get compile errors,
 first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
 If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE*
 reporting
 bugs!

 GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

 *** For details please read DOCS/HTML/en/users-vs-dev.html ***


 Error: Bad gcc version

 Check configure.log if you do not understand why it failed.


 Why can't it find gcc?

run gcc-conf ig -l to see which gcc you are using.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tweaking hdparm settings

2005-04-22 Thread Volker Armin Hemmann
On Friday 22 April 2005 22:06, James wrote:
 Hello,

 I've been noodling around with hdparm settings, and would like
 some input from persons with experience:

 After building a new (2.6.11-r6) gentoo sources kernel,
 I rebooted and issued  'hdparm /dev/hda' on my portable:

  multcount= 16 (on)
  IO_support   =  0 (default 16-bit)
  unmaskirq=  0 (off)
  using_dma=  1 (on)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  geometry = 16383/255/63, sectors = 60011642880, start = 0

 some things did not look right, like the unmaskirq and readahead and
 keepsettings.

 So I issued 'hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda'
 I cobbled this command string from the Gentoo Handbook mostly.

 and got this output:
 /dev/hda:
  setting fs readahead to 64
  setting multcount to 16
  setting unmaskirq to 1 (on)
  setting using_dma to 1 (on)
  setting drive read-lookahead to 1 (on)
  multcount= 16 (on)
  unmaskirq=  1 (on)
  using_dma=  1 (on)
  readahead= 64 (on)

 Which does not exact list the same params as 'hdparm /dev/hda'.
 Furthermore, maybe my HD can handle 256 on the readahead settings?

AFAIK, the readahead setting is a kernel-default thingie - nothing to fiddle 
with. And nothing that is dependent on harddisk hardware (instead of 
multicount). Instead, you should have used -c1 to activatte 32 bit io.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: tweaking USE settings

2005-04-22 Thread Nick Rout
On Fri, 2005-04-22 at 12:30 +, James wrote:
  /u/p/p/default.linux/x86/2005.0
 
 you mean:
 /usr/portage/profiles/default-linux/x86/2005.0
 
 default.linux thru me for a few seconds until a search
 show default-linux...


err yeah sorry bout that!

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Adding support for Microsoft fonts in Open Office

2005-04-22 Thread Devraj Mukherjee
If the fonts used are from a standard font defintion they will suffice. 
But if they are Microsoft centric fonts then you might have a problem.

Devraj
Hareesh Nagarajan wrote:
Hi,
Every time I download a Microsoft Powerpoint file off the web and open
it in OpenOffice Impress the fonts in the presentation's are awry. How
do I make OpenOffice use Microsoft fonts to fix this problem?
Would emerging the media-fonts/corefonts package suffice? Or would I
additionally need to change some configuration files?
Thanks,
Hareesh

--
Devraj Mukherjee ([EMAIL PROTECTED])
Eternity Technologies Pty. Ltd. ACN 107 600 975
P O Box 5949 Wagga Wagga NSW 2650 Australia
Voice: +61-2-69717131 / Fax: +61-2-69251039
http://www.eternitytechnologies.com/
--
gentoo-user@gentoo.org mailing list


[gentoo-user] problem with gentoo 2005 bootstrapping

2005-04-22 Thread moonspollo
Hi all:
this problem will appeare every time when bootstrapping. 
who can help me? thank you !



Fsck could not correct all errors, manual repair needed 
..

mounting loacl filesystem... mount: mount point /proc/bus/usb does not exist some local filesystem failed to mount 



this problem causecron and usbcan not work

moonspollo
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!