Re: [gentoo-user] (OT) Reboot to Windows (using grub)

2008-02-04 Thread Mrugesh Karnik
On Sunday 03 Feb 2008 20:50:47 Dan Farrell wrote:
 On Sat, 2 Feb 2008 23:44:59 +0100

 Liviu Andronic [EMAIL PROTECTED] wrote:
  Thanks all for their respective input. From the information provided,
  I've assembled a short Gentoo Wiki Tip [1].
 
  Regards,
  Liviu
 
  [1] http://gentoo-wiki.com/TIP_Reboot_to_Windows_(using_grub)

 Thanks; I've been wanting to do this for months now, but failed to
 write up a coherent message to the list.  Now I can finally reboot with
 ease and walk away, without having to mess with quickly switching grub
 (being impatient and having a short attention span, similar as they may
 be, are, in conjunction, quite an obstacle for multi-booters ;) )

 I was thinking, though; wouldn't it be possible to just switch back and
 forth each boot?  Have grub set windows as the default when it boots
 linux and linux as the default after booting windows, and you can just
 switch back and forth by rebooting - no grub-set-default required.
 However, this would be appropriate only for people who want to reboot
 into the other OS every time they reboot.

info grub

Look for savedefault.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] (OT) Reboot to Windows (using grub)

2008-02-02 Thread Mrugesh Karnik
On Saturday 02 Feb 2008 18:27:55 Liviu Andronic wrote:
 Basically, I would like to issue a command (restart with a certain
 grub temporary setup change), go make myself a cup of tee and come
 back and see the Windows login screen.

info grub

Look for grub-set-default.

What I've done is to add the default entry in grub.conf normally. After every 
menu entry, I've added `savedefault 0'. Then when rebooting, you could issue 
a `grub-set-default foo', it'll reboot into that entry without you having to 
wait.

If KDE has grub support, it'll allow you to pick which entry to boot into with 
the restart button.

HTH
-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] man bash document doesn't match real life bash.

2007-09-22 Thread Mrugesh Karnik
 Neil Bothwick wrote:
  On Wed, 19 Sep 2007 17:03:16 +0200, David Harel wrote:
  I was surprised to find that in man bash the reference to initialization
  files is wrong. The bash manual says it reads initialization files from
  /etc/profile:
  FILES
 /bin/bash
The bash executable
 /etc/profile
The systemwide initialization file, executed for login
  shells
 
 
  Where real life uses /etc/bash/bashrc
  This part is taken from strace dump: strace bash -i
  open(/etc/bash/bashrc, O_RDONLY|O_LARGEFILE) = 3

Hmmm. bash -i is not a login shell. An interactive shell doesn't 
read /etc/profile if it's not a login shell.

From man bash:

``When  bash  is  invoked as an interactive login shell, or as a 
non-interactive shell with the --login option, it first reads and executes 
commands from the file /etc/profile, if that file exists.  After reading 
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in 
that order, and reads and executes commands from the first one that exists 
and is readable. The --noprofile option may be used when the shell is started 
to inhibit this behavior.

snip

When  an  interactive shell that is not a login shell is started, bash reads 
and executes commands from ~/.bashrc, if that file exists.  This may be 
inhibited by using the --norc option.  The --rcfile file option will force 
bash to read and execute commands from file instead of ~/.bashrc.''

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] why does not startx or xinit start gnome?

2007-02-21 Thread Mrugesh Karnik
On Wednesday 21 Feb 2007 13:32:59 John covici wrote:
 Hi.  I was having major problems getting gnome to work at all when I
 discovered that it onlyy works if I login using gdm -- is there
 something about the gentoo distribution which has broken startx so
 gnome does not run or am I doing something wrong here?

Is your ~/.xinitrc proper?

Someting like `exec gnome-session'.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgp2VhXL6GfQ8.pgp
Description: PGP signature


Re: [gentoo-user] why does not startx or xinit start gnome?

2007-02-21 Thread Mrugesh Karnik
On Wednesday 21 Feb 2007 18:36:59 Etaoin Shrdlu wrote:
 On Wednesday 21 February 2007 13:19, John covici wrote:
  Yep, that does work, but I had no idea that functionality was even
  there -- the line was commented out in the file.

 That sets a systemwide default. As others suggested, the file ~/.xinitrc
 might be used to choose on a per-user basis the X session to run (it has
 to be created by each user who wants it).

Actually, GDM uses Xsessions and startx uses xinitrc files.

If you look at the /etc/X11/xinitrc file, it looks for and uses the ~/.xinitrc 
file if present. Otherwise, it uses the system default 
of /etc/X11/chooser.sh, which uses the variable XSESSION.

If neither of the methods works, it starts a twm session.

Correct me if I'm wrong please.

HTH.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgprnaz4AOvRf.pgp
Description: PGP signature


Re: [gentoo-user] Encrypt USB flash drive

2007-02-06 Thread Mrugesh Karnik
On Tuesday 06 Feb 2007 05:06:29 Thomas Lingefelt wrote:
  I've been using truecrypt between Windows and Linux for just this purpose
  and it works great.  Not so sure about MacOS though.
 
  emerge app-crypt/truecrypt
 
  http://www.truecrypt.org/

 Seems to be exactly what I'm looking for.  I'll start implementing
 tomorrow morning.  Maybe by the time I get a Mac it will have been
 ported. Thanks!

It would be nice if you could post a HOWTO to the wiki, if it doesn't exist 
already. I haven't checked yet..

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgphK9abt0mtt.pgp
Description: PGP signature


Re: [gentoo-user] Is Gentoo healthy?

2006-12-18 Thread Mrugesh Karnik
On Monday 18 December 2006 20:17, Grant wrote:
 I
 personally still love Gentoo.

What's the problem then? :)

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpmSykqzP83h.pgp
Description: PGP signature


Re: [gentoo-user] Is Gentoo healthy?

2006-12-18 Thread Mrugesh Karnik
On Tuesday 19 December 2006 00:24, Grant wrote:
 I'm thinking this over a bit more, and it seems like the best thing
 for Gentoo (or any distro) is a lot of users.  More users must mean
 more active developers, and more active developers must mean an
 increased rate of growth for the software.

 I believe the great benefit of Gentoo is its flexibility, and
 flexibility is like a meta-benefit because it makes possible any other
 benefit.  What do you think makes Ubuntu the distro of the moment?  Is
 it ease-of-use?  If Gentoo focused more on ease-of-use aspects of the
 Ubuntu variety, they would attract more users and thereby increase the
 rate of growth for the software.

 Popular migration from one distro to the next sends a very important
 signal to any distro that wants to grow.

Methinks, Gentoo should stay focused.

I don't think the goal of Gentoo was to become a Desktop Distro for the people 
migrating from M$ land. I don't care about ease of use. The current situation 
is great for me. I DO want the flexibility and the control.

Quality matters, not the quantity.

I'm not against ease of use. Its always welcome. I guess its up to the devs 
and the Council to decide on what Gentoo wants to be and for whom. Trying to 
cater too many different categories of people is shooting yourself in the 
foot.


-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpsdKD9aiW1j.pgp
Description: PGP signature


Re: [gentoo-user] Re: udev upgrade and non-working eth0

2006-11-29 Thread Mrugesh Karnik
On Wednesday 29 November 2006 23:03, Richard Fish wrote:
 The upshot of this is this: by far the easiest way to solve the
 net-naming problem is to run

 /lib/udev/write_net_rules all_interfaces

 This will generate the rules for all interfaces, and then you can just
 edit the file to change the names as you like.  So I guess I'll know
 that for the next person that asks. :-P

Cool, that worked perfectly! I remember seeing an error about write_net_rules 
not being able to create a file during bootup, twice..

Btw, I really would like to master udev. Good documentation? I can see a 
couple of links at the bottom of the Gentoo udev guide. Anything else I 
should be referring to?

Thanks a lot btw. :)

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] udev upgrade and non-working eth0

2006-11-27 Thread Mrugesh Karnik

Hi,

I upgraded to udev-103 yesterday. Since then, my internet hasn't been working.

I connect through eth0, which is a VIA Rhine adapter on my
motherboard. ifconfig shows the link to be up. But, I can't even ping
the gateway through eth0. I get destination unreachable replies.

This is what syslog tells me after bootup:

Nov 27 19:11:14 mrugeshkarnik kernel: eth0: link down

And this is the ifconfig output:

eth0  Link encap:Ethernet  HWaddr 00:0D:88:45:C1:C9
   inet addr:10.40.37.47  Bcast:10.40.37.255  Mask:255.255.255.0
UP BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Interrupt:18 Base address:0xe000

I don't see a RUNNING flag in there..

What do I do? I'm completely stuck without the internet on Gentoo.. :(

Thanks in advance.

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



Re: [gentoo-user] Re: udev upgrade and non-working eth0

2006-11-27 Thread Mrugesh Karnik

On 27/11/06, 7v5w7go9ub0o [EMAIL PROTECTED] wrote:

FWIW, I also upgraded and find that my laptop, which previously had eth0
and eth1 for its two cards (one wired and one wireless) now has eth0 and
eth2.

After editing my scripts and configurations (e.g. wpa_supplicant startup
and kismet conf), things seem to work fine.


Right. The idiosyncrasies!

I checked dmesg (Should have done that earlier.. duh!). Here's the output:

eth0: RealTek RTL8139 at 0xe000, 00:0d:88:45:c1:c9, IRQ 18
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link down

eth1: VIA Rhine II at 0xfa002000, 00:13:d3:60:4a:a5, IRQ 19.
eth1: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.

Now, how do I swap the two cards? I don't know how to write udev rules
yet. I was planning on learning that next week.. I guess I should
learn it as soon as the internet works..

Anyway, I'd very much appreciate the exact solution from the list right now :)

Thanks to everyone who replied.

And well, the ip addresses are correct. My ISP gives me a NAT'ed
connection (duh! :/).

Thanks again,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: udev upgrade and non-working eth0

2006-11-27 Thread Mrugesh Karnik
On Tuesday 28 November 2006 04:16, Richard Fish wrote:
 On 11/27/06, Mrugesh Karnik [EMAIL PROTECTED] wrote:
   # ethernet devices
   ACTION==add, SUBSYSTEM==net, SYSFS{address}==00:13:d3:60:4a:a5,
   NAME=eth0
   ACTION==add, SUBSYSTEM==net, SYSFS{address}==00:0d:88:45:c1:c9,
   NAME=eth1
 
  No go. They didn't swap.

 Just in case, you did make those 2, not 4, lines right?  Silly gmail
 word-wrapping... :-(

 What do udevtest /class/net/eth0 and udevtest /class/net/eth1
 report?  Also udevinfo -a -p /class/net/eth0 and udevinfo -a -p
 /class/net/eth1.

Aaah! Feels so good to be writing this email in kmail again!! So, as you might 
guess, its working now.

The problem apparently was that I used upper case letters in the hex numbers. 
I didn't know those hex numbers are lower case only :s

Oh and I HAD put them on two lines.

Anyway, now I get this message during bootup:

udevd-event[3110]: rename_netif: error changing net interface name eth0_rename 
to eth1: No such device.

It works fine though. But, how do I get rid of that message? Its just annoying 
to look at :/

/me thinks about setting RC_DEVICE_TARBALL=yes

Anyway, all you people, thanks for your help. Very much appreciated!

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: udev upgrade and non-working eth0

2006-11-27 Thread Mrugesh Karnik
On Tuesday 28 November 2006 06:38, Richard Fish wrote:
 On 11/27/06, Mrugesh Karnik [EMAIL PROTECTED] wrote:
  udevd-event[3110]: rename_netif: error changing net interface name
  eth0_rename to eth1: No such device.

 Hmm, haven't seen this error, but these rules (based on
 70-persistent-net.rules) might work better:

 SUBSYSTEM==net, ATTRS{address}==00:13:d3:60:4a:a5, NAME=eth0
 SUBSYSTEM==net, ATTRS{address}==00:0d:88:45:c1:c9, NAME=eth1

