Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]: What kernel option to select
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Fri Sep 14, 2012 5:45 pm    Post subject: [SOLVED]: What kernel option to select Reply with quote

Hi, ALL,
On my PC I have following:

Code:

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV610 video device [Radeon HD 2400 PRO]


So, in my kernel I am selecting:

Device Driver->Graphics Support->Direct Rendering Manager->ATI Radeon
Enabling modesetting on radeon by default

Do I need to select something else?
Does it needs "agpgart"?

Thank you.


Last edited by ONEEYEMAN on Tue Sep 18, 2012 9:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Sep 14, 2012 5:57 pm    Post subject: Reply with quote

You should find comprehensive instructions in the Gentoo Linux ATI FAQ. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Fri Sep 14, 2012 6:18 pm    Post subject: Reply with quote

Hi John,
John R. Graham wrote:

You should find comprehensive instructions in the Gentoo Linux ATI FAQ. :wink:

- John


There is no kernel configuration there, only X.
I was also looking here, but didn't see anything related to this option....

Thank you.
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 Sep 14, 2012 7:13 pm    Post subject: Reply with quote

for this to work you need firmware as well as driver built in
http://www.gentoo.org/doc/en/xorg-config.xml

Code:
emerge linux-firmware

_________________
Defund the FCC.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Mon Sep 17, 2012 7:18 pm    Post subject: Reply with quote

OK, following this link I installed radeon-ucode firmware and made necessary kernel changes as explained in the next section. I used this:

(radeon/R600_rlc.bin radeon/R700_rlc.bin) External firmware blobs

However when building I am getting this:

Code:

MK_FW    firmware/radeon/R600_rlc.bin.gen.S
make[1]: *** No rule to make target `firmware/radeon/R600_rlc.bin`, needed by `firmware/radeon/R600_rlc.bin.gen.o`. Stop.


What am I doing wrong? I need the firmware for the card...

Thank you.
[/code]
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Sep 17, 2012 7:35 pm    Post subject: Reply with quote

Code:
emerge wgetpaste
wgetpaste /usr/src/linux/.config
ls -l /lib/firmware/radeon | wgetpaste
post the urls returned

http://www.gentoo.org/doc/en/xorg-config.xml
_________________
Defund the FCC.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Mon Sep 17, 2012 7:39 pm    Post subject: Reply with quote

http://bpaste.net/show/46066 and 46067 respectively.

Thank you.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Sep 17, 2012 7:58 pm    Post subject: Reply with quote

CONFIG_EXTRA_FIRMWARE_DIR="firmware" needed to be edited to /lib/firmware
from
Quote:
[*] Include in-kernel firmware blobs in kernel binary
(radeon/R600_rlc.bin radeon/R700_rlc.bin) External firmware blobs
(firmware) Firmware blobs root directory (NEW)

to
Quote:
[*] Include in-kernel firmware blobs in kernel binary
(radeon/R600_rlc.bin radeon/R700_rlc.bin) External firmware blobs
(/lib/firmware) Firmware blobs root directory (NEW)

_________________
Defund the FCC.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Mon Sep 17, 2012 8:08 pm    Post subject: Reply with quote

DONAHUE,
You are the man!!!
Recompiled and now I have a booting kernel up to this stage:

Code:

VFS: Cannot open root device "sda6" or unknown block(0,0): error -6
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Here is my partitioning schema:

/dev/sda1 - Windows 7 reserved boot partition
/dev/sda2 - Windows 7 main partition
/dev/sda3 - Gentoo boot partition
/dev/sda4 - Extended partition
/dev/sda5 - Linux swap partition
/dev/sda6 - Linux root partition

This is working machine so I can't get rid of Window$... :)

Thank you.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Sep 17, 2012 8:18 pm    Post subject: Reply with quote

boot cd, mount gentoo partitions, enter chroot,
Code:
lspci -k | wgetpaste
ls -l /boot | wgetpaste
wgetpaste /boot/grub/grub.conf
post url
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54174
Location: 56N 3W

PostPosted: Mon Sep 17, 2012 8:22 pm    Post subject: Reply with quote

ONEEYEMAN,

Your grub.conf is fine ... it found a kernel, loaded it and the kernel started
Code:
.unknown block(0,0)
tells that your kernel is missing the driver for your hard disk controller chip and maybe the SCSI Disc option too. Both must be set as <*>.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Mon Sep 17, 2012 8:44 pm    Post subject: Reply with quote

http://bpaste.net/show/46076
http://bpaste.net/show/46077
http://bpaste.net/show/46080

Thank you.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54174
Location: 56N 3W

PostPosted: Mon Sep 17, 2012 8:55 pm    Post subject: Reply with quote

ONEEYEMAN,

What a wonderful selection of disck drive interfaces you have there,

Code:
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA Controller [IDE mode] (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] (rev 02)

