[gentoo-user] Recomendation of wireless USB or PCI

2009-04-23 Thread Thomas Chef
Hello !

As I have no network cable where my gentoo computer will be placed, I need
to use a wirelss network adapter.

Do you have any recomendations of which product (USB plug) to buy which is
simple to install ?

In my local stores I can choose from: (only USB sticks)
- GIGABYTE Link ACT
- D-Link DWL-G122
- Sweex LW053

Or maybe a PCI card ?

/ Thomas


[gentoo-user] Backup and Restore

2009-04-22 Thread Thomas Chef
Hello !

Now that my gentoo system is up and running the applications that I want to
use, how do I make a reliable backup ?

Can I follow the guide on:
http://en.gentoo-wiki.com/wiki/Backup_to_DVD

Is that a proven/working method ?

/ Thomas


Re: [gentoo-user] Failed to emerge fontforge

2009-04-21 Thread Thomas Chef
 ...and if that doesn't fix it I'm sure the upstream devs will be
interested
 to know of the problem.

I have opened a bug report, and also got a response, which I will try:
http://bugs.gentoo.org/show_bug.cgi?id=266868


Re: [gentoo-user] How to use newer version of a package ?

2009-04-20 Thread Thomas Chef
Thanks for the help !
It worked perfect.



On Sun, Apr 19, 2009 at 1:08 PM, KH gentoo-u...@konstantinhansen.de wrote:

 KH schrieb:

 
 
  =media-sound/rosegarden-1.7.3 ~x86
 
  The first / you wrote is missing!
 
  kh
 
  Well sometimes I am just too slow  ;-)
  Alan was first!





[gentoo-user] Failed to emerge fontforge

2009-04-20 Thread Thomas Chef
I tried to emerge lilypond but it fails when building fontforge, with
the error below.

What do I do ?

Do I issue an bug report ?

/ Thomas

In file included from fontP.h:109,
 from gdrawtxt.c:30:
gxdrawP.h:83:32: error: cairo/cairo-xlib.h: No such file or directory
 gcc -march=c3-2 -msse -mmmx -mfpmath=sse -O2 -pipe
-fomit-frame-pointer -I/usr/include/freetype2/ -I/usr/include/fr
eetype2 -I/usr/include/libxml2/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/gli
b-2.0/include -I/usr/include/python2.4 -I../inc -I../inc
-I/usr/pkg/include -I/usr/pkg/include/giflib -Wmissing-prot
otypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat
-Wchar-subscripts -DNOTHREADS -DHAVE_CONFIG_H -DLIBD
IR=\/usr/lib\ -c gdrawtxtinit.c  -fPIC -DPIC -o .libs/gdrawtxtinit.o
In file included from fontP.h:109,
 from gdrawtxtinit.c:27:
gxdrawP.h:83:32: error: cairo/cairo-xlib.h: No such file or directory
make[1]: *** [gdrawtxt.lo] Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: *** [gdrawtxtinit.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-gfx/fontforge-20090408/work/fontforge-20090408/gdraw'
make: *** [libgdraw] Error 2
 *
 * ERROR: media-gfx/fontforge-20090408 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2150:  Called _eapi2_src_compile
 *   ebuild.sh, line  643:  Called die
 * The specific snippet of code:
 *  emake || die emake failed
 *  The die message:
 *   emake failed
 *



Re: [gentoo-user] Failed to emerge fontforge

2009-04-20 Thread Thomas Chef
 Try rebuilding x11-libs/cairo

I tried:
# emerge x11-libs/cairo

Which seems to have worked out ok, then ran emerge fontforge, but it
ended up in the same error as before ?

I searched the disk for the file: cairo-xlib.h (in Konqueror) but
could not find the file ?

/ Thomas



[gentoo-user] How to use newer version of a package ?

2009-04-19 Thread Thomas Chef
I want to use Rosegarden, and the latest stable version (according to
www.rosegardenmusic.com) is 1.7.3

But when I use emerge rosegarden I only get version 1.5.1 ?

I tried to create a /etc/portage/package.keywords:
=/media-sound/rosegarden-1.7.3 ~x86

But this doesnt seem to help:
# emerge --update rosegarden
--- Invalid atom in /etc/portage/package.keywords:
=/media-sound/rosegarden-1.7.3

If I search http://gentoo-portage.com/ I can find the 1.7.3 version there ?

What can be wrong ?



[gentoo-user] Kernel fails to boot on Via Epia

2009-04-16 Thread Thomas Chef
Hello !

I am realy a beginner at Linux, and i am trying to get Gentoo work with my
Epia Via C3 Nemiah.

I have followed the Handbook (I hope), and have looked at some Epia HOWTO's
on how to configure the kernel. (manual config)

I configured the needed devices as built in, and nothing as a module.

I have a primary ide-disk on the first IDE-channel, /dev/hda when I boot the
minimal installation cd.

Use tha handbook's partition's. And use lilo, as in the examples.

But when I reboot i get:
VFS: Cannot open root device 303 or unknown-block (3,3)
Please append a correct boot option; here are the available:
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(3,3)

Please help me, as I don't know what to try next.
Does anyone have a .config-file that works with the Epia card ?

/ Thomas


Re: [gentoo-user] Kernel fails to boot on Via Epia

2009-04-16 Thread Thomas Chef
I just rembered that lilo verifies that the root-device that I use in
lilo-conf actually exists ?

So when I boot from my minimal-cd the disk is /dev/hda so if I write
/dev/sda in lilo.conf I will get an error when running lilo ?

On Thu, Apr 16, 2009 at 11:02 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Thu, 16 Apr 2009 10:58:49 +0200, Thomas Chef wrote:

  Is it lilo that tells the kernel at boot what device to mount as root ?

 Yes, although you'll find that most people prefer GRUB to Lilo nowadays.


 --
 Neil Bothwick

 Work is the curse of the partying class!



[gentoo-user] IDE is called hda

2009-04-16 Thread Thomas Chef
From the handbook:
To begin, we'll introduce block devices. The most famous block device is
probably the one that represents the first drive in a Linux system, namely
/dev/sda. SCSI and Serial ATA drives are both labeled /dev/sd*; even IDE
drives are labeled /dev/sd* with the new libata framework in the kernel. If
you're using the old device framework, then your first IDE drive is /dev/hda
.

But when I boot on Via Epia with my minimal installation CD 2008 I get my
IDE-disk as /dev/hda

Is the kernel on the minimal CD old ?


Re: [gentoo-user] Kernel fails to boot on Via Epia

2009-04-16 Thread Thomas Chef
I selected all devices from the guideline in the EPIA Howto:
http://www.gentoo-wiki.info/VIA_Epia_M_II

I downloaded the minimal CD:
http://bouncer.gentoo.org/fetch/gentoo-2008.0-minimal/x86/

For the kernel source I followed the online Handbook (with links)

I will try with sda notation in my lilo config.
If this doesnt work I will send my .config and lilo.conf-files.

Is it lilo that tells the kernel at boot what device to mount as root ?

/ Thomas



On Thu, Apr 16, 2009 at 10:40 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Thu, 16 Apr 2009 09:03:06 +0200, Thomas Chef wrote:

  I configured the needed devices as built in, and nothing as a module.

 Which devices?

  I have a primary ide-disk on the first IDE-channel, /dev/hda when I
  boot the minimal installation cd.

 Is this an old CD? Modern kernels would see that device as /dev/sda

  VFS: Cannot open root device 303 or unknown-block (3,3)
  Please append a correct boot option; here are the available:
  Kernel panic - not syncing: VFS: Unable to mount root fs on
  unknown-block(3,3)

 The kernel is unable to find your root device. Try with the sda notation,
 if that fails post your kernel config.

  Does anyone have a .config-file that works with the Epia card ?

 Yes, but I netboot my Epia box so it may not be much use to you.


 --
 Neil Bothwick

 Q-Tip: When an omnipotent alien gives you advice.



Re: [gentoo-user] IDE is called hda

2009-04-16 Thread Thomas Chef
Aha I understand.

But what if my cd installation names my disk hda,
but when I download the gentoo kernel source and build it it will use sda.
So in my lilo.conf I must use hda, and when the new kernel boots it looks
for hda (because of my lilo.conf), but in that case it should be sda instead
?

On Thu, Apr 16, 2009 at 11:49 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

  On Thursday 16 April 2009 11:28:54 Thomas Chef wrote:
  From the handbook:
  To begin, we'll introduce block devices. The most famous block device is
  probably the one that represents the first drive in a Linux system,
 namely
  /dev/sda. SCSI and Serial ATA drives are both labeled /dev/sd*; even IDE
  drives are labeled /dev/sd* with the new libata framework in the kernel.
 If
  you're using the old device framework, then your first IDE drive is
  /dev/hda .
 
  But when I boot on Via Epia with my minimal installation CD 2008 I get my
  IDE-disk as /dev/hda
 
  Is the kernel on the minimal CD old ?

 Not really. It's whatever was reasonably current at the time the CD image
 was
 built.

 It's not the age of the kernel that matters here. it's which drivers are in
 use. These things are in a constant state of flux and right now the Linux
 kernel still has drivers for the old and the new way of doing things with
 disks.

 Rationale: a driver writer decided some time ago that it would be better to
 consolidate things in the kernel and use the same code-base for all types
 of
 disk. This makes things easier overall as you don't have to eternally
 figure
 out if you have IDE/SCSI/PATA/SCSI/something_else drives - the thing is
 always
 going to be /dev/sd**

 But you can still use the old drivers and framework if you choose.
 Apparently,
 whoever mastered that CD did choose. Point being, if /dev/sda doesn't work
 for
 you and /dev/hda does, then you should be using /dev/hda. From your point
 of
 view, it's just a name for something

 --
 alan dot mckinnon at gmail dot com




Re: [gentoo-user] Kernel fails to boot on Via Epia

2009-04-16 Thread Thomas Chef
 Thomas, I also have an EPIA (disk booted) so I can dig that up if there's
no progress

I'm pretty shure that I have selected all device drivers as specified in:
http://www.gentoo-wiki.info/VIA_Epia_M_II
but I will tripple check this tonight.


[gentoo-user] Pausing kernel startup ?

2009-04-16 Thread Thomas Chef
Is it somehow possible to pause the kernel's startup text output ?. The text
is so fast so there is no way of reading it.


Re: [gentoo-user] Kernel fails to boot on Via Epia

2009-04-16 Thread Thomas Chef
Thanks for all your support.

Yesterday evening I reconfigured the kernel again, and I added SCSI I think,
but I also removed some generic IDE drivers and just kept the VIA driver for
ide. Recompiled, and rebooted. And voila, it booted :) I will compare the
two .config's to see what I actually did that made it work.

But there is a lot of work left before it's complete:
* APCI don't work (powerbutton)
* Framebuffer at startup (like on the install-cd, which looks nice)
* Mouse-support (maybe this comes with the framebuffer, as I can see it
detects the mouse)
* Swedish keymap (I didnt get the config correct, but I know how to now)
* X
(Hmm. If I would have choosen Windows instead, I would have been up and
running with Cubase in 3 hours max, but I would not have learned so much)

A few questions:
- When I recompile the kernel and replace an existingly (in lilo) configured
kernel, do I have to rerun lilo ?
- Neil: How have you configured your frambuffer support in lilo/grub ? The
handbook is some what confusing in this matter I think ?
- How much do I earn in speed by optimising and removing unneeded options in
the kernel ? Or is it just kernel-size ?