Skip to contentSkip to conversation

serious problem with XFS on nvidia IDE controller

DISCUSSION Massimiliano Adamo 2 participants 7 messages Mar 21, 2008 – Mar 22, 2008 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi all,

I have a notebook, Acer Aspire 5520 using the following controller:
0:06.0 IDE interface: nVidia Corporation Unknown device 0560 (rev a1)

dmidecode doesn't recognize this controller, lshw says almost the same like lspci does.

My kernel is the one provided with Ubuntu 7.10: 2.6.22-14

At present, this controller is not managed by any driver in the linux kernel, and in order to boot, I have to append the string "all_generic_ide" into grub config file. Otherwise system doesn't boot.

As I like all tools provided with XFS (even if it's missing shrinking capabilities :)), I decided to install Ubuntu over XFS filesystem.

I have installed the system at least 3 times in one day, before understanding that the problem was XFS filesystem.
After each reboot there were file missing, when running ldconfig I was getting messages like: the file blabla_blabla.so is truncated, or is corrupted... I had to perform installation once again, and then use reiser.

I also noticed that "sync" command was always taking a long time to complete.

Does anyone has idea what can be the problem?
Does XFS refuses to work with generic_ata driver?
I am using XFS on another 2 computers without any problem. Furthermore, now with reiser i don't have any kind of problem.

the following is the output taken from lshw-gtk:

product: nVidia Corporation
vendor: nVidia Corporation
bus info: pci@0000:00:06.0
logical name: scsi0
version: a1
width: 32 bits
clock: 66MHz
capabilities:
ide,
Power Management,
bus mastering,
PCI capabilities listing,
Emulated device
configuration:
driver: ata_generic
latency: 0
maxlatency: 1
mingnt: 3
module: ata_generic

cheers
Massimiliano

#1 lore raw

On Fri, Mar 21, 2008 at 07:56:18PM +0100, Massimiliano Adamo wrote:
...

Quoted 5 lines

My kernel is the one provided with Ubuntu 7.10: 2.6.22-14

At present, this controller is not managed by any driver in the linux kernel, and in order to boot, I have to append the string "all_generic_ide" into grub config file. Otherwise system doesn't boot.

I have no idea if a newer kernel does support it, but it might be worth a try.

...

Quoted 5 lines

I have installed the system at least 3 times in one day, before understanding that the problem was XFS filesystem.
After each reboot there were file missing, when running ldconfig I was getting messages like: the file blabla_blabla.so is truncated, or is corrupted...

Is there anything in dmesg?

Josef 'Jeff' Sipek.

Signature · 1 line
We have joy, we have fun, we have Linux on a Sun...
#2 lore raw

Il giorno ven, 21/03/2008 alle 15.02 -0400, Josef 'Jeff' Sipek ha scritto:

Quoted 10 lines · Massimiliano Adamo

...

Quoted 5 lines

My kernel is the one provided with Ubuntu 7.10: 2.6.22-14

At present, this controller is not managed by any driver in the linux kernel, and in order to boot, I have to append the string "all_generic_ide" into grub config file. Otherwise system doesn't boot.

I have no idea if a newer kernel does support it, but it might be worth a try.

I should have to do this ... but now I have my system installed with reiser :(

Furthermore, I left Gentoo, and I am using ubuntu as I hate recompiling... and I wouldn't recompile a kernel on it. What I can do, is to boot with last "partimage live-cd" (which uses newer kernel), and try to see if it loads some other driver.

Quoted 9 lines

...

Quoted 5 lines

I have installed the system at least 3 times in one day, before understanding that the problem was XFS filesystem.
After each reboot there were file missing, when running ldconfig I was getting messages like: the file blabla_blabla.so is truncated, or is corrupted...

Is there anything in dmesg?

As I can remember there was nothing really interesting...

Quoted 1 line

We have joy, we have fun, we have Linux on a Sun...

very nice signature :)

Signature · 1 line
Massimiliano
#3 lore raw
In reply to Josef 'Jeff' Sipek

Il giorno ven, 21/03/2008 alle 15.02 -0400, Josef 'Jeff' Sipek ha scritto:

Quoted 11 lines · Massimiliano Adamo

...

Quoted 5 lines

My kernel is the one provided with Ubuntu 7.10: 2.6.22-14

At present, this controller is not managed by any driver in the linux kernel, and in order to boot, I have to append the string "all_generic_ide" into grub config file. Otherwise system doesn't boot.

I have no idea if a newer kernel does support it, but it might be worth a try.

I've booted with a live-cd using a newer kernel (2.6.24), and the controller is now recognized properly (and not unknown):

description: IDE interface
product: MCP67 IDE Controller
vendor: nVidia Corporation
....
configuration: driver=pata_amd

Anyway, the point is that with ata_generic my kernel is working properly with reiser, and is not working with XFS.

Signature · 2 lines
cheers
Massimiliano
#4 lore raw

Il giorno ven, 21/03/2008 alle 21.51 +0100, Massimiliano Adamo ha scritto:

Quoted 5 lines

I've booted with a live-cd using a newer kernel (2.6.24), and the controller is now recognized properly (and not unknown):

description: IDE interface
product: MCP67 IDE Controller

ok, that was not a kernel problem.
It was enough to run update-pciids, even on my kernel :)

