[gentoo-user] Deleted /var/lib/portage/config

2006-09-01 Thread David Grant

I accidentally deleted /var/lib (I meant to delete /var/lib/mysql).
The only damage seems to be the deletion of /var/lib/portage/config
and /var/lib/portage/mysql

I'm not worried about world, I can easiliy fix that over time by
running emerge -p --depclean and adding world entries. There are
probably only about 10 packages anyways because this is a mythtv box.

But what is config all about? On my other machine it looks like the
file contains a bunch of hashes for config files in /etc/. Are these
used to quickly see if a file in /etc/ is different or does it just do
a diff?

--
David Grant
http://www.davidgrant.ca
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT - WiFi cards for laptop

2006-09-01 Thread Mick
Anyone?

On Wednesday 30 August 2006 16:11, Mick wrote:
> Hi All,
>
> I am about to splash out on a WiFi card for my laptop and I have foudn the
> whole choice experience daunting.  I would ideally like to be able to also
> use this card on the laptop as a wireless access point when I am at home.
>
> Would something like the belkin device below do the trick:
>
> http://catalog.belkin.com/IWCatProductPage.process?Product_Id=203586
>
> What's your experiences with 802.11g+, turbo, MIMO, N, N+ and who knows
> what other proprietary garbage all these hardware manufacturers are ready
> to launch for their M$windoze users?

-- 
Regards,
Mick


pgp8ny4sEEbCS.pgp
Description: PGP signature


[gentoo-user] hotplug in runlevel?

2006-09-01 Thread Jorge Almeida

Should hotplug be removed from the boot runlevel?

The emerge warning "WARNING: The hotplug init script is now gone (dead
and buried)." doesn't make it clear.

--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [gentoo-user-es] vim y utf8

2006-09-01 Thread Arnau Bria
> > Buenas,
> 
> Buenas !!
> 
> > hoy me he dado cuenta que no puedo escribir acentos en vim...
> > 
> > lo raro es que tengo un montón de archivos donde si he podido, y no
> > se que diablos he podido cambiar para este nuevo comportamiento...
> > 
> > Seguí la guía de utf8 al pie de la letra, y me funcionaba todo ok,
> > la máquina lleva 45 días up, así que lo único que he hecho son
> > updates...
> > 
> > alguna pista de por donde puedo empezar a mirar?
> 
> Si puedes pegar el resultado de ejecutar 'locale', mejor que mejor.
 $ locale
LANG=
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=es_ES.UTF-8

> Si estás intentando escribir acentos en otra consola que no sea la
> número 1 es posible que no funcione (aunque ejecutes consolefont y
> keymaps en boot), ya que debe haber algún fallo. Comprueba si puedes
> escribir acentos en la consola número 1.
No, no puedo. de todos modos, la conosola virtuales no las utilizo
mucho, me refería más al konsole... vaya, es un dato importante que no
dije...
 
> Si quieres escribir acentos en cualquier otra, vete a ella y ejecuta
> allí:
> /etc/init.d/keymaps restart

* Loading key mappings ...
loadkeys: warning: this map uses Unicode symbols
(perhaps you want to do `kbd_mode -u'?) 
 [ ok ]
 * Setting terminal encoding to ASCII ...   
 [ ok ]
 * Setting user font ...
putfont: PIO_FONT: Argumento inválido   
 [ ok ]

muy limpia no es esta salida...

> como root, con lo que en esa podrás también escribir acentos. De otra
> forma no podrás, únicamente en la primera (tty1).
> 
> Comprueba que tienes vim compilado con a USE flag "nls", con lo que
> permites la internacionalización de vim.

eso no lo tenía! a ver tras recompilar que pasa (ahora estoy con un -e
system que acabo de subir el gcc)

> Asimismo sin tener la salida de locale comprueba que tienes en
> /etc/env.d/02locale las entradas correctas referentes a tu
> codificación (en mi caso):
> 
> LC_ALL="es_ES.UTF-8"
> LANGUAGE="es_ES.UTF-8"
> LANG="es_ES.UTF-8"
eso está bien.

> Si no existía y lo has creado, ejecuta 'env-update'. Reinicia.
> 
> Es lo único que se me ocurre sin tener ningún dato sobre tu problema.

ya, pero es que no se como describirlo ya que antes funcionaba todo ok,
y "sin tocar nada" ha dejado de funcionar... 
 
> Un saludo,
> Rafael Fernández López.
Gracias!
en cuanto recompile vim updateo esto! 


-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Trying to active the irda into my laptop

2006-09-01 Thread d2clon
Hi people:

I'm trying to turn on the irda on my laptop but I don't know how to know
which chipset it is, I think I need to know this to know which module I
need to compile in the kernel.

The command 'lspci'[1] does not show me any thing that looks like an
irda. Looking for 'irda' into 'dmesg' neither find any thing.

I have enable the infra-red into bios.

I tryed to follow the tutorial like:
http://gentoo-wiki.com/HOWTO_mobile_phone_connected_with_IrDA

But when I try to turn on the irda I have an error:
# /etc/init.d/irda start
 * Starting IrDA ...
Failed to open device /dev/ttyS2: No such device or address

Maybe I don't active the correct kernel module but I don't know whic one
it es.

I tryed to active all the modules kernel into:
/lib/modules/2.6.15-gentoo-r1/kernel/net/irda/ [2]

Not the /etc/init.d/irda start

Not the irdadump

Not cat /proc/net/irda/irlap

Shows to me some thing.

Any suggestion? Thx.
d2clon


[1]---
# lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O
Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP
Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface
Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE
Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
AC'97 Modem Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf
[FireGL 9000] (rev 02)
02:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705
Gigabit Ethernet (rev 01)
02:04.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B
Mini PCI Adapter (rev 04)
02:06.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0
CardBus/SmartCardBus Controller
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21
IEEE-1394a-2000 Controller (PHY/Link)

[2]--
#  ls -l /lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/
total 228
-rw-r--r-- 1 root root 18630 Aug 23 12:07 ali-ircc.ko
-rw-r--r-- 1 root root 15052 Aug 23 12:07 donauboe.ko
-rw-r--r-- 1 root root 16132 Aug 23 12:07 irda-usb.ko
-rw-r--r-- 1 root root  9150 Aug 23 12:07 irtty-sir.ko
-rw-r--r-- 1 root root 22099 Aug 23 12:07 nsc-ircc.ko
-rw-r--r-- 1 root root 20311 Aug 23 12:07 sir-dev.ko
-rw-r--r-- 1 root root 24739 Aug 23 12:07 smsc-ircc2.ko
-rw-r--r-- 1 root root 15677 Aug 23 12:07 stir4200.ko
-rw-r--r-- 1 root root 28551 Aug 23 12:07 via-ircc.ko
-rw-r--r-- 1 root root 32156 Aug 23 12:07 vlsi_ir.ko
-rw-r--r-- 1 root root 14490 Aug 23 12:07 w83977af_ir.ko
biit ~ # modprobe ali-ircc
FATAL: Error inserting ali_ircc
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/ali-ircc.ko): No
such device
biit ~ # modprobe donauboe
biit ~ # modprobe irda-usb
biit ~ # modprobe irtty-sir
biit ~ # modprobe nsc-ircc
biit ~ # modprobe sir-dev
biit ~ # modprobe smsc-ircc2
FATAL: Error inserting smsc_ircc2
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko):
No such device
biit ~ # modprobe stir4200
biit ~ # modprobe via-ircc
biit ~ # modprobe vlsi_ir
biit ~ # modprobe w83977af_ir
FATAL: Error inserting w83977af_ir
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/w83977af_ir.ko):
No such device



biit ~ # lsmod
Module  Size  Used by
vlsi_ir25480  0
via_ircc   25108  0
nsc_ircc   16444  0
irtty_sir   6784  0
sir_dev15564  1 irtty_sir
irda_usb   12036  0
donauboe   12032  0
ircomm_tty 22920  0
ircomm 12676  1 ircomm_tty
stir4200   12420  0
irda  123064  9
vlsi_ir,via_ircc,nsc_ircc,sir_dev,irda_usb,donauboe,ircomm_tty,ircomm,stir4200
crc_ccitt   2816  3 vlsi_ir,donauboe,irda
ieee80211_crypt_wep 5248  1
ipw2100   136932  0
ieee80211  46696  1 ipw2100
ieee80211_crypt 6016  2 ieee80211_crypt_wep,ieee80211
snd_intel8x0   30876  2
snd_ac97_codec 94496  1 snd_intel8x0
snd_ac97_bus2944  1 snd_ac97_codec


-- 
http://www.flickr.com/photos/d2clon/
http://enamsterdam.blogspot.com/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [gentoo-user-es] vim y utf8

2006-09-01 Thread Arnau Bria
Uops!

This should be in spanish list!

sorry! no coffe yet!

Cheers!


On Fri, 1 Sep 2006 09:23:28 +0200
Arnau Bria wrote:

> > > Buenas,
> > 
> > Buenas !!
> > 
> > > hoy me he dado cuenta que no puedo escribir acentos en vim...
> > > 
> > > lo raro es que tengo un montón de archivos donde si he podido, y
[...]

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] another upgrading to gcc 4.x issue

2006-09-01 Thread Stefan G. Weichinger
Andrew Gaydenko wrote:
> During 'emerge -e system' I have got emerge errors for two
> packages (sys-libs/db and sys-libs/pam). At both cases an
> error is something like this:
> 
> ...
> checking for a BSD-compatible install... /bin/install -c
> checking for i686-pc-linux-gnu-cc... i686-pc-linux-gnu-cc
> checking for C compiler default output file name... configure: error: C 
> compiler cannot create executables
> See `config.log' for more details.
> ...
> 
> 
> All other 120 packages were emerged without problems.
> Where to dig in?

Turn off CCACHE in your make.conf. This often helps here when I get this
msg. After merging this particular package you can turn it on again and
resume merging.

Stefan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trying to active the irda into my laptop

2006-09-01 Thread Alan McKinnon
On Friday 01 September 2006 09:39, d2clon wrote:
> 'm trying to turn on the irda on my laptop but I don't know
> how to know which chipset it is, I think I need to know this
> to know which module I need to compile in the kernel.

findchip - installed by irda-utils

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



[gentoo-user] Dash as /bin/sh?

2006-09-01 Thread Alexander Skwar
Hi!

The Ubuntu folks report on https://wiki.ubuntu.com/DashAsBinSh, that
bootup and also ./configure runs are *WAY* faster if "dash" is used
as /bin/sh instead of bash.

Did anyone try this out on Gentoo? Are the boot scripts from Gentoo
strictly POSIX compliant?

Bye,

Alexander Skwar
-- 
Vini, vidi, Linux!
-- Unknown source


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trying to active the irda into my laptop

2006-09-01 Thread d2clon
Alan McKinnon wrote:
> On Friday 01 September 2006 09:39, d2clon wrote:
>> 'm trying to turn on the irda on my laptop but I don't know
>> how to know which chipset it is, I think I need to know this
>> to know which module I need to compile in the kernel.
> 
> findchip - installed by irda-utils
> 

biit ~ # findchip
biit ~ # findchip -d
Probing for FDC37C669 ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37C669FR ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37N869 ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37C93xFR ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37N957FR ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37N958FR ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for PC87108 ...
no chip at 0x150
no chip at 0x398
no chip at 0x0ea
Probing for PC87338 ...
no chip at 0x398
no chip at 0x15c
Wrong chip id=0x00
Probing for EFER at 0x03f0 ...
hefras = 0xff
Probing for EFER at 0x0370 ...
hefras = 0xff
EFER seems to be probed at 0x0370
chip id = 0xff, revision = 0xff
Wrong device ID = 0xff
Probing for EFER at 0x0250 ...
hefras = 0xff
Probing for EFER at 0x0250 ...
hefras = 0xff
Probing for EFER at 0x03f0 ...
hefras = 0xff
hefere = 0xff
Probing for EFER at 0x03f0 ...
hefras = 0xff
hefere = 0xff
EFER seems to be probed at 0x03f0
chip ID is 0x0f : no known chip was detected.
Couldn't find Winbond superI/O chip.


:/ .. Its possible any damage on my irda chip?, The findchip doesn't
find any thing¡

I can not be sure if the irda chip is allright I never see it on.

Thanks.

d2clon

-- 
http://www.flickr.com/photos/d2clon/
http://enamsterdam.blogspot.com/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ELOG doesn't seem to be logging much

2006-09-01 Thread Neil Bothwick
On Fri, 1 Sep 2006 03:11:22 +0200, Nico wrote:

> PORT_LOGDIR=/var/log/portage
> PORTAGE_ELOG_CLASSES="warn error log"
> PORTAGE_ELOG_SYSTEM="save"

The messages are saved to $PORT_LOGDIR/elog, have you checked there?


-- 
Neil Bothwick

An unemployed Court Jester is nobody's fool.


signature.asc
Description: PGP signature


Re: [gentoo-user] Dash as /bin/sh?

2006-09-01 Thread asl . pavel

But "/bin/sh" just link to "/bin/bash"

On Fri, Sep 01, 2006 at 10:45:44AM +0200, Alexander Skwar wrote:
> Hi!
> 
> The Ubuntu folks report on https://wiki.ubuntu.com/DashAsBinSh, that
> bootup and also ./configure runs are *WAY* faster if "dash" is used
> as /bin/sh instead of bash.
> 
> Did anyone try this out on Gentoo? Are the boot scripts from Gentoo
> strictly POSIX compliant?
> 
> Bye,
> 
> Alexander Skwar
> -- 
> Vini, vidi, Linux!
> -- Unknown source
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
 Aslanov Pavel 01.09.06
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] another upgrading to gcc 4.x issue

2006-09-01 Thread Andrew Gaydenko
Stefan,

It seems, you are a magician :-) - it helped at both cases, thanks!

