Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Genkernel works but custom build I broke
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Mon Sep 27, 2010 7:09 pm    Post subject: [SOLVED] Genkernel works but custom build I broke Reply with quote

Hello,

I have installed Gentoo with the genkernel and all appears fine. Until I went to install the X server and got the same errors as post #1 of this thread -
https://forums.gentoo.org/viewtopic-t-845535.html

Feeling a little dejected I decided to side track for a bit and configure my own kernel. I now have two options in my GRUB - one to the genkernel which works fine but no desktop and one to my custom kernel which is completely broken - "kernel panic - can't mount root - tried ext2, ext3, ext4, etc" message. CD ROM is detected though.

What I can't quite understand is how do I start again with the genkernel settings (which boot ok on my system) and then slowly weed out what I don't need? Every time I have used "make menuconfig" I have saved my settings on Exit, so not sure how to get a clean slate; so to speak.

Once I get this sorted I'll start a post in the Desktop Environments section to tackle the X issues.

Many thanks,
Hayden


Last edited by gentooP4 on Mon Oct 18, 2010 9:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Sep 27, 2010 7:17 pm    Post subject: Reply with quote

I believe if you're booted with genkernel, you can extract genkernel's configuration like:

cat /proc/config.gz | gunzip > /usr/src/${linux}/.config

replace ${linux} with whatever linux folder you're using


Then you would cd to that directory and run make menuconfig.

Keep in mind, that you will have to change some <M>odules into <*>builtin for the system to boot without an initrd, like your hard drive controller driver, and root filesystem driver at least.

Also to answer your question about cleaning out the kernel sources:

make clean mrproper

will do this, and in fact in the old days with kernel 2.4, you had to do this every time to be safe! But the 2.6 build system is much better and usually it isn't necessary. make mrproper will delete your .config, so move it out first if you want to keep it.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Mon Sep 27, 2010 8:43 pm    Post subject: Reply with quote

hi there

I would highly recommend you go the 'Manual Configuration' route, and use one of Pappy's kernel seeds (.config templates). Have a look at his page, which goes into detail on how to get it all set up (links in my signature)

If you go the seed route, the difficult decisions are more or less made for you, and all that's left is to:

-select the drivers you need
-select the file system support you need

and that's pretty much it. Will save you a fair bit of time and hair pulling.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Tue Sep 28, 2010 12:23 pm    Post subject: Reply with quote

Thanks BradN that has got me back to where I wanted to be.

cach0rr0 - Thanks I will defentely take a look. I have done a fair bit of hair pulling so far. :)
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Tue Sep 28, 2010 2:28 pm    Post subject: Reply with quote

I tend to run genkernel via a small bash script which backs up the .config#
file before I start. If the configuration works, I rename the backup and
always have a "known good" to go back to.

Will
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Tue Sep 28, 2010 4:35 pm    Post subject: Reply with quote

I made a post on your other thread that you referenced in the beginning, maybe it will help you get further when you get to the point of running X again. Sorry I didn't notice it sooner, it might have saved you some trouble!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Sep 28, 2010 5:08 pm    Post subject: Reply with quote

boot cd, run
Code:
lspci -n
lspci -k
post results and driver configuration suggestions will follow.

Last edited by DONAHUE on Wed Sep 29, 2010 7:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Wed Sep 29, 2010 12:12 pm    Post subject: Reply with quote

BradN wrote:
I made a post on your other thread that you referenced in the beginning, maybe it will help you get further when you get to the point of running X again. Sorry I didn't notice it sooner, it might have saved you some trouble!


That's not me, but thanks anyway. I will keep a note of that thread as I got the same messages on genkernel.
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Wed Sep 29, 2010 7:50 pm    Post subject: Reply with quote

I think I'm going round in circles now. :oops:

In order to follow Pappy's instructions I need Qt which is part of the KDE environment isn't it? I'm stuck trying to get X up and running! There was instructions to install a package that I tried (sorry can't recall the name of it) but emerge couldn't find it.
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Sep 29, 2010 8:00 pm    Post subject: Reply with quote

boot cd, run
Code:
lspci -n
lspci -k
post results and driver configuration suggestions will follow.
is mint working and providing a GUI?
If posting is difficult:
boot the genkernel that gives you a CLI, then:
Code:
emerge wgetpaste gentoolkit portage-utils pciutils gpm
lspci -k | wgetpaste
lspci -n | wgetpaste
emerge --info | wgetpaste
wgetpaste -s ca /usr/src/linux/.config
startx
wgetpaste /var/log/Xorg.0.log
wgetpaste /etc/fstab
wgetpaste /etc/X11/xorg.conf

