FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 05-22-2010, 11:13 AM
Jonas Meurer
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

hey,

On 21/05/2010 maximilian attems wrote:
> On Fri, 21 May 2010, Andre Pawlowski wrote:
> > This bugreport was written with the initrd.img-2.6.32-trunk-amd64.bak before updating yesterday
> > to initramfs-tools 0.94.4. I have an encrytped lvm which contains every partition except /boot.
> > It was created by the Debian squeeze setup when I installed the system. Today I tried to boot
> > the system with the new initramfs-tools and after I entered the password I get this message:
> >
> > kernel-provided name 'dm-0' and NAME='/mapper/sda2_crypt' disagree, please use SYMLINK+=
> > or change the kernel to provide the proper name
> >
> > This bug appears after I upgraded
> >
> > libudev0
> > udev
> > insserv
> > groff-base
> > initramfs-tools
> > libglib2.0-0
> > libglib2.0-dev
> > libglib2.0-data
> > libgps19
> > libgudev-1.0-0
> > libjack0
> > libschroedinger-1.0-0
> > libwebkit-1.0-common
> > libwebkit-1.0-2
> > xserver-xorg-video-intel
> > xterm
> >
> > because I only changed the initrd.img and after that I could boot the system again
> > I think it is a bug in initramfs-tools.
>
> no we dont set udev symlinks, so it is either a crytsetup
> or an udev bug.

i strongly believe it's a udev bug. the same warnings appear on my
system since last udev upgrade. the apear both at cryptdisks and lvm
initscript invokation.

didn't have time to further investigate it though.

greetings,
jonas
 
Old 05-22-2010, 01:28 PM
Milan Broz
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

On 05/22/2010 01:13 PM, Jonas Meurer wrote:

>>> kernel-provided name 'dm-0' and NAME='/mapper/sda2_crypt' disagree, please use SYMLINK+=
>>> or change the kernel to provide the proper name

> i strongly believe it's a udev bug. the same warnings appear on my
> system since last udev upgrade. the apear both at cryptdisks and lvm
> initscript invokation.

Not a bug, feature:-)

Debian uses modified lvm2/dm udev rules (upstream rules do not have this NAME change)
which use deprecated renaming of base node.

Please read Peter's explaining comment
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581593#24

Milan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BF7DC17.3050108@redhat.com">http://lists.debian.org/4BF7DC17.3050108@redhat.com
 
Old 05-25-2010, 05:46 AM
Andre Pawlowski
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

Hi,

if it is a bug in udev, why does the system start with the old initramfs?

Greetings,

Andre Pawlowski

-------------------------------------------------------------------

Die Schriftsteller können nicht so schnell schreiben, wie die
Regierungen Kriege machen, denn das Schreiben verlangt Denkarbeit.
-Bertolt Brecht

On 05/22/2010 01:13 PM, Jonas Meurer wrote:
> hey,
>
> On 21/05/2010 maximilian attems wrote:
>> On Fri, 21 May 2010, Andre Pawlowski wrote:
>>> This bugreport was written with the initrd.img-2.6.32-trunk-amd64.bak before updating yesterday
>>> to initramfs-tools 0.94.4. I have an encrytped lvm which contains every partition except /boot.
>>> It was created by the Debian squeeze setup when I installed the system. Today I tried to boot
>>> the system with the new initramfs-tools and after I entered the password I get this message:
>>>
>>> kernel-provided name 'dm-0' and NAME='/mapper/sda2_crypt' disagree, please use SYMLINK+=
>>> or change the kernel to provide the proper name
>>>
>>> This bug appears after I upgraded
>>>
>>> libudev0
>>> udev
>>> insserv
>>> groff-base
>>> initramfs-tools
>>> libglib2.0-0
>>> libglib2.0-dev
>>> libglib2.0-data
>>> libgps19
>>> libgudev-1.0-0
>>> libjack0
>>> libschroedinger-1.0-0
>>> libwebkit-1.0-common
>>> libwebkit-1.0-2
>>> xserver-xorg-video-intel
>>> xterm
>>>
>>> because I only changed the initrd.img and after that I could boot the system again
>>> I think it is a bug in initramfs-tools.
>>
>> no we dont set udev symlinks, so it is either a crytsetup
>> or an udev bug.
>
> i strongly believe it's a udev bug. the same warnings appear on my
> system since last udev upgrade. the apear both at cryptdisks and lvm
> initscript invokation.
>
> didn't have time to further investigate it though.
>
> greetings,
> jonas



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BFB6428.5050104@h4des.org">http://lists.debian.org/4BFB6428.5050104@h4des.org
 
