On Mon, 2013-04-08 at 01:11 +0200, Thanatermesis wrote:
> I have recently found that aufs sometimes fails when installing
> packages with the default debian/wheezy kernel, the release of debian
> is very near so I think that is important to see how important is this
> problem, I found it after to see that "strange things happens on live
> mode" (sorry, I dont remember them right now) which conducted me to
> found these messages in dmesg:
> 
> [  254.060377] ------------[ cut here ]------------
> [  254.060439] WARNING:
> at /build/buildd-linux_3.2.39-2-i386-4VFKqr/linux-3.2.39/fs/aufs/plink.c:418 
> au_plink_append+0xed/0x272 [aufs]()
> [  254.060441] Hardware name: VirtualBox
> [  254.060442] unexpectedly many pseudo links, 101

This doesn't look like a failure, it looks like a warning about a case
where aufs is not very efficient.

Whenever you upgrade a package, dpkg creates temporary hard links to
preserve the files from the old version in case it needs to abort the
upgrade.  It is not possible to create hard links between filesystems,
so if you create a hard link to a file that has not been copied-up, aufs
will create a 'pseudo link' on the upper filesystem which seems to be
similar to a whiteout entry.

aufs appears to maintain a single list of pseudo links per aufs
filesystem, which will make it slow whenever there are a lot of them.
Hence the warning.

Ben.

> [  254.060444] Modules linked in: snd_pcm_oss snd_mixer_oss psmouse
> serio_raw evdev pcspkr snd_intel8x0 snd_ac97_codec snd_pcm
> snd_page_alloc snd_timer i2c_piix4 parport_pc snd parport i2c_core
> soundcore ac97_bus ac power_supply processor button thermal_sys
> squashfs loop aufs(C) nls_utf8 isofs sd_mod crc_t10dif sg sr_mod cdrom
> ohci_hcd ata_generic ehci_hcd ahci usbcore libahci ata_piix usb_common
> libata e1000 scsi_mod [last unloaded: scsi_wait_scan]
> [  254.060479] Pid: 3739, comm: dpkg Tainted: G         C
> 3.2.0-4-686-pae #1 Debian 3.2.39-2
> [  254.060480] Call Trace:
> [  254.060497]  [<c10383c4>] ? warn_slowpath_common+0x68/0x79
> [  254.060503]  [<f833e649>] ? au_plink_append+0xed/0x272 [aufs]
> [  254.060506]  [<c103843d>] ? warn_slowpath_fmt+0x29/0x2d
> [  254.060520]  [<f833e649>] ? au_plink_append+0xed/0x272 [aufs]
> [  254.060534]  [<f833243d>] ? au_sio_cpup_single+0xa0/0xb4 [aufs]
> [  254.060543]  [<c10da517>] ? dput+0x21/0xc2
> [  254.060549]  [<f833bb24>] ? aufs_link+0x36a/0x67c [aufs]
> [  254.060554]  [<f833a651>] ? h_permission.isra.20+0x8e/0xda [aufs]
> [  254.060557]  [<c10d5128>] ? vfs_link+0x9d/0xde
> [  254.060558]  [<c10d69af>] ? sys_linkat+0x147/0x180
> [  254.060560]  [<c10d69fb>] ? sys_link+0x13/0x17
> [  254.060568]  [<c12c2644>] ? syscall_call+0x7/0xb
> [  254.060571]  [<c12c0000>] ? ec_install_handlers+0x74/0x85
> [  254.060573] ---[ end trace 8049851b73698197 ]---
> 
> Please contact me for any possible test required with the issue, Im
> also available on IRC freenode at the Thanatermesis nickname
> 
> Thanks
> Thanatermesis

-- 
Ben Hutchings
Life would be so much easier if we could look at the source code.

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to