[gentoo-user] md5sum mismatch, upgrade from torrent, fsck

2009-05-23 Thread Thufir
I suppose I'll have to re-download the iso if the md5sum doesn't match 
(which it doesn't per https://help.ubuntu.com/community/
UbuntuHashes#9.04)?  The problem is that the iso is corrupted?

thu...@arrakis:~/Desktop$ 
thu...@arrakis:~/Desktop$ 
thu...@arrakis:~/Desktop$ sudo mount -o loop ~/Desktop/ubuntu-9.04-
alternate-i386.iso /media/cdrom0
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

thu...@arrakis:~/Desktop$  dmesg | tail
[  461.450949] kjournald starting.  Commit interval 5 seconds
[  461.451532] EXT3-fs warning: maximal mount count reached, running 
e2fsck is recommended
[  461.488324] EXT3 FS on sda1, internal journal
[  461.488342] EXT3-fs: mounted filesystem with ordered data mode.
[  616.822097] ISO 9660 Extensions: Microsoft Joliet Level 3
[  616.993243] ISOFS: changing to secondary root
[  617.046821] isofs_fill_super: root inode is not a directory. Corrupted 
media?
[  636.444512] ISO 9660 Extensions: Microsoft Joliet Level 3
[  636.446011] ISOFS: changing to secondary root
[  636.447168] isofs_fill_super: root inode is not a directory. Corrupted 
media?
thu...@arrakis:~/Desktop$ 
thu...@arrakis:~/Desktop$ md5sum ubuntu-9.04-alternate-i386.iso 
1dd3245e86b89b38abb01814b05ae299  ubuntu-9.04-alternate-i386.iso
thu...@arrakis:~/Desktop$ 
thu...@arrakis:~/Desktop$ sudo e2fsck -yv /dev/sda1
[sudo] password for thufir: 
e2fsck 1.41.3 (12-Oct-2008)
/dev/sda1 is mounted.  

WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? no

check aborted.
thu...@arrakis:~/Desktop$ 


I wasn't quite sure how to run fsck without a live cd...

out of curiosity, when I tried to download via the torrent the speed 
seemed exactly the same as directly downloading the iso but the progress 
was painfully slow versus directly downloading the CD (which I'll do 
again).


thanks,

Thufir




[gentoo-user] screen resolution and aspect ratio change

2009-01-21 Thread Thufir
I have very vanilla hardware and when I just booted the resolution 
appears lower (icons bigger, jpg's blurry) and the aspect ratio is off 
(icons are taller than usual).

The screen resolution is currently 960x600, which I don't recall ever 
having even heard of.  If it was 1020xwhatever, which I suspect it 
probably was, would that information be logged somewhere?

It's a built-in video card, but, I guess, could be a hw problem.

The monitor settings don't offer a resolution setting.



-Thufir




[gentoo-user] dbus and HAL errors

2008-03-09 Thread Thufir
From the user profile, I ran xhost + to allow connections to the x 
server (is that a correct understanding?).

As root I'm getting HAL errors:

arrakis ~ # 
arrakis ~ # nautilus
Initializing gnome-mount extension

** (nautilus:8513): WARNING **: Cannot connect to system bus: 
org.freedesktop.DBus.Error.FileNotFound : Failed to connect to socket /
var/run/dbus/system_bus_socket: No such file or directory

** (nautilus:8513): WARNING **: Could not initialize hal context

Shutting down gnome-mount extension

arrakis ~ # 




http://ubuntuforums.org/showthread.php?t=365442page=3

talks about starting the dbus service before HAL?




thanks,

Thufir

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



[gentoo-user] Re: autounmask fails

2008-02-15 Thread Thufir
On Fri, 08 Feb 2008 08:25:12 +0100, Thomas Kahle wrote:
[...]
 Is your Portage recent ? If not, try to upgrade to at least 2.1 The
 Message is misleading, should be: Package canno be installed instead
 of Package is masked

It did finally install.  Thank you, though.

-Thufir

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



[gentoo-user] Re: ruby gems versus emerge

2008-02-15 Thread Thufir
On Fri, 08 Feb 2008 10:50:28 +0100, Thomas Pani wrote:

 Are gems supposed to be installed via emerge?
 Yes. There's a gems eclass that handles installing gems, making
 gems-ebuils fairly easy. Have a look at, for example, the
 dev-ruby/camping ebuild.
 
 Oh, and there's an ebuild request (bug #209319) for dev-ruby/fastercsv,
 including an ebuild submission. Just get it and put it in your local
 overlay (or set one up, if you haven't already) .


I'll take a look at that, thank you :)


-Thufir

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



[gentoo-user] Re: emerge ruby fails

2008-02-15 Thread Thufir
On Thu, 14 Feb 2008 17:42:24 +0100, Lowe Schmidt wrote:


 It's not the topmost build error, above that.

After mucking about with revdep-rebuild, I did get ruby installed, but 
get:


 Emerging (7 of 7) dev-ruby/rails-2.0.2 to /
[...]
 Install rails-2.0.2 into /var/tmp/portage/dev-ruby/rails-2.0.2/image/ 
category dev-ruby
ERROR:  While executing gem ... (RuntimeError)
Error instaling /var/tmp/portage/dev-ruby/rails-2.0.2/distdir/
rails-2.0.2:
rails requires rake = 0.7.2 
 * 
 * ERROR: dev-ruby/rails-2.0.2 failed.
 * Call stack:
 *ebuild.sh, line 1701:  Called dyn_install
 *ebuild.sh, line 1138:  Called qa_call 'src_install'
 *ebuild.sh, line   44:  Called src_install
 *   rails-2.0.2.ebuild, line   29:  Called gems_src_install
 *  gems.eclass, line   66:  Called die
 * The specific snippet of code:
 *  gem install ${GEM_SRC} --version ${PV} ${myconf} \
 *  --local --install-dir ${D}/${GEMSDIR} || die gem 
install failed
 *  The die message:
 *   gem install failed
 * 
 * If you need support, post the topmost build error, and the call stack 
if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-ruby/
rails-2.0.2/temp/build.log'.
 * 

 * Messages for package dev-ruby/rails-2.0.2:

 * 
 * ERROR: dev-ruby/rails-2.0.2 failed.
 * Call stack:
 *ebuild.sh, line 1701:  Called dyn_install
 *ebuild.sh, line 1138:  Called qa_call 'src_install'
 *ebuild.sh, line   44:  Called src_install
 *   rails-2.0.2.ebuild, line   29:  Called gems_src_install
 *  gems.eclass, line   66:  Called die
 * The specific snippet of code:
 *  gem install ${GEM_SRC} --version ${PV} ${myconf} \
 *  --local --install-dir ${D}/${GEMSDIR} || die gem 
install failed
 *  The die message:
 *   gem install failed
 * 
 * If you need support, post the topmost build error, and the call stack 
if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-ruby/
rails-2.0.2/temp/build.log'.
 * 
 * GNU info directory index is up-to-date.
arrakis ~ # 
arrakis ~ # 



I would just like to try to avoid emerge world if possible :(


-Thufir

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



[gentoo-user] emerge ruby fails

2008-02-14 Thread Thufir
I haven't had much of a chance to google this, but I did update glibc as 
that seems like it's related to some ruby problems.

Ruby gems fails to install with the following error (this is the topmost 
build error?):


 * Messages for package dev-ruby/rubygems-0.9.4-r2:

 * 
 * ERROR: dev-ruby/rubygems-0.9.4-r2 failed.
 * Call stack:
 *  ebuild.sh, line 1701:  Called dyn_compile


thanks,

Thufir

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



[gentoo-user] ruby gems versus emerge

2008-02-07 Thread Thufir
I installed the fastercsv gem via gems rather than emerge :(

From http://packages.gentoo.org/category/dev-ruby?full_cat I don't even 
see that package listed.

Are gems supposed to be installed via emerge?



thanks,

Thufir

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



[gentoo-user] autounmask fails

2008-02-07 Thread Thufir
Why would autounmask report that it had unmasked a package when emerge 
reports that package still to be masked?


arrakis ~ # 
arrakis ~ # autounmask dev-db/mysql-gui-tools-5.0_p12-r2

 autounmask version 0.21 (using PortageXS-0.02.07 and portage-2.1.2.9)

 * Using repository: /usr/portage

 * Using package.keywords file: /etc/portage/package.keywords
 * Using package.unmask file: /etc/portage/package.unmask

 * Unmasking dev-db/mysql-gui-tools-5.0_p12-r2 and its dependencies.. 
this might take a while..

 * done!

arrakis ~ # 
arrakis ~ # cat /etc/portage/package.keywords
=net-im/pidgin-2.0.2 ~x86
=net-nntp/pan-0.131 ~x86
dev-java/sun-jdk ~x86
=dev-ruby/rcov-0.8.1.2.0 ~x86
=dev-ruby/ruby-debug-0.9.3  ~x86

# ---
# BEGIN: dev-db/mysql-gui-tools-5.0_p12-r2
# ---
# ---
# END: dev-db/mysql-gui-tools-5.0_p12-r2
# ---



arrakis ~ # 
arrakis ~ # emerge --ask dev-db/mysql-gui-tools 

These are the packages that would be merged, in order:

Calculating dependencies \
!!! All ebuilds that could satisfy dev-db/mysql-gui-tools have been 
masked.
!!! One of the following masked packages is required to complete your 
request:
- dev-db/mysql-gui-tools-5.0_p12-r2 (masked by: required EAPI 1, 
supported EAPI 0)

For more information, see MASKED PACKAGES section in the emerge man page 
or 
refer to the Gentoo Handbook.

arrakis ~ # 




thanks,

Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-20 Thread Thufir
On Fri, 18 Jan 2008 20:06:45 +0100, Lowe Schmidt wrote:

 The scenario is a bit bizarre I'd say.

It's hyperbole, definitely, but meant to illustrate that more users is 
good.  Oh well.

 On Jan 18, 2008, at 7:46 PM, Thufir wrote:
 
 On Fri, 18 Jan 2008 16:04:46 +0200, Alan McKinnon wrote:


 Nope. The Ubuntu developers would probably just carry on doing what
 they
 doing now - developing on Ubuntu. What makes you think they'd change?

 They would continue to develop it even if *no-one*, outside of the
 developers, used it?  We'll have to agree to disagree on that, even if
 it's a bit of hyperbole.


-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-18 Thread Thufir
On Fri, 18 Jan 2008 16:04:46 +0200, Alan McKinnon wrote:


 Nope. The Ubuntu developers would probably just carry on doing what they
 doing now - developing on Ubuntu. What makes you think they'd change?

They would continue to develop it even if *no-one*, outside of the 
developers, used it?  We'll have to agree to disagree on that, even if 
it's a bit of hyperbole.


-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-17 Thread Thufir
On Thu, 17 Jan 2008 10:10:01 +0200, Alan McKinnon wrote:


 Let's turn this around: if Gentoo were to attract a larger user base I
 posit that this would attract more developers.
 
 Who says Gentoo does not already have a large user base consisting of
 exactly the kind of users that are ideal for Gentoo? It has not been
 established that this is not the case.


Absolutely, the community support within Gentoo speaks to the distro 
having, in my opinion, the best community.

I'd like to see the quantity of Gentoo users increase partly because I 
think it's so fantastic.


-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-17 Thread Thufir
On Thu, 17 Jan 2008 10:00:51 +, Neil Bothwick wrote:

 Let's turn this around: if Gentoo were to attract a larger user base I
 posit that this would attract more developers.
 
 How do you draw that conclusion? How would attracting users who are
 unwilling to read documentation and get their hands dirty increase the
 number of potential developers?


Taken to the extreme, if *all* the ubuntu users (to pick on ubuntu for a 
minute) suddenly switched to gentoo I would expect the ubuntu developers 
to follow.


-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-17 Thread Thufir
On Thu, 17 Jan 2008 09:44:12 +0100, Michael Schmarck wrote:


 Uhm, why? Sabayon is a distribution of itself. Sure, it's based on
 Gentoo, but it certainly has its own vision and thus also its own
 userbase. The userbase of Gentoo and Sabayon don't have to be identical.
 What works for them, doesn't have to work for us.

Only in that I would like to see Gentoo have more users, which attract 
more developers.


-Thufir

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



[gentoo-user] Re: Daniel Robbins' come back ?

2008-01-16 Thread Thufir
On Mon, 14 Jan 2008 16:51:33 +, James wrote:

 You still believe gplv3 is a good thing? I think *GPLv3* is the spawn of
 Satan, and that's the reason most of the kernel devs did not go for that
 *horse hockey*!

I don't think that I was advocating gplv3, certainly that wasn't my 
intent, just that (as a user) I wouldn't want Gentoo to use a BSD (or 
Apache) license.

I think I'll try to refrain from further participation in this thread.  
Sometimes I like to stir things up, but this isn't one of them :(



-Thufir

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



[gentoo-user] Re: What's with this hald thing and why can't I rip CDs any more?

2008-01-16 Thread Thufir
On Wed, 09 Jan 2008 00:56:26 -0300, Naiani Rosa de Barros wrote:

 Maybe something got corrupted somehow, or is just outdated.

I've never run across corruption, or AFAIK.  What sort of thing do you 
have in mind?



curious,

Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-16 Thread Thufir
On Fri, 11 Jan 2008 14:33:32 +, Qian Qiao wrote:


 What extra do you archieve if you install your Gentoo from a Gentoo
 LiveCD instead of a Knoppix CD? None!
 
 Stop binding you mind to the concept that I have to install a Gentoo
 from a Gentoo CD, it's not true, start looking at a broader
 perspective.

I don't think anyone's making that argument.  What I'm asking, at least, 
is why Gentoo prides itself on having one of the steepest learning curves.

Let's turn this around: if Gentoo were to attract a larger user base I 
posit that this would attract more developers.



-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-16 Thread Thufir
On Sat, 12 Jan 2008 22:12:34 +0100, Hemmann, Volker Armin wrote:

 Is there a place where we can conveniently read this list, and not have
 posting privileges?

 An archive list server or such?


 James
 
 http://marc.info

I prefer:

http://groups.google.com/group/linux.gentoo.user/topics

However, I do wish that I could post from there.  There's always gmane :)


-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-16 Thread Thufir
On Fri, 11 Jan 2008 11:58:15 -0200, Daniel da Veiga wrote:

 I completely agree with Alan, Gentoo is a metadistro, and it provides
 (by Handbook) a LOT of ways to install,

Ok, but I would like to see all those sabayon users taken into the fold.


-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-16 Thread Thufir
On Fri, 11 Jan 2008 13:17:11 +, Qian Qiao wrote:


 I'm sorry this goes OT Dale, but unfortunately, my mail client cannot
 render html messages properly, and I trust a lot of people on the list
 have the same problem. If would be nice if you can post in plain text,
 at least in this list.


Ditto, thanks for saying it.


-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-16 Thread Thufir
On Fri, 11 Jan 2008 12:30:07 +0100, Pongracz Istvan wrote:


 So, it is possible to create your own livecd at any time, just start to
 play with catalyst


Not that I want to beat a dead horse, but this doesn't follow for me.  If 
catalyst is so fantastic at creating live cd's, why isn't it used to 
automagically create a new live cd every week?

It's antithetical to Linux, FOSS and Gentoo to have umpteen users doing 
the same process umpteen times instead of doing it once, centrally.  
FWIW, it's more the lack of some kind of anaconda type installer than 
the up-to-dateness of the cd which irks me.


-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-16 Thread Thufir
On Mon, 14 Jan 2008 11:07:34 +0100, Galevsky wrote:


 Because I want. It is sufficient for me. Further details ? I would like
 to bring the excitation to burn a Gentoo CD to noobs and people that are
 pleased to get their CD from Gentoo world. And I want a liveCD to make
 live demo in my linux promotional association, to show how easy emerge
 is, how very nicely the rc are handled (not based on naming as debian
 does) and so on...


Which adds more momentum to Gentoo by drawing in more users which 
attracts more developers -- it snowballs.


-Thufir

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



[gentoo-user] Re: Daniel Robbins' come back ?

2008-01-14 Thread Thufir
On Sun, 13 Jan 2008 20:05:26 +1000, Alan E. Davis wrote:

 I want there to be a
 gentoo.  I want there to be a well documented and not horribly painful
 way to install.  I like the concept.

I completely agree.  What's wrong with appropriating the Fedora (or 
other) install?  The arguments against that don't seem to be technical...


-Thufir

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



[gentoo-user] Re: Daniel Robbins' come back ?

2008-01-14 Thread Thufir
On Sun, 13 Jan 2008 01:12:09 +, James wrote:


 2. Keep licensing more in line with the BSD license for Gentoo centric
 technology (thus encouraging entrepreneurship as defined by the
 individual while simultaneously respecting GPLv2 and maintaining
 compliance with GPLv2.   GPLv3 is a poor idea, IMHO. GPLv3 can be made
 easily available and leave GPLv3 compliance/responsibility up to the
 individual. In fact software licensing and compliance should always be
 up to the INDIVIDUAL, IMHO.


Absolutely not -- For BSD licensing please use BSD.  I see no reason why 
everything Gentoo related can't be GPL v2 -- after all, the kernel 
certainly is.

I wouldn't want to see entrepreneurs take Gentoo, *improve* it, and then 
not contribute those improvements back to Gentoo itself.  That's what the 
GPL versus BSD is about, to my knowledge.

That being said, it would be fantastic if the Gentoo Foundation found 
ways to make money :)



-Thufir

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



[gentoo-user] Re: Daniel Robbins' come back ?

2008-01-14 Thread Thufir
On Sat, 12 Jan 2008 10:11:11 +0100, alain.didierjean wrote:

 Daniel Robbins offers to take back Gentoo leadership. What about it ?
 Read
 http://blog.funtoo.org/2008/01/here-my-offer.html
 
 --
 ~adj~


I find it unfortunate that he doesn't simply post his ideas to this list, 
but I suppose from his perspective that doing so would open a can of 
worms :(



-Thufir

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



[gentoo-user] Re: Gentoo Install CD : was Is GWN dead?

2008-01-14 Thread Thufir
On Fri, 11 Jan 2008 13:35:38 +, Neil Bothwick wrote:


 I understand they are switching to a lighter desktop for the next
 release, because GNOME was using too much of the CD that was needed for
 packages.


The only packages (beyond a desktop) required are (my opinion):


xchat or pidgin
firefox



-Thufir

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



[gentoo-user] Re: Is GWN dead?

2008-01-14 Thread Thufir
On Sun, 13 Jan 2008 19:03:10 +0100, Pongracz Istvan wrote:


 After reading lot of posts regarding install cd, I decided, I will
 create livecd for install purposes, with: - handbook
 - fresh stage3 for i686
 - portage snapshot
 
 I will try to keep it up-to-date.
 
 Anyway, I'm not a dev member, just a user with motivation to do this.
 Are anybody interesting in this kind of release?
 
 Cheers, István


Yes; just with that I had more to offer to the effort.



-Thufir

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



[gentoo-user] Re: how would I use device names in fstab?

2008-01-02 Thread Thufir
On Thu, 27 Dec 2007 12:26:20 +0100, Dirk Heinrichs wrote:


 Looks good, except for the last column of the ext[23] volumes. Should be
 1 for / and 2 for the others. The dump column (5th) can be zero for
 everything.

Thanks :)

The last line now reads:

/dev/VolGroup00/LogVol00/mnt/VolGroup00/LogVol00ext3
users,rw1 2



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: how would I use device names in fstab?

2008-01-02 Thread Thufir
On Mon, 31 Dec 2007 09:41:39 +0100, Dirk Heinrichs wrote:

 Everyting that is needed is compiled into the kernel directly.
 
 So we need a more detailed description of your problem, now. What
 exactly is not working and what is the exact error message (if any) you
 get?

Well, I was pleasantly surprised that I was able read the disc from the 
cdrw drive, but the cdrom drive is odd.  Works from fedora, but in Gentoo 
cycles through:  spin up, pause, spin up, forever.  Even ctrl-c didn't 
kill it, had to reboot:

arrakis ~ # 
arrakis ~ # mount /dev/cdrw1 /mnt/cdrw1
mount: block device /dev/cdrw1 is write-protected, mounting read-only
arrakis ~ # 
arrakis ~ # ll /mnt/cdrw1/
total 96
-r--r--r-- 1 root root   224 May 18  2005 README.diskdefines
dr-xr-xr-x 2 root root  2048 May 22  2005 casper
dr-xr-xr-x 3 root root  2048 Apr  6  2005 dists
dr-xr-xr-x 3 root root  2048 Apr  6  2005 doc
dr-xr-xr-x 3 root root  2048 Apr  6  2005 install
dr-xr-xr-x 2 root root  4096 May 18  2005 isolinux
-r--r--r-- 1 root root 77207 Apr  6  2005 md5sum.txt
dr-xr-xr-x 2 root root  2048 Apr  6  2005 pics
dr-xr-xr-x 4 root root  2048 Apr  6  2005 pool
dr-xr-xr-x 2 root root  2048 Apr  6  2005 preseed
dr-xr-xr-x 2 root root  2048 Apr  6  2005 tools
lr-xr-xr-x 1 root root 1 May 16  2005 ubuntu - .
arrakis ~ # 
arrakis ~ # umount /mnt/cdrw1/
arrakis ~ # 
arrakis ~ # 
arrakis ~ # mount -a
arrakis ~ # 
arrakis ~ # ll /mnt/cdrw1/
total 0
arrakis ~ # 
arrakis ~ # mount /dev/cdrom1 /mnt/cdrom1 
mount: No medium found
arrakis ~ # 
arrakis ~ # mount /dev/cdrom /mnt/cdrom 






thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: how would I use device names in fstab?

2008-01-02 Thread Thufir
On Wed, 02 Jan 2008 10:59:56 +, Thufir wrote:

 Well, I was pleasantly surprised that I was able read the disc from the
 cdrw drive, but the cdrom drive is odd.  Works from fedora, but in
 Gentoo cycles through:  spin up, pause, spin up, forever.  Even ctrl-c
 didn't kill it, had to reboot:


Even after rebooting, the drive was still going crazy trying to read the 
disc.  How can I kill that without rebooting?  I had to reboot again just 
to eject the disc between POST and GRUB.

I think it may be that this particular CD-ROM drive isn't fully supported 
by Gentoo, or somehow Gentoo is using different drivers than Fedora. It's 
a very cheap CD-ROM, but I'd still like to get it functioning correctly.

I was quite surprised when the CD-RW drive read the disc as I thought 
that I'd tried that before and it had failed.


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: how would I use device names in fstab?

2007-12-30 Thread Thufir
On Sat, 29 Dec 2007 09:16:26 +0100, Dirk Heinrichs wrote:


 Are the device files (links) present in /dev (ll /dev/cdr*)?


arrakis ~ # 
arrakis ~ # ll /dev/cdr*
lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrom - hdc
lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrom1 - hdd
lrwxrwxrwx 1 root root 3 Dec 30 23:11 /dev/cdrw1 - hdd
arrakis ~ # 



 Maybe no CDRom driver in your kernel or module not loaded? Or no iso9660
 filesystem module?

I'm not sure.

 Could you post your kernel config, please.

I ran zcat /proc/config.gz and put the results at  http://rafb.net/p/
DirL3Z54.html for the kernel.



Thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: how would I use device names in fstab?

2007-12-28 Thread Thufir
On Thu, 27 Dec 2007 13:31:17 +, Stroller wrote:


 I'm not seeing any critical error messages in your output - could you
 perhaps explain what the problem is exactly?


I'll post some details later tonight, but data discs, blank media or 
music cd's -- none work.  When I boot into Fedora on the same machine, 
both drives (CD-ROM and CD-R/W) work fine.


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] how would I use device names in fstab?

2007-12-27 Thread Thufir
I think that the fstab needs to be changed to use device names, but I'm 
not sure what that means:


arrakis ~ # 
arrakis ~ # dmesg |grep hd
Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/
dev/hdb3 
ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:pio
hda: WDC WD800BB-22JHC0, ATA DISK drive
hdb: Maxtor 2F030L0, ATA DISK drive
hdc: SAMSUNG CD-ROM SC-148C, ATAPI CD/DVD-ROM drive
hdd: CD-RW CDR-6S52, ATAPI CD/DVD-ROM drive
hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA
(100)
hda: cache flushes supported
 hda: hda1 hda2 hda3
hdb: max request size: 128KiB
hdb: 60058656 sectors (30750 MB) w/2048KiB Cache, CHS=59582/16/63, UDMA
(133)
hdb: cache flushes supported
 hdb: hdb1 hdb2 hdb3
hdc: ATAPI 48X CD-ROM drive, 128kB Cache
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
EXT3 FS on hdb3, internal journal
Adding 960616k swap on /dev/hdb2.  Priority:-1 extents:1 across:960616k
hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
arrakis ~ # 
arrakis ~ # cat /etc/fstab
/dev/cdrom  /mnt/cdrom  autonoauto,user 0 0
/dev/cdrom1 /mnt/cdrom1 autonoauto,user 0 0
/dev/cdrw1  /mnt/cdrw1  autonoauto,user 0 0

/dev/hdb1   /boot   ext2defaults1 2
/dev/hdb2   noneswapsw  0 0
/dev/hdb3   /   ext3noatime 0 1
none/proc   procdefaults0 0
none/dev/shmtmpfs   defaults0 0
/dev/VolGroup00/LogVol00/mnt/VolGroup00/LogVol00ext3
users,rw0 0

arrakis ~ # 




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Python vs C++ [was: Gentoo Rules]

2007-12-17 Thread Thufir
On Mon, 17 Dec 2007 11:38:30 -0200, Raphael wrote:


 I believe that a good solution would be evolving Portage to use
 different forms of storage, like databases or even LDAP. In a home
 desktop, you could use SQLite, which is light weight. In a Office
 enviroment, you could use a larger database, like MySQL or PostgreSQL.
 In this second case, it would even make sharing the package list faster,
 since the only current method is sharing it over NFS.
 
 I understand that doing so could bloat Portage dependencies, but
 it is, IMHO, a good way to improve its speed.

This is an interesting idea.  if portage were to use a database, there 
could be, for instance, a ruby on rails app for a interface!   :)



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Firefox mplayerplug-in problem

2007-12-08 Thread Thufir
On Fri, 07 Dec 2007 01:05:55 -0600, Anthony E. Caudel wrote:

 I used to be able to view Nasa-tv
 (http://www.nasa.gov/multimedia/nasatv/) in Firefox with mplayerplug-in.
  This no longer works however.  The plug-in starts to connect then says
 Stopped for any method (windows, realplayer, or quicktime) chosen.

Thank you for the link, first off!  Please do post back any further 
results, I'm quite interested in the topic.  Also, how were you 
generating that list, please?



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: gnome emerge gives blocked packages

2007-12-08 Thread Thufir
On Fri, 07 Dec 2007 12:13:52 +0200, Alan McKinnon wrote:


 Nothing to see here, move along, this is gentoo after all.

Heh.  It's certainly a learning experience coming from Fedora.  I did a 
networkless install from the live CD which went smoothly, but I think 
it brings some inherent issues with it; for instance, the above issues 
with blocked packages and so forth.

A bigger issue, which I have (had) a different thread going on was 
hardware recognition.  While mucking about with GNOME (I took the easy 
out and just did emerge gnome --unmerge; emerge gnome to fix some sort 
of bonobo error) I caught sight of references to HAL.

This makes me think that on a low-level the packages required for 
recognizing CD-ROM and CD-R/W drives, and probably USB ports, simply 
isn't functioning or isn't installed correctly.

I'm not particularly motivated to deal with it at the moment, but maybe I 
could get some background general information on this.  Heh, I say that, 
but haven't referenced the gentoo handbook on the topic.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Firefox mplayerplug-in problem

2007-12-08 Thread Thufir
On Sat, 08 Dec 2007 08:44:24 -0600, Anthony E. Caudel wrote:


 Would you please post yours so I can compare my USE flags to yours?


Ah, the irony.  I recently unmerged mplayer because it coincided with 
some sort of bonobo-factory process which was causing horrible screen 
freezes (I couldn't even ctrl-alt-backspace to logout).  Then I unmerged 
and re-emerged GNOME as a slapdash solution.

So, at the moment I don't have mplayer.  However, your post has inspired 
me to try again!  At which point, yes, I'll run that command.

You don't want my make.conf, do you?



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Firefox mplayerplug-in problem

2007-12-08 Thread Thufir
On Sat, 08 Dec 2007 18:19:38 -0600, Anthony E. Caudel wrote:

 It might help.  Thanks.
 
 Tony

Glad to provide and compare :)



[EMAIL PROTECTED] ~/Desktop/strawr/db $ 
[EMAIL PROTECTED] ~/Desktop/strawr/db $ emerge -va mplayer
superuser access would be required... adding --pretend to options.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N f  ] media-video/realplayer-10.0.9  USE=X nsplugin 0 kB 
[ebuild  N] media-video/mplayer-1.0_rc1_p20070824  USE=X a52 aac 
alsa arts doc dts dvd encode esd gif gtk iconv ipv6 jpeg live mad mp3 
opengl oss png quicktime real sdl theora truetype unicode vorbis 
win32codecs xanim xv xvid -3dnow -3dnowext -aalib (-altivec) -amrnb -
amrwb -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-
cflags -dga -directfb -dv -dvb -enca -fbcon -ftp -ggi -ivtv -jack -
joystick -libcaca -lirc -livecd -lzo -md5sum -mmx -mmxext -mp2 -musepack 
-nas -openal -pnm -pvr -radio -rar -rtc -samba -speex -srt -sse -sse2 -
ssse3 -svga -teletext -tga -tivo -v4l -v4l2 -vidix -x264 -xinerama -xvmc -
zoran VIDEO_CARDS=i810 mga s3virge tdfx vesa -nvidia 0 kB 

Total: 2 packages (2 new), Size of downloads: 0 kB
Fetch Restriction: 1 package
[EMAIL PROTECTED] ~/Desktop/strawr/db $ 
[EMAIL PROTECTED] ~/Desktop/strawr/db $ cat /etc/make.conf

## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ##
## PLEASE EDIT /mnt/gentoo/etc/make.conf INSTEAD  ##

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
#CFLAGS=-O2 -march=i686 -pipe
CFLAGS=-march=i686 -O2 -pipe
CXXFLAGS=${CFLAGS}
# This should not be changed unless you know exactly what you are doing.  
You
# should probably be using a different stage, instead.
CHOST=i686-pc-linux-gnu
ACCEPT_KEYWORDS=
MAKEOPTS=
CONFIG_PROTECT=-* 
USE=7zip apache2 ctype doc fastcgi java java5 msn mysql mysqli 
nsplugin php
sqlite a52 aac amr divx4linux dts live mad matroska mythtv real 
theora 
win32codecs xanim xvid hal



FEATURES=
[EMAIL PROTECTED] ~/Desktop/strawr/db $ 
[EMAIL PROTECTED] ~/Desktop/strawr/db $ 





-Thufir

ps:  my system is woefully out of date

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] gnome emerge gives blocked packages

