Hi again.

Olivier Berger <olivier.ber...@telecom-sudparis.eu> writes:

>>
>> I found the problem. Please, can you test this:
>>
>> Edit the file /usr/share/initramfs-tools/hooks/resume
>>
>> Comment these lines at the end of the file:
>>
>> # Try to autodetect the RESUME partition, using biggest swap?
>> RESUME=$(grep ^/dev/ /proc/swaps | sort -rk3 | head -n 1 | cut -d " " -f 1)
>> #if [ -n "$RESUME" ] && command -v blkid >/dev/null 2>&1; then
>> #       UUID=$(blkid -s UUID -o value "$RESUME" || true)
>> #       if [ -n "$UUID" ]; then
>> #                       RESUME="UUID=$UUID"
>> #       fi
>> #fi
>>
>> Then, run "update-initramfs -u"
>>
>> The new initrd file is updated. Then, run "s2disk". Reboot.
>>
>> Can your system boot?
>>
>
> Nope. Still stuck at boot. Note however that the message is different
> than the initial one. Now, I see the last lines corresponding to (copied
> from working system's dmesg, comparing with a snapshot I took on my camera):
>
> [    2.817464] cdrom: Uniform CD-ROM driver Revision: 3.20
> [    2.817620] sr 1:0:0:0: Attached scsi CD-ROM sr0
> [    2.819201] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [    2.819360] sr 1:0:0:0: Attached scsi generic sg1 type 5
> [    2.863842]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
> [    2.864340] sd 0:0:0:0: [sda] Attached SCSI disk
> [    3.094322] scsi 6:0:0:0: Direct-Access              USB DISK 2.0     PMAP 
> PQ: 0 ANSI: 4
> [    3.096346] sd 6:0:0:0: Attached scsi generic sg2 type 0
> [    3.097319] sd 6:0:0:0: [sdb] 15124992 512-byte logical blocks: (7.74 
> GB/7.21 GiB)
> [    3.098061] sd 6:0:0:0: [sdb] Write Protect is off
> [    3.098122] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
> [    3.098819] sd 6:0:0:0: [sdb] No Caching mode page present
> [    3.098879] sd 6:0:0:0: [sdb] Assuming drive cache: write through
> [    3.102067] sd 6:0:0:0: [sdb] No Caching mode page present
> [    3.102127] sd 6:0:0:0: [sdb] Assuming drive cache: write through
> [    3.103079]  sdb: sdb1 sdb2
> [    3.107567] sd 6:0:0:0: [sdb] No Caching mode page present
> [    3.107627] sd 6:0:0:0: [sdb] Assuming drive cache: write through
> [    3.107695] sd 6:0:0:0: [sdb] Attached SCSI removable disk
> [    3.310172] device-mapper: uevent: version 1.0.3
> [    3.310281] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: 
> dm-de...@redhat.com
>
> I'm not sure, again, but I guess the issue is that the device mapper
> device for the swap partition (on LVM), /dev/dm-4 isn't available at
> that time ?
>

I've looked a bit more at the contents of
/usr/share/initramfs-tools/hooks/resume and noticed a typo earlier in
the file, on blkid. It has already been noticed : see the patch in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725275#15 (yeah, funny
to see almost identical report numbers, but doesn't help on the other
hand to spot the eventual duplication).

However, after fixing the typo, the boot still blocks, but with a
different message. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725275#27 for the details.

Now, I suspect that #725275 and #724275 could be merged, although I'm
not sure every conditions are similar. Swap on LVM seems common factor.

I've seen the suggestion made by Kapil Hari Paranjape in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725275#27 which seems
to give some guidance, but it's not really clear for me so far.

Hope this helps.

Best regards,
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to