Re: [gentoo-user] 2.6.19-r5 kernel disaster

2007-04-12 Thread Sami Samhuri

On 4/12/07, Alan McKinnon [EMAIL PROTECTED] wrote:


On Thursday 12 April 2007, maxim wexler wrote:
 Hi group,

 After running make menuconfig 4x on a PIII,
 re-emerging --emptytree world and either booting to a
 highly unstable system or a maintenance login I feel
 it's time to call on the authorities.

It looks like the kernel can't find the / device.

The whole IDE/ATA/SATA/PATA/SCSI layout hingy changed with 2.6.19, so
first thing to check is that everything you need is actually enabled in
the kernel (yeah, there's some gotchas in there). Please post
your .config



If init starts then the kernel found his root partition (otherwise it panics
with a VFS layer message).


Re: [gentoo-user] Disk usage?

2005-06-15 Thread Sami Samhuri
* On Tue Jun-14-2005 at 08:08:29 PM -0500, cothrige said:
 I recently decided to test out an installation of Gentoo using the
 Universal installation disc and the packages cd as I do not have a
 high speed internet connection.
 
 I used a somewhat older machine, 450Mhz
 Pentium III with 128M of RAM, and an old 3G hard drive which I had an
 installation of Slackware 9.1 on.  Since I had a fairly full install
 of that OS on it, including a Gnome and KDE, I felt comfortable that I
 would have plenty of room to at least run a good test of the major
 packages.  However, that turned out not to be true.

I've got a couple old Pentiums (200MHz) around that I set up as diskless
nodes just for fun. They don't have much installed and they mount
/usr/portage over NFS. They also do not have any kernel sources around
(everything was built in a chroot on my desktop which hosts their /
directories) so I realize this may not help too much, but 'du -ch' tells
me that / is just under 350M right now. It seems that you should be able
to get this to fit in 3G, although it may be a tight fit.

If you copied all the binary packages to /usr/portage then that is
probably a good place to start. Since you have those files on CD you can
copy them back as you need them.

If you're low on space in /var/tmp then compiling may give you trouble
so watch out for that in the future.

As someone else said there are installations on 256M USB keys so... best
of luck!

-- 
Sami Samhuri


pgpMWPjiKha6j.pgp
Description: PGP signature


Re: [gentoo-user] Bad thing? bug?

2005-06-07 Thread Sami Samhuri
* On Tue Jun-07-2005 at 07:22:53 PM -0700, Jonathan Nichols said:
 QA Notice: ECLASS 'libtool' inherited illegally in dev-php/php-4.3.11
 
 ... just noticed that this evening.
 
 I didn't see a forum post nor a bug report.. is it something to even be 
 concerned with? So far, it's compiling fine, but I thought someone might 
 be interested. ;)

These are notices portage spits out to inform devs about things that
need fixing in their ebuilds. There should be no problems with the
actual package.

-- 
Sami Samhuri


pgpg9LpJ5aBpd.pgp
Description: PGP signature


Re: [gentoo-user] busybox

2005-06-07 Thread Sami Samhuri
* On Tue Jun-07-2005 at 08:34:32 AM -0300, Norberto Bensa said:
[...]
 What is not mentioned is the motivation to replace sash with busybox. So my 
 question is: why?

On 2005-06-04 14:12:21 GMT Jason Stubbs wrote:
 I believe it's been added to system in place of sash. It's similarly
 very small in size but has a much larger feature set that is generally
 very useful in emergencies.

-- 
Sami Samhuri


pgp2MH94b5CoL.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Online stores (that ship to Canada)

2005-06-02 Thread Sami Samhuri
* On Thu Jun-02-2005 at 04:23:08 AM -0400, Philip Webb said:
 050601 Ted Ozolins wrote:
  Sami Samhuri wrote:
  Perhaps some of you know of some Canadian stores (preferred)
  I've had good results from:  http://www.cclcpr.com/shop/
 
 the best store in Toronto is  http://www.canadacomputers.com/ :
 they have lower prices for CPUs than the Burnaby store
  they have an 'on-line shipping' link.  i always go there.