2007-12-06 Thread Thufir
 (-
firebird%) (-sqlite%) 1,062 kB
[ebuild U ] x11-libs/qt-4.3.2 [4.2.3-r1] USE=cups dbus doc* gif jpeg 
mysql* opengl png qt3support sqlite* ssl%* tiff%* zlib -accessibility -
debug -examples -firebird -glib -mng -nas -nis -odbc -pch -postgres -
sqlite3 -xinerama INPUT_DEVICES=-wacom 42,445 kB
[ebuild  N] app-text/tetex-3.0_p1-r6  USE=X doc -Xaw3d -lesstif -
motif -neXt -tk 102,314 kB
[ebuild U ] app-crypt/mit-krb5-1.5.3-r1 [1.5.2] USE=doc* ipv6 -krb4 -
tcl 9,874 kB
[ebuild  N] virtual/latex-base-1.0  0 kB
[ebuild U ] gnome-extra/evolution-data-server-1.12.1 [1.8.3-r5] 
USE=doc* ipv6 kerberos ldap ssl -debug -keyring -krb4 (-nntp%) 7,291 kB
[ebuild U ] net-misc/openssh-4.7_p1-r1 [4.5_p1-r1] USE=X kerberos 
ldap pam tcpd -X509 -chroot -hpn -libedit (-selinux) -skey -smartcard -
static 1,029 kB
[ebuild U ] media-libs/t1lib-5.0.2-r1 [5.0.2] USE=X doc* 0 kB
[ebuild  N] gnome-base/gnome-panel-2.20.1  USE=doc eds -debug 2,755 
kB
[ebuild  N] app-admin/gnome-system-tools-2.14.0  USE=-debug -nfs -
samba 2,072 kB
[ebuild U ] gnome-extra/bug-buddy-2.20.1 [2.16.1] USE=eds%* -debug 
1,046 kB
[ebuild U ] gnome-extra/evolution-webcal-2.12.0 [2.8.0] USE=-debug 
190 kB
[ebuild U ] mail-client/evolution-2.12.1 [2.8.3-r2] USE=crypt dbus 
doc* hal ipv6 kerberos ldap spell ssl -debug -krb4 -mono (-
networkmanager) -nntp -pda -profile (-bogofilter%) 25,299 kB
[ebuild U ] net-im/ekiga-2.0.11 [2.0.7] USE=dbus doc* gnome sdl -
avahi -debug 5,421 kB
[ebuild  N] dev-python/gnome-python-desktop-2.20.0  USE=X doc -
debug 430 kB
[ebuild  N] gnome-extra/gnome-utils-2.20.0.1  USE=hal ipv6 -debug 
4,486 kB
[ebuild U ] gnome-extra/fast-user-switch-applet-2.20.0 [2.16.0] USE=-
debug 759 kB
[ebuild  N] net-analyzer/gnome-nettool-2.20.0  USE=-debug 559 kB
[ebuild  N] net-analyzer/gnome-netstatus-2.12.1  USE=-debug 489 kB
[ebuild  N] gnome-extra/gnome-power-manager-2.20.0-r1  USE=X doc -
debug 2,529 kB
[ebuild  N] gnome-base/gnome-applets-2.20.0  USE=acpi doc gnome 
gstreamer hal ipv6 -apm -debug -test 7,314 kB
[ebuild  N] gnome-base/gnome-volume-manager-2.17.0  USE=crypt doc -
debug 334 kB
[ebuild  N] gnome-extra/gnome-games-2.20.1  USE=opengl -artworkextra 
-debug -guile 11,427 kB
[ebuild  N] gnome-base/gnome-session-2.20.1  USE=esd ipv6 tcpd -
branding -debug 742 kB
[ebuild U ] app-text/enchant-1.3.0 [1.2.5] 527 kB
[ebuild   R   ] app-text/gtkspell-2.0.11-r1  USE=doc* 340 kB
[ebuild U ] www-client/epiphany-2.20.1 [2.16.3] USE=doc* python spell
%* -debug -xulrunner% 4,764 kB
[ebuild U ] app-editors/gedit-2.20.3 [2.16.2-r1] USE=doc* python 
spell -debug -xattr% 3,724 kB
[ebuild  N] dev-python/gnome-python-extras-2.14.2-r1  USE=X doc 
firefox -debug -seamonkey -xulrunner 344 kB
[ebuild U ] gnome-extra/deskbar-applet-2.20.1 [2.16.2-r1] USE=eds 
spell -debug 730 kB
[ebuild  N] gnome-base/gnome-2.20.1  USE=cdr cups dvdr esd ldap -
accessibility -mono 0 kB
[ebuild U ] sys-fs/cryptsetup-luks-1.0.4-r3 [1.0.3-r2] USE=nls -build
% -dynamic (-selinux) 300 kB
[ebuild U ] sys-fs/device-mapper-1.02.22-r5 [1.02.10-r1] USE=(-
selinux) 186 kB
[ebuild U ] sys-fs/udev-115-r1 [104-r12] USE=(-selinux) 210 kB
[ebuild U ] app-dicts/aspell-en-6.0.0 [0.51.1] 179 kB
[ebuild U ] app-text/aspell-0.60.5 [0.50.5-r4] USE=gpm nls%* -
examples% 1,714 kB
[blocks B ] sys-fs/udev-115-r1 (is blocking sys-fs/device-
mapper-1.02.22-r5)
[blocks B ] =app-dicts/aspell-en-0.5* (is blocking app-text/
aspell-0.60.5)
[blocks B ] sys-fs/device-mapper-1.02.19-r1 (is blocking sys-fs/
udev-115-r1)

