Search:  
Gentoo Wiki

Gateway_Solo_5300

This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

Contents

Tips

su

Can't su - to the root user from your normal user account? Try adding your normal user to the wheel group. Don't forget that you'll also need to include the other groups to which you should belong to the usermod -G command as well.

sudo usermod -G wheel normalusername

screen

Yu can use Screen to monitor your install from another networked machine (don't forget that ^a d will detach from the screen).

passwd
/etc/init.d/sshd start
screen -S gentoo
ssh to-your-install-from-the-remote-machine
screen -x gentoo

mounts

Shortcut to the mount commands. These are taken from the install guide and placed here for reference.

mount /dev/hda3 /mnt/gentoo
mount /dev/hda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc


chroot

Shortcut to the chroot commands. These are also taken from the install guide.

chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile


app-vim/sudo

Ever forget to sudo vim a file? Well try the app-vim/sudo.

emerge app-vim/sudo

While in vim:

:SudoWrite root


neat additions

emerge openntpd && rc-update add ntpd default
emerge bash-completion
emerge bash-completion-config

Compile timings

My 5300 has a Pentium III 750 MHz processor.

/etc/fstab

File: /etc/fstab
 # /etc/fstab: static file system information.
 # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
 
 # noatime turns off atimes for increased performance (atimes normally aren't
 # needed; notail increases performance of ReiserFS (at the expense of storage
 # efficiency).  It's safe to drop the noatime options if you want and to
 # switch between notail and tail freely.
 #
 # <fs>                  <mountpoint>    <type>  <opts>               <dump/pass>
 
 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
 /dev/hda1               /boot           ext2    defaults,noatime        1 2
 /dev/hda2               none            swap    sw                      0 0
 /dev/hda3               /               ext3    noatime                 0 1
 /dev/cdroms/cdrom0      /mnt/cdrom      iso9660 auto,ro,user            0 0
 #/dev/fd0               /mnt/floppy     auto    noauto                  0 0
 
 # NOTE: The next line is critical for boot!
 none                    /proc           proc    defaults                0 0
 
 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
 # POSIX shared memory (shm_open, shm_unlink).
 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
 #  use almost no memory if not populated with files)
 # Adding the following line to /etc/fstab should take care of this:
 none                    /dev/shm        tmpfs           defaults        0 0
 none                    /proc/bus/usb   usbfs           defaults        0 0

lspci ouput

File: lspci
 0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
 0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
 0000:00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
 0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
 0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
 0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
 0000:00:08.0 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 80)
 0000:00:08.1 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 80)
 0000:00:0c.0 Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCIAudio Accelerator
 0000:00:0d.0 Communication controller: Agere Systems (former Lucent Microelectronics) WinModem 56k (rev 01)
 0000:01:01.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 11)

cardctl info

Your milage may vary here as these are the pcmcia cards in my laptop.

File: cardctl info
 PRODID_1="3Com"
 PRODID_2="OfficeConnect 572B"
 PRODID_3="B"
 PRODID_4="001"
 MANFID=0101,0574
 FUNCID=6
 PRODID_1="Gateway 2000"
 PRODID_2="XJ5560"
 PRODID_3="TelePath XJ5560 with x2, cell"
 PRODID_4=""
 MANFID=0102,0034
 FUNCID=2

x.org

I added HorizSync 31.5-48.5 and VertRefresh 55-90 to the monitor section. Also look at the PS2Mouse and USBMouse sections as this config allows both to work at the same time.

File: /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "PS2Mouse" "CorePointer"
	InputDevice    "USBMouse" "SendCoreEvents"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/lib/X11/rgb"
	ModulePath   "/usr/lib/modules"
    FontPath 	"/usr/share/fonts/misc"
    FontPath 	"/usr/share/fonts/TTF"
    FontPath 	"/usr/share/fonts/Type1"
    FontPath 	"/usr/share/fonts/75dpi"
    FontPath 	"/usr/share/fonts/100dpi"
    FontPath 	"/usr/local/share/fonts"
    FontPath 	"/usr/share/fonts"
    FontPath 	"/usr/X11R6/lib/X11/fonts"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dri"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "glx"
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "PS2Mouse"
   Driver      "mouse"
   Option      "Protocol"              "PS/2"
   Option      "Device"                "/dev/mouse"
   Option      "Emulate3Buttons"       "true"
   Option      "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
   Identifier  "USBMouse"
   Driver      "mouse"
   Option      "Protocol"              "ExplorerPS/2"
   Option      "Device"                "/dev/usbmouse"
   Option      "Emulate3Buttons"       "false"
   Option      "ZAxisMapping"          "4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync    31.5-48.5
	VertRefresh  55-90
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "HWCursor"           	# [<bool>]
        #Option     "SWCursor"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "UseBIOS"            	# [<bool>]
        #Option     "LCDClock"           	# <freq>
        #Option     "ShadowStatus"       	# [<bool>]
        #Option     "CrtOnly"            	# [<bool>]
        #Option     "TvOn"               	# [<bool>]
        #Option     "PAL"                	# [<bool>]
        #Option     "ForceInit"          	# [<bool>]
        #Option     "Overlay"            	# [<str>]
        #Option     "TransparencyKey"    	# [<str>]
	Identifier  "Card0"
	Driver      "savage"
	VendorName  "S3 Inc."
	BoardName   "86C270-294 Savage/IX-MV"
	BusID       "PCI:1:1:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 16
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes     "1024x768"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes     "1024x768"
	EndSubSection
EndSection

kde

While running emerge kde I received a jpeg-6b-r4 failed error. I Googled and came across this which recommended to:

emerge --oneshot libtool
emerge --oneshot media-libs/jpeg

Which worked like a champ. After a solid 24 hours of compiling kde works great! Joy!!

sound

Used the maestro3 drivers.

Ran alsaconf to update the /etc/modprobe.d/alsa file. Joy!


Fbsplash

See Fbsplash for info on configuring the frame buffer splash screen.

File: /boot/grub/grub.conf
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0

# How many seconds to wait before the default listing is booted.
timeout 30

# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-gentoo-r4
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r4 root=/dev/hda3 video=vesafb:ywrap,mtrr,1024x768-16@85 splash=verbose,theme:emergence
initrd /boot/fbsplash-emergence-1024x768
Retrieved from "http://www.gentoo-wiki.info/Gateway_Solo_5300"

Last modified: Thu, 28 Aug 2008 20:56:00 +0000 Hits: 25,645