=== On Friday 01 September 2006 12:28, Stefan G. Weichinger wrote: ===
Andrew Gaydenko wrote:
> During 'emerge -e system' I have got emerge errors for two
> packages (sys-libs/db and sys-libs/pam). At both cases an
> error is something like this:
> 
> ...
> checking for a BSD-compatible install... /bin/install -c
> checking for i686-pc-linux-gnu-cc... i686-pc-linux-gnu-cc
> checking for C compiler default output file name... configure: error: C 
> compiler cannot create executables
> See `config.log' for more details.
> ...
> 
> 
> All other 120 packages were emerged without problems.
> Where to dig in?

Turn off CCACHE in your make.conf. This often helps here when I get this
msg. After merging this particular package you can turn it on again and
resume merging.

Stefan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo failed to start

2006-09-01 Thread Richard Fish

On 8/31/06, Stephen Liu <[EMAIL PROTECTED]> wrote:

Grub started but ending at;
root (hd0,0)
Filesystem type is ext2fs  Partition type 0x83
kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7 root=/dev/hda2
Error 15:File not found.
Press any key to contiue


Normally there is a symlink from /boot/boot -> /boot, so that you can
use a /boot path even with a separate filesystem.  However, I think it
is better to use the actual paths of the files,

So try specifying the paths without the /boot/ part.  So your boot
entry would look like:

title Gentoo linux 2.6.17.-r7
  kernel (hd0,0)/kernel-2.6.17-gentoo-r7 root=/dev/hda2


Restarted PC and entered chroot environment again.  Found
/usr/src/linux file missing.  It should be symbolic-linked to -->
linux-2.6.17-gentoo-r7


/usr/src/linux should be a symlink to a kernel _source_ tree, not a
compiled kernel.  So probably more like /usr/src/linux ->
/usr/src/linux-2.6.17-gentoo-r7.  This has nothing to do with booting
however.


Would it be the result of previously running;
# grep -v rootfs /proc/mounts > /etc/fstab


Um, yeah.

-Richard

PS: please stop top-posting.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Deleted /var/lib/portage/config

2006-09-01 Thread Erik

David Grant wrote:

But what is config all about? On my other machine it looks like the
file contains a bunch of hashes for config files in /etc/. Are these
used to quickly see if a file in /etc/ is different or does it just do
a diff?


It looks like the numbers I get when running "md5sum ", at 
least for files that I have not modified or deleted. "man portage" 
mentions files that portage uses, but not /var/lib/portage/config. It is 
either because the file is not meant to be edited by the administrator 
or a documentation bug.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: glibc completed screwed my system

2006-09-01 Thread David Grant

A very small step in the right direction...I unzipped the quickpkg I
made into the /mnt/gentoo and now I am able to chroot in there. If I
try to re-emerge glibc-2.3.6 though it complains that "downgrading" is
a sure way to destruction. I'm pretty sure it would be safe for me to
downgrade because I didn't really do much of anything after installing
2.4 so I'm not sure what the problem would be.  The problem is that it
still think 2.4 is installed.

Ah, here we go. emerge -C =glibc-2.4* worked fully this time (it
didn't work fully before, which I forgot to mention). Now it will let
me re-emerge =glibc-2.3* overtop of the quickpkg that I unpacked. I am
also not compiling with nptlonly (which came in to my profile through
2006.1), so it is now emerging with the exact same use flags that it
was before (and the same as what the quickpkg is made from). So
hopefully everything will be cool and I will be able to reboot into
this machine (I couldn't even boot into it after this b0rking
happend).

Dave

On 9/1/06, David Grant <[EMAIL PROTECTED]> wrote:

Here's what I did:

I have sticking with gcc-3.x for now... I wanted to upgraded glibc to
2.4. I upgraded it and at the end of the emerge I got this error
similar to this one, mine involved libresolv:

http://forums.gentoo.org/viewtopic-t-443051-postdays-0-postorder-asc-highlight-libresolv+glibc-start-0.html

I then did emerge -C =glibc-2.4-r4 to remove glibc-2.4 completely and
leave 2.3. Now my whole system is b0rked. I can't even chroot in
because it can't run /bin/sh or /bin/bash on the new system. Basically
all binaries are screwed on the new system.

I do have a quickpkg of glibc2.3 but I'm not sure what good that will do.

If anyone can help me I'm desperate to save this system and not have
to reinstall.

--
David Grant
http://www.davidgrant.ca




--
David Grant
http://www.davidgrant.ca
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Deleted /var/lib/portage/config

2006-09-01 Thread David Grant

I noticed that my /var/lib/portage/config file is not getting
populated with new entries anymore, although it did get created by
some program. Very strange...

David

On 9/1/06, Erik <[EMAIL PROTECTED]> wrote:

David Grant wrote:
> But what is config all about? On my other machine it looks like the
> file contains a bunch of hashes for config files in /etc/. Are these
> used to quickly see if a file in /etc/ is different or does it just do
> a diff?

It looks like the numbers I get when running "md5sum ", at
least for files that I have not modified or deleted. "man portage"
mentions files that portage uses, but not /var/lib/portage/config. It is
either because the file is not meant to be edited by the administrator
or a documentation bug.
--
gentoo-user@gentoo.org mailing list





--
David Grant
http://www.davidgrant.ca
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dash as /bin/sh?

2006-09-01 Thread Erik

Alexander Skwar wrote:

The Ubuntu folks report on https://wiki.ubuntu.com/DashAsBinSh, that
bootup and also ./configure runs are *WAY* faster if "dash" is used
as /bin/sh instead of bash.

Did anyone try this out on Gentoo? Are the boot scripts from Gentoo
strictly POSIX compliant?


I tried "time configure" in gnuplot several times for each shell and 
took the fastest time.


shell real   user  sys
  bash   0m11.924s  0m6.848s  0m2.980s
  dash   0m11.822s  0m6.888s  0m2.816s
static dash   0m11.977s  0m6.804s  0m3.064s

dash would be 0,9% faster, which is not statistically significant when 
measuring like this.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] AVI fixer

2006-09-01 Thread rob
Is there a program that will fix multiable AVI files at once. 

My problem is I have some AVI's that have timming problems some players stop 
the AVI's in the middle of the streem. Because the streem time shows lower 
that it is. Other programs play the streem all the way.

Hope someone can help
rob
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] 2006.1 profile access rights

2006-09-01 Thread Mick
I changed to the new profile, but I cannot understand why the access rights 
are different from previous ones:

# ls -la /usr/portage/profiles/default-linux/x86/
total 36
drwxr-xr-x 10 portage portage 4096 Sep  1 10:36 .
drwxr-xr-x 15 portage portage 4096 Aug 18 18:06 ..
drwxr-xr-x  3 portage portage   68 Sep  1 10:36 2005.1
drwxr-xr-x  2 portage portage   54 Aug  9 21:36 2006.0
drwxr-xr-x  4 rootroot  81 Aug 30 20:36 2006.1


Would anyone know?
-- 
Regards,
Mick


pgpibTcJ7Rag8.pgp
Description: PGP signature


Re: [gentoo-user] Re: [gentoo-user-es] vim y utf8

2006-09-01 Thread info
On Fri, Sep 01, 2006 at 09:23:28AM +0200, Arnau Bria wrote:
> > > Buenas,
> > 
> > Buenas !!
> > 
> > > hoy me he dado cuenta que no puedo escribir acentos en vim...
> > > 
> > > lo raro es que tengo un montón de archivos donde si he podido, y no
> > > se que diablos he podido cambiar para este nuevo comportamiento...
> > > 
> > > Seguí la guía de utf8 al pie de la letra, y me funcionaba todo ok,
> > > la máquina lleva 45 días up, así que lo único que he hecho son
> > > updates...
> > > 
> > > alguna pista de por donde puedo empezar a mirar?
> > 
> > Si puedes pegar el resultado de ejecutar 'locale', mejor que mejor.
>  $ locale
> LANG=
> LC_CTYPE="es_ES.UTF-8"
> LC_NUMERIC="es_ES.UTF-8"
> LC_TIME="es_ES.UTF-8"
> LC_COLLATE="es_ES.UTF-8"
> LC_MONETARY="es_ES.UTF-8"
> LC_MESSAGES="es_ES.UTF-8"
> LC_PAPER="es_ES.UTF-8"
> LC_NAME="es_ES.UTF-8"
> LC_ADDRESS="es_ES.UTF-8"
> LC_TELEPHONE="es_ES.UTF-8"
> LC_MEASUREMENT="es_ES.UTF-8"
> LC_IDENTIFICATION="es_ES.UTF-8"
> LC_ALL=es_ES.UTF-8
> 
> > Si estás intentando escribir acentos en otra consola que no sea la
> > número 1 es posible que no funcione (aunque ejecutes consolefont y
> > keymaps en boot), ya que debe haber algún fallo. Comprueba si puedes
> > escribir acentos en la consola número 1.
> No, no puedo. de todos modos, la conosola virtuales no las utilizo
> mucho, me refería más al konsole... vaya, es un dato importante que no
> dije...
>  
> > Si quieres escribir acentos en cualquier otra, vete a ella y ejecuta
> > allí:
> > /etc/init.d/keymaps restart
> 

Aquí está tu problema, deberás de tener algo así para codificación UTF-8:

/etc/conf.d/keymaps

KEYMAP="-u es euro2"
SET_WINDOWKEYS="yes"
DUMPKEYS_CHARSET="iso-8859-15"

/etc/conf.d/consolefont

CONSOLEFONT="lat9-16"
CONSOLETRANSLATION="8859-15_to_uni"

/etc/rc.conf

UNICODE="yes"
# y todo lo que tengas debajo...

Espero haberte sido de ayuda,
Rafael Fernández López.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dash as /bin/sh?

2006-09-01 Thread Neil Bothwick
On Fri, 01 Sep 2006 10:45:44 +0200, Alexander Skwar wrote:

> The Ubuntu folks report on https://wiki.ubuntu.com/DashAsBinSh, that
> bootup and also ./configure runs are *WAY* faster if "dash" is used
> as /bin/sh instead of bash.

I've just tried it on my 1GHz iBook and boot time dropped from 74s to
60s. That's timed from selecting a bootloader option to the root prompt
appearing, less the time taken to type in my luks/dm-crypt passphrase.

Most of the saving came in the early part of the boot process, the part
before the password prompt (which comes from bootmisc AFAIK). It looked
like the udev stuff happened quicker, but I can't quantify that.

Anyway, a 20% reduction in boot time is nice, wherever it happens. Thanks
for the pointer.

> Did anyone try this out on Gentoo? Are the boot scripts from Gentoo
> strictly POSIX compliant?

I saw no errors, so they are certainly WFM compliant :)


-- 
Neil Bothwick

I'm Bugs Bunny of Borg.  What's up Collective?


signature.asc
Description: PGP signature


Re: [gentoo-user] hotplug in runlevel?

2006-09-01 Thread Jorge Almeida

On Fri, 1 Sep 2006, Richard Fish wrote:


On 9/1/06, Jorge Almeida <[EMAIL PROTECTED]> wrote:

 Should hotplug be removed from the boot runlevel?


Considering that the script is now (nearly) empty and useless, it
doesn't really matter.  It just clutters up your boot messages, you
are are free to keep it if you want :-P


Well, this is how the warning should be:
* WARNING: The hotplug init script is now gone (dead but not yet buried).
To deep-six it, remove it from your runlevels with rc-update.
;-)

Thanks.

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



Re: [gentoo-user] Re: [gentoo-user-es] vim y utf8

2006-09-01 Thread Arnau Bria
I must apology for sending this spanish mail to English list

I'm going to translate Rafel's answer for other people.

El Fri, 1 Sep 2006 13:02:57 +0200
[EMAIL PROTECTED] [EMAIL PROTECTED] dijo:

> 
> Aquí está tu problema, deberás de tener algo así para codificación UTF-8:
Here's youur problem, you shouyld have sometjing like this pot ut8
codification:
 
> /etc/conf.d/keymaps
> 
> KEYMAP="-u es euro2"
> SET_WINDOWKEYS="yes"
> DUMPKEYS_CHARSET="iso-8859-15"
> 
> /etc/conf.d/consolefont
> 
> CONSOLEFONT="lat9-16"
> CONSOLETRANSLATION="8859-15_to_uni"
> 
> /etc/rc.conf
> 
> UNICODE="yes"
> # y todo lo que tengas debajo...
> 
> Espero haberte sido de ayuda,
HTH
> Rafael Fernández López.


Thanks for you reply Rafael,
gonna test it.

Cheers!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Genkernel doesn't work when module loadable support is disabled

2006-09-01 Thread Xavier MOGHRABI
Dear all,

I'm trying to generate a kernel without module. So I've disabled "Enable 
loadable module support" option with genkernel.

Genkernel compiles well the bzimage but fails after with the message "ERROR: 
Failed to compile the "modules" target..." (look hereunder log).

Do you know how can I generate my kernel w/o module support using Genkernel ?

-- 
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: [EMAIL PROTECTED] - Phone: +33 4 76 61 52 35


* >> Compiling 2.6.17-gentoo-r7 bzImage...
* >> Compiling 2.6.17-gentoo-r7 modules...
* ERROR: Failed to compile the "modules" target...

* -- Grepping log... --

  SCSI media changer support (CHR_DEV_SCH) [N/m/y/?] n
  *
  * Some SCSI devices (e.g. CD jukebox) support multiple LUNs
  *
  Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [Y/n/?] y
  Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
--
*
* InfiniBand support
*
InfiniBand support (INFINIBAND) [N/m/y/?] n
*
* EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
*
EDAC core system error reporting (EXPERIMENTAL) (EDAC) [N/m/y/?] n
--
  CC  fs/read_write.o
  CC  fs/file_table.o
  CC  fs/buffer.o
  CC  fs/bio.o
fs/bio.c: In function 'bio_alloc_bioset':
fs/bio.c:169: warning: 'idx' may be used uninitialized in this function
--
  CC  fs/splice.o
  CC  fs/sync.o
  CC  fs/inotify.o
  CC  fs/eventpoll.o
fs/eventpoll.c: In function 'sys_epoll_create':
fs/eventpoll.c:500: warning: 'fd' may be used uninitialized in this function
--
  CC  fs/sysfs/bin.o
  CC  fs/sysfs/group.o
  LD  fs/sysfs/built-in.o
  CC  fs/udf/balloc.o
fs/udf/balloc.c: In function 'udf_table_new_block':
fs/udf/balloc.c:751: warning: 'goal_eloc.logicalBlockNum' may be used 
uninitialized in this function
--
  CC  fs/udf/lowlevel.o
  CC  fs/udf/namei.o
  CC  fs/udf/partition.o
  CC  fs/udf/super.o
fs/udf/super.c: In function 'udf_fill_super':
fs/udf/super.c:1358: warning: 'ino.partitionReferenceNum' may be used 
uninitialized in this function
--
  CC  ipc/compat.o
  CC  ipc/util.o
  CC  ipc/msgutil.o
  CC  ipc/msg.o
ipc/msg.c: In function 'sys_msgctl':
ipc/msg.c:338: warning: 'setbuf.qbytes' may be used uninitialized in this 
function
ipc/msg.c:338: warning: 'setbuf.uid' may be used uninitialized in this 
function
ipc/msg.c:338: warning: 'setbuf.gid' may be used uninitialized in this 
function
ipc/msg.c:338: warning: 'setbuf.mode' may be used uninitialized in this 
function
  CC  ipc/sem.o
ipc/sem.c: In function 'sys_semctl':
ipc/sem.c:810: warning: 'setbuf.uid' may be used uninitialized in this 
function
ipc/sem.c:810: warning: 'setbuf.gid' may be used uninitialized in this 
function
ipc/sem.c:810: warning: 'setbuf.mode' may be used uninitialized in this 
function
--
  CC  drivers/md/dm-target.o
  CC  drivers/md/dm-linear.o
  CC  drivers/md/dm-stripe.o
  CC  drivers/md/dm-ioctl.o
drivers/md/dm-ioctl.c: In function 'ctl_ioctl':
drivers/md/dm-ioctl.c:1388: warning: 'param' may be used uninitialized in this 
function
--
  LD  drivers/usb/mon/usbmon.o
  LD  drivers/usb/mon/built-in.o
  CC  drivers/usb/net/catc.o
  CC  drivers/usb/net/kaweth.o
drivers/usb/net/kaweth.c: In function 'kaweth_control':
drivers/usb/net/kaweth.c:1212: warning: 'length' may be used uninitialized in 
this function
--
  CC  lib/zlib_inflate/inffast.o
  CC  lib/zlib_inflate/inflate.o
  CC  lib/zlib_inflate/inflate_sync.o
  CC  lib/zlib_inflate/inftrees.o
lib/zlib_inflate/inftrees.c: In function 'huft_build':
lib/zlib_inflate/inftrees.c:121: warning: 'r.base' may be used uninitialized 
in this function
--
  CC  arch/x86_64/boot/compressed/misc.o
  OBJCOPY arch/x86_64/boot/compressed/vmlinux.bin
  GZIParch/x86_64/boot/compressed/vmlinux.bin.gz
  LD  arch/x86_64/boot/compressed/piggy.o
  LD  arch/x86_64/boot/compressed/vmlinux
ld: warning: i386:x86-64 architecture of input file 
`arch/x86_64/boot/compressed/head.o' is incompatible with i386 output
--

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make: *** [modules] Error 1
* Gentoo Linux Genkernel; Version 3.4.0
* Running with options: all

