Bug#347886: linux-image-2.6.15-1-k7: Software Suspend: Unable to find swap device

2006-01-15 Thread Johannes Rohr
On Sa, Jan 14, 2006 at 03:27:50 +0100, maximilian attems wrote:
 On Fri, 13 Jan 2006, Johannes Rohr wrote:
 
  Package: linux-image-2.6.15-1-k7
  Version: 2.6.15-1
  Severity: normal
  
  Hi, I've been trying to use software suspend which is enabled in this
  kernel version. Strangely, software suspend complains:
  
  unable to find swap device. Try swapon -a
 
 please tell which initramfs generator you use?
 it's the business of the initramfs to hand hove to the swsusp image.
 
 please try initramfs-tools, works fine here.

Thanks, it looks like you hit the nail on the head. Replacing yaird by
initramfs-tools solved it! Wouldn't this warrant adding a conflict
against yaird (or at least removing the dependency alternative)?

A BIG thank you!

Johannes

-- 
http://www.infoe.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347886: linux-image-2.6.15-1-k7: Software Suspend: Unable to find swap device

2006-01-15 Thread Sven Luther
On Sun, Jan 15, 2006 at 06:12:20PM +0100, Johannes Rohr wrote:
 On Sa, Jan 14, 2006 at 03:27:50 +0100, maximilian attems wrote:
  On Fri, 13 Jan 2006, Johannes Rohr wrote:
  
   Package: linux-image-2.6.15-1-k7
   Version: 2.6.15-1
   Severity: normal
   
   Hi, I've been trying to use software suspend which is enabled in this
   kernel version. Strangely, software suspend complains:
   
   unable to find swap device. Try swapon -a
  
  please tell which initramfs generator you use?
  it's the business of the initramfs to hand hove to the swsusp image.
  
  please try initramfs-tools, works fine here.
 
 Thanks, it looks like you hit the nail on the head. Replacing yaird by
 initramfs-tools solved it! Wouldn't this warrant adding a conflict
 against yaird (or at least removing the dependency alternative)?

2.6.15-2 hs initramfs-tools as default, which should be enough.

Also, your proposal is a bit simplistic, since both yaird and initramfs-tools
currently have still some set of use case which are not fully supported.

Friendly,

Sven Luther



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347886: linux-image-2.6.15-1-k7: Software Suspend: Unable to find swap device

2006-01-14 Thread maximilian attems
On Fri, 13 Jan 2006, Johannes Rohr wrote:

 Package: linux-image-2.6.15-1-k7
 Version: 2.6.15-1
 Severity: normal
 
 Hi, I've been trying to use software suspend which is enabled in this
 kernel version. Strangely, software suspend complains:
 
 unable to find swap device. Try swapon -a

please tell which initramfs generator you use?
it's the business of the initramfs to hand hove to the swsusp image.

please try initramfs-tools, works fine here.
 
 This is the contents of /proc/cmdline
 
 root=/dev/hdb5 ro resume=/dev/hda6 resume2=file:/dev/hdb5:0x18a5d
 
 (resume2 is intendend for other, home compiled kernels and should be
 ignored by this one)
 
 this is the output of swapon -s
 
 FilenameTypeSizeUsed
 Priority
 /dev/hda6   partition   1052216 149524  -1
 
 This is the result of grep swap /etc/fstab:
 
 /dev/hda6   noneswapsw  0   0

that looks sane.
 
 Finally, I should say that the same problem occurs with Software
 Suspend2 - unless I use the file writer backend instead of suspending
 to a swap partition, see bug #312218.
 
 The only thing special about my box that I can think of is, that I
 have two hard disks which Debian being installed on the second one.

suspend2 is another biest, never used it..

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347886: linux-image-2.6.15-1-k7: Software Suspend: Unable to find swap device

2006-01-13 Thread Johannes Rohr
Package: linux-image-2.6.15-1-k7
Version: 2.6.15-1
Severity: normal

Hi, I've been trying to use software suspend which is enabled in this
kernel version. Strangely, software suspend complains:

unable to find swap device. Try swapon -a

This is the contents of /proc/cmdline

root=/dev/hdb5 ro resume=/dev/hda6 resume2=file:/dev/hdb5:0x18a5d

(resume2 is intendend for other, home compiled kernels and should be
ignored by this one)

this is the output of swapon -s

FilenameTypeSizeUsedPriority
/dev/hda6   partition   1052216 149524  -1

This is the result of grep swap /etc/fstab:

/dev/hda6   noneswapsw  0   0

Finally, I should say that the same problem occurs with Software
Suspend2 - unless I use the file writer backend instead of suspending
to a swap partition, see bug #312218.

The only thing special about my box that I can think of is, that I
have two hard disks which Debian being installed on the second one.

Thanks,

Johannes


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.15-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.15-1-k7 depends on:
ii  module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-3   Yet Another mkInitRD

-- debconf information:
  linux-image-2.6.15-1-k7/postinst/depmod-error-initrd-2.6.15-1-k7: false
  linux-image-2.6.15-1-k7/postinst/old-initrd-link-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/preinst/abort-install-2.6.15-1-k7:
  linux-image-2.6.15-1-k7/postinst/create-kimage-link-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/postinst/depmod-error-2.6.15-1-k7: false
  linux-image-2.6.15-1-k7/postinst/kimage-is-a-directory:
  linux-image-2.6.15-1-k7/preinst/lilo-has-ramdisk:
  linux-image-2.6.15-1-k7/preinst/failed-to-move-modules-2.6.15-1-k7:
  linux-image-2.6.15-1-k7/preinst/overwriting-modules-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/postinst/old-system-map-link-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/postinst/bootloader-error-2.6.15-1-k7:
  linux-image-2.6.15-1-k7/preinst/already-running-this-2.6.15-1-k7:
  linux-image-2.6.15-1-k7/preinst/initrd-2.6.15-1-k7:
  linux-image-2.6.15-1-k7/preinst/elilo-initrd-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/postinst/old-dir-initrd-link-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/postinst/bootloader-test-error-2.6.15-1-k7:
  linux-image-2.6.15-1-k7/preinst/abort-overwrite-2.6.15-1-k7:
  linux-image-2.6.15-1-k7/preinst/lilo-initrd-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/prerm/would-invalidate-boot-loader-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/preinst/bootloader-initrd-2.6.15-1-k7: true
  linux-image-2.6.15-1-k7/prerm/removing-running-kernel-2.6.15-1-k7: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]