You should not be using the bottom two in IDE mode. Thats intended for Windows XP users to use once only to install the AHCI mode driver.
Please visit the BIOS and switch your HDD out of IDE or Compatibility Mode.


Code:
kernel /boot/kernel-3.4.9-gentoo-sources root=/dev/sda6
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
Hmm ... once upon a time you used genkernel. How did you make your present kernel?

Please pastebin your kernel .config file
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by NeddySeagoon on Mon Sep 17, 2012 8:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Sep 17, 2012 8:55 pm    Post subject: Reply with quote

CONFIG_ATA_PIIX=m needs to be CONFIG_ATA_PIIX=y ; couple extra items; no problem but

Quote:
--- Serial ATA and Parallel ATA drivers
[ ] Verbose ATA error reporting
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
*** Controllers with non-SFF native interface ***
<*> AHCI SATA support
< > Platform AHCI SATA support
< > Initio 162x SATA support
< > ACard AHCI variant (ATP 8620)
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
*** SFF controllers with custom DMA interface ***
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA SX4 support (Experimental)
[*] ATA BMDMA support
*** SATA SFF controllers with BMDMA ***
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support
< > NVIDIA SATA support
< > Promise SATA TX2/TX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ServerWorks Frodo / Apple K2 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
*** PATA SFF controllers with BMDMA ***
< > ALi PATA support
< > AMD/NVidia PATA support
< > ARASAN CompactFlash PATA Controller Support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > ARTOP/Acard ATP867X PATA support
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support
< > CS5536 PATA support
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support
< > HPT 371N/372N/302N PATA support
< > HPT 343/363 PATA support
< > IT8213 PATA support (Experimental)
< > IT8211/2 PATA support
< > JMicron PATA support
< > Marvell PATA support via legacy mode
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support
< > Nat Semi NS87415 PATA support
< > Intel PATA old PIIX support
< > OPTI FireStar PATA support (Very Experimental)
< > Promise PATA 2027x support
< > Older Promise PATA controller support
< > RADISYS 82600 PATA support (Experimental)
< > RDC PATA support
< > SC1200 PATA support
< > Intel SCH PATA support
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support
< > Toshiba Piccolo support (Experimental)
< > Compaq Triflex PATA support
< > VIA PATA support
< > Winbond SL82C105 PATA support
*** PIO-only SFF controllers ***
< > CMD640 PCI PATA support (Experimental)
< > Intel PATA MPIIX support
< > Nat Semi NS87410 PATA support
< > OPTI621/6215 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
*** Generic fallback / legacy drivers ***
< > ACPI firmware driver for PATA
< > Generic ATA support
< > Legacy ISA PATA support (Experimental)

_________________
Defund the FCC.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Mon Sep 17, 2012 9:11 pm    Post subject: Reply with quote

NeddySeagoon,
NeddySeagoon wrote:

ONEEYEMAN,

What a wonderful selection of disck drive interfaces you have there,

Code:

00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA Controller [IDE mode] (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] (rev 02)

You should not be using the bottom two in IDE mode. Thats intended for Windows XP users to use once only to install the AHCI mode driver.
Please visit the BIOS and switch your HDD out of IDE or Compatibility Mode.


Code:

kernel /boot/kernel-3.4.9-gentoo-sources root=/dev/sda6
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

Hmm ... once upon a time you used genkernel. How did you make your present kernel?

Please pastebin your kernel .config file


First of all this is a startup and we get the old DELL desktops and most likely they do had WinXP.
But we reformatted them and now they have Win7 professional.

I will turn the settings off.

Secondly, I didn't use genkernel. All my kernels are handmade.
I guess the grub nowadays just have the one file configuration for everything.

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Mon Sep 17, 2012 11:29 pm    Post subject: Reply with quote

Hi, guys,
I successfully merged xorg-server.
However, I got following message at the end:

Code:

[color=green]*[/color] Messages for package [color=green]x11-base/xorg-server-1.12.2[/color]

[color=yellow]*[/color] sys-fs/udev was built without keymap support. This may cause input device
[color=yellow]*[/color] autoconfiguration to fail


However looking at the output of "emerge -pv udev", I see:

Code:

[ebuild     R ] sys-fs/udev-171-r6 USE="extras* gudev* hwdb* keymap* rule-generator,........


Why there is the warning as such?

Thank you.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54174
Location: 56N 3W

PostPosted: Tue Sep 18, 2012 5:39 pm    Post subject: Reply with quote

ONEEYEMAN,

keymap* means that the USE flag is on. The green means that the package has not yet been rebuilt to include the effects of the flag.

Yoy need to do emerge @world -uDNav to rebuild everything whith changed USe flags.

Homwork: Explain what -uDNav means.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3584

PostPosted: Tue Sep 18, 2012 9:07 pm    Post subject: Reply with quote

Thank you, all.
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
Page 1 of 1

 
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