Stupid question perhaps.. but does it matter in which files the rules go? I 
can see a 75-persistent-net-generator.rules file in there..

  /me thinks about setting RC_DEVICE_TARBALL=yes

 This won't help for ethernet naming.  There is no /dev/eth* device
 node, after all.

True. Hmm.
-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: udev upgrade and non-working eth0

2006-11-27 Thread Mrugesh Karnik
On Tuesday 28 November 2006 07:31, Richard Fish wrote:
  can see a 75-persistent-net-generator.rules file in there..

 Hmm, not sure how I got a 70-persistent-net.rules.  There is some
 interaction between that and 75-persistent-net-generator.rules (and
 the /lib/udev/write_net_rules script), but I'm a bit too tired to
 figure it out ATM.  It looks like 70-... should be created by the
 write_net_rules script...


RULES_FILE='/etc/udev/rules.d/70-persistent-net.rules'

That's the first line of write_net_rules.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] No working burning cdrom

2006-11-09 Thread Mrugesh Karnik
On Thursday 09 November 2006 12:57, Luigi Pinna wrote:
 Alle 06:49, giovedì 9 novembre 2006, Mrugesh Karnik ha scritto:
 [...]
  Its to do with a kernel upgrade. Do a ulimit -l unlimited before
  starting k3b in the same session.

 As user:
 $ ulimit -l unlimited
 bash: ulimit: max locked memory: cannot modify limit: Operation not
 allowed

 as root it is works!
 Now the question is how can I rescue it as default and allow it to
 users?
 What does it mean a kernel update?
 Thanks, Luigi

Yes, it works as root. I was just investigating ways to set that only 
for growisofs. One way is to set it in /etc/profile, but that'll affect 
all processes. I'll let you know when I find the solution. One solution 
I can think of is to run ulimit followed by growisofs in a subshell.. 
but the issue is with being root. I'll let you know.

As for the kernel upgrade, this limit was imposed in 2.6.16 or something 
from what I read.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpyQ5L7m0BGc.pgp
Description: PGP signature


Re: [gentoo-user] No working burning cdrom

2006-11-09 Thread Mrugesh Karnik
On Thursday 09 November 2006 15:10, Neil Bothwick wrote:
 On Thu, 9 Nov 2006 13:30:36 +0530, Mrugesh Karnik wrote:
  Yes, it works as root. I was just investigating ways to set that
  only for growisofs. One way is to set it in /etc/profile, but
  that'll affect all processes. I'll let you know when I find the
  solution. One solution I can think of is to run ulimit followed by
  growisofs in a subshell.. but the issue is with being root. I'll
  let you know.

 This limit only applies to the root user, so the question becomes
 why is K3b running growisofs as root?.  Is growisofs suid?

ls -l $(which growisofs)
-rws--x--- 1 root burning 71888 2006-10-19 11:33 /usr/bin/growisofs


Apparently, it is. I suppose it is to do with avoiding issues with users 
being in the proper group for burning the disks.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpE72SsoiVaV.pgp
Description: PGP signature


Re: [gentoo-user] No working burning cdrom

2006-11-08 Thread Mrugesh Karnik
On Thursday 09 November 2006 04:44, Luigi Pinna wrote:
 Hi!
 I tried today to burn some backup data with k3b.
 Until some days ago all worked perfectly, today I had that message:
 growisofs
 ---

 :-( unable to anonymously mmap 33554432: Resource temporarily

 unavailable

 growisofs command:
 ---
 /usr/bin/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray
 -use-the-force-luke=tty -use-the-force-luke=tracksize:2169087
 -dvd-compat -speed=8 -overburn -use-the-force-luke=bufsize:32m

 My dvd-burner is the floppy drive?
 How can I solve that problem? Since it I can't burn my data more...
 Thanks,
 Luigi

Its to do with a kernel upgrade. Do a ulimit -l unlimited before 
starting k3b in the same session.


-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpENLMz8hyFU.pgp
Description: PGP signature


Re: [gentoo-user] mysql-5.* unmasked

2006-11-07 Thread Mrugesh Karnik
On Tuesday 07 November 2006 23:10, Grant wrote:
 emerge world wants to update mysql from 4.1.21 to 5.0.26-r1 on my
 server this morning.  Has anyone made a similar upgrade?

 - Grant

Done. Had to run revdep-rebuild after the upgrade and everything was 
nice and smooth. :-)

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgp4EahEyhy5K.pgp
Description: PGP signature


Re: [gentoo-user] Kopete plugins dissapeared

2006-11-06 Thread Mrugesh Karnik
On Monday 06 November 2006 18:22, Rafael Barrera Oro wrote:

 One flag per each plugin? I am mainly interested in the history
 plugin do you know which flag i need? where i can find a list of
 kopete flags?

 Thanks for your reply

emerge -pv1 kopete ;-)

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpLBqICDGN14.pgp
Description: PGP signature


Re: [gentoo-user] X USE flag

2006-11-01 Thread Mrugesh Karnik
On Thursday 02 November 2006 01:53, Neil Bothwick wrote:
 On Wed, 1 Nov 2006 12:57:27 -0500, Mark Shields wrote:
  A re-emerge today brought back those same packages with the X flag
  profile masked.  Hmm...

 Welcome to the world of the testing tree :)

Testing? This is all in the stable tree!

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgp73KxJPX3kq.pgp
Description: PGP signature


Re: [gentoo-user] Do I need lcms?

2006-10-19 Thread Mrugesh Karnik
On Thursday 19 October 2006 21:18, Mick wrote:
 Hi All,

 I can see the lcms flag but am not sure if I need it:

 [ebuild U ] media-libs/libmng-1.0.9-r1 [1.0.8-r2] USE=-lcms%
 541 kB

 # euse -i lcms
 global use flags (searching: lcms)
 
 [-] lcms - Adds lcms support (color management engine)

 local use flags (searching: lcms)
 
 no matching entries found

 Although http://www.littlecms.com/about.htm is quite informative, I
 am not sure if this falls into the category of if you don't know
 what it is, you don't need it! sort of thing.

Hmm. It can be useful if you use Scribus.


-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpzmq32wBjyU.pgp
Description: PGP signature


Re: [gentoo-user] No device coming up if I plug in an USB device

2006-10-02 Thread Mrugesh Karnik
On Monday 02 October 2006 16:01, Stephen Reynolds wrote:
 Hi

 I am new to gentoo and I just finished a stage 1,2,3 installation,
 and I have followed the gentoo USB howto.
 When I plug-in a usb device no device coming up in /dev directory,
 yet dmesg tell me I have plugged in a mass storage device.

 I'm running kernel 2.6.17... please help.

Ah, I wanted to ask about this too. The same thing happens to me. I need 
to reboot with the device plugged in, which is a pain. I'd appreciate 
an answer as well.

I hope this is not highjacking the thread, because I have the exact same 
question.. 



-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpxchfTK8lxG.pgp
Description: PGP signature


Re: [gentoo-user] /etc/portage/package.keywords '/'

2006-09-27 Thread Mrugesh Karnik
On Wednesday 27 September 2006 18:50, kiorky wrote:
 I ve heard about /etc/portage/package.keywords directory instead of
 file. So now  what is the read priodity for files in ?


There is no priority file. You can use package.keywords file itself. The 
directory feature is to give more flexibility. For example, I had 
separate files inside package.keywords directory for KDE, xgl, java, 
XFCE etc. IIRC, the files will be concatenated and interpreted as a 
single file by portage.

HTH.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgptGmkHiYbgi.pgp
Description: PGP signature


Re: [gentoo-user] initng or runit?

2006-08-23 Thread Mrugesh Karnik
On Wednesday 23 August 2006 07:28, Thomas Kear wrote:

 The real advantage that initng posesses are, unless runit's website
 is simply failing to mention it, auto-restarting of failed daemons,
 virtual dependencies, and clever multi-distro compatible scripts that
 use a preprocessor at install time (see the #ifd / #elsed / #endd
 statements in a file like
 http://svn.initng.org/initng-ifiles/trunk/initfiles/system/modules.ii
).

I've used runit for a little while. It uses daemontools from qmail to 
monitor services. Hence it also has auto-restarting of failed daemons.
I haven't used it long enough to know about dependencies though. I 
thought runit was pretty good.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgp7kjRm5f0Os.pgp
Description: PGP signature


Re: [gentoo-user] app-office/openoffice-bin and kde

2006-08-03 Thread Mrugesh Karnik
On Thursday 03 August 2006 12:14, Noack, Sebastian wrote:
 Hi,

 does somebody know if app-office/openoffice-bin supports native look
 and feel for kde? Or would I have to emerge app-office/openoffice
 with KDE-useflag?

The icons, to me, look KDE-ish.

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgptC0SHerdZm.pgp
Description: PGP signature


[gentoo-user] Changing CFLAGS and cloning the system.. What are my options?

2006-07-22 Thread Mrugesh Karnik
Hi folks,

Please bear with me, even if this seems a little newbie-sh.

I have a perfectly running Gentoo AMD64 system, with XGL and all. Now 
I've figured that I need to change my CFLAGS. It's some stupidity on my 
part, please don't ask. So I guess I'll need to rebuild my entire 
system.

Anyway, I have about 11GB free on the hard disk. I am thinking about 
building binaries of all the installed packages on the system, keep 
them burnt on a DVD. I'll back up my /etc. All my data partitions 
and /home are on different partitions, so I don't see any need to back 
them up. Also, I'll keep the 2006.0 minimal install CD handy. It does 
support LVM right? What do I do with the stage tarballs? How can I make 
a snapshot of this working system as a fallback? I remember something 
about a Stage 4 in the forums a while ago.. I installed this system 
well over a year ago with a Stage 1 tarball. Should I keep Stage 3 
handy?

Is there anything else I should be worried about? Have I forgotten 
something in case something goes wrong and I have to reinstall the 
entire thing...

Another thing, I'll need to make an exact copy of this system, once 
rebuilt, on a friend's laptop, albeit with a different partition setup. 
My system has LVM setup, the laptop won't have that. What all needs to 
be changed?

Sorry to ask so many question, I'm just worried about messing up the 
fine system.. :/

Thanks and regards,
Mrugesh


pgpCvdOKEFA21.pgp
Description: PGP signature


[gentoo-user] OT - Need help with NAT

2006-05-09 Thread Mrugesh Karnik
Hi,

I have been having trouble forwarding packets using iptables on my 
Gentoo box. I am no iptables expert.

I connect to the internet using rp-pppoe. I use firestarter for 
firewalling. Yesterday I installed VMware and chose host only 
networking between the VMs. vmnet0 was bound to 192.168.128.1 and the 
rest of the subnet being 192.168.128.0/24.

As should be obvious by now, I need to forward packets from ppp0 to 
vmnet0 and allow outbound packets as well.

I chose vmnet0 to be the adaptor connected to my LAN and enabled 
Internet Connection Sharing in Firestarter. I could ping my virtual 
hosts and do ssh and telnet, but I couldn't access the internet from 
those hosts.

I also tried the Gentoo Home Router Guide. But to no avail. I still 
couldn't have the hosts access the internet.

I have had this problem with actual physical LAN too. I haven't been 
able to allow any of the LAN hosts to connect to the internet through 
my Gentoo box.

Could someone help me?

