Re: [gentoo-user] eth0 coming up

2003-11-14 Thread Prabhat Gupta
I think u are using DHCP for eht1. If you give it a static IP address
you wouldn't see that problem.
Prabhat

Kurt Bechstein wrote:

I have an hp laptop with a National Semiconductor ethernet controller in
it which works perfectly.  I'm also running the latest version of
mm-sources.  Sometimes when I boot up and do not actually have the
laptop plugged into the network it gets to the point of bringing up the
network interface and just goes right through it and moves on.  Then
other times it sits there  like it is trying to bring the interface up.
So I guess I'm not sure why it has different behavior between boots.
Anyone have any ideas?  Thanks.


--
[EMAIL PROTECTED] mailing list




--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] gcc optimizations

2003-10-28 Thread Prabhat Gupta
http://gcc.gnu.org/onlinedocs/

Chris Graves wrote:

OK, so some folks swear by -O3 optimizations, but alot of what I've 
read suggests -O2 produces faster binaries.

I have a Pentium III (coppermine) @ 900MHz with 512M RAM and 1G swap. 
What CFLAGS do I want? (questionably unstable optimizations that do 
produce better results are OK)

-chris



--
[EMAIL PROTECTED] mailing list

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Reading emails from both Gentoo Linux and MS Win

2003-10-22 Thread Prabhat Gupta
I guess, you will need to create a fat32 partition for data exchange and use
Mozilla email client.
Keep your emails on the fat32 partition.

I am assuming that LINUX and windows both can write on that partition.

let me know, if it works.

Prabhat

Sami Salonen wrote:

I have a dual setup with Gentoo Linux and MS Win XP. My wife uses Win XP
and sometimes while she's working I would like to be able to check my
emails without having to reboot to Gentoo.

In Gentoo I fetch my mails from my remote server with KMail  POP. I
have a shared disk with Win and now I would like to know what kind of
setup I need to have to be able to fetch my mails either from

a) Gentoo
b) MS Win

and have the same local mailbox available in both systems?

Can this be done with KMail and do I need to tell it to store mailbox in
some specific format? What software should I use in MS Win? Have anyone
else tried this?



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Converting video files

2003-10-21 Thread Prabhat Gupta
try transcode

emerge transcode

http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/html/index.html

Good luck
Prabhat
Paul Stear wrote:

Hi all,
I have some mpeg2 files that I want to include into my DV film at the 
editing
stage.
Is this possible? The mpegs are 720x576 pal format
Any advice will be welcome

regards
Paul

-- This message was sent using gentoo linux and kmail --


--
[EMAIL PROTECTED] mailing list





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Typematic rate

2003-10-20 Thread Prabhat Gupta
as root:

kbdrate -r 30 -d 250

Petric Frank wrote:

Hello,

how to change the typematic rate / delay of a keyboard ?

Actually i have a repetition rate of about 1/sec. And there is no 
setting in
the BIOS (Phoenix).

regards
  Petric


--
[EMAIL PROTECTED] mailing list





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] connection sharing question.

2003-10-16 Thread Prabhat Gupta
It is possible. I was doing same thing for 3-4 months.
except I had a Cable Modem :)
U have to use netfilter/IPtables. Your gentoo box will act as a firewall.
You can use shorewall to setup the router and also a firewall.
compile netfilter into kernel then
emerge iptables
emerge shorewall
read the setup files in

/etc/shorewall/

for shorewall setup

Prabhat

Richard J. wrote:

Hi
 
I have a question, and I am learning that getting an answer, and then 
finding someone to explain the answer is a bit difficult, lol. 
 
My current set up is I have two computers running the most awful 
operating system, Windows XP.  My internet connection is an external 
modem, sad, but this far in the middle of nowhere 56k is the best i 
can do.  Anyway, both computers are connected with a single Ethernet 
cross over cable, no switch or hub.  And put together as a home 
network to share my internet connection with the business computer.  
What I want to do is change my computer to Gentoo.  And I am 
wondering, if I do that, is it still possible to share my connection 
to the other computer which has to stay on XP?  If it is possible is 
there anyone who can't help me do it.
 
Thanks
Richard


--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Keyborad refresh rate annoyance

2003-10-07 Thread Prabhat Gupta
Thanks Brian

I am sorry about the thread :(

Prabhat

Brian Richardson wrote:

On October 6, 2003 01:49 pm, Prabhat Gupta wrote:
 

Hi,

I have following in my local.start

kbdrate -r 30 -d 250

still, I have to give the same command (as root) everytime I boot into
KDE ( I don't have GNOME).
What can I do to fix this.
   

You can add that line before startkde in /etc/X11/Session/kde-3.1.4 (or 
whatever version you are running).

Also, please don't begin a new thread by replying to an existing message. It 
won't show up correctly in a threaded mail agent.

Regards,
Brian
 



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] how can i add iptables to my gentoo-soruces kernel?

2003-10-06 Thread Prabhat Gupta


emerge iptables



HvR wrote:

i wanted to set up shorewall firewall but noticed that i dont have the 
iptables module compiled in my gentoo-sources kernel, what do i turn 
on in the kernel config to make it compile it?

i have tried a bunch of stuff but either it still doesnt compile or 
the compile breaks. my current kernel is 2.4.2-gentoo-r7 i have run 
genkernel --config and set the iptable (replaces ipchains) compile 
option but that doesnt seem to be enough.



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] how can i add iptables to my gentoo-soruces kernel?

2003-10-06 Thread Prabhat Gupta
http://www.gentoo.org/dyn/pkgs/net-firewall/iptables.xml

Prabhat Gupta wrote:



emerge iptables



HvR wrote:

i wanted to set up shorewall firewall but noticed that i dont have 
the iptables module compiled in my gentoo-sources kernel, what do i 
turn on in the kernel config to make it compile it?

i have tried a bunch of stuff but either it still doesnt compile or 
the compile breaks. my current kernel is 2.4.2-gentoo-r7 i have run 
genkernel --config and set the iptable (replaces ipchains) compile 
option but that doesnt seem to be enough.



--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list


[gentoo-user] Keyborad refresh rate annoyance

2003-10-06 Thread Prabhat Gupta
Hi,

I have following in my local.start

kbdrate -r 30 -d 250

still, I have to give the same command (as root) everytime I boot into 
KDE ( I don't have GNOME).

What can I do to fix this.

Thanks in advance!

Prabhat

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] why does gentoo insist on emerging ck-sources ?

2003-10-03 Thread Prabhat Gupta
I think, open file

/var/cache/./virtual

and edit

sys-kernel line ot only include installed kernels.

oom wrote:

greets to all who are wise and curious!

something strange is going on, I can't see why gentoo wants to emerge
the ck-sources, I am not using them (at least not now and ummerged them)
but still:
# emerge world -up | grep source
[ebuild  N] sys-kernel/ck-sources-2.4.22-r2 

# grep source /var/cache/edb/world
sys-kernel/gentoo-sources
# etcat -d ck-sources
[ Results for search key : ck-sources ]
I don't get why it wants to install them ?

--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] printing multiple pages per sheet

2003-10-03 Thread Prabhat Gupta
try using enscript program.

Brian Richardson wrote:

Hello,

I'm trying to print some text documents with multiple pages per sheet. 
However, these options on the printer's property sheet. Could anybody suggest 
what may be missing? My printer, a Lexmark Optra E+ supports PostScript.

Thanks,
Brian
 



--
[EMAIL PROTECTED] mailing list


[gentoo-user] deleeting files in /usr/portage/distfiles

2003-10-03 Thread Prabhat Gupta
Hi,

Can I delete files in

/usr/portage/distfiles

