Homepage
Installation of Linux - slackware 8.1
Summary
The hardware: PC Shuttle SS51G
I install the slackware on this barebone PC:
- PC: barebone Shuttle SS51G - for Pentium 4 (or Celeron) 478 pins
- motherboard: Shuttle FS51 (see above) - for Pentium 4 (or Celeron) 478 pins
- processor: P4B 2.4GHz (Northwood, 0.13µ, 1.5V, L2 cache 512KB, FSB 533MHz, MMX, SSE, SSE2)
- RAM: DDR 512 MB - PC 2700
- floppy: nope but free slot
- hardrive 1: IBM 9 GB IDE
- hardrive 2: Maxtor 60 GB IDE
- DVD drive: Pioneer 16X/40X IDE
- sound: SiS7012 / Realtek ALC650 - AC'97, 5.1
- graphic: SiS315 / SiS651 - 32MB RAM shared memory (chipset weak in 3D... think AGP slot)
- USB 1.1/2.0: 6 ports, but 4 connectors "only"
- USB 1.1: SiS7001 - OHCI, 1.5 and 12Mbit/s
- USB 2.0: SiS7002 - EHCI, 480Mbit/s
- Firewire: VIA VT6306 - IEEE1394, 400Mbit/s
- network: Realtek RTL8139 - Fast Ethernet, 100Mbit/s
- parallel: 1 slot, no connector but available apart
- serial: 2 connectors
- SPDIF: 2 ports
- monitor: my good old iiyama MT-9017, bought in ... 1996 ! and still as fresh as Bilbo in his 111th birthday :-)
The chipset:
SiS651 = Northbridge
SiS962L = Southbridge
note: "L" as "Light" maybe, SiS962L does not have the Firewire nor the network controllers
we will see later when Linux is installed:
# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0651 (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 04)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS]: Unknown device 7002
00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
00:10.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]: Unknown device 6325
as said by the BIOS:
BIOS FS51S025 SIS 651 + 962 07/17/2002-SiS-651-6A6IXH2fC-00
00:02:5 IDE controller IRQ 9
00:02:7 Multimedia device IRQ 10
00:03.0 USB 1.0/1.1 OHCI controller IRQ 5
00:03.1 USB 1.0/1.1 OHCI controller IRQ 10
00:03.2 USB 1.0/1.1 OHCI controller IRQ 11
00:03.3 USB 2.0 EHCI controller IRQ 9
00:0f.0 Network controller IRQ 10
00:10.0 Serial bus controller IRQ 5
01:00.0 Display controller IRQ 11
ACPI controller IRQ 9
USB 2.0 with EHCI controller is not yet recognized by Linux kernel 2.4.18 but soon in 2.4.19+,
will test that later...
$ cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: PCI device 1039:0651 (Silicon Integrated Systems [SiS]) (rev 1).
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
Bus 0, device 1, function 0:
PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (rev 0).
Master Capable. Latency=64. Min Gnt=14.
Bus 0, device 2, function 0:
ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 4).
Bus 0, device 2, function 5:
IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 0).
IRQ 11.
Master Capable. Latency=128.
I/O at 0x4000 [0x400f].
Bus 0, device 2, function 7:
Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev 160).
IRQ 10.
Master Capable. Latency=32. Min Gnt=52.Max Lat=11.
I/O at 0xb400 [0xb4ff].
I/O at 0xb800 [0xb87f].
Bus 0, device 3, function 0:
USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 15).
IRQ 5.
Master Capable. Latency=32. Max Lat=80.
Non-prefetchable 32 bit memory at 0xe0100000 [0xe0100fff].
Bus 0, device 3, function 1:
USB Controller: Silicon Integrated Systems [SiS] 7001 (#2) (rev 15).
IRQ 10.
Master Capable. Latency=32. Max Lat=80.
Non-prefetchable 32 bit memory at 0xe0101000 [0xe0101fff].
Bus 0, device 3, function 2:
USB Controller: Silicon Integrated Systems [SiS] 7001 (#3) (rev 15).
IRQ 11.
Master Capable. Latency=32. Max Lat=80.
Non-prefetchable 32 bit memory at 0xe0102000 [0xe0102fff].
Bus 0, device 3, function 3:
USB Controller: PCI device 1039:7002 (Silicon Integrated Systems [SiS]) (rev 0).
IRQ 9.
Master Capable. Latency=32. Max Lat=80.
Non-prefetchable 32 bit memory at 0xe0103000 [0xe0103fff].
Bus 0, device 15, function 0:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 16).
IRQ 10.
Master Capable. Latency=32. Min Gnt=32.Max Lat=64.
I/O at 0xbc00 [0xbcff].
Non-prefetchable 32 bit memory at 0xe0104000 [0xe01040ff].
Bus 0, device 16, function 0:
FireWire (IEEE 1394): VIA Technologies, Inc. OHCI Compliant IEEE 1394 Host Controller (rev 70).
IRQ 5.
Master Capable. Latency=32. Max Lat=32.
Non-prefetchable 32 bit memory at 0xe0105000 [0xe01057ff].
I/O at 0xc000 [0xc07f].
Bus 1, device 0, function 0:
VGA compatible controller: PCI device 1039:6325 (Silicon Integrated Systems [SiS]) (rev 0).
IRQ 11.
Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].
Non-prefetchable 32 bit memory at 0xe0000000 [0xe001ffff].
I/O at 0x9000 [0x907f].
$ cat /proc/interrupts
CPU0
0: 1915474 XT-PIC timer
1: 3020 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
10: 184347 XT-PIC SiS 7012, eth0
12: 409694 XT-PIC PS/2 Mouse
14: 5034949 XT-PIC ide0
15: 243100 XT-PIC ide1
NMI: 0
ERR: 0
$ cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
4000-400f : Silicon Integrated Systems [SiS] 5513 [IDE]
4000-4007 : ide0
4008-400f : ide1
9000-9fff : PCI Bus #01
9000-907f : PCI device 1039:6325 (Silicon Integrated Systems [SiS])
b400-b4ff : Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator
b400-b4ff : SiS 7012
b800-b87f : Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator
b800-b83f : SiS 7012
bc00-bcff : Realtek Semiconductor Co., Ltd. RTL-8139
bc00-bcff : 8139too
c000-c07f : VIA Technologies, Inc. OHCI Compliant IEEE 1394 Host Controller
$ cat /proc/iomem
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-1dfeffff : System RAM
00100000-0028031c : Kernel code
0028031d-002eade3 : Kernel data
1dff0000-1dff2fff : ACPI Non-volatile Storage
1dff3000-1dffffff : ACPI Tables
d0000000-d7ffffff : PCI device 1039:0651 (Silicon Integrated Systems [SiS])
d8000000-dfffffff : PCI Bus #01
d8000000-dfffffff : PCI device 1039:6325 (Silicon Integrated Systems [SiS])
e0000000-e00fffff : PCI Bus #01
e0000000-e001ffff : PCI device 1039:6325 (Silicon Integrated Systems [SiS])
e0100000-e0100fff : Silicon Integrated Systems [SiS] 7001
e0101000-e0101fff : Silicon Integrated Systems [SiS] 7001 (#2)
e0102000-e0102fff : Silicon Integrated Systems [SiS] 7001 (#3)
e0103000-e0103fff : PCI device 1039:7002 (Silicon Integrated Systems [SiS])
e0104000-e01040ff : Realtek Semiconductor Co., Ltd. RTL-8139
e0104000-e01040ff : 8139too
e0105000-e01057ff : VIA Technologies, Inc. OHCI Compliant IEEE 1394 Host Controller
fec00000-fec00fff : reserved
fee00000-fee00fff : reserved
ffff0000-ffffffff : reserved
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping : 4
cpu MHz : 2393.203
cache size : 512 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 pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 4771.02
$ cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
14 sound
29 fb
109 lvm
128 ptm
129 ptm
136 pts
137 pts
162 raw
Block devices:
1 ramdisk
2 fd
3 ide0
7 loop
9 md
22 ide1
43 nbd
58 lvm
$ cat /proc/modules
smbfs 31296 1 (autoclean)
pcmcia_core 40896 0
ide-scsi 7456 0
8139too 13792 1
mii 1008 0 [8139too]
i810_audio 21248 2
ac97_codec 9568 0 [i810_audio]
soundcore 3236 2 [i810_audio]
$ cat /proc/version
Linux version 2.4.18 (root@midas) (gcc version 2.95.3 20010315 (release)) #4 Fri May 31 01:25:31 PDT 2002
$ dmesg
Linux version 2.4.18 (root@midas) (gcc version 2.95.3 20010315 (release)) #4 Fri May 31 01:25:31 PDT 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001dff0000 (usable)
BIOS-e820: 000000001dff0000 - 000000001dff3000 (ACPI NVS)
BIOS-e820: 000000001dff3000 - 000000001e000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 122864
zone(0): 4096 pages.
zone(1): 118768 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro root=303
Initializing CPU#0
Detected 2393.203 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4771.02 BogoMIPS
Memory: 480876k/491456k available (1536k kernel code, 10192k reserved, 426k data, 228k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 3febfbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 3febfbff 00000000 00000000 00000000
CPU: Common caps: 3febfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb530, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router SIS [1039/0008] at 00:02.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller on PCI bus 00 dev 15
PCI: Found IRQ 11 for device 00:02.5
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:pio
hda: IBM-DTTA-351010, ATA DISK drive
hdb: MAXTOR 6L060J3, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 19807200 sectors (10141 MB) w/466KiB Cache, CHS=1232/255/63
hdb: 117266688 sectors (60041 MB) w/1819KiB Cache, CHS=7299/255/63
ide-floppy driver 0.97.sv
Partition check:
hda: hda1 hda2 hda3 hda4
hdb: hdb1
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
ide-floppy driver 0.97.sv
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 2735.200 MB/sec
32regs : 2058.800 MB/sec
pIII_sse : 3108.800 MB/sec
pII_mmx : 2732.400 MB/sec
p5_mmx : 2674.400 MB/sec
raid5: using function: pIII_sse (3108.800 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.1-rc4(ish)(03/10/2001)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 228k freed
Adding Swap: 1028152k swap-space (priority -1)
Intel 810 + AC97 Audio, version 0.21, 00:45:09 May 31 2002
PCI: Found IRQ 10 for device 00:02.7
PCI: Sharing IRQ 10 with 00:0f.0
i810: SiS 7012 found at IO 0xb800 and 0xb400, IRQ 10
i810_audio: Audio Controller supports 6 channels.
ac97_codec: AC97 Audio codec, id: 0x414c:0x4720 (Unknown)
i810_audio: AC'97 codec 0, new EID value = 0x05c7
i810_audio: AC'97 codec 0, DAC map configured, total channels = 6
8139too Fast Ethernet driver 0.9.24
PCI: Found IRQ 10 for device 00:0f.0
PCI: Sharing IRQ 10 with 00:02.7
eth0: RealTek RTL8139 Fast Ethernet at 0xde8a0000, 00:30:1b:ab:35:6a, IRQ 10
eth0: Identified 8139 chip type 'RTL-8139C'
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Linux PCMCIA Card Services 3.1.33
kernel build: 2.4.18 #1 Wed May 8 13:51:37 PDT 2002
options: [pci] [cardbus]
Intel ISA/PCI/CardBus PCIC probe:
no bridges found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
BIOS configuration
1) Standard CMOS features
2) Advanced BIOS features
- First Boot Device = Floppy
- Second Boot Device = CDROM
- Third Boot Device = HDD-0
- Typematic Rate Setting = Enabled
- Typematic Rate (Chars/Sec) = 30
- Typematic Delay (Msec) = 250
- APIC Mode = Disabled (heard that it causes problem with Network chipset...)
3) Advanced Chipset features
4) Integrated peripherals
> SIS OnChip PCI Device
- USB Port Number = 4 ports (because 2 are not connected)
> Onboard SuperIO Device
- Onboard Serial Port2 = Disabled (no need for now...)
- Onboard Parallel Port = Disabled (no need for now...)
5) Power Management Setup
6) PnP/PCI Configuration
7) PC Health Status
8) Frequency/Voltage Control
- CPU:DRAM Clock Ratio = 1:1
- CPU Clock = 133 (because P4B 2.4 GHz, FSB 533MHz, clock 133MHz)
- DRAM Frequency = 2 x 133 (DDR-RAM PC2700)
The software: slackware 8.1
The Linux - slackware,
is one of the oldest Linux distributions,
very much appreciated of Linux guys: rigorous, stability.
It is on 4 CDs :
1 CD install (binaries)
1 CD install (sources)
1 CD extra (binaries)
1 CD extra (sources)
I use the first CD to install.
(and the CD extra for Sun Java JRE 1.4.0, KDEi in French, etc...)
Slackware installation
To install, I boot on the bootable CD
to the boot: prompt, hit [Enter]
it is booting a Linux kernel...
to the slackware login: prompt, enter
root
then [Enter]
1st thing: I select a French keyboard fr-latin1.map
once it is OK, enter 1 [Enter]
then partition of the harddrive:
# fidsk /dev/hda
m (man) : display the comman list
p (print) : see the partition list wanted
d (delete) : delete a partition
n (create) : create a partition
t (type) : change the partition type
l (list) : list of the known partition types
w (write) : write modifications on the harddrive and quit fdisk
q (quit) : quit fdisk
here with a 9GB harddrive, I do 4 partitions:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 319 2562336 - -
/dev/hda2 320 447 1028160 82 Linux swap
/dev/hda3 448 1021 4610655 83 Linux
/dev/hda4 1022 1232 1694857+ 83 Linux
w [Enter] to validate the modifications and quit fdisk
enter setup [Enter] for the slackware setup
The main menu appears, with its different sections:
HELP | | Read the Slackware Setup HELP file |
KEYMAP | | Remap your keyboard if you're not using a US one |
ADDSWAP | | Set up your swap file |
TARGET | | Set up your target partitions |
SOURCE | | Select source media |
SELECT | | Select categories of software to install |
INSTALL | | Install selected software |
CONFIGURE | | Reconfigure your Linux system |
EXIT | | Exit Slackware Linux Setup |
|
-- ADDSWAP section: < Yes > [Enter]
the setup program is looking for the swap partitions,
and asking for the one I want to be a swap partitions for this installation,
here: /dev/hda2 < Yes > [Enter]
it is asking for formatting or checking (control bad clusters):
I answer Check < OK > [Enter]
it is formatting, checking and activating the partition.... 20 min
< EXIT > [Enter]
-- TARGET section: < Yes > [Enter]
I choose the root "/" partition,
here: /dev/hda3 < Yes > [Enter]
it is asking for formatting or checking:
I answer Check < OK > [Enter]
format sizing: 4096 bytes per inode < OK > [Enter]
partition type: ext3, reiserfs or ext2,
I answer ext2 < OK > [Enter]
it is formatting, checking and activating the partition....
other partition to mount:
/dev/hda4 to mount on /home
same procedure...
then:
< EXIT > [Enter]
-- SOURCE section: < Yes > [Enter]
the installation can be done from:
1 - the Slackware CD
2 - a harddisk containing the installation files
3 - NFS sharing via the network
4 - a directory already mounted
5 - floppy disks (oof !)
....here: 1 - my Slackware CD < OK > [Enter]
searching the CD: auto < OK > [Enter]
put the CD if it is not in the CD/DVD drive already... < OK > [Enter]
it is looking for the Slackware CD and mounting it
I choose the install type: slakware < OK > [Enter]
Go to next section SELECT? < Yes > [Enter]
-- SELECT section:
here I choose the series of packages to install:
as it will be my own personal computer, with X-Window, I choose the whole series:
| A | - Base Linux system |
| AP | - Various Applications that do not need X |
| D | - Program Development (C, C++, Lisp, Perl, etc.) |
| E | - GNU Emacs |
| F | - FAQ lists, HOWTO documentation |
| GNOME | - GTK+ and GNOME programs for X |
| K | - Linux kernel source |
| KDE | - Qt and the K Desktop Environment for X |
| L | - Libraries ? (oops, I forgot...) |
| N | - Networking (TCP/IP, UUCP, Mail, News) |
| T | - TeX typesetting software |
| TCL | - Tcl/Tk script languages |
| X | - XFree86 X Window System |
| XAP | - X Applications |
| Y | - Games (that do not require X) |
|
hit the [Space] key to unselect unwanted series
then < OK > [Enter]
Go to next section INSTALL? < Yes > [Enter]
-- INSTALL section:
I choose how I want to control the install process:
full : installs everything (2 GB)
newbie : been helped
menu : choose groups of packages
expert : choose each package one by one
custom : customized installation (with a list of the desired packages)
tagpath : customized installation (tell the directory containing the list of desired packages)
help : help which explains all that
this time I choose full < OK > [Enter]
...
30 min later,
I choose a kernel :
bootdisk : kernel used to boot the CD
cdrom : choose another kernel among many on the CD
floppy : zimage or bzimage kernel from a floppy disk
skip : use the default kernel /vmlinuz
I choose the one used to boot the CD
bootdisk < OK > [Enter]
Then I do a boot floppy disk... er.... actually no
Skip < OK > [Enter]
Modem configuration: /dev/ttyS0 (COM1) < OK > [Enter]
..generating Gnome documentation...
Screen Font: < No > [Enter]
LILO (LInux boot LOader) install:
simple : automatic installation of LILO
expert : manual installation of LILO
skip : do not install LILO
I choose manual installation
expert < OK > [Enter]
Begin < OK > [Enter]
< OK > [Enter]
standard < OK > [Enter]
MBR < OK > [Enter]
5 seconds < OK > [Enter]
then
Linux < OK > [Enter]
/dev/hda3 < OK > [Enter]
linux < OK > [Enter]
then Install < OK > [Enter]
Network configuration < Yes > [Enter]
(remember the program: netconfig) < OK > [Enter]
hostname: jack5 < OK > [Enter]
domain name: zejack.com < OK > [Enter]
IP type: static IP < OK > [Enter]
adresse IP = 192.168.xxx.xxx < OK > [Enter]
masque réseau = 255.255.255.0 < OK > [Enter]
IP passerelle = xxx.xxx.xxx.xxx < OK > [Enter]
name server? < Yes > [Enter]
IP DNS = xxx.xxx.xxx.xxx < OK > [Enter]
(to add a DNS, see /etc/resolv.conf)
Network detection:
skip < OK > [Enter]
I will edit /etc/rc.d/rc.modules after the first reboot...
network configured < OK > [Enter]
Sendmail configuration : SMTP < OK > [Enter]
Hardware clock : NO < OK > [Enter]
TIMEZONE : Europe/Paris < OK > [Enter]
Default window manager for X: xinitrc.kde
root password: < Yes > [Enter]
password: ****** [Enter]
password: ****** [Enter]
[Enter]
SETUP finished < OK > [Enter]
Section EXIT < OK > [Enter]
# reboot [Enter]
1st start:
jack5 login: root [Enter]
Password: ****** [Enter]
# df -h
Slackware first configuration
DEL key in Bash
If you want to use the [DEL] key (= touche [SUPPR] in French)
to delete characters when "bashing",
create a ~/.inputrc file (~ is your home directory)
and put these lines inside:
set editing-mode emacs
"\e[3~":delete-char
it is one of the first things I do.
More generally:
# for BASH:
"\e[1~":beginning-of-line # Home
"\e[3~":delete-char # Delete
"\e[4~":end-of-line # End
# for rxvt:
"\e[7~":beginning-of-line # Home
"\e[8~":end-of-line # End
# for xterm:
"\e[H~":beginning-of-line # Home
"\e[F~":end-of-line # End
but you know what ?
it is already configured in Slackware 8.1 :-)
Configure network Realtek RTL8139
in /etc/rc.d/rc.modules uncomment:
/sbin/modprobe 8139too
to load the network card driver at boot.
Configure sound SiS7012 (1st try)
the SiS 7012 chipset is similar to the Intel i810 chipset, so
in /etc/rc.d/rc.modules uncomment:
/sbin/modprobe i810_audio
to load the audio driver at boot.
Configure graphic SiS315 in XFree86 (1st try)
3 ways:
# xf86config
# xf86cfg
# XFree86 -configure
Let's try the first one:
# xf86config
mouse: 4 = PS/2
emulation 3 buttons: no
device (/dev/mouse): <enter>
keyboard: 4 = generic 105 keys (Intl) PC
country: 17 = French
variant: <enter>
additional?: no
monitor: <enter>
horizontal sync range: 9 = 31.5-79.0 1280x1024 @ 74Hz
vertical sync range: 3 = 50-100
Identifier: IIYAMA MT-9017
card database? y
type: 0 = *Generic VESA compatible
<enter>
video memory: 6 = Other
amount in KB: 32768
Identifier: VESA
change modes: 9 = 1152x864 16 bits
virtual screen: no
default color depth: 4 = 16 bits (65536 colors)
write /etc/X11/XF86Config? y
test:
$ startx
yes ! it works !
although it is flickering a bit, I will see later to fix that with the new SiS driver
Start Samba (SMB services)
1) find a rc.samba sample
and put it in /etc/rc.d/rc.modules:
# cp /usr/doc/samba-2.2.4/examples/rc.samba /etc/rc.d/
then start Samba:
# /etc/rc.d/rc.samba start
you can add this line in /etc/rc.d/rc.local
2) check in /etc/inetd.conf that the lines concerning SMB and NMB must be commented
3) and a very cool thing: to mount SMB sharings,
in /etc/rc.d/rc.modules uncomment (or run):
/sbin/modprobe smbfs
now you can mount SMB sharings, example:
# mkdir /mnt/r
# mount -t smbfs -o username=<username>,password=<password> //jack2/r /mnt/r
Neat isn't it ? :-)
Install KDEi 3.0.1 FR
# installpkg kde-i18n-fr-3.0.1-noarch-2.tgz
Install KOffice 1.1.1 FR
# installpkg koffice-i18n-fr-1.1.1-noarch-1.tgz
Upgrade glibc 2.2.5
# telinit 1
# upgradepkg glibc-2.2.5-i386-3.tgz
# upgradepkg glibc-solibs-2.2.5-i386-3.tgz
Upgrade Apache 1.3.26
and
PHP 4.2.2
# telinit 1
# upgradepkg apache-1.3.26-i386-2.tgz
# upgradepkg php-4.2.2-i386-1.tgz
Upgrade OpenSSL 0.9.6e and mod_ssl 2.8.10
# telinit 1
# upgradepkg openssl-0.9.6e-i386-1.tgz
# upgradepkg openssl-solibs-0.9.6e-i386-1.tgz
# upgradepkg mod_ssl-2.8.10_1.3.26-i386-1.tgz
Upgrade OpenSSH 3.4p1
# telinit 1
# upgradepkg openssh-3.4p1-i386-2.tgz
Upgrade XFree 4.2.1
# upgradepkg xfree86-4.2.1-i386-2.tgz
# upgradepkg xfree86-devel-4.2.1-i386-2.tgz
# upgradepkg xfree86-docs-4.2.1-i386-1.tgz
# upgradepkg xfree86-docs-html-4.2.1-i386-1.tgz
# upgradepkg xfree86-xnest-4.2.1-i386-1.tgz
# upgradepkg xfree86-xprt-4.2.1-i386-1.tgz
# upgradepkg xfree86-xvfb-4.2.1-i386-1.tgz
# upgradepkg kernel-modules-2.4.18-i386-5.tgz
kernel-modules: for the new version of Frame Buffer drivers...
Configure video SiS315 in XFree86 (2nd try)
Go to this Website: www.winischhofer.net
and more precisely this page: SiS VGA chipsets and Linux - The Project
Now that XFree-4.2.1 is installed,
download the latest X driver precompiled for 4.2.1.
get the sis_drv.o_4.2.1_YYMMDD-1.tar.gz archive, uncompress it,
and put the sis_drv.o into /usr/X11/lib/modules/drivers/ directory
# tar zxvf sis_drv.o_4.2.1_YYMMDD-1.tar.gz
# mv sis_drv.o /usr/X11/lib/modules/drivers/
# cd /usr/X11/lib/modules/drivers/
# chmod +x sis_drv.o
then in /etc/X11/XF86Config add/modify these lines:
Section "Device"
Identifier "SiS-315"
Driver "sis"
VideoRam 32768
# Insert Clocks lines here if appropriate
EndSection
keyboard quick autorepeat:
Section "InputDevice"
Identifier "Keyboard1"
Option "AutoRepeat" "250 30"
monitor frequencies:
Section "Monitor"
Identifier "IIYAMA-9017"
# HorizSync 31.5 - 82.0
# HorizSync 60.0
HorizSync 27.0-92.0
# VertRefresh 40-150
# VertRefresh 50-160
VertRefresh 75
That's it ! Oh well almost...
Let's configure the wheel-mouse:
add/modify these lines:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
# Option "Protocol" "PS/2"
# Option "Device" "/dev/mouse"
Option "Protocol" "MouseManPlusPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
test:
$ startx
yes ! it works !
it does not flicker anymore
and the wheel is working in X-Window now. Coooool ! :-)
Upgrade QT 3.0.6
be careful !
the version installed in Slackware 8.1 has a name "qt-copy"
so you cannot upgrade like that,
you have to uninstall the previous version and install the new version
# telinit 3
# removepkg qt-copy-3.0.4-i386-1
# installpkg qt-3.0.6-i386-1.tgz
Upgrade KDE 3.0.5
# telinit 3
# upgradepkg arts-1.0.5-i386-1.tgz
# upgradepkg kde*.tgz
Upgrade KDEi 3.0.5 FR
# telinit 3
# upgradepkg kde-i18n-fr-3.0.5-noarch-1.tgz
Install Gnome menus
- Gimp Graphic IMage Processor
- Gnumeric spreadsheet
- Abiword word processor
- Galeon Web browser
- gFTP FTP client
- Glade program builder
- QT designer program builder
- GVim text editor
- GQView veeeery quick images viewer
- gMix sound mixer
- GnuChess chess game
you can add them by hand...
or you also have a nice KDE tool to do that: KAppFinder in the KDE System menu...
Install Sun JRE 1.4.0_01
Sun JDK 1.4.1_01 is on Slackware CD "extra"
# cd /
# mount /dev/cdrom /mnt/cdrom
# installpkg /mnt/cdrom/extra/java2-runtime-environment/j2re-1.4.0_01-i586-1.tgz
I will see later to link the JRE to Mozilla...
Install OpenOffice 1.0.1
# mv OOo_1.0.1_LinuxIntel_install.tar.gz /tmp
# cd /tmp
# tar zxvf OOo_1.0.1_LinuxIntel_install.tar.gz
...
important:
to avoid the splash screen when launching OpenOffice, put this in sofficerc
[Bootstrap]
Logo=0
....... more details later
Install Acrobat Reader 5.0.6
# installpkg Acrobat5-5.0.6-x86-2.tgz
Install MPlayer 0.90rc2
install the package:
# installpkg MPlayer-0.90rc2-i686-1.tgz
install the codecs:
# mkdir /usr/lib/win32
# mv w32codec.tar.bz2 /tmp
# cd /tmp
# tar yxvf w32codec.tar.bz2
# mv w32codec-0.90/* /usr/lib/win32/
when launching mplayer it indicates a few missing libraries,
check:
# ldd /usr/bin/mplayer
libdvdnav.so.1 => not found
libdvdread.so.2 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x4004d000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40062000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x40081000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x40085000)
libz.so.1 => /usr/lib/libz.so.1 (0x400b0000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400bf000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x400dd000)
libcdda_interface.so.0 => /usr/lib/libcdda_interface.so.0 (0x400e2000)
libcdda_paranoia.so.0 => /usr/lib/libcdda_paranoia.so.0 (0x400f7000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40100000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40115000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x4023a000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4026c000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4026f000)
libdl.so.2 => /lib/libdl.so.2 (0x40292000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40296000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402a3000)
libm.so.6 => /lib/libm.so.6 (0x40361000)
libaa.so.1 => /usr/lib/libaa.so.1 (0x40382000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x4039c000)
libSDL-1.2.so.0 => not found
libvgagl.so.1 => /usr/lib/libvgagl.so.1 (0x40471000)
libvga.so.1 => /usr/lib/libvga.so.1 (0x40480000)
libungif.so.4 => /usr/lib/libungif.so.4 (0x404d7000)
libartsc.so.0 => /opt/kde/lib/libartsc.so.0 (0x404df000)
liblirc_client.so.0 => not found
libc.so.6 => /lib/libc.so.6 (0x404eb000)
libslang.so.1 => /usr/lib/libslang.so.1 (0x4060e000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0x4066f000)
libesd.so.0 => /usr/lib/libesd.so.0 (0x40675000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x4067d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libncurses.so.5 => /lib/libncurses.so.5 (0x4069e000)
not found :
libdvdnav.so.1 => not found
libdvdread.so.2 => not found
libSDL-1.2.so.0 => not found
liblirc_client.so.0 => not found
# cd /
# installpkg libdvdnav-0.1.3-i686-1.tgz
# installpkg libdvdread-0.9.3-i686-1.tgz
# installpkg SDL-1.2.4-i686-1.tgz
# installpkg SDL_image-1.2.2-i686-1.tgz
# installpkg SDL_mixer-1.2.4-i686-1.tgz
# installpkg SDL_net-1.2.4-i686-1.tgz
# installpkg SDL_ttf-2.0.5-i686-1.tgz
compiling Lirc (Linux Infrared Remote Control)
# mv lirc-0.6.6.tar.gz /usr/local/src/
# cd /usr/local/src/
# tar zxvf lirc-0.6.6.tar.gz
# cd lirc-0.6.6
# ./setup.sh
# make
# make install
# cd /usr/local/lib/
# cp liblirc_client.a /usr/lib/
# cp liblirc_client.la /usr/lib/
# cp liblirc_client.so.0.0.0 /usr/lib/
# cd /usr/lib
# ln -s liblirc_client.so.0.0.0 liblirc_client.so.0
# ln -s liblirc_client.so.0.0.0 liblirc_client.so
compiling libdvdcss (may be useful...)
# mv libdvdcss-1.2.4.tar.gz /usr/local/src/
# cd /usr/local/src/
# tar libdvdcss-1.2.4.tar.gz
# cd libdvdcss-1.2.4
# ./configure
# make
# make install
# cd /usr/local/lib/
# cp libdvdcss.a /usr/lib/
# cp libdvdcss.la /usr/lib/
# cp libdvdcss.so.2.0.3 /usr/lib/
# cd /usr/lib
# ln -s libdvdcss.so.2.0.3 libdvdcss.so.2
# ln -s libdvdcss.so.2.0.3 libdvdcss.so
giving rights for normal users to access the DVD:
# ls -al /dev/cdrom
lrwxrwxrwx 1 root root 8 Nov 5 22:03 /dev/cdrom -> /dev/hdc
# ls -al /dev/hdc
brw-rw---- 1 root disk 22, 0 Jun 9 2002 /dev/hdc
# chmod o+r /dev/hdc*
well, I could have add my account to the disk group; I will see that later...
. Let's play some videos
$ mplayer whatever.mpg
$ mplayer whatever.avi
$ mplayer whatever.wmv
Yes ! it is working ! :-)
. Let's put a DVD (Back to the future ! with Michael J. Fox)
$ mplayer -dvd 1 -alang en -dvd-device /dev/cdrom
Yes ! it is working !!!! :-))))
Install showimg 0.8beta1
# cp ~/showimg-0.8-20021228.tar.gz /usr/local/src
# cd /usr/local/src
# tar zxvf showimg-0.8-20021228.tar.gz
# cd showimg-0.8-20021228
# ./configure
# make
# make install
voilà !
$ showimg &
Install harddrive 120GB Maxtor external USB 2.0 / USB 1.1
it is a Maxtor 3000LE, 120GB, USB 2.0,
here I will try to mount it with USB 1.1 (no USB 2.0 drivers for now)
connecting the harddrive on USB0 connector,
then loading USB 1.1 drivers
(unfortunately, no USB 2.0 driver for now on kernel 2.4.18):
# modprobe usbcore
# modprobe usb-ohci
# modprobe usb-storage
# mount -t usbdevfs none /proc/bus/usb
a few informations about this disk (recognized as a SCSI drive):
# fdisk -l
Disk /dev/sda: 255 heads, 63 sectors, 14946 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 14593 117218241 c Win95 FAT32 (LBA)
...
# scsi_info /dev/sda
SCSI_ID="0,0,0"
MODEL="Maxtor 3000LE v01.00.00"
FW_REV="0100"
# hdparm /dev/sda
/dev/sda:
readonly = 0 (off)
geometry = 14946/255/63, sectors = 240119808, start = 0
# fdisk /dev/sda
The number of cylinders for this disk is set to 14946.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 255 heads, 63 sectors, 14946 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 14593 117218241 c Win95 FAT32 (LBA)
Command (m for help): q
so:
real size = 16065 * 512 * 14946 = 117240MB = 114.492GB unformatted
or
false size = 122.935GB unformatted if we consider 1GB = 10^9 bytes = 1000 * 1000 * 1000 bytes :-)
what is strange is that it came 'FAT32 already formatted' with only 120GB (with 1GB=10^9 bytes)
see:
false size = 16065 * 512 * 14593 = 120.032GB unformatted, with 1GB=10^9 bytes
so very near of the marketing size of 120GB (unformatted) written on the box
(once mounted, it is 111.8GB FAT32 formatted)
anyway, I will format it my way:
# fdisk -l
Disk /dev/sda: 255 heads, 63 sectors, 14946 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 6528 52436128+ 83 Linux
/dev/sda2 6529 14946 67617585 83 Linux
so:
/dev/sda1 = 16065 * 512 * (6528 - 1 + 1) = 50.007GB unformatted
/dev/sda2 = 16065 * 512 * (14946 - 6529 + 1) = 64.485GB unformatted
then formatting/creating a ext2 file system with blocks size of 4096 bytes (-b 4096),
and the -c which checks for bad blocks (actually it gonna take a while with USB 1.1...) ;
do not forget the -m 1 which reserves 1% for the super-user instead of 5% (default).. what for anyway?
# mke2fs -b 4096 -c -m 1 /dev/sda1
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
6557152 inodes, 13109032 blocks
131090 blocks (1.00%) reserved for the super user
First data block=0
401 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Checking for bad blocks (read-only test): done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
same for the second one:
# mke2fs -b 4096 -c -m 1 /dev/sda2
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
8454144 inodes, 16904396 blocks
169043 blocks (1.00%) reserved for the super user
First data block=0
516 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Checking for bad blocks (read-only test): done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mounting:
# mount -t ext2 /dev/sda1 /mnt/l
# mount -t ext2 /dev/sda2 /mnt/m
Start MySQL
# cd /etc
# cp my-medium.cnf my.cnf
# cp /usr/share/mysql/mysql.server /etc/rc.d/rc.mysql
# /etc/rc.d/rc.mysql start &
[1] 1032
Starting mysqld daemon with databases from /var/lib/mysql
030221 20:32:01 mysqld ended
# su - mysql
$ /usr/bin/mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
030221 20:51:11 /usr/libexec/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/bin/mysqladmin -u root -p password 'new-password'
/usr/bin/mysqladmin -u root -h jack5 -p password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/safe_mysqld &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
$ ls -al /var/lib/mysql/
total 44
drwxr-x--- 4 mysql mysql 4096 Feb 21 20:51 ./
drwxr-xr-x 16 root root 4096 Jan 24 2002 ../
-rw------- 1 mysql mysql 30 Feb 21 20:34 .bash_history
-rw-rw---- 1 mysql mysql 73 Feb 21 20:32 jack5-bin.001
-rw-rw---- 1 mysql mysql 73 Feb 21 20:34 jack5-bin.002
-rw-rw---- 1 root root 4872 Feb 21 20:51 jack5-bin.003
-rw-rw---- 1 mysql mysql 48 Feb 21 20:51 jack5-bin.index
-rw-r--r-- 1 mysql root 591 Feb 21 20:34 jack5.err
drwx------ 2 root root 4096 Feb 21 20:51 mysql/
drwx------ 2 root root 4096 Feb 21 20:51 test/
$ /usr/bin/mysqladmin -u root -p password 'new-password'
Enter password:
# /etc/rc.d/rc.mysql start
Starting mysqld daemon with databases from /var/lib/mysql
Install phpMyAdmin-2.4.0
# cp phpMyAdmin-2.4.0-php.tar.gz /var/www/htdocs/
# cd /var/www/htdocs/
# tar zxvf phpMyAdmin-2.4.0-php.tar.gz
add this line to /etc/apache/httpd.conf :
Alias /phpMyAdmin/ "/var/www/htdocs/phpMyAdmin-2.4.0/"
# /etc/rc.d/rc.httpd stop
# /etc/rc.d/rc.httpd start
enter the URL: http://localhost/phpMyAdmin/
voilà !
Install TiMidity++ 2.11.3
See, if you do not know how to play Midi files on the Shuttle SS51G, because there is no Midi device,
there is a way, and it is called TiMidity ; it is using the audio output and it is great !
Go to the TiMidity Website and get the last version:
http://www.onicos.com/staff/iz/timidity/index.html
Go and get the best collection of patches ever, the EAWpatches:
http://www.stardate.bc.ca/eawpatches/html/default.htm
you can use these other patches for the GUS, aka Gravis UltraSound ;-)
(I did not use these ones)
http://dodo.nurs.or.jp/~iz/guspat/tim-patches.html
compile TiMidity:
# cp TiMidity++-2.11.3.tar.gz /usr/local/src/
# cd /usr/local/src
# tar zxvf TiMidity++-2.11.3.tar.gz
# cd TiMidity++-2.11.3
# ./configure --with-x \
--enable-xaw \
--enable-gtk \
--enable-tcltk \
--enable-ncurses \
--enable-spectrogram \
--enable-network
# make
# make install
install the EAWpatches:
# cp eawpats12_full.tar.gz /usr/local/share/timidity/
# cd /usr/local/share/timidity
# tar zxvf eawpats12_full.tar.gz
after a backup of /usr/local/share/timidity/timidity.cfg, modify it like this:
dir /usr/local/share/timidity/eawpats
source timidity.cfg
so it will load this one that you will create /usr/local/share/timidity/eawpats/timidity.cfg
dir /usr/local/share/timidity/eawpats
source gravis.cfg
source gsdrums.cfg
source gssfx.cfg
source xgmap2.cfg
now you can launch TiMidity in three different ways:
1) with X-Window interface:
$ timidity -ia
2) with GTK interface:
$ timidity -ig
3) with Tcl/Tk interface:
$ timidity -ik
and if you want to specify the config file, just in case it does not find it, you add:
-c /usr/local/share/timidity/timidity.cfg
Install Wine
# installpkg Wine-20030408-i686-1.tgz
Installing package Wine-20030408-i686-1...
PACKAGE DESCRIPTION:
Wine: Wine (Client, server, and winelib)
Wine:
Wine: Wine Is Not an Emulator, it is an alternative implementation of the
Wine: Windows 3.x and Win32 APIs. Wine provides both a development toolkit
Wine: (Winelib) for porting legacy Windows sources to Unix and a program
Wine: loader, allowing unmodified Windows 3.1/95/NT binaries to run under
Wine: Intel Unixes. Please, PLEASE read the README or else Wine probably
Wine: won't work for you.
Wine:
/sbin/ldconfig: /usr/lib/libcamel.so.0.0.0 is not an ELF file - it has the wrong magic bytes at the start.
Executing install script for Wine-20030408-i686-1...
(to be finished...)
Upgrade and compile Linux 2.4.20
# cp /tmp/linux-2.4.20.tar.gz /usr/src/
# cd /usr/src/
# tar zxvf linux-2.4.20.tar.gz
# rm linux
# ln -s linux-2.4.20 linux
# cd linux
# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.20/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c -o checklist.o checklist.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c -o menubox.o menubox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c -o textbox.o textbox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c -o yesno.o yesno.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c -o inputbox.o inputbox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c -o util.o util.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c -o lxdialog.o lxdialog.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c -o msgbox.o msgbox.c
gcc -o lxdialog checklist.o menubox.o textbox.o yesno.o inputbox.o util.o lxdialog.o msgbox.o -lncurses
make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/i386/config.in
Using defaults found in arch/i386/defconfig
Preparing scripts: functions, parsing.........................................................................done.
...
Saving your kernel configuration...
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
think to activate:
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
which sets the flag "EXPERIMENTAL" for experimental drivers
like the EHCI USB driver is.
see my config file
then:
# make dep
# make clean
# make bzImage
# make modules
# make modules_install
install Linux kernel and mapping in /boot
# cp arch/i386/boot/bzImage /boot/vmlinuz-ide-2.4.20
# cp System.map /boot/System.map-ide-2.4.20
# cp .config /boot/config-ide-2.4.20
# cd /boot/
# rm System.map
# ln -s System.map-ide-2.4.20 System.map
no need to link vmlinuz
and
# rm config
# ln -s config-ide-2.4.20 config
update LILO:
# cd /etc
# cp lilo.conf lilo.conf.000
# vi lilo.conf
with:
boot = /dev/hda
delay = 50
vga = normal
#
image = /boot/vmlinuz-ide-2.4.20
root = /dev/hda3
label = linux-2.4.20
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/vmlinuz-ide-2.4.18
root = /dev/hda3
label = linux-2.4.18
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/vmlinuz
root = /dev/hda3
label = linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
update LILO:
# /sbin/lilo
Warning: LBA32 addressing assumed
Added linux-2.4.20 *
Added linux-2.4.18
Added linux
Added dos
then reboot..... it is working.
Last minute:
Install harddrive 120GB Maxtor external USB 2.0
I have problems with the EHCI USB 2.0 driver, still experimental as said in the kernel config.
I can still access my external harddrive Maxtor 120GB USB 2.0
- with usb-ohci (USB 1.1) + usb-storage
- but not with ehci-hcd (USB 2.0) + usb-storage
it is freezing the processes using this ehci-hcd driver, and impossible to kill them.
Will see later how to fix that...
Install harddrive 250GB Maxtor external USB 2.0 and Firewire IEEE1394
it is a Maxtor 5000XT, 250GB, USB 2.0 + Firewire,
here I will try to mount it with Firewire to test how it compares to USB 2.0
a lot of useful informations are available on:
www.linux1394.org
let's connect the harddrive on a Firewire port and load IEEE1394 drivers:
# modprobe ieee1394
# modprobe ohci1394
# modprobe sbp2
a few informations about this disk (recognized as a SCSI drive):
# fdisk -l
Disk /dev/sda: 255 heads, 63 sectors, 30515 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30515 245111706 c Win95 FAT32 (LBA)
# scsi_info /dev/sda
SCSI_ID="0,0,0"
MODEL="Maxtor 5000XT"
FW_REV="0100"
# hdparm /dev/sda
/dev/sda:
readonly = 0 (off)
geometry = 30515/255/63, sectors = 490232832, start = 0
# fdisk /dev/sda
The number of cylinders for this disk is set to 30515.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 255 heads, 63 sectors, 30515 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30515 245111706 c Win95 FAT32 (LBA)
Command (m for help): q
so:
real size = 16065 * 512 * 30515 = 239367MB = 233.757GB unformatted
or
false size = 250.994GB unformatted if we consider 1GB = 10^9 bytes = 1000 * 1000 * 1000 bytes :-)
it comes 'FAT32 already formatted' with the whole disk of 'false' 250GB (with 1GB=10^9 bytes)
so this is the 'marketing size' of 250GB (unformatted) written on the box
(once first mounted, it is 233.7GB FAT32 formatted)
anyway, I will format it my way:
# fdisk -l
Disk /dev/sda: 255 heads, 63 sectors, 30515 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 6528 52436128+ 83 Linux
/dev/sda2 6529 14946 67617585 83 Linux
/dev/sda3 14947 29892 120053745 83 Linux
/dev/sda4 29893 30515 5004247+ 83 Linux
so:
/dev/sda1 = 16065 * 512 * (6528 - 1 + 1) = 50.007GB unformatted
/dev/sda2 = 16065 * 512 * (14946 - 6529 + 1) = 64.485GB unformatted
/dev/sda3 = 16065 * 512 * (29892 - 14947 + 1) = 114.492GB unformatted
/dev/sda4 = 16065 * 512 * (30515 - 29893 + 1) = 4.772GB unformatted
fdisk says:
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
so ... let's reboot the OS
# mke2fs -b 4096 -c -m 1 /dev/sda1
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
6557152 inodes, 13109032 blocks
131090 blocks (1.00%) reserved for the super user
First data block=0
401 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Checking for bad blocks (read-only test): done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mke2fs -b 4096 -c -m 1 /dev/sda2
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
8454144 inodes, 16904396 blocks
169043 blocks (1.00%) reserved for the super user
First data block=0
516 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Checking for bad blocks (read-only test): done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
......... (not finished yet)
I have read on www.linux1394.org
that ieee1394 and ohci1394 modules
have to be compiled in the kernel and not as modules
but sbp2 should stay as a module.
hummm, I think maybe the kernel hangs I had with USB 2.0
were caused by the fact that usbcore, ohci/ehci
were not compiled in the kernel but as modules.
I will see later if putting them inside the kernel,
and leaving usb-storage as a module,
improve things...
root@jack5:~# fdisk -l | grep sd
Disk /dev/sda: 255 heads, 63 sectors, 14946 cylinders
/dev/sda1 1 6528 52436128+ 83 Linux
/dev/sda2 6529 14946 67617585 83 Linux
Disk /dev/sdb: 255 heads, 63 sectors, 30515 cylinders
/dev/sdb1 1 6528 52436128+ 83 Linux
/dev/sdb2 6529 14946 67617585 83 Linux
/dev/sdb3 14947 29892 120053745 83 Linux
/dev/sdb4 29893 30515 5004247+ 83 Linux
root@jack5:~# mkreiserfs /dev/sdb3
<-------------mkreiserfs, 2002------------->
reiserfsprogs 3.x.1b
mkreiserfs: Guessing about desired format..
mkreiserfs: Kernel 2.4.20 is running.
Format 3.6 with standard journal
Count of blocks on the device: 30013436
Number of blocks consumed by mkreiserfs formatting process: 9127
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: c92eb0c4-8d92-4e6d-865d-f76e4563908f
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/sdb3'!
Continue (y/n):
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
The Defense Advanced Research Projects Agency (DARPA) is the primary sponsor of
Reiser4. DARPA does not endorse this project; it merely sponsors it.
Continuing core development of version 3 is mostly paid for by Hans Reiser from
money made selling licenses in addition to the GPL to companies who don't want
it known that they use ReiserFS as a foundation for their proprietary product.
And my lawyer asked 'People pay you money for this?'. Yup. Hee Hee. Life is
good. If you buy ReiserFS, you can focus on your value add rather than
reinventing an entire FS. You should buy some free software too....
SuSE pays for continuing work on journaling for version 3, and paid for much of
the previous version 3 work. Reiserfs integration in their distro is
consistently solid.
MP3.com paid for initial journaling development.
Bigstorage.com contributes to our general fund every month, and has done so for
quite a long time.
Thanks to all of those sponsors, including the secret ones. Without you, Hans
would still have that day job, and the merry band of hackers would be missing
quite a few....
Have fun.
root@jack5:~#
root@jack5:~# mkreiserfs /dev/sdb1
<-------------mkreiserfs, 2002------------->
reiserfsprogs 3.x.1b
mkreiserfs: Guessing about desired format..
mkreiserfs: Kernel 2.4.20 is running.
Format 3.6 with standard journal
Count of blocks on the device: 13109032
Number of blocks consumed by mkreiserfs formatting process: 8612
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 2d11375d-466c-4d3e-ba81-cea6987b6e80
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/sdb1'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
The Defense Advanced Research Projects Agency (DARPA) is the primary sponsor of
Reiser4. DARPA does not endorse this project; it merely sponsors it.
Continuing core development of version 3 is mostly paid for by Hans Reiser from
money made selling licenses in addition to the GPL to companies who don't want
it known that they use ReiserFS as a foundation for their proprietary product.
And my lawyer asked 'People pay you money for this?'. Yup. Hee Hee. Life is
good. If you buy ReiserFS, you can focus on your value add rather than
reinventing an entire FS. You should buy some free software too....
SuSE pays for continuing work on journaling for version 3, and paid for much of
the previous version 3 work. Reiserfs integration in their distro is
consistently solid.
MP3.com paid for initial journaling development.
Bigstorage.com contributes to our general fund every month, and has done so for
quite a long time.
Thanks to all of those sponsors, including the secret ones. Without you, Hans
would still have that day job, and the merry band of hackers would be missing
quite a few....
Have fun.
root@jack5:~#
root@jack5:~# mkreiserfs /dev/sdb2
<-------------mkreiserfs, 2002------------->
reiserfsprogs 3.x.1b
mkreiserfs: Guessing about desired format..
mkreiserfs: Kernel 2.4.20 is running.
Format 3.6 with standard journal
Count of blocks on the device: 16904396
Number of blocks consumed by mkreiserfs formatting process: 8727
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 5a870a5d-6a1d-4e33-9b39-a07d8cdc5d41
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/sdb2'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100%
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
The Defense Advanced Research Projects Agency (DARPA) is the primary sponsor of
Reiser4. DARPA does not endorse this project; it merely sponsors it.
Continuing core development of version 3 is mostly paid for by Hans Reiser from
money made selling licenses in addition to the GPL to companies who don't want
it known that they use ReiserFS as a foundation for their proprietary product.
And my lawyer asked 'People pay you money for this?'. Yup. Hee Hee. Life is
good. If you buy ReiserFS, you can focus on your value add rather than
reinventing an entire FS. You should buy some free software too....
SuSE pays for continuing work on journaling for version 3, and paid for much of
the previous version 3 work. Reiserfs integration in their distro is
consistently solid.
MP3.com paid for initial journaling development.
Bigstorage.com contributes to our general fund every month, and has done so for
quite a long time.
Thanks to all of those sponsors, including the secret ones. Without you, Hans
would still have that day job, and the merry band of hackers would be missing
quite a few....
Have fun.
root@jack5:~#
root@jack5:~# mkreiserfs /dev/hdb3
<-------------mkreiserfs, 2002------------->
reiserfsprogs 3.x.1b
mkreiserfs: Guessing about desired format..
mkreiserfs: Kernel 2.4.20 is running.
Format 3.6 with standard journal
Count of blocks on the device: 1307289
Number of blocks consumed by mkreiserfs formatting process: 8251
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: b162902e-7b9d-41f1-954c-11521ce7b4cd
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/hdb3'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
The Defense Advanced Research Projects Agency (DARPA) is the primary sponsor of
Reiser4. DARPA does not endorse this project; it merely sponsors it.
Continuing core development of version 3 is mostly paid for by Hans Reiser from
money made selling licenses in addition to the GPL to companies who don't want
it known that they use ReiserFS as a foundation for their proprietary product.
And my lawyer asked 'People pay you money for this?'. Yup. Hee Hee. Life is
good. If you buy ReiserFS, you can focus on your value add rather than
reinventing an entire FS. You should buy some free software too....
SuSE pays for continuing work on journaling for version 3, and paid for much of
the previous version 3 work. Reiserfs integration in their distro is
consistently solid.
MP3.com paid for initial journaling development.
Bigstorage.com contributes to our general fund every month, and has done so for
quite a long time.
Thanks to all of those sponsors, including the secret ones. Without you, Hans
would still have that day job, and the merry band of hackers would be missing
quite a few....
Have fun.
root@jack5:~#
as said in docs/ref/build_unix/intro.html, let's do:
# cd /usr/local/src/
# tar zxvf db-4.1.25.tar.gz
# cd db-4.1.25/build_unix
# ../dist/configure
# make
# make install
this install Berkeley DB 4.1.25 in:
/usr/local/BerkeleyDB.4.1/
as said in the doc:
$ cd /usr/local/src/krb5-1.2.8/doc/
$ kghostview install-guide.ps
# cd /usr/local/src/
# tar zxvf krb5-1.2.8.tar.gz
# cd krb5-1.2.8/src/
# ./configure
# make
# make check
# make install
this install Kerberos v5:
/usr/local/
# tar zxvf cyrus-sasl-2.1.14.tar.gz
# cd cyrus-sasl-2.1.14/
# tar zxvf cyrus-sasl-1.5.28.tar.gz
# cd cyrus-sasl-1.5.28/
# ./configure
# make
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -Wall -W -g -O2 -c checkpw.c -fPIC -DPIC -o checkpw.lo
checkpw.c:63: krb.h: No such file or directory
make[2]: *** [checkpw.lo] Error 1
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-1.5.28/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-1.5.28'
make: *** [all-recursive-am] Error 2
root@jack5:/usr/local/src/cyrus-sasl-1.5.28# mc
# make install
# ln -s /usr/local/lib/sasl2 /usr/lib/sasl2
# tar zxvf openldap-stable-20030531.tgz
# cd openldap-2.1.21/
# ./configure
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible
# make depend
# make
# make test
# make install
Install Mozilla Flash 6 plugin
as said on Mozilla dev site:
plugindoc.mozdev.org/linux.html
donwload the plugin, uncompress it and install it by:
1 - copy libflashplayer.so to your Mozilla plugins directory
2 - and flashplayer.xpt to your Mozilla components directory.
# tar zxvf install_flash_player_6_linux.tar.gz
# cd install_flash_player_6_linux
# ./flashplayer-installer
# cd /usr/lib/mozilla/
# mv plugins/flashplayer.xpt components/
then ask about Mozilla plugins:
Shockwave Flash
- File name: /usr/lib/mozilla/plugins/libflashplayer.so
Shockwave Flash 6.0 r79
Mime Type |
Description |
Suffixes |
Enabled |
application/x-shockwave-flash |
Shockwave Flash |
swf |
Yes |
application/futuresplash |
FutureSplash Player |
spl |
Yes |
it's up !
to be continued...
....