[gentoo-user] Xserver errors while loading livecd 2007.0 ...

2007-11-17 Thread Albretch Mueller
 Hi,
~
 after downloding the iso and verifying it was OK using knoppix 5.1.1,
while trying to boot gentoo, I got:
~
XIO: fatal IO error 104 (Connection reset by peer) o XServer ":0.0"
   after 0 requests (0 known processed) with 0 events remaining
~
 I am trying to boot gentoo livecd:
~
 Linux version 2.6.19-gentoo-r5 ([EMAIL PROTECTED]) (gcc version 4.1.1
(Gentoo 4.1.1-r3))
~
 on a
~
CPU0: AMD Athlon(tm) 64 Processor 3500+ stepping 02
Total of 1 processors activated (1996.07 BogoMIPS).
~
 I read online that this error happens because X does not support RADEON cards
~
 The stanzas on my dmesg output that may relate to this problem may be:
~
initialized device: /dev/synth, node ( MAJOR 10, MINOR 25 )
vesafb: framebuffer at 0xd000, mapped to 0xf888, using 3072k,
total 65536k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: protected mode interface info at c000:534c
vesafb: pmi: set display start = c00c53ba, set palette = c00c53f4
vesafb: pmi: ports = cc10 cc16 cc54 cc38 cc3c cc5c cc00 cc04 ccb0 ccb2 ccb4
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
~
 What can I do to solve this problem?
~
 Thanks
 lbrtchx
-- 
[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: 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  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: 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:

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

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



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

2007-11-17 Thread Alan McKinnon
On Saturday 17 November 2007, Thufir wrote:
> 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.

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. Maybe you have a mic and a cd-rom as 
inputs, how could you possibly control them with one input? Think audio 
mixing hardware - many inputs. You have to be able to mute or unmute 
them individually. You can't link the volume controls so one slider 
controls everything becuase electronic devices don't increase and 
decrease the amount of signal exactly the same way.

Any attempt to give you an audio control that works in a different way 
to what you have will be horribly broken and unusable. Then you really 
would be have something to complain about.

Bitching here about this is a bit like moaning that you have 6 lights on 
in your house and to get darkness you have to switch on 6 switches in 
different places. Silly, huh?

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



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

2007-11-17 Thread Mick
On Saturday 17 November 2007, Thufir wrote:
> 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...

So if you look into /dev/hdb1 while mounted under /boot, can you see a file 
called "kernel-has-alsa"?

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

 lrwxrwxrwx  1 root root   1 Mar 20  2006 boot -> .

for the above line to work.

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

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

I hope that this helps, otherwise post back again.
-- 
Regards,
Mick


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


[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] gmailfs and gmail 2.0

2007-11-17 Thread Billy Holmes
just a heads up for those of you running gmailfs. Gmail is now 2.0, so
if you want to access your old files, you have to install
libgmail-0.1.8. It was released 2007-11-13.

Create a portage overlay of libgmail:

  1) add PORTDIR_OVERLAY to /etc/make.conf (/usr/local/portage)
  2) create PORTDIR_OVERLAY and PORTDIR_OVERLAY/net-libs
  3) copy /usr/portage/net-libs/libgmail/libgmail-0.1.7.ebuild
$PORTDIR_OVERLAY/net-libs/libgmail-0.1.8.ebuild
  4) (notice you're renaming it from 1.7 to 1.8)
  5) run: ebuild $PORTDIR_OVERLAY/net-libs/libgmail-0.1.8.ebuild manifest
  6) then: emerge -avt libgmail and it should say 0.1.8.



-- 
[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] Re: Problem with hdparm and SATA-controller

2007-11-17 Thread Marc Blumentritt
Hemmann, Volker Armin schrieb:
> On Donnerstag, 15. November 2007, Marc Blumentritt wrote:
> 
>> * Running hdparm on /dev/sda ...
>>  HDIO_SET_32BIT failed: Invalid argument
>>  HDIO_SET_UNMASKINTR failed: Inappropriate ioctl for device
>>  HDIO_SET_DMA failed: Inappropriate ioctl for device
>>  HDIO_DRIVE_CMD failed: Input/output error
> 
> which is perfectly fine too.
> 
> You don't set 33bit mode for sata disks.
> You don't set unmask interrupt for sata disks.
> You don't set udma for sata disks (they use it anyway).
> 
> You use sdparm for sata disks.