to same some space??

Thanks
Prabhat
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] SuSE Kernel Sources

2003-10-02 Thread Prabhat Gupta
Great job!

I will try that sometime.

Prabhat

Paul Varner wrote:

All:

Being a big fan of SuSE before coming to Gentoo, I was interested to note
that gentoo had RedHat kernel sources, but not SuSE sources.  Since I have
always preferred the stability of the SuSE kernel over RedHat's [I know it's
a subjective opinion, so no comments please :) ] I decided to rectify the
situation and create an ebuild for the SuSE kernel sources.
I have installed the kernel on my desktops at work and at home and they have
been running solid with the SuSE kernel for about two weeks now, with no
issues arising concerning the kernel.
Some features of the SuSE kernel  that are not present in the
gentoo-2.4.20-r7 sources are ALSA support built in, and more extensive
support for Video for Linux support to include support for the Hauppauge
WinTV cards.
The gotcha's that I have noticed with using the SuSE kernel are:

1. The kernel sources are distributed by SuSE as an RPM.  The RPM data is
compressed with bzip instead of gzip.  I discovered that rpm2targz doesn't
understand bzipped RPM files and would not correctly process the rpm.
Because of this, an explicit dependency for the kernel is the rpm ebuild.
The only thing that is used from rpm is the rpm2cpio command to unpack the
sources into the ebuild sandbox.  I don't use rpm in any other way.  The
second dependency is cpio.  This one really isn't an issue since it is part
of the system, but to be safe, I included it anyway.
2. SuSE comes with ALSA ported into the kernel.  The ALSA version used by
SuSE is 0.9.0, while the Gentoo stable release is 0.9.2.  I have configured
the kernel to both use and not use the ALSA drivers bundled with the kernel
and have not noticed a problem using either configuration.
The following are the steps I took to install the kernel using genkernel.
For those of you who completely roll your own kernel, I'm making the
assumption, that you can figure it out from these instructions.  I am also
assuming that you already have your system up and running with another
kernel, and that you have some familarity with the kernel compiling process.
1. Get the ebuild from:
http://varnerfamily.org/pvarner/gentoo/suse-sources-2.4.20.100.ebuild.tar.bz2
2. mkdir /usr/local/portage
3. cd /usr/local/portage
4. tar xvjf suse-sources-2.4.20.100.ebuild.tar.bz2
5. Edit /etc/make.conf and uncomment the PORTDIR_OVERLAY variable and set it
to PORTDIR_OVERLAY=/usr/local/portage
6. emerge suse-sources
7.cd /usr/src
8. rm linux
9. ln -s linux-2.4.20-SuSE-100 linux
10. cp /usr/src/linux-2.4.20-gentoo-r7/.config
/etc/kernels/config-2.4.20-SuSE-100
11. genkernel --config
12. In the kernel configuration, Processor Type and Features, ensure that
Local APIC Support on uniprocessors and IO-APIC support on uniprocessors is
turned on or ACPI support will not compile.
13. In the file systems section, ensure that /dev file system support and
Automatically mount at boot is turned on.  Turn off /dev/pts file system for
Unix98 PTYs
14. Peruse through the rest of the configuration and set everything to match
your hardware and desires.
15. Exit and save the config
16. Let genkernel do it's thing.
17. Modify the boot loader and add the entry for the new kernel and initrd
Prior to rebooting, If I used built in ALSA support.
1. /etc/init.d/alsasound stop
2. emerge unmerge alsa-driver
3. emerge -i alsa-driver (inject the stub, so emerge -u won't try to
reinstall alsa-driver)
4. reboot
5. login or su to root after the reboot and use lsmod to insure the sound
modules loaded, use the alsamixer to make sure that the volume levels are
set correctly.
If I did not use the built in ALSA support.
1. /etc/init.d/alsasound stop
2. emerge alsa-driver
3. reboot
4. login or su to root after the reboot and use lsmod to insure the sound
modules loaded, use the alsamixer to make sure that the volume levels are
set correctly.
Rebuild the other drivers that depend upon the kernel.  For me, I have an
nvidia card and use vmware, so I also execute the following.
emerge nvidia-kernel
vmware-config.pl
If I get enough interest in the ebuild, I will submit it to gentoo for
possible inclusion in the portage tree.  At this point, besides determining
possible interest, I'm also looking for problems with the ebuild as well as
enhancements.
One of the things that I would like to see, is an ebuild for creating only
rpm2cpio.  I have figured out how to build and install only rpm2cpio
manually from the rpm sources.  But I haven't decided the better method for
creating and using such an ebuild.  Should it block the install of rpm, or
should the rpm ebuild be modified to unmerge the rpm2cpio ebuild if it is
installed.  Secondly, I'm not sure how I would specify in the suse-sources
ebuild, the either the rpm or rpm2cpio ebuild would satisfy the dependency.
Finally, as the SuSE /etc/motd would say Have a Lot of Fun!

Regards,
Paul Varner


--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software 

Re: [gentoo-user] Question about ATA RAID controllers...

2003-10-02 Thread Prabhat Gupta
If you do a RAID 0 setup you will get a performance boost. It's a good idea.

Walther The Writer wrote:

I beleive I have hardware ATA RAID controller, becuase when I'm booting up with gentoo 
doataraid kernel option
the setup says it is detected and when I do modprobe ataraid, no errors appear. When I 
do modprobe pdcriad or hptraid.
modules can't be loaded with a bunch of errors, so I assume that I have ataraid. Now, 
if I do Kernel configuration,
what options have to be selected? How can I collect more information about my ata raid 
controller from Windows machine?
( I do not have Linux installed yet, struggling) 1)Do I need to select HPT336/337C 
chipset support? 2)Do I need to sellect
IDE Raid support? ( I think I do ).3) Highpoint? No, right, since mu modprobe failes. 
Or do I have to select them all?
Do I have to create /mnt/gentoo/dev directory before mount it?

Do installing the system on ATA RAid have some advantages? ( I have install Slackware 
even without knowing that
Raid exists).
Thanks,
Walther.


Code listing .1: Loading RAID modules
# modprobe ataraid
For Promise Raid Controllers:
# modprobe pdcraid
For Highpoint Raid Controllers:
# modprobe hptraid
Some ATA RAID Controllers require you to reboot after partitioning; formatting will 
otherwise fail.
Before chrooting, mount the devicetree into the new environment:
Code listing .2: Mounting /dev into /mnt/gentoo/dev
# mount -o bind /dev /mnt/gentoo/dev
During kernel configuration, select the required RAID options:
Code listing .3: RAID in the Linux Kernel Configuration
For Highpoint RAID controllers:
ATA/IDE/MFM/RLL support  ---
[*] HPT36X/37X chipset support
[*] Support for IDE Raid controllers
[*] Highpoint 370 software RAID
For Promise RAID controllers:
ATA/IDE/MFM/RLL support  ---
[*] PROMISE PDC202{46|62|65|67} support
and/or
[*] PROMISE PDC202{68|69|70|71|75|76|77} support
[*] Support for IDE Raid controllers
[*] Support Promise software RAID (Fasttrak(tm))
--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] RE: [gentoo-dev] Migrating to a commercial PHP-based forums package for forums.gentoo.org

2003-09-29 Thread Prabhat Gupta
I agree

Bjorn Sodergren wrote:

Open Source/GPL , free meaning no $$ needed, or gotta-pay for it, it doesn't
matter as long as the tool you're using is the right tool for the job.
If you insist on using the wrong tools ONLY because you think it is
un-ethical to use non-free software, you should reconsider your priorities.
After all, if you had to rent a specific tool (i.e. ball-joint splitter) to
work on your car, or use what common tools (i.e. a hammer) you have laying
around your house, what would you do ?


 

