Re: which shell I'm using?

2004-03-04 Thread Ruben Porras
El mié, 03-03-2004 a las 21:53, Danijel Tasov escribió:
> Ruben Porras wrote:
> > so, echo $SHELL seems not to be reliable, how could I now which shell I
> > am using? (Imagine you need to know in a script)?
> 
> I'm doing:
> 
> ps -p $$

That was exactly what I need ;)

I said "Imagine you need to know in a script" to indicate that I wanted
an independent shell response (not echo $shell in tcsh, for example), in
that moment I didn't know who to explain it in English.

Many thanks to everybody.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



which shell I'm using?

2004-03-03 Thread Ruben Porras
docs I've read says echo $SHELL, while you remain in the system with the
original login shell 
echo $SHELL
gives the correct answer, but not in case you have executed another
shell, for example:

$ echo $SHELL
/bin/bash
$ csh
% echo $SHELL
/bin/bash
% exit
$ tcsh
nahoo:~> echo $SHELL
/bin/bash

so, echo $SHELL seems not to be reliable, how could I now which shell I
am using? (Imagine you need to know in a script)?

Many thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can't boot 2.4.X kernel

2004-01-08 Thread Ruben Porras
El jue, 08-01-2004 a las 19:01, GCS escribiÃ:
> On Wed, Jan 07, 2004 at 06:10:07PM +0100, Ruben Porras <[EMAIL PROTECTED]> wrote:
> > I'm lost and I would appreciate some hints to debug this.
>  You should update your initrd-tools package (0.1.56 would be good).

I have this version because I'm running Sid.

Thanks.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



can't boot 2.4.X kernel

2004-01-07 Thread Ruben Porras
I need some help here, for a reason I don't know I'm unable to boot any
2.4.X kernel, including the debian's kernels. This happens since I've
tried 2.6.0test4, I think, but I'm not sure that the test kernel caused
the problem.

When I try one of them the kernel says:
VFS: Cannot open root device "hda3" or 0303
Please append a correct "root=" boot option
kernel panic: VFS: unable to mount root on 03:03

I'm lost and I would appreciate some hints to debug this.

the relevant items in the grub menu.lst are:

# this boots fine
title   Debian GNU/Linux, kernel 2.6.0
root(hd0,0)
kernel  /vmlinuz-2.6.0 root=/dev/hda3 ro
savedefault
boot

# this doesn't boor
title   Debian GNU/Linux, kernel 2.4.23-1-686
root(hd0,0)
kernel  /vmlinuz-2.4.23-1-686 root=/dev/hda3 ro
initrd  /initrd.img-2.4.23-1-686
savedefault
boot

I think both are fine.

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: audio problems

2002-12-02 Thread Ruben Porras
El lun, 02-12-2002 a las 23:57, Bruce Park escribió:
> Dennis,
> 
> Exactly how do I add myself to the audio group? 

man adduser
-- 
The chains are broken and the door is open wide
Our eyes adjusting to the light that was denied
And bring a sense of wonder

http://www.es.debian.org/intro/about.es.html


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




question about type of packages

2002-11-30 Thread Ruben Porras
What are this type of packages?

pure provides
mixed provides
leaf packages

they appear in the apt-cache man page, the text is:

The resulting nodes will have several shapse, normal packages are boxes,
pure provides are triangles, mixed provides are diamonds,
hexagons are missing packages. Orange boxes mean recursion was stopped
[leaf packages], blue lines are pre-depends, green lines are conflicts.

-- 
The chains are broken and the door is open wide
Our eyes adjusting to the light that was denied
And bring a sense of wonder

http://www.es.debian.org/intro/about.es.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




mem info interpretation

2002-05-15 Thread Ruben Porras
I'm trying to interpretate the memory information the file
/proc/e820info, for example, the second line says:
04000 @ 0009fc00 (reserved)

>From where to where are this addresses go?

as I know 4000 in binary is 0100    => 2^14/8=2.048 Kb
and 9fc00 is 1001 1110 1100   =>
(2^19+2^16+2^15+2^14+2^13+2^11+2^10)/8=81.28Kb

if that is correct how can my bios has reserved the address
fff0 which corresponds to a VERY VERY HIGH ADDRESS, obiously
I'm doing something basic bad.

0009fc00 @  (usable)
0400 @ 0009fc00 (reserved)
0002 @ 000e (reserved)
1fec @ 0010 (usable)
00038000 @ 1ffc (ACPI data)
8000 @ 1fff8000 (ACPI NVS)
1000 @ fec0 (reserved)
1000 @ fee0 (reserved)
0008 @ ffb8 (reserved)
0010 @ fff0 (reserved)