Thank you.
-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpHLqsu2JtzA.pgp
Description: PGP signature


Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Mrugesh Karnik
On Tuesday 09 May 2006 19:26, de Almeida, Valmor F. wrote:
 I tried the make all option and it added a /boot - .
 Inside /boot. Also, a menu.lst file was created inside /boot/grub
 that points to grub.conf. Other than that there no changes/additions
 we made.

 I rebooted and had the same problem occurring:

 System.map not found -- unable to check symbols

 Thanks for your inputs.

 --
 Valmor

I have the same problem. Does anyone know the solution?

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpPiGEVGP3qT.pgp
Description: PGP signature


Re: [gentoo-user] System.map not found - unable to check symbols

2006-05-09 Thread Mrugesh Karnik
On Tuesday 09 May 2006 21:58, Steven Gill wrote:
 Genkernel copies the file into /boot/ BUT names the System.map as
 System.map-genkernel-x86-2.6.xx-gentoo-rx so all you need to do is
 copy/rename this file as System.map (note the capital S) and
 everything should be fine.

 I'm not sure what impacts/problems arise out of not having a
 System.map file but having fixed the problem on my own computers I
 haven't noticed any differences.

I haven't used genkernel and here's my /boot:

ls -l /boot/
total 13680
lrwxrwxrwx 1 root root   1 2005-11-09 12:22 boot - ./
lrwxrwxrwx 1 root root  23 2006-05-08 22:16 config - 
config-2.6.15-gentoo-r7
-rw-r--r-- 1 root root   32570 2006-01-18 22:11 config-2.6.14-gentoo-r5
-rw-r--r-- 1 root root   34144 2006-05-08 22:16 config-2.6.15-gentoo-r7
-rw-r--r-- 1 root root   33050 2006-03-15 15:50 
config-2.6.15-gentoo-r7.old
lrwxrwxrwx 1 root root  27 2006-05-08 22:16 config.old - 
config-2.6.15-gentoo-r7.old
drwxr-xr-x 2 root root1024 2006-05-02 11:12 grub/
drwx-- 2 root root1024 2005-11-12 19:19 lost+found/
-rw-r--r-- 1 root root 1281606 2005-11-10 20:09 
splash-livecd-2005.1-1024x768
-rw-r--r-- 1 root root 1568408 2005-11-10 19:38 
splash-livecd-2005.1-1280x1024
-rw-r--r-- 1 root root  549029 2006-03-17 21:34 
splash-livecd-2006.0-1280x1024
lrwxrwxrwx 1 root root  27 2006-05-08 22:16 System.map - 
System.map-2.6.15-gentoo-r7
-rw-r--r-- 1 root root 1159642 2006-01-18 22:11 
System.map-2.6.14-gentoo-r5
-rw-r--r-- 1 root root 1183181 2006-05-08 22:16 
System.map-2.6.15-gentoo-r7
-rw-r--r-- 1 root root 1183181 2006-05-08 21:56 
System.map-2.6.15-gentoo-r7.old
lrwxrwxrwx 1 root root  31 2006-05-08 21:56 System.map.old - 
System.map-2.6.15-gentoo-r7.old
lrwxrwxrwx 1 root root  24 2006-05-08 22:16 vmlinuz - 
vmlinuz-2.6.15-gentoo-r7
-rw-r--r-- 1 root root 2270101 2006-01-18 22:11 vmlinuz-2.6.14-gentoo-r5
-rw-r--r-- 1 root root 2328333 2006-05-08 22:16 vmlinuz-2.6.15-gentoo-r7
-rw-r--r-- 1 root root 2307346 2006-03-15 15:50 
vmlinuz-2.6.15-gentoo-r7.old
lrwxrwxrwx 1 root root  28 2006-05-08 22:16 vmlinuz.old - 
vmlinuz-2.6.15-gentoo-r7.old


-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpB5as7rLrab.pgp
Description: PGP signature


[gentoo-user] Webapp-config trouble

2006-05-02 Thread Mrugesh Karnik
Hi,

cgiirc-0.5.8 got installed as part of the regular update world cycle 
yesterday. It was slotted alongside 0.5.7. At first, I noticed that the 
vhosts USE flag was turned on when 0.5.8 got installed. So I re-emerged 
it with -vhosts. After that, I unmerged cgiirc-0.5.7. Tried to start 
apache with /etc/init.d/apache2 start and I get the following error:

 * Apache2 has detected a syntax error in your configuration files:
Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file]
 [-C directive] [-c directive]
 [-k start|restart|graceful|stop]
 [-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name   : define a name for use in IfDefine name 
directives
  -d directory  : specify an alternate initial ServerRoot
  -f file   : specify an alternate ServerConfigFile
  -C directive: process directive before reading config files
  -c directive: process directive after reading config files
  -e level  : show startup errors of level (see LogLevel)
  -E file   : log startup errors to file
  -v: show version number
  -V: show compile settings
  -h: list available command line options (this page)
  -l: list compiled in modules
  -L: list available configuration directives
  -t -D DUMP_VHOSTS : show parsed settings (currently only vhost 
settings)
  -S: a synonym for -t -D DUMP_VHOSTS
  -t: run syntax check for config files

I tried to run webapp-config --si -V and I get this:

* Install directory is: /var/www/localhost/htdocs
* Fatal error: No .webapp file in /var/www/localhost/htdocs; unable to 
continue
* Fatal error(s) - aborting

How do I solve this?

Thanks.

Mrugesh


pgposWMvlehbE.pgp
Description: PGP signature


Re: [gentoo-user] Webapp-config trouble

2006-05-02 Thread Mrugesh Karnik
On Wednesday 03 May 2006 10:37, Michael Stewart (vericgar) wrote:
 Mrugesh Karnik wrote:
   * Apache2 has detected a syntax error in your configuration files:
  Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file]
   [-C directive] [-c directive]
   [-k start|restart|graceful|stop]
   [-v] [-V] [-h] [-l] [-L] [-t] [-S]

 I doubt this error message is related to your recent webapp-config
 install (it's probably just now that you noticed it). Generally when
 this message comes up, there is a problem with your APACHE2_OPTS in
 /etc/conf.d/apache2, usually a forgotten -D somewhere.

 Make sure every item in APACHE2_OPTS has a -D before it.
 Example (from my apache 2.2 configuration):

 APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D
 SSL_DEFAULT_VHOST -D SUEXEC -D PHP4 -D MACRO -D USERDIR -D ERRORDOCS
 -D AUTH_PAM

That solved it, thanks.

What do I do about the webapp-config error though?
-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpqBmdbzrMeB.pgp
Description: PGP signature


Re: [gentoo-user] Re: pppd and adsl

2006-04-26 Thread Mrugesh Karnik
On Wednesday 26 April 2006 18:40, Sven Köhler wrote:
  Ummm, could you please explain those settings? Or could you please
  point me the appropriate documentation where they're explained?

 which settings?

 well, man pppd should show you all the funny pppd options.

Okies, thanks :)

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgpojv1rScDsf.pgp
Description: PGP signature


Re: [gentoo-user] Re: pppd and adsl

2006-04-24 Thread Mrugesh Karnik
On Sunday 23 April 2006 22:45, Sven Köhler wrote:
  (1) Why rp-pppoe is deprecated?

 ppp included the pppoe-plugin known from rp-pppoe. the pppoe-plugin
 uses the kernel-mode PPPoE. There is no need for rp-pppoe anymore,
 because ppp offers everything needed.

Aah I see! Thanks for correcting me. :)

Anyway, so a related query.. My internet connection has a habit of 
getting disconnected every six hours. Does the kernel mode PPPoE 
automatically reconnect properly? Well, if it doesn't, how do I start 
and stop the connection at will? Restart the init script?

Thanks,
Mrugesh


pgp5KCL1QUvO3.pgp
Description: PGP signature


Re: [gentoo-user] Re: pppd and adsl

2006-04-24 Thread Mrugesh Karnik
On Monday 24 April 2006 22:38, Sven Köhler wrote:
  Anyway, so a related query.. My internet connection has a habit of
  getting disconnected every six hours. Does the kernel mode PPPoE
  automatically reconnect properly? Well, if it doesn't, how do I
  start and stop the connection at will? Restart the init script?

 config_ppp9=( ppp )
 plugins_ppp9=( pppoe )
 link_ppp9=eth1
 username_ppp9=XXX
 pppd_ppp9=(
 noauth
 defaultroute
 holdoff 0
 )

 That works perfectly for me. It reconnects automatically.


 To start/stop the connection at will:
 yes, you have to start/stop the init.d-script.

Ummm, could you please explain those settings? Or could you please point 
me the appropriate documentation where they're explained?

Thanks,
Mrugesh


pgpQMpG8ueFi1.pgp
Description: PGP signature


Re: [gentoo-user] pppd and adsl

2006-04-23 Thread Mrugesh Karnik
On Sunday 23 April 2006 12:57, Chen Yufei wrote:
 I use adsl to connect to the internet and I use rp-pppoe in the past.
 But I found in the /etc/conf.d/net.example that the  rp-pppoe module
 is being deprecated in favour of the PPP module. So I tried to use
 ppp to dialup the adsl connection and succeeded. But I have 2
 questions now.

 (1) Why rp-pppoe is deprecated?

 (2) Every time I call /etc/init.d/net.ppp0 there is a warning saying
 that net.ppp0 is started but is inactive This is my /etc/conf.d/net

 modules=( iproute2)

 config_eth0=( 192.168.0.2/24 )

 config_ppp0=( ppp )
 link_ppp0=eth0
 plugins_ppp0=( pppoe )
 username_ppp0='xxx'
 password_ppp0='xxx'
 pppd_ppp0=( updetach defaultroute usepeerdns)

 Any suggestion?

Yeah, I upgraded to rp-pppoe-3.8 yesterday. I had to change 
my /etc/conf.d/net file to look like this:

config_eth0=( adsl )
adsl_user_eth0=username

Here's where I found the relevant information:

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=4chap=3#doc_chap4

Gentoo does use rp-pppoe to connect. It just does it when bringing up 
eth0 directly.

HTH,
Mrugesh


pgpiUechhtOSZ.pgp
Description: PGP signature


Re: [gentoo-user] VLC and Win32Codecs - Anyone success w/ playing Real/Quicktime?

2006-04-13 Thread Mrugesh Karnik
On Thursday 13 April 2006 14:58, Ow Mun Heng wrote:
 Hi Guys,

   I asked this in the vlc mail-list already and was replied that VLC
 don't use external libraries like win32codecs. As such, it is not
 able to play rmvb (real Media) files and also it's current quicktime
 support is broken.

 I looked at the ebuild for vlc in gentoo and noticed the win32codecs
 USE flag. However, it does not seem to me that it is being honored in
 the compilation of VLC.

 Doing a configure --help of a VLC source does not have anything which
 shows the win32codecs usage.

 Has anyone in this list been able to successfully integrate
 Win32codecs into VLC and hence be able to play Quicktime/rmvb files?

 It is said that some Debian Sid people has managed to integrate it
 into their custom compilation. If anyone knows anything, would
 appreciate some heads up.

 --
 Ow Mun Heng
 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
 98% Microsoft(tm) Free!!
 Neuromancer 17:25:22 up 1 day, 7:24, 2 users, load average: 0.64,
 0.37, 0.37


Check this out:
http://www.videolan.org/vlc/features.html

Look at the support for Real Media and your questions shall be 
answered :)

HTH,
Mrugesh


pgp55ZiFP5mt1.pgp
Description: PGP signature


Re: [gentoo-user] How to have default fedora font in gentoo ?

2006-03-06 Thread Mrugesh Karnik
On Monday 06 March 2006 22:28, Massimiliano Bellomo wrote:
 Hi,
 i'm searching the fedora/redhat default terminal font (maybe Luxi
 Mono ?)
 to use in my Gentoo Box.
 I've tried Luxi Mono following X11-font HOWTO but it doesn't look very
 well.

