amilo-forum.com

Everything you need to know about Amilo and Lifebook laptops by Fujitsu

Installing linux on FSC Amilo Xa 2528/24p

Everything around Linux and Unix-like operating systems.

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby marksken » Fri Feb 27, 2009 1:44 pm

Ok will try that one but will be this evening got to go now thanx for the tipsm will keep you informed
marksken
 
Posts: 13
Joined: Wed Feb 25, 2009 8:17 am

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby hikaru » Fri Feb 27, 2009 2:40 pm

Don't hurry, I don't have this problem. I'm just interested. :-)

I just browsed the german forum again and found that you posted in this thread too:
https://www.amilo-forum.de/topic,24120,-XA-2528-und-Live-systeme-Irgendwie-moegen-die-sich-net.html

I did some further research and now I think that the amd64-versions of distributions with kernel 2.6.28 might work better than the x86-versions.
So before you try Fedora 32bit I think it would be more promising to try the 64bit-flavours of Ubuntu 9.04 alpha or Sidux.
User avatar
hikaru
Moderator
 
Posts: 1153
Joined: Thu Oct 25, 2007 9:23 am
Notebook:
  • Amilo Si 1520
  • Desktop
  • Asus EEE 901

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby marksken » Fri Feb 27, 2009 6:42 pm

To bad still no luck tried Ubunt 9.04 Alpha 5 64bit and the Fedora 11 from the link
marksken
 
Posts: 13
Joined: Wed Feb 25, 2009 8:17 am

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby marksken » Sat Feb 28, 2009 8:52 pm

Today i got a mail with a explaination how it should be fixed,
but i don t understand it maybe someone here does so i gonna post it here

From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: [PATCH] amd74xx: workaround unreliable AltStatus register for nVidia controllers

It seems that on some nVidia controllers using AltStatus register
can be unreliable so default to Status register if the PCI device
is in Compatibility Mode. In order to achieve this:

* Add ide_pci_is_in_compatibility_mode() inline helper to <linux/ide.h>.

* Add IDE_HFLAG_BROKEN_ALTSTATUS host flag and set it in amd74xx host
driver for nVidia controllers in Compatibility Mode.

* Teach actual_try_to_identify() and drive_is_ready() about the new flag.