Old 05-25-2010, 06:59 AM
maximilian attems
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

tags 582481 moreinfo
stop

On Tue, May 25, 2010 at 07:46:16AM +0200, Andre Pawlowski wrote:
> Hi,
>
> if it is a bug in udev, why does the system start with the old initramfs?
>

dude you have not provided the error message or presumed failure
of the new initramfs!?

how about telling that as a start.
can you still reproduce it with latest initramfs-tools?

thanks.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100525065953.GF19138@baikonur.stro.at">http://lists.debian.org/20100525065953.GF19138@baikonur.stro.at
 
Old 05-25-2010, 11:09 AM
Andre Pawlowski
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

Today I could copy all the output the error does.

Here is what the system shows when I boot with the new
initrd.img-2.6.32-trunk-amd64:

Loading, please wait...
Volume group "laptop-vg" not found
Skipping volume group laptop-vg
Unable to find LVM volume laptop-vg/root
Unlocking the disk
/dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
Enter passphrase:
udevd-work[422]: kernel-provided name 'dm-0' and NAME=
'mapper/temporary-cryptsetup-414' disagree, please use SYMLINK+= or
change the kernel to provide the proper name
udevd-work[422]: kernel-provided name 'dm-0' and NAME=
'mapper/temporary-cryptsetup-414' disagree, please use SYMLINK+= or
change the kernel to provide the proper name
No key available with this passphrase
cryptsetup: cryptsetup failed, bad password or options?
Unlocking the disk
/dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
Enter passphrase:


Ok, now the output when I use the initrd.img-2.6.32-trunk-amd64.bak:

Loading, please wait...
Volume group "laptop-vg" not found
Skipping volume group hantuch-vg
Unable to find LVM volume laptop-vg/root
Unlocking the disk
/dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
Enter passphrase:
Key slot 0 unlocked
[normal booting output follows]

The system is up to date with the newest squeeze packets.

Regards

Andre Pawlowski

-------------------------------------------------------------------

Warum fallen wir?
Damit wir lernen können, uns wieder aufzurappeln.
-Batman Begins (Thomas Wayne)

On 05/25/2010 08:59 AM, maximilian attems wrote:
> tags 582481 moreinfo
> stop
>
> On Tue, May 25, 2010 at 07:46:16AM +0200, Andre Pawlowski wrote:
>> Hi,
>>
>> if it is a bug in udev, why does the system start with the old initramfs?
>>
>
> dude you have not provided the error message or presumed failure
> of the new initramfs!?
>
> how about telling that as a start.
> can you still reproduce it with latest initramfs-tools?
>
> thanks.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BFBAFF0.40902@h4des.org">http://lists.debian.org/4BFBAFF0.40902@h4des.org
 
Old 05-25-2010, 11:22 AM
Jonas Meurer
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

hey andre,

On 25/05/2010 Andre Pawlowski wrote:
> Today I could copy all the output the error does.

thanks, let's see ...

> Here is what the system shows when I boot with the new
> initrd.img-2.6.32-trunk-amd64:
>
> Loading, please wait...
> Volume group "laptop-vg" not found
> Skipping volume group laptop-vg
> Unable to find LVM volume laptop-vg/root
> Unlocking the disk
> /dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
> Enter passphrase:
> udevd-work[422]: kernel-provided name 'dm-0' and NAME=
> 'mapper/temporary-cryptsetup-414' disagree, please use SYMLINK+= or
> change the kernel to provide the proper name
> udevd-work[422]: kernel-provided name 'dm-0' and NAME=
> 'mapper/temporary-cryptsetup-414' disagree, please use SYMLINK+= or
> change the kernel to provide the proper name
> No key available with this passphrase
> cryptsetup: cryptsetup failed, bad password or options?
> Unlocking the disk
> /dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
> Enter passphrase:

did you try to submit the correct passphrase at all? as already written,
these udevd-work messages are just warnings, they shouldn't have any
impact on the functionality after all. in fact, they appear on my system
as well since last udev upgrade. but unlocking the disk still works.

> Ok, now the output when I use the initrd.img-2.6.32-trunk-amd64.bak:
>
> Loading, please wait...
> Volume group "laptop-vg" not found
> Skipping volume group hantuch-vg
> Unable to find LVM volume laptop-vg/root
> Unlocking the disk
> /dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
> Enter passphrase:
> Key slot 0 unlocked
> [normal booting output follows]
>
> The system is up to date with the newest squeeze packets.

so unlocking the disk works with old initramfs, while it fails with the
new initramfs (ignoring the udev warnings)? or does it work with the new
initramfs as well, despite cluttering the passphrase prompt with udev
warnings?

