PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : HowTo: RedHat 9 auf HP pavilion ze5343 installieren



Windoofsklicker
25.08.03, 19:29
Please note:
The information provided by this document are without any warranty. If you
cause harm or damage to yours or others notebooks, I am not responsible for.

1. What you need:

- Red Hat 9 Installation CDs
- apt-get for RedHat: http://freshrpms.net/apt/ (optional but very useful!)
- Kernel 2.4.20-20.9 (about 15 megabytes)
- Kernel Sources 2.4.20-20.9 (about 30 megabytes)
- ACPI Patch (acpi-20021118-2.4.20-rc1.diff.gz)
http://acpi.sourceforge.net/
- The kernel config file:
(http://www.swendrak.de/linux/kernel-2.4.20-20.9_acpi)
- HP pavilion ze5343ea of course :D


2. How to install RedHat:

Boot the first installation cd and enter: linux nofirewire at the boot prompt.
Choose your language, disk partition and software packages as suitable for
your needs.
Important: Select the (Kernel) Development Tools to install. You will need the
automake functions and the compilers, provided through those packages, to
compile the kernel, afterwards.
After installation of the packages, the computer will reboot. Press the i Button
to enter the interactive startup. Otherwise it will crash. Press y if questioned
except at kudzu, firewire and pcmcia. Kudzu will crash every startup and
pcmcia crashes if you try to stop it, unless ACPI is properly configured.
Now, after the machine has rebooted, disable the services kudzu and pcmcia,
so that you don’t need to enter the interactive startup, every time you reboot.
To do this, type setup as root in the console or use the gui tool redhat-configservices.
Sound, Video and Ethernet should be configured properly by
RedHat.
Edit the /boot/grub/grub.conf:
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi nofirewire
At this point, you should be able to boot the pavilion without any user- action.


3. Configure ACPI/ Compiling the kernel:

As root, install the kernel 2.4.20-20.9 and the kernel sources. I prefer apt-get
for this job. To install apt-get just download the rpm- file, go into the directory
you stored the file in and type as root rpm -i apt<version>.rpm.
Then type apt-get update and after that apt-get install kernel#2.4.20-20.9
and finally apt-get install kernel-source#2.4.20-20.9.
If you want, you can reboot now with the new kernel.
Now you’re going to compile the kernel. As root go into /usr/src/linux-2.4/ and
type cp /<wheretheconfigfileis> ./configs/kernel-2.4.20-20.9_acpi
Then apply the kernel patch acpi-20021118-2.4.20-rc1.diff.gz to the kernel
sources:
gunzip -c <path to acpi-patch>/acpi-<version>.diff.gz | patch -p1
Now type make clean ; make mrproper ; make xconfig.
When the computer finished cleaning, a menu appears. Now use the button
“Load configuration from File” and type ./configs/kernel-2.4.20-20.9_acpi.
Press the “Save and Exit button” and type:
make dep ; make bzImage ; make modules ; make modules_install
Now get a cup of coffee or a beer or whatever you like.
When the kernel is finished, copy the /usr/src/linux-2.4/arch/i386/boot/bzImage
to /boot/kernel-2.4.20-20_acpi.
Then insert the following lines in /boot/grub/grub.conf:
title Red Hat Linux (2.4.20-20.9) ACPI
root (hd0,1)
kernel /kernel-2.4.20-20.9_acpi ro root=/dev/hda3 hdc=ide-scsi
initrd /initrd-2.4.20-20.9.img
and add alias eth1 orinoco_pci to /etc/modules.conf
Type apt-get install acpid. This will install the ACPI Daemon.
After the reboot, you can enable the pcmcia service for startup and configure
the wavelan card in the gui- tool.
That’s it! :)

Things, I’ve not checked yet:
- PCMCIA Cards
- Firewire
- TV Out
- Modem

kth
25.08.03, 22:28
Ein neuerer ACPI-Patch (vom 19.06.2003) für den Red Hat Kernel 2.4.20-20.9 findet sich hier:

http://www.tzi.de/~kthomsen/acpi-20030619-2.4.20-20.9redhat.diff.bz2

Windoofsklicker
26.08.03, 13:42
den habe ich erste gesehen, nachdem ich den anderen probiert hatte.
da der lief, hab' ich es so gelassen... :)

gfc
26.08.03, 13:45
btw: kernel 2.4.22 läuft ohne Patch wunderbar :)

kth
26.08.03, 16:37
Original geschrieben von gfc
btw: kernel 2.4.22 läuft ohne Patch wunderbar :)
$ uname -r
2.4.22
$ opera
Segmentation fault
$ LD_ASSUME_KERNEL=2.4.1 opera
Segmentation fault
$ LD_ASSUME_KERNEL=2.2.5 opera
opera: [java] Disabling java due to potential problems. If you know
what you are doing, you can set the environment variable
OPERA_FORCE_JAVA_ENABLED to '1' to override this.
Start Opera with '-debugjava' argument for more information.Dem vanilla 2.4.22er fehlen die Red Hat Patches (Backports von 2.5) für NPTL und Thread Local Storage (TLS) Support.

gfc
26.08.03, 16:54
Original geschrieben von kth

$ uname -r
2.4.22
$ opera
Segmentation fault
$ LD_ASSUME_KERNEL=2.4.1 opera
Segmentation fault
$ LD_ASSUME_KERNEL=2.2.5 opera
opera: [java] Disabling java due to potential problems. If you know
what you are doing, you can set the environment variable
OPERA_FORCE_JAVA_ENABLED to '1' to override this.
Start Opera with '-debugjava' argument for more information.Dem vanilla 2.4.22er fehlen die Red Hat Patches (Backports von 2.5) für NPTL und Thread Local Storage (TLS) Support.

komisch, bei mir läuft alles ohne Probleme/Fehlermeldung.. vielleicht mach ich ja was falsch.. :p

kth
26.08.03, 17:05
Original geschrieben von gfc
komisch, bei mir läuft alles ohne Probleme/Fehlermeldung..Auch Opera 7.x?

Ist denn bei dir die glibc-Version 2.3.2-27.9 installiert? (in den Red Hat Updates enthalten)