Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on LG LW70-QJMA Notebook - *cancelled*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Jul 02, 2005 11:45 pm    Post subject: Gentoo on LG LW70-QJMA Notebook - *cancelled* Reply with quote

Blurb
Just got myself one of these 17" notebooks and the very first thing I did (apart from plug it in) was put my favourite distribution on it. That's right, Kubuntu. Just kidding, Gentoo! ;)

This is a work in progress as I wanted to jot things down as I went (I will remove "In Progress" from the Subject when complete).

Firstly, let me say this notebook seems pretty cool. I did have a Dell 700M 12" little beauty but sold that to a friend who wanted a laptop to travel the world. As I run a couple of IT companies now (rather than actually doing any work ;)) I didn't need something small and easy to transport. HOWEVER this 17" notebook is very light at 3Kg and has a magnificient screen! (and full sized *AAAHhhhh* keyboard with numberpad).

The notebook also has a function called "InstantON" which lets you power the notebook up to play both music and DVD's without needing to boot your OS. This is linux based :) and I thought that it ran off a little flash chip inside the notebook - BUT I was wrong! It actually runs of an "Unknown" partition on the harddrive. I promptly deleted all the partitions (thinking that was a "Windows recovery" partition) and found that InstantON didn't work anymore! This was no problem however as I just booted to the InstantON CD and it re-installed itself to a 200mb partition on the harddrive (hda1).

Notes
I have noticed a few things about this laptop that I don't like so much. They are:
The very corners of the screen look grey in colour like the screws are too tight and it's affecting the screen very very slightly.
The harddrive is IDE, not SATA
The DVD Burner is set as slave on Primary IDE channel (YUCK! Who does this these days!??) so system pauses when accessing / burning discs :evil:

Guide
First, some information:

lspci
Code:

0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
0000:00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
0000:00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600]
0000:02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10)
0000:06:00.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
0000:06:00.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
0000:06:00.3 Unknown mass storage controller: Texas Instruments PCI7420/PCI7620 Dual Socket CardBus and Smart Card Cont. w/ 1394a-2000 OHCI Two-Port  PHY/Link-Layer Cont. an
0000:06:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)

cpuinfo
Code:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.86GHz
stepping        : 8
cpu MHz         : 1861.970
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
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 tm pbe nx est tm2
bogomips        : 3686.40