and post the url's.
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Wed Sep 29, 2010 8:37 pm    Post subject: Reply with quote

Hello Donahue,

lspci -n
Code:
00:00.0 0600: 1002:5a33 (rev 01)
00:02.0 0604: 1002:5a34
00:11.0 0101: 1002:437a (rev 80)
00:12.0 0101: 1002:4379 (rev 80)
00:13.0 0c03: 1002:4374 (rev 80)
00:13.1 0c03: 1002:4375 (rev 80)
00:13.2 0c03: 1002:4373 (rev 80)
00:14.0 0c05: 1002:4372 (rev 82)
00:14.1 0101: 1002:4376 (rev 80)
00:14.2 0403: 1002:437b (rev 01)
00:14.3 0601: 1002:4377 (rev 80)
00:14.4 0604: 1002:4371 (rev 80)
01:00.0 0300: 10de:00c1 (rev a2)
02:01.0 0703: 163c:3052 (rev 04)
02:05.0 0200: 10ec:8139 (rev 10)
02:06.0 0c00: 1106:3044 (rev 80)


lspci -k
Code:
00:00.0 Host bridge: ATI Technologies Inc Radeon Xpress 200 Host Bridge (rev 01)
    Subsystem: ATI Technologies Inc Radeon Xpress 200 Host Bridge
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
    Kernel driver in use: pcieport
00:11.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
    Subsystem: Packard Bell B.V. Device e017
    Kernel driver in use: sata_sil
    Kernel modules: pata_acpi, sata_sil, ata_generic
00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
    Subsystem: Packard Bell B.V. Device e017
    Kernel driver in use: sata_sil
    Kernel modules: pata_acpi, sata_sil, ata_generic
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
    Subsystem: Packard Bell B.V. Device e017
    Kernel driver in use: ohci_hcd
    Kernel modules: ohci-hcd
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
    Subsystem: Packard Bell B.V. Device e017
    Kernel driver in use: ohci_hcd
    Kernel modules: ohci-hcd
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
    Subsystem: Packard Bell B.V. Device e017
    Kernel driver in use: ehci_hcd
    Kernel modules: ehci-hcd
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
    Subsystem: Packard Bell B.V. Device e017
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80)
    Subsystem: Packard Bell B.V. Device e017
    Kernel driver in use: ATIIXP_IDE
    Kernel modules: pata_acpi, pata_atiixp, ata_generic
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
    Subsystem: Packard Bell B.V. Device e017
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
    Subsystem: Packard Bell B.V. Device e017
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
01:00.0 VGA compatible controller: nVidia Corporation NV41.1 [GeForce 6800] (rev a2)
    Subsystem: nVidia Corporation Device 0245
02:01.0 Modem: Smart Link Ltd. SmartLink SmartPCI562 56K Modem (rev 04)
    Subsystem: Aztech System Ltd Device 3052
    Kernel driver in use: serial
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    Subsystem: Packard Bell B.V. Device e017
    Kernel driver in use: 8139too
    Kernel modules: 8139too, 8139cp
02:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80)
    Subsystem: VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller
    Kernel driver in use: ohci1394
    Kernel modules: ohci1394


Yes Mint is working fine - I am posting from Mint now. Previously I was running Arch okay.

More data from my genkernel boot:

emerge --info wgetpate - http://paste.pocoo.org/show/269201/
-s ca wgetpaste (not sure if this is correct for genkernel as I overwrote it with Pappy's Kernel Seed (above) - http://pastebin.ca/1951355
Xorg.0.log - http://paste.pocoo.org/show/269203/

fstab
Code:
# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.

/dev/sda5      /      ext4      noatime      0 1
/dev/sda7      none      swap      sw      0 0
/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
/dev/sda8      /home      reiserfs   defaults,noatime 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


xorg.conf - <no file>

Many thanks for your time!
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Sep 29, 2010 8:53 pm    Post subject: Reply with quote

while I muddle around, it could be worthwhile to boot mint and run lsmod/lspci -k and see what module(s) are being used for video card and ide/pata/sata.
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Wed Sep 29, 2010 10:29 pm    Post subject: Reply with quote

$ lsmod
Code:
Module                  Size  Used by
binfmt_misc             6587  1
ppdev                   5259  0
vboxnetadp              6390  0
vboxnetflt             12740  0
vboxdrv               168721  2 vboxnetadp,vboxnetflt
dm_crypt               11331  0
snd_hda_codec_realtek   203168  1
snd_hda_intel          21877  2
snd_hda_codec          74201  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5412  1 snd_hda_codec
snd_pcm_oss            35308  0
snd_mixer_oss          13746  1 snd_pcm_oss
snd_pcm                70662  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           1338  0
snd_seq_oss            26726  0
snd_seq_midi            4557  0
snd_rawmidi            19056  1 snd_seq_midi
snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
snd_seq                47263  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              19098  2 snd_pcm,snd_seq
snd_seq_device          5700  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
reiserfs              225633  1
joydev                  8708  0
snd                    54148  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nvidia               9961216  38
serio_raw               3978  0
lp                      7028  0
vga16fb                11385  0
vgastate                8961  1 vga16fb
soundcore               6620  1 snd
snd_page_alloc          7076  2 snd_hda_intel,snd_pcm
i2c_piix4               8335  0
parport                32635  2 ppdev,lp
dm_raid45              81647  0
xor                    15028  1 dm_raid45
fbcon                  35102  71
tileblit                2031  1 fbcon
font                    7557  1 fbcon
bitblit                 4707  1 fbcon
softcursor              1189  1 bitblit
vesafb                  3542  1
8139too                18545  0
ohci1394               26950  0
usbhid                 36110  0
hid                    67032  1 usbhid
ieee1394               81181  1 ohci1394
8139cp                 16186  0
mii                     4381  2 8139too,8139cp
ati_agp                 5094  0
pata_atiixp             3148  0
sata_sil                6959  4
agpgart                31724  2 nvidia,ati_agp



$ lspci -k
Code:
00:00.0 Host bridge: ATI Technologies Inc Radeon Xpress 200 Host Bridge (rev 01)
   Kernel modules: ati-agp
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:11.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
   Kernel driver in use: sata_sil
   Kernel modules: sata_sil
00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
   Kernel driver in use: sata_sil
   Kernel modules: sata_sil
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
   Kernel driver in use: ohci_hcd
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
   Kernel driver in use: ohci_hcd
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
   Kernel driver in use: ehci_hcd
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)
   Kernel driver in use: piix4_smbus
   Kernel modules: i2c-piix4
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80)
   Kernel driver in use: pata_atiixp
   Kernel modules: pata_atiixp
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
01:00.0 VGA compatible controller: nVidia Corporation NV41.1 [GeForce 6800] (rev a2)
   Kernel driver in use: nvidia
   Kernel modules: nvidia-current, nvidiafb, nouveau
02:01.0 Modem: Smart Link Ltd. SmartLink SmartPCI562 56K Modem (rev 04)
   Kernel driver in use: serial
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
   Kernel driver in use: 8139too
   Kernel modules: 8139too, 8139cp
02:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 80)
   Kernel driver in use: ohci1394
   Kernel modules: firewire-ohci, ohci1394

_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Sep 30, 2010 12:22 am    Post subject: Reply with quote

boot the genkernel, mount the /boot partition if you have one, run:
If you want to use genkernel and update it:
Code:
zcat /proc/config.gz /usr/src/linux/.config
genkernel --oldconfig --menuconfig all

If you want to make a manual kernel and have Pappy's seed at /usr/src/linux/.config
Code:
cd /usr/src/linux
make menuconfig

Then in either case:
Edit the menuconfig to:
Quote:

General setup --->
SKIP
<*> Kernel .config support
[*] Enable access to .config through /proc/config.gz
SKIP
[ ] enable deprecated sysfs features to support old userspace tools # Possibly problem with your manual kernel; interferes with UDEV
SKIP
Device Drivers --->
SKIP
< > ATA/ATAPI/MFM/RLL support --->
SKIP
SCSI device support --->
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA (prod) and Parallel ATA (experimental) drivers
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
< > AHCI SATA support
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
< > ServerWorks Frodo / Apple K2 SATA support
< > Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support (HIGHLY EXPERIMENTAL)
< > NVIDIA SATA support
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA TX2/TX4 support
< > Promise SATA SX4 support
<*> Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
< > Initio 162x SATA support
<*> ACPI firmware driver for PATA
< > ALi PATA support (Experimental)
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
<*> ATI PATA support
< > CMD640 PCI PATA support (Very Experimental)
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support (Experimental)
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
<*> Generic ATA support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support (Experimental)
< > HPT 372N/302N PATA support (Very Experimental)
< > HPT 343/363 PATA support
< > IT8211/2 PATA support
< > IT8213 PATA support (Experimental)
< > JMicron PATA support
< > Compaq Triflex PATA support
< > Marvell PATA support via legacy mode
< > Intel PATA MPIIX support
< > Intel PATA old PIIX support
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support (Experimental)
< > Nat Semi NS87415 PATA support (Experimental)
< > OPTI621/6215 PATA support (Very Experimental)
< > OPTI FireStar PATA support (Very Experimental)
< > Older Promise PATA controller support (Experimental)
< > RADISYS 82600 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
< > SC1200 PATA support (Very Experimental)
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > Promise PATA 2027x support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support (Experimental)
< > VIA PATA support
< > Winbond SL82C105 PATA support
< > Intel SCH PATA support
SKIP
Graphics support --->
<*> /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
< > AMD Opteron/Athlon64 on-CPU GART support
< > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
-*- VGA Arbitration
(16) Maximum number of GPUs
[ ] Laptop Hybrid Grapics - GPU switching support
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
--- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
< > 3dfx Banshee/Voodoo3+
< > ATI Rage 128
< > ATI Radeon
< > Matrox g200/g400
< > SiS video cards
< > Via unichrome video cards
< > Savage video cards
<*> Lowlevel video output switch controls
<*> Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
-*- Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
<*> Userspace VESA VGA graphics support
[*] VESA VGA graphics support
[*] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
<*> nVidia Framebuffer Support
< > nVidia Riva support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support (EXPERIMENTAL)
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support (EXPERIMENTAL)
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
[*] Backlight & LCD device support --->
Display device support --->
--- Backlight & LCD device support
< > Lowlevel LCD controls
<*> Lowlevel Backlight controls
<*> Generic (aka Sharp Corgi) Backlight Driver
< > Frontpath ProGear Backlight Driver
< > MacBook Pro Nvidia Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
Display device support --->
<M> Display panel/monitor support
*** Display hardware drivers ***
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(64) Scrollback Buffer Size (in KB)
<*> Framebuffer Console support
[ ] Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo
BIG SNIP
[*] Staging drivers --->
--- Staging drivers
[ ] Exclude Staging drivers from being built
SNIP
<*> Nouveau (nVidia) cards
SNIP
File systems --->
<*> Second extended fs support
[*] Ext2 extended attributes
[*] Ext2 POSIX Access Control Lists
[*] Ext2 Security Labels
[ ] Ext2 execute in place support
<*> Ext3 journalling file system support
[*] Default to 'data=ordered' in ext3
[*] Ext3 extended attributes
[*] Ext3 POSIX Access Control Lists
[*] Ext3 Security Labels
<*> The Extended 4 (ext4) filesystem
[*] Ext4 extended attributes
[*] Ext4 POSIX Access Control Lists
[*] Ext4 Security Labels
[ ] EXT4 debugging support
[ ] JBD (ext3) debugging support
[ ] JBD2 (ext4) debugging support

If a manual kernel:
Code:
make && make modules_install
cp arch/x86/boot/bzImage /boot/<your kernel name>
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Sep 30, 2010 12:41 am    Post subject: Reply with quote

After the successful reboot:
Code:
ls /etc/X11/Sessions
find the exact name of the session you want to run for use below.
In /etc/make.conf:
Quote:
VIDEO_CARDS="nouveau"
INPUT_DEVICES="evdev"
USE="consolekit dbus hal kde policykit udev"
in /etc/env.d/90xsession/
Quote:
XSESSION=name of the session

in /etc/rc.conf:
Quote:
XSESSION="name of the session"
in /etc/conf.d/xdm:
Quote:
DISPLAYMANAGER="xdm"
or your choice if not xdm.
Code:
emerge consolekit dbus gentoolkit hal policykit portage-utils udev
rc-update add consolekit default
rc-update add dbus default
rc-update add hald default
rc-update add udev-postmount default
if using openrc/baselayout2:
Code:
rc-update add udev sysinit
Code:
emerge xorg-server $(qlist -IC x11-drivers)
reboot

If still fails to startx:
Code:
wgetpaste /etc/X11/xorg.conf
wgetpaste /var/log/Xorg.0.log

post url's returned
Code:
X -retro

Do you see a black/white stipple pattern with a moveable mouse?
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Thu Sep 30, 2010 9:33 am    Post subject: Reply with quote

Thanks for going to all that effort. I will give it a hit tonight! :D
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Fri Oct 01, 2010 8:37 pm    Post subject: Reply with quote

I had a go Donahue but the result was a garbled display and needed a cold reboot.

