All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marco Berizzi" <pupilla@hotmail.com>
To: Dave Chinner <david@fromorbit.com>
Cc: linux-kernel@vger.kernel.org, xfs@oss.sgi.com
Subject: Re: XFS: 2.6.26-rc6 link count mismatch for inode
Date: Wed, 18 Jun 2008 18:39:59 +0200	[thread overview]
Message-ID: <BAY103-DAV10F0AFAC45572E50A384AB2AB0@phx.gbl> (raw)
In-Reply-To: 20080618161252.GV3700@disturbed

Dave Chinner wrote:

> On Mon, Jun 16, 2008 at 11:11:31AM +0200, Marco Berizzi wrote:
> > Hi Folk,
> >
> > I was tring to compile firefox 3.0rc3
> > and while I was erasing a previous
> > /tmp/mozilla tree, I started a new
> > tar xjf mozilla-blabla.
> > After a while linux 2.6.26-rc6 was
> > unresponsive: I have unplugged the
> > power cable. No problem at startup,
> > but:
>
> What are your mount options?

root@Venus:/etc# cat mtab
/dev/sda2 / xfs rw 0 0

root@Venus:/etc# cat fstab
/dev/sda2        /                xfs         defaults         1   1

> Are you using barriers (what does XFS
> output in dmesg when mounting the filesystem)?

scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
ata1: SATA max UDMA/133 abar m2048@0xe4809000 port 0xe4809100 irq 17
ata2: DUMMY
ata3: DUMMY
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd b1/c1:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd c6/00:10:00:00:00:a0 succeeded
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 succeeded
ata1.00: ATA-7: ST9160821AS, 3.BHE, max UDMA/100
ata1.00: 312581808 sectors, multi 16: LBA48
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd b1/c1:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd c6/00:10:00:00:00:a0 succeeded
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 succeeded
ata1.00: configured for UDMA/100
ata1.00: configured for UDMA/100
ata1: EH complete
scsi 0:0:0:0: Direct-Access     ATA      ST9160821AS      3.BH PQ: 0
ANSI: 5
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO
 or FUA
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO
 or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
ata_piix 0000:00:1f.1: version 2.12
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.1 to 64
scsi3 : ata_piix
scsi4 : ata_piix
ata4: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x40c0 irq 14
ata5: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x40c8 irq 15
ata4.00: ATAPI: HL-DT-ST DVDRAM GSA-T20L, NC08, max MWDMA2
ata4.00: configured for MWDMA2
ata5: port disabled. ignoring.
scsi 3:0:0:0: CD-ROM            HL-DT-ST DVDRAM GSA-T20L  NC08 PQ: 0
ANSI: 5
PNP: PS/2 Controller [PNP0303:C298,PNP0f13:C299] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Using IPI Shortcut mode
input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/inpu
t0
XFS mounting filesystem sda2
Ending clean XFS mount for filesystem: sda2
VFS: Mounted root (xfs filesystem) readonly.

> I ask because I've
> seen this sort of directory corruption before when using volatile
> write caches and yanking the power....
>
> i.e. the corruption could have been caused by the way you reset the
> system, not because of the hang. Do you have any information on what
> caused the hang?

The tar xf mozilla-source.tarball was not responding
nor writing anything on the disk. I did issue also a
kill -9 'pid of tar xf' but it did not want to die.
So I think the problem was on the filesystem before
the incorrect shutdown.
I can retry the test. Let me know if I can do a
xfs_repair.

WARNING: multiple messages have this Message-ID (diff)
From: "Marco Berizzi" <pupilla@hotmail.com>
To: "Dave Chinner" <david@fromorbit.com>
Cc: <linux-kernel@vger.kernel.org>, <xfs@oss.sgi.com>
Subject: Re: XFS: 2.6.26-rc6 link count mismatch for inode
Date: Wed, 18 Jun 2008 18:39:59 +0200	[thread overview]
Message-ID: <BAY103-DAV10F0AFAC45572E50A384AB2AB0@phx.gbl> (raw)
In-Reply-To: 20080618161252.GV3700@disturbed