Another option is to migrate to an alternate forums package.  
Specifically, vBulletin, which has proven to be quite 
scalable and effective with larger sites.  The main drawback 
to this is the fact that it is a commercial software package, 
which tends to raise the ire of some of the more zealous GNU 
folks out there.

So, my question to you is, how would you feel if we were to 
do this? Horribly offended?  Saddened because there isn't a 
GPL'd program to meet our needs, but pragmatic about the need 
to do *something*?  Or C, none of the above?

Basically, the choice comes down to one of two things:

1) Lose some older posts and stay on a GPL-compatible package
2) Move to a commercial solution and keep all the posts.
Note that vBulletin *is* open source in that you have access 
to the source code and can modify it.  It's just not Free.

Finally, to keep this process somewhat manageably, I ask that 
you make your responses on the forums.  I've also set up a 
poll there so we can vote on what should be done.  I will 
likely limit my responses to that discussion.

   

http://forums.gentoo.org/viewtopic.php?p=554174

--kurt

--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Happy am i

2003-09-26 Thread Prabhat Gupta


Jason Cooper wrote:

Senectus - ([EMAIL PROTECTED]) scribbled:
 

LOL.. sounds like a challenge..
:-)
I know its OT.. But I couldn't help it.. after your like epilogue.. I 
remembered this :
(Not written by me)
Gospel of Tux unearthed (long)
   

[Helluva snip]
 

Now may you code in the power of the Source; may the Kernel, the Libraries 
and the Utilities be with you, throughout all Distributions, until the end 
of the Epoch. Amen.

Posted on Sat 06 Feb 15:50:24 1999 GMT
Written by Lennier [EMAIL PROTECTED]
   

Damn, the sad thing is, I actually sat down and read the whole thing...
Beautiful.  Brings a tear to my eye. 

Cooper.

 

ME TOO!!!

--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


[gentoo-user] SUPER-FREESWAN binary packages

2003-09-25 Thread Prabhat Gupta
Hi,

I recently upgraded the system:

emerge -u system(~x86)

Now I am getting touble, compiling super-freeswan with the newly 
upgraded gcc-3.3.1

Can some make a binay package for it and post it on the web?
I have pentium 4 laptop.
Can I downgrade the system using following:

env USE='x86' emerge -u system

Thanks

--
P r a b h a t  G u p t a 
/\/\*



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Digital camera recommendations?

2003-09-25 Thread Prabhat Gupta
www.dpreview.com

is also good for information.

Prabhat

Anthony Floyd wrote:

On Thu, 25 Sep 2003 14:13:46 -0400
gabriel [EMAIL PROTECTED] wrote:
[snip]

 

a good place to look for quality comparisions is google.  i found a site
through there that compared any camera out there to any other camera
based on pretty much anything you can think of.  sorry, i don't have 
   

It was probably http://www.steves-digicams.com/.  Do yourself a favour and go there.  Run, don't walk.  Read about whatever camera you are considering purchasing.  You'll come away enlightened.

A

 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] /var/spool/mqueue permissions/ownership

2003-09-24 Thread Prabhat Gupta
drwxr-xr-x2 root root 4096 Aug 24  2001 anacron
drwx--3 daemon   daemon   4096 Aug 24  2001 at
drwx--2 root root 4096 Mar  8  2001 cron
drwxr-xr-x2 root root 4096 Aug 30  2000 fax
drwxr-xr-x3 root root 4096 Aug 24  2001 lpd
drwxrwxr-x2 root mail 4096 Sep 21 04:22 mail
drwxr-xr-x4 root root 4096 Mar 14  2003 MailScanner
drwxr-xr-x2 root mail 4096 Sep 22 13:59 mqueue
drwx--2 root root 4096 Mar  1  2003 mqueue.in
drwxr-xr-x2 root root 4096 Feb 13  2001 rwho
drwxrwxrwt2 root root 4096 Apr  5  2001 samba
drwxr-xr-x2 root root 4096 Apr  7  2001 up2date
drwxrwxrwt2 root root 4096 Feb 12  2001 vbox
Owen Ford wrote:

I'm trying to get sendmail running but it can't write to the mqueue.  I
have tried several permissions and ownership settings with no success. 
Could someone with sendmail working post 'ls -l /var/spool/', please.

 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


[gentoo-user] Freeswan installation and setup

2003-09-23 Thread Prabhat Gupta
Hi All,

I am trying to install a VNP for last 3 night with no luck :)

I am using latest gentoo-sources  (~x86). I enabled the IPSec in kernel 
and emerged super-freeswan. I am getting alot of errors while starting 
the ipsec. I noticed that the freeswan version in the gentoo-sources is 
1.97. Also when I try to emerge freeswan or super-freeswan, it emerges 
the ck-sources too, I don't know why?

I emerged freeswan-1.99 ebuild and the compilation went well but now 
ipsec is giving error about pluto not running.

I am little confused now and want to start fresh.

Can  someone help me about, which kernel to choose, how to patch the 
kernel for IPsec, which version of freeswan or super-freeswan to emerge etc.