They certainly do have some good deals! Between all the links so far I
think I've found great deals on everything I need. Thanks. :)

-- 
Sami Samhuri


pgpyuHtIO2kyp.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Online stores (that ship to Canada)

2005-06-02 Thread Sami Samhuri
* On Thu Jun-02-2005 at 07:49:13 AM -0700, maxim wexler said:
 
  cheaper to buy online.
 
 I've had good results w/ tigerdirect.ca. 

Yes this is where I normally shop. However, they have a limited
selection of higher-end hardware. No Tyan motherboards and only 2
choices for DDR400 ECC Reg memory. It's a shame since I do like the
store and their service. Thanks though. :)

Also, compare their WD Raptor 36G at $175 to canadacomputers.com's
$150 ... perhaps I'll shop around a bit more for future purchases. One
thing I've found is that stores have wildly differing prices sometimes.
Another example, Tyan K8W at canadacomputer.com is $650 while at monarch
it is $525. I'm waiting to hear back from monarch to see how much
shipping is. And yes, these prices are all in CDN$.

-- 
Sami Samhuri


pgpNjtDpcyY65.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Online stores (that ship to Canada)

2005-06-01 Thread Sami Samhuri
* On Wed Jun-01-2005 at 06:21:07 PM -0700, Ted Ozolins said:
[...]
 I've had good results from:
 http://www.cclcpr.com/shop/

Hmmm... no Tyan motherboards and I don't see any ECC memory. But as they
are nice and close (I'm on the island) I will keep them in mind for
future purchases.

Thanks. :)

-- 
Sami Samhuri


pgpsZWEDjRfp1.pgp
Description: PGP signature


Re: [gentoo-user] Re: kernel building tools

2005-05-29 Thread Sami Samhuri
* On Thu May-26-2005 at 02:28:25 PM +, James said:
[...]
 So using make install a syntax sequence would look like this?
 
 make menuconfig select options and save
 make  make modules_install
 cp arch/i386/boot/bzImage  /boot/kernel-2.6.11-gentoo-r9
 cp System.map  /boot/System.map-2.6.11-gentoo-r9
 cp .config /boot/config-2.6.11-gentoo-r9

I use the following shell script[1] to handle all my kernel
compiling/installing. Once you have it setup to your liking it's a
simple `kernmagic -v` and you're on your way.

This works for me on my machine, completely untested anywhere else but
if you have a Gentoo system with grub installed, /boot at (hd0,0), and
/dev/sda3 mounted as / then it will probably work out of the box.
Except for the default kernel location, which is in my home dir.
Obviously if you're using an IDE disk then change sda3 to hd??.

Read the beginning of the script and set those variables in a shell
script called ~/.kernmagicrc and then you should be good to go.

I take no responsibility if you lose your hair, your cat dies, blah blah
blah.

[1] http://web.uvic.ca/~sjs/kernmagic-0.4

-- 
Sami Samhuri


pgpELKv3eqDcp.pgp
Description: PGP signature


Re: [gentoo-user] CFLAGS CPU optimization question.

2005-05-24 Thread Sami Samhuri
* On Tue May-24-2005 at 01:08:51 AM +0200, Julien Cayzac said:
 On 5/24/05, Richard Fish [EMAIL PROTECTED] wrote:
  [ recommandations about performance cflags ]
 
 While we're at optimizing stuff, here are my CFLAGS (athlon-xp mobile,
 barton core):
 
 CFLAGS=-O2 -march=athlon-xp -msse -mfpmath=sse -pipe
 -finline-functions -fsched2-use-superblocks -fsched2-use-traces
 -fmove-all-movables -frename-registers -fweb -ffast-math
 -funsafe-math-optimizations -fprefetch-loop-arrays -fforce-addr
 -momit-leaf-frame-pointer -ftracer -funit-at-a-time
 -maccumulate-outgoing-args
 
 2.6.10-gentoo-r6 kernel, everything is stable... and far faster than
 when I had only -O2 -march=athlon-xp -pipe :-)