Dave Chinner wrote:

> On Mon, Jun 16, 2008 at 11:11:31AM +0200, Marco Berizzi wrote:
> > Hi Folk,
> >
> > I was tring to compile firefox 3.0rc3
> > and while I was erasing a previous
> > /tmp/mozilla tree, I started a new
> > tar xjf mozilla-blabla.
> > After a while linux 2.6.26-rc6 was
> > unresponsive: I have unplugged the
> > power cable. No problem at startup,
> > but:
>
> What are your mount options?

root@Venus:/etc# cat mtab
/dev/sda2 / xfs rw 0 0

root@Venus:/etc# cat fstab
/dev/sda2        /                xfs         defaults         1   1

> Are you using barriers (what does XFS
> output in dmesg when mounting the filesystem)?

scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
ata1: SATA max UDMA/133 abar m2048@0xe4809000 port 0xe4809100 irq 17
ata2: DUMMY
ata3: DUMMY
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd b1/c1:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd c6/00:10:00:00:00:a0 succeeded
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 succeeded
ata1.00: ATA-7: ST9160821AS, 3.BHE, max UDMA/100
ata1.00: 312581808 sectors, multi 16: LBA48
ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd b1/c1:00:00:00:00:a0 filtered out
ata1.00: ACPI cmd c6/00:10:00:00:00:a0 succeeded
ata1.00: ACPI cmd ef/10:03:00:00:00:a0 succeeded
ata1.00: configured for UDMA/100
ata1.00: configured for UDMA/100
ata1: EH complete
scsi 0:0:0:0: Direct-Access     ATA      ST9160821AS      3.BH PQ: 0
ANSI: 5
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO
 or FUA
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO
 or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
ata_piix 0000:00:1f.1: version 2.12
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.1 to 64
scsi3 : ata_piix
scsi4 : ata_piix
ata4: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x40c0 irq 14
ata5: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x40c8 irq 15
ata4.00: ATAPI: HL-DT-ST DVDRAM GSA-T20L, NC08, max MWDMA2
ata4.00: configured for MWDMA2
ata5: port disabled. ignoring.
scsi 3:0:0:0: CD-ROM            HL-DT-ST DVDRAM GSA-T20L  NC08 PQ: 0
ANSI: 5
PNP: PS/2 Controller [PNP0303:C298,PNP0f13:C299] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Using IPI Shortcut mode
input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/inpu
t0
XFS mounting filesystem sda2
Ending clean XFS mount for filesystem: sda2
VFS: Mounted root (xfs filesystem) readonly.

> I ask because I've
> seen this sort of directory corruption before when using volatile
> write caches and yanking the power....
>
> i.e. the corruption could have been caused by the way you reset the
> system, not because of the hang. Do you have any information on what
> caused the hang?

The tar xf mozilla-source.tarball was not responding
nor writing anything on the disk. I did issue also a
kill -9 'pid of tar xf' but it did not want to die.
So I think the problem was on the filesystem before
the incorrect shutdown.
I can retry the test. Let me know if I can do a
xfs_repair.



  reply	other threads:[~2008-06-18 16:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16  9:11 XFS: 2.6.26-rc6 link count mismatch for inode Marco Berizzi
2008-06-16  9:11 ` Marco Berizzi
2008-06-18 16:12 ` Dave Chinner
2008-06-18 16:39   ` Marco Berizzi [this message]
2008-06-18 16:39     ` Marco Berizzi
2008-06-19  4:14     ` Dave Chinner
2008-06-19  8:20       ` Marco Berizzi
2008-06-19  8:20         ` Marco Berizzi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY103-DAV10F0AFAC45572E50A384AB2AB0@phx.gbl \
    --to=pupilla@hotmail.com \
    --cc=david@fromorbit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.