Quoted 1 line

configuration: driver=pata_amd

this driver does not exist on my kernel.
It may be the problem, but the problem is not arising with reiser.

Signature · 1 line
Massimiliano

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Il giorno ven, 21/03/2008 alle 16.06 -0700, Chris Wedgwood ha scritto:

Quoted 9 lines · Massimiliano Adamo
Quoted 3 lines

I have a notebook, Acer Aspire 5520 using the following controller:
0:06.0 IDE interface: nVidia Corporation Unknown device 0560 (rev a1)

MCP67 IDE

drivers/ata/pata_amd.c got support for that with 05e2867a, so after 2.6.19-rc4

You're right, now I know it. I updated pci ids with "update-piciids" command and I found the name of the controller. After that I booted from a live-cd and I got pata_amd running, but this module doesn't belong to Ubuntu kernel (I don't have it)... I'll search how to add this module, if possible. But I would never recompile a kernel on ubuntu (don't have time for this). I left gentoo to avoid recompiling.

Quoted 7 lines

drivers/ide/pci/amd74xx.c, 9cbcc5e3, after v2.6.23

Quoted 1 line

My kernel is the one provided with Ubuntu 7.10: 2.6.22-14

For the sata driver that should work then i would think. You might want to see what the Ubuntu people have to say about that.

let's say the problem is: "ubuntu people" are neither hacker or guru, and majority of people just use the default filesystem.

Quoted 5 lines
Quoted 2 lines

I have installed the system at least 3 times in one day, before understanding that the problem was XFS filesystem.

I doubt it.

What is your doubt? System is now running fine.
I have been reinstalling the system the whole day, and after each reboot I was missing files from the filesystem.
I didn't have messages in dmes, or in logs.
The last attempt was to change filesystem. I just reinstalled the same version of the operating system, just changing to reiser and everything is now ok.
Is there anything else to understand?
The syWith XFS the system was broken after 20 minutes.

Quoted 5 lines
Quoted 2 lines

I also noticed that "sync" command was always taking a long time to complete.

Lots of dirty pages and slow writeout (PIO) might explain that.

Agree, but why no problems like this with reiser?

Signature · 1 line
Massimiliano

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

Il giorno ven, 21/03/2008 alle 17.55 -0700, Chris Wedgwood ha scritto:

Quoted 8 lines · Massimiliano Adamo
Quoted 3 lines

let's say the problem is: "ubuntu people" are neither hacker or guru, and majority of people just use the default filesystem.

they have a bug tracker and kernel people, i'm sure if you have module problems there is someone who can look into it

I have found this:
https://answers.launchpad.net/ubuntu/+question/7694
It's not completely true in my case (as I have /dev/sdxx), but it says that this driver is not there anymore.

The reason for removing that driver could be this one:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/191007

Anyway, I wouldn't mind about the reason, and the point is that I should recompile the kernel.
And no way, I am not using ubuntu to waste time recompiling kernels :)

Quoted 4 lines
Quoted 1 line

Agree, but why no problems like this with reiser?

xfs don't journal data, by design, that might be what you are seeing, or something else, it's not clear without more information

Now for me it's difficult to reproduce this bug, as the installation with XFS was completetely unsable (i was able to boot no more then two/three times). At least I should create a new partition with xfs and run tests over it.

Signature · 2 lines
cheers
Massimiliano