If you're talking about the font used on the virtual consoles, it's 
LatArCyrHeb-16

I don't know about the fonts used in Gnome-terminal.

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



Re: [gentoo-user] xorg 7.0 emerge question

2006-02-21 Thread Mrugesh Karnik
On Tuesday 21 February 2006 20:54, Alec Shaner wrote:
 krgn wrote:
  hi
 
  I have a question concerning my modular X installation. I did this
  according to the gentoo guide here
  http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml.
  now, I have synced again, and a lot of blocks are coming up and I am not
  sure really how to solve this. These are the blocks. how can I get rid
  of them? is it to do with the virtual ebuild or so, I have not really an
  idea...

This I had done back when I had the rc3 installed.

cat /etc/portage/profile/virtuals
virtual/x11 =xorg-x11-7.0.0_rc3


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



Re: [gentoo-user] Hardware issues, probably overheating, help?

2006-02-17 Thread Mrugesh Karnik
On Friday 17 February 2006 04:32, [EMAIL PROTECTED] wrote:
 A long shot, but I had this happen once due to bad power supply.

 Is there a chance the power supply is failing? If you have an alternate
 supply, you may want to swap it out. Are you pushing it near its limits,
 perhaps with many disk drives? Can you remove some drives as a test?

I thought this to be a possibility to start with... I have been wondering 
about buying a 400W supply. Hmm, this'll need some testing.

Thanks,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hardware issues, probably overheating, help?

2006-02-17 Thread Mrugesh Karnik
On Friday 17 February 2006 08:37, Daniel da Veiga wrote:
 I had the same issue, same MOBO and same system (almost the same,
 instead of the sempron I had an athlon xp), the heatsink was working
 fine, it kept locking for a while, then one day as you described it
 refused to boot, as I forced it, it became unstable, finally not
 booting anymore.

 I took it to the guy I got it from and he said part of the bus for the
 MOBO was fried, due to high temperatures, not in the processor, but at
 the chipset, that caused the BIOS to failure, finally crushing the
 entire system, reflashing BIOS did not solve it. Now I'm looking for a
 new motherboard as I write this from my notebook. Check the whole sys
 temperature.

 I have been running into problems with this kind of MOBO and
 processor, its the second fried mobo in 3 months, I changed the power
 supply, changed memory, drives, everything. So, my advice, cool your
 system...

 Again, that's my own experience and I just write this because you
 described exactly what happened to me last week.

You scare me :P

I wondered about the BIOS being dead when the computer refused to start, but 
then after a few hours the computer did start, so I guess it wasn't a BIOS 
issue.

Thanks for your input.

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



Re: [gentoo-user] Hardware issues, probably overheating, help?

2006-02-17 Thread Mrugesh Karnik
On Friday 17 February 2006 05:34, [EMAIL PROTECTED] wrote:
 On Fri, 17 Feb 2006, Emanuele Morozzi wrote:
  1. Tell us the Watts of the power supply (perhaps you'll have to change
  it) 2. Take the PC powered off and try extracting the video card and
  replugging it.
  3. Try to change the plug you use to give power to the PC.
  4. Try to discharge the bios and reconfigure it.

 Add to this to make sure the line cord is plugged in well, both at the
 wall and at the computer. I once replaced a power supply only to find
 that the line cord wasn't plugged in all the way.

It says 400W on the power supply, but at the price I've bought the case, I'm 
sure its only about 350W.

The second and third I've tried. Fourth... Hmm, I'll try to do that.

And yeah, the power cord is plugged in perfectly, I just checked.

Thanks again,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hardware issues, probably power-related

2006-02-17 Thread Mrugesh Karnik
On Saturday 18 February 2006 00:04, Benno Schulenberg wrote:
 Mrugesh Karnik wrote:
  It says 400W on the power supply, but at the price I've bought
  the case, I'm sure its only about 350W.

 More than enough.  But maybe the mains is polluted (by electric
 motors or other high frequency stuff) or its tension has been
 lowered by some 10 or 20 volts?

Hmmm. I have a feeling that there's just too much electrical load in our 
home...

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



[gentoo-user] Hardware issues, probably overheating, help?

2006-02-16 Thread Mrugesh Karnik
Hi,

I've been having issues with the computer shutting down automatically. Makes 
me wonder if it's an over heating problem. The system (AMD Sempron 2500+, MSI 
K8M800 mobo, two Seagate HDDs, an LG DVD Burner and a GB of RAM) has 
developed a habit of shutting down or restarting randomly, no matter what OS 
I'm using.

A few days ago, the system shut itself down. I pressed the start switch but it 
would not respond, instead the power LED just kept blinking. I thought it to 
be an overheating issue and let it cool off for a bit. It worked fine for a 
few days and then this phenomenon just kept repeating itself and the 
frequency increased. There were a few lockups in between too. This would 
happen when running and update world while running Azureus in KDE or even 
when I was doing something as trivial as just chatting.

One day, the system refused to start. I pressed the start switch after a few 
minutes of such a shutdown and all that happened was I could see the power, 
HDD LEDs and the DVD burner's LED all glowing, but the monitor wouldn't 
start. The CPU fan would be working. I let the thing sleep for a few hours.

Later, I though I'd just run memtest to check if the RAM modules aren't 
causing any trouble. The pc actually started this time, but as soon as the 
memtest86+ screen came up, the thing shut itself down once again.

Next day, I had the system lock up twice while editing the BIOS settings. This 
time I decided to dig out the processor and take the board and the processor 
to the dealer for checkup. Turns out that the processor had got stuck to the 
heat sink. After separating and reinstalling the two, the system worked fine 
for a few days.

Now, again, a couple of days ago, I had the shut down. This time I decided to 
keep the room as cool as possible and have been running the computer with the 
lid open. But then again, just a few minutes ago, I had the shutdown while 
compiling K3B while running KDE and Azureus. Since then I've put up ksensors 
to check the temperature constantly. It's showing a pretty neat 35C right 
now, running Azureus, Kmail and Kopete.

Anyway, the point of this lng emails is that I haven't exactly pin 
pointed the problem. If anyone thinks this is something other than over 
heating, please reply.

Thank you,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] lm_sensors question.

2006-02-15 Thread Mrugesh Karnik
On Tuesday 14 February 2006 20:08, Benno Schulenberg wrote:
 James wrote:
  hddtemp /dev/hda   for example
  /dev/hda: HTS726060M9AT00: 44 C

 # hddtemp /dev/hda
 /dev/hda: Maxtor 6Y080L0: 22 C

 This doesn't look right, as system temperature is shown as 29°C.
 At startup hddtemp reported 12 C, while room temperature is 17°C.

 Benno

Hmm, this is what I get:

hddtemp /dev/hda
/dev/hda: ST3120022A: 41°C

hddtemp /dev/hdb
/dev/hdb: ST380011A: 41°C

M/B Temp:+43°C  (high =   +17°C, hyst =+0°C)   sensor = thermistor
CPU Temp:  +37.5°C  (high =   +60°C, hyst =   +55°C)   sensor = thermistor
temp3: +66.0°C  (high =   +60°C, hyst =   +55°C)   sensor = thermistor   
ALARM

What the heck is that temp3 then?

Mrugesh

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] Can bash do comments on files?

2006-02-13 Thread Mrugesh Karnik
On Monday 13 February 2006 11:04, Moshe Kaminsky wrote:

 You can use extended attributes for this. See getfattr(1) and attr(5)
 from sys-apps/attr.

Quoting the man page for attr:

Extended attributes implement the ability for a user to attach name:value 
pairs to objects within the _XFS_ filesystem.

Does it work for other file systems?

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



[gentoo-user] [OT] lm_sensors question.

2006-02-13 Thread Mrugesh Karnik
Hello,

I have a small query. I wonder what the temp3 in the output of sensors is? I 
have been having problems with the computer shutting down due to over 
heating. Here's my current sensors output:

M/B Temp:+42°C  (high =   +16°C, hyst =+0°C)   sensor = thermistor
CPU Temp:  +36.0°C  (high =   +60°C, hyst =   +55°C)   sensor = thermistor
temp3: +66.0°C  (high =   +60°C, hyst =   +55°C)   sensor = thermistor   
ALARM

Also, I just noticed that it has stopped showing my CPU fan rpms. Could anyone 
suggest what the problem might be?

Thank you,
Mrugesh

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] lm_sensors question.

2006-02-13 Thread Mrugesh Karnik
On Monday 13 February 2006 20:29, James wrote:
 Well I'm not sure, but you can 'emerge hddtemp' and verify the hard drive
 temperature quite easily.

 hddtemp /dev/hda   for example
 /dev/hda: HTS726060M9AT00: 44 C

Oh I'll do that, thanks.

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



Re: [gentoo-user] emerging x86 Sun-JDK in my amd64

2006-02-04 Thread Mrugesh Karnik
On 04/02/06, Felipe Ribeiro [EMAIL PROTECTED] wrote:
 How can i emerge the common x86 sun-jdk(1.5) in my amd64 box?

I simply downloaded the bin package from the Sun website and extracted
it to wherever I needed it to be!

Mrugesh

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My Rosegarden Woes

2005-12-28 Thread Mrugesh Karnik
On Wednesday 28 December 2005 23:00, Michael Sullivan wrote:
 I emerged rosegarden the other day.  When it starts up it tells me that
 the MIDI sequencer could not be started.

This happened to me a while back. Here's what I did.

Change your /etc/make.conf to include +jack +jack-tmpfs and +portaudio if 
needed.
Recompile all the packages with jack support. emerge --update --newuse world 
should do it i guess.
Emerge qjackctl.
Then emerge rosegarden with -arts and +jack..
Then simply start qjackctl and start jack server before starting rosegarden.

This is assuming that you have timidity++ working properly beforehand and that 
it is started before starting jack.

HTH,
Mrugesh

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hal emerge conflict [SOLVED]

2005-12-16 Thread Mrugesh Karnik
On Friday 16 December 2005 18:55, Dale wrote:

 This is funny.  I have gnome-vfs installed and KDE 3.5 with the new
 hal.  I wonder why it worked for me?

 Dale


I had to emerge gnome-vfs-2.12* with KDE 3.5 and hal-0.5*

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



[gentoo-user] udev-077-r1 makes /dev/dsp disappear!

2005-12-09 Thread Mrugesh Karnik
Hello,

I am running Gentoo on an AMD64 Sempron processor with an MSI K8MM-V 
motherboard runnning a VIA K8M800 chipset. This is the lspci output about my 
sound card:

:00:11.5 Multimedia audio controller: VIA Technologies, Inc. 
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0430
Flags: medium devsel, IRQ 209
I/O ports at ec00 [size=256]
Capabilities: [c0] Power Management version 2

The system has been running without any problems with udev-077 and alsa 1.0.9

Yesterday, I upgraded to udev-077-r1 as part of a normal 'update world'. I 
shut off the system. Booted this morning only to find /dev/dsp missing and 
alsasound giving errors about soundcard '0' being not found.

I tried to upgrade all the alsa packages (alsa-lib alsa-driver alsa-utils 
alsa-jack alsa-oss) to 1.0.10. I have been using 1.0.9, because I get a very 
very low volume, even with Master and PCM set to 100% with 1.0.10. Anyway, 
even after upgrading and running alsaconf, I still had the same problem.

I decided to downgrade udev to 077, which I had been using till yesterday. It 
worked, I got my /dev/dsp back and sound worked. But I still had to downgrade 
alsa to 1.0.9 to solve the volume issue.

My question is, has anyone else seen this issue? Should I report this as a 
bug?