That does explain everything :-)
Should read howto's more careful...

Thanks!
Marc

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [Pyqwt-users] Modification of the coordinate System

2007-11-17 Thread Fabian Steiner
Hello!

Am Samstag 17 November 2007 15:37:39 schrieb Gerard Vermeulen:
> Try something like:
>
> import PyQt4.Qwt5 as Qwt
>
> class CanvasScale(Qwt.QwtPlotItem):
>     def __init__(self): # pass x- or y-axis as parameter?
>   Qwt.QwtPlotItem.__init__(self)
>   self.scaleDraw = Qwt.QwtScaleDraw()
>         # scaleDraw initialization code here
>
>     def draw(self, painter, xMap, yMap, rect):
>         # Look at the ImagePlotDemo how to use the map
>   # and how you might try to draw the scales:
>         # 1. figure out the scale position in pixels
>   # 2. figure out the scale length in pixels
>         # 3. draw the scale (see QwtAbstractScaleDraw.draw())
>
> Could you post your solution? I would like to transform it in an
> example.

Oh, I will try what I can do. Unfortunately, I am not that familiar with PyQwt 
yet except from doing the usual things...

Thanks,
Fabian
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Netvanta router will not read Gentoo MAC address

2007-11-17 Thread Mick
On Saturday 17 November 2007, Etaoin Shrdlu wrote:
> On Saturday 17 November 2007, Mick wrote:

> > What can I change to get this going?
>
> Did you try the "-I" option to dhcpcd? (man dhcpcd)
> Set it to your mac address and add the option in the "dhcpcd_eth0 = ..."
> line in /etc/conf.d/net.
>
> If nothing else works, you can try using dhclient or pump (or changing
> dhcp server!).

Thanks guys, unless I am doing something wrong I cannot get the -I option to 
work meaningfully.  How exactly am I supposed to specify the MAC address?

I tried XX:XX:XX:XX:XX, I tried without ":" and also with lower case 
characters.  The router picks up a different string but not the intended MAC 
address.

I finally tried vram (whatever this might mean?!) and it now works.

Thanks for your help.  Any one know what vram actually does?
-- 
Regards,
Mick


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


[gentoo-user] Re: Netvanta router will not read Gentoo MAC address

2007-11-17 Thread James
Mick  gmail.com> writes:


> I have connected to a Netvanta router (seems to me like Cisco clone in terms 
> of ruleset and OS) but it will not read my MAC address.  As a result I cannot 
> set static IP addresses for my Gentoo boxen on this LAN.  

Hello Mick,

I admin some Netvanta (Adtran) routers.


AOS is quite similar to IOS with some differences and caveats

First, I'd save the configuration you have. You may need to nuke 
the configuration and start over, if all else fails. Like the
other router vendors, Adtran has it's own 'mojo' that pre-configures
the routers, so 'Doze' folks can make it work on their networks
Like IOS you can parse the instruction set (tree) to look for options
to various commands. Sometimes deleting part of the AOS config
is a little bit tricky with some interfaces (such as fractional T1).


Here's a simple setup of a static IP on an ethernet port of a 
Netvanta 3200:

ip subnet-zero
ip classless
ip routing
!
no auto-config
!
event-history on
no logging forwarding
no logging console
no logging email
!
no ip firewall alg h323
!
!
interface eth 0/1
  ip address  192.168.17.2  255.255.255.0
  no shutdown


If you want more, just ask me, either on the list or privately.



James

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo dedicated servers

2007-11-17 Thread Jesús García Crespo
El Fri, 16 Nov 2007 18:20:56 +0100
"pepone.onrez" <[EMAIL PROTECTED]> escribió:

> Like i don't want this happen again i decided moved my servers to
> other datacenter , can you sayme any recomendations of datacenters to
> move my servers.

I tried serveraxis.com and ovh.es. Good experience in both cases.