* ERROR: Failed to compile the "modules" target...

* -- End log... --
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Genkernel doesn't work when module loadable support is disabled

2006-09-01 Thread Alan McKinnon
On Friday 01 September 2006 15:29, Xavier MOGHRABI wrote:
> Dear all,
>
> I'm trying to generate a kernel without module. So I've
> disabled "Enable loadable module support" option with
> genkernel.
>
> Genkernel compiles well the bzimage but fails after with the
> message "ERROR: Failed to compile the "modules" target..."
> (look hereunder log).
>
> Do you know how can I generate my kernel w/o module support
> using Genkernel ?

You don't.

The entire point of genkernel is to make it easy for newbies to 
compile a kernel, complete with all needed modules, lvm & raid 
support if needed, maybe a splash and an initramfs. I suppose 
you *could* use the correct options to genkernel to do it, but 
if you are creating a monolithic kernel then you must know what 
you are doing, so what you want is:

cd /usr/src/linux
make menuconfig && make
copy kernel, System.map, .config and whatever else you like to 
keep to /boot; edit grub.conf
reboot

Using genkernel for this is overkill, much like a bulldozer is 
overkill for digging one hole to plant a rosebush :-)


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



Re: [gentoo-user] Dash as /bin/sh?

2006-09-01 Thread Neil Bothwick
On Fri, 1 Sep 2006 12:03:35 +0100, Neil Bothwick wrote:

> I saw no errors, so they are certainly WFM compliant :)

Or not. The boot process worked fine, but some scripts started failing
once the desktop was working. The first, somewhat appropriately, was
sux. It works from a VC but errors out in an xterm with

exec: 1: -l: not found