Total: 323 packages (240 upgrades, 1 downgrade, 50 new, 4 in new slots, 
28 reinstalls, 3 blocks), Size of downloads: 793,480 kB
Fetch Restriction: 1 package (1 unsatisfied)

!!! Error: The above package list contains packages which cannot be 
installed
!!!at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

arrakis ~ #




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Cell phone as modem

2007-12-05 Thread Thufir
On Sun, 02 Dec 2007 06:10:40 -0800, Grant wrote:

 Has anyone attached their cell phone to their Gentoo system to act as a
 modem?

Would this work?  http://homepage.mac.com/jrc/contrib/tzones/

Or, would there be driver issues?



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] bonobo, nautilus and mplayer

2007-12-05 Thread Thufir
I've only done the most cursory search on the following error:

Nautilus can't be used now,
due to an unexpected error.

Nautilus can't be used now, due to an unexpected
error from Bonobo when attempting to locate the
factor.Killing bonobo-activation-server and
restarting Nautilus may help fix the problem.



But I did want to throw it out there.  Ever since installing mplayer I'll 
sometimes get screen freezes in GNOME after using mplayer.  I did 
eventually get the above error, and, as suggested, killing bonobo-
activation-server and restarting Nautilus (I logged out) seems have fixed 
this instance of this annoyance.

In Windows there's the event viewer, I haven't found a similar thing in 
Linux.  I looked in .nautilus but didn't see an error log to shed more 
light on this.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ebuild for a rails application

2007-12-01 Thread Thufir
On Thu, 29 Nov 2007 20:06:12 -0700, darren kirby wrote:


 An ebuild is little more than a shell script with some helper/hook
 functions built in. So: if the install of your rails app is scriptable,
 then yes, you should be able to write an ebuild for it.
 
 As for whether there is an eclass or whatever for rails apps, I don't
 know...


Capistrano, http://www.capify.org/, looks like the tool for deploying 
rails apps?  I was thinking of almost a desktop app once I get it 
workable.




-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] ebuild for a rails application

2007-11-28 Thread Thufir
I'm working on a rails application and am considering the install process 
for the rails application itself.  I don't mean installing rails nor the 
database, but the rails application.

Would an ebuild be able to install/uninstall the rails application itself?



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: mount cdrom: No buffer space available

2007-11-26 Thread Thufir
On Mon, 26 Nov 2007 07:53:40 +0100, Dirk Heinrichs wrote:


 There is no need to do so. However, a fuse based filesystem for mounting
 audio CDs exists, see http://castet.matthieu.free.fr/cddfs/.

Oh, thank you all for your input -- I've been a bit obsessed with rails 
and let this go to the back burner a bit.

However, I did notice that when I click on CDROM from nautilus there's 
a message about HAL; again, though, it cannot be a hardware issue as 
these particular discs and drives work in another distro on the same 
machine.

On boot, and I think shutdown, there are messages about failing to access 
the CDROM -- this is post POST and after GRUB -- I think; maybe it's on 
shutdown only.

I believe it to be a driver issue (HAL is a hardware driver?  Hardware 
Abstraction Layer?  But isn't it more BIOS than OS?).  I'll double check 
things with some data discs on the other distro in the next few days and 
do some more googling (and wikipedia-ing).

If this sheds any light:


arrakis ~ # 
arrakis ~ # dmesg | grep 'cd'
ehci_hcd :00:03.3: EHCI Host Controller
ehci_hcd :00:03.3: new USB bus registered, assigned bus number 1
ehci_hcd :00:03.3: irq 17, io mem 0xe1102000
ehci_hcd :00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver 
(PCI)
ohci_hcd :00:03.0: OHCI Host Controller
ohci_hcd :00:03.0: new USB bus registered, assigned bus number 2
ohci_hcd :00:03.0: irq 18, io mem 0xe1104000
ohci_hcd :00:03.1: OHCI Host Controller
ohci_hcd :00:03.1: new USB bus registered, assigned bus number 3
ohci_hcd :00:03.1: irq 19, io mem 0xe110
ohci_hcd :00:03.2: OHCI Host Controller
ohci_hcd :00:03.2: new USB bus registered, assigned bus number 4
ohci_hcd :00:03.2: irq 20, io mem 0xe1101000
usb 4-1: new low speed USB device using ohci_hcd and address 2
sl811: driver sl811-hcd, 19 May 2005
arrakis ~ # 



I think it's more on shutdown that I notice lotsa weird messages about 
the cdrom drive(s) since futzing with /etc/fstab.





thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] strange beeps from windows