-- 
Jesús García Crespo
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] "free -m" under x86_64

2007-11-17 Thread Bryan Whitehead
Can you just run "uname -a" and cut/paste that to an email and send to
us? I think you are still in 32bit land.

On Nov 16, 2007 2:17 PM, Stefan G. Weichinger <[EMAIL PROTECTED]> wrote:
>
> Greets,
>
> following that Core2Duo-thread from a few days ago I now set up a new
> installation of my current 32bit-x86-setup on a second 64bit machine.
>
> I started a fresh install with the amd64 cd, used
> CHOST="x86_64-pc-linux-gnu" and emerged everything fresh from the world
> file on the 32bit machine.
>
> I built the kernel for a generic 64bit CPU (just to make sure that it
> will be easy to move that partition to the target system, I will have to
> move from a Pentium D950 to a Core2Duo E6600).
>
> #zgrep 64 /proc/config.gz
> CONFIG_X86_64=y
> CONFIG_64BIT=y
> [...]
>
> Now I wonder why "free -m" still shows only 3.2 GB of RAM when I have 4
> gigs in the box ...
>
> Do I have to set/remove some specific kernel-flag in
> /usr/src/linux/.config ?
>
> Do I misunderstand something?
>
> Thanks for any pointer, Stefan
>
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Netvanta router will not read Gentoo MAC address

2007-11-17 Thread Etaoin Shrdlu
On Saturday 17 November 2007, Mick wrote:

> In trying to figure out what's happening I noticed that the Linux
> machines are registered on the router not with their MAC address
> (which is broadcast by dhcpcd as DHCPCHADDR) but with their CLIENTID,
> which is a much larger number:
>[cut]
> The router compares the CLIENTID with the MAC address I have entered
> manually and it does not recognise the box as the one intended.  I
> tried to specify a MAC address in /etc/conf.d/net.eth0 but it makes no
> difference.  Any idea why MS Windows machines work fine and Linux do
> not?
>
> What can I change to get this going?

Did you try the "-I" option to dhcpcd? (man dhcpcd)
Set it to your mac address and add the option in the "dhcpcd_eth0 = ..." 
line in /etc/conf.d/net.

If nothing else works, you can try using dhclient or pump (or changing 
dhcp server!).
-- 
[EMAIL PROTECTED] mailing list



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

2007-11-17 Thread Mick
On Saturday 17 November 2007, Thufir wrote:
> 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.

I am not sure which disk you have installed gentoo in, so some guessing will 
be necessary.  Pressing e to get you into edit mode when Grub is booting and 
then using the find command or tab completion will tell you what partitions 
you have available and where Grub's root fs is found.  Of course if you have 
installed Grub in more than one disk and partition then some trial and error 
should get you there.

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

As long the kernel image file name in /boot and in your grub.conf entry is the 
same there shouldn't be a problem.

> I can always 
> recompile the kernel if necessary.  Could it be a modules issue?

Yes it can, although not on this occasion because it gives a different error.  
Make sure that essential things like your MoBo chipset and your root fs are 
compiled in the kernel, not as modules.  Alternatively, you'll need to build 
a fat initrd to contain these and make them available at boot time.

> 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

This is trying to boot a file called kernel-2.4.20 in a directory called /boot 
inside your first partition, of your first disk.  Do you have a /boot 
directory in /boot partition in there?  Does it boot if you remove /boot from 
that line?

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

It did not find the file you told it in there.

> 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

So, this has a file called kernel-has-alsa which is in the first partition of 
the *second* hard drive?

> title=Gentoo Linux
> root (hd1,0)

*second* hard drive too?

See if the above helps otherwise post back.
-- 
Regards,
Mick


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


[gentoo-user] Netvanta router will not read Gentoo MAC address

2007-11-17 Thread Mick
Hi All,

I have connected to a Netvanta router (seems to me like Cisco clone in terms 
of ruleset and OS) but it will not read my MAC address.  As a result I cannot 
set static IP addresses for my Gentoo boxen on this LAN.  The router offers 
the next available IP address, instead of the one that I have reserved (on 
the router).  The MS Windows machines seem to work fine.

In trying to figure out what's happening I noticed that the Linux machines are 
registered on the router not with their MAC address (which is broadcast by 
dhcpcd as DHCPCHADDR) but with their CLIENTID, which is a much larger number:
===
# dhcpcd eth0 -T
IPADDR='10.10.10.30'
NETMASK='255.255.255.0'
BROADCAST='10.10.10.255'
ROUTES=''
GATEWAYS='10.10.10.1'
DNSSERVERS='10.10.10.1'
NTPSERVERS='10.10.10.1'
DHCPSID='10.10.10.1'
LEASETIME='86400'
RENEWALTIME='0'
REBINDTIME='0'
INTERFACE='eth0'
CLASSID='dhcpcd 3.1.5'
CLIENTID='ff:42:53:72:03:06:01:00:01:0e:95:9f:d7:01:c2:b8:d1:f1:1f'
DHCPCHADDR='01:c2:b8:d1:f1:1f'
===

The router compares the CLIENTID with the MAC address I have entered manually 
and it does not recognise the box as the one intended.  I tried to specify a 
MAC address in /etc/conf.d/net.eth0 but it makes no difference.  Any idea why 
MS Windows machines work fine and Linux do not?

What can I change to get this going?
-- 
Regards,
Mick


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


Re: [gentoo-user] glibc unmerged by accident (solved)

2007-11-17 Thread David Relson
On Sat, 17 Nov 2007 18:56:02 +0900
William Kenworthy wrote:

> I stand corrected.
> 
> BillK
> 
> On Sat, 2007-11-17 at 09:23 +, Neil Bothwick wrote:
> > On Sat, 17 Nov 2007 17:30:17 +0900, William Kenworthy wrote:
> > 
> > > Also, dont the current livecd's do a stage 3 install, which means
> > > there should be a quickpkg'd glibc on them? 
> > 
> > A stage 3 is one large tarball, not separate packages.
> > 
> > 
> -- 

A couple of naive questions ...

Couldn't one simply extract the glibc library from the stage 3 tarball
to /lib? Then, having the needed library, couldn't one run emerge?

Regards,

David
-- 
[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



Re: [gentoo-user] dev-libs/apr-0.9.12 pulled back by revdep-rebuild

2007-11-17 Thread Bo Ørsted Andresen
On Saturday 17 November 2007 06:17:26 de Almeida, Valmor F. wrote:
> How do I find out why apr-0.9.12 and apr-util-0.9.12 are pulled back
> when using revdep-rebuild? What I have currently is:

This could be bug #189720 which would mean you need to manually remerge slot 1 
of apr and apr-util.

[1] https://bugs.gentoo.org/show_bug.cgi?id=189720

-- 
Bo Andresen


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


Re: [gentoo-user] "free -m" under x86_64

2007-11-17 Thread Stefan G. Weichinger
Billy Holmes schrieb:
> Stefan G. Weichinger wrote:
>> Found this on
>> http://forums.gentoo.org/viewtopic-p-4331153-highlight-.html#4331153
>>   
> 
> wow. You'd think with 64TB of virtual memory space, x86_64 could at
> least remap that somehow.

It does now, it does. Might have been a restriction or setting of the
other motherboard.

Stefan
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] glibc unmerged by accident (solved)

2007-11-17 Thread William Kenworthy
I stand corrected.

BillK

On Sat, 2007-11-17 at 09:23 +, Neil Bothwick wrote:
> On Sat, 17 Nov 2007 17:30:17 +0900, William Kenworthy wrote:
> 
> > Also, dont the current livecd's do a stage 3 install, which means there
> > should be a quickpkg'd glibc on them? 
> 
> A stage 3 is one large tarball, not separate packages.
> 
> 
-- 
William Kenworthy <[EMAIL PROTECTED]>
Home in Perth!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-libs/apr-0.9.12 pulled back by revdep-rebuild

2007-11-17 Thread Neil Bothwick
On Sat, 17 Nov 2007 00:17:26 -0500, de Almeida, Valmor F. wrote:

> How do I find out why apr-0.9.12 and apr-util-0.9.12 are pulled back
> when using revdep-rebuild?
[snip] 
> Here is the result from revdep-rebuild.