I tried ash, only a few K larger than dash. This gave the same speed
improvement and the same errors :(


-- 
Neil Bothwick

A good pun is its own reword.


signature.asc
Description: PGP signature


[gentoo-user] Re: Dash as /bin/sh?

2006-09-01 Thread Harm Geerts
On Friday 01 September 2006 16:05, Neil Bothwick wrote:
> On Fri, 1 Sep 2006 12:03:35 +0100, Neil Bothwick wrote:
> > I saw no errors, so they are certainly WFM compliant :)
>
> Or not. The boot process worked fine, but some scripts started failing
> once the desktop was working. The first, somewhat appropriately, was
> sux. It works from a VC but errors out in an xterm with
>
> exec: 1: -l: not found
>
> I tried ash, only a few K larger than dash. This gave the same speed
> improvement and the same errors :(

You can force sux to use bash.
Just replace the first line in /usr/bin/sux with "#!/bin/bash" 

You'd have to do the same for all scripts that depend on bash functionality.

Speaking of which, you probably should see the shell used in the scripts from 
the sys-apps/baselayout package. All shell scripts use /bin/bash and 
not /bin/sh.

So linking (d)ash as the default shell doesn't nearly have the impact you'd 
like it to have.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Genkernel doesn't work when module loadable support is disabled

2006-09-01 Thread Mike Williams
On Friday 01 September 2006 14:29, Xavier MOGHRABI wrote:
> I'm trying to generate a kernel without module. So I've disabled "Enable
> loadable module support" option with genkernel.
>
> Genkernel compiles well the bzimage but fails after with the message
> "ERROR: Failed to compile the "modules" target..." (look hereunder log).
>
> Do you know how can I generate my kernel w/o module support using Genkernel
> ?

> The present kernel configuration has modules disabled.
> Type 'make config' and enable loadable module support.
> Then build a kernel with module support enabled.

I'm not sure where that error comes from, but it sounds like you do need to 
heed it.
If you *want* a kernel without modules, then enable module loading and make 
sure all the drivers you need are compiled in.
If you *need* to not have module loading, then I'd imagine you have no choice 
but to compile it manually.

p.s. Do you *need* an initrd/initramfs? With no modules I doubt you do, so try 
genkernel with kernel instead of all.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Dash as /bin/sh?

2006-09-01 Thread Neil Bothwick
On Fri, 1 Sep 2006 16:33:01 +0200, Harm Geerts wrote:

> You can force sux to use bash.
> Just replace the first line in /usr/bin/sux with "#!/bin/bash" 

That was the first thing I tried, it made no difference. A quick look at
sux shows it building a command to pas to exec that used $SHELL,. This is
probably where it's switching back to /bin/sh, but I'm not prepared to
spend much time looking for it to save 14 seconds.

> Speaking of which, you probably should see the shell used in the
> scripts from the sys-apps/baselayout package. All shell scripts
> use /bin/bash and not /bin/sh.
> 
> So linking (d)ash as the default shell doesn't nearly have the impact
> you'd like it to have.

A 20% reduction in boot time is a reasonable impact IMO.


-- 
Neil Bothwick

... "I dropped my toothpaste," Tom said, Crestfallen.


signature.asc
Description: PGP signature


[gentoo-user] Audio CD support

2006-09-01 Thread sdoma
Hi,

Does somebody know how I can get XMMS to play audio CSs? "Play audio CD"
simply cleans the playlist and doesn't do anything else.

In Preferences->Audio CD the Audio CD directory is set to /mnt/cdrom (We
don't mount audio CDs - do we?) My cdrom drive is on /dev/hdc but I
can't browse to this node. Should I set it by editing ~/.xmms/config?

Is there a USE flag I'll have to set - I didn't find anything apropriate
in use.desc.

Thanks for any help
Frank


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread sdoma
Hi,

I got some MP3 files which seem not to be properly coded. The
Interpret/Title information is missing for some, other show very ugly
time information in XMMS ( -234567:21, 893767:13 i.e.) but the
frame/duration in the MP3 info is correct.

Are there any tools (preferred command line) to decode the MP3 (get a
raw audio file, wav or something similar) and in turn to code the MP3
with the proper information?

Will I depend on some use flags (encode?).

Thanks for any hint
Frank


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo failed to start

2006-09-01 Thread Stephen Liu
Hi Richard,

Further to my late posting, after mounting
# mount /dev/hda2 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot

Ran
# ls -l /mnt/gentoo/boot
boot -> .
grub
lost+found
# ls -l /mnt/gentoo/boot/boot
boot -> .
grub
lost+found
# ls -l /mnt/gentoo/boot/boot/boot
boot -> .
grub
lost+found
# ls -l /mnt/gentoo/boot/boot/boot/boot
boot -> .
grub
lost+found

It looks to me quite funny.  It seems continue endlessly.  boot was
symlink to "."

There was no kernel nor bzimage there.

B.R.
SL


--- Stephen Liu <[EMAIL PROTECTED]> wrote:

> Hi Richard,
> 
> < snip >
> 
> > So try specifying the paths without the /boot/ part.  So your boot
> > entry would look like:
> > 
> > title Gentoo linux 2.6.17.-r7
> >kernel (hd0,0)/kernel-2.6.17-gentoo-r7 root=/dev/hda2
> 
> Tried;
> kernel (hd0,0)/kernel-2.6.17-gentoo-r7 root=/dev/hda2
> and
> kernel /kernel-2.6.17-gentoo-r7 root=/dev/hda2
> 
> Still the same "file not found"
> 
> 
> kernel version was previously found by running;
> # ls -l /usr/src/linux
>  /usr/sru/linux -> linux-2.6.17-gentoo-r7
> 
> Others noted with tks.
> 
> 
> > PS: please stop top-posting.
> 
> Sorry I don't follow.  Please advise.  This is webmail direct from
> Yahoo site.  I checked the mail option and could not find any
> top-posting option there.
> 
> B.R.
> SL
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread Hemmann, Volker Armin
On Friday 01 September 2006 17:47, sdoma wrote:
> Hi,
>
> I got some MP3 files which seem not to be properly coded. The
> Interpret/Title information is missing for some, other show very ugly
> time information in XMMS ( -234567:21, 893767:13 i.e.) but the
> frame/duration in the MP3 info is correct.
>
> Are there any tools (preferred command line) to decode the MP3 (get a
> raw audio file, wav or something similar) and in turn to code the MP3
> with the proper information?

even if there are tools - don't do it.

The artist/title info is in the id4 tags - you can edit them with lots of 
tools, even inside most players. No need to recode them.

And recoding: mp3 is a lossy format. If you turn them into wavs you have not 
only wavs based on reduced information, you remove the stuff that makes mp3 
sound 'better' than they are. If you encode them again, you are removing more 
information.

So after such a circle the sound quality would be worse. A lot worse. Hardly 
bearable worse.

Just say no to recoding.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Audio CD support

2006-09-01 Thread Daniel Waeber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You won't need to mount the cd, but make sure the user who plays the cd
is in the cdrom group.

If this simple suggestion does not help, try to start xmms in a terminal
and look what it has to say. Post the output here if you can't find the
problem.

- --wabu

sdoma wrote:
> Hi,
> 
> Does somebody know how I can get XMMS to play audio CSs? "Play audio CD"
> simply cleans the playlist and doesn't do anything else.
> 
> In Preferences->Audio CD the Audio CD directory is set to /mnt/cdrom (We
> don't mount audio CDs - do we?) My cdrom drive is on /dev/hdc but I
> can't browse to this node. Should I set it by editing ~/.xmms/config?
> 
> Is there a USE flag I'll have to set - I didn't find anything apropriate
> in use.desc.
> 
> Thanks for any help
> Frank
> 
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+FyhBbWbHb9PeLsRAikRAJ4+wlD6muZyeFBpvwV9Dg4hfoUQGACeLinW
EKCoG78B/ul7PZdcoXamQoY=
=fZCx
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Audio CD support

2006-09-01 Thread Jeff Grant
Hey Frank.

Make sure you have:

*  media-plugins/xmms-cdaudio
  Latest version available: 1.2.10-r1
  Latest version installed: [ Not Installed ]
  Size of files: 2,916 kB
  Homepage:  http://www.xmms.org
  Description:   Xmms Plugin: xmms-cdaudio
  License:   GPL-2

I know this used to mess me up when I was still using XMMS.

-Jeff

sdoma wrote:
> Hi,
> 
> Does somebody know how I can get XMMS to play audio CSs? "Play audio CD"
> simply cleans the playlist and doesn't do anything else.
> 
> In Preferences->Audio CD the Audio CD directory is set to /mnt/cdrom (We
> don't mount audio CDs - do we?) My cdrom drive is on /dev/hdc but I
> can't browse to this node. Should I set it by editing ~/.xmms/config?
> 
> Is there a USE flag I'll have to set - I didn't find anything apropriate
> in use.desc.
> 
> Thanks for any help
> Frank
> 
> 
begin:vcard
fn:Jeff Grant
n:Grant;Jeff
org:VoiceSignal;Information Technology
adr:;;150 Presidential Way;Woburn;MA;01801;USA
email;internet:[EMAIL PROTECTED]
title:Linux System Administrator
tel;work:(781)970-5209
tel;fax:(781)970-5200
tel;cell:(978)407-9512
x-mozilla-html:FALSE
url:http://www.voicesignal.com/
version:2.1
end:vcard



Re: [gentoo-user] ELOG doesn't seem to be logging much

2006-09-01 Thread Nico
The messages are saved to $PORT_LOGDIR/elog, have you checked there?--
Neil BothwickYep, that's what I mean : I don't have many information in those files, and less files than before : some warning messages that I can see during the compilation are not stored like before in this directory, I must checked the full log in $PORT_LOGDIR to see those warning.



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread sdoma
On Fri, 2006-09-01 at 18:12 +0200, Hemmann, Volker Armin wrote:
> On Friday 01 September 2006 17:47, sdoma wrote:
> > Hi,
> >
> > I got some MP3 files which seem not to be properly coded. The
> > Interpret/Title information is missing for some, other show very ugly
> > time information in XMMS ( -234567:21, 893767:13 i.e.) but the
> > frame/duration in the MP3 info is correct.
> >
> > Are there any tools (preferred command line) to decode the MP3 (get a
> > raw audio file, wav or something similar) and in turn to code the MP3
> > with the proper information?
> 
> even if there are tools - don't do it.
> 
> The artist/title info is in the id4 tags - you can edit them with lots of 
> tools, even inside most players. No need to recode them.
> 
> And recoding: mp3 is a lossy format. If you turn them into wavs you have not 
> only wavs based on reduced information, you remove the stuff that makes mp3 
> sound 'better' than they are. If you encode them again, you are removing more 
> information.
> 
> So after such a circle the sound quality would be worse. A lot worse. Hardly 
> bearable worse.
> 
> Just say no to recoding.

Thanks for the hint.I've wodered about too if I can live with the
quality loss. I cann say that only if I try.
Well, I've tried to edit the ID4 within XMMS. I can edit this but
without changing the file. Saying this : I edit the tag, save it and
nothing changes.
Could you point me to some of the "lots of tools" you mentioned?
... and what about the time information? It is silly to have a 3 minute
song with shows as days long and even negative duration :( (well, this
could be an ``unsigned int'' issue.

Thanks
Frank


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Audio CD support

2006-09-01 Thread sdoma
... right [ Not Installed ] for me too.

Thanks ;)

On Fri, 2006-09-01 at 12:17 -0400, Jeff Grant wrote:
> Hey Frank.
> 
> Make sure you have:
> 
> *  media-plugins/xmms-cdaudio
>   Latest version available: 1.2.10-r1
>   Latest version installed: [ Not Installed ]
>   Size of files: 2,916 kB
>   Homepage:  http://www.xmms.org
>   Description:   Xmms Plugin: xmms-cdaudio
>   License:   GPL-2
> 
> I know this used to mess me up when I was still using XMMS.
> 
> -Jeff
> 
> sdoma wrote:
> > Hi,
> > 
> > Does somebody know how I can get XMMS to play audio CSs? "Play audio CD"
> > simply cleans the playlist and doesn't do anything else.
> > 
> > In Preferences->Audio CD the Audio CD directory is set to /mnt/cdrom (We
> > don't mount audio CDs - do we?) My cdrom drive is on /dev/hdc but I
> > can't browse to this node. Should I set it by editing ~/.xmms/config?
> > 
> > Is there a USE flag I'll have to set - I didn't find anything apropriate
> > in use.desc.
> > 
> > Thanks for any help
> > Frank
> > 
> > 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Audio CD support

2006-09-01 Thread Jeff Grant
Make sure you log out/log back in after adding yourself to any group.

-Jeff

sdoma wrote:
> I've installed it now and added me to the cdrom group.
> Still nothing ... )
> 
> BTW:
> I don't see the plugin amongst the installed plugins within XMMS. The
> manual doesn't say so much about this.
> Does this matter? ... and if yes ... how do I add the plugin to the
> known ones?
> 
> Thnx
> Frank
> 
> On Fri, 2006-09-01 at 18:24 +0200, sdoma wrote:
>> ... right [ Not Installed ] for me too.
>>
>> Thanks ;)
>>
>> On Fri, 2006-09-01 at 12:17 -0400, Jeff Grant wrote:
>>> Hey Frank.
>>>
>>> Make sure you have:
>>>
>>> *  media-plugins/xmms-cdaudio
>>>   Latest version available: 1.2.10-r1
>>>   Latest version installed: [ Not Installed ]
>>>   Size of files: 2,916 kB
>>>   Homepage:  http://www.xmms.org
>>>   Description:   Xmms Plugin: xmms-cdaudio
>>>   License:   GPL-2
>>>
>>> I know this used to mess me up when I was still using XMMS.
>>>
>>> -Jeff
>>>
>>> sdoma wrote:
 Hi,

 Does somebody know how I can get XMMS to play audio CSs? "Play audio CD"
 simply cleans the playlist and doesn't do anything else.

 In Preferences->Audio CD the Audio CD directory is set to /mnt/cdrom (We
 don't mount audio CDs - do we?) My cdrom drive is on /dev/hdc but I
 can't browse to this node. Should I set it by editing ~/.xmms/config?

 Is there a USE flag I'll have to set - I didn't find anything apropriate
 in use.desc.

 Thanks for any help
 Frank


> 
begin:vcard
fn:Jeff Grant
n:Grant;Jeff
org:VoiceSignal;Information Technology
adr:;;150 Presidential Way;Woburn;MA;01801;USA
email;internet:[EMAIL PROTECTED]
title:Linux System Administrator
tel;work:(781)970-5209
tel;fax:(781)970-5200
tel;cell:(978)407-9512
x-mozilla-html:FALSE
url:http://www.voicesignal.com/
version:2.1
end:vcard



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread Hemmann, Volker Armin
On Friday 01 September 2006 18:21, sdoma wrote:
> On Fri, 2006-09-01 at 18:12 +0200, Hemmann, Volker Armin wrote:
> > On Friday 01 September 2006 17:47, sdoma wrote:
> > > Hi,
> > >
> > > I got some MP3 files which seem not to be properly coded. The
> > > Interpret/Title information is missing for some, other show very ugly
> > > time information in XMMS ( -234567:21, 893767:13 i.e.) but the
> > > frame/duration in the MP3 info is correct.
> > >
> > > Are there any tools (preferred command line) to decode the MP3 (get a
> > > raw audio file, wav or something similar) and in turn to code the MP3
> > > with the proper information?
> >
> > even if there are tools - don't do it.
> >
> > The artist/title info is in the id4 tags - you can edit them with lots of
> > tools, even inside most players. No need to recode them.
> >
> > And recoding: mp3 is a lossy format. If you turn them into wavs you have
> > not only wavs based on reduced information, you remove the stuff that
> > makes mp3 sound 'better' than they are. If you encode them again, you are
> > removing more information.
> >
> > So after such a circle the sound quality would be worse. A lot worse.
> > Hardly bearable worse.
> >
> > Just say no to recoding.
>
> Thanks for the hint.I've wodered about too if I can live with the
> quality loss. I cann say that only if I try.
> Well, I've tried to edit the ID4 within XMMS. I can edit this but
> without changing the file. Saying this : I edit the tag, save it and
> nothing changes.
> Could you point me to some of the "lots of tools" you mentioned?

media-sound/audiotag
  Latest version available: 0.15
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 14 kB
  Homepage:http://www.tempestgames.com/ryan/
  Description: A command-line audio file meta-data tagger. Sets id3 and/or 
vorbis tags in mp3, ogg, and flac files.
  License: GPL-2

*  media-sound/cantus
  Latest version available: 20060206
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 400 kB
  Homepage:http://www.debain.org/software/cantus/
  Description: Easy to use tool for tagging and renaming MP3 and 
OGG/Vorbis
files
  License: GPL-2

*  media-sound/choad
  Latest version available: 0.822
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 7 kB
  Homepage:http://ftso.org/choad/index1.html
  Description: a command-line, Perl-based 
CD-ripping-ID3-tagging-and-mp3-encoding utility
  License: Artistic

*  media-sound/cowbell
  Latest version available: 0.2.7.1
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 1,309 kB
  Homepage:http://more-cowbell.org
  Description: Elegantly tag and rename mp3/ogg/flac files
  License: GPL-2

*  media-sound/easytag
  Latest version available: 1.99.12
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 3,905 kB
  Homepage:http://easytag.sourceforge.net/
  Description: EasyTAG mp3/ogg ID3 tag editor
  License: GPL-2

*  media-sound/id3
  Latest version available: 0.12-r1
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 12 kB
  Homepage:http://lly.org/~rcw/abcde/page/
  Description: changes the id3 tag in an mp3 file

  media-sound/id3ed
  Latest version available: 1.10.4
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 92 kB
  Homepage:http://www.dakotacom.net/~donut/programs/id3ed.html
  Description: ID3 tag editor for mp3 files
  License: GPL-2

*  media-sound/id3tool
  Latest version available: 1.2
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 112 kB
  Homepage:http://nekohako.xware.cx/id3tool/
  Description: A command line utility for easy manipulation of the ID3 
tags present in MPEG Layer 3 audio files
  License: GPL-2

*  media-sound/id3v2
  Latest version available: 0.1.11
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 153 kB
  Homepage:http://id3v2.sourceforge.net/
  Description: A command line editor for id3v2 tags.
  License: GPL-2

 media-sound/kid3
  Latest version available: 0.6
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 2,529 kB
  Homepage:http://kid3.sourceforge.net/
  Description: A simple ID3 tag editor for QT/KDE.
  License: GPL-2

*  media-sound/madman [ Masked ]
  Latest version available: 0.93
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 1,606 kB
  Homepage:http://madman.sourceforge.net/
  Description: MP3 organizer/ID3 tag-editor extraordinaire
  License: GPL-2

*  media-sound/mp3info
  Latest version available: 0.8.4-r2
  Latest version installed: [ Not Installed ]
  Size

[gentoo-user] Bugday Reminder

2006-09-01 Thread Bjarke Istrup Pedersen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey everyone :-)

Saturday (that would be tomorrow), it's bugday again, and we would like
to see you in #gentoo-bugs on irc.freenode.net :-)
We hope to see as many people as possible, and to get as many bugs as
possible fixed :-)

Bjarke AKA GurliGebis
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+FROO+Ewtpi9rLERAsvlAJ95eT/Z8tRhKoQapMG8s15BsashjgCg2nyP
kLQW63t2SVznIwsvxX8Jm1k=
=Z04/
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AVI fixer

2006-09-01 Thread Martins Steinbergs
On Friday 01 September 2006 13:43, rob wrote:
> Is there a program that will fix multiable AVI files at once.
>
> My problem is I have some AVI's that have timming problems some players
> stop the AVI's in the middle of the streem. Because the streem time shows
> lower that it is. Other programs play the streem all the way.
>
> Hope someone can help
> rob

try copy streams to new file, like this

mencoder -ovc copy -oac copy source.avi -o out.avi

transcode and ffmpeg are your friends too


martins
-- 
Linux 2.6.17-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
 20:38:01 up  9:51,  4 users,  load average: 0.60, 0.45, 0.21
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread Uwe Thiem
On 01 September 2006 16:47, sdoma wrote:
> Hi,
>
> I got some MP3 files which seem not to be properly coded. The
> Interpret/Title information is missing for some, other show very ugly
> time information in XMMS ( -234567:21, 893767:13 i.e.) but the
> frame/duration in the MP3 info is correct.
>
> Are there any tools (preferred command line) to decode the MP3 (get a
> raw audio file, wav or something similar) and in turn to code the MP3
> with the proper information?

lame

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread sdoma
On Fri, 2006-09-01 at 18:58 +0200, Hemmann, Volker Armin wrote:
> > Could you point me to some of the "lots of tools" you mentioned?
> 
> media-sound/audiotag
>   Latest version available: 0.15
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 14 kB
>   Homepage:http://www.tempestgames.com/ryan/
>   Description: A command-line audio file meta-data tagger. Sets id3 
> and/or 
> vorbis tags in mp3, ogg, and flac files.
>   License: GPL-2
> 
> *  media-sound/cantus
>   Latest version available: 20060206
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 400 kB
>   Homepage:http://www.debain.org/software/cantus/
>   Description: Easy to use tool for tagging and renaming MP3 and 
> OGG/Vorbis
> files
>   License: GPL-2
> 
> *  media-sound/choad
>   Latest version available: 0.822
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 7 kB
>   Homepage:http://ftso.org/choad/index1.html
>   Description: a command-line, Perl-based 
> CD-ripping-ID3-tagging-and-mp3-encoding utility
>   License: Artistic
> 
> *  media-sound/cowbell
>   Latest version available: 0.2.7.1
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 1,309 kB
>   Homepage:http://more-cowbell.org
>   Description: Elegantly tag and rename mp3/ogg/flac files
>   License: GPL-2
> 
> *  media-sound/easytag
>   Latest version available: 1.99.12
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 3,905 kB
>   Homepage:http://easytag.sourceforge.net/
>   Description: EasyTAG mp3/ogg ID3 tag editor
>   License: GPL-2
> 
> *  media-sound/id3
>   Latest version available: 0.12-r1
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 12 kB
>   Homepage:http://lly.org/~rcw/abcde/page/
>   Description: changes the id3 tag in an mp3 file
> 
>   media-sound/id3ed
>   Latest version available: 1.10.4
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 92 kB
>   Homepage:http://www.dakotacom.net/~donut/programs/id3ed.html
>   Description: ID3 tag editor for mp3 files
>   License: GPL-2
> 
> *  media-sound/id3tool
>   Latest version available: 1.2
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 112 kB
>   Homepage:http://nekohako.xware.cx/id3tool/
>   Description: A command line utility for easy manipulation of the ID3 
> tags present in MPEG Layer 3 audio files
>   License: GPL-2
> 
> *  media-sound/id3v2
>   Latest version available: 0.1.11
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 153 kB
>   Homepage:http://id3v2.sourceforge.net/
>   Description: A command line editor for id3v2 tags.
>   License: GPL-2
> 
>  media-sound/kid3
>   Latest version available: 0.6
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 2,529 kB
>   Homepage:http://kid3.sourceforge.net/
>   Description: A simple ID3 tag editor for QT/KDE.
>   License: GPL-2
> 
> *  media-sound/madman [ Masked ]
>   Latest version available: 0.93
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 1,606 kB
>   Homepage:http://madman.sourceforge.net/
>   Description: MP3 organizer/ID3 tag-editor extraordinaire
>   License: GPL-2
> 
> *  media-sound/mp3info
>   Latest version available: 0.8.4-r2
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 37 kB
>   Homepage:http://ibiblio.org/mp3info/
>   Description: An MP3 technical info viewer and ID3 1.x tag editor
>   License: GPL-2
> 
> *  media-sound/musicman
>   Latest version available: 0.15
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 1,423 kB
>   Homepage:http://musicman.sourceforge.net/
>   Description: A Konqueror plugin for manipulating ID3 tags in MP3 files
>   License: GPL-2
> 
> 
> > ... and what about the time information? It is silly to have a 3 minute
> > song with shows as days long and even negative duration :( (well, this
> > could be an ``unsigned int'' issue.
> 
> I don't know how to fix it. But is it really so important? Do you watch the 
> timing information while listening to the song?

Thanks a lot for the info. Well, the timing (indeed) isn't that
important. Just to know; if I have say 600MB of MP3 is this 8 hours, 10
hours, a day? Maybe amongst the tools you mentioned is one which enables
me to get this info out of a playlist.

Thanks onesmore
Frank


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread Martins Steinbergs
On Friday 01 September 2006 19:58, Hemmann, Volker Armin wrote:
> On Friday 01 September 2006 18:21, sdoma wrote:
> > On Fri, 2006-09-01 at 18:12 +0200, Hemmann, Volker Armin wrote:
> > > On Friday 01 September 2006 17:47, sdoma wrote:
> > > > Hi,
> > > >
> > > > I got some MP3 files which seem not to be properly coded. The
> > > > Interpret/Title information is missing for some, other show very ugly
> > > > time information in XMMS ( -234567:21, 893767:13 i.e.) but the
> > > > frame/duration in the MP3 info is correct.
> > > >
> > > > Are there any tools (preferred command line) to decode the MP3 (get a
> > > > raw audio file, wav or something similar) and in turn to code the MP3
> > > > with the proper information?
> > >
> > > even if there are tools - don't do it.
> > >
> > > The artist/title info is in the id4 tags - you can edit them with lots
> > > of tools, even inside most players. No need to recode them.
> > >
> > > And recoding: mp3 is a lossy format. If you turn them into wavs you
> > > have not only wavs based on reduced information, you remove the stuff
> > > that makes mp3 sound 'better' than they are. If you encode them again,
> > > you are removing more information.
> > >
> > > So after such a circle the sound quality would be worse. A lot worse.
> > > Hardly bearable worse.
> > >
> > > Just say no to recoding.
> >
> > Thanks for the hint.I've wodered about too if I can live with the
> > quality loss. I cann say that only if I try.
> > Well, I've tried to edit the ID4 within XMMS. I can edit this but
> > without changing the file. Saying this : I edit the tag, save it and
> > nothing changes.
> > Could you point me to some of the "lots of tools" you mentioned?
>

>
> > ... and what about the time information? It is silly to have a 3 minute
> > song with shows as days long and even negative duration :( (well, this
> > could be an ``unsigned int'' issue.
>
> I don't know how to fix it. But is it really so important? Do you watch the
> timing information while listening to the song?

to fix timing there is script Mp3Fixer for amarok

Mp3Fixer (v0.9.4)
About:
Mp3Fixer is a script for repairing MP3 files which display a bogus track 
length or bitrate in your audio player. 
For example, if you have a track that you know is really five minutes long, 
but amaroK shows the length as one hour, then this script is for you. 
Mp3Fixer calculates the real track length and adds the missing XING header to 
the file. Additionally, Mp3Fixer is capable of repairing broken MPEG header 
frames. 


see also in portage:

media-sound/mpck
Checks MP3s for errors

media-sound/vbrfixc
Vbrfix fixes MP3s and re-constructs VBR headers



-- 
Linux 2.6.17-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
 20:53:00 up 10:06,  6 users,  load average: 1.23, 0.76, 0.45
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Genkernel doesn't work when module loadable support is disabled

2006-09-01 Thread Richard Fish

On 9/1/06, Alan McKinnon <[EMAIL PROTECTED]> wrote:

On Friday 01 September 2006 15:29, Xavier MOGHRABI wrote:
> Do you know how can I generate my kernel w/o module support
> using Genkernel ?

You don't.

The entire point of genkernel is to make it easy for newbies to
compile a kernel, complete with all needed modules, lvm & raid
support if needed, maybe a splash and an initramfs.


Right.

Although if you did still want to use genkernel to get an initramfs
and a nice splash screen, the correct way is:

genkernel bzImage initrd

It might also be useful for you to read genkernel --help.

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



Re: [gentoo-user] Audio CD support

2006-09-01 Thread sdoma
On Fri, 2006-09-01 at 12:49 -0400, Jeff Grant wrote:
> Make sure you log out/log back in after adding yourself to any group.
> 
> -Jeff
> 
This was not sufficient. I had to change the permissions of /mnt/cdrom
(belonged to root:root - changet this to root:cdrom; was accessible with
drwx-- - changed to drwxrwx---)
Now I get a playlist but I have no sound. XMMS plays the tracks but
there isn't anything to hear.
I've unmuted even AUX (means everything) in alsamixer ... XMMS plays in
stealth mode.

:


> sdoma wrote:
> > I've installed it now and added me to the cdrom group.
> > Still nothing ... )
> > 
> > BTW:
> > I don't see the plugin amongst the installed plugins within XMMS. The
> > manual doesn't say so much about this.
> > Does this matter? ... and if yes ... how do I add the plugin to the
> > known ones?
> > 
> > Thnx
> > Frank
> > 
> > On Fri, 2006-09-01 at 18:24 +0200, sdoma wrote:
> >> ... right [ Not Installed ] for me too.
> >>
> >> Thanks ;)
> >>
> >> On Fri, 2006-09-01 at 12:17 -0400, Jeff Grant wrote:
> >>> Hey Frank.
> >>>
> >>> Make sure you have:
> >>>
> >>> *  media-plugins/xmms-cdaudio
> >>>   Latest version available: 1.2.10-r1
> >>>   Latest version installed: [ Not Installed ]
> >>>   Size of files: 2,916 kB
> >>>   Homepage:  http://www.xmms.org
> >>>   Description:   Xmms Plugin: xmms-cdaudio
> >>>   License:   GPL-2
> >>>
> >>> I know this used to mess me up when I was still using XMMS.
> >>>
> >>> -Jeff
> >>>
> >>> sdoma wrote:
>  Hi,
> 
>  Does somebody know how I can get XMMS to play audio CSs? "Play audio CD"
>  simply cleans the playlist and doesn't do anything else.
> 
>  In Preferences->Audio CD the Audio CD directory is set to /mnt/cdrom (We
>  don't mount audio CDs - do we?) My cdrom drive is on /dev/hdc but I
>  can't browse to this node. Should I set it by editing ~/.xmms/config?
> 
>  Is there a USE flag I'll have to set - I didn't find anything apropriate
>  in use.desc.
> 
>  Thanks for any help
>  Frank
> 
> 
> > 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread Richard Fish

On 9/1/06, Hemmann, Volker Armin <[EMAIL PROTECTED]> wrote:

And recoding: mp3 is a lossy format. If you turn them into wavs you have not
only wavs based on reduced information, you remove the stuff that makes mp3
sound 'better' than they are. If you encode them again, you are removing more
information.


Minor technical correction: wav formats are not even compressed, much
less lossy.  So converting from an mp3 to a wav (which is really just
PCM audio with a header attached) is very much like playing the mp3
through your speakers.  There should be no difference between playing
a wav generated from the mp3 and playing the mp3 itself.

But the point of what you said is correct...the wav file will not have
the same quality as the original recording that the mp3 was generated
from, and an mp3 generated from it will have even lower quality.
Although I suspect that most people couldn't tell the difference
between a 1st gen and 3rd gen mp3 if the bitrate is high enough.  When
I download stuff from iTunes, record it to CD, and then rip to ogg, I
certainly can't tell any difference between the 3 versions.

To answer the OP, I've used sox in the past to convert between
formats.  It can also apply lots of other transformations (noise
filters, volume normalization, tempo adjustments, etc) to the files.

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



Re: [gentoo-user] hotplug in runlevel?

2006-09-01 Thread Richard Fish

On 9/1/06, Anthony E. Caudel <[EMAIL PROTECTED]> wrote:


Can hotplug then be unmerged?


This is Gentoo.  You can do anything you want. ;-)

But it probably isn't a good idea, as the hotplug scripts are still
used for...wellvarious things.  For example, setting the
permissions on USB scanners when they are plugged in.

However, there is starting to become quite a bit of overlap (and
occasional conflicts) between udev and hotplug, so I expect that
eventually most of the hotplug functionality will just get absorbed
into udev.

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



Re: [gentoo-user] Audio CD support

2006-09-01 Thread Neil Bothwick
On Fri, 01 Sep 2006 12:49:19 -0400, Jeff Grant wrote:

> Make sure you log out/log back in after adding yourself to any group.

Or use newgrp.

PS please do not top post and do edit your quotes.


-- 
Neil Bothwick

As long as you do not move you can still choose any direction.


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo failed to start

2006-09-01 Thread Richard Fish

On 9/1/06, Stephen Liu <[EMAIL PROTECTED]> wrote:

Ran
# ls -l /mnt/gentoo/boot
boot -> .
grub
lost+found


Well, this is why you cannot boot.  You do not have a kernel image in /boot.

Are you actually _following_ the guide that you posted a link to
originally, because you seem to have missed[1]:

"""
When the kernel has finished compiling, copy the kernel image to
/boot. Use whatever name you feel is appropriate for your kernel
choice and remember it as you will need it later on when you configure
your bootloader. Remember to replace kernel-2.6.17-gentoo-r5 with the
name and version of your kernel.

Code Listing 13: Installing the kernel

# cp arch/x86_64/boot/bzImage /boot/kernel-2.6.17-gentoo-r5
"""


It looks to me quite funny.  It seems continue endlessly.  boot was
symlink to "."


No, this is normal.  It is to allow people to use hd(X,Y)/boot/kernel,
even if hd(X,Y) is the "/boto" filesystem.


There was no kernel nor bzimage there.


Yes, you need to compile and install a kernel.


> PS: please stop top-posting.

Sorry I don't follow.  Please advise.  This is webmail direct from
Yahoo site.  I checked the mail option and could not find any
top-posting option there.



Top-posting[2] means that you are inserting your message above
mine...and fully quoting my message.  It means that if somebody wants
to read this thread in the archives, they will have to read it
starting at the bottom for it to make sense.  It also means you are
sending out a lot more text to the other subscribers on this list than
you need to be, because you are sending my message in it's
entirety...and the other subscribers have already received that.

On this list, bottom-posting or interleaved replies is the normal
format.  So for yahoo,  first delete out any parts of the quoted
message that you are not responding to.  Then insert your responses
below.

[1] http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=7
[2] http://en.wikipedia.org/wiki/Top-posting

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread darren kirby
quoth the Hemmann, Volker Armin:
> On Friday 01 September 2006 17:47, sdoma wrote:
>
> even if there are tools - don't do it.
>
> The artist/title info is in the id4 tags - you can edit them with lots of
> tools, even inside most players. No need to recode them.

This is true, no need to re-encode just to fix tags.

> And recoding: mp3 is a lossy format. If you turn them into wavs you have
> not only wavs based on reduced information, you remove the stuff that makes
> mp3 sound 'better' than they are. If you encode them again, you are
> removing more information.
>
> So after such a circle the sound quality would be worse. A lot worse.
> Hardly bearable worse.

I am well aware of encoding/re-encoding between lossy formats but I still 
don't buy this. I habitually re-encode all formats to my preferred Ogg Vorbis 
format and have not once been overly (or even slightly) disappointed with the 
results. Unless one is the hardest-core of audiophiles with tens of thousands 
of dollars worth of stereo equipment I doubt they will either.

"Hardly bearable"? Maybe if you have the ears of a dog. If you start with a 
decent bitrate in the first place (128+) I don't see a difference with naked 
ears at all.

> Just say no to recoding.

Nice blanket statement. Better advice to the OP: try it. Save the originals. 
Listen to both. Can you live with it? Make up your own mind

Shameless plug: I have written a ruby script to re-encode between various 
formats: http://badcomputer.org/unix/code/sneetchalizer/

It will allow you to encode mp3 -> mp3 among others. (Ogg, M4a, Wma, Flac).
Undoubtably this is Hemmann's worst nightmare...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972


pgpS0QEUmmSRe.pgp
Description: PGP signature


[gentoo-user] Re: Streaming Audio: source -> server -> clients.. What to use for "source" to send to server?

2006-09-01 Thread Jim Ramsay
fire-eyes wrote:
> I'm out of ideas now, and pretty frustrated. I am looking for ideas.
> This would preferably be a console application so I don't have to
> depend on a GUI. Again, it needs to support both mp3 and ogg at the
> same time, yet have the ability to take the oggs, re-encode to mp3 on
> the fly and stream them as mp3 to the icecast server.

I'm pretty sure media-sound/mpd can do this.

-- 
Jim Ramsay
"Me fail English?  That's unpossible!"


signature.asc
Description: PGP signature


[gentoo-user] Re: glibc completed screwed my system

2006-09-01 Thread James
David Grant  gmail.com> writes:


> > If anyone can help me I'm desperate to save this system and not have
> > to reinstall.


Well, I have lost xwindows/kde on (2) systems because of an upgrade of
make.profile to point to 2006.1. I'm sure glibc was part of the problem.

A third syxtem, an amd64,  sits just slobering and drooling about;
it will not even allow ls or cat to run.
so I'm not so sure this one can be saved without a re-installation.

It'd sure been nice if there was a little bit more detail on this,
problem and recovery options. I've googled for links that help, but found
nothing.

So how is the new 2006.1 liveCD working these days?  I'm soon to find
out, on at least one system, maybe (3), 

Any ideas on recovery mechanisms,  for this make.profile/glibc 
problem are most welcome..

I think I'll just drink (quite a lot) and read this list to see how
the smarter half of this list dance around these pending upgrades.
I'm quite sure it's my fault, I just do not have the fortitude
to fight through another twisted hack-fest of a weekend. 

Besides it's labor_day weekend and this is one wage-slave
that is feeling throughly defeated. My solution is to drink
enough that my singing actually starts to sound acceptable

ymmv: (Tequila!)
cheers!

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Mono error (SIGSEGV)

2006-09-01 Thread Nico
Hi,I was following the guide for upgrading GCC and was running the command 'emerge -eav world' (all the command before where good) and Mono failed during the compil time.Here is the error :
** (../../class/lib/net_2_0_bootstrap/mcs.exe:23591): WARNING **: The class System.Text.EncoderFallbackBuffer could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
=
Got a SIGSEGV while executing native code. This usually indicatesa fatal error in the mono runtime or one of the native libraries 
used by your application.=
Stacktrace:
in I18N.Common.ByteEncoding:GetBytesImpl (char*,int,byte*,int) <0x>in I18N.Common.ByteEncoding:GetBytesImpl
 (char*,int,byte*,int) <0x1b>in I18N.Common.MonoEncoding:GetBytes (char[],int,int,byte[],int) <0xdb>
in System.IO.StreamWriter:Decode () <0x33>in System.IO.StreamWriter:Flush () <0x15>
in System.IO.UnexceptionalStreamWriter:Flush () <0xd>
in System.IO.StreamWriter:Write (string) <0x2e>in System.IO.UnexceptionalStreamWriter:Write (string) <0x10>
in System.IO.TextWriter:WriteLine (string) <0xe>in System.IO.SynchronizedWriter:WriteLine
 (string) <0x2b>in AbstractMessage:Print (int,string,string) <0xc2>
in WarningMessage:Print (int,string,string) <0x94>in AbstractMessage:Print (int,Mono.CSharp.Location,string) <0x5d>
in WarningMessage:Print (int,Mono.CSharp.Location,string) <0x1c>
in Mono.CSharp.Report:Warning (int,int,Mono.CSharp.Location,string,string[]) <0x4b>in Mono.CSharp.Tokenizer:handle_preprocessing_directive
 (bool) <0x9b2>in Mono.CSharp.Tokenizer:xtoken () <0x51a>
in Mono.CSharp.Tokenizer:token () <0x13>in Mono.CSharp.CSharpParser:yyparse (Mono.CSharp.yyParser.yyInput) <0xee8>
in Mono.CSharp.CSharpParser:parse () <0x66>in Mono.CSharp.Driver:parse (Mono.CSharp.SourceFile
) <0x18c>in Mono.CSharp.Driver:ProcessFiles () <0x55>
in Mono.CSharp.Driver:MainDriver (string[]) <0x3ce>in Mono.CSharp.Driver:Main (string[]) <0x41>
in (wrapper runtime-invoke) System.Object:runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0x50acfde3>
Native stacktrace:    /var/tmp/portage/mono-
1.1.13.6/work/mono-1.1.13.6/mono/mini/mono(mono_handle_native_sigsegv+0xc3) [0x8148923]    /var/tmp/portage/mono-
1.1.13.6/work/mono-1.1.13.6/mono/mini/mono [0x81183b0]    [0xe440]
    /var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mono/mini/mono(mono_compile_create_var+0x96) [0x811c006]
    /var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mono/mini/mono [0x813362d]
    /var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mono/mini/mono [0x8134ebb]
    /var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mono/mini/mono(mono_magic_trampoline+0x1a)
 [0x814aaea]    [0xb7d14032]    [0xb71d77cc]
    [0xb731df64]    [0xb731debe]
    [0xb731de86]    [0xb71d75c7]
    [0xb71d7579]    [0xb71d754f]
    [0xb71d751c]    [0xb71d547b]    [0xb71d51f5]
    [0xb71d4b56]    [0xb71d4aed]
    [0xb71d4074]    [0xb71e745b]
    [0xb71e39fb]    [0xb71e34b4]
    [0xb7155ee9]    [0xb71ff2ef]    [0xb71fce25]
    [0xb71fcade]    [0xb731f9df]
    [0xb731f10a]    [0xb75c59b4]
    /var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mono/mini/mono(mono_runtime_exec_main+0x9c)
 [0x809576c]    /var/tmp/portage/mono-
1.1.13.6/work/mono-1.1.13.6/mono/mini/mono(mono_runtime_run_main+0x14a) [0x809598a]    /var/tmp/portage/mono-
1.1.13.6/work/mono-1.1.13.6/mono/mini/mono(mono_main+0xef9) [0x805d969]    /var/tmp/portage/mono-
1.1.13.6/work/mono-1.1.13.6/mono/mini/mono [0x805c5b2]    /lib/libc.so.6(__libc_start_main+0xd8) [0xb7d6e878]
    /var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mono/mini/mono [0x805c501]
make[8]: *** [../../class/lib/net_2_0_bootstrap/Mono.Security.dll] Abandonmake[8]: Leaving directory `/var/tmp/portage/mono-
1.1.13.6/work/mono-1.1.13.6/mcs/class/Mono.Security'make[7]: *** [do-all] Erreur 2
make[7]: Leaving directory `/var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mcs/class/Mono.Security
'make[6]: *** [all-recursive] Erreur 1make[6]: Leaving directory `/var/tmp/portage/mono-
1.1.13.6/work/mono-1.1.13.6/mcs/class'make[5]: *** [all-recursive] Erreur 1
make[5]: Leaving directory `/var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mcs
'make[4]: *** [profile-do--net_2_0_bootstrap--all] Erreur 2
make[4]: Leaving directory `/var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/mcs'
make[3]: *** [profiles-do--all] Erreur 2make[3]: Leaving directory `/var/tmp/portage/mono-
1.1.13.6/work/mono-1.1.13.6/mcs'make[2]: *** [all-local] Erreur 2
make[2]: Leaving directory `/var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6/runtime'
make[1]: *** [all-recursive] Erreur 1make[1]: Leaving directory `/var/tmp/portage/mono-1.1.13.6/work/mono-1.1.13.6
'make: *** [all] Erreur 2
!!! ERROR: dev-lang/mono-1.1.13.6 failed.Call stac

[gentoo-user] Re: Mono error (SIGSEGV)

2006-09-01 Thread Nico
I've found a workaround in the forum : emerge -C mono && emerge mono   :-/This command is running now, i'll tell you if it works


Re: [gentoo-user] Re: glibc completed screwed my system

2006-09-01 Thread David Grant

On 9/1/06, James <[EMAIL PROTECTED]> wrote:

David Grant  gmail.com> writes:


> > If anyone can help me I'm desperate to save this system and not have
> > to reinstall.


Well, I have lost xwindows/kde on (2) systems because of an upgrade of
make.profile to point to 2006.1. I'm sure glibc was part of the problem.

A third syxtem, an amd64,  sits just slobering and drooling about;
it will not even allow ls or cat to run.
so I'm not so sure this one can be saved without a re-installation.

It'd sure been nice if there was a little bit more detail on this,
problem and recovery options. I've googled for links that help, but found
nothing.

So how is the new 2006.1 liveCD working these days?  I'm soon to find
out, on at least one system, maybe (3),

Any ideas on recovery mechanisms,  for this make.profile/glibc
problem are most welcome..

I think I'll just drink (quite a lot) and read this list to see how
the smarter half of this list dance around these pending upgrades.
I'm quite sure it's my fault, I just do not have the fortitude
to fight through another twisted hack-fest of a weekend.


Well all I can say is that without my quickpkg I would probably have
been screwed. Although there is still one other thing I could have
done. I could have grabbed a quickpkg of glibc from another box
(although that box has the newest glibc so actually that wouldn't have
worked). It would probably be possible to find someone on the mailing
list with similar hardware and the correct version of glibc that you
want and they could send you the glibc quickpkg'd up for you.

Here is pretty much the bug as I experienced it:
http://bugs.gentoo.org/show_bug.cgi?id=125868

You can see detail there on how I solved it. My system is now fully
working and recovered.

--
David Grant
http://www.davidgrant.ca
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Streaming Audio: source -> server -> clients.. What to use for "source" to send to server?

2006-09-01 Thread fire-eyes
Jim Ramsay wrote:
> fire-eyes wrote:
>> I'm out of ideas now, and pretty frustrated. I am looking for ideas.
>> This would preferably be a console application so I don't have to
>> depend on a GUI. Again, it needs to support both mp3 and ogg at the
>> same time, yet have the ability to take the oggs, re-encode to mp3 on
>> the fly and stream them as mp3 to the icecast server.
> 
> I'm pretty sure media-sound/mpd can do this.


Hm. I think I looked at it, but it did not sound like it could do what I
wanted. However I'll install it and have a look. Thanks!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Audio CD support

2006-09-01 Thread Mick
On Friday 01 September 2006 17:17, Jeff Grant wrote:
> Hey Frank.
>
> Make sure you have:
>
> *  media-plugins/xmms-cdaudio
>   Latest version available: 1.2.10-r1
>   Latest version installed: [ Not Installed ]
>   Size of files: 2,916 kB
>   Homepage:  http://www.xmms.org
>   Description:   Xmms Plugin: xmms-cdaudio
>   License:   GPL-2
>
> I know this used to mess me up when I was still using XMMS.

What are you using now instead of xmms?

-- 
Regards,
Mick


pgpdtCmsvRASS.pgp
Description: PGP signature


[gentoo-user] Re: Mono error (SIGSEGV)

2006-09-01 Thread Nico
emerge -C mono && emerge --resume did the trick.Now running the big compil.Thx for me lol


Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread Hemmann, Volker Armin
On Friday 01 September 2006 21:23, darren kirby wrote:

> "Hardly bearable"? Maybe if you have the ears of a dog. If you start with a
> decent bitrate in the first place (128+) I don't see a difference with
> naked ears at all.

I hear the fine high pitch sound of TVs and I hear the fine high noise of 
marten repellants. So yes, I have the ears of a dog.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Changes in USE flags - perhaps related to 2006.1?

2006-09-01 Thread Mick
I moved onto 2006.1 profile, updated gcc, remerged system and now as I am 
getting ready to remerge world, suddenly I noticed:

-kde, -qt, -opengl, -xmms, -png, -gif. 

Most of these were in my make.conf (well, at least kde & qt were there).  Now 
there's a number of packages that will be compiled without them.  What's 
changed and why?
-- 
Regards,
Mick


pgpFwYEgGnNRz.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hemmann, Volker Armin wrote:
> I hear the fine high pitch sound of TVs and I hear the fine high noise of 
> marten repellants. So yes, I have the ears of a dog.

You are not alone boy! I used to get to my girlfriend's house, and although the 
TV was many rooms
away I usually said "hey, you're watching tv. I got beer!" :)

- --
Arturo "Buanzo" Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
Consultor en Seguridad Informatica - http://www.buanzo.com.ar
http://www.vivamoslavida.com.ar - Portal no-comercial del buen vivir!
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar 
; done
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+L69AlpOsGhXcE0RAjtjAJ0dPJJae7xRUG8HqSpL64A/lYFCFQCdHaHj
CZUt6r9/9BIoFl+BUkemKeY=
=4s1R
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Changes in USE flags - perhaps related to 2006.1?

2006-09-01 Thread Bo Ørsted Andresen
On Saturday 02 September 2006 01:05, Mick wrote:
> I moved onto 2006.1 profile, updated gcc, remerged system and now as I am
> getting ready to remerge world, suddenly I noticed:

Consider switching to the newly introduced desktop profile (2006.1/desktop).
There is a server profile too but that doesn't seem to be what you're after
here..

[snipping flags that are enabled by the desktop profile]

> -qt, 

This is replaced by two use flags namely qt3 and qt4. They are enabled by
desktop too.

> -xmms

You might want to take notice of [1]. xmms will probably go to an overlay in
the future. You may enable the flag in make.conf though...

[1] 
http://groups.google.com/group/linux.gentoo.dev/tree/browse_frm/thread/d55c71aff656df3f/48bd9159e1e7a430

-- 
Bo Andresen


pgpgrxsumN99A.pgp
Description: PGP signature


[gentoo-user] Using Boinc under Gentoo

2006-09-01 Thread Frank Jahn

Hi all!

I have a strange behavior in my BOINC client.

All projects tell me that the platform 'i386-pc-linux-gnu' was not found.

I might add, that I am quite new to Gentoo (not Linux in general) and 
just installed 2006.0


Thanks in advance ;)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo failed to start

2006-09-01 Thread Stephen Liu
Hi Richard,

> On 9/1/06, Stephen Liu <[EMAIL PROTECTED]> wrote:
> > Ran
> > # ls -l /mnt/gentoo/boot
> > boot -> .
> > grub
> > lost+found
> 
> Well, this is why you cannot boot.  You do not have a kernel image in
> /boot.
> 
> Are you actually _following_ the guide that you posted a link to
> originally, because you seem to have missed[1]:
> 
> """
> When the kernel has finished compiling, copy the kernel image to
> /boot. Use whatever name you feel is appropriate for your kernel
> choice and remember it as you will need it later on when you
> configure
> your bootloader. Remember to replace kernel-2.6.17-gentoo-r5 with the
> name and version of your kernel.
> 
> Code Listing 13: Installing the kernel
> 
> # cp arch/x86_64/boot/bzImage /boot/kernel-2.6.17-gentoo-r5
> """
> 
> > It looks to me quite funny.  It seems continue endlessly.  boot was
> > symlink to "."

I completed all steps listed there at least in 2 rounds.  I found;
# ls -l /usr/src/linux
lrwxrwxrwx1 root   root12 Oct 13 11:04 /usr/src/linux ->
linux-2.6.17-gentoo-r7

there.  But now it disppears.  I don't know why?.  Even I can't find
the directory "src" after chroot.  Another directory I failed to find
was "modules".  I ran;

# find / -name src -type d
and
# find / -name modules -type d
Both no printout

and could not find it.  Beside the command "env-update", emerge, etc.
were not found on "bash".

I think I have to run another round again wiping out the complete HD.


Another thing, what did you mean "...Use whatever name you feel is
appropriate for your kernel choice and remember it as you will need it
later on when you configure your bootloader. Remember to replace
kernel-2.6.17-gentoo-r5 with the name and version of your kernel." 

I used "kernel-2.6.17-gentoo-r7" previously.

Tks.

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Buying Webcameras

2006-09-01 Thread Paulo J. Matos

HI all,

I'm searching for a laptop webcam and a desktop webcam which should
work under Gentoo and preferably work well under Ekiga with very good
quality.

I was thinking on Logitech cameras:  Quickcam for Notebooks Deluxe or
Pro and Quickcam Pro 5000 for desktop.

I'm not sure about creative webcams. Still, I've read many
contradictory stuff on the net about the support of the above logitech
cameras.

I'd be quite happy to hear all the possible experience you could share
on this. Cameras, models, quality, applications, etc.

Thanks a lot,

--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread Hemmann, Volker Armin
On Saturday 02 September 2006 01:14, Arturo 'Buanzo' Busleiman wrote:
> Hemmann, Volker Armin wrote:
> > I hear the fine high pitch sound of TVs and I hear the fine high noise of
> > marten repellants. So yes, I have the ears of a dog.
>
> You are not alone boy! I used to get to my girlfriend's house, and although
> the TV was many rooms away I usually said "hey, you're watching tv. I got
> beer!" :)

I have to admit, it got 'better' in the last couple of years - but as child, I 
could not sleep when my parents watched TV. Not because of the program - I 
did not hear the voices or music, but that sound.

Thanks to the fact, that TV manufacturers like to buy the cheapest parts they 
can get, all TVs make that noise, and I had lots and lots of sleepless 
nights.

Today it is just good enough for 'somebody is watching tv' when I visit my 
family.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo failed to start

2006-09-01 Thread Richard Fish

On 9/1/06, Stephen Liu <[EMAIL PROTECTED]> wrote:

I think I have to run another round again wiping out the complete HD.


Yeah, I think so...


Another thing, what did you mean "...Use whatever name you feel is
appropriate for your kernel choice and remember it as you will need it
later on when you configure your bootloader. Remember to replace
kernel-2.6.17-gentoo-r5 with the name and version of your kernel."


When you compile the kernel, it is going to build a file called
bzImage, that you have to copy to /boot.  But it is very rare to copy
it to /boot/bzImage...most linux users will rename the file to
something else.  Some people (and helper scripts like genkernel)
prefer to use the full version of the kernel, so if you build a kernel
from gentoo-sources-2.6.17-r5, you might:

cp arch/x86_64/boot/bzImage /boot/linux-2.6.17-gentoo-r5
... or ...
cp arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.17-gentoo-r5
... or ...
cp arch/x86_64/boot/bzImage /boot/mykernel-17r5

It is usually a good idea to keep a backup kernel in /boot that you
can use in case a kernel upgrade goes wrong.  So I usually keep 2
kernels, /boot/vmlinuz-2.6 and /boot/vmlinuz-safe.  Once I know that
vmlinuz-2.6 boots and works reliably, I will copy it to -safe.

The second part about remembering the name for your boot loader refers
to your menu.lst/grub.conf entries.  You must specify the actual name
that you copied your kernel image to, or (as you already saw), you
will get a "file not found" when you try to boot.

So if you copy bzImage to /boot/vmlinuz-2.6, you must use an entry like:

title Whatever
   kernel hd(0,0)/vmlinuz-2.6 ...

The title doesn't really matter, but the "kernel" line needs to
reference your actual kernel file.

Clear?

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



[gentoo-user] Re: Dash as /bin/sh?

2006-09-01 Thread Harm Geerts
On Friday 01 September 2006 17:21, Neil Bothwick wrote:
> > Speaking of which, you probably should see the shell used in the
> > scripts from the sys-apps/baselayout package. All shell scripts
> > use /bin/bash and not /bin/sh.
> >
> > So linking (d)ash as the default shell doesn't nearly have the impact
> > you'd like it to have.
>
> A 20% reduction in boot time is a reasonable impact IMO.

Any chance that was a fluke?

I've done a few reboots with bootchart to confirm this and I don't get any 
speedup. In fact /bin/sh is never called because the gentoo init scripts 
explicitly use bash. (sys-apps/baselayout-1.12.4-r7)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Gentoo failed to start

2006-09-01 Thread Harm Geerts
On Saturday 02 September 2006 03:52, Richard Fish wrote:
> On 9/1/06, Stephen Liu <[EMAIL PROTECTED]> wrote:
> > I think I have to run another round again wiping out the complete HD.
>
> Yeah, I think so...
>
> > Another thing, what did you mean "...Use whatever name you feel is
> > appropriate for your kernel choice and remember it as you will need it
> > later on when you configure your bootloader. Remember to replace
> > kernel-2.6.17-gentoo-r5 with the name and version of your kernel."
>
> When you compile the kernel, it is going to build a file called
> bzImage, that you have to copy to /boot.  But it is very rare to copy
> it to /boot/bzImage...most linux users will rename the file to
> something else.  Some people (and helper scripts like genkernel)
> prefer to use the full version of the kernel, so if you build a kernel
> from gentoo-sources-2.6.17-r5, you might:
>
> cp arch/x86_64/boot/bzImage /boot/linux-2.6.17-gentoo-r5
> ... or ...
> cp arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.17-gentoo-r5
> ... or ...
> cp arch/x86_64/boot/bzImage /boot/mykernel-17r5
>
> It is usually a good idea to keep a backup kernel in /boot that you
> can use in case a kernel upgrade goes wrong.  So I usually keep 2
> kernels, /boot/vmlinuz-2.6 and /boot/vmlinuz-safe.  Once I know that
> vmlinuz-2.6 boots and works reliably, I will copy it to -safe.

This can also be done with installkernel from sys-apps/debianutils

>From it's manpage:
installkernel installs a new kernel image onto the system from the Linux 
source tree. It is called by the Linux kernel makefiles when "make install" 
is invoked there.

The new kernel is installed into {directory}/vmlinuz-{version}, a link is made 
from {directory}/vmlinuz to the new  kernel, and the previously  installed 
kernel is available as {directory}/vmlinuz.old.

> The second part about remembering the name for your boot loader refers
> to your menu.lst/grub.conf entries.  You must specify the actual name
> that you copied your kernel image to, or (as you already saw), you
> will get a "file not found" when you try to boot.
>
> So if you copy bzImage to /boot/vmlinuz-2.6, you must use an entry like:
>
> title Whatever
> kernel hd(0,0)/vmlinuz-2.6 ...
>
> The title doesn't really matter, but the "kernel" line needs to
> reference your actual kernel file.

For grub.conf you can use the symlinks installkernel creates (vmlinuz and 
vmlinuz.old). Now you'll never have to change your grub config again, just 
make sure /boot is mounted ;)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Dash as /bin/sh?

2006-09-01 Thread Jerry McBride
On Friday 01 September 2006 22:06, Harm Geerts wrote:
> On Friday 01 September 2006 17:21, Neil Bothwick wrote:
> > > Speaking of which, you probably should see the shell used in the
> > > scripts from the sys-apps/baselayout package. All shell scripts
> > > use /bin/bash and not /bin/sh.
> > >
> > > So linking (d)ash as the default shell doesn't nearly have the impact
> > > you'd like it to have.
> >
> > A 20% reduction in boot time is a reasonable impact IMO.
>
> Any chance that was a fluke?
>
> I've done a few reboots with bootchart to confirm this and I don't get any
> speedup. In fact /bin/sh is never called because the gentoo init scripts
> explicitly use bash. (sys-apps/baselayout-1.12.4-r7)

I can't do it right now, I'm doing an "emerge -e world" on my laptop, but 
tomorrow I'll do a grep and sed and change #!/bin/bash to #!/bin/dash on the 
relavant parts of the baselayout and see if it has any impact, other than 
performance. 

"Slapping right hand to forehead...", This something I never thought of! 
Thanks for the idea.

The other thing to consider is, you don't have to use "all" the gentoo init 
scripts...

Just this week, I evaluated minit, initng, runit and fcache. For me, initNG 
offered the best overall improvement. 

However, I got even better performance with my own solution. Basicly, I use 
the very minimum number gentoo startup scripts. All I use are those that 
initialize the disks and that's it.  The rest of the bootup process is done 
in local.start. My local.start configures all the devices on my laptop, 
including the lo, eth0  services. It loads the modules in correct order, 
brings up portmap, nfs, samba, cups, fam, hal, dbus, alsa, etc., etc. Where 
possible I run the commands as detached processes for even more 
performance... My local.start is ugly as hell, but very fast as there's very 
little bash/python scripting involved... and none of the python bloat that 
gentoo has going on in /etc/init.d. I'm able to get to a fully functioning 
command prompt in like 10 seconds after the kernel is done loading. 
Some configuration still goes on in the background, but I never notice it. 

I've got a lot more testing to do, but at first blush I believe the generation 
of this type of local.start could be automated. What I see happening is, once 
a gentoo user is satisfied that the box is setup to their liking, they'd run 
a script that would evaluate /etc/runlevels, scoop the necessary setup 
information from /etc/conf.d  and generate a local.start providing the new 
boot process. The runlevels could be pruned automatically and on the next 
reboot, the new boot process is used for a dramatic decrease in boot time.

I dunno, this could be fun. ;')

Cheers all, Jerry



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Bonehead mistake

2006-09-01 Thread Colleen Beamer
Hi,After you guys get finished ROTFL, I hope someone can help me out.I did a real "bonehead" thing.  I *hate* slotted packages.  What can I say, I'm a "neat freak".  Normally, with the exception of genkernel, if a package is going to install into a new slot, I remove the original and install fresh.  That's what I did tonight after syncing, but it was stupid.
After syncing, I was told that there was a new version of gcc and that it would be installed into a new slot.  Yes, I know that gcc is a compiler and that, without a compiler, things just don't want to compile.  However, I removed it anyway and even ignored the error message that it was part of my profile and could damage my system.
So, what's done is done.  Is there a way to fix things without having to reinstall my whole system?Thanks in advance for your help and I hope I've given you the best laugh you've had for a while!  :-)
Colleen


Re: [gentoo-user] [OT] Decoding / encoding mp3 files

2006-09-01 Thread darren kirby
quoth the Hemmann, Volker Armin:
> On Friday 01 September 2006 21:23, darren kirby wrote:
> > "Hardly bearable"? Maybe if you have the ears of a dog. If you start with
> > a decent bitrate in the first place (128+) I don't see a difference with
> > naked ears at all.
>
> I hear the fine high pitch sound of TVs and I hear the fine high noise of
> marten repellants. So yes, I have the ears of a dog.

Wow, that's really something. Maybe it was all the heavy-metal concerts I went 
to when I was young that broke my ears ;)

I don't know whether to feel happy or sad for you. Do you find it is generally 
good to have super-hearing or generally bad? I am not trying to be an ass, I 
am genuinely curious...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972


pgpjRV9hGlpWS.pgp
Description: PGP signature


[gentoo-user] Getting Photos From A Digital Camera

2006-09-01 Thread Adrian

Greetings.

This would be my first attempt at getting photos from a digital camera
with my Gentoo system.

I am using a Kodak EasyShare C533.

With USBViewr I can see that the system sees the camera.  That part of
things seems to be working.

However, I've not really a clue what software to use.

GPhoto2 does not list this camera as a supported model.

I see there is a program called camera but it is masked.

Any other suggestions?  As always, my thanks.

Adrian


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: convert mov to avi

2006-09-01 Thread Adrian

Greetings;

Does anyone know of a program, command line would be great, which will
simply convert a mov video to an avi video.  Nothing fancy, just change
the format.

Thank you much.
Adrian



-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: Atom RSS

2006-09-01 Thread Adrian

I have tried the Google search and can't find what I'm looking for.  I
think it has something to do with the fact that I don't know enough to
use the correct search terms me thinks.

What I am trying to find is some step by step, idiot level instructions
about how to set up Atom.  Essentially I want to set up "podcasting".
Geez I hate that term.

I've never done this before, don't have a clue what I'm doing, and thus
not able to find what I'm searching for.

Any guidance is greatly appreciated.

Adrian


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Getting Photos From A Digital Camera

2006-09-01 Thread Ted Ozolins
Adrian wrote:

>Greetings.
>
>This would be my first attempt at getting photos from a digital camera
>with my Gentoo system.
>
>I am using a Kodak EasyShare C533.
>
>With USBViewr I can see that the system sees the camera.  That part of
>things seems to be working.
>
>However, I've not really a clue what software to use.
>
>GPhoto2 does not list this camera as a supported model.
>
>I see there is a program called camera but it is masked.
>
>Any other suggestions?  As always, my thanks.
>
>Adrian
>
>
>  
>
Emerge gphoto2 and gtkam and have gtkam scan for a camera.  See if
anything comes up. or you can use the comand-line and:

*|gphoto2 /|--auto-detect


|/|*



-- 
Ted Ozolins(VE7TVO)
Westbank, B. C

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: convert mov to avi

2006-09-01 Thread Adrian
On Sat, 2 Sep 2006 13:28:59 +0930
Raymond Lewis Rebbeck <[EMAIL PROTECTED]> wrote the words:

> Oh sorry I misread your message, swap 'mov' and 'avi' in my previous
> message and it should still apply :p
> 
> You may want to specify some codecs when transcoding to avi format, I
> don't know what ffmpeg defaults are but the following should suffice:
> 
> $ ffmpeg -i foo.mov -f avi -acodec mp3 -vcodec mpeg4 foo.avi
> 
> -- 
> Raymond Lewis Rebbeck
> -- 

*haha*  Right on.  I was just reading the man page.  I think I can use
this to strip the audio as well, which would be a huge bonus.  

Thanks again.


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mdadm fails to add drive to arry

2006-09-01 Thread Richard Broersma Jr
I recently had a drive failure in with a Raid 1 setup.  However, for testing 
purposes I tried to
re-add the drive to the array after I removed it.  However I ran into the 
following error message.

~ # mdadm /dev/md4 --add /dev/hdj1
mdadm: add new device failed for /dev/hdj1 as 2: Invalid argument

Where is the invalid argument?  Or is this error message you get when it is 
time to buy a new hard
drive :).

I verified my syntax from that man page and :
http://www.linuxdevcenter.com/pub/a/linux/2002/12/05/RAID.html?page=2
under the section: Managing Arrays

Regards,

Richard Broesma Jr.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bonehead mistake

2006-09-01 Thread Philip Webb
> On Fri, 1 Sep 2006 23:27:44 -0400
> "Colleen Beamer" <[EMAIL PROTECTED]> wrote the words:
>> I was told that there was a new version of gcc
>> and that it would be installed into a new slot.
>> I know that gcc is a compiler & without a compiler
>> things just don't want to compile.
>> However, I removed it anyway and even ignored the error message
>> that it was part of my profile and could damage my system.
>> Is there a way to fix things without having to reinstall my whole system?

  http://dev.gentoo.org/~avenj/bins/

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Getting Photos From A Digital Camera

2006-09-01 Thread Adrian

Thanks, I will check those out.
Adrian


On Sat, 2 Sep 2006 08:06:51 +0400
Andrew Gaydenko <[EMAIL PROTECTED]> wrote the words:

> May be these packages? -
> 
> media-gfx/digikam
> media-plugins/digikamimageplugins
> 
> === On Saturday 02 September 2006 08:37, Adrian wrote: ===
> 
> Greetings.
> 
> This would be my first attempt at getting photos from a digital camera
> with my Gentoo system.
> 
> I am using a Kodak EasyShare C533.
> 
> With USBViewr I can see that the system sees the camera.  That part of
> things seems to be working.
> 
> However, I've not really a clue what software to use.
> 
> GPhoto2 does not list this camera as a supported model.
> 
> I see there is a program called camera but it is masked.
> 
> Any other suggestions?  As always, my thanks.
> 
> Adrian
> 
> 
> -- 
> On The Fly Photography -:- Creation From Chaos
> 
> On The Fly Photography:  http://204EastSouth.com
> Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
> The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 
> 


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Getting Photos From A Digital Camera

2006-09-01 Thread Adrian
On Fri, 01 Sep 2006 21:11:59 -0700
Ted Ozolins <[EMAIL PROTECTED]> wrote the words:

> Adrian wrote:
> 
> >Greetings.
> >
> >This would be my first attempt at getting photos from a digital
> >camera with my Gentoo system.
> >
> >I am using a Kodak EasyShare C533.
> >
> >With USBViewr I can see that the system sees the camera.  That part
> >of things seems to be working.
> >
> >However, I've not really a clue what software to use.
> >
> >GPhoto2 does not list this camera as a supported model.
> >
> >I see there is a program called camera but it is masked.
> >
> >Any other suggestions?  As always, my thanks.
> >
> >Adrian
> >
> >
> >  
> >
> Emerge gphoto2 and gtkam and have gtkam scan for a camera.  See if
> anything comes up. or you can use the comand-line and:
> 
> *|gphoto2 /|--auto-detect
> 
> 
> |/|*
> 
> 
> 
> -- 
> Ted Ozolins(VE7TVO)
> Westbank, B. C

Thank you, I will investigate your suggestions.

Adrian



-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /etc/make.conf: changing CHOST on same system

2006-09-01 Thread Meino Christian Cramer
Hi,

 I got some homebrewed problems :-/

 This morning I tried to update to glibc-2.4-r3.
 Checking dependencies breaks with:

--
 >>> checking glibc-2.4-patches-1.17.tar.bz2 ;-)
 >>> checking glibc-linuxthreads-20060605.tar.bz2 ;-)
 >>> checking glibc-powerpc-cpu-addon-v0.01.tgz ;-)
 glibc-2.4 is nptl-only!
 NPTL requires a CHOST of i486 or better

 !!! ERROR: sys-libs/glibc-2.4-r3 failed.
 Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  glibc-2.4-r3.ebuild, line 1079:   Called die

!!! please add USE='nptl nptlonly' to make.conf
!!! If you need support, post the topmost build error, and the call stack if 
relevant.

--


I added "nptl nptlonly" to my /etc/make.conf but the error (and the
suggestion to add "nptl nptlonly" to /etc/make.conf) remain.

BUT:
For my CHOST there is an entry in /etc/make.conf:
CHOST="i386-pc-linux-gnu"

So I think, that the checker script for glibc looks there and thought,
my system is running a i386 CPU, but it runs an 
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+.

It seems my installation of gentoo, which I did months ago wasn't
completly correct, it does run fine since then, though.

My question is:
Is there a way (possibly another one then completly installing all
stuff from the beginning or to recompile all...) to correct my fault ?

Thank you very much for any help in advance !
Have a nice weekend!
mcc



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using Boinc under Gentoo

2006-09-01 Thread Shawn Haggett
Frank Jahn wrote:
> Hi all!
> 
> I have a strange behavior in my BOINC client.
> 
> All projects tell me that the platform 'i386-pc-linux-gnu' was not found.
> 
> I might add, that I am quite new to Gentoo (not Linux in general) and
> just installed 2006.0
> 
> Thanks in advance ;)

What is your CHOST setting in /etc/make.conf? I would guess you would
have a line such as: CHOST="i386-pc-linux-gnu" in there. So boinc was
built thinking your platform is only a 386. Unless this is really old
hardware, you should probably update it to "i686-pc-linux-gnu". There's
a big warning in my make.conf file though about not changing the setting
unless you are doing a Stage 1 install. So you might need a complete
rebuild of your system if you change it. Someone more knowledgeable on
these things should be able to tell you what you need to do to change
your CHOST setting.

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



Re: [gentoo-user] Changes in USE flags - perhaps related to 2006.1?

2006-09-01 Thread Daniel Iliev
Bo Ørsted Andresen wrote:
> On Saturday 02 September 2006 01:05, Mick wrote:
>   
>> I moved onto 2006.1 profile, updated gcc, remerged system and now as I am
>> getting ready to remerge world, suddenly I noticed:
>> 
>
> Consider switching to the newly introduced desktop profile (2006.1/desktop).
> There is a server profile too but that doesn't seem to be what you're after
> here..
>
> [snipping flags that are enabled by the desktop profile]
>
>   
>> -qt, 
>> 
>
> This is replaced by two use flags namely qt3 and qt4. They are enabled by
> desktop too.
>
>   
>> -xmms
>> 
>
> You might want to take notice of [1]. xmms will probably go to an overlay in
> the future. You may enable the flag in make.conf though...
>
> [1] 
> http://groups.google.com/group/linux.gentoo.dev/tree/browse_frm/thread/d55c71aff656df3f/48bd9159e1e7a430
>
>   
Of course its gentoo and therefore there is yet another approach:
USE="-* kde qt 'all flags that you want'"
This way release changes wouldn't affect your USE flags.

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Changes in USE flags - perhaps related to 2006.1?

2006-09-01 Thread Bo Ørsted Andresen
On Saturday 02 September 2006 07:17, Daniel Iliev wrote:
> Of course its gentoo and therefore there is yet another approach:
> USE="-* kde qt 'all flags that you want'"
> This way release changes wouldn't affect your USE flags.

Or simply don't upgrade your profile until the old profile gets deprecated and 
portage starts spitting warnings about it. auto use isn't around anymore so 
this is only relevant when upgrading your profile...

-- 
Bo Andresen


pgpI7JH9rX0IP.pgp
Description: PGP signature


Re: [gentoo-user] /etc/make.conf: changing CHOST on same system

2006-09-01 Thread Richard Fish

On 9/1/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:

 glibc-2.4 is nptl-only!
 NPTL requires a CHOST of i486 or better


You missed fixing this error.


-Richard



 !!! ERROR: sys-libs/glibc-2.4-r3 failed.
 Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  glibc-2.4-r3.ebuild, line 1079:   Called die

!!! please add USE='nptl nptlonly' to make.conf
!!! If you need support, post the topmost build error, and the call stack if 
relevant.

--


I added "nptl nptlonly" to my /etc/make.conf but the error (and the
suggestion to add "nptl nptlonly" to /etc/make.conf) remain.

BUT:
For my CHOST there is an entry in /etc/make.conf:
CHOST="i386-pc-linux-gnu"

So I think, that the checker script for glibc looks there and thought,
my system is running a i386 CPU, but it runs an
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+.


Yep, you will need to change your CHOST to i686-pc-linux-gnu to get
the new glibc.


Is there a way (possibly another one then completly installing all
stuff from the beginning or to recompile all...) to correct my fault ?


Nope.  After changing CHOST, you need to emerge -e world.  And I would
keep a live CD close by just in case.

Your other option is to mask glibc-2.4, and stick with 2.3.

echo ">=sys-libs/glibc-2.4" >> /etc/portage/package.mask

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



Re: [gentoo-user] Getting Photos From A Digital Camera

2006-09-01 Thread Ted Ozolins
Ted Ozolins wrote:

>Adrian wrote:
>
>  
>
>>Greetings.
>>
>>This would be my first attempt at getting photos from a digital camera
>>with my Gentoo system.
>>
>>I am using a Kodak EasyShare C533.
>>
>>With USBViewr I can see that the system sees the camera.  That part of
>>things seems to be working.
>>
>>However, I've not really a clue what software to use.
>>
>>GPhoto2 does not list this camera as a supported model.
>>
>>I see there is a program called camera but it is masked.
>>
>>Any other suggestions?  As always, my thanks.
>>
>>Adrian
>>
>>
>> 
>>
>>
>>
>Emerge gphoto2 and gtkam and have gtkam scan for a camera.  See if
>anything comes up. or you can use the comand-line and:
>
>*|gphoto2 /|--auto-detect
>  
>
OOPS! I don't know where these extra characters came from, it should read:

gphoto2 --auto-detect



-- 
Ted Ozolins(VE7TVO)
Westbank, B. C

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Dash as /bin/sh?

2006-09-01 Thread Richard Fish

On 9/1/06, Jerry McBride <[EMAIL PROTECTED]> wrote:

little bash/python scripting involved... and none of the python bloat that
gentoo has going on in /etc/init.d.


AFACT, python is never invoked for any of the init scripts.

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



Re: [gentoo-user] mdadm fails to add drive to arry

2006-09-01 Thread Richard Fish

On 9/1/06, Richard Broersma Jr <[EMAIL PROTECTED]> wrote:

I recently had a drive failure in with a Raid 1 setup.  However, for testing 
purposes I tried to
re-add the drive to the array after I removed it.  However I ran into the 
following error message.

~ # mdadm /dev/md4 --add /dev/hdj1
mdadm: add new device failed for /dev/hdj1 as 2: Invalid argument

Where is the invalid argument?  Or is this error message you get when it is 
time to buy a new hard


I think you forgot to specify the mode.  From man mdadm:

"""
SYNOPSIS
  mdadm [mode]  [options] 
"""

and

"""
 If  a  device  is  given  before any options, or if the first option is
  --add, --fail, or --remove, then the MANAGE mode is  assume.   Anything
  other than these will CAUSE THE MISC MODE TO BE ASSUMED.
"""
(emphasis added)

So I think you need "mdadm manage /dev/md4 --add /dev/hdj1".  Or
"mdadm --add /dev/md4 /dev/hdj1".

This isn't based on an actual test, just reading the documentation, so I HTH.

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



Re: [gentoo-user] mdadm fails to add drive to arry

2006-09-01 Thread Richard Fish

On 9/1/06, Richard Fish <[EMAIL PROTECTED]> wrote:

> Where is the invalid argument?  Or is this error message you get when it is 
time to buy a new hard

I think you forgot to specify the mode.  From man mdadm:



I should really learn to read bettersorry.

Did you remove the faulty device first?  IIRC, raid devices start
numbering at 0, so it looks like this is trying to add a third device
(#2), instead of replacing #0 or #1.

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



Re: [gentoo-user] mdadm fails to add drive to arry

2006-09-01 Thread Richard Broersma Jr
> I think you forgot to specify the mode.  From man mdadm:
> SYNOPSIS
>mdadm [mode]  [options] 
>   If  a  device  is  given  before any options, or if the first option is
>--add, --fail, or --remove, then the MANAGE mode is  assume.   Anything
>other than these will CAUSE THE MISC MODE TO BE ASSUMED.
> (emphasis added)
> So I think you need "mdadm manage /dev/md4 --add /dev/hdj1".  Or
> "mdadm --add /dev/md4 /dev/hdj1".

I appreciate the feed back.  Here is what I am getting.

~ # mdadm manage /dev/md4 --add /dev/hdj1
mdadm: An option must be given to set the mode before a second device is listed

~ # mdadm --add /dev/md4 /dev/hdj1
mdadm: add new device failed for /dev/hdj1 as 2: Invalid argument

and for kicks :)
~ # mdadm manage --add /dev/md4 /dev/hdj1
mdadm: error opening manage: No such file or directory
~ # mdadm --add manage /dev/md4 /dev/hdj1
mdadm: error opening manage: No such file or directory

Regards,

Richard Broersma Jr.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mdadm fails to add drive to arry

2006-09-01 Thread Richard Broersma Jr
> I should really learn to read bettersorry.

No problem :-)

> Did you remove the faulty device first?
yup.
Personalities : [raid1] [raid10] [multipath]
md4 : active raid1 hdg1[1]
  293049600 blocks [2/1] [_U]


  IIRC, raid devices start
> numbering at 0, so it looks like this is trying to add a third device
> (#2), instead of replacing #0 or #1.

I am not exact sure on this point.  Are you refering to the meta device?

Regards,

Richard Broersma Jr.
-- 
gentoo-user@gentoo.org mailing list