Only thing I noticed is there were a couple of conflicts when I did make && ......

and I couldn't find

Code:
[*] EF1-based Framebuffer Support


This is what my screen looks like when I boot to the custom kernel

http://i230.photobucket.com/albums/ee106/spankiespangler/108_2586.jpg

:cry:
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Fri Oct 01, 2010 9:22 pm    Post subject: Reply with quote

I recommend NOT using a framebuffer at all if you're having these problems. The only exception is if you use a video controller that supports KMS (kernel mode setting) - this is different from a plain framebuffer, in that with KMS, the kernel is managing the video mode even when X is running.

Otherwise X can fight with the framebuffer driver and it can be a mess, in addition to whatever's happening on your machine.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Oct 01, 2010 9:38 pm    Post subject: Reply with quote

boot the genkernel
or
boot cd or mint; mount gentoo partitions;

Code:
nano /boot/grub/grub.conf

make sure the spashimage line is deleted or commented like example below:
Quote:
#splashimage (hd0,0)/boot/grub/splash.xpm.gz
if in genkernel,
Code:
wgetpaste /boot/grub/grub.conf
and paste the url
if kernel line has any vga or video parameters delete or comment them out.
after commenting splash, try a reboot of manual kernel

other possibility is kms picking wrong resolution.
Edit:
I screwed up:
Quote:
<*> Userspace VESA VGA graphics support
[*] VESA VGA graphics support

should have been:
Quote:
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support

kms and framebuffers can't coexist
kernel recompile and recopy will be needed.
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Fri Oct 01, 2010 10:03 pm    Post subject: Reply with quote

Thanks Donahue, really appreciating your assistance.

This is what is happening now... getting closer I feel
http://i230.photobucket.com/albums/ee106/spankiespangler/108_2587.jpg

Edit: Sorry - I didn't remove the vga=773 - should I got back and try it without? Genkernel is happy with 773
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Oct 01, 2010 11:28 pm    Post subject: Reply with quote

that is a result of having a vga line
harmless; you can delete vga line; or wait it out, or hit space, or hit enter to choose a listed resolution

the picture shows a grub kernel line appropriate for using an initrd ala genkernel vice a manual kernel with no initrd

Sample grub.conf entry for manual kernel:
Quote:
title Gentoo manual kernel
root (hd0,4)
kernel /boot/kernel-x86_64-2.6.34-gentoo-r6 root=/dev/sda5
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Sun Oct 03, 2010 11:31 am    Post subject: Reply with quote

Thanks again, but my monitor doesn't like it. It comes up displaying "Out of Range" in the monitors font
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Oct 03, 2010 4:01 pm    Post subject: Reply with quote

try:
Quote:
title Gentoo manual kernel 1
root (hd0,4)
kernel /boot/kernel-x86_64-2.6.34-gentoo-r6 vga=0x303 root=/dev/sda5


Quote:
title Gentoo manual kernel 2
root (hd0,4)
kernel /boot/kernel-x86_64-2.6.34-gentoo-r6 nouveau.modeset=0 root=/dev/sda5


Quote:
title Gentoo manual kernel 3
root (hd0,4)
kernel /boot/kernel-x86_64-2.6.34-gentoo-r6 nouveau.modeset=0 vga=0x303 root=/dev/sda5

in grub.conf, test each choice, pls report what happens with each.

It appears that the monitor is not reporting or is not reporting correctly the resolutions it supports, and the kms choice is wrong.
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Sun Oct 03, 2010 8:21 pm    Post subject: Reply with quote

Quote:
title Gentoo manual kernel 1
root (hd0,4)
kernel /boot/kernel-x86_64-2.6.34-gentoo-r6 vga=0x303 root=/dev/sda5


Undefined video mode number: 303

Quote:
title Gentoo manual kernel 2
root (hd0,4)
kernel /boot/kernel-x86_64-2.6.34-gentoo-r6 nouveau.modeset=0 root=/dev/sda5


Out of range

Quote:
title Gentoo manual kernel 3
root (hd0,4)
kernel /boot/kernel-x86_64-2.6.34-gentoo-r6 nouveau.modeset=0 vga=0x303 root=/dev/sda5


Undefined video mode number: 303

Thanks
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Oct 03, 2010 8:52 pm    Post subject: Reply with quote

when you get
Quote:
Undefined video mode number:
hit enter, if you get the list of resolutions you should get, pick one, type either its number or letter, hit enter

giving up nouveau may be the solution, nvidia drivers perform better anyway, they just don't do kms
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum