Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo on Sony VGN-P21ZR
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
IanPo
n00b
n00b


Joined: 30 May 2006
Posts: 64
Location: Moscow, Russia

PostPosted: Sun Jun 12, 2011 7:34 am    Post subject: Installing Gentoo on Sony VGN-P21ZR Reply with quote

Making a HowTo :D

Code:

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Intel(R) Atom(TM) CPU Z520   @ 1.33GHz
stepping        : 2
cpu MHz         : 1333.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm movbe lahf_lm dts tpr_shadow vnmi flexpriority
bogomips        : 2666.84
clflush size    : 64
cache_alignment : 64
address sizes   : 32 bits physical, 32 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Intel(R) Atom(TM) CPU Z520   @ 1.33GHz
stepping        : 2
cpu MHz         : 1333.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm movbe lahf_lm dts tpr_shadow vnmi flexpriority
bogomips        : 2666.26
clflush size    : 64
cache_alignment : 64
address sizes   : 32 bits physical, 32 bits virtual
power management:


Code:

# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation System Controller Hub (SCH Poulsbo) [8086:8100] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller [8086:8108] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller [8086:811b] (rev 06)
00:1c.0 PCI bridge [0604]: Intel Corporation System Controller Hub (SCH Poulsbo) PCI Express Port 1 [8086:8110] (rev 06)
00:1c.1 PCI bridge [0604]: Intel Corporation System Controller Hub (SCH Poulsbo) PCI Express Port 2 [8086:8112] (rev 06)
00:1d.0 USB Controller [0c03]: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #1 [8086:8114] (rev 06)
00:1d.1 USB Controller [0c03]: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #2 [8086:8115] (rev 06)
00:1d.2 USB Controller [0c03]: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #3 [8086:8116] (rev 06)
00:1d.7 USB Controller [0c03]: Intel Corporation System Controller Hub (SCH Poulsbo) USB EHCI #1 [8086:8117] (rev 06)
00:1f.0 ISA bridge [0601]: Intel Corporation System Controller Hub (SCH Poulsbo) LPC Bridge [8086:8119] (rev 06)
00:1f.1 IDE interface [0101]: Intel Corporation System Controller Hub (SCH Poulsbo) IDE Controller [8086:811a] (rev 06)
01:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Device [11ab:4380] (rev 10)
02:00.0 Network controller [0280]: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)


Code:

 # lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 044e:3017 Alps Electric Co., Ltd BCM2046 Bluetooth Device
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0af0:7601 Option Globetrotter MO40x 3G Modem (GTM 382)
Bus 001 Device 003: ID 05ca:18b2 Ricoh Co., Ltd
Bus 001 Device 002: ID 152d:2336 JMicron Technology Corp. / JMicron USA Technology Corp. Hard Disk Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Boot from Gentoo LiveDVD (i used release Mar 8, 2011) using an external usb dvd (couldn't make minimal cd to boot).
Disable Wallpaper Slideshow - it reduces amount of periodical DVD drive's noisy spins-up

I followed instructions from Handbook x86 with some differencies:

# mount /dev/sda1 /mnt/gentoo
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
...
# cp /proc/mounts /etc/mtab
# umount /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo

I didn't make a separate partition for boot


Kernel otions to be set (important - unset by default):

Device Drivers --->
Generic Driver Options --->
Maintain a devtmpfs filesystem to mount at /dev

Other options to come...


Last edited by IanPo on Sun Jun 12, 2011 7:38 am; edited 1 time in total
Back to top
View user's profile Send private message
ReD-BaRoN
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 208

PostPosted: Fri Jan 06, 2012 2:02 am    Post subject: Reply with quote

What CFLAGs did you use for the Z520? It's not listed on the safe CFLAGs wiki page.
Back to top
View user's profile Send private message
mimosinnet
Guru
Guru


Joined: 10 Aug 2006
Posts: 505
Location: Barcelona, Spain

PostPosted: Thu Apr 19, 2012 3:36 am    Post subject: Reply with quote

[quote=ReD-BaRoN]What CFLAGs did you use for the Z520? It's not listed on the safe CFLAGs wiki page.[/quote]

I am using the following:

Code:
# grep CFLAGS /etc/make.conf
CFLAGS="-O2 -march=native -pipe"


This is with:
Code:
# uname -a
Linux mimomini 3.2.1-gentoo-r2 #3 SMP Fri Apr 13 06:59:11 CEST 2012 i686 Intel(R) Atom(TM) CPU Z520 @ 1.33GHz GenuineIntel GNU/Linux


and
Code:

# equery list gcc
 * Searching for gcc ...
[IP-] [  ] sys-devel/gcc-4.5.3-r2:4.5


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