To begin, I took the Windows stickers off.
I booted the Gentoo install CD and promptly deleted ALL partitions and wrote it to disk.
Then I rebooted to the InstantON CD which re-installed itself to hda1 (so that I could watch DVD's / listen to music etc without needing to boot into Linux if I wanted to).
Booting back to the CD, I then created the partitions I wanted for my system.
I wanted to use Reiser4 so I actually did a quick install on hda5, patched reiser4 into gentoo-sources, booted and started my install from there. If you want to use reiser4, you could do the same thing, or download a reiser4 enabled livecd - such as RR4
Here are the partitions
Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1          26      208813+  88  Unknown
/dev/hda2   *          27          39      104422+  83  Linux
/dev/hda3              40         289     2008125   82  Linux swap / Solaris
/dev/hda4             290        9729    75826800    5  Extended
/dev/hda5             290        1506     9775521   83  Linux
/dev/hda6            1507        2723     9775521   83  Linux
/dev/hda7            2724        8803    48837568+  83  Linux


Formatting the partitions, I continued with the much loved stage 1 from 3 install (now called The Jackass! Project)

Here is my make.conf
Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m"
CFLAGS="${CFLAGS} -pipe"
CFLAGS="${CFLAGS} -O3"
CFLAGS="${CFLAGS} -fweb"
CFLAGS="${CFLAGS} -frename-registers"
CFLAGS="${CFLAGS} -fforce-addr"
CFLAGS="${CFLAGS} -momit-leaf-frame-pointer"
CFLAGS="${CFLAGS} -fomit-frame-pointer"
CFLAGS="${CFLAGS} -ftracer"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
ACCEPT_KEYWORDS="x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/portage/local
MAKEOPTS="-j2"
USE="-* X a52 aac aalib acpi alsa apache2 arts avi bash-completion berkdb bidi bitmap-fonts bluetooth bootsplash bzip2 cdr crypt cups dbus dga dhcp drm dio directfb divx4linux dv dvb dvd dvdr dvdread encode esd ethereal exif fbcon ffmpeg flash font-server foomaticdb fortran gdbm gif gimpprint gphoto2 gpm gstreamer gtk2 hal i8x0 ieee1394 imlib ithreads jabber jack java javascript jpeg jpeg2k kde kdeenablefinal kdexdeltas libg++ libwww live lm_sensors logitech-mouse mad maildir mikmod mime ming mmx mmx2 mono mp3 mpeg mppe-mppc ncurses network nls nptl ogg oggvorbis opengl pam pcmcia pda pdflib perl php pic png pnp posix ppds pthreads python qt quicktime readline real samba scanner sdl slp sockets spell sse sse2 ssl svga symlink szip tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis wifi win32codecs wmf xine xinerama xml2 -xmms xv xvid zeroconf zlib x86"
GENTOO_MIRRORS="ftp://insert-mirror-here"
SYNC="rsync://insert-rsync-here"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT=180
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
FEATURES="distlocks sandbox ccache"
CCACHE_SIZE="2048M"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en_AU en_GB"
LANGUAGE="44"
ALSA_CARDS="azx"


Kernel
I emerged gentoo-sources-2.6.11-r11 and patched in support for reiser4
Get my .config here

Network
While there is a Gb Marvell driver under the kernel, this revision of the nic is not supported yet, so it needs to be patched.
Code:

wget http://gensys.net.au/files/install-8_23.tar.bz2
tar xfvj install-8_23.tar.bz2
cd DriverInstall/
./install.sh (choose patch)
cd /usr/src/linux
cat /usr/src/DriverInstall/sk98lin_v8.23.1.3_2.6.11_patch | patch -p1
Then just build your kernel or make the modules.
modprobe sk98lin and you should have eth0
add it to modules.autoload
Code:
echo sk98lin >> /etc/modules.autoload.d/kernel-2.6


Network - Wireless
The Intel PRO/Wireless 2915ABG MiniPCI Adapter is supported by ipw2200 project.
Code:
echo "net-wireless/ipw2200 ~x86" >> /etc/portage/package.keywords && echo "net-wireless/ipw2200-firmware ~x86" >> /etc/portage/package.keywords
emerge -av ipw2200-firmware ipw2200

then add the modules to be autoloaded
Code:
for x in ipw2200 ieee80211 ieee80211_crypt ieee80211_crypt_wep ieee80211_crypt_ccmp ieee80211_crypt_tkip ; do echo "$x" >> /etc/modules.autoload.d/kernel-2.6 ; done


For wireless I suggest you use the ~x86 baselayout as it has wpa support as well as wep.
Code:
for x in sys-apps/baselayout sys-libs/readline sys-apps/sysvinit app-shells/bash ; do echo "$x ~x86" >> /etc/portage/package.keywords; done && emerge -av baselayout


Sound
As you can see from my make.conf, the required alsa module is azx. This is not supported in 2.6.11 gentoo sources, so I had to emerge the drivers myself.
When building your kernel, DO select sound support but do NOT select ALSA support - leave it all off.
Code:
emerge -av alsa-driver alsa-utils && alsaconf && rc-update add alsasound default


ACPI

Suspend

Hotkeys

Video & Resolution 1440x900


Anything else you wanna know? Ask me! :)

-Chris
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!


Last edited by taskara on Tue Jul 19, 2005 2:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
dec
n00b
n00b


Joined: 18 Jul 2003
Posts: 63

PostPosted: Mon Jul 04, 2005 7:56 am    Post subject: Reply with quote

Nice howto - can't wait to see it finished.

I've been thinking of getting one of these notebooks, they're quite cheap at the moment.
This howto makes it even more tempting. :)

Thanks :)
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Fri Jul 08, 2005 5:31 am    Post subject: Reply with quote

I took the laptop BACK.

The optical drive DIED and the InstantON was set to the wrong DVD region.

So I'll be in the market for a new laptop again :)

Can't recommend this notebook at this stage!

-c
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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