in the former case you most probably spotted another bug (or
misconfigured your system), in the latter case this bugreport should be
reassigned to package dmsetup, where the respective udev rules need to
be updated.

greetings,
jonas
 
Old 05-25-2010, 02:55 PM
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

On May 25, Jonas Meurer <jonas@freesources.org> wrote:

> in the former case you most probably spotted another bug (or
> misconfigured your system), in the latter case this bugreport should be
> reassigned to package dmsetup, where the respective udev rules need to
> be updated.
The warning is harmless and does not cause any problems (with the
existing kernels).

--
ciao,
Marco
 
Old 05-25-2010, 04:45 PM
Andre Pawlowski
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

I've found it. It wasn't an error in the initramfs-tools.

The idea came to me when I logged on to a system via RDP. I use a german
keyboard and a us layout. The layout changed with the new
initramfs-tools and so the keys I entered where wrong. It's definitely
no bug.

I'm sorry for causing troubles. At the moment I worked with the new
initrd image.

Thanks

Andre Pawlowski

-------------------------------------------------------------------

Vorstellungskraft ist wichtiger als Wissen, denn Wissen ist Begrenzt.
-Albert Einstein

On 05/25/2010 01:22 PM, Jonas Meurer wrote:
> hey andre,
>
> On 25/05/2010 Andre Pawlowski wrote:
>> Today I could copy all the output the error does.
>
> thanks, let's see ...
>
>> Here is what the system shows when I boot with the new
>> initrd.img-2.6.32-trunk-amd64:
>>
>> Loading, please wait...
>> Volume group "laptop-vg" not found
>> Skipping volume group laptop-vg
>> Unable to find LVM volume laptop-vg/root
>> Unlocking the disk
>> /dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
>> Enter passphrase:
>> udevd-work[422]: kernel-provided name 'dm-0' and NAME=
>> 'mapper/temporary-cryptsetup-414' disagree, please use SYMLINK+= or
>> change the kernel to provide the proper name
>> udevd-work[422]: kernel-provided name 'dm-0' and NAME=
>> 'mapper/temporary-cryptsetup-414' disagree, please use SYMLINK+= or
>> change the kernel to provide the proper name
>> No key available with this passphrase
>> cryptsetup: cryptsetup failed, bad password or options?
>> Unlocking the disk
>> /dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
>> Enter passphrase:
>
> did you try to submit the correct passphrase at all? as already written,
> these udevd-work messages are just warnings, they shouldn't have any
> impact on the functionality after all. in fact, they appear on my system
> as well since last udev upgrade. but unlocking the disk still works.
>
>> Ok, now the output when I use the initrd.img-2.6.32-trunk-amd64.bak:
>>
>> Loading, please wait...
>> Volume group "laptop-vg" not found
>> Skipping volume group hantuch-vg
>> Unable to find LVM volume laptop-vg/root
>> Unlocking the disk
>> /dev/disk/by-uuid/e7bf2609-7a87-447c-9827-694bc164debb (sda2_crypt)
>> Enter passphrase:
>> Key slot 0 unlocked
>> [normal booting output follows]
>>
>> The system is up to date with the newest squeeze packets.
>
> so unlocking the disk works with old initramfs, while it fails with the
> new initramfs (ignoring the udev warnings)? or does it work with the new
> initramfs as well, despite cluttering the passphrase prompt with udev
> warnings?
>
> in the former case you most probably spotted another bug (or
> misconfigured your system), in the latter case this bugreport should be
> reassigned to package dmsetup, where the respective udev rules need to
> be updated.
>
> greetings,
> jonas



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BFBFEAB.4090407@h4des.org">http://lists.debian.org/4BFBFEAB.4090407@h4des.org
 
Old 05-25-2010, 08:41 PM
Jonas Meurer
 
Default Bug#582481: Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

reassign 582481 dmsetup
severity 582481 minor
tags 582481 -moreinfo
thanks

hey marco,

On 25/05/2010 Marco d'Itri wrote:
> On May 25, Jonas Meurer <jonas@freesources.org> wrote:
>
> > in the former case you most probably spotted another bug (or
> > misconfigured your system), in the latter case this bugreport should be
> > reassigned to package dmsetup, where the respective udev rules need to
> > be updated.
> The warning is harmless and does not cause any problems (with the
> existing kernels).

this is known and has been mentioned several times in the buglog
already. still the rules need to be updated in order to stop the
appearance of these harmless but annoying warning messages.

thus reassigning with severity minor.

greetings,
jonas
 

Thread Tools




All times are GMT. The time now is 08:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org