I recommand [sic] that you slow down.

-- 
Sami Samhuri


pgp7ep95rGmLO.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo, LWS and Slackware for linux learner?

2005-05-22 Thread Sami Samhuri
* On Mon May-23-2005 at 12:08:18 AM +0600, askar ... said:
[...]
 apt-get-like comfortable tools? That was my second question. What you
 recommend for those, who would like to learn linux from fundamentals?
 In order to do so, I think, learner has to do everything manually. I
 haven't installed LFS distro before, so I don't know is it like
 Slackware or not, but as the name says, this is linux from sratch,
 like gentoo...

LFS is quite different from Gentoo. LFS provides documentation that
instructs you how to build your system from scratch. Compared to other
distros, Gentoo requires you to do most of the installation manually,
but still provides you with tools like bootstrap.sh which do a lot of
the work for you. LFS does not provide tools like this, but instead
instructions of how to do this yourself.

If you think of a linux system as a car, then Fedora, SuSE and those
distros are like buying a car. You can choose some options but it is
already built for you. Gentoo is a car you build yourself, but some of
it is done for you. You get the engine and the frame and everything
else and then put it all together.  LFS is a just a box of tools, and
you must build the engine, frame, and each other part yourself.

When I was new to linux I first installed Slackware because I heard it
was good. I enjoyed using it, it is a good distro. I also tried to
install LFS because I wanted to learn, but that was a bit overwhelming
and when I ran into problems I didn't know where I went wrong since I
was just following instructions. Like you, I installed almost any distro
I could find to see how which one felt comfortable for me. Gentoo
happened to be that one. I would not recommend LFS as a starting point
to get to know the internals of a linux system. Get to know Gentoo (or
Slackware, or whatever) well first and understand how that works. Then
when you have an understanding of what all the core software on you
system is (fex. packages in 'emerge -ep system') I'd say go for an LFS
install.

Then again, everyone is different and maybe you're more clever than I am
and LFS will be easy... I guess the only way to find out is to try it.

-- 
Sami Samhuri


pgp3pf6JlCmuz.pgp
Description: PGP signature


Re: [gentoo-user] Re: / is full

2005-05-14 Thread Sami Samhuri
* On Sat May-14-2005 at 06:01:54 PM +0100, Neil Bothwick said:
 On Sat, 14 May 2005 15:37:21 + (UTC), James wrote:
 
  TMy problem is the /root/.ccache dir keeps filling up. I keep deleting
  it.
  
  Not sure how to tame this demon..
 
 Set CCACHE_DIR in make.conf.

Also set CCACHE_SIZE in make.conf.

e.g.
CCACHE_SIZE=2G

-- 
Sami Samhuri


pgpZVDiM1dBWG.pgp
Description: PGP signature


Re: [gentoo-user] new install - no network?

2005-05-13 Thread Sami Samhuri
* On Fri May-13-2005 at 10:41:19 AM -0500, tj said:
 Sorry for the newb post here.
 
 I figured out what I screwed up. I have an e100 and I didn't get it into
 my kernel.
 Do i have to recompile? or? is there are way around it.

[I'm going to assume you used the 2005.0 CD and installed a 2.6 kernel
(the default choice)]

If you compile it in your kernel as a module then the following
instructions should work. From your kernel source dir (/usr/src/linux):

# make all modules_install
# insmod e100

Let us know how this goes.

-- 
Sami Samhuri


pgpADofcp6DJK.pgp
Description: PGP signature


Re: [gentoo-user] (Way OT) This email best viewed with IE 6.5 at 800X600 resolution

2005-05-09 Thread Sami Samhuri
I'm sorry but as OT as this thread is (haven't read all of it) I have to
get my 2 cents in here. Response inlined below...