2007-11-26 Thread Thufir
I almost strictly use GNOME, and since configuring ALSA notice this 
annoyance that many events from Pidgin cause beeps through the speakers 
(when Pidgin starts and it auto-joins an IRC channel or someone addresses 
a message to me, or IM's me, etc.).  The beeps also are caused by non-
Pidgin events, it's just that Pidgin is the worst offender.  These 
beeps are through the soundcard/speaker, it's different from the 
system beep.

I've disabled many beeps and tried many permutations of the sound 
configurations within GNOME to no avail.  It has to be something 
available through the GNOME GUI?



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Install a 64bit system from a 32bit minimal CD

2007-11-26 Thread Thufir
On Mon, 26 Nov 2007 17:06:10 +0200, Yoav Luft wrote:

 Hi all,
 Got myself a new machine, AMD Athlon x2 4000 based, all up and running,
 but I have no functional CD writer! Can I use the previously burnt 2006
 minimal x86 cd to install on my x86_64 system? Or can you think of any
 other way to install without a burning a new CD?

I'm not sure of the wisdom of using an out of date cd, nor x86 versus 
x86_64, but can share that the networkless install from cd worked like 
a champ for me. 


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: emerge v gem for rails

2007-11-24 Thread Thufir
On Sat, 24 Nov 2007 08:48:10 +0100, Hans de Graaff wrote:


 In this particular case the instruction is nonsense since portage
 already installs the gem.

I'm a tad concerned at:


--- /usr/lib/ruby/gems/1.8/cache/
 /usr/lib/ruby/gems/1.8/cache/rails-1.2.5.gem
--- /usr/lib/ruby/gems/1.8/doc/
 /usr/lib/ruby/gems/1.8/doc/rails-1.2.5/
--- /usr/bin/
 /usr/bin/rails-1.2.5
 * To select between slots of rails, use:
 *  eselect rails
!!! Warning: Current implementation, 1.2.5, is not in slot --if-unset. 
Ignoring.
 dev-ruby/rails-1.2.5 merged.
 Recording dev-ruby/rails in world favorites file...

 No packages selected for removal by clean
 Auto-cleaning packages...

 No outdated packages were found on your system.
 * GNU info directory index is up-to-date.
arrakis ~ # 



But otherwise things seem better.



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ruby gems

2007-11-23 Thread Thufir
On Thu, 22 Nov 2007 15:47:46 +0100, Hans-Werner Hilse wrote:


 Besides what you were told already (sync portage to see 1.2.5), you can
 see above that rails is slotted. So as long as you don't explicitly
 emerge it, it will keep the 1.1 and 1.2 slots separate and will only
 update within each of the slots. So if you want 1.2.x, emerge it (and
 then remove the 1.1 version, if you need/want to).

That worked fine, thank you.  What's meant by slotted?  I would think 
that it would universally be preferable for emerge to replace old 
versions with new.


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: mount cdrom: No buffer space available

2007-11-23 Thread Thufir
On Fri, 23 Nov 2007 07:36:44 +0100, Dirk Heinrichs wrote:

 I also found (with Google) one forum posting where it was stated that
 the cause was a bad, self-burned disk in the drive. When the poster
 changed the disk, the problem disapeared.

In this case, the discs are fine, as are the drives.  The drives mount 
fine in Fedora and read these particular discs fine (music CD's).

What other things effect mounting devices? can I test the /dev/ 
configuration?  how about mtab?  Just shots in the dark...



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge v gem for rails

2007-11-23 Thread Thufir
I'm running into some error messages from rails when running script/
generate controller foo and am wondering if it's related to package 
management, a mismatch between gems and emerge.  Do not use gems, use 
emerge?  The wiki is incorrect?

The gentoo wiki, http://gentoo-wiki.com/HOWTO_RoR, says to:

 emerge -av sqlite3-ruby
 gem install sqlite3-ruby

Select sqlite3-ruby 1.1.0 (ruby) when prompted. 

However, that version doesn't appear to be an option for the gem:

arrakis ~ # 
arrakis ~ #  gem install sqlite3-ruby
Select which gem to install for your platform (i686-linux)
 1. sqlite3-ruby 1.2.1 (mswin32)
 2. sqlite3-ruby 1.2.1 (ruby)
 3. sqlite3-ruby 1.2.0 (mswin32)
 4. sqlite3-ruby 1.2.0 (ruby)
 5. Skip this gem
 6. Cancel installation
 6
ERROR:  While executing gem ... (Gem::RemoteInstallationCancelled)
Installation of sqlite3-ruby cancelled.
arrakis ~ # 
arrakis ~ # ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux]
arrakis ~ # 




On the other hand, gem list --local and eix are consistent and show:

arrakis ~ # eix sqlite3-ruby
[I] dev-ruby/sqlite3-ruby
 Available versions:  1.1.0 ~1.2.1
 Installed versions:  1.1.0(13:32:16 11/18/07)(doc)
 Homepage:http://rubyforge.org/projects/sqlite-ruby/
 Description: An extension library to access a SQLite 
database from Ruby

arrakis ~ # 


So, it looks like the version of sqlite3-ruby installed matches the 
instructions at the wiki, but the version number doesn't seem to match 
what's available through gem; and the wiki specifically states to 
install the gem.

The error I'm running into may be totally unrelated to this.  It seems a 
bit odd to me that sqlite3-ruby must be emerged through portage and that 
gem must install it as well -- one or the other would seem to be 
sufficient.



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] mount cdrom: No buffer space available

2007-11-22 Thread Thufir
I'm going by http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?
part=1chap=8 to mount the cdrom and cdrw drives, but it's failing.

There are two optical drives:  a CD-ROM and a CD-R/W; both drives work 
physically.

When I enter mount /mnt/cdrom1 or mount /mnt/cdrw1 then I hear a 
drive spin before it fails, but mount /dev/cdrom doesn't cause any 
noise.  They all fail, error messages:


arrakis ~ # 
arrakis ~ # 
arrakis ~ # ll /dev/cd*
lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrom - hdc
lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrom1 - hdd
lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrw1 - hdd
arrakis ~ # 
arrakis ~ # cat /etc/fstab
/dev/cdrom  /mnt/cdrom  autonoauto,user 0 0
/dev/cdrom1 /mnt/cdrom1 autonoauto,user 0 0
/dev/cdrw1  /mnt/cdrw1  autonoauto,user 0 0

/dev/hdb1   /boot   ext2defaults1 2
/dev/hdb2   noneswapsw  0 0
/dev/hdb3   /   ext3noatime 0 1
none/proc   procdefaults0 0
none/dev/shmtmpfs   defaults0 0
/dev/VolGroup00/LogVol00/mnt/VolGroup00/LogVol00ext3
users,rw0 0

arrakis ~ # 
arrakis ~ # mount -a
arrakis ~ # 
arrakis ~ # mount /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ # 
arrakis ~ # mount /mnt/cdrom1
mount: block device /dev/cdrom1 is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ # 
arrakis ~ # mount /mnt/cdrw1 
mount: block device /dev/cdrw1 is write-protected, mounting read-only
mount: No buffer space available
arrakis ~ # 




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: mount cdrom: No buffer space available

2007-11-22 Thread Thufir
On Thu, 22 Nov 2007 15:20:43 +, Stroller wrote:

 A Google seems to suggest that mount: No buffer space available is
 commonly returned when the device is already mounted.

Oh, I wasn't finding that or didn't know how to interpret it.

 The manpage for `mount` indicates that `mount -a` will mount all devices
 listed in /etc/fstab, so your output suggests to me that the CD drives
 are mounted when you issue this command - no wonder they fail when you
 try to mount them again separately!

Yes, I concur with everything above.  However, I guess I left out the 
fact that there's a disc in each drive; the discs are readable.


arrakis ~ # 
arrakis ~ # mount -a
arrakis ~ # 
arrakis ~ # mount
/dev/hdb3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hdb1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 
(rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs 
(rw,noexec,nosuid,devmode=0664,devgid=85)
arrakis ~ # 
arrakis ~ # mount -va  df  mount -v /mnt/cdrom
mount: /dev/hdb1 already mounted on /boot
mount: none already mounted on /dev/shm
mount: /dev/VolGroup00/LogVol00 already mounted on /mnt/VolGroup00/
LogVol00
mount: proc already mounted
arrakis ~ # 
arrakis ~ # ll /mnt/ 
total 20
drwxr-xr-x 3 root root 4096 Oct  7 00:17 VolGroup00
drwx-- 2 root root 4096 Jul 26 02:54 cdrom
drwxr-xr-x 2 root root 4096 Nov 22 00:37 cdrom1
drwxr-xr-x 2 root root 4096 Nov 21 23:54 cdrw1
drwx-- 2 root root 4096 Jul 26 02:54 floppy
arrakis ~ # 
arrakis ~ # ll /mnt/cdrom
total 0
arrakis ~ # 
arrakis ~ # ll /mnt/cdrom1
total 0
arrakis ~ # 
arrakis ~ # ll /mnt/cdrw1 
total 0
arrakis ~ # 
arrakis ~ # 


thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: gtkpod won't start

2007-11-22 Thread Thufir
On Thu, 22 Nov 2007 07:46:33 +0100, Dirk Heinrichs wrote:


 So, what does echo $DISPLAY show? Also helpfull would be the output of
 ps -ef|grep X. How do you start X, via display manager (gdm, xdm,
 kdm,...) or with startx after text console login?

Quick response:


display manager:  gdm I believe.

[EMAIL PROTECTED] ~ $ whoami
thufir
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ echo $DISPLAY

[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ ps -ef|grep X
root  6927  6924  4 07:50 tty7 00:00:47 /usr/bin/X :0 -audit 0 -
auth /var/gdm/:0.Xauth -nolisten tcp vt7
thufir7965  7957  0 08:06 pts/000:00:00 grep --color=auto X
[EMAIL PROTECTED] ~ $ 



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: gtkpod won't start

2007-11-22 Thread Thufir
On Thu, 22 Nov 2007 12:37:28 -0600, Dan Farrell wrote:


 did you start the X session as root?
 
 it's important to differentiate between having permission to write to an
 X display (xhost permits that) and knowing which display to write to -
 $DISPLAY will be set to that if you're already in the 'X environment'
 (it's an environment variable).  However, if you su or something, you'll
 no longer have that environment variable.

I was using su and so was losing that environment variable :(

[EMAIL PROTECTED] ~ $ gtkpod

[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ echo $DISPLAY
:0.0
[EMAIL PROTECTED] ~ $ 


which brings up gtkpod correctly.  Thank you, pardon I had no idea that I 
was leaving out relevant information.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ruby gems

2007-11-21 Thread Thufir
On Wed, 21 Nov 2007 09:03:23 +, Neil Bothwick wrote:

 On Wed, 21 Nov 2007 07:38:52 + (UTC), Thufir wrote:
 
 The version of rails which I'm running appears to be out of date.  Is
 this a ruby gems issue or an emerge issue?
 
 It's a we have no idea which versions of ruby and ruby-gems you are
 using issue.

When I emerged rails:

dev-lang/ruby-1.8.5_p2-r1
dev-ruby/rails-1.1.6


Now, http://packages.gentoo.org/package/dev-ruby/rails?full_cat shows 
that 1.2.5 is stable, though.  1.8.6_p110-r1 looks to be latest stable 
release of ruby available through portage for x86 systems.

I'd rather not emerge world if at all possible.  How do I find out why 
I'm not getting the most recent packages?



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: gtkpod won't start

2007-11-21 Thread Thufir
On Wed, 21 Nov 2007 07:56:33 +0100, Dirk Heinrichs wrote:


 That has it all. Is your $DISPLAY variable set correctly? Is this the
 same user who started the X session?

I only started googling $DISPLAY, but yes, it's the same user who started 
the X session.  Normally I use GNOME, but will also try just X and KDE.


thanks,

Thufir


ps:  sorry about too much info.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ruby gems

2007-11-21 Thread Thufir
On Thu, 22 Nov 2007 02:47:24 +, Thufir wrote:


 Now, http://packages.gentoo.org/package/dev-ruby/rails?full_cat shows
 that 1.2.5 is stable, though.  1.8.6_p110-r1 looks to be latest stable
 release of ruby available through portage for x86 systems.


arrakis ~ # eix rails
[I] dev-ruby/rails
 Available versions:  
(1.1)   1.1.6 ~1.1.6-r1
(1.2)   ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3
 Installed versions:  1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi mysql 
-postgres sqlite -sqlite3)
 Homepage:http://www.rubyonrails.org
 Description: ruby on rails is a web-application and 
persistance framework

arrakis ~ # 


If I'm interpreting eix correctly there's not even an option to unmask 
1.2.5 (which shouldn't need unmasking).




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-20 Thread Thufir
On Tue, 20 Nov 2007 08:59:03 +, Neil Bothwick wrote:


 Esc to go back to the menu to b to boot.

ROFL -- please don't tell me that's in the directions when in GRUB, the 
laugh might morph to a sob.


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] gtkpod won't start

2007-11-20 Thread Thufir
The emerge of gtkpod didn't give any errors, but it's not in the menu nor 
does it start from the command line:

 app-pda/gtkpod-0.99.8-r1 merged.

 No packages selected for removal by clean
 Auto-cleaning packages...

 No outdated packages were found on your system.
 * GNU info directory index is up-to-date.
arrakis ~ # 
arrakis ~ # gtkpod

(gtkpod:11857): Gtk-WARNING **: cannot open display:  
arrakis ~ # 
arrakis ~ # su thufir
[EMAIL PROTECTED] /root $ cd
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ gtkpod

(gtkpod:11864): Gtk-WARNING **: cannot open display:  
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ cat /etc/gentoo-release 
Gentoo Base System release 1.12.9
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ date
Tue Nov 20 19:24:39 PST 2007
[EMAIL PROTECTED] ~ $ 




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] ruby gems

2007-11-20 Thread Thufir
The version of rails which I'm running appears to be out of date.  Is 
this a ruby gems issue or an emerge issue?

[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ ruby /home/thufir/rubyCode/dummy/script/server 
/home/thufir/rubyCode/dummy/script/../config/boot.rb:28:Warning: 
require_gem is obsolete.  Use gem instead.

(The solutions amount to uninstall/reinstall.)



Thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-19 Thread Thufir
On Mon, 19 Nov 2007 11:18:23 +, Neil Bothwick wrote:


 If you get a file not found error, drop into the GRUB shell and run
 find /kernel-has-alsa.

I did get to a point with GRUB where I edited the line which specifies 
the kernel and used tab-completion to select the kernel I wanted.  (That 
I could do this reinforced to my mind that there wasn't a typo, I didn't 
notice that it was different.)

However, once I'd pressed, IIRC, e to edit, pressed enter to select the 
line, tab completion, enter again I was unsure of the next step :(



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Thufir
On Sun, 18 Nov 2007 10:45:38 +0100, Dirk Heinrichs wrote:

 That show's that /dev/hdb1 is mounted as /boot (which, BTW, is
 completely irrelevant for GRUB).

wouldn't GRUB would need that location to use the kernel?

 However, once it's mounted, does ls -l
 /boot show a file called kernel-has-alsa?

Yes:

arrakis ~ # 
arrakis ~ # ls /boot/
System.map-genkernel-x86-2.6.19-gentoo-r5  kernel-genkernel-x86-2.6.19-
gentoo-r5
boot   kernel-genkernel-x86-2.6.19-
gentoo-r5-2
grub   kernel-with-alsa
initramfs-genkernel-x86-2.6.19-gentoo-r5   lost+found
arrakis ~ # 
arrakis ~ # date
Sun Nov 18 02:40:23 PST 2007
arrakis ~ # 




 If not, that's your
 problem. You're trying to boot a kernel that doesn't exist on (hd1,0).
 
 I also don't quite get the idea behind having two partitions for /boot
 (hda1 and hdb1 in your case). One of them should be sufficient.


hda1 is from Fedora, hdb1 is from Gentoo.  I started with Fedora, then 
installed Gentoo from the live-CD (networkless).  Yes, I suppose that 
the /boot/ at hda1 is superfluous, but then all of hda is marked for 
deletion :)





-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Thufir
On Sun, 18 Nov 2007 12:01:46 +0100, Dirk Heinrichs wrote:

  However, once it's mounted, does ls -l /boot show a file called
  kernel-has-alsa?

 Yes:
 
 Errh, no. Look again, please.
 
 arrakis ~ #
 arrakis ~ # ls /boot/
 kernel-with-alsa
 
 See the difference?



arrakis ~ # 
arrakis ~ # 
arrakis ~ # ls -l /boot/
total 13131
-rw-r--r-- 1 root root  980149 Apr 21  2007 System.map-genkernel-
x86-2.6.19-gentoo-r5
lrwxrwxrwx 1 root root   1 Jul 26 02:45 boot - .
drwxr-xr-x 2 root root1024 Nov 17 21:54 grub
-rw-r--r-- 1 root root 5455004 Apr 21  2007 initramfs-genkernel-
x86-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 2137705 Apr 21  2007 kernel-genkernel-x86-2.6.19-
gentoo-r5
-rw-r--r-- 1 root root 2137705 Nov 17 11:20 kernel-genkernel-x86-2.6.19-
gentoo-r5-2
-rw-r--r-- 1 root root 2658736 Nov 16 23:52 kernel-with-alsa
drwx-- 2 root root   12288 Jul 26 02:36 lost+found
arrakis ~ # 
arrakis ~ # 
arrakis ~ # ls  /boot/
System.map-genkernel-x86-2.6.19-gentoo-r5  kernel-genkernel-x86-2.6.19-
gentoo-r5
boot   kernel-genkernel-x86-2.6.19-
gentoo-r5-2
grub   kernel-with-alsa
initramfs-genkernel-x86-2.6.19-gentoo-r5   lost+found
arrakis ~ # 
arrakis ~ # mount
/dev/hdb3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hdb1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 
(rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs 
(rw,noexec,nosuid,devmode=0664,devgid=85)
arrakis ~ # 
arrakis ~ # 



Are you asking whether or not /boot/ has the kernel?  From the above, 
isn't the answer yes?  Or, are you asking about what's mounted?  
Pardon, I don't see a difference.  (Aside from ls -al giving different 
results from ls -l, of course.)




-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Thufir
On Sun, 18 Nov 2007 13:48:52 +0100, Dirk Heinrichs wrote:

 Are you asking whether or not /boot/ has the kernel?  From the above,
 isn't the answer yes?
 
 No, from the above the answer is no: It's kernel-with-alsa in /boot
 vs. kernel-has-alsa in your grub.conf.



Thank you,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-18 Thread Thufir
On Sun, 18 Nov 2007 11:04:15 -0500, Billy Holmes wrote:


 why do you have kernel-WITH-alsa in your /boot, but kernel-HAS-alsa in
 your grub.conf? typo? or is there a particular reason?

Typo.  I think it seemed more intimidating than it really is, hence the 
typo.  After correcting the typo, it booted.

I'm going to experiment a bit and then recompile again, though because, 
ironically, the alsa kernel fails to load alsa and the genkernel had 
alsa all along, which was the impetus for the recompile.

In any event, at least I'm learning a bit :)


arrakis ~ # 
arrakis ~ # ll /boot/
total 13131
-rw-r--r-- 1 root root  980149 Apr 21  2007 System.map-genkernel-
x86-2.6.19-gentoo-r5
lrwxrwxrwx 1 root root   1 Jul 26 02:45 boot - .
drwxr-xr-x 2 root root1024 Nov 17 21:54 grub
-rw-r--r-- 1 root root 5455004 Apr 21  2007 initramfs-genkernel-
x86-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 2137705 Apr 21  2007 kernel-genkernel-x86-2.6.19-
gentoo-r5
-rw-r--r-- 1 root root 2137705 Nov 17 11:20 kernel-genkernel-x86-2.6.19-
gentoo-r5-2
-rw-r--r-- 1 root root 2658736 Nov 16 23:52 kernel-has-alsa
drwx-- 2 root root   12288 Jul 26 02:36 lost+found
arrakis ~ # 
arrakis ~ # 
arrakis ~ # cat /boot/grub/grub.conf
default 3
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz


#works
#alsa fails
#dhcp fails
title=Gentoo Linux with ALSA
root (hd1,0)
kernel /kernel-has-alsa root=/dev/hdb3 

#works
title=Gentoo Linux
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

#works
title=Gentoo Linux Genkernel 2
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5-2 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

#unknown
#needs testing
title=Gentoo Linux Genkernel 3
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hdb3 

#works
title Fedora (2.6.21-1.3228.fc7)
   root (hd0,1)
   kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
   initrd /initrd-2.6.21-1.3228.fc7.img
arrakis ~ # 
arrakis ~ # date
Sun Nov 18 12:45:59 PST 2007
arrakis ~ # 
arrakis ~ # 




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] 7. Configuring the Kernel

2007-11-17 Thread Thufir
I'm currently getting error 15 from GRUB, of the Code Listing 4.2: Grub 
Output - Booting an Entry variety.  I can boot into either Gentoo or 
Fedora, but not into Gentoo with the new kernel.

The Gentoo doc's say to First, verify that the root and setup lines you 
have used are correct.  I don't know how to verify that the root and 
setup lines are correct.  The only difference between entries for the two 
Gentoo kernels are the kernels specified in GRUB.  The /boot/ partition 
would look to be (hd1,0) and the root partition would look to be /dev/
hdb3; at a minimum these work for the genkernel so should work for the 
new kernel.

Perhaps it's a naming convention?  I gave the kernel a name meaningful to 
me, not knowing what other name to give it version wise.  I can always 
recompile the kernel if necessary.  Could it be a modules issue?  I 
didn't understand that step of configuring the kernel.  However, it might 
be something else, as it would seem to me that it would still at least 
*start* to boot and not give this particular error:

Code Listing 4.2: Grub Output - Booting an Entry

Booting 'gentoo Linux'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792

Error 15: File not found
Press any key to continue...

although some of the particulars are different.


Here's what I have so far:


arrakis ~ # 
arrakis ~ # cat /boot/grub/grub.conf
default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz


title=Gentoo Linux with ALSA
root (hd1,0)
kernel /kernel-has-alsa root=/dev/hdb3 

title=Gentoo Linux
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

title Fedora (2.6.21-1.3228.fc7)
   root (hd0,1)
   kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
   initrd /initrd-2.6.21-1.3228.fc7.img
arrakis ~ # 
arrakis ~ # cat /boot/grub/grub.conf.1 
default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/
linuxrc ramdisk=8192 real_root=/dev/hdb3 
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

title=Gentoo Linux 2
root (hd1,0)
kernel /kernel-has-alsa root=/dev/ram0 init=/linuxrc ramdisk=8192 
real_root=/dev/hdb3 
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5


title Fedora (2.6.21-1.3228.fc7)
   root (hd0,1)
   kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
   initrd /initrd-2.6.21-1.3228.fc7.img
arrakis ~ # 
arrakis ~ # 
arrakis ~ # ll /boot/
total 11033
-rw-r--r-- 1 root root  980149 Apr 21  2007 System.map-genkernel-
x86-2.6.19-gentoo-r5
lrwxrwxrwx 1 root root   1 Jul 26 02:45 boot - .
drwxr-xr-x 2 root root1024 Nov 17 01:21 grub
-rw-r--r-- 1 root root 5455004 Apr 21  2007 initramfs-genkernel-
x86-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 2137705 Apr 21  2007 kernel-genkernel-x86-2.6.19-
gentoo-r5
-rw-r--r-- 1 root root 2658736 Nov 16 23:52 kernel-with-alsa
drwx-- 2 root root   12288 Jul 26 02:36 lost+found
arrakis ~ # 
arrakis ~ # 
arrakis ~ # mount
/dev/hdb3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hdb1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 
(rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs 
(rw,noexec,nosuid,devmode=0664,devgid=85)
arrakis ~ # 
arrakis ~ # cat /etc/gentoo-release 
Gentoo Base System release 1.12.9
arrakis ~ # 
arrakis ~ # date
Sat Nov 17 03:49:42 PST 2007
arrakis ~ # 
arrakis ~ # 





thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-17 Thread Thufir
To clarify:

Fedora is on hda, gentoo on hdb.  The /boot/grub.conf file boots both 
fine; this partition is mounted seperately, it's referenced correctly as 
(hd1,0) meaning the hdb, the first partition.  Both Gentoo kernels are in 
the same partition, same directory reflected in mount as:

/dev/hdb1 on /boot type ext2 (rw)


Which correlates with the GRUB entry of (hd1,0).


The root filesystem is the same for both kernels, this is reflected in 
mount as:

/dev/hdb3 on / type ext3 (rw,noatime)

Again, this matches the GRUB entry.


The full mount command shows:

arrakis ~ # 
arrakis ~ # mount
/dev/hdb3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hdb1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 
(rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs 
(rw,noexec,nosuid,devmode=0664,devgid=85)
arrakis ~ # 
arrakis ~ # cat /etc/gentoo-release 
Gentoo Base System release 1.12.9
arrakis ~ # 
arrakis ~ # date
Sat Nov 17 11:05:14 PST 2007
arrakis ~ # 
arrakis ~ # 




The *exact* wording, the particulars of the error message GRUB gives 
differs slightly from the example I posted.  The error (to the best of my 
recollection) is:


Booting 'gentoo Linux'

root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /kernel-has-alsa root=/dev/hdb3

Error 15: File not found
Press any key to continue...


I'm just noticing (after a bit of sleep) that the form is slightly 
different from the example I gave:

Booting 'gentoo Linux'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792

Error 15: File not found
Press any key to continue...



in that the line specifying the kernel has (hd0,0)/boot/kernel... in the 
example, but the error message I give doesn't have the correlating 
(hd1,0)/boot/ prefix.


I would say that this is why the file cannot be found.


Also, it occurred to me that the genkernel which works (currently in use) 
could just be copied to genkernel2 in the same location, then a 
corresponding entry in GRUB could be made.  What would it mean if the 
same error occurred when GRUB went to boot this genkernel2?

I'm thinking that there's some sort of missing piece.  It's good to know 
that it's not a module problem, and this makes sense.  If it were a 
module then presumably, please correct me, the kernel would at least be 
found and a different error message would occur during the actual 
boot.  This message is within GRUB, I can press a key and boot a 
different GRUB entry.



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] ALSA, speakers, volume, mute

2007-11-17 Thread Thufir
After mucking about with alsamixer and various control-panel type things 
in GNOME, sound works and I can play mp3's.  On the one hand, great.  On 
the other, why are there multiple mute buttons and volume controls?  
That's a really weird idea, that unmute must, apparently, be checked in 
multiple locations.  Aaaargh.


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-17 Thread Thufir
On Sat, 17 Nov 2007 20:54:41 +, Mick wrote:

 I'm just noticing (after a bit of sleep) that the form is slightly
 different from the example I gave:

 Booting 'gentoo Linux'

 root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83 kernel
 (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792
 
 This is a different boot partition - I guess this is the Fedora
 installation (first disk, first partition).  You need the symlink:


That's the example from the Gentoo page, my error message is a bit 
different in several respects:


Booting 'gentoo Linux'

root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /kernel-has-alsa root=/dev/hdb3

Error 15: File not found
Press any key to continue...




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-17 Thread Thufir
On Sat, 17 Nov 2007 20:54:41 +, Mick wrote:

 Booting 'gentoo Linux'

 root (hd1,0)
 Filesystem type is ext2fs, partition type 0x83 kernel /kernel-has-alsa
 root=/dev/hdb3

 Error 15: File not found
 Press any key to continue...
 
 So if you look into /dev/hdb1 while mounted under /boot, can you see a
 file called kernel-has-alsa?


I don't understand your question, but does this answer it?

arrakis ~ # 
arrakis ~ # mount
/dev/hdb3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hdb1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 
(rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs 
(rw,noexec,nosuid,devmode=0664,devgid=85)
arrakis ~ # 
arrakis ~ # cat /etc/fstab
/dev/hdb1   /boot   ext2defaults1 2
/dev/hdb2   noneswapsw  0 0
/dev/hdb3   /   ext3noatime 0 1
none/proc   procdefaults0 0
none/dev/shmtmpfs   defaults0 0
/dev/VolGroup00/LogVol00/mnt/VolGroup00/LogVol00ext3
users,rw0 0

arrakis ~ # 
arrakis ~ # cat /etc/gentoo-release 
Gentoo Base System release 1.12.9
arrakis ~ # 
arrakis ~ # date
Sat Nov 17 14:55:04 PST 2007
arrakis ~ # 
arrakis ~ # 



To my knowledge, the partitions and discs are correct and consistent.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-17 Thread Thufir
On Sat, 17 Nov 2007 20:54:41 +, Mick wrote:

 in that the line specifying the kernel has (hd0,0)/boot/kernel... in
 the example, but the error message I give doesn't have the correlating
 (hd1,0)/boot/ prefix.
 
 You seem to be 'mixing and matching' disks and partitions here.  You now
 refer back to the Gentoo /boot partition.  Decide which one
 disk/partition you want to boot and pass the correct line for it to the
 Grub bootloader (which is firing up from the MBR of hda).
 
 Regarding the genkernel (which I have never used) it makes use of a
 initrd to bring up the necessary modules at boot up (before the kernel
 has been loaded).


Here's an example error message from the Gentoo docs:

Code Listing 4.2: Grub Output - Booting an Entry

Booting 'gentoo Linux'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792

Error 15: File not found
Press any key to continue...



the above isn't my error message, it's a sample from the Gentoo doc's 
which illustrates (what I thought to be) the form of the error message I 
see.  My error message is as follows:


Booting 'gentoo Linux'

root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /kernel-has-alsa root=/dev/hdb3

Error 15: File not found
Press any key to continue...

The significance, to my mind, is that in the line which specifies the 
kernel, there's no mention of *where* it's looking.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 7. Configuring the Kernel

2007-11-17 Thread Thufir
On Sat, 17 Nov 2007 20:54:41 +, Mick wrote:


 Regarding the genkernel (which I have never used) it makes use of a
 initrd to bring up the necessary modules at boot up (before the kernel
 has been loaded).

This lead me to http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?
part=1chap=10 where there two grub.conf examples, one for genkernel and 
one not.

I suspect that the error message is caused by GRUB currently being 
configured for genkernel.


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ALSA, speakers, volume, mute

2007-11-17 Thread Thufir
On Sun, 18 Nov 2007 00:19:34 +0200, Alan McKinnon wrote:

 Think about this a little bit. Modern audio hardware has multiple inputs
 and often multiple outputs as well.
 
 You absolutely need to be able to control these independantly, because
 that's the way stuff works.


Ah, well, ok.  It just seemed weird to have to hit unmute in different 
places.


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Disk ARchiver command line questions

2007-11-12 Thread Thufir
On Fri, 02 Nov 2007 15:17:59 +, Joost Roeleveld wrote:

 2.)  As it stands, it's going to take 862 slices to backup this data
 without compression?  I asked for slices of 690M, why is it only
 showing as 106M for this particular slice?
 
 Not sure, am guessing it's not going through the directory tree.
 
 3.)  Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
 using, for example, the builti-in nautilus burner?
 
 I would suggest writing the *.dar files to disc (CD-R) in the same way
 as how you'd write normal datafiles.
 Eg. do NOT treat the *.dar files as ISO-images. Strange things can
 happen this way.
 
 4.)  How do I get DAR to generate the second slice?
 
 Not entirely sure, but the following command works for me:
 
 dar -m 256 -y -s 690M -D -R /mnt/VolGroup00/LogVol00/home/thufir/ -c
 thufir  -Z *.zip -Z *.gz -Z *.bz2 -Z *.mp3 -Z *.jpg
 
 You would probably want to add --beep --pause to it. The -Z options
 are there to tell dar not to bother trying to compress already
 compressed files. (makes it faster)



Thank you for the information, I'll post my results :)



-Thufir


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Disk ARchiver command line questions

2007-10-26 Thread Thufir
Disk ARchiver command line questions
From: Thufir hawat.thufir at gmail.com
Subject: Disk ARchiver command line questions
Newsgroups: gmane.linux.redhat.fedora.general
Date: 2007-10-17 09:09:22 GMT

I've been reading the man pages, but command line stuff isn't my forte :(

I want to backup some data using DAR (Disk ARchive) and here's what I
have so far:

arrakis ~ #
arrakis ~ #
arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/
total 24K
drwxr-xr-x  3 root root 4.0K Oct 17 01:55 .
drwxr-xr-x 24  500  500 4.0K Oct 16 22:47 ..
drwx-- 30  500  500 4.0K Oct 16 22:47 thufir
arrakis ~ #
arrakis ~ # dar --create /mnt/VolGroup00/LogVol00/home/thufir/ --slice
690M  --tree-format --beep --pause

 
 862 inode(s) saved
 with 0 hard link(s) recorded
 0 inode(s) changed at the moment of the backup
 0 inode(s) not saved (no inode/file change)
 0 inode(s) failed to save (filesystem error)
 0 inode(s) ignored (excluded by filters)
 0 inode(s) recorded as deleted from reference backup
 
 Total number of inode considered: 862
 
 EA saved for 0 inode(s)
 
arrakis ~ #
arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/total 106M
drwxr-xr-x  3 root root 4.0K Oct 17 01:57 .
drwxr-xr-x 24  500  500 4.0K Oct 16 22:47 ..
drwx-- 30  500  500 4.0K Oct 16 22:47 thufir
-rw-r--r--  1 root root 106M Oct 17 01:57 thufir.1.dar
arrakis ~ #
arrakis ~ # date
Wed Oct 17 01:58:01 PDT 2007
arrakis ~ #

Starting with the least important questions and increasing in
significance:

1.)  How can I change the command so the .dar files are named backup.
[n].dar instead of thufir.[n].dar?

2.)  As it stands, it's going to take 862 slices to backup this data
without compression?  I asked for slices of 690M, why is it only showing
as 106M for this particular slice?

3.)  Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
using, for example, the builti-in nautilus burner?

4.)  How do I get DAR to generate the second slice?