This fixes the regression caused by removal of CONFIG_IDEPCI_SHARE_IRQ
config option in 2.6.25 and using AltStatus register unconditionally when
available (kernel.org bug #11659).

Thanks to Remy LABENE for help with debugging the problem.

More info at:
http://bugzilla.kernel.org/show_bug.cgi?id=11659

Reported-by: Remy LABENE <remy.labene@free.fr>
Cc: Borislav Petkov <petkovbb@googlemail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
This fix should be safe for both .28 and -stable.

drivers/ide/amd74xx.c | 11 ++++++++++-
drivers/ide/ide-iops.c | 3 ++-
drivers/ide/ide-probe.c | 3 ++-
include/linux/ide.h | 8 ++++++++
4 files changed, 22 insertions(+), 3 deletions(-)

Index: b/drivers/ide/amd74xx.c
===================================================================
--- a/drivers/ide/amd74xx.c
+++ b/drivers/ide/amd74xx.c
@@ -3,7 +3,7 @@
* IDE driver for Linux.
*
* Copyright (c) 2000-2002 Vojtech Pavlik
- * Copyright (c) 2007 Bartlomiej Zolnierkiewicz
+ * Copyright (c) 2007-2008 Bartlomiej Zolnierkiewicz
*
* Based on the work of:
* Andre Hedrick
@@ -263,6 +263,15 @@ static int __devinit amd74xx_probe(struc
d.udma_mask = ATA_UDMA5;
}

+ /*
+ * It seems that on some nVidia controllers using AltStatus
+ * register can be unreliable so default to Status register
+ * if the device is in Compatibility Mode.
+ */
+ if (dev->vendor == PCI_VENDOR_ID_NVIDIA &&
+ ide_pci_is_in_compatibility_mode(dev))
+ d.host_flags |= IDE_HFLAG_BROKEN_ALTSTATUS;
+
printk(KERN_INFO "%s %s: UDMA%s controller\n",
d.name, pci_name(dev), amd_dma[fls(d.udma_mask) - 1]);

Index: b/drivers/ide/ide-iops.c
===================================================================
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -468,7 +468,8 @@ int drive_is_ready (ide_drive_t *drive)
* an interrupt with another pci card/device. We make no assumptions
* about possible isa-pnp and pci-pnp issues yet.
*/
- if (hwif->io_ports.ctl_addr)
+ if (hwif->io_ports.ctl_addr &&
+ (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0)
stat = hwif->tp_ops->read_altstatus(hwif);
else
/* Note: this may clear a pending IRQ!! */
Index: b/drivers/ide/ide-probe.c
===================================================================
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -266,7 +266,8 @@ static int actual_try_to_identify (ide_d
/* take a deep breath */
msleep(50);

- if (io_ports->ctl_addr) {
+ if (io_ports->ctl_addr &&
+ (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0) {
a = tp_ops->read_altstatus(hwif);
s = tp_ops->read_status(hwif);
if ((a ^ s) & ~ATA_IDX)
Index: b/include/linux/ide.h
===================================================================
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1296,6 +1296,13 @@ extern int __ide_pci_register_driver(str
#define ide_pci_register_driver(d) pci_register_driver(d)
#endif

+static inline int ide_pci_is_in_compatibility_mode(struct pci_dev *dev)
+{
+ if ((dev->class >> 8) == PCI_CLASS_STORAGE_IDE && (dev->class & 5) != 5)
+ return 1;
+ return 0;
+}
+
void ide_pci_setup_ports(struct pci_dev *, const struct ide_port_info *, int,
hw_regs_t *, hw_regs_t **);
void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *);
@@ -1375,6 +1382,7 @@ enum {
IDE_HFLAG_IO_32BIT = (1 << 24),
/* unmask IRQs */
IDE_HFLAG_UNMASK_IRQS = (1 << 25),
+ IDE_HFLAG_BROKEN_ALTSTATUS = (1 << 26),
/* serialize ports if DMA is possible (for sl82c105) */
IDE_HFLAG_SERIALIZE_DMA = (1 << 27),
/* force host out of "simplex" mode */
marksken
 
Posts: 13
Joined: Wed Feb 25, 2009 8:17 am

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby KiAnKo » Sun Mar 01, 2009 12:27 pm

Hi, sorry for the delayed answer.

First of all, visit FSC webpage and download all updates (BIOS etc) and install them via VISTA...

I found "uweg" on the German Ubuntu forum (http://forum.ubuntuusers.de), who have sent me some help (some text have been translated from German by me):

WLAN
new progress in the AMILO Ubuntu(Linux) adventure. Now WLAN is working .
I've used the 32bit Ubuntu version 7.10-386 . Simply install with Synaptic
the following programs: ndiswrapper-common, ndiswrapper-utils-1.9 und ndisgtk.

Under Windows Vista system drive in the DRIVERS folder you can find the sis163u.inf file.

Start the ndisgtk program with root account: gksu ndisgtk and then select the sis163u.inf file.

Then you can configure the wireless connection with the Configure Network button. That's it.

I believe there are only 32bit versions of wlan drivers available and working and that was
the problem with the 64bit version of Ubuntu.



Sound
Only works with LINEOUT (headset) at first. But this will make the speakers and LINE OUT work!
Enter:
Code: Select all
options snd-hda-intel model=6stack-dig

in the file: /etc/modprobe.d/alsa-base

Then I renewed the ALSA Driver, Libs and Utils freed the Backport source and now works both LINE OUT and SPEAKERS

Here are some links
http://forum.ubuntuusers.de/go.php?wiki ... lieren/HDA
https://help.ubuntu.com/community/HdaIntelSoundHowto
Last edited by KiAnKo on Sun Mar 01, 2009 10:37 pm, edited 2 times in total.
FSC Amilo 2528/24P (AMD Turion X2 TL-64, 2GB, 2.2 GHz, Nvidia GeForce 8600M GS 256MB, 2x160 GB HDD).
Stockholm, Sweden - Speaks English, German and Swedish.
KiAnKo
 
Posts: 13
Joined: Sun Jan 20, 2008 11:52 pm
Location: Stockholm, Sweden
Notebook:
  • Amilo Xa 2528/24P

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby KiAnKo » Sun Mar 01, 2009 2:56 pm

DVD:
Don't yet know which steps may be skipped, but this should work;
- get Linux kernel version: 2.6.24-rc3
- some of the probably important settings in .config:

Code: Select all
    CONFIG_FUJITSU_LAPTOP=m
    CONFIG_IDE=m
    CONFIG_BLK_DEV_IDE=m
    # CONFIG_BLK_DEV_IDE_SATA is not set
    # CONFIG_BLK_DEV_HD_IDE is not set
    # CONFIG_BLK_DEV_IDEDISK is not set
    CONFIG_IDEDISK_MULTI_MODE=y
    CONFIG_BLK_DEV_IDEACPI=y
    CONFIG_IDE_GENERIC=m
    CONFIG_BLK_DEV_IDEPCI=y
    # CONFIG_IDEPCI_SHARE_IRQ is not set
    CONFIG_BLK_DEV_AMD74XX=m
    CONFIG_BLK_DEV_IDEDMA=y
    CONFIG_SCSI=y
    CONFIG_SCSI_DMA=y
    CONFIG_SCSI_TGT=m
    CONFIG_SCSI_NETLINK=y
    CONFIG_SCSI_PROC_FS=y
    CONFIG_BLK_DEV_SD=y
    CONFIG_ATA=y
    # CONFIG_ATA_NONSTANDARD is not set
    CONFIG_ATA_ACPI=y
    CONFIG_SATA_AHCI=y
    CONFIG_SATA_NV=y
    CONFIG_PATA_ACPI=m
    # CONFIG_PATA_AMD is not set
    CONFIG_ATA_GENERIC=m
    CONFIG_MD=y
    CONFIG_BLK_DEV_DM=m
    CONFIG_I2C_NFORCE2=m
    CONFIG_SND_HDA_CODEC_REALTEK=y
    CONFIG_SND_HDA_GENERIC=y
    CONFIG_SOUND_PRIME=m
    CONFIG_SOUND_OSS=m
    CONFIG_HID_SUPPORT=y
    CONFIG_HID=m


- compile, etc.
- At first I thought I had to boot with kernel option hda=nodma, but now it works without this. Dunno which option did it.
- kernel 2.6.24-rc3 will give you sound too, though not from your speakers.
- Unfortunately display brightness control still does not work, despite the Fujitsu module.



taken from http://www.amilo-forum.de/topic,19913,- ... A2528.html


Install UBUNTU at FSC Amilo Xa 2528/24p:
www.instalinux.com

Useful links:
http://www.amilo-forum.de/topic,19913,-Getting-the-DVDdrive-to-work-Amilo-XA2528.html
FSC Amilo 2528/24P (AMD Turion X2 TL-64, 2GB, 2.2 GHz, Nvidia GeForce 8600M GS 256MB, 2x160 GB HDD).
Stockholm, Sweden - Speaks English, German and Swedish.
KiAnKo
 
Posts: 13
Joined: Sun Jan 20, 2008 11:52 pm
Location: Stockholm, Sweden
Notebook:
  • Amilo Xa 2528/24P

100% linux on FSC Amilo Xa 2528/24p!!!

Postby KiAnKo » Sun Mar 22, 2009 9:49 pm

Hi

Here is how to install LINUX (UBUNTU) into FSC Amilo Xa 2528/24p so that 100% works:

1) Use http://www.instalinux.com to install LINUX
2) Download the FSC AMILO XA 2528 special compiled kernal from http://cereli.org/sites/cereli/fichier/distrib/ubuntu/noyau/
3) "Install" the kernal to your computer from LINUX
4) Voila![/list]

Now everything works - DVD, WLAN, SOUND etc.

More info:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/189368
http://webui.sourcelabs.com/ubuntu/issues/189368
http://bugzilla.kernel.org/show_bug.cgi?id=11659
FSC Amilo 2528/24P (AMD Turion X2 TL-64, 2GB, 2.2 GHz, Nvidia GeForce 8600M GS 256MB, 2x160 GB HDD).
Stockholm, Sweden - Speaks English, German and Swedish.
KiAnKo
 
Posts: 13
Joined: Sun Jan 20, 2008 11:52 pm
Location: Stockholm, Sweden
Notebook:
  • Amilo Xa 2528/24P

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby Jesper » Fri Mar 27, 2009 7:36 am

Hi,

Sounds great that its all working:0)....I just have a couple of questions. Which version of Ubuntu are you using....by looking at the version of the fixed kernel(linux-image-2.6.24.3_386+2.6.24.8+rt+ubuntu_i386.deb) I am assuming Hardy, is that correct? I was having problems installing from instalinux.com, so i used an image from ubuntu repository instead(http://archive.ubuntu.com/ubuntu/dists/ ... t/mini.iso). And it didnt. quite work for me. Is the assumption correct that I only have to install this deb: linux-image-2.6.24.3_386+2.6.24.8+rt+ubuntu_i386.deb, and the rest of the files: procedure...etc. is just for reference on how to create the deb file?

BR Jesper
Jesper
 
Posts: 2
Joined: Fri Mar 27, 2009 7:27 am

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby KiAnKo » Fri Mar 27, 2009 8:56 am

I going to reinstall VISTA today/weekend and also install UBUNTU. I got the info in my last post from a friend - just wanted to help all other people...

So far all people I have spoken with have used INSTALINUX (latest version 8.4 and then 8.10) to install UBUNTU. I have so far only tried other options (CD, alt CD, wubi and other distros from CD) and none have worked.

I "think" that for your installed version of UBUNTU you can "install" the new kernal in my links (i have never compiled or "installed a new kernal myself) and then "everything" should work. REMEMBER TO BACKUP BACKUP BACKUP!!!

I will try the 64-bit version of UBUNTU 8.10 this weekenda... I'll come back with more info afterwards. I will ask for help in the Swedish Ubuntuforums regarding the kernal...
FSC Amilo 2528/24P (AMD Turion X2 TL-64, 2GB, 2.2 GHz, Nvidia GeForce 8600M GS 256MB, 2x160 GB HDD).
Stockholm, Sweden - Speaks English, German and Swedish.
KiAnKo
 
Posts: 13
Joined: Sun Jan 20, 2008 11:52 pm
Location: Stockholm, Sweden
Notebook:
  • Amilo Xa 2528/24P

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby Jesper » Sat Mar 28, 2009 5:26 pm

Hi,

I have succesfully installed a jaunty beta netboot image: http://archive.ubuntu.com/ubuntu/dists/ ... t/mini.iso
I seems everything, but the cdrom works...havent tested webcam though.....My only concern is what happens when the jaunty release comes out...but I guess an update will be automatically available from the beta.

BR Jesper
Jesper
 
Posts: 2
Joined: Fri Mar 27, 2009 7:27 am

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby marksken » Mon Jun 08, 2009 4:23 pm

i found a config file for kernel 2.6.29.1 that should make the dvd-drive working, but i have no idea how to compile ,maybe someone else kan do it and upload that kernel for us or a good guide to do

ps i can't upload it for some reason but if you send me a mail markskenvdb@gmail.com i'll send the config

thanx

Mark
marksken
 
Posts: 13
Joined: Wed Feb 25, 2009 8:17 am

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby marksken » Mon Aug 17, 2009 8:45 am

http://forum.ubuntu-fr.org/viewtopic.php?id=180604&p=17 Here you can find an iso of ubuntu 9.04 that works
marksken
 
Posts: 13
Joined: Wed Feb 25, 2009 8:17 am

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby hikaru » Mon Aug 17, 2009 9:59 am

marksken wrote:http://forum.ubuntu-fr.org/viewtopic.php?id=180604&p=17 Here you can find an iso of ubuntu 9.04 that works
For the ones who don't understand french:
The user The Deceiver of http://forum.ubuntu-fr.org/ recompiled a jaunty kernel for i386 that seems to work with the Xa 2528. He has been asked for an amd64 kernel but up to now there seems to be no plan to release one.

You can find the kernel-image, headers and source in the link ici (=here) of post #308 in this thread:
http://forum.ubuntu-fr.org/viewtopic.php?id=180604&p=13

He later created a remastered ISO with his kernel that can be found in post #318: ISO Ubuntu 9.04
User avatar
hikaru
Moderator
 
Posts: 1153
Joined: Thu Oct 25, 2007 9:23 am
Notebook:
  • Amilo Si 1520
  • Desktop
  • Asus EEE 901

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby debaerd » Mon Sep 14, 2009 2:54 pm

Everything should work if you just recompile ide-core amd74xx and ide-cd
For me everithing is working after removing pata-amd and pata-acpi
i am using fedora 11, but i supose it should work for everybody
i mention that i had to change the sourcecode from ide-timings becouse i ran in to much "already owned" symbols (for kernel 2.6.30 2.6.29 ran out of the box)
debaerd
 
Posts: 1
Joined: Mon Sep 14, 2009 2:50 pm

Re: Installing linux on FSC Amilo Xa 2528/24p

Postby Bekos » Fri Oct 02, 2009 9:57 pm

Did anyone test the linux ISO from the french ubuntu forum?
I'd like to be sure it won't ruin my laptop. :)
Bekos
 
Posts: 1
Joined: Fri Oct 02, 2009 9:54 pm

PreviousNext

Return to Linux / Unix / BSD