View previous topic :: View next topic |
Author |
Message |
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Oct 18, 2013 10:24 pm Post subject: |
|
|
eyoung100 wrote: | gogobebe2 wrote: |
It says my cpu family is 6, model, 26, and model name: Intel(R) Core(TM) i7 CPU 950 @ 3.07H(I added the march because I read on the document)GHz
But when I went to: http://wiki.gentoo.org/wiki/Safe_CFLAGS, there is none with model 26? |
In that case you must use model 15
Logic:
15 < 26 < 42
Code: | CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}" |
Re: Deleting, it doesn't matter as they are defaults. |
Thanks. also, doesn't x86 mean 32 bit? |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Oct 18, 2013 10:26 pm Post subject: |
|
|
Tractor Girl wrote: | Quote: | So I must delete those? |
No, but those are just useless
and I think it should be
-march=corei7
EDIT:
Damn, he did it again |
Idk who to trust D:
corei7 or core2
I think i7 seems more reasonable as the cpu is i7 and doesn't have 2 cores.... |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Oct 18, 2013 10:29 pm Post subject: |
|
|
what does this mean to me?
Code: |
mkultra@mksrv ~ $ grep -m1 -A3 "vendor_id" /proc/cpuinfo
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : AMD Phenom(tm) 9950 Quad-Core Processor
|
& ahhh i see eyoung100. |
|
Back to top |
|
|
Tractor Girl Apprentice
Joined: 16 May 2013 Posts: 159
|
Posted: Fri Oct 18, 2013 10:36 pm Post subject: |
|
|
http://wiki.gentoo.org/wiki/CFLAGS#About_CFLAGS
Quote: | For Intel Core i7 CPU users or those having econf error during install (with the current 2012.1 release of Gentoo which ships with GCC 4.5.3 compiler) it is recommended to begin your install with the -march=core2 flag to generate a base install against GCC 4.5.3, then later you can upgrade GCC to 4.6.3 or newer in order to support the new -march=corei7 flag. |
Hmm - is this still true? |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Oct 18, 2013 10:38 pm Post subject: |
|
|
Tractor Girl wrote: | http://wiki.gentoo.org/wiki/CFLAGS#About_CFLAGS
Quote: | For Intel Core i7 CPU users or those having econf error during install (with the current 2012.1 release of Gentoo which ships with GCC 4.5.3 compiler) it is recommended to begin your install with the -march=core2 flag to generate a base install against GCC 4.5.3, then later you can upgrade GCC to 4.6.3 or newer in order to support the new -march=corei7 flag. |
Hmm - is this still true? |
Oh ok, I'l set it to core2 then. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Oct 18, 2013 10:39 pm Post subject: |
|
|
1 more thing, I'm in the nano and I try and write it with Ctrl + o
and it says "use 1 more line for editing Enabled"
???
edit: nvm I pushed Esc and it worked then I pressed Ctrl X and I am out. Now step 6! |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Fri Oct 18, 2013 10:41 pm Post subject: |
|
|
@gogobebe: you would only use corei7 if your cpuid were between 42 and 60 but since your id is 26, I am correct. If you overclock your compiler, you'll have all sorts of wierd issues
@3 Sixes: Look on Wikipedia at the Jaguar Micro Architecture _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Oct 18, 2013 10:46 pm Post subject: |
|
|
eyoung100 wrote: | @gogobebe: you would only use corei7 if your cpuid were between 42 and 60 but since your id is 26, I am correct. If you overclock your compiler, you'll have all sorts of wierd issues
@3 Sixes: Look on Wikipedia at the Jaguar Micro Architecture |
I accidentally reported you. Sorry. I was trying to reply back: thanks
edit: I just deleted my report post in that report thread lol.
also, is it debian that is fixing up my spelling mistakes with the red squiggly lines or is it the forums? Because I don't think it does this in windows. |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Fri Oct 18, 2013 10:53 pm Post subject: |
|
|
It's ICEWeasel that is correcting your mistakes. In Linux, spellchecking is default in most desktop applications because of the package named aspell IIRC. _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Fri Oct 18, 2013 10:54 pm Post subject: |
|
|
eyoung100 wrote: | It's ICEWeasel that is correcting your mistakes. In Linux, spellchecking is default in most desktop applications because of the package named aspell IIRC. |
kk ty |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sat Oct 19, 2013 3:35 am Post subject: |
|
|
Ok I am using Genkernel. Even though pappy is better. Because genkernel is apparently easier...
[Edit]: Just wanted to know, what do you think? |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sat Oct 19, 2013 11:39 pm Post subject: I got gentoo working. |
|
|
I rebooted linux and came to a purple interface after selecting the only one that was there I get an error:
It says
GNU GRUB version 0.97 (639K lower / 2096064K upper memory)
at the top
and then a small menu with:
Gentoo Linux 3.10.7-r1
under the menu:
Use the {up} and {down} keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line.
I push enter and...
Code: | Booting 'Gentoo Linux 3.10.7-r1'
root (hd0, 0)
Filesystem type ext2fs, partition type 0x83
kernel /boot/kernel-genkernel-x86-3.10.7-gentoo-r1 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/sda3
Error 15: File not found
Press any key to continue... |
Any ideas? I think it has something to do with the GRUB I did stuff with right at the end: http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=10[/code] |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sat Oct 19, 2013 11:57 pm Post subject: |
|
|
gogobebe2,
Code: | Error 15: File not found | means that the files listed in grub.conf do not match exactly, the file names in your /boot.
This line Code: | kernel /boot/kernel-genkernel-x86-3.10.7-gentoo-r1 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/sda3 | is not correct but it would nat give Error 15.
Code: | kernel /boot/kernel-genkernel-x86-3.10.7-gentoo-r1 root=/dev/sda3 | is better.
Check the file names in the splashimage line and the initrd line too.
-- edit --
Grub has tab completion in the edit menu
in the kernel /boot/... line, make it read kernel /boot/k then press the tab key.
Do the same again for for the initrd line.
That you goy the purple grub menu with one item on it says the splashimage line is OK. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sun Oct 20, 2013 12:04 am Post subject: |
|
|
NeddySeagoon wrote: | gogobebe2,
Code: | Error 15: File not found | means that the files listed in grub.conf do not match exactly, the file names in your /boot.
This line Code: | kernel /boot/kernel-genkernel-x86-3.10.7-gentoo-r1 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/sda3 | is not correct but it would nat give Error 15.
Code: | kernel /boot/kernel-genkernel-x86-3.10.7-gentoo-r1 root=/dev/sda3 | is better.
Check the file names in the splashimage line and the initrd line too.
-- edit --
Grub has tab completion in the edit menu
in the kernel /boot/... line, make it read kernel /boot/k then press the tab key.
Do the same again for for the initrd line.
That you goy the purple grub menu with one item on it says the splashimage line is OK. |
Also, I'm in the virtual box and I double clicked to get into it. How do I get out? D: |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sun Oct 20, 2013 12:15 am Post subject: |
|
|
I think I did what you said.
changed the line, pressed tab and it said:
Code: | Error 11: Unrecognized device string |
then I went to initrd and pressed tab (didn't change the line at all) and it said:
Code: | Error 15: File not found |
|
|
Back to top |
|
|
Tractor Girl Apprentice
Joined: 16 May 2013 Posts: 159
|
Posted: Sun Oct 20, 2013 12:37 am Post subject: |
|
|
What's the output of
Code: | ls /mnt/gentoo/boot |
and
Code: | less /mnt/gentoo/boot/grub/grub.conf |
|
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sun Oct 20, 2013 12:39 am Post subject: |
|
|
Tractor Girl wrote: | What's the output of
Code: | ls /mnt/gentoo/boot |
and
Code: | less /mnt/gentoo/boot/grub/grub.conf |
|
both Error 27:L Unrecognized command |
|
Back to top |
|
|
Tractor Girl Apprentice
Joined: 16 May 2013 Posts: 159
|
Posted: Sun Oct 20, 2013 12:42 am Post subject: |
|
|
Run LiveCD again and mount your partitions first |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sun Oct 20, 2013 1:19 am Post subject: |
|
|
Tractor Girl wrote: | Run LiveCD again and mount your partitions first |
lol idk how to get out of virtual box. hehe I double clicked now I can't get out to even close it. Might just restart my pc and go back?
[edit]: nvm lol got out. XD |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sun Oct 20, 2013 1:23 am Post subject: |
|
|
Tractor Girl wrote: | Run LiveCD again and mount your partitions first |
so do it all again??? |
|
Back to top |
|
|
Tractor Girl Apprentice
Joined: 16 May 2013 Posts: 159
|
Posted: Sun Oct 20, 2013 1:33 am Post subject: |
|
|
Not all - just run the Live cd and:
Code: | mount /dev/sdXX /mnt/gentoo
mount /dev/sdYY /mnt/gentoo/boot
ls /mnt/gentoo/boot
less /mnt/gentoo/grub/grub.conf |
where sdXX is your root partition, and sdYY your /boot partition (so probably something like /dev/sda1 and /dev/sda2 - run lsblk if you're not sure) |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Sun Oct 20, 2013 1:40 am Post subject: |
|
|
Tractor Girl wrote: | Not all - just run the Live cd and:
Code: | mount /dev/sdXX /mnt/gentoo
mount /dev/sdYY /mnt/gentoo/boot
ls /mnt/gentoo/boot
less /mnt/gentoo/grub/grub.conf |
where sdXX is your root partition, and sdYY your /boot partition (so probably something like /dev/sda1 and /dev/sda2 - run lsblk if you're not sure) |
K, isn't it sda not sd? |
|
Back to top |
|
|
|