> --
> ->revdep-rebuild --pretend --verbose  
> Configuring search environment for revdep-rebuild
> 
> Checking reverse dependencies...
> 
> Packages containing binaries and libraries broken by a package update
> will be emerged.
> 
> ... snip
> 
> All prepared. Starting rebuild...
> emerge --oneshot --pretend --verbose =dev-libs/apr-util-0.9.12 
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  NS   ] dev-libs/apr-0.9.12  USE="-ipv6 -urandom" 0 kB 
> [ebuild  NS   ] dev-libs/apr-util-0.9.12  USE="berkdb gdbm -ldap" 0 kB 

It looks like you still have the temporary files from a previous
revdep-rebuild run, so you don't get to see the list of broken packages. Add 
--ignore to the command.


-- 
Neil Bothwick

Failure is not an option. It comes bundled with your Microsoft product.


signature.asc
Description: PGP signature


Re: [gentoo-user] glibc unmerged by accident (solved)

2007-11-17 Thread Neil Bothwick
On Fri, 16 Nov 2007 22:39:11 -0500, de Almeida, Valmor F. wrote:

> Indeed the solution was to build glibc-2.6.1.tbz2 with quickpkg on
> another machine (luckily I had one) and scp into the damaged machine
> when booted from the CD. Then copying all the files into their
> respective places inside /mnt/gentoo/...
> Also need to check symbolic links etc. Not a pleasant work.

What's wrong with "tar xf glibc-2.6.1.tbz2 -C /mnt/gentoo"? It's worked
for me in the past when I "upgraded" to a broken glibc.


-- 
Neil Bothwick

Accordion: a bagpipe with pleats.


signature.asc
Description: PGP signature


Re: [gentoo-user] glibc unmerged by accident (solved)

2007-11-17 Thread Neil Bothwick
On Sat, 17 Nov 2007 17:30:17 +0900, William Kenworthy wrote:

> Also, dont the current livecd's do a stage 3 install, which means there
> should be a quickpkg'd glibc on them? 

A stage 3 is one large tarball, not separate packages.


-- 
Neil Bothwick

All general statements are false.


signature.asc
Description: PGP signature


RE: [gentoo-user] glibc unmerged by accident (solved)

2007-11-17 Thread William Kenworthy
For info, there used to be a website with pre-built binaries provided by
one of the devs for just such rescues.  

Also, dont the current livecd's do a stage 3 install, which means there
should be a quickpkg'd glibc on them?  I dont have a system with
squashfs on it, or able to boot one to check att, but someone may be
able to confirm this.

BillK


On Fri, 2007-11-16 at 22:39 -0500, de Almeida, Valmor F. wrote:
> > -Original Message-
> > From: Graham Murray [mailto:[EMAIL PROTECTED]
> > 
> > I do not think it will be that simple. The problem is that once you
> > chroot to /mnt/gentoo all subsequent commands (including emerge and
> gcc)
> > will be looking for /lib/libc.so.6 and /lib/ld-linux.so.2 neither of
> > which will be present following an unmerge of glibc.
> 
> This is true. After booting from a CD, 
> 
>chroot /mnt/gentoo /bin/bash 
> 
> does not work.
>  
> > If you have a binary glibc package, then you could untar it into
> > /mnt/gentoo while booted from the CD. Otherwise I suspect that you
> will
> > either have to find a binary glibc package on the internet or rebuild
> > your system from a stage3 tarball in the usual way.
> 
> Indeed the solution was to build glibc-2.6.1.tbz2 with quickpkg on
> another machine (luckily I had one) and scp into the damaged machine
> when booted from the CD. Then copying all the files into their
> respective places inside /mnt/gentoo/...
> Also need to check symbolic links etc. Not a pleasant work.
> 
> Then chroot /mnt/gentoo /bin/bash finally works. After that, an emerge
> of glibc solves the problem.
> 
> Thanks for the inputs.
> 
> --
> Valmor
> 
> 
-- 
William Kenworthy <[EMAIL PROTECTED]>
Home in Perth!
-- 
[EMAIL PROTECTED] mailing list