I will highly appreciate  that, I am getting crazy :(

Best regards,
Prabhat


--
[EMAIL PROTECTED] mailing list


[gentoo-user] Wireless connection.

2003-09-23 Thread Prabhat Gupta
Hi,

I installed  a netgear 802.11g card on my laptop for wireless access. 
With latest vanilla-source (~x86) everything was working fine.
Then, I changed the kernel to latest gentoo-sources (~x86). Now the 
wireless connection doesn't connect automatically after boot. I have 
added it to the default runlevel.

Now everytime, I have to start it explcitly by:

/etc/init.d/net.eth1 stop
/etc/init.d/net.eth1 start
I have to stop first, cause it say it is already started. What could be 
the problem. I will appreciate any help.

Thanks
Prabhat


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Wireless connection. [CORRECTION]

2003-09-23 Thread Prabhat Gupta
I upgraded to GS-SOURCES

Prabhat Gupta wrote:

Hi,

I installed  a netgear 802.11g card on my laptop for wireless access. 
With latest vanilla-source (~x86) everything was working fine.
Then, I changed the kernel to latest gentoo-sources (~x86). Now the 
wireless connection doesn't connect automatically after boot. I have 
added it to the default runlevel.

Now everytime, I have to start it explcitly by:

/etc/init.d/net.eth1 stop
/etc/init.d/net.eth1 start
I have to stop first, cause it say it is already started. What could 
be the problem. I will appreciate any help.

Thanks
Prabhat


--
[EMAIL PROTECTED] mailing list


--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Wireless connection.

2003-09-23 Thread Prabhat Gupta
I am using:

http://ruslug.rutgers.edu/~mcgrof/802.11g/

dirver for that PCMCIA card. There is a dependency in the 
/etc/init.d/net.eth1 for PCMCIA.

I don't know what else to add there :(

Prabhat

[EMAIL PROTECTED] wrote:

On Tue, Sep 23, 2003 at 02:38:09PM -0400, Prabhat Gupta wrote:
 

Hi,

I installed  a netgear 802.11g card on my laptop for wireless access. 
With latest vanilla-source (~x86) everything was working fine.
Then, I changed the kernel to latest gentoo-sources (~x86). Now the 
wireless connection doesn't connect automatically after boot. I have 
added it to the default runlevel.

Now everytime, I have to start it explcitly by:

/etc/init.d/net.eth1 stop
/etc/init.d/net.eth1 start
I have to stop first, cause it say it is already started. What could be 
the problem. I will appreciate any help.
   

If this were a Prism-based card using the linux-wlan-ng ebuild, I'd say
that you need to be sure to start up the wireless LAN (/etc/init.d/wlan)
before you start up the network device.  This could be accomplished by
adding a dependency in /etc/init.d/net.eth1.
Since you're not using that particular software... the best I can do
is an educated guess: you might have a similar dependency for that
software. That is, there might be some other system that has to start
up first for eth1 to come up properly.
Nathan Meyers
[EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Wireless connection.

2003-09-23 Thread Prabhat Gupta
Dave,

I did repatch the kernel and also build the driver. I didn't do make 
mrproper though.

The wireless connection works but I have to stop it and then start again.

/etc/init.d/net.eth1 stop
/etc/init.d/net.eth1  start
Prabhat

David Mallwitz wrote:

Prabhat Gupta wrote:

I am using:

http://ruslug.rutgers.edu/~mcgrof/802.11g/

dirver for that PCMCIA card. There is a dependency in the 
/etc/init.d/net.eth1 for PCMCIA.

I don't know what else to add there :(

Prabhat

Repatch the kernel and rebuild the driver. Every time you upgrade your 
kernel you will have to do this.

Dave



--
[EMAIL PROTECTED] mailing list


--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] IBM Thinkpad R40e

2003-09-23 Thread Prabhat Gupta
Trying hitting key board during boot up.
This happens on my laptop, hp ze5158. The keyboard stops working when 
the kernel loads some USB modules.

But if I keep pressing the key duing that module load, the keyboard 
works file.

Prabhat

Mike Williams wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hihi,

Spent most of today attempting to get Gentoo onto my new work laptop, the 
forementioned stinkpad r40e.
Decided to not use my age old v1.0 boot cd, and download a set of shiny new 
1.4 livecds. Kinda had too really, the only apparent working module for the 
network card are from Broadcom, and with no floppy drive net access ain't 
happening during install.
At first I used genkernel, and removed loads of stuff I didn't need, then fell 
back to just letting it do its stuff.

The major problem I'm having is that the keyboard doesn't work, *at all* once 
booted.

Obviously it works fine from the livecd, and windows, and knoppix too.
I've tried loading the modules which the livecd loads, via modules.autoload, 
but no joy.

Can anyone help?

Cheers

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/cKxnInuLMrk7bIwRAn2qAJ9R5poaIrBYC+yaVt6n1yO8/bu+xQCgn8l7
3978P9Uebw1zpFKPVmDAZlQ=
=Tl80
-END PGP SIGNATURE-
--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-28 Thread Prabhat Gupta
Hi Vano,

Can you give me little more detail on the procedure. Here is my 
understanding:

1. Untar the stagex in   /xxx/slow/  on fast machine

2. chroot  /xxx/slow  /bin/bash

3. make changes to make.conf

4. bootstrap

5. emerge kernel sources

6. compile kernel

7. emerge XFree

8.  emerge kde-base

9. Go to slow machine

10.  WHAT NEXT ??  The slow machine has a swap parition and a ROOT 
parition. I have not used rsync.  How to boot the slow machine?

Thanks for your help
Prabhat
Vano D wrote:

On Fri, 2003-07-25 at 18:01, Prabhat Gupta wrote:

 

You'll be lucky to get XFree and KDE compiled and configured on those old 
machines within 24 hours even if you have no problems.

Puggy



 

:(( ~ ~ ~

   

What is wrong with compiling your system under chroot in a fast box and
then rsync -a it to your slower machine? I have also tarred whole system
and transferred them to slower machines.. all ok
You basically untar the stagex file to a dir on the fast machine, set
the compile flags in /etc/make.conf so it is a pentium, bootstrap it,
emerge whatever you want and even configure the whole thing, then chroot
out of the dir, either use rsync -a to copy the system dir to the / of
the slow machine, or use tar to create a tarball or tar it over the
network.
Cheers,

 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-28 Thread Prabhat Gupta
What if I CAN'T boot from CD :(

Regards
Prabhat
Pat Kerwan wrote:

On Mon, Jul 28, 2003 at 11:58:21AM -0400, Prabhat Gupta wrote:
 

Hi Vano,

Can you give me little more detail on the procedure. Here is my 
understanding:

1. Untar the stagex in   /xxx/slow/  on fast machine

2. chroot  /xxx/slow  /bin/bash

3. make changes to make.conf

4. bootstrap

5. emerge kernel sources

6. compile kernel

7. emerge XFree

8.  emerge kde-base

   

9. Tar up /xxx/slow

From here, you have a few options:
10. Take the HD from slow machine to fast machine

11. mount the root partition to /mnt/gentoo

12. mount the boot partition to /mnt/gentoo/boot

13. copy the tarball to /mnt/gentoo

14. cd to /mnt/gentoo and untar it

15. chroot to /mnt/gentoo

16. Install grub/lilo

Alternately, you could take the fast machine's HD to slow machine.

Lastly, if you have NFS set up on your fast machine, you could:

10. Export /xxx/slow with NFS

11. Boot slow machine with the Live CD

12. Set up the /mnt/gentoo and /mnt/gentoo/boot mount points as usual

13. mount the NFS share to /mnt/slow

14. copy tarball from /mnt/slow to /mnt/gentoo

15. cd to /mnt/gentoo and untar it

16. chroot to /mnt/gentoo

17. Install grub/lilo

- PK

 

9. Go to slow machine

10.  WHAT NEXT ??  The slow machine has a swap parition and a ROOT 
parition. I have not used rsync.  How to boot the slow machine?

Thanks for your help
Prabhat
Vano D wrote:

   

On Fri, 2003-07-25 at 18:01, Prabhat Gupta wrote:



 

You'll be lucky to get XFree and KDE compiled and configured on those 
old machines within 24 hours even if you have no problems.

Puggy



   

 

:(( ~ ~ ~

 

   

What is wrong with compiling your system under chroot in a fast box and
then rsync -a it to your slower machine? I have also tarred whole system
and transferred them to slower machines.. all ok
You basically untar the stagex file to a dir on the fast machine, set
the compile flags in /etc/make.conf so it is a pentium, bootstrap it,
emerge whatever you want and even configure the whole thing, then chroot
out of the dir, either use rsync -a to copy the system dir to the / of
the slow machine, or use tar to create a tarball or tar it over the
network.
Cheers,



 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list
   



--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


[gentoo-user] Best processor for Video Encoding type job

2003-07-28 Thread Prabhat Gupta
Hi,

I am planning to buy a desktop for (home) video editing and off course I 
will do a lot of compiling, listening to music etc.

What processor would be good:

1. Pentium 4 with Hyper Threading
2. Pentium 4  (plain vanilla)
3. Athlon XP
I would like you hear your expereince with this.

Best regards,
Prabhat
--
[EMAIL PROTECTED] mailing list


[gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am 
bootstrapping the system.

I want a minimal system to do some C++ development. I need GCC, make, 
CVS, shells.

I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?

-Thanks for your help

--
P r a b h a t  G u p t a 
/\/\*



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
Håvard Wall wrote:



Prabhat Gupta wrote:

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am 
bootstrapping the system.

I want a minimal system to do some C++ development. I need GCC, make, 
CVS, shells.

I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?


and installing a kernel and the other things in the installation guide?

emerge -uv kde

and I belive you should have everything you asked for. KDE takes a lot 
of space though, you would probably have to clean out 
/usr/portage/distfiles and maybe /var/tmp/portage from time to time.

Thanks,
I will look at the emerge option -v.  When should I clean the 
/usr/portage/distfiles and how?

I plan to use gentoo-sources for kernel. Can I clean source files for 
the kernel after kernel installation?

Also before emerge -uv kde, I have to emerge xfree too, right? Is 
there a way to reduce the space requirement
for xfree? I know the graphics chip of the thinkpad 760XL, it is  
Trident CYBER9385.

Regards

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Condon Thomas A KPWA wrote:

Prabhat Gupta wrote:
 

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am
bootstrapping the system.
I want a minimal system to do some C++ development. I need GCC, make,
CVS, shells.
I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
   

Since Gentoo comes up with multiple consoles using the F1-F6 keys why do you
need KDE?  If you really want a minimal system this would seem superfluous.
In Harmony's Way, and In A Chord,

Tom  :-})

 

Hi Tom,

Sometime it feels good to debug using DDD rather using plain gdb.

Anyway my boss needs 4-5 of those junk laptops to demostrate compute 
farms and he need some graphics.

I am looking for ideas to reduce the space requirment and also compile 
time. I have only 24 hrs left for this :(

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Jason Stubbs wrote:

On Saturday 26 July 2003 00:39, Håvard Wall wrote:
 

Prabhat Gupta wrote:
   

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am
bootstrapping the system.
I want a minimal system to do some C++ development. I need GCC, make,
CVS, shells.
I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
 

and installing a kernel and the other things in the installation guide?

emerge -uv kde

and I belive you should have everything you asked for. KDE takes a lot
of space though, you would probably have to clean out
/usr/portage/distfiles and maybe /var/tmp/portage from time to time.
   

emerge kde will install all kde components. If you just want a minimal kde 
installation, emerge kdebase and that's what you will get. kdebase depends on 
kdelibs so only those two packages will be installed. Check under 
/usr/portage/kde-base/ for further information.

Jason

 

Thanks Jason,
I will look into that.
--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Ciaran McCreesh wrote:

Prabhat Gupta wrote:

I am looking for ideas to reduce the space requirment and also 
compile time. I have only 24 hrs left for this :(


Consider using distcc to speed up compile time. I've never used it 
myself, but I've heard good things about it. Better yet, do the 
compiling on an insanely overspecced server and cp the filesystem onto 
your laptop afterwards :)

Condiser NFS/iSCSI/whatever for /var/tmp/portage and /usr/portage . 
You should only need those when installing things, so it might be okay 
to put them on a different box...

Don't emerge kde. Emerge kde-base and whatever else you need.

HTH,
Thanks,

Any ideas, how to use distcc? I am currently doing bootstrapping.

Also I do have a fast machine with gentoo installed but I don't know how 
to setup NFS and use it for installation?

Any pointers?

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Douglas Russell wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 25 July 2003 4:48 pm, Prabhat Gupta wrote:
 

Condon Thomas A KPWA wrote:
   

Prabhat Gupta wrote:
 

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am
bootstrapping the system.
I want a minimal system to do some C++ development. I need GCC, make,
CVS, shells.
I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
   

Since Gentoo comes up with multiple consoles using the F1-F6 keys why do
you need KDE?  If you really want a minimal system this would seem
superfluous.
In Harmony's Way, and In A Chord,

Tom  :-})
 

Hi Tom,

Sometime it feels good to debug using DDD rather using plain gdb.

Anyway my boss needs 4-5 of those junk laptops to demostrate compute
farms and he need some graphics.
I am looking for ideas to reduce the space requirment and also compile
time. I have only 24 hrs left for this :(
   

You'll be lucky to get XFree and KDE compiled and configured on those old 
machines within 24 hours even if you have no problems.

Puggy

 

:(( ~ ~ ~

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Jason Stubbs wrote:

On Saturday 26 July 2003 00:48, Prabhat Gupta wrote:
 

Condon Thomas A KPWA wrote:
   

Prabhat Gupta wrote:
 

Hi All,

I am trying to install a minimal gentoo on an IBM Thinkpad 760XL.

The laptop has 1.6G free space on ROOT partition. Currently I am
bootstrapping the system.
I want a minimal system to do some C++ development. I need GCC, make,
CVS, shells.
I also need minimal KDE.

What should be my next steps after BOOTSTRAPPING?
   

Since Gentoo comes up with multiple consoles using the F1-F6 keys why do
you need KDE?  If you really want a minimal system this would seem
superfluous.
In Harmony's Way, and In A Chord,

Tom  :-})
 

Hi Tom,

Sometime it feels good to debug using DDD rather using plain gdb.

Anyway my boss needs 4-5 of those junk laptops to demostrate compute
farms and he need some graphics.
I am looking for ideas to reduce the space requirment and also compile
time. I have only 24 hrs left for this :(
   

24 hours? What were those laptops again? KDE normally takes about 24 hours to 
compile everything on my AthlonXP.

If you can network the laptops then I suggest using CFLAGS for the lowest 
common denominator and also use distcc. Perform the Gentoo install (as per 
instructions) using stage2 on the laptops using stage2. After that set 
FEATURES in /etc/make.conf to include buildpkg. After that, build distcc on 
one laptop and mount /usr/portage on all the others via nfs. Then emerge 
distcc on all the other laptops using the -k flag (install from a precompiled 
package where possible). Set up distcc and make sure to include it in 
FEATURES on all laptops - I've never done it so I can't help you there. Then 
emerge kdebase and whatever other kde components you need on one laptop and 
use the -k flag again on the other laptops. That should get it all running 
within maybe 12 hours?

Jason

 

WOW, seems great!!!

I am definetely going to try it when I get other laptops. Currently I 
have only one to install.

The laptop is P166 with 80MB RAM :((

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Condon Thomas A KPWA wrote:

Prabhat,

 

Sometime it feels good to debug using DDD rather using plain gdb.
   

I can see that.  I'm running full SuSE 8.0 on a Thinkpad 770 at home, with
the usual KDE, so the 760 should be able to handle it, too.  I've got to
admit, though, that I do most of my debugging manually.  I learned before
they had these fancy tools.
 

Anyway my boss needs 4-5 of those junk laptops to demostrate compute
farms and he need some graphics.
I am looking for ideas to reduce the space requirment and also compile
time. I have only 24 hrs left for this :(
   

Whoosh.  With only 24 hours left I'd choose a distro that would install
without the compilation.  Have you considered Knoppix running straight off
the CD?  It comes up in KDE.
I love Gentoo, but it won't build on old slow machines in 24 hours,
especially if you are doing KDE.  Someone mentioned KDE-base to give you a
minimal KDE.  I'd second that.  You can find smaller window managers, too.
But building X will still take more time than you have.  I've just completed
a Gentoo install on a Sony Vaio (Celleron 333MHz) and it took days.  Full
KDE (emerge kde) from the stage 1 install was 120 packages, some of which
took more than a day.
You might remind your boss of the old triangle rule of thumb:  Draw a
triangle, label the corners good, fast and cheap.  Select any one line
and you can have those characteristics at its ends.
In Harmony's Way, and In A Chord,

Tom  :-})

 

Thanks guys for all your help. I really love gentoo and the user community.

I think I will try to emerge xfree and then teach my boss how to install 
KDE-BASE.
He is my remote boss.



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
Hi Rob,

Thanks.

So after bootstrapping can I emerge distcc and compile the kernel , X 
and kde-base with distcc?

Is it going to make a lot of difference in compile time?  Jason 
indicated that It will not make  a lot difference.

Bootstrapping is still going far last 12 hours. It is a  P166, 80M. 1.6G 
for for gentoo (excluding swap).

Regards
Prabhat
Rob Snow wrote:

DISTCC: http://distcc.samba.org 

It's quite simple to use and I would recommend building all your 
portage that way, it takes all of 1min to setup and the payoff is large. 
(about 75-85% performance increase for each host added) 

Basically for portage you just emerge distcc and add distcc in your 
FEATURES line.  The downside is that not all of portage does not 
support make -j(n) so some packages will not take advantage of it. 

Another option is to compile on a different box, you can set your 
DISTCC_HOSTS to not include the local machine, which will cause 
most actual compiling to take place somewhere else. 

ie. DISTCC_HOSTS=thisbox fastbox will split the compiles across 
thisbox and fastbox, however, DISTCC_HOSTS=fastbox will make 
all the compiles take place on fastbox...handy for that 166 when 
fastbox is a 2.0GHz. 

Additionally, you can use DISTCC with the Cygwin cross-compiler to 
use a XP (or set of XP) box as a compile host.  This is what I do, do a 
minimal install of Cygwin (~5min?) and then follow the excellent 
HOWTO at: 

http://forums.gentoo.org/viewtopic.php?t=66930 

or grab my cross-linux-3.2.3.tar.bz2 at:  

ftp://ftp.dympna.com/cross-linux-3.2.3.tar.bz2 (23.3MB) 

and untar into /usr/local and do /usr/local/bin/distccd.sh (~5min?) and 
add that xp box into your DISTCC_HOSTS line: 
DISTCC_HOSTS=thisbox fastbox xpbox  I've even included a script 
to make DISTCC run as an NT service (/usr/local/bin/mkservice) so it 
has no visible effect on XP/NT...just runs in the background.  
Downside is that it's a 23.3MB download, but you only need it once 
per toolchain change. (currently it's at gcc-3.2.3 / glibc-2.3.2 / 
binuntils-2.14.(forgot) / distcc-2.8) which is the current stable build 
environment. 

-Rob 

On Sat, 26 Jul 2003 01:11:29 +0900, Jason Stubbs wrote 
 

On Saturday 26 July 2003 01:00, Prabhat Gupta wrote: 
   

Ciaran McCreesh wrote: 
 

Prabhat Gupta wrote: 
   

I am looking for ideas to reduce the space requirment and also 
compile time. I have only 24 hrs left for this :( 
 

Consider using distcc to speed up compile time. I've never used 
   

it 
 

myself, but I've heard good things about it. Better yet, do the 
compiling on an insanely overspecced server and cp the 
   

filesystem onto 
 

your laptop afterwards :) 

Condiser NFS/iSCSI/whatever for /var/tmp/portage and 
   

/usr/portage . 
 

You should only need those when installing things, so it might 
   

be okay 
 

to put them on a different box... 

Don't emerge kde. Emerge kde-base and whatever else you 
   

need. 
 

HTH, 
   

Thanks, 

Any ideas, how to use distcc? I am currently doing bootstrapping. 

Also I do have a fast machine with gentoo installed but I don't 
 

know how 
 

to setup NFS and use it for installation? 

Any pointers? 
 

As I said before I haven't used distcc before, but I suggest not  
using in conjuction with your slow laptops. You will end up having  
the fast machine wait for the laptops to finish compiling something  
it could have done quicker by itself. If you can use the fast  
machine to do the compiling, do like I said before but use the -B  
flag to emerge rather than adding buildpkg to FEATURES; that will  
build the packages without installing them. NFS I believe to be  
fairly easy to set up. Do a man mount and if that doesn't help just  
search for nfs howto with google and you should be right. 

Jason 

--
[EMAIL PROTECTED] mailing lis
   



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
wow!!

Looks like I will get some improvement. I have a 2.4G HP laptop with 
gentoo installed.
So what I will do now it to omit the localhost form

DISTCC_HOSTS

What should be my -j value for this senario? 2??

Where will I set -j option? Is it in make.conf?

Thanks

Rob Snow wrote:

Well, from what I'm seeing..it's close to linear speed up minus about 
10-15% overhead.  So if you have 2x boxes you should see around 
1.6-1.8 speedup.  I'm using a 3 box compile 'farm' of 2 gentoo boxes 
(AthlonXP) and a XP (P4) and I'm seeing 2.5min kernel compiles 
from a make clean - time make -j[5 or 6] bzImage.  I'd consider that 
pretty substantial.  Remeber that some packages don't handle the 
-j[n] option well and even though you put the FEATURE=distcc in 
they won't use it...xfree comes to mind, it uses distcc, but only at -j2.  
Again, you can set your DISTCC_HOSTS to actually do the compiles 
'off-site' by leaving your slow machine out of the list of hosts.  That way 
even with a linear build you will be doing the grunt work 'off-site' and 
just linking, etc. onsite. 

This is the way I'm going to build my new firewall/router.  I'll leverage 
all my fast boxes to build the system and leave it completely out of the 
DISTCC_HOSTS line...it's only a 200MHz and I've got 2.0, 2.4, 1.8, 
1.6GHz to throw at the real work. 

-Rob 

On Fri, 25 Jul 2003 14:35:11 -0400, Prabhat Gupta wrote 
 

Hi Rob, 

Thanks. 

So after bootstrapping can I emerge distcc and compile the kernel , 
X and kde-base with distcc? 

Is it going to make a lot of difference in compile time?  Jason  
indicated that It will not make  a lot difference. 

Bootstrapping is still going far last 12 hours. It is a  P166, 80M.  
1.6G for for gentoo (excluding swap). 

Regards 
Prabhat 

Rob Snow wrote: 

   

DISTCC: http://distcc.samba.org  

It's quite simple to use and I would recommend building all your  
portage that way, it takes all of 1min to setup and the payoff is 
 

large.  
 

(about 75-85% performance increase for each host added)  

Basically for portage you just emerge distcc and add distcc in your  
FEATURES line.  The downside is that not all of portage does not  
support make -j(n) so some packages will not take advantage of it.  

Another option is to compile on a different box, you can set your  
DISTCC_HOSTS to not include the local machine, which will 
 

cause  
 

most actual compiling to take place somewhere else.  

ie. DISTCC_HOSTS=thisbox fastbox will split the compiles 
 

across  
 

thisbox and fastbox, however, DISTCC_HOSTS=fastbox will 
 

make  
 

all the compiles take place on fastbox...handy for that 166 when  
fastbox is a 2.0GHz.  

Additionally, you can use DISTCC with the Cygwin cross-compiler 
 

to  
 

use a XP (or set of XP) box as a compile host.  This is what I do, do 
 

a  
 

minimal install of Cygwin (~5min?) and then follow the excellent  
HOWTO at:  

http://forums.gentoo.org/viewtopic.php?t=66930  

or grab my cross-linux-3.2.3.tar.bz2 at:   

ftp://ftp.dympna.com/cross-linux-3.2.3.tar.bz2 (23.3MB)  

and untar into /usr/local and do /usr/local/bin/distccd.sh (~5min?) 
 

and  
 

add that xp box into your DISTCC_HOSTS line:  
DISTCC_HOSTS=thisbox fastbox xpbox  I've even included a 
 

script  
 

to make DISTCC run as an NT service (/usr/local/bin/mkservice) 
 

so it  
 

has no visible effect on XP/NT...just runs in the background.   
Downside is that it's a 23.3MB download, but you only need it once  
per toolchain change. (currently it's at gcc-3.2.3 / glibc-2.3.2 /  
binuntils-2.14.(forgot) / distcc-2.8) which is the current stable build  
environment.  

-Rob  

On Sat, 26 Jul 2003 01:11:29 +0900, Jason Stubbs wrote  
 

 

On Saturday 26 July 2003 01:00, Prabhat Gupta wrote:  
   

   

Ciaran McCreesh wrote:  
 

 

Prabhat Gupta wrote:  
   

   

I am looking for ideas to reduce the space requirment and 
 

also  
 

compile time. I have only 24 hrs left for this :(  
 

 

Consider using distcc to speed up compile time. I've never 
   

used  
 

   

   

it  
 

 

myself, but I've heard good things about it. Better yet, do the  
compiling on an insanely overspecced server and cp the  
   

   

filesystem onto  
 

 

your laptop afterwards :)  

Condiser NFS/iSCSI/whatever for /var/tmp/portage and  
   

   

/usr/portage .  
 

 

You should only need those when installing things, so it might  
   

   

be okay  
 

 

to put them on a different box...  

Don't emerge kde. Emerge kde-base and whatever else you  
   

   

need.  
 

 

HTH,  
   

   

Thanks,  

Any ideas, how to use distcc? I am currently doing 
 

bootstrapping.  
 

Also I do have a fast machine with gentoo installed but I don't  
 

 

know how  
 

 

to setup NFS and use it for installation

Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta


Andrew Gaffney wrote:

Prabhat Gupta wrote:

wow!!

Looks like I will get some improvement. I have a 2.4G HP laptop with 
gentoo installed.
So what I will do now it to omit the localhost form

DISTCC_HOSTS

What should be my -j value for this senario? 2??


Typically its CPUs + 1, so you've got host computer + distcc laptop = 
2 CPUs, so set -j3 
I want all my compilation on the fast machine. Should I set it -j2 ?

Regards
PRabhat


Where will I set -j option? Is it in make.conf?


the MAKEOPTS= line

--
P r a b h a t  G u p t a 
/\/\*





--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
[/SINP]


You should set:

MAKEOPTS=-j2
DISTCC_HOSTS=fastmachine/2
FEATURES=ccache distcc
where fastmachine is the hostname or ip of the fastermachine. The '/2' 
means it can accept 2 jobs at once. 
Should I install ccache also? Which one should I install first ccache or 
distcc?

What set will be required to use ccache?

Best regards
PRabhat


--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Minimal Gentoo install

2003-07-25 Thread Prabhat Gupta
Thanks Andrew.

Regards
PRabhat
Andrew Gaffney wrote:

Prabhat Gupta wrote:

You should set:

MAKEOPTS=-j2
DISTCC_HOSTS=fastmachine/2
FEATURES=ccache distcc
where fastmachine is the hostname or ip of the fastermachine. The 
'/2' means it can accept 2 jobs at once. 


Should I install ccache also? Which one should I install first ccache 
or distcc?


It shouldn't really matter which order you install them in.

What set will be required to use ccache?


Nothing more should be required that what is already above.

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Good code editor (with colors) for X (no GTK orQT)

2003-07-22 Thread Prabhat Gupta


Essien Ita Essien wrote:

Ok i've tried to keep quiet but i cant anymore!!

Why dont you want to use vim? You cant type? That's the only reason i can
think of. Other than that... its power editing all the way.
sory... i couldn't help myself :D

Essien

I AM WITH YOU !

Prabhat

-Original Message-
From: Nathaniel McCallum [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 12:33 AM
To: [EMAIL PROTECTED]
Subject: [gentoo-user] Good code editor (with colors) for X (no GTK or
QT)
Anyone know of a good code editor for X that doesn't use GTK or QT?  I
would like something that displays colors (like for variables, etc).  I
also don't want to use vi or any deritive or any console based editor.
Any thoughts?
nathaniel

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Can't login to webmin

2003-07-18 Thread Prabhat Gupta
type username root and hit ENTER



Mike Diehl (Encrypted email prefer red) wrote:

Hi all.

I just installed Gentoo on a machine and emerge'd webmin.  I only have one 
username on the machine, root, but I can't seem to get logged in.  I've tried 
the password many times, so I know I'm typing it in right.

Any ideas?

Mike Diehl.

--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


[gentoo-user] Keyborad refresh rate RESET by KDE

2003-07-16 Thread Prabhat Gupta
Hi All,

I set the keyboard rate in local.start
by following command
kbdrate -r 30 -d 250

But the rate is  reset by KDE and I have to give the command after I login.

How can I solve this?

Thanks
Prabhat


--
[EMAIL PROTECTED] mailing list


[gentoo-user] How to move the whole PORTAGE TREE?

2003-07-15 Thread Prabhat Gupta
Hi All,

It looks like my root partition is almost used. Is it possible to move 
the portage tree to some other location?

Thanks
Prabhat
--
[EMAIL PROTECTED] mailing list


[gentoo-user] Ebuild for CINEPAINT ..............

2003-07-15 Thread Prabhat Gupta
Hi All,

Did anyone make an ebuild for cinepaint

http://cinepaint.sourceforge.net/

--
P r a b h a t  G u p t a 
/\/\*



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] How to move the whole PORTAGE TREE?

2003-07-15 Thread Prabhat Gupta




That's cool :)

Spider wrote:

  begin  quote
On Tue, 15 Jul 2003 10:02:51 -0400
Prabhat Gupta [EMAIL PROTECTED] wrote:

  
  
Hi All,

It looks like my root partition is almost used. Is it possible to move
the portage tree to some other location?


  
  
Yep, there is:
mv /usr/portage /mnt/bigdisk/portage
ln -s /mnt/bigdisk/portage /usr/portage


(Long live symbolic links ;)

//Spider


  


-- 
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087

Phone: (603) 437-2234  (o)






Re: [gentoo-user] iptables trouble

2003-07-14 Thread Prabhat Gupta
I had the same problem.

Did you emerged iptables??



Sebastian Bergmann wrote:

 I'm using the Linux 2.4.20-gentoo-r5 kernel and iptables 1.2.8-r1.

 When I use iptables -L I get

bash-2.05b# iptables -L
/lib/modules/2.4.20-gentoo-r5/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbol nf_unregister_sockopt
/lib/modules/2.4.20-gentoo-r5/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbol nf_register_sockopt
/lib/modules/2.4.20-gentoo-r5/kernel/net/ipv4/netfilter/ip_tables.o:
insmod /lib/modules/2.4.20-gentoo-r5/kernel/net/ipv4/netfilter/ip_tables.o
failed
/lib/modules/2.4.20-gentoo-r5/kernel/net/ipv4/netfilter/ip_tables.o:
insmod ip_tables failed
iptables v1.2.8: can't initialize iptables table `filter': iptables who?
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
 Any idea what's wrong?

 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Kernel Problems - Reboot on Load

2003-07-14 Thread Prabhat Gupta




put 

vga=ask 

in grub configuration.

Loopingz wrote:
  
  
 
  
 

  I'm a newbie on Gentoo, i've made the
installation  from stage 1, compile everything and when i reboot the system,
i see Grub then  when i choose to load the linux, it seems to load the kernel,
but the screen go  black and after 2 seconds the system is rebooting. I think
it's a kernel  compilation problem but i don't know the solution.
 
  
 
  Thanks for helping
 
  
 
  Loopingz


-- 
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087

Phone: (603) 437-2234  (o)






Re: [gentoo-user] transcode - divx problem

2003-07-14 Thread Prabhat Gupta
rebuild the dependencies for transcode

Bryce wrote:

Hey all, trying to use transcodw with DVD::RIP, and having an issue:

Copied by hand cause dvd::rip doesn't deal with the clipboard :( :

transcode v.0.6.8 (C) 2001-2003 Thomas Ostreich
libdvdread: Using libdvdcss version 1.2.7 for DVD access
libdvdread: Couldn't find device name.
libdvdread: Can't open file VIEDO_TS.IFO.
[import_vob.so] v0.5.8 (2003-06-11) (video) MPEG-2 | (audio) MPEG/AC3/PCM | 
(subtitle)
[export_ogg.so] v0.0.3 (2003-03-06) (video) null | (audio) ogg
[export_divx5.so] v0.1.7 (2003-06-12) (video) Divx5.xx | (audio) MPEG/AC3/PCM
[export_divx5.so] libstdc++-libc6.2-2.so.3: cannot open shared object file: No 
such file or directory

SO, has anyone else had this problem?? And should this be forwarded on to 
bugs.gentoo.org?

thanks,
bryce
--
[EMAIL PROTECTED] mailing list


 

--
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087
Phone: (603) 437-2234  (o)



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Slow performance...

2003-07-09 Thread Prabhat Gupta




put that command into

/etc/conf.d/local.start   i guess

BTW what is -k1 option for?

Sean Bossinger wrote:

  Thank you for your assistance...  It is much appreciated.  It was a rather duh moment for me.

Another question...

I've enabled this on my machine manually, but I want it enabled every time I start.  I've added the line to my rc.conf; however, I question if this is the right place...

Are there any guidelines on this?

Sean

---Original Message---
From: Christopher Fisk [EMAIL PROTECTED]
Sent: 07/09/03 08:46 AM
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] Slow performance...

  
  
On Wed, 8 Jul 2003, Chris Graves wrote:

  
  
  
  
sounds like a classic case of dma not enabled...

try emerging hdparm, setting dma, and then setting hdparm to run at
boot.

  
  
hdparm -d1 -c1 -k1 /dev/hdX


Christopher Fisk
--
 "Hey, sexy mama. Wanna kill all the humans?" -Bender 

--
[EMAIL PROTECTED] mailing list

  
  
--
[EMAIL PROTECTED] mailing list



  


-- 
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087

Phone: (603) 437-2234  (o)






Re: [gentoo-user] Shorewall: ip_table.o some unresolved symbolswhile starting shorewall

2003-07-08 Thread Prabhat Gupta




Hi Anupam,

I recompiled the kernel and now I am not able to see the boot messages and
mouse is not working in KDE :(

I will get back to you after fixning that.

Thanks for response.

Prabhat

Anupam Kapoor wrote:

  what are the unresolved symbols that you see ?

anupam

  
  

  

  "Prabhat" == Prabhat Gupta [EMAIL PROTECTED] writes:
  

  

  
  
 Prabhat Hi All, I spend almost 2 weeks now compiling and recompiling
 Prabhat gentoo. It'w working now but when I try to start Shorewall I
 Prabhat get some unresolved symbols in ip_table.o

 Prabhat I have compiled the ip_table as module in kernel and also
 Prabhat enabled support for netfilter (replaces ipchains)

 Prabhat Thanks

 Prabhat -- P r a b h a t G u p t a /\/\*





 Prabhat -- [EMAIL PROTECTED] mailing list




  


-- 
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087

Phone: (603) 437-2234  (o)






[gentoo-user] BLANK screen while BOOTING but KDE works FINE with NO mouse !!!!

2003-07-08 Thread Prabhat Gupta
Hi All,

I am trying to to install gentoo for last 2 weeks. Here is my latest 
problem. Last night I did a make mrproper.

Now I get a blank screen while booting but I do get KDE up and running 
with NO mouse. I use a USB wheel mouse.

In the kernel settings,

input devices

   HID keyboard  enabled
   HID mouse  disabled
USB
   Mouse   enabled
I am on

HP ze5185 laptop. It has ATI radeon graphics chip.

I am using an external keyborad and an USB wheel mouse. The KDE was 
working before with both mouse and keborad. But earlier I have to hit 
keyboard many times to get it detected while booting.

Can someone tell me the correct kernel configuration  for keyborad and 
USB mouse.

Also what about the blank screen while booting.

Thanks

--
P r a b h a t  G u p t a 
/\/\*



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] BLANK screen while BOOTING but KDE works FINE withNO mouse !!!!

2003-07-08 Thread Prabhat Gupta




I think I have the first two in my kernel config.

Also in have 
vga=791
in my lilo.config

Do I need to put 0x791 in place of 791?

Also I remember that this time I enabled MTRR. I don't know about MTRR but
I have seen this on some forum.

Thanks
Prabhat

Rob Snow wrote:

  I can't help you with the mouse problem, however, the blank screen while booting is 
probably due to missing: 
 
CONFIG_VT=y 
CONFIG_VT_CONSOLE=y 
CONFIG_VGA_CONSOLE=y 
 
in your kernel config while having a vga=791 (or some such) in your lilo.conf.  You 
might not need all those, but it shouldn't hurt to put them all in. 
 
On Tue, 08 Jul 2003 13:50:49 -0400, Prabhat Gupta wrote 
  
  
Hi All, 
 
I am trying to to install gentoo for last 2 weeks. Here is my latest  
problem. Last night I did a make mrproper. 
 
Now I get a blank screen while booting but I do get KDE up and  
running with NO mouse. I use a USB wheel mouse. 
 
In the kernel settings, 
 
input devices 
 
HID keyboard  enabled 
HID mouse  disabled 
 
USB 
Mouse   enabled 
 
I am on 
 
HP ze5185 laptop. It has ATI radeon graphics chip. 
 
I am using an external keyborad and an USB wheel mouse. The KDE was  
working before with both mouse and keborad. But earlier I have to  
hit keyboard many times to get it detected while booting. 
 
Can someone tell me the correct kernel configuration  for keyborad  
and USB mouse. 
 
Also what about the blank screen while booting. 
 
Thanks 
 
--  
P r a b h a t  G u p t a  
/\/\* 
 
-- 
[EMAIL PROTECTED] mailing list 

  
  
--
[EMAIL PROTECTED] mailing list



  


-- 
P r a b h a t  G u p t a 
/\/\*

Senior Software Engineer
Alternative System Concepts, Inc.
www.ascinc.com
22 Haverhill Road
Windham, NH 03087

Phone: (603) 437-2234  (o)






Re: [gentoo-user] BLANK screen while BOOTING but KDE works FINE withNO mouse !!!!

2003-07-08 Thread Prabhat Gupta




I will try vga=ask

if my wife gives me some time today on the laptop. She is really angry on
me for spending 24 hrs on computer :((

downtime null wrote:

  i have all 3 of those in my .config and i still get a black screen
when i pass 'vga=791' to the kernel. i can use 'vga=ask' and pick one
and that works fine (but no little tux :( ). i know that these are
really to different modes, but i can't understand why one works and
the other doesn't. i didn't have any problem with mode 791 (0x317)
with my old kernel, but 2.5.73 doesn't seem to like it.

On Tue, Jul 08, 2003 at 01:00:49PM -0600, Rob Snow wrote:
  
  
I can't help you with the mouse problem, however, the blank screen while booting is 
probably due to missing: 
 
CONFIG_VT=y 
CONFIG_VT_CONSOLE=y 
CONFIG_VGA_CONSOLE=y 
 
in your kernel config while having a vga=791 (or some such) in your lilo.conf.  You 
might not need all those, but it shouldn't hurt to put them all in. 
 

  
  
--
[EMAIL PROTECTED] mailing list


  





[gentoo-user] Shorewall: ip_table.o some unresolved symbols while starting shorewall

2003-07-07 Thread Prabhat Gupta
Hi All,

I spend almost 2 weeks now compiling and recompiling gentoo. It'w
working now but when I try to start Shorewall I get some unresolved
symbols in ip_table.o
I have compiled the ip_table as module in kernel and also enabled
support for netfilter (replaces ipchains)
Thanks

--
P r a b h a t  G u p t a
/\/\*




--
[EMAIL PROTECTED] mailing list