I know that these questions are answered in the manual, and I've read the
manual, but they still elude me.

thanks,

Thufir

ps:  what's good about DAR, you ask?

DIRECT ACCESS   


even using compression dar has not to read the whole backup to extract
one file. This way if you just want to restore one file from a huge
backup, the process will be much faster than using tar.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: migrating to LVM

2007-10-21 Thread Thufir
On Fri, 19 Oct 2007 08:11:55 -0400, Don Jerman wrote:

 So / and /boot will be smallish physical partitions - I use the minimum
 size for /boot and around 10G for root, and LVM manages anything that
 gets dynamically large or uncertain like /home/, /opt/, and application
 directories like /var/lib/mythtv/ or /var/spool/mail/.
  Anything that starts to eat up a large part of my root partition is a
 candidate for copying over to a LV later on.


Great discussion, thanks to all.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: migrating to LVM

2007-10-19 Thread Thufir
On Thu, 18 Oct 2007 10:26:49 +0200, Dirk Heinrichs wrote:

 hda1: Windows
 hda2: Linux (/boot)
 hda3: Linux (/)
 hda4: PV for LVM (PV = Physical Volume) 
 hdb1: PV for LVM
 
 The two PVs will be assigned to one Volume Group (VG), inside which you
 want to create LVs (Logical Volumes) for /usr, /var, /home/user, swap,
 ...
 
 Is this correct?


