[Yaird-devel] Bug#422412: yaird: swap is not accessible if not on the same disk as /

Cyril Bouthors cyb at debian.org
Sat May 5 19:06:09 UTC 2007


Package: yaird
Version: 0.0.12-20
Severity: normal

Yaird is not able to provide the module required to acces my swap
partitions!

Here's my following config :

/etc/fstab:
/dev/hda3    /                 xfs     rw        0    1
/dev/sda2    none              swap    rw        0    0

The modules required to access the swap (/dev/sda):
 - ahci
 - ata_piix
 - sd_mod
 - their deps

The modules added by mkinitrd.yaird:

root at sqlb4:~# zcat /boot/initrd.img-2.6.16-2-686.00 |cpio -t | grep ko$
5224 blocks
lib/modules/2.6.16-2-686/kernel/drivers/ide/pci/generic.ko
lib/modules/2.6.16-2-686/kernel/drivers/ide/pci/piix.ko
lib/modules/2.6.16-2-686/kernel/drivers/ide/ide-core.ko
lib/modules/2.6.16-2-686/kernel/drivers/ide/ide-disk.ko
lib/modules/2.6.16-2-686/kernel/drivers/input/evdev.ko
lib/modules/2.6.16-2-686/kernel/drivers/input/mousedev.ko
lib/modules/2.6.16-2-686/kernel/fs/exportfs/exportfs.ko
lib/modules/2.6.16-2-686/kernel/fs/xfs/xfs.ko
root at sqlb4:~#

I can access /dev/hda but not /dev/sda

The swap is not defined:

root at sqlb4:~# free
             total       used       free     shared    buffers     cached
Mem:       1028592     709256     319336          0        208     571036
-/+ buffers/cache:     138012     890580
Swap:            0          0          0

I have to manually add it after each boot!

I think Yaird MUST check the swap partition and load the required
modules in order for the swap to work.

I hope this will be fixed soon.

Thanks.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

Versions of packages yaird depends on:
ii  cpio                         2.6-17      GNU cpio -- a program to manage ar
ii  dash                         0.5.3-7     The Debian Almquist Shell
ii  libc6                        2.5-4       GNU C Library: Shared libraries
ii  libhtml-template-perl        2.8-1       HTML::Template : A module for usin
ii  libparse-recdescent-perl     1.94.free-4 Generates recursive-descent parser
ii  perl                         5.8.8-7     Larry Wall's Practical Extraction 

yaird recommends no packages.

-- no debconf information
-- 
 ,''`.
: :' :      Cyril Bouthors
`. `'         Debian.org
  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/yaird-devel/attachments/20070505/f99306aa/attachment.pgp


More information about the Yaird-devel mailing list