I'll try to introduce my configuration of Slackware on my old Lenovo (Legend) V32 laptop from now on.
Configuration list:
---- Chinese Translation ----
我会在这里试着介绍我在联想 V32 的老本本上使用配置 Slackware 的经验。
希望能够对大家有些帮助。以下为配置列表(升级了原配的硬盘和内存)。
---- THE END ----
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Memory: DDR 266 (Kingston 512M x 2)
Harddisk: Hatichi 80G 2.5" (5400 rpm)
# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 650/M650 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS961 [MuTIOL Media IO]
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0c.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
00:0d.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 04)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter
Dy ZHZH's Life in Beijing
Wednesday, April 15, 2009
Install Debian on Dell PowerEdge 2950
There are two tricks of installation on PowerEdge 2950:
1. Driver of BNX2 NIC
2. Driver of PERC5/i RAID card
I use Debian Lenny DVD for the installation.
It will prompt for BNX2 driver during network configuration.
Get BNX2 non-free package from http://http.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2_0.14_all.deb . Unpack it and get lib/firmware/bnx2-06-4.0.5.fw file. Save it to root path of your U-Disk, and supply it for the installation. (Maybe you should mount the U-Disk manually if the installation can't find the file automatically).
After GRUB installed, DO NOT reboot! Otherwise it will stopped after initrd loaded because of missing RAID driver.
ALT-F2 to console 2.
# chroot /target/XXX/
[MAKE SURE YOU ARE IN THE RIGHT PATH]
# vi /etc/initramfs-tools/modules
[Add "megaraid_sas" to the last line of the file]
# cp /boot/initrd.img-2.6.XXXX /boot/initrd.img-2.XXXX.old
[For backup]
# update-initramfs -u
[Get new initrd.img with RAID driver]
# reboot
Wish you are lucky. (The server boots slowly...).
Reference:
1. http://www.ducea.com/2009/03/02/debian-lenny-pxe-installation-on-dell-poweredge-19502950-servers-bnx2-annoyances/
2. http://lists.us.dell.com/pipermail/linux-poweredge/2006-September/027504.html
1. Driver of BNX2 NIC
2. Driver of PERC5/i RAID card
I use Debian Lenny DVD for the installation.
It will prompt for BNX2 driver during network configuration.
Get BNX2 non-free package from http://http.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2_0.14_all.deb . Unpack it and get lib/firmware/bnx2-06-4.0.5.fw file. Save it to root path of your U-Disk, and supply it for the installation. (Maybe you should mount the U-Disk manually if the installation can't find the file automatically).
After GRUB installed, DO NOT reboot! Otherwise it will stopped after initrd loaded because of missing RAID driver.
ALT-F2 to console 2.
# chroot /target/XXX/
[MAKE SURE YOU ARE IN THE RIGHT PATH]
# vi /etc/initramfs-tools/modules
[Add "megaraid_sas" to the last line of the file]
# cp /boot/initrd.img-2.6.XXXX /boot/initrd.img-2.XXXX.old
[For backup]
# update-initramfs -u
[Get new initrd.img with RAID driver]
# reboot
Wish you are lucky. (The server boots slowly...).
Reference:
1. http://www.ducea.com/2009/03/02/debian-lenny-pxe-installation-on-dell-poweredge-19502950-servers-bnx2-annoyances/
2. http://lists.us.dell.com/pipermail/linux-poweredge/2006-September/027504.html
Rdesktop in Slackware 12.2
There is a bug in latest version (1.6.0) of rdesktop (http://www.rdesktop.org/).
If you are using left-handed mouse locally, you will find that remote Windows will use right-handed mouse after connected.
It is not the same as what happens in Windows: local left-handed mouse will be taken to remote automatically with no configuration of mouse on remote desktop.
Apply patch from RedHat here:
https://bugzilla.redhat.com/show_bug.cgi?id=436454
It will modify three files in source of rdesktop: rdesktop.c, xkeymap.c, and doc/rdesktop.1.
Copy source of rdesktop from DVD of Slackware 12.2. Unzip, patch, and then repack it.
Update version in rdektop.Slackware script and then use it to compile your own patched package.
# updatepkg rdesktop-1.6.0-i486-2.tgz
$ rdesktop -l
It will take your local left-handed mouse to remote Windows desktop.
Wish the note helpful.
.
If you are using left-handed mouse locally, you will find that remote Windows will use right-handed mouse after connected.
It is not the same as what happens in Windows: local left-handed mouse will be taken to remote automatically with no configuration of mouse on remote desktop.
Apply patch from RedHat here:
https://bugzilla.redhat.com/show_bug.cgi?id=436454
It will modify three files in source of rdesktop: rdesktop.c, xkeymap.c, and doc/rdesktop.1.
Copy source of rdesktop from DVD of Slackware 12.2. Unzip, patch, and then repack it.
Update version in rdektop.Slackware script and then use it to compile your own patched package.
# updatepkg rdesktop-1.6.0-i486-2.tgz
$ rdesktop -l
It will take your local left-handed mouse to remote Windows desktop.
Wish the note helpful.
.
Wednesday, April 8, 2009
My Choice of Linux Distributions
I've tried several popular Linux distributions in last 7 years. RedHat, Debian, Solaris, CentOS, SuSE, Arch, OpenSolaris, Gentoo, Ubuntu, Slackware, and FreeBSD.
I like Slackware as desktop, and Debian as server most among of them. Slackware makes me to understand OS more and more. Debian makes my daily maintenance much easier.
I'll try to introduce my experiences on Slackware & Debian in my future posts. Wish it helpful for you.
Thursday, April 2, 2009
First Post
This is my first post on Blogger.
Wish I can write persistently.
Just do it! I can do it!
:)
Subscribe to:
Posts (Atom)