Yes.

Looking at http://gentoo-wiki.com/
HOWTO_Install_Gentoo_on_an_LVM2_root_partition, and the section of the 
Gentoo Handbook it points to, critical system files would be on / 
partition, the root partition?



thank you,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: migrating to LVM

2007-10-19 Thread Thufir
On Fri, 19 Oct 2007 08:11:55 -0400, Don Jerman wrote:


 So / and /boot will be smallish physical partitions - I use the minimum
 size for /boot and around 10G for root, and LVM manages anything that
 gets dynamically large or uncertain like /home/, /opt/, and application
 directories like /var/lib/mythtv/ or /var/spool/mail/.
  Anything that starts to eat up a large part of my root partition is a
 candidate for copying over to a LV later on.


Awesome, thanks for the background info.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: migrating to LVM

2007-10-18 Thread Thufir
On Wed, 17 Oct 2007 10:35:13 -0500, Albert Hopkins wrote:

 And then you'll hate us and say we
 all suck (j/k I hope

you suck ;)

I'm moving the Windows partition from the slave hdd to the master, and 
going from two distros (fedora and gentoo) to one distro (gentoo) in part 
to better utilize disc space.




-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] manually executing an ebuild file (emerge fails)

2007-10-17 Thread Thufir
I would like to manually execute an ebuild file from a website to 
install a package because it can't be emerged normally.

The downloads section of http://www.mondorescue.org/ leads to http://
mondorescue.muskokamug.org/gentoo/1.6/mondo-2.2.4.ebuild which interests 
me because of how mondo fails to emerge:


 * Sorry, but mondo only works with linux-2.4.
 * http://bugs.gentoo.org/show_bug.cgi?id=72467

!!! ERROR: sys-apps/mondo-0.9a failed.
Call stack:
  ebuild.sh, line 1637:   Called dyn_setup
  ebuild.sh, line 704:   Called qa_call 'pkg_setup'
  ebuild.sh, line 44:   Called pkg_setup
  mondo-0.9a.ebuild, line 20:   Called die

!!! kernel not supported
!!! If you need support, post the topmost build error, and the call stack 
if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/
mondo-0.9a/temp/build.log'.

arrakis ~ # 
arrakis ~ # uname -r
2.6.19-gentoo-r5
arrakis ~ # 
arrakis ~ # date
Wed Oct 17 01:39:19 PDT 2007
arrakis ~ # 
arrakis ~ # 



How do I run the ebuild, please?




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: manually executing an ebuild file (emerge fails)

2007-10-17 Thread Thufir
On Wed, 17 Oct 2007 08:42:25 +, Thufir wrote:


 How do I run the ebuild, please?


Well, I guess it was blocked with reason:

mondo tries to find the system sensors by using /proc/sys/dev/sensors/ 
chips.  Which is not available with kernel 2.6. Disabling the check in /
etc/init.d/mondo results in a segmentation fault :-( In the mondo forum
(see link) there is a small hack that can be used as workaround, but i 
think mondo should be blocked, for kernel 2.6 because the hack is not 
really good (only one sensors is supported, for which you need to know 
the ID).

http://bugs.gentoo.org/show_bug.cgi?id=72467


But would the new ebuild work?



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] migrating to LVM

2007-10-16 Thread Thufir
I have a working gentoo install which I don't want to muck with too much, 
except to change over to LVM.  I understand that I can use dd so that 
everything will be in a LVM, but I'm unclear on the outline.  The LVM is 
created, the root partition is copied over to the LVM, then grub, fstab 
and initrd and edited to reflect the changes?


arrakis ~ # 
arrakis ~ # fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   1191215358108+  83  Linux
/dev/hda219131925  104422+  83  Linux
/dev/hda31926972962685630   8e  Linux LVM

Command (m for help): q

arrakis ~ # 
arrakis ~ # fdisk /dev/hdb

The number of cylinders for this disk is set to 59582.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 30.7 GB, 30750031872 bytes
16 heads, 63 sectors/track, 59582 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdb1   1 203  102280+  83  Linux
/dev/hdb2 2042109  960624   82  Linux swap / 
Solaris
/dev/hdb32110   5957928964880   83  Linux

Command (m for help): q

arrakis ~ # 
arrakis ~ # date
Tue Oct 16 22:10:22 PDT 2007
arrakis ~ # 



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Which Partition type does iPod Nano use

2007-10-12 Thread Thufir
On Thu, 11 Oct 2007 20:16:12 +0200, Dan Johansson wrote:


 The Nano get recognized but not it's Partition type (it works OK on a
 Wintendo box). Someone know which partition type an iPod Nano uses?

Doesn't Apple use HFS+?

anyhow, there's always http://en.wikipedia.org/wiki/IPodLinux.


-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] gthumb scroll wheel cycles through images

2007-10-08 Thread Thufir
Shouldn't the scroll wheel in gthumb cycle through, browse, the images 
rather than change the magnification on a specific image?  Can this be 
changed?   I found Ubuntu references on this, nothing gentoo specific.


thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] permissions, fstab and LVM

2007-10-08 Thread Thufir
I seem to have the permissions wrong in fstab.  On boot I do have an icon 
on the desktop for the LVM volume, which can be browsed as root, but not 
as a user.