Regards,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev-077-r1 makes /dev/dsp disappear!

2005-12-09 Thread Mrugesh Karnik
On Friday 09 December 2005 16:04, Simon Hogg wrote:
 I was suffering from this same problem and it does appear to be a bug
 in udev-077-r1 (-r2 is now in ~x86 but I've not tried it yet).

 The solution that someone else came up with (calr0x on the forums) was
 to run udevstart once the system is running, this causes all of the
 device nodes for the installed kernel modules to be created.

 Simon

Upgraded to udev-077-r2 and did udevstart. Everything is fine now.

Thanks,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64 bit or not

2005-12-08 Thread Mrugesh Karnik
On Thursday 08 December 2005 05:41, Jamie Dobbs wrote:
 But surely if you emerge firefox-bin on a amd64 system it will, by
 default, install the 64 bit version of the application?
 Or is there a magic trick to getting it to use 32 bit?

AFAIK, firefox-bin, thunderbird-bin, mplayer-bin and openoffice-bin are all 32 
bit. I don't know of any other bin packages in portage. But it makes perfect 
sense to keep the 32 bit bin packages in portage.

Regards,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64 bit or not

2005-12-08 Thread Mrugesh Karnik
On Thursday 08 December 2005 15:25, Martins Steinbergs wrote:

 how about Opera? what is proper way to determin is it 32 or 64 app? there
 isn't such thing as opera-bin in portage however it must be 32 bit. i keep
 it'cause works with netscape-flash.

 martins

I'm also using Opera on the same system. It's 32 bit and works perfectly with 
netscape-flash, which of course is 32 bit too. I just haven't been able to 
figure out how to get Sun's JRE to work with Opera though. It works fine with 
Firefox.

So I use Firefox-bin and/or Opera for websites with Flash. Firefox-bin for 
Java. Though I also use Konqueror with Blackdown JDK, which is 64 bit, for 
Java stuff too. And there's Mozilla with VLC plugin for streaming stuff.

Cheers,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xine-lib and arts-3.5.. Doesn't get compiled

2005-12-07 Thread Mrugesh Karnik
On Tuesday 06 December 2005 09:27, Richard Fish wrote:

 The first is to figure out which .la files and packages still
 reference kde 3.4 stuff:

 find / -name *.la -exec grep --with-filename -l kde/3.4 {} \; 2/dev/null |
 while read x; do equery belongs $x ; done

 The output of the above will give you a list of .la files and the
 packages that own them.  Now you can either edit the .la files by hand
 to fix the path, or emerge --oneshot pkgname each of the listed
 packages.  My preference is to remerge the dependant packages, but I
 can't really explain why...it just feels safer to me.

 -Richard

I ran into problems with DirectFB. I had to manually sort out the dependencies 
and re-emerge libsdl and sdl-sound first. Other than that, everything was 
fine. xine-lib also got recompiled perfectly after libsdl and DirectFB.
Thank you for your reply.

Regards,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64 bit or not

2005-12-07 Thread Mrugesh Karnik
On Wednesday 07 December 2005 23:14, Steven Susbauer wrote:
 What about things like nvidia drivers, flash and java? (Obviously I could
 also just look through gentoo-portage.com...). Does firefox run in 64 bit?
 What about xmms and full alsa?

 I'm about to mess with my new system once I get the video card, it too is
 an AMD64.

I have an NVIDIA card. NVIDIA has 64 drivers. Works perfectly.

To run Firefox with Flash and Sun's Java, you can use 32 bit firefox-bin. 
Works perfectly fine when Flash is installed via Portage. As for Sun's JRE, 
you'll need to extract it yourself and just add a link to its plugin so in 
mozilla's plugins directory. This information is available in the AMD64 
related documents on http://gentoo-wiki.com

I also compiled Mozilla with VLC plugin for streaming stuff. Mplayer-bin which 
is 32 bit, is also installed for win32codecs to work.

I don't use XMMS, I use amaroK. Works perfectly. So does ALSA.

There's a nice guide in GPD for creating 32 bit chroots. Check it out.

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



[gentoo-user] Xine-lib and arts-3.5.. Doesn't get compiled

2005-12-05 Thread Mrugesh Karnik
Hello,

I upgraded to KDE 3.5 and removed the slotted KDE 3.4. xine-lib was compiled 
with +arts back in the KDE 3.4 days. Yesterday, I installed imagemagick and 
now wanted to compile xine-lib with +imagemagick which was - previously.

The trouble is, that xine-lib doesn't want to get compiled with +arts, because 
it looks for the libartsc.la from /usr/kde/3.4/blah.. The file doesn't exist 
anymore because I removed KDE 3.4.

So, my question should be quite apparent by now. How do I get xine-lib to 
compile with +arts with arts-3.5?

Thanks,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdeutils-3.5.0

2005-12-05 Thread Mrugesh Karnik
*  kde-base/superkaramba
  Latest version available: 3.5.0
  Latest version installed: 3.5.0
  Size of downloaded files: 2,888 kB
  Homepage:http://www.kde.org/
  Description: A tool to create interactive applets for the KDE desktop.
  License: GPL-2

*  x11-misc/superkaramba
  Latest version available: 0.36
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 1,466 kB
  Homepage:http://netdragon.sourceforge.net/
  Description: A tool to create interactive applets for the KDE desktop.
  License: GPL-2

With KDE 3.5, you'll be using the kde-base version.

Regards,
Mrugesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Seeking USB help

2005-12-05 Thread Mrugesh Karnik
On Tuesday 06 December 2005 02:22, [EMAIL PROTECTED] wrote:

 This is what /etc/init.d/hotplug says:

 # nothing here anymore. Please use the coldplug package if you really
 # want to
 # load modules for devices that are discovered by your kernel before
 # init runs.
 #
 # However, please realize that if you have any problems, the developers
 # recommend just using the modules.autoload functionality to handle this
 # in a
 # much simpler manner.
 #


 Is that true? No more hotplug? That doesn't seem right, especially given
 your comment. Is it possible I have an old version of the hotplug
 script?

Highlight: 

load modules for devices that are discovered by your kernel before
init runs.

Meaning, coldplug is for loading modules for devices that are attached before 
init was started. Hotplug still exists and is used for automatically loading 
modules for devices that are attached after the system is up.

I think what that ebuild says comes from the fact that hotplug and coldplug 
used to be provided by the same package in the past. Now, we have two 
separate packages.

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



Re: [gentoo-user] Xine-lib and arts-3.5.. Doesn't get compiled

2005-12-05 Thread Mrugesh Karnik
On Tuesday 06 December 2005 09:27, Richard Fish wrote:
 The first is to figure out which .la files and packages still
 reference kde 3.4 stuff:

 find / -name *.la -exec grep --with-filename -l kde/3.4 {} \; 2/dev/null |
 while read x; do equery belongs $x ; done

 The output of the above will give you a list of .la files and the
 packages that own them.  Now you can either edit the .la files by hand
 to fix the path, or emerge --oneshot pkgname each of the listed
 packages.  My preference is to remerge the dependant packages, but I
 can't really explain why...it just feels safer to me.

 -Richard

This is the only file that has libarts in its name. But the file xine-lib was 
looking for was /usr/kde/3.4/lib64/libartsc.la, which obviously wasn't found 
in the output of the command you mentioned.

[ Searching for file(s) /usr/lib64/ao/plugins-2/libarts.la in *... ]
media-libs/libao-0.8.5 (/usr/lib64/ao/plugins-2/libarts.la)


Anyway, should I still re-emerge all the packages with all the other *.la 
files?

Thanks,
Mrugesh

P.S. I am emerging all the packages anyway. Let's see how it goes.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kpdf insisting in A4 paper size

2005-12-03 Thread Mrugesh Karnik
On Sunday 04 December 2005 07:01, Joseph wrote:
 On Sat, 2005-12-03 at 22:03 +0100, Antoine wrote:
   Move from the US ;-)
   Antoine
 
  I wouldn't like to go there, besides there is no reason even
  to go there
  I'm in Canada :-)
 
  But Canada is a state of the US, isn't it?
  ;-)
  Antoine

 Oh boy, how can we solve the kpdf A4 page size format if some folks
 don't even know ;-/ where Canada is (second largest country in the
 world)

 --
 #Joseph

Did you people miss the ;-) that Antonie has placed after his message? I mean, 
to be quite honest, if your follow-ups were meant as jokes... err nevermind.

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



Re: [gentoo-user] KDE 3.5

2005-12-01 Thread Mrugesh Karnik

Thiago Lüttig wrote:

Hi, someone has installed the kde 3.5  how it´s running ??

--
__

Atenciosamente,
Thiago Lüttig

__


I should have it running in a couple of hours. I'll let you know then.

Regards,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE 3.5

2005-12-01 Thread Mrugesh Karnik

Thiago Lüttig wrote:

how do you installed it ? i mean, the emerge parameters ?? :D


I just did emerge --udpate --deep world. It slotted 3.4 and 3.5, so I 
first cleared out my distfiles to free up some space! Then, edited 
/etc/rc.conf to set XSESSION=kde-3.5. After restarting 
/etc/init.d/xdm, kdm-3.5 came up with entries for both 3.4 and 3.5. Some 
packages are still being compiled. I'll keep 3.4 till all of them are 
compiled and then unmerge 3.4.


3.5 is working just fine here. The only thing that went wrong is that it 
doesn't show my pop-up panel on the right hand side of the screen. The 
one at the bottom works just fine.


Regards,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE 3.5

2005-12-01 Thread Mrugesh Karnik

Kumar Golap wrote:





Also, after unmerging KDE 3.4, I had to rebuild all the other apps
that were built for 3.4 viz. konversation, amarok, kdiff3, krename,
kio-locate, krusader, kmldonkey, ktorrent, tellico, kchmviewer etc etc
etc.



Would  not the command revdep-rebuild do this for you ?
Just need to clarify before jumping in to kde-3.5 too.

Thanks

Kumar



Actually, turns out that it was the moodin engine that required the 
rebuild. Rest were rather unnecessary. Anyway. I didn't try revdep-rebuild.


amaroK failed to compile with visualization support with KDE 3.5. 
Tellico failed as well. Mhmmm.


Mrugesh


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-19 Thread Mrugesh Karnik

Benno Schulenberg wrote:

Well, somewhere deep in the BIOS peripheral settings, there are 
things like Enable AGP Fast Write or similar.  Set all those 
things to Off or Disabled.  You wil want stability first, speed 
maybe later.  It probably won't make a difference, but it at least 
excludes one possible source of problems.


Yeah, those were all disabled when I was running Unichrome. I've turned 
them all on for NVIDIA though. No stability problems.


You've said you have an MSI K8M800 motherboard.  Looking at 
http://www.msicomputer.com/product/p_list.asp?class=mbcpu=3, such 
boards only support Sempron 2600+, 2800+, 3000+, 3100+, 3300+, 
not a 2500+.  This may not be a problem, but then again, it might 
not be listed for a reason.


H. Well I checked the motherboard manual when I bought this computer 
and it says Supports AMD K8 64 bit processors (Socket 754).



No sse USE flag?  You could try adding it and re-emerging Xorg.


Well, 3dnow, mmx and sse are all masked in the amd64 profile anyway...


To confirm your exact CPU, 'cat /proc/cpuinfo'.


It is an AMD Sempron 2500+


An 'lsmod' on this system under Gentoo.


