Thanks for your reply. OK, this is the current situation:
I have a file
/usr/src/config, created using the zcat command in your HowTo before I executed the genkernel command in your HowTo, with the following contents:
- Code: Select all
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.21-sabayon-r2
# Wed May 16 14:10:19 2007
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
and so on and so on
I have a file
/usr/src/.config, created as discussed in my previous post, with the following contents:
- Code: Select all
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.21-sabayon-r2
# Wed May 16 14:10:19 2007
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
and so on and so on
I have a file
/usr/src/linux/.config, created after my previous post, with the following contents:
- Code: Select all
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.23-sabayon-r1
# Tue Nov 6 18:21:17 2007
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
and so on and so on
where /usr/src/linux/ is actually a symlink to /usr/src/linux-2.6.23-sabayon-r1/
There are two directories in /usr/src/:
linux-2.6.21-sabayon-r2 <-- This one is SL x86-64 3.4 Loop 2b
linux-2.6.23-sabayon-r1
and grub.conf contains the following:
- Code: Select all
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /kernel-genkernel real_root=UUID=32fd8420-920a-4222-ad95-b8d4d83bcd2c
# initrd /initramfs-genkernel
#boot=sda3
default=0
timeout=6
splashimage=(hd0,2)/grub/splash.xpm.gz
password --md5 $1$eÑÈoZógk$4WP09eefhuIef0Ab/trkb.
title=Sabayon Linux (2.6.23-sabayon-r1)
root (hd0,2)
kernel /kernel-genkernel-x86_64-2.6.23-sabayon-r1 root=/dev/ram0 ramdisk=8192
real_root=UUID=32fd8420-920a-4222-ad95-b8d4d83bcd2c quiet init=/linuxrc
splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 dodmraid pci=nomsi
initrd /initramfs-genkernel-x86_64-2.6.23-sabayon-r1
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /kernel-genkernel real_root=UUID=32fd8420-920a-4222-ad95-b8d4d83bcd2c
# initrd /initramfs-genkernel
#boot=sda3
title Sabayon Linux x86-64 3.4 Standard Edition
root (hd0,2)
kernel /kernel-genkernel-x86_64-2.6.21-sabayon-r2 root=/dev/ram0 ramdisk=8192
real_root=UUID=32fd8420-920a-4222-ad95-b8d4d83bcd2c quiet init=/linuxrc
splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 dodmraid pci=nomsi
initrd /initramfs-genkernel-x86_64-2.6.21-sabayon-r2
title WinXP
rootnoverify (hd0,1)
chainloader +1
Today I have not been able to open a window in the classic X-Windows desktop that appears when I boot up (and which displays "This is an unsecured session" at the login prompt), so I have either booted into Windows XP to look at these things using explore2fs or used Ctrl-Alt-F1 to get to a command prompt from the X-Desktop.
I compared my /etc/pam.d/gdmconfig with yours and the only difference is that the libraries have a path:
- Code: Select all
#%PAM-1.0
auth sufficient /lib/security/pam_rootok.so
auth include system-auth
session required /lib/security/pam_permit.so
session optional /lib/security/pam_xauth.so
account required /lib/security/pam_permit.so
"/lib/security/" was not added by me, that's the way the file was. As I mentioned previously, I made the edit for "system-auth" in accordance with the Gentoo PAM Guide. My /etc/pam.d/samba is identical to yours.
Of the 48 packages that were left for me to emerge, copying the .config file (for Linux kernel version: 2.6.23-sabayon-r1) into /usr/src/linux/ enabled me to emerge several more packages, and the use of
FEATURES=-sandbox enabled me to emerge several more of the remainder. Without using FEATURES=-sandbox I still get the access violation summary messages for /etc/passwd (see one of my previous posts).
I am now left with the following list when I enter
emerge -upN --world:
- Code: Select all
These are the packages that would be merged, in order:
Calculating world dependencies .... done!
[ebuild U ] sys-fs/udftools-1.0.0b-r7 [1.0.0b-r6]
[ebuild R ] app-misc/sabayon-version-3.4-r2 USE="-x86_64_release*"
[ebuild U ] dev-dotnet/evolution-sharp-0.12.4 [0.12.0]
[ebuild U ] media-plugins/gst-plugins-farsight-0.12.5 [0.10.2]
[ebuild U ] net-misc/vnc-4.1.2-r5 [4.1.2-r2]
[ebuild U ] net-wireless/linux-wlan-ng-modules-0.2.8 [0.2.7]
[ebuild U ] media-gfx/splashutils-1.5.2.1 [1.4.1]
Actually, app-misc/sabayon-version-3.4-r2
does emerge, but stays in the above list. I emerge it by doing:
- Code: Select all
USE="x86_64_release" emerge =sabayon-version-3.4-r2
The USE flag is correct as I have looked in the ebuild for that package.
uname -r returns "2.6.21-sabayon-r2" if I selected "Sabayon Linux x86-64 3.4 Standard Edition" from the GRUB menu at boot up.
uname -r returns "2.6.23-r1" if I selected "Sabayon Linux (2.6.23-sabayon-r1)" from the GRUB menu at boot up.
Booting of "Sabayon Linux (2.6.23-sabayon-r1)" is noticeably slower than booting of "Sabayon Linux x86-64 3.4 Standard Edition": in verbose mode I see the message "Activating mdev" displayed and nothing else for several seconds before the boot process continues.
So, in summary,
a) I cannot boot into an SL desktop
b) I cannot emerge most packages without using FEATURES=-sandbox, or I get an error message about not being able to access /etc/passwd
c) If I select either "Sabayon Linux (2.6.23-sabayon-r1)" or "Sabayon Linux x86-64 3.4 Standard Edition" from the GRUB menu at boot I am presented with the classic grey X-Windows login box prompting me for a username and password and stating "This is an unsecured session".
d) Once I have logged in I cannot open a window (client) on the empty grey X-Windows desktop.
e) I cannot emerge the seven packages listed above.
Am I flogging a dead horse? Should I throw in the towel, or do you think it is possible to salvage the installation? Any further advice gratefully received!