I want read/write permissions to the LVM volume as user thufir (or any 
user, really).  Can this be done?


arrakis ~ # 
arrakis ~ # fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   1191215358108+  83  Linux
/dev/hda219131925  104422+  83  Linux
/dev/hda31926972962685630   8e  Linux LVM

Command (m for help): q

arrakis ~ # 
arrakis ~ # fdisk /dev/hdb

The number of cylinders for this disk is set to 59582.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 30.7 GB, 30750031872 bytes
16 heads, 63 sectors/track, 59582 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdb1   1 203  102280+  83  Linux
/dev/hdb2 2042109  960624   82  Linux swap / 
Solaris
/dev/hdb32110   5957928964880   83  Linux

Command (m for help): q

arrakis ~ # 
arrakis ~ # cat lvm.txt 

#load device module
modprobe dm-mod
#change the volumes that exist to active
vgchange -ay
#mount the logical partition
mkdir -p /mnt/VolGroup00/LogVol00
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00
arrakis ~ # 
arrakis ~ # cat /etc/fstab
/dev/hdb1/boot   ext2defaults1 2
/dev/hdb2noneswapsw  0 0
/dev/hdb3/   ext3noatime 0 1
none/proc procdefaults  0 0
none/dev/shm  tmpfs   defaults  0 0
/dev/VolGroup00/LogVol00/mnt/VolGroup00/LogVol00ext3
users,rw0 0

arrakis ~ # 
arrakis ~ # su thufir
[EMAIL PROTECTED] /root $ cd
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ ll /mnt/VolGroup00/LogVol00/home/thufir/
ls: cannot open directory /mnt/VolGroup00/LogVol00/home/thufir/: 
Permission denied
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ whoami
thufir
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ ll /home/thufir/Desktop/
total 0
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ date
Mon Oct  8 01:16:52 PDT 2007
[EMAIL PROTECTED] ~ $ 
[EMAIL PROTECTED] ~ $ 

arrakis ~ # 
arrakis ~ # fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   1191215358108+  83  Linux
/dev/hda219131925  104422+  83  Linux
/dev/hda31926972962685630   8e  Linux LVM

Command (m for help): q

arrakis ~ # 
arrakis ~ # fdisk /dev/hdb

The number of cylinders for this disk is set to 59582.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 30.7 GB, 30750031872 bytes
16 heads, 63 sectors/track, 59582 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdb1   1 203  102280+  83  Linux
/dev/hdb2 2042109  960624   82  Linux swap / 
Solaris
/dev/hdb32110   5957928964880   83  Linux

Command (m for help): q

arrakis ~ # 
arrakis ~ # cat lvm.txt 

#load device module
modprobe dm-mod
#change the volumes that exist to active
vgchange -ay
#mount the logical partition
mkdir -p /mnt/VolGroup00/LogVol00
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00
arrakis ~ # 
arrakis ~ # cat /etc/fstab
/dev/hdb1/boot   ext2

[gentoo-user] Re: permissions, fstab and LVM

2007-10-08 Thread Thufir
On Mon, 08 Oct 2007 11:05:56 +0200, Dirk Heinrichs wrote:


 Yes. Mount it, (recursivly) change the group of the top level directory
 and give group write permissions, then add all users which should have
 full access to that group (they need to logout/login to change their
 group membership information).

When you say to change the group of the top level directory you're 
referring to:

arrakis ~ # 
arrakis ~ # 
arrakis ~ # getfacl /mnt/VolGroup00/LogVol00/home/
getfacl: Removing leading '/' from absolute path names
# file: mnt/VolGroup00/LogVol00/home
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

arrakis ~ # 
arrakis ~ # date
Mon Oct  8 11:44:42 PDT 2007
arrakis ~ # 
arrakis ~ # 



and suggesting to use facl to change the permissions of directories and 
files?  Can I not instead change the way the volume is mounted so that 
users are treated as root, in order to get read/write access?


Wnat is meant by mounting the volume recursively, please?




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] usb suspend bug for mouse?

2007-09-13 Thread Thufir
On 9/12/07, Dan Farrell [EMAIL PROTECTED] wrote:
 On Wed, 12 Sep 2007 13:23:52 -0700
 Thufir [EMAIL PROTECTED] wrote:

  I have a run of the mill USB optical mouse which has worked fine for
  several years.  Recently it started stalling , hanging or
  freezing from gentoo.
 
  Haven't yet tried a different mouse.

 Perhaps it's just worn out, or perhaps the screen on the bottom is
 dirty or does not like your table top / mouse pad.

I don't think so, because I'm in Fedora using the same optical USB
mouse plugged into the same USB port on the same computer, using the
mouse on the same surface, and it works fine.

So, it must be something with X, GNOME or the kernel to my thinking.


-Thufir
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] usb suspend bug for mouse?

2007-09-12 Thread Thufir
I have a run of the mill USB optical mouse which has worked fine for
several years.  Recently it started stalling , hanging or
freezing from gentoo.  This morning I booted into Fedora and it
seemed to work fine (for a few minutes).

The pattern is that a window is opened, then the arrow cannot be moved
around the screen, but the buttons and scroll wheel work.

Could this be a USB suspend issue?  I haven't tested extensively on
the Fedora installation of the same box, but it seemed to work fine,
whereas from Gentoo the mouse was hanging every time a window was
opened, then waiting a few minutes, then unfreezing.

Haven't yet tried a different mouse.

thanks,

Thufir
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: FQDN v. localhost

2007-08-27 Thread Thufir
Here's what I did, but I didn't do all of the steps specified.  Is this 
correct?  I want to configure a FQDN for leafnode:


localhost ~ # 
localhost ~ # 
localhost ~ # 
localhost ~ # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
iface_eth1=dhcp
dhcpcd_eth1=
localhost ~ # 
localhost ~ # cat /etc/conf.d/hostname
#HOSTNAME=livecd
#HOSTNAME=localhost arrakis.doesntexist.org
HOSTNAME=arrakis
#HOSTNAME=localhost
localhost ~ # 
localhost ~ # cat /etc/hosts
# /etc/hosts: Local Host Database
#
# This file describes a number of aliases-to-address mappings for the for 
# local hosts that share this file.
#
# In the presence of the domain name service or NIS, this file may not be 
# consulted at all; see /etc/host.conf for the resolution order.
#

# IPv4 and IPv6 localhost aliases
#127.0.0.1  localhost
127.0.0.1   localhost.localdomain   localhost
192.168.2.110   arrakis.doesntexist.org arrakis
::1 localhost