* On Sun May-08-2005 at 08:44:08 PM +, Calvin Spealman said:
[...]
 I'm tired of everyone being so blatently rude in their defensive
 stances over simple suggestions of improvement.

Clearly 'improvement' is subjective. Hence the differing opinions.

 For some reason, I've noticed these actions move prevalently in
 regards to email protocols and formats. The W3C wants to release a new
 version of HTML? No one complains (mostly). Someone wants to create a
 new e-mail standard, or expand an existing one? Off with their heads!

I have to disagree here. If you read RFC 822[1] (1982) and then take a
look at RFC 2822[2] (2001) then you'll see that there have been changes
and updates to the e-mail standard. If you care to create a new one then
go ahead and do it. If people like it then they will start to use it.
It's as simple as that. Perhaps instead of trying to extend a standard
that was created to send text around you should be trying to form a new
standard altogether; I'm not really sure what you're trying to push for
here.

Apparently the ability to attach any file you wish to an e-mail is good
enough for most people and this really is a non-issue. If you care to
have fancy formatting or whatever else then attach a document in any
format you like and if people want to read it they will. If someone's
e-mail client displays certain attached files inline with the message
than that's fine with me. In certain cases I think this even makes a lot
of sense (e.g. images). I just don't see why this isn't good enough to
get your fancy formatting.

Outlook does this with HTML and we all know what a horrible mess that
has created, but I think if you're really keen on this and adapt a mail
client to automatically display certain types of attachments (without
being a huge security risk!) then people may adopt it; but that is all
speculation.

To cut to the point all I'm trying to say is that e-mail has the
capability to do what you want, you just need to figure out an
appropriate file format for this purpose and then push to get clients to
automatically display these files. If the majority like it then it will
be used.

 Going by the way everyone reacts to these ideas, one would come to the
 conclusion that we should all still run nothing but command lines and
 pass our information around on FTP and Gopher servers.

troll
Transferring files using the File Transfer Protocol -- silly us!
/troll

Sorry for that, but it's hard to take that last sentence seriously
seeing as it's a patently false conclusion. I'm running X right now with
loads of cool GUI apps and (for one example) I use the WWW to share all
sorts of information, so I don't know what you're worrying about.

[1] http://www.faqs.org/rfcs/rfc822.html
[2] http://www.faqs.org/rfcs/rfc2822.html

* Alternatively, you can also get these files in plain ASCII text from an
FTP server at... never mind. /more trolling

-- 
Sami Samhuri


pgpA0CdRNqbdj.pgp
Description: PGP signature


Re: [gentoo-user] First Install - Help Setting Root Password

2005-05-09 Thread Sami Samhuri
* On Sun May-08-2005 at 03:27:41 PM -0700, Drew Tomlinson said:
 I've followed the directions in the handbook and installed from a 
 Knoppix boot.  I've made it all the way to section 10.d (reboot).  
 However upon reboot, I'm presented with a login prompt.  I log in as 
 root and enter the password I set in section 8.c but it tells me 'login 
 incorrect'.  I boot Knoppix again, perform the required steps and enter 
 my chroot environment.  I repeat section 8.c and reset the password.  I 
 also move ahead to section 11 and create a user account for myself, 
 passing along '-G wheel', so I can su if necessary.  I reboot again back 
 to Gentoo but get the same problem when logging on as root.  I can log 
 on with the new user account I've created but 'su' does not work (can't 
 setguid), probably due to the same password issue I have when logging on 
 as root.
 
 Any idea?  I'm almost there.

My only stab in the dark here:

In /etc/fstab do you have the nosuid option enabled on any of your
filesystems?

-- 
Sami Samhuri


pgpi502HPmYTa.pgp
Description: PGP signature


Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread Sami Samhuri
* On Sun May-08-2005 at 09:14:15 PM -0500, Hareesh Nagarajan said:
 Hi All:
 
 How do I enable programs which are executed by the root to connect to
 the X server?

I think you might be looking for this command (normal user):

% xhost +localhost

For more info read 'man xhost'.

-- 
Sami Samhuri


pgpFLhHoLCdSm.pgp
Description: PGP signature


Re: [gentoo-user] lost file with reiser4

2005-05-09 Thread Sami Samhuri
* On Sun May-08-2005 at 10:22:43 PM -0700, Robert Persson said:
[...]
 That said, I don't want to lose data again, so I will probably fall
 back to something less flashy before too long.

I use reiserfs (v3.6) without problems although you will hear people
talk of losing data with it. I believe it's usually due to power outages
so if you're not on a UPS or have dodgy power then I'd steer clear of
it. If you're really interested in stability than as the Gentoo Handbook
says, ext2/3 is the tried and true fs of choice.

-- 
Sami Samhuri


pgpLxEhFUtw2H.pgp
Description: PGP signature


Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread Sami Samhuri
* On Mon May-09-2005 at 10:57:47 AM +0200, Martin Carpella said:
 Sami Samhuri [EMAIL PROTECTED] writes:
 
  I think you might be looking for this command (normal user):
 
  % xhost +localhost
 
 Note however that this can be dangerous, as now every local user could
 send you a window to your X-server, not only root.

True. I suppose I shouldn't have assumed this was a desktop with one
user.

-- 
Sami Samhuri


pgpOHN6uIAxiu.pgp
Description: PGP signature


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

2005-05-06 Thread Sami Samhuri
* On Sat May-07-2005 at 01:04:17 AM +0530, Mrugesh Karnik said:
[...]
 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.

I've installed Gentoo with LVM2 (before 2 days ago when I used 2005.0).
Don't quote me on this but I'm pretty sure it was using a 2004.1 LiveCD,
so I would be very surprised to hear that 2004.3 is using LVM1.

 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...

Far from a waste of time, believe you me!

Not trying to shoo you away, but there is more out there than Gentoo and
RPM-based distros, if that's what you're looking for. Much more.
Slackware springs to mind (first Linux distro I ever used, it is a great
distro).

There is also Debian. I haven't used it and cannot comment further on
it. I'm sure that a bunch of people here will have some colourful
thoughts though.

[Heh, I almost brought up a quote from Ciaran and used it here but
remembering all the fuss last time I thought better of it. Something
about SUVs and shotguns... :) ]

-- 
Sami Samhuri


pgpVg7v3k18hc.pgp
Description: PGP signature


Re: [gentoo-user] resolution from command line

2005-05-01 Thread Sami Samhuri
* On Sat Apr-30-2005 at 09:12:22 PM -0500, Greg Donald said:
 On 4/30/05, Sami Samhuri [EMAIL PROTECTED] wrote:
   The command you are looking for is fbresolution.
  
  Which package provides this program? I cannot find it on my system. :(
 
 Google makes me think it's in bootsplash.

Thanks... should've thought of Google.

-- 
Sami Samhuri


pgplhLEPo0aMO.pgp
Description: PGP signature


Re: [gentoo-user] Re: gdm power management

2005-04-30 Thread Sami Samhuri
* On Sat Apr-30-2005 at 02:35:10 AM +, James said:
 Mark Knecht markknecht at gmail.com writes:
[...]
  where do you make a config setting change to get this to work?
[...]

 I've got some older Viewsonic E790 19 CRT based monitors. Here's the
 relevant section of an xorg file that you could use as a starting point...
 
 Section Monitor
 Identifier   Monitor0
 VendorName   VSC
 ModelNameE790-3
 HorizSync30.0 - 95.0
 VertRefresh  50.0 - 200.0
 Option  DPMS
 EndSection

Also check out the following options (found in 'man xorg.conf'):

Option  BlankTime 15
Option  StandbyTime   30
Option  SuspendTime   60
Option  OffTime  600

Times are in minutes.

-- 
Sami Samhuri


pgpRqQSzF8RCp.pgp
Description: PGP signature