It's the installation guide for HP 6715b notebook users. This laptop is something special one which has not accepted to install Linux easily. So I wrote this log for someone who want to install Linux.
In my case, 6715b has MK-38 Turion single core processor. Stepping no. is 2, 2.2 GHz frequency. I also paste /proc/cpuinfo contents below.
jachin@mytury ~ $ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 76
model name : AMD Turion(tm) 64 Mobile Technology MK-38
stepping : 2
cpu MHz : 2200.000
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up rep_good extd_apicid pni cx16 lahf_lm svm extapic cr8_legacy
bogomips : 4389.06
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
As you could see, CPU's flags has pni. This flag is meaning "This Processor has SSSE3 Instruction Set." Yes. It has. But that was not stable for temporature aspects. Don't worry. After free radeon driver support X1250 natively, ACPI also has affected power management for CPU. You could use SSSE3 instruction stably and slowly.
I upgraded my computer specs in memory and hard disk. 6715b has two memory bank slots, bottom of machine and below keyboard. Two DDR2 PC5300U 2 GB Memories and WD Blue 2.5" 500 GB 5400 RPM HDD with 8 MB cache. (I recommend to use some HDD with 16 MB cache. 8 MB is not enough to use laughly.)
The most problem to install Linux on 6715b is 'ACPI'. It has trouble on booting process. ATI's video core rejected to be managed by linux distribution kernel's acpi module. If you want to install Linux without compile, I recommend to install OpenSUSE 11.1 with safe settings mode. That is able to install Linux for 14 hours. After installation, maybe you has doubt about your notebook's performance. It could be felt slower than using MS Windows Vista(C).
So you need to install Gentoo Linux on 6715b. It's more faster, good fancy, more utilized, and no-limitation of your computer's. Yes. It's really free!
After booting with Gentoo Linux minimal install CD or LiveUSB, etc. (Anything you could use live CDs without graphic interfaces.), if you meet the gentoo linux kernel compile interface, you must check follow modes. These modes are support for turion's and your laptop I/O's. Ah! Before compile anything, you must check your gcc's CFLAGS. In my case, I set CFLAGS="-O2 -pipe -march=k8 -msse3". Of course CXXFLAGS too.
General Setup ->
[ ] remove sysfs features which may confuse old userspace tools (Don't set, It's for udev.)
Processor type and features ->
[*] Symmetric multi-processing support
[ ] GART IOMMU support (Don't set)
[*] AMD IOMMU support
BUS Options (PCI etc.) ->
[*] Interrupts on hypertransport devices
Networking Support ->
<*> Bluetooth subsystem support ->
<*> Bluetooth device drivers ->
<*> HCI USB driver
<*> HCI BCM203x USB driver
<*> Wireless ->
<*> Improved wireless configuration API
Device Drivers ->
<*> SCSI device support
[*] Probe all LUNs on each SCSI device (for internal Flash memory reader)
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers ->
[*] ATA ACPI Support
[*] SATA Port Multiplier support
<*> AHCI SATA Support
<*> ATA SFF Support
<*> ATI PATA support
...
Kernel Setting File
It's too much! I just attached my kernle's configuration file '.config'. You must check each settings. Cause I check most of TCP/IP rules and extension drivers for extended services. Important points are GART, radeon DRM, ALSA intel HD Driver (You must set ADI driver. It's not ATI IXP drivers!), X86 Platform Specific Device Drivers -> WMI and HP WMI, I2O, I2C, Monitoring device STMicroeletronics LIS3LV02Dx three-axis digital accelerometer.
In fact Kernel 2.6.31 has perfect supports for 6715b. From video card driver to fingerprint scanner, you could use with your detailed settings.
Anyway, after compile kernel, don't forgot to emerge 'b43-fwcutter' and download firmware file from linuxwireless.org for wireless lan. *.fw files is needed on /lib/firmware/b43 directory.
After booting with your custom compiled kernel, you need to install X and KDE environment.
I also paste my emerge-info contents.
Portage 2.1.7.1 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r4-6715b x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r4-6715b-x86_64-AMD_Turion-tm-_64_Mobile_Technology_MK-38-with-gentoo-2.0.1
Timestamp of tree: Thu, 29 Oct 2009 02:30:01 +0000
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.3, 3.1.1-r1
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.2-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils: 2.18-r3, 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.daum.net/gentoo"
LANG="ko_KR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ko en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi alsa amd64 apache2 apm avahi bash-completion berkdb blitz bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cscope cups dbus disk-partition djbfft dri dts dvd dvdr eds embedded emboss encode evo exif fam fftw firefox flac floppy fortran gd gdbm gif gmp gnome gnutls google-gadgets gphoto2 gpm gs gstreamer gtk hal howl-compat iconv ieee1394 imagemagick ipv6 isdnlog ithreads jbig jpeg jpeg2k kde kerberos laptop lcms ldap libffi libnotify libssh2 lzma lzo mad mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib multislot multitarget mysql ncurses nls nptl nptlonly ntp ogg opengl openmp oss pam pcre pdf pdo perl perlsuid phonon php png policykit posix ppds pppd profile python python3 qt3support qt4 quicktime readline reflection rle rss samba schroedinger sdl semantic-desktop session spell spl sql sqlite sse sse2 ssl startup-notification svg sysfs syslog tcl tcpd theora threads thunar tiff tk truetype unicode usb vim-pager vim-syntax vim-with-x vorbis webkit x264 xcb xinerama xml xmlpatterns xorg xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ko en" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
For using avahi, you must set howl-compat and mdnsresponder-compat USE flags.
'djvu', free pdf encoder and decoder, is using qt3 library. So I don't recommend to use djvu for KDE 4, instead of using poppler. But ebuils has bugs for poppler-utils-0.12.1. To avoid compile error, you must set package.mask on /etc/portage directory.
=sys-devel/binutils-2.20
=app-text/poppler-utils-0.12.1
=dev-libs/poppler-0.12.1
And some packages has troubled to compile on one time. It's from the USE flags set. It's also need to be set on package.use files.
net-dns/avahi -gtk -qt4
media-libs/urt -gif
www-plugins/adobe-flash -32bit
...
Yes. That's all. (But not completely.) If I have the time, I also want to explain rule of kernel drivers and libraries. But It couldn't. Anyway, I want this article to be good hints for using Gentoo Linux on HP 6715b.
'Linux'에 해당되는 글 1건
- 2009/11/08 바부... Gentoo Linux 2.6.31 R4 Installation on HP 6715b



글
댓글을 달아 주세요
댓글 RSS 주소 : http://snwslug.fossa.kr/~jachin/rss/comment/194댓글 ATOM 주소 : http://snwslug.fossa.kr/~jachin/atom/comment/194