#
# Imaginary network.
#10.0.0.2   myname
#10.0.0.3   myfriend
#
# According to RFC 1918, you can use the following IP networks for 
private 
# nets which will never be connected to the Internet:
#
#   10.0.0.0-   10.255.255.255
#   172.16.0.0  -   172.31.255.255
#   192.168.0.0 -   192.168.255.255
#
# In case you want to be able to connect directly to the Internet (i.e. 
not 
# behind a NAT, ADSL router, etc...), you need real official assigned 
# numbers.  Do not try to invent your own network numbers but instead get 
one 
# from your network provider (if any) or from your regional registry 
(ARIN, 
# APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#
localhost ~ # 
localhost ~ # /etc/init.d/net.eth0 restart
 * Caching service 
dependencies ...   [ ok ]
 * Stopping 
apache2 ...   [ ok ]
 * Unmounting network 
filesystems ... [ ok ]
 * Stopping eth0
 *   Bringing down eth0
 * Stopping dhcpcd on 
eth0 ...[ ok ]
 * Shutting down 
eth0 ... [ ok ]
 * Starting eth0
 *   Configuration not set for eth0 - assuming DHCP
 *   Bringing up eth0
 * dhcp
 *   Running 
dhcpcd ...   [ ok ]
 *   eth0 received address 192.168.2.110/24
 * Mounting network 
filesystems ...   [ ok ]
 * Starting 
apache2 ...   [ ok ]
localhost ~ # 
localhost ~ # 
localhost ~ # hostname -vf
gethostname()=`arrakis'
Resolving `arrakis' ...
Result: h_name=`arrakis.doesntexist.org'
Result: h_aliases=`arrakis'
Result: h_addr_list=`192.168.2.110'
arrakis.doesntexist.org
localhost ~ # 
localhost ~ # date
Mon Aug 27 19:07:10 PDT 2007
localhost ~ # 
localhost ~ # 



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] FQDN v. localhost

2007-08-26 Thread Thufir
I've registered the FQDN of arrakis.doesntexist.org through http://
www.dyndns.com/ as per http://leafnode.sourceforge.net/doc_en/README-
FQDN.html.  However, I want to still be able to go to http://localhost/
phpmyadmin/.  The FQDN is strictly for leafnode.

I'll also be installing http://code.google.com/p/feed-on-feeds/, which 
I also want to put on http://localhost/ rather than the FQDN.

Apache 2, MySQL and phpMyAdmin are currently working fine with the 
localhost name, and I don't want to break this.

Going by http://gentoo-wiki.com/TIP_Setup_Your_FQDN it mentions to 
configure the /etc/conf.d/hostname file.  For my purposes, how should 
this file be configured?


localhost ~ # 
localhost ~ # cat /etc/conf.d/hostname 
#HOSTNAME=livecd
#HOSTNAME=localhost arrakis.doesntexist.org
#HOSTNAME=arrakis.doesntexist.org
HOSTNAME=localhost
localhost ~ # 
localhost ~ # date
Sun Aug 26 19:05:11 PDT 2007
localhost ~ # 



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Java Version

2007-08-26 Thread Thufir
On Wed, 22 Aug 2007 13:41:49 +0200, Abraham Marín Pérez wrote:

 How do I get the plugin into Firefox? I have the USE flag in place, and
 a 32 and 64 bit plugin appears available, but still nothing shows for
 about:plugins.

 The fetch restriction appears when downloading its documentation, not
 the jvm itself; if you don't have doc use flag enabled for jvm you won't
 download it, and hence, you won't experience its fetch restrictions.

I wasn't aware of this.  If ufed is properly configured, then the JVM is 
directly fetched?  :)



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: FQDN v. localhost

2007-08-26 Thread Thufir
On Sun, 26 Aug 2007 23:07:34 -0400, Sean wrote:

 You seem to be confusing /etc/conf.d/hostname with /etc/hosts.
 
 If you want different content to be served from localhost as opposed to
 another fqdn, then just setup virtualhosts in apache.

For leafnode, configure /etc/hosts and /etc/conf.d/hostname for 
arrakis.doesntexist.org, the FQDN, then configure apache so that 
localhost works for MySQL (and whatever else uses it)?

Pragmatically, first get leafnode working, then configure apache so that 
apache also delivers localhost?


thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: phpMyAdmin

2007-08-21 Thread Thufir
On Fri, 17 Aug 2007 12:58:16 +0200, Hans-Werner Hilse wrote:

 Did you read my earlier post?
 
 rewrite that line to APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 and restart
 apache.


Pardon, I may have been distracted, but I think I changed that entry 
several times.  I tried a couple variations, and restarted apache and for 
good measure mysql.  The above variation still shows text files for .php 
files.

Does the error log shed any light?  Here's the tail:

localhost ~ # 
localhost ~ # /etc/init.d/apache2 restart ; /etc/init.d/mysql restart
 * Stopping 
apache2 ...   [ ok ]
 * Starting 
apache2 ...   [ ok ]
 * Stopping mysql ...
 * Stopping mysqld 
(0)[ ok ]
 * Starting mysql ...
 * Starting mysql (/etc/mysql/
my.cnf) [ ok ]
localhost ~ # 
localhost ~ # 
localhost ~ # 
localhost ~ # tail /var/log/apache2/error_log
[Mon Aug 20 22:59:12 2007] [notice] caught SIGTERM, shutting down
[Mon Aug 20 22:59:12 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Mon Aug 20 22:59:12 2007] [notice] Digest: generating secret for digest 
authentication ...
[Mon Aug 20 22:59:12 2007] [notice] Digest: done
[Mon Aug 20 22:59:12 2007] [notice] Apache configured -- resuming normal 
operations
[Mon Aug 20 23:06:33 2007] [notice] caught SIGTERM, shutting down
[Mon Aug 20 23:06:33 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Mon Aug 20 23:06:33 2007] [notice] Digest: generating secret for digest 
authentication ...
[Mon Aug 20 23:06:33 2007] [notice] Digest: done
[Mon Aug 20 23:06:33 2007] [notice] Apache configured -- resuming normal 
operations
localhost ~ # 
localhost ~ # 
localhost ~ # date
Mon Aug 20 23:07:35 PDT 2007
localhost ~ # 





-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: phpMyAdmin

2007-08-21 Thread Thufir
On Tue, 21 Aug 2007 12:48:48 +0200, Hans-Werner Hilse wrote:

 Hi,
 
 On Tue, 21 Aug 2007 06:09:48 + (UTC) Thufir [EMAIL PROTECTED]
 wrote:
 
  Did you read my earlier post?
  
  rewrite that line to APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 and
  restart apache.
 
 Pardon, I may have been distracted, but I think I changed that entry
 several times.  I tried a couple variations, and restarted apache and
 for good measure mysql.  The above variation still shows text files for
 .php files.
 
 Does /etc/apache2/httpd.conf still contain the line Include
 /etc/apache2/modules.d/*.conf ?

Yes, on line 381.

 Is /etc/apache2/modules.d/*_mod_php.conf present? In that file you can
 see the exact flag you have to specify.

Hmm, that php.conf file is missing.

localhost ~ # 
localhost ~ # php -ver
PHP 5.2.2-pl1-gentoo (cli) (built: Aug 15 2007 01:38:17) 
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
localhost ~ # 
localhost ~ # ll /etc/apache2/modules.d/
total 24
-rw-r--r-- 1 root root  192 Jul 29 00:51 20_mod_fcgid.conf
-rw-r--r-- 1 root root 2980 Aug 15 02:34 40_mod_ssl.conf
-rw-r--r-- 1 root root 8151 Aug 15 02:34 41_mod_ssl.default-vhost.conf
-rw-r--r-- 1 root root  583 Aug 15 02:34 45_mod_dav.conf
-rw-r--r-- 1 root root  892 Aug 15 02:34 46_mod_ldap.conf
localhost ~ # 
localhost ~ # date
Tue Aug 21 08:19:58 PDT 2007
localhost ~ # 


 If you decided to drop the Gentoo configuration style for apache, then
 you'll have to provide a *lot* more information about your Apache's
 configuration than you did.

I enabled a few use flags with ufed, and did emerged mysql, apache and 
phpmyadmin; that's about it.


 BTW, the errors you cited indicate you might be running suexec. What
 for? How configured? Did you follow a certain guide?
 
 -hwh


I thought I once saw a phpmyadmin guide for gentoo, but have been unable 
to relocate it.  From a cursory look at suexec it's not something I would 
intentionally be using.

I believe the following will indicate that suexec isn't being used?

localhost ~ # 
localhost ~ # ll /usr/local/
total 24
drwxr-xr-x 2 root root 4096 Jul 26 02:45 bin
drwxr-xr-x 2 root root 4096 Jul 26 02:45 games
drwxr-xr-x 2 root root 4096 Jul 26 02:45 lib
drwxr-xr-x 2 root root 4096 Jul 26 02:45 sbin
drwxr-xr-x 4 root root 4096 Jul 26 02:45 share
drwxr-xr-x 2 root root 4096 Jul 26 02:45 src
localhost ~ # 
localhost ~ # ll /usr/local/bin/
total 0
localhost ~ # 
localhost ~ # ll /usr/local/src/   
total 0
localhost ~ # 
localhost ~ # date
Tue Aug 21 08:27:11 PDT 2007
localhost ~ # 


thanks,

Thufir


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: phpMyAdmin

2007-08-21 Thread Thufir
Perhaps I didn't emerge things in the correct sequence, so:

localhost ~ # 
localhost ~ # date
Tue Aug 21 08:54:41 PDT 2007
localhost ~ # 
localhost ~ # emerge phpmyadmin apache --ask

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] dev-db/mysql-5.0.44  USE=berkdb perl ssl -big-tables -
cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-
selinux) -static 
[ebuild  N] net-www/apache-2.0.58-r2  USE=ldap ssl -apache2 -debug -
doc -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-
worker (-selinux) -static-modules -threads 
[ebuild  N] dev-lang/php-5.2.2-r1  USE=berkdb cli crypt ctype gdbm 
iconv ipv6 kerberos ldap mysqli ncurses nls pcre readline reflection 
session spell spl sqlite ssl truetype unicode xml zlib -adabas -apache2 -
bcmath -birdstep -bzip2 -calendar -cdb -cgi -cjk -concurrentmodphp -curl -
curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -
empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -
force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp -hash -imap -
inifile -interbase -iodbc -java-external -json -ldap-sasl -libedit -mcve -
mhash -msql -mssql -mysql -oci8 -oci8-instant-client -odbc -pcntl -pdo -
pdo-external -pic -posix -postgres -qdbm -recode -sapdb -sharedext -
sharedmem -simplexml -snmp -soap -sockets -solid -suhosin -sybase -sybase-
ct -sysvipc -threads -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter 
-xpm -xsl -yaz -zip -zip-external 
[ebuild  N] dev-db/phpmyadmin-2.10.1  USE=-vhosts 

Would you like to merge these packages? [Yes/No] 



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: phpMyAdmin

2007-08-21 Thread Thufir
O.


Thanks guys.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: phpMyAdmin

2007-08-21 Thread Thufir
Adding Apache2 to ufed, then unmerging and re-emerging fixed it.  Thanks 
to all for the help :)



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: phpMyAdmin

2007-08-17 Thread Thufir
-2.10.1
  13. http://localhost/phpmyadmin/TODO
  14. http://localhost/phpmyadmin/browse_foreigners.php
  15. http://localhost/phpmyadmin/calendar.php
  16. http://localhost/phpmyadmin/changelog.php
  17. http://localhost/phpmyadmin/chk_rel.php
  18. http://localhost/phpmyadmin/config.sample.inc.php
  19. http://localhost/phpmyadmin/contrib/
  20. http://localhost/phpmyadmin/css/
  21. http://localhost/phpmyadmin/db_create.php
  22. http://localhost/phpmyadmin/db_datadict.php
  23. http://localhost/phpmyadmin/db_export.php
  24. http://localhost/phpmyadmin/db_import.php
  25. http://localhost/phpmyadmin/db_operations.php
  26. http://localhost/phpmyadmin/db_printview.php
  27. http://localhost/phpmyadmin/db_qbe.php
  28. http://localhost/phpmyadmin/db_search.php
  29. http://localhost/phpmyadmin/db_sql.php
  30. http://localhost/phpmyadmin/db_structure.php
  31. http://localhost/phpmyadmin/docs.css
  32. http://localhost/phpmyadmin/error.php
  33. http://localhost/phpmyadmin/export.php
  34. http://localhost/phpmyadmin/favicon.ico
  35. http://localhost/phpmyadmin/import.php
  36. http://localhost/phpmyadmin/index.php
  37. http://localhost/phpmyadmin/js/
  38. http://localhost/phpmyadmin/lang/
  39. http://localhost/phpmyadmin/libraries/
  40. http://localhost/phpmyadmin/license.php
  41. http://localhost/phpmyadmin/main.php
  42. http://localhost/phpmyadmin/navigation.php
  43. http://localhost/phpmyadmin/pdf_pages.php
  44. http://localhost/phpmyadmin/pdf_schema.php
  45. http://localhost/phpmyadmin/phpinfo.php
  46. http://localhost/phpmyadmin/pmd/
  47. http://localhost/phpmyadmin/pmd_common.php
  48. http://localhost/phpmyadmin/pmd_display_field.php
  49. http://localhost/phpmyadmin/pmd_general.php
  50. http://localhost/phpmyadmin/pmd_help.php
  51. http://localhost/phpmyadmin/pmd_pdf.php
  52. http://localhost/phpmyadmin/pmd_relation_new.php
  53. http://localhost/phpmyadmin/pmd_relation_upd.php
  54. http://localhost/phpmyadmin/pmd_save_pos.php
  55. http://localhost/phpmyadmin/querywindow.php
  56. http://localhost/phpmyadmin/readme.php
  57. http://localhost/phpmyadmin/scripts/
  58. http://localhost/phpmyadmin/server_binlog.php
  59. http://localhost/phpmyadmin/server_collations.php
  60. http://localhost/phpmyadmin/server_databases.php
  61. http://localhost/phpmyadmin/server_engines.php
  62. http://localhost/phpmyadmin/server_export.php
  63. http://localhost/phpmyadmin/server_import.php
  64. http://localhost/phpmyadmin/server_privileges.php
  65. http://localhost/phpmyadmin/server_processlist.php
  66. http://localhost/phpmyadmin/server_sql.php
  67. http://localhost/phpmyadmin/server_status.php
  68. http://localhost/phpmyadmin/server_variables.php
  69. http://localhost/phpmyadmin/show_config_errors.php
  70. http://localhost/phpmyadmin/sql.php
  71. http://localhost/phpmyadmin/tbl_addfield.php
  72. http://localhost/phpmyadmin/tbl_alter.php
  73. http://localhost/phpmyadmin/tbl_change.php
  74. http://localhost/phpmyadmin/tbl_create.php
  75. http://localhost/phpmyadmin/tbl_export.php
  76. http://localhost/phpmyadmin/tbl_import.php
  77. http://localhost/phpmyadmin/tbl_indexes.php
  78. http://localhost/phpmyadmin/tbl_move_copy.php
  79. http://localhost/phpmyadmin/tbl_operations.php
  80. http://localhost/phpmyadmin/tbl_printview.php
  81. http://localhost/phpmyadmin/tbl_relation.php
  82. http://localhost/phpmyadmin/tbl_replace.php
  83. http://localhost/phpmyadmin/tbl_row_action.php
  84. http://localhost/phpmyadmin/tbl_select.php
  85. http://localhost/phpmyadmin/tbl_sql.php
  86. http://localhost/phpmyadmin/tbl_structure.php
  87. http://localhost/phpmyadmin/test/
  88. http://localhost/phpmyadmin/themes.php
  89. http://localhost/phpmyadmin/themes/
  90. http://localhost/phpmyadmin/transformation_overview.php
  91. http://localhost/phpmyadmin/transformation_wrapper.php
  92. http://localhost/phpmyadmin/translators.html
  93. http://localhost/phpmyadmin/user_password.php
localhost ~ # 
localhost ~ # date
Thu Aug 16 23:40:28 PDT 2007
localhost ~ # 
localhost ~ # 




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: phpMyAdmin

2007-08-16 Thread Thufir
On Wed, 15 Aug 2007 19:55:24 +0200, Hans-Werner Hilse wrote:


 If those files you see actually are the phpMyAdmin files: Web server not
 properly configured to search for an index.php? Or no PHP at all?

When I go to http://localhost/phpmyadmin/ I get a directory listing.  
One of the files is:

?php
/* $Id: phpinfo.php 7853 2005-11-22 11:58:37Z cybot_tm $ */
// vim: expandtab sw=4 ts=4 sts=4:


/**
 * Gets core libraries and defines some variables
 */
define( 'PMA_MINIMUM_COMMON', true );
require_once('./libraries/common.lib.php');


/**
 * Displays PHP information
 */
if ( $GLOBALS['cfg']['ShowPhpInfo'] ) {
phpinfo();
}
?


http://localhost/phpmyadmin/phpinfo.php which apache2 apparently is 
treating as a text file.


Apparently I'm not alone in not finding gentoo documentation on this, as 
I did come across:

What I hadn't noticed when I emerged phpmyadmin, and none of the 
documentation I had read had told me, was there is a script installed by 
phpmyadmin located at:
/usr/share/webapps/phpmyadmin/2.7.0_p1/sqlscripts/
mysql/2.7.0_p1_create.sql
that needs to be run to setup a database for phpmyadmin.

http://groups.google.com/group/linux.gentoo.user/msg/236092fa01647151?
dmode=source


But:

localhost ~ # 
localhost ~ # ll /usr/share/webapps/phpmyadmin/2.10.1/sqlscripts/
total 0
localhost ~ # 
localhost ~ # date
Thu Aug 16 00:44:45 PDT 2007
localhost ~ # 
localhost ~ # 


For some reason Apache2 isn't running php?



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: phpMyAdmin

2007-08-16 Thread Thufir
, referer: http://
www.linuxforums.org/forum/servers/52785-mysql-phpmyadmin.html
[Wed Aug 15 10:11:21 2007] [notice] caught SIGTERM, shutting down
[Wed Aug 15 10:11:21 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Wed Aug 15 10:11:21 2007] [notice] Digest: generating secret for digest 
authentication ...
[Wed Aug 15 10:11:21 2007] [notice] Digest: done
[Wed Aug 15 10:11:21 2007] [notice] Apache configured -- resuming normal 
operations
[Wed Aug 15 10:15:51 2007] [notice] caught SIGTERM, shutting down
[Wed Aug 15 23:58:22 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Wed Aug 15 23:58:22 2007] [notice] Digest: generating secret for digest 
authentication ...
[Wed Aug 15 23:58:22 2007] [notice] Digest: done
[Wed Aug 15 23:58:22 2007] [notice] Apache configured -- resuming normal 
operations
[Thu Aug 16 01:02:00 2007] [notice] caught SIGTERM, shutting down
[Thu Aug 16 01:02:00 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Thu Aug 16 01:02:00 2007] [notice] Digest: generating secret for digest 
authentication ...
[Thu Aug 16 01:02:00 2007] [notice] Digest: done
[Thu Aug 16 01:02:00 2007] [notice] Apache configured -- resuming normal 
operations
[Thu Aug 16 01:02:16 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/htdocs
[Thu Aug 16 01:02:23 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/htdocs
localhost ~ # 
localhost ~ # 
localhost ~ # ll /usr/
total 180
lrwxrwxrwx   1 root root 6 Jul 26 03:17 X11R6 - ../usr
drwxr-xr-x   2 root root 40960 Aug 14 14:08 bin
drwxr-xr-x   3 root root  4096 Aug  8 00:33 doc
drwxr-xr-x   6 root root  4096 Jul 26 02:49 i686-pc-linux-gnu
drwxr-xr-x 191 root root 20480 Aug 15 02:34 include
drwxr-xr-x   3 root root  4096 Jul 26 04:18 kde
drwxr-xr-x  87 root root 69632 Aug 15 01:39 lib
drwxr-xr-x   7 root root  4096 Aug  8 01:23 libexec
drwxr-xr-x   8 root root  4096 Jul 26 02:45 local
drwxr-xr-x 158 root root  4096 Jul 26 21:08 portage
drwxr-xr-x   3 root root  4096 Jul 26 08:33 qt
drwxr-xr-x   2 root root 12288 Aug 15 02:34 sbin
drwxr-xr-x 185 root root  4096 Aug 15 01:39 share
drwxr-xr-x   2 root root  4096 Jul 26 02:45 src
localhost ~ # 
localhost ~ # date
Thu Aug 16 01:21:32 PDT 2007
localhost ~ # 
localhost ~ # 
localhost ~ # 





thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



  1   2   3   >