Module  Size  Used by
w83627hf   34984  0
eeprom  8784  0
i2c_sensor  3840  2 w83627hf,eeprom
i2c_isa 2816  0
snd_seq_oss36608  0
snd_seq_midi_event  8320  1 snd_seq_oss
snd_seq56896  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss55712  0
snd_mixer_oss  18880  1 snd_pcm_oss
ohci_hcd   21316  0
snd_via82xx29312  4
snd_ac97_codec 91352  1 snd_via82xx
snd_pcm97420  5 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer  25544  3 snd_seq,snd_pcm
snd_page_alloc 11144  2 snd_via82xx,snd_pcm
snd_mpu401_uart 8320  1 snd_via82xx
snd_rawmidi28448  1 snd_mpu401_uart
snd_seq_device 10064  3 snd_seq_oss,snd_seq,snd_rawmidi
snd60200  16 
snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device

i2c_viapro  9300  0
i2c_core   23704  5 
w83627hf,eeprom,i2c_sensor,i2c_isa,i2c_viapro

ehci_hcd   31944  0
uhci_hcd   33568  0
8139too28800  0
nvidia   4055676  12

This is the current one. Back with Unichrome, I had via and drm loaded 
in place of nvidia.


Nothing fancy in there I guess.


An 'emerge -pv xorg-x11'.


[ebuild   R   ] x11-base/xorg-x11-6.8.2-r4  (-3dfx) (-3dnow) 
+bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server 
-insecure-drivers +ipv6 -minimal (-mmx) +nls -nocxx +opengl +pam -sdk 
(-sse) -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB 




A 'cat /etc/X11/xorg.conf'.


This is errr one of the xorg.conf files used of Unichrome. The other one 
had dri disabled, that's all...


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/lib64/X11/rgb
ModulePath   /usr/lib64/modules
FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/TTF/
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/CID/
FontPath /usr/share/fonts/75dpi/
FontPath /usr/share/fonts/100dpi/
EndSection

Section Module
Load  xtrap
Load  dbe
Load  glx
Load  dri
Load  extmod
Load  record
Load  type1
Load  freetype
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel pc105
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol IMPS/2
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5
# Option  Emulate3Buttons yes
EndSection

Section Monitor
Identifier   Monitor0
VendorName   LG Electronics
ModelNameStudioWorks 700i
HorizSync30 - 70
VertRefresh  50 - 160
Option   dpms
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option ShadowFB  # [bool]
#Option VGAClocks # [bool]
#Option KGAUniversal  # [bool]
Identifier  Videocard0
Driver  via
VendorName  VIA Technologies, Inc.
BoardName   S3 Unichrome Pro VGA Adapter (rev 01)
BusID   PCI:1:0:0
Option  ForcePCIMode True
EndSection

Section Screen
Identifier Screen0
Device Videocard0

Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-19 Thread Mrugesh Karnik

Benno Schulenberg wrote:

You've said you have an MSI K8M800 motherboard.  Looking at 
http://www.msicomputer.com/product/p_list.asp?class=mbcpu=3, such 
boards only support Sempron 2600+, 2800+, 3000+, 3100+, 3300+, 
not a 2500+.  This may not be a problem, but then again, it might 
not be listed for a reason.


http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=647

That's the motherboard actually. K8M800-CE is the chipset name from VIA.

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



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-18 Thread Mrugesh Karnik

Benno Schulenberg wrote:


Flaky hardware?  Timings too fast in the BIOS?


What timings? :S

Kernel misconfigured?  When the vesa driver doesn't give acceptable 
performance, there is something wrong.  You might want to actually 
answer the questions I asked earlier.


I couldn't answer the questions back then due to a number of factors. 
Anyway, I still can't post the output of lsmod from my FC4 system, as I 
won't be able to boot into it for another couple of days atleast.


Here's something you asked for:

CONFIG_AGP=y
CONFIG_AGP_AMD64=y
# CONFIG_AGP_INTEL is not set

CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
CONFIG_DRM_VIA=m

CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_SCSI_SATA_VIA=y
CONFIG_VIA_RHINE=y
CONFIG_VIA_RHINE_MMIO=y
CONFIG_VIA_VELOCITY=y
CONFIG_DRM_VIA=m
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
CONFIG_SENSORS_VIA686A=m


Here's emerge --info:

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, 
glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64)

=
System uname: 2.6.13-gentoo-r5 x86_64 AMD Sempron(tm) Processor 2500+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox:1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=amd64
AUTOCLEAN=yes
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=k8 -pipe -O2
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.4/env 
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/share/config /var/qmail/control

CONFIG_PROTECT_MASK=/etc/gconf /etc/splash /etc/terminfo /etc/env.d
CXXFLAGS=-march=k8 -pipe -O2
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig ccache distlocks nostrip sandbox sfperms strict
GENTOO_MIRRORS=http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo;

LC_ALL=en_GB.UTF-8
LINGUAS=en_GB
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=amd64 X a52 aac acl acpi alsa apache2 arts audiofile avi 
bash-completion bcmath berkdb bitmap-fonts bluetooth bzip2 cdparanoia 
cdr crypt curl dbug dbus dio directfb dri dvd dvdr dvdread emboss 
emul-linux-x86 encode esd exif expat fam fbcon ffmpeg flac foomaticdb 
fortran ftp gd gif gpm gstreamer gtk2 hal idn imap imlib ipv6 jabber 
jack jack-tmpfs javascript jpeg kde kerberos krb4 lcms ldap libwww 
lm_sensors lzw lzw-tiff mad maildir mailwrapper mbox mhash mime mng mp3 
mpeg msn musepack mysql ncurses nis nls nptl nptlonly offensive ogg 
opengl pam pcre pdflib perl php png portaudio posix python qt quicktime 
readline real samba sdl sndfile snmp spell ssl svg sysvipc tcpd tiff 
till timidity truetype truetype-fonts type1-fonts udev unichrome unicode 
usb userlocales vcd verbose vorbis xine xml xml2 xpm xsl xslt xv xvid 
yahoo zlib video_cards_via linguas_en_GB userland_GNU kernel_linux 
elibc_glibc

Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS

Anything else you'd like to know?

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



[gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-17 Thread Mrugesh Karnik

Well hi again,

It took longer than I expected to change the server. Anyway.

The VIA Unichrome situation turned out to be a no-go for me. I had to 
install an NVIDIA GeForce FX5200 on the machine and get X running.


I think this whole thread and me compiling various Xorg versions about 8 
or 9 times was a waste of time. Because as it turns out, fluxbox, even 
on the nvidia drivers took ages to open xcalc and such. The only 
difference was that, the mouse pointer moved properly with nvidia 
drivers when fluxbox was trying to open xcalc. With vesa, the pointer 
lagged like hell!


Something interesting did happen though. I had that Unknown device in 
my lspci output for both Gentoo and FC4 when I was on VIA Unichrome. Now 
after switching to nvidia, I can see a Host Bridge properly identified 
in its place. I wonder why that would be?


I still am confused about one thing though... which exactly is the 2D 
driver for VIA Unichrome?


I apologise to those who wasted their time reading this thread and 
replying in it.. but I found the problem worth investigating and I am 
still intrigued by it..


Regards and a sincere thanks,
Mrugesh
--
gentoo-user@gentoo.org mailing list



[gentoo-user]Specific umask for a specific ext3 filesystem

2005-11-17 Thread Mrugesh Karnik

Hello,

I have couple of ext3 partitions for my data. I need to mount them in 
such a way that all the files created on those partitions would always 
bear a umask which is different from the umask globally set in 
/etc/profile. How do I achieve this?


I tried mounting the partition with umask=whatever option, but 
apparently, according to man mount, umask option isn't available for ext3.


Temporarily, I've put a little code into /etc/conf.d/local.start that 
checks if the the partitions are mounted and if they are, chmod's them. 
This, I don't think will be a good idea, once data starts filling up the 
partition


Help would be really appreciated.

Thanks,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ccache disabled

2005-11-15 Thread Mrugesh Karnik

Roger Mason wrote:

Hello,

I have installed ccache and followed the instructions in the official
documentation to set it up.  Specifically I have this in my
/etc/make.conf:

MAKEOPTS=-j6
FEATURES=ccache
# Probably not required but...
CCACHE_DIR=/var/tmp/ccache
CCACHE_SIZE=2G
FEATURES=distcc
DISTCC_DIR=/var/tmp/portage/.distcc


I put CCACHE_DIR in /etc/env.d/00basic

Also, you'll need FEATURES=ccache

That worked. Do an env-update and a source /etc/profile if you want to 
use it in the current shell.


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



Re: [gentoo-user] [OT] Best video player

2005-11-15 Thread Mrugesh Karnik

what's the best video player in your opinion?


Kaffeine is great for playing DVDs. I use kaffeine when in KDE. Kplayer 
is also good. Kplayer can use xine or mplayer as the backend, which is a 
nice feature. I prefer mplayer with directfb on the console though. 
Mplayer simply is great!


Do not underestimate VLC though. I had some problems with its GUI, 
because I didn't compile it with wxwindows support. That I guess is an 
error on my part. But VLC is great! I use VLC in Windows. Haven't used 
it as much on Linux, but I think VLC has the best sound output.


Cheers,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-14 Thread Mrugesh Karnik

Benno Schulenberg wrote:

Mrugesh Karnik wrote:


Well, the kernel modules have been loaded already...



Which ones precisely?  See the output of 'lsmod'.
Do an 'lsmod' on your FC4 too and compare.


That'd be drm and via


I noticed one thing, the agpgart option in the kernel is always
disabled... !x86_64 says the Help for that option. As it is, I
have a PCI card...  



What PCI card?  The Unichrome chip isn't a card.  And it does need 
AGP, via_agp for the 400 chips, amd64_agp for the 800 chips.  See 
the first line of 'lspci' for what chip you have.


Hmmm. The first line of lspci is Unknown Device

00:00.0 Host Bridge: VIA Technologies, Inc.: Unknown Device 0204

And this is my graphics card:

01:00.0 VGA compatible controller: VIA Technology, Inc. S3 Unichrome Pro 
VGA Adapter (rev 01)


Is the via driver present on your FC4?  And if so, have you tried 
using it there?  Maybe it simply doesn't work, by being unable to 
handle 64 bits?


Which drivers exactly? As it is, I'm having problems with 2D performance 
and am not really concerned about 3D performance. The drm and via 
modules loaded above are 3D related... Hmmm.


Thank you,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-12 Thread Mrugesh Karnik

Richard Fish wrote:

I think we have a failure to communicate here


Actually no...


The via_drv I am talking about is an _x.org_ driver, not a kernel
driver.  It has nothing to do with the kernel sources or rebuilding
the kernel.  It should exist at /usr/lib/modules/drivers/via_drv.o
(along with all other X11 drivers).


I know! My xorg just doesn't want to compile that file! So what I tried 
was to enable the VIA drivers in the kernel. It then compiled both 
drm.ko and via.ko and also via_drv.o, but the via_drv.o never left the 
/usr/src directory.



I don't understand why you don't have this file.  The only case this
should be missing is if you have USE=minimal.  Could you please post
the output of emerge -pv xorg-x11?


I surely didn't use the minimal flag. The first time I had enabled 
insecure-drivers and disabled font-server. Then after reading your first 
email, I tried to compile it with the same USE flags as yours.



Once you have this file, then you will need to update your xorg.conf
Device section and change the Driver option to via.


Already tried that, but of course, no via_drv.o!


The kernel has a DRM driver for via, that (if compiled as a module)
will be installed under /lib/modules as via.ko.  To load that, you
will modify /etc/autoload.d/kernel-2.6 to add the line via. 
However, again, this is only for DRI/DRM support, and will almost

certainly require using the X11 via driver, so let's worry about that
later!

-Richard



Well, the kernel modules have been loaded already...

I noticed one thing, the agpgart option in the kernel is always 
disabled... !x86_64 says the Help for that option. As it is, I have a 
PCI card...


I just can't understand why the file isn't compiled by xorg. Not to 
mention, FC4 uses vesa and works perfectly. I wonder what's going on 
with Gentoo :(


Thanks for your help so far,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-12 Thread Mrugesh Karnik

Holly Bostick wrote:


Possibly because you don't have the 'insecure-drivers' USE flag enabled:


I had insecure-drivers enabled the first time I compiled xorg. I think I 
had disabled it in the subsequent compilations. I found an ebuild with 
VIA Unichrome USE flag and patches added; in the forums. I'll try that 
ebuild because it's been reported to have worked. I'll also make sure 
that I enable insecure-drivers this time! I'll know the results in about 
an hour and half... Hope it works.



Like most binary distros, the FC RPMs probably enable everything
'enableable'. I have no idea why the drivers are considered 'insecure',
but assuming they are (which would not surprise me), it's well within
the realm of possibility that they fall under the you have to know what
you're doing and decide for yourself' section of the Gentoo design
philosopy (which is the major thrust of the Gentoo design philosopy, so
that doesn't surprise me either).

Why FC 4 would enable them and Gentoo would mark them as insecure
well, heck-- FC4 uses GCC 4.0 *by default* as I understand it, and we
have it completely masked (and most other distros don't use it either,
afaik, certainly not by default yet). So since FC4 seems to want to live
even further out on the 'bleeding edge' than we are said to do, again,
I'm not surprised that the drivers would be enabled by default, no
matter their status in terms of security, completeness, or stability.

HTH,
Holly


Hmmm. Well, I love my Gentoo. I can always use the bleeding edge stuff 
with ~ keywords (As you would already know of course ;))! Anyway, I 
think Mandriva 2006 also uses GCC 4 by default now. It also comes with 
xorg 6.8.9*. I read on xorg.freedesktop.org that the new xorg release 
includes updates from the VIA Unichrome project. I looked into portage 
and yaay! The VIA drivers package is there.. Only, its -amd64. I am on 
AMD64. I'm wondering what to do.


If all fails, I'll have to buy an NVIDIA AGP card I guess. I love Gentoo 
too much to remove it just because of this graphics card issue. (Wise 
choice spending money on an FX5200 just to have Gentoo running??? Well, 
I can always install UT and say to myself, YES! Wise choice indeed :P )


Regards,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-12 Thread Mrugesh Karnik

Richard Fish wrote:
  Too many variables to answer that question...kernel versions, kernel

configuration, kernel patches, frame buffer options, xorg versions,
xorg patches, and so on.  You could try to eliminate some of those
variables by using the same kernel version  .config under both.


Ay! Great idea! I think I'll get the FC4 kernel sources and the .config 
file as well! Let's see how it goes!


Thanks again!
Mrugesh
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-10 Thread Mrugesh Karnik

Hi,

I just installed Gentoo on an AMD64 Sempron machine. RAM is not a 
problem.. 1GB of it.


I just emerged xorg-x11. The graphics card is VIA Unichrome onboard. I 
have a perfectly fine working FC4 system. I used the FC4 xorg.conf file. 
First ran Xorg -configure. Kept all the paths from Gentoo and filled in 
stuff like mouse, keyboard, monitor and graphics card configuration from 
the FC4 file. I tested the file with X -config /root/xorg.config.fc4 and 
it worked fine. I then copied it to /etc/X11/xorg.conf and gave startx. 
But twm refused to start. I could just a see a black screen with a black 
X mouse pointer in the middle. I moved it and it was lagging very badly. 
So I killed the X server and emerged fluxbox.


Fluxbox started fine. But when I tried to open xedit.. it went terribly 
slow.. Same thing with xcalc. People in #xorg on Freenode told me that I 
needed to look for via_drv.o module. I didn't find it. Xorg doesn't 
install it. vesa gives very bad performance as stated above. 
Interestingly, vesa is what FC4 uses and it runs absolutely fine!


What am I to do? I would appreciate any help anyone can offer!

Thank you,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-10 Thread Mrugesh Karnik

Richard Fish wrote:

On 11/10/05, Mrugesh Karnik [EMAIL PROTECTED] wrote:


Hi,

I just installed Gentoo on an AMD64 Sempron machine. RAM is not a
problem.. 1GB of it.

I just emerged xorg-x11. The graphics card is VIA Unichrome onboard. I
have a perfectly fine working FC4 system. I used the FC4 xorg.conf file.
First ran Xorg -configure. Kept all the paths from Gentoo and filled in
stuff like mouse, keyboard, monitor and graphics card configuration from
the FC4 file. I tested the file with X -config /root/xorg.config.fc4 and
it worked fine. I then copied it to /etc/X11/xorg.conf and gave startx.
But twm refused to start. I could just a see a black screen with a black
X mouse pointer in the middle. I moved it and it was lagging very badly.
So I killed the X server and emerged fluxbox.

Fluxbox started fine. But when I tried to open xedit.. it went terribly
slow.. Same thing with xcalc. People in #xorg on Freenode told me that I
needed to look for via_drv.o module. I didn't find it. Xorg doesn't
install it.



I don't use it, but it looks like I got a via_drv on my install of
xorg-x11.  Which version of xorg-x11, and what USE flags?

carcharias rjf # locate via_drv
/usr/lib/modules/drivers/via_drv.o
/usr/src/linux-2.6.14/drivers/char/drm/via_drv.c
/usr/src/linux-2.6.14/drivers/char/drm/via_drv.h
/usr/src/linux-2.6.13-suspend2-r5/drivers/char/drm/via_drv.c
/usr/src/linux-2.6.13-suspend2-r5/drivers/char/drm/via_drv.h

carcharias rjf # equery belongs /usr/lib/modules/drivers/via_drv.o
[ Searching for file(s) /usr/lib/modules/drivers/via_drv.o in *... ]
x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/drivers/via_drv.o)
carcharias rjf # emerge -vp x11-base/xorg-x11

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

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow +bitmap-fonts
-cjk -debug -dlloader -dmx +doc +font-server -insecure-drivers +ipv6
-minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static
+truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB

Total size of downloads: 0 kB




Hmmm. I am using the stable version. That's 6.8.2-r4. I'll try emerging 
r6. One thing.. my Sempron surely supports mmx and sse. I have both of 
those USE flags in my make.conf, but when emerging something, both those 
flags are in the () and are not used... why is that?


Thanks,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-10 Thread Mrugesh Karnik

Richard Fish wrote:

On 11/10/05, Mrugesh Karnik [EMAIL PROTECTED] wrote:


Hmmm. I am using the stable version. That's 6.8.2-r4. I'll try emerging
r6.



Well, give it shot.  But looking at the ChangeLog, I don't see any
references to via driver changes in -r5 or -r6, so I wouldn't hold my
breath that you will see a difference just from the minor bump in the
ebuild version.

However, looking through the ebuild, it looks like the 'via' driver
will be disabled if you use the 'minimal' flag.  So make sure you
don't merge with that in any case!



One thing.. my Sempron surely supports mmx and sse. I have both of
those USE flags in my make.conf, but when emerging something, both those
flags are in the () and are not used... why is that?



Flags in () are hard-masked by the profile.  In this case,
/usr/portage/profiles/linux-default/use.mask masks out mmx, mmx2, sse,
and others.  It is then up to the profile-specific mask to unmask them
if they will work there...and at present only the x86 profile does
this, so if you are using the amd64 profile, these flags are simply
disabled.

Ebuilds can still add the appropriate CFLAGS or configure options to
enable mmx/sse however.  The xorg-x11 ebuild does this for the amd64
profile.

-Richard



Still no luck. I tried compiling VIA Unichrome suppport in the kernel, 
but the kernel version of via_drv.o doesn't move out of /usr/src. 
xorg-x11-6.8.2-r6 doesn't compile via_drv.o and my X is performing very 
badly!


What I don't understand, is why it would work perfectly fine on FC4 and 
not on Gentoo with vesa driver!


Thanks,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Mrugesh Karnik

brullo nulla wrote:

Looks like your hard drive has something bad, bad, bad.
Try to run the badblocks utility, maybe not from Gentoo but from a live-cd.

m.



Even then, you might get the same errors. Looks like a hard disk failure 
to me.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Mrugesh Karnik

I think hard drive failure is a possibility, although it's kind of
funny that the failure should be limited to just that /usr partition! 
Or does that happen sometimes?  I'll try badblocks and see what I get.


My dear fellow, I speak from experience. Just last month a hard disk 
(IDE) of mine died after giving out io errors first on the logical 
volume that hosted my /usr/portage. Then my entire volume group started 
giving the same errors and the next thing I know, the drive is dead!


Thinking about it though, is it just a mere coincidance that the errors 
started with /usr/portage?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-28 Thread Mrugesh Karnik

A. Khattri wrote:

On Fri, 28 Oct 2005, Qiangning Hong wrote:



My gentoo system on an IBM Thinkpad R52 crashs randomly (usually when
CPU usage is high).  When it crashs, the whole system freezes -- mouse
point doesn't move, keyboard doesn't response, I even can't connect it
via ssh.  I had to hard reset the machine, therefore no error message is
left in the log files.  How can I find the reason?


Better get all the stuff backed up... Could be a hard disk failure 
coming your way!

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fbsplash problem !!!

2005-07-17 Thread Mrugesh Karnik

Allan Spagnol Comar wrote:

Hi, I am using kernel 2.6.12-r4 ans splashutils 1.1.9.7, I had tried
emergence and livecd-2005.0 themes and none had worked :(



Check your kernel config and see if you've used vesafb-tng. Also, set 
the resolution for vesafb-tng the same as the resolution of your splash 
theme. For example, on my system, im using the 1280x1024 version of 
emergence (2005.0/2005.1 doesn't work for me though) with the default 
console resolution for vesafb-tng set also to 1280x1024.


HTH.

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



Re: [gentoo-user] fbsplash problem !!!

2005-07-17 Thread Mrugesh Karnik

Allan Spagnol Comar wrote:

I tried to use bouth vesafb and vesafb-tng, in tng I used the same
resolution as the theme agian neather one of then worked


Are you trying Gensplash or Bootsplash?
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Installing kguitar - tse3 compile error!

2005-06-20 Thread Mrugesh Karnik
I wanted kguitar on my system. I got the ebuild from bugs.gentoo.org. It 
has a tse3 use flag. Now without it I get this:


   *
   *TSE3 not found!*
   *   *
   *   You will not have MIDI Support in KGuitar!  *
   *   *
   * Download TSE3 at: http://tse3.sourceforge.net *
   *   --  *
   *  If you have installed libtse3 in an unusual  *
   *   directory use --with-libtse3-include= *
   *  and/or --with-libtse3-libs=*
   *

I want MIDI support. So I enabled tse3 and emerged it. But tse3 isn't 
getting compiled. This is the output with gcc-3.3


/bin/sh ../../../libtool --mode=compile i686-pc-linux-gnu-g++ 
-DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src-O2 -march=pentium4 
-pipe -W -Wall -ansi -pedantic -c -o DisplayParams.lo `test -f 
'DisplayParams.cpp' || echo './'`DisplayParams.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src 
-O2 -march=pentium4 -pipe -W -Wall -ansi -pedantic -c DisplayParams.cpp 
-MT DisplayParams.lo -MD -MP -MF .deps/DisplayParams.TPlo  -fPIC -DPIC 
-o DisplayParams.lo
In file included from 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/backward/strstream:51,

 from ../../../src/tse3/file/XML.h:25,
 from DisplayParams.cpp:5:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/backward/backward_warning.h:32:2: 
warning: #warning This file includes at least one deprecated or 
antiquated header. Please consider using one of the 32 headers found in 
section 17.4.1.2 of the C++ standard. Examples include substituting the 
X header for the X.h header for C++ includes, or sstream instead 
of the deprecated header strstream.h. To disable this warning use 
-Wno-deprecated.

In file included from DisplayParams.cpp:5:
../../../src/tse3/file/XML.h:157: error: `void
   TSE3::File::XmlFileWriter::element(const std::string, unsigned 
int)' and `
   void TSE3::File::XmlFileWriter::element(const std::string, unsigned 
int)'

   cannot be overloaded
make[4]: *** [DisplayParams.lo] Error 1
make[4]: Leaving directory 
`/var/tmp/portage/tse3-0.2.7/work/tse3-0.2.7/src/tse3/file'

make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/tse3-0.2.7/work/tse3-0.2.7/src/tse3'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/tse3-0.2.7/work/tse3-0.2.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tse3-0.2.7/work/tse3-0.2.7'
make: *** [all] Error 2

!!! ERROR: media-libs/tse3-0.2.7 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status 
message.



I get a similar error with gcc-3.4.4

Any ideas?

Thanks,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installing kguitar - tse3 compile error!

2005-06-20 Thread Mrugesh Karnik

Noah Roberts wrote:

Mrugesh Karnik wrote:



I wanted kguitar on my system.



Does kguitar do ProTab?  I don't see it on their site but they seem to
support guitar pro, which has no OSS library to work with and figured
maybe protools would be supported since there is.



Well, I don't know about ProTab, but I saw Guitar Pro support too..

Anyways, as for my problems, I looked up the forums and the bugs.. fixed 
some ebuilds... patched some... and well, tse3 is compiling right now. 
Oh and just as I type this, I can see it merged successfully! Now I'll 
emerge kguitar and Noah, will tell you how it is ;)


Thanks,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installing kguitar - tse3 compile error!

2005-06-20 Thread Mrugesh Karnik

Noah Roberts wrote:

Noah Roberts wrote:



Mrugesh Karnik wrote:





I wanted kguitar on my system.
  



Does kguitar do ProTab?



I meant powertab.



I don't think so.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ooffice 2.0 and kde

2005-06-17 Thread Mrugesh Karnik

Richard Fish wrote:

Massimiliano Bellomo wrote:



I mean the rendering of the KDE native widget, icons, file dialog
(open, save as, ...); in 2 words the use of the kde look  feel.
I've red somewhere that OO 2.0 will have this feature, but my beta
release looks always like a java application.




I did some more digging, and it seems you are correct in thinking that
OOo should have this feature.  But it doesn't seem to be enabled in the
binary beta builds.

I did an strace of the OOo startup under KDE, and it looks for but
doesn't find a library named libvclplug_kde608li.so.  Since it doesn't
find that, it drops to libvclplug_gen680li.so, which is what results
in the generic 'java' look.

The closest I got to the KDE LF is by installing the Geramik theme
(x11-themes/gtk-engines-geramik), since I use Keramik in KDE, and
updating my ~/.gtkrc-2.0 file to include that.  I also had to start OOo
with OOO_FORCE_DESKTOP=gnome oowriter.

If you don't like the look of Keramik/Geramik, you can probably find
another GTK theme that you do like.  Hopefully, a future build of the
beta and/or the final release will include the KDE plugin.

Cheers,

-Richard




Well, I am not very much knowledgable about this issue. But, as far as I 
know, the SuSE folk modify their version of OOo to integrate with KDE. 
The native KDE looks and such... Apparently, as I have read somewhere, 
the SuSE folk are in sync with the community. Maybe, these changes will 
be in OOo 2.0.


Regards,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list



[gentoo-user] package.* mess!

2005-05-25 Thread Mrugesh Karnik

Hello all,

My Gentoo system is up and running beautifully. Along the way, I've 
installed many software. But, now, I want to make it all systematic, ie, 
use the files like package.use, package.keywords etc to list out the 
options i've used for the different software. Now the problem is that 
I've installed the software with different use flags and keywords right 
now the command line. Now I want to make it systematic and proper. I'm 
just wondering if you people could help me find a good way as to how to 
go about this. Right now I can see myself doing a very very tedious job 
of using equery and such and listing out everything properly... a few 
hours' work. I'm prepared to do it of course, but I'd like any 
suggestions that might help me do it better.


Thank you.

Yours faithfully,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Help with partitioning

2005-05-22 Thread Mrugesh Karnik

Boyd Stephen Smith Jr. wrote:
On Tuesday 26 April 2005 08:34 am, Dave Nebinger [EMAIL PROTECTED] 
wrote:


Well, it's also really useful when you don't know you exact requirements 
(and when do you?) because it lets you shrink/expand volumes with much 
less hassle than doing the same thing with partitions.


Also, even if you only have one drive now, who says you won't add another 
one later?  With standard partitions, it impossible to grow one partition 
onto the other drive.  It's trivial to do with LVM and you can also take 
advatage of LVM striping -- the poor man's software raid :).


Unless I know I'm never going to upgrade the system *and* I can justify 
just throwing everything ('cept /boot) onto a single partition, I say 
always go with LVM.


Actually, now the system is up and I converted all the windows 
partitions into Linux ones. All the data has been moves from those 
partitions to the Linux ones. In the process, I added another 2 hard 
disks. I had to extend the data partitions 3 or 4 times according to the 
need... It's just so easy with LVM2. I'm glad I went for it! Well worth it!


Regards,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list



[gentoo-user] pppoeconf and pppstatus... How do I install them?

2005-05-08 Thread Mrugesh Karnik
Hello,

I'm on Knoppix right now and I found pppoeconf and pppstatus to be
really good. They both aren't in portage. There is an alternative to
pppstatus in portage, which I can do with. But I would really like to
use pppoeconf. How do I install it? I would want portage to recognize
that it's installed. I would have liked to write an ebuild, but I'm no
programmer... Could anyone help?

Thanks,
Mrugesh Karnik

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] The 2005.0 LiveCD hates me! :'(

2005-05-06 Thread Mrugesh Karnik
OK. I just booted into Windows right now. This is the 5th time I've 
tried to install Gentoo from the 2005.0 LiveCD and have failed. Now, 
before you make any comments about anything... I've installed Gentoo 
from the 2004.3 LiveCD and had used it for over a month. IIRC, in my 
second attempt, I got it working fine with 2004.3. Anyways...

Firstly, I managed to boot into the installed system once, but stuff 
like KDE failed to emerge. After that, I had to switch the hard disk, so 
I chose to reinstall anyways. Also, when in the chrooted environment, 
after compiling and installing the kernel and nvidia-kernel, nano breaks 
up. When I say nano -w /etc/modules.autoload.d/kernel-2.6, the console 
gets garbled and I have to use Alt+SysRq+e to get back to the prompt!

Also, I have this problem with netmount trying to start (and failing) 
during boot up that I haven't found an answer to...

All in all, I'm completely frustrated and pissed off. Now, I'm looking 
for alternatives. Maybe I can install from the 2004.3 LiveCD but I'm 
using LVM2 and I don't think the 2004.3 LiveCD supports it. Someone 
(sorry I don't remember the name) suggested to me in #gentoo that it has 
LVM1... So can someone please tell me how I can accomplish an 
installation with LVM2?

Also, can I install 2005.0 using the Knoppix CD? I think Knoppix 
supports LVM2... right?

Guys, I seriously need ideas... I can't afford to waste too much time 
trying to install Gentoo... But I certainly don't want to move back to 
those rpm based distros...

Faithfully,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] test

2005-05-06 Thread Mrugesh Karnik
Jan Han Xie wrote:
Hi,
Sorry but it seems my post won't appear in the list...
This is a test post.
I got the email...
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Installing 2005.0 with LVM2

2005-05-01 Thread Mrugesh Karnik
OK. Installation complete. Everything went fine (well, I'm a lier ;) ). 
Anyways, just a few more queries...

During the installation, I extended one of the volumes by 2GB. But if I 
run df -hT, it still shows me the previous value. Why is this? How do I 
solve this?

Also, after installation, now, if I want to expand a volume, do I have 
to do it from the LiveCD?

Thanks,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: Installing 2005.0 with LVM2

2005-05-01 Thread Mrugesh Karnik
Eamon Caddigan wrote:
W.Kenworthy [EMAIL PROTECTED] wrote:
Depends on the filesystem type: I use reiserfs and the tool is
resize_reiserfs from sys-fs/reiserfsprogs.  I have increased the size on
partitions containing data with no problems at all, but have not tried
to reduce a partition yet (you shrink the fs first, then the LVM
partition).

I've reduced reiserfs partitions, and it works. Takes a *lot* longer
than increasing their size, natch. 

I wouldn't try it with important data that has not been backed up. Okay
I'm lying, I totally would. But *you* shouldn't.
-Eamon

What are the tools for ext3?
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: Installing 2005.0 with LVM2

2005-05-01 Thread Mrugesh Karnik
Oh, I found the information on how to resize the partitions in the LVM 
HOWTO at TLDP. Thanks guys for all your replies :)

Regards,
Mrugesh
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Error while bringing eth0 up

2005-05-01 Thread Mrugesh Karnik
Hello,
Following the installation guide, I've set the value of eth0 to up as 
I use rp-pppoe. While booting the system, I get an error similar to 
following:

No loaded modules provide up (up_start)
Error starting required services
netmount not started
What have I done wrong? I haven't encountered this with my previous 
Gentoo installations!

Oh, btw, I haven't emerged rp-pppoe yet!
Thanks,
Mrugesh
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Error while bringing eth0 up

2005-05-01 Thread Mrugesh Karnik
Hello,
Following the installation guide, I've set the value of eth0 to up as
I use rp-pppoe. While booting the system, I get an error similar to
following:
No loaded modules provide up (up_start)
Error starting required services
netmount not started
What have I done wrong? I haven't encountered this with my previous
Gentoo installations!
Oh, btw, I haven't emerged rp-pppoe yet!
Thanks,
Mrugesh
--
gentoo-user@gentoo.org mailing list


[gentoo-user] PPPoE auto reconnect

2005-04-29 Thread Mrugesh Karnik
Hello,
I've been using rp-pppoe to connect to the internet. I modified the 
config file to make it auto reconnect if the line got dropped, but 
somehow it doesn't work for me.

Now I'm wondering if I should use the kernel module or rp-pppoe. I 
haven't tried the kernel module yet, but there seems to be an auto 
reconnect option in the config file..

Also, how do I constantly keep a watch on whether the link is up or not?
Thanks,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] where is my /dev/cdrom using UDEV

2005-04-26 Thread Mrugesh Karnik
Wenju Zhang wrote:
I have install gentoo 2005.0 with udev (without devfs) following
the gentoo udev guide, http://www.gentoo.org/doc/en/udev-guide.xml
and http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV
I can't find the /dev/cdrom.
FYI
gt-dell rules.d # dmesg |grep hdc
Kernel command line: hdc=ide-cd ro
ide_setup: hdc=ide-cd
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hdc: SAMSUNG SC-140B, ATAPI CD/DVD-ROM drive
help me, please.
Thanks in advance.
zwj

My CD writer is found at /dev/cdroms/cdrom0
HTH
Mrugesh
--
gentoo-user@gentoo.org mailing list


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

2005-04-26 Thread Mrugesh Karnik
Thanks to all the people who replied. I finally bought the LG GSA-4163B. 
Interestingly, it must be the only component in my system that isn't 
made in China. This thing's made in Japan. Interesting! Well, I haven't 
had a chance to use it with Gentoo yet, but its working as expected on 
Windows (Ok. Don't hate me! I'm right now using the burner to backup the 
data, so that I can convert the entire disk to Linux, which right now 
takes up 15GB!)  Anyways, thanks once again for all your replies :)

Regards,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list


  1   2   >