Bug#586143: Same problem

2010-07-01 Thread André Nunes
/boot is not, but the rest of the system is encrypted using LVM,
dm-crypt and LUKS.


André Nunes Batista
Blog: http://tagesuhu.wordpress.com/
PGP Public Key: 0x7b0590cb6722cf80



2010/7/1 Vladimir 'φ-coder/phcoder' Serbinenko :
> On 07/02/2010 01:27 AM, André Nunes wrote:
>> No, I do not.
>>
>> I also filed another bug (#586449) and did some debugging with Colin,
>> but he didn't find out what it is until now.
>>
>> Just in case that matter, my swap partition was also an encrypted lvm
>> logical volume and during the last shutdown what I actualy did was a
>> system hibernation. Maybe snapshots and system freezes have something
>> in common?
>>
>>
> Is / or /boot encrypted?
>> André Nunes Batista
>> Blog: http://tagesuhu.wordpress.com/
>> PGP Public Key: 0x7b0590cb6722cf80
>>
>>
>> 2010/7/1 Vladimir 'φ-coder/phcoder' Serbinenko 
>>
>>> Do you have LVM snapshots? If so this bug was recently fixed upstream.
>>>
>>
>
>
> --
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
>
>
>



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



Bug#586143: Same problem

2010-07-01 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 07/02/2010 01:27 AM, André Nunes wrote:
> No, I do not.
>
> I also filed another bug (#586449) and did some debugging with Colin,
> but he didn't find out what it is until now.
>
> Just in case that matter, my swap partition was also an encrypted lvm
> logical volume and during the last shutdown what I actualy did was a
> system hibernation. Maybe snapshots and system freezes have something
> in common?
>
>   
Is / or /boot encrypted?
> André Nunes Batista
> Blog: http://tagesuhu.wordpress.com/
> PGP Public Key: 0x7b0590cb6722cf80
>
>
> 2010/7/1 Vladimir 'φ-coder/phcoder' Serbinenko 
>   
>> Do you have LVM snapshots? If so this bug was recently fixed upstream.
>> 
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature


Bug#586143: Same problem

2010-07-01 Thread André Nunes
No, I do not.

I also filed another bug (#586449) and did some debugging with Colin,
but he didn't find out what it is until now.

Just in case that matter, my swap partition was also an encrypted lvm
logical volume and during the last shutdown what I actualy did was a
system hibernation. Maybe snapshots and system freezes have something
in common?

André Nunes Batista
Blog: http://tagesuhu.wordpress.com/
PGP Public Key: 0x7b0590cb6722cf80


2010/7/1 Vladimir 'φ-coder/phcoder' Serbinenko 
> Do you have LVM snapshots? If so this bug was recently fixed upstream.



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



Bug#586143: Same problem

2010-07-01 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 06/18/2010 02:44 AM, André Nunes wrote:
> Same problem here, bur a little bit worse: I can't get my system back!
> I tryed to aptitude downgrade grub-pc and grub-common to 1.98-1 and
> also to grub-legacy, but I keep getting the same error:
>
> /usr/sbin/grub-probe: error: no mapping exists for tagesuhu-root
> Auto-detection of a filesystem module failed
> Please specify the module with the option '--modules' explicitly
>
> My system is encrypted with dm-crypt and luks, only the boot partition
> is left unencrypted.
>
> Also, during aptitude update, I get a lot of messages regarding perl
> not being able to read my locale settings
>
> Any help just to get the system up?
>
Do you have LVM snapshots? If so this bug was recently fixed upstream.
> André Nunes Batista
> Blog: http://tagesuhu.wordpress.com/
> PGP Public Key: 0x7b0590cb6722cf80
>
>
> ___
> Pkg-grub-devel mailing list
> pkg-grub-de...@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature


Bug#586143: Same problem

2010-06-22 Thread Jeffrey G Thomas
> Does the file /boot/grub/stage2 exist on your system?
Yes that file exists on my system and has a date from before the failed upgrade:

$ ls -la /boot/grub/stage2
-rw-r--r-- 1 root root 128552 Jul  7  2008 /boot/grub/stage2

Jeffrey


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


Bug#586143: Same problem

2010-06-19 Thread Brenda J. Butler

Yes, this file /boot/grub/stage2 exists on my system.
Thanks for your work on grub.

bjb


On Fri, Jun 18, 2010 at 01:10:42PM +0100, Colin Watson wrote:
> On Fri, Jun 18, 2010 at 01:59:15PM +0200, Salvatore Bonaccorso wrote:
> > I'm not the original reporter but experience the similar problem,
> > getting 'unaligned pointer 0x4c1b0297'. I tried to collect the
> > information you requested for that:
> 
> Thanks.  This is the most interesting part:
> 
> > Generating core.img
> > Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_postinst
> > Running update-grub Legacy to hook our core.img in it
> [...]
> 
> I've just gone through an extensive debugging session with an affected
> user on IRC who had the same symptom (thanks, dileX), and I believe I
> understand the problem now.  I would like to confirm one fact with the
> people who have contributed to this bug report so far, namely:
> 
> Does the file /boot/grub/stage2 exist on your system?
> 
> I strongly suspect at this point that that will be the case for all of
> you, and if that's the case then I know what to do.
> 
> Thanks,
> 
> -- 
> Colin Watson   [cjwat...@debian.org]
---end quoted text---



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



Bug#586143: Same problem

2010-06-18 Thread Guido Günther
On Fri, Jun 18, 2010 at 01:10:42PM +0100, Colin Watson wrote:
> On Fri, Jun 18, 2010 at 01:59:15PM +0200, Salvatore Bonaccorso wrote:
> > I'm not the original reporter but experience the similar problem,
> > getting 'unaligned pointer 0x4c1b0297'. I tried to collect the
> > information you requested for that:
> 
> Thanks.  This is the most interesting part:
> 
> > Generating core.img
> > Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_postinst
> > Running update-grub Legacy to hook our core.img in it
> [...]
> 
> I've just gone through an extensive debugging session with an affected
> user on IRC who had the same symptom (thanks, dileX), and I believe I
> understand the problem now.  I would like to confirm one fact with the
> people who have contributed to this bug report so far, namely:
> 
> Does the file /boot/grub/stage2 exist on your system?
Yept. It's there.
 -- Guidio



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



Bug#586143: Same problem

2010-06-18 Thread Salvatore Bonaccorso
Hi

On Fri, Jun 18, 2010 at 01:10:42PM +0100, Colin Watson wrote:
> On Fri, Jun 18, 2010 at 01:59:15PM +0200, Salvatore Bonaccorso wrote:
> > I'm not the original reporter but experience the similar problem,
> > getting 'unaligned pointer 0x4c1b0297'. I tried to collect the
> > information you requested for that:
> 
> Thanks.  This is the most interesting part:
> 
> > Generating core.img
> > Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_postinst
> > Running update-grub Legacy to hook our core.img in it
> [...]
> 
> I've just gone through an extensive debugging session with an affected
> user on IRC who had the same symptom (thanks, dileX), and I believe I
> understand the problem now.  I would like to confirm one fact with the
> people who have contributed to this bug report so far, namely:
> 
> Does the file /boot/grub/stage2 exist on your system?
> 
> I strongly suspect at this point that that will be the case for all of
> you, and if that's the case then I know what to do.

Yes I can confirm: /boot/grub/stage2 exists on the problematic hosts!

Thanks for your work, Colin

Bests
Salvatore


signature.asc
Description: Digital signature


Bug#586143: Same problem

2010-06-18 Thread Colin Watson
On Fri, Jun 18, 2010 at 01:59:15PM +0200, Salvatore Bonaccorso wrote:
> I'm not the original reporter but experience the similar problem,
> getting 'unaligned pointer 0x4c1b0297'. I tried to collect the
> information you requested for that:

Thanks.  This is the most interesting part:

> Generating core.img
> Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_postinst
> Running update-grub Legacy to hook our core.img in it
[...]

I've just gone through an extensive debugging session with an affected
user on IRC who had the same symptom (thanks, dileX), and I believe I
understand the problem now.  I would like to confirm one fact with the
people who have contributed to this bug report so far, namely:

Does the file /boot/grub/stage2 exist on your system?

I strongly suspect at this point that that will be the case for all of
you, and if that's the case then I know what to do.

Thanks,

-- 
Colin Watson   [cjwat...@debian.org]



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



Bug#586143: Same problem

2010-06-18 Thread Salvatore Bonaccorso
Hi Colin

I'm not the original reporter but experience the similar problem,
getting 'unaligned pointer 0x4c1b0297'. I tried to collect the
information you requested for that:

On Fri, Jun 18, 2010 at 12:04:15PM +0100, Colin Watson wrote:
> On Thu, Jun 17, 2010 at 09:44:26PM -0300, André Nunes wrote:
> > Same problem here, bur a little bit worse: I can't get my system back! I
> > tryed to aptitude downgrade grub-pc and grub-common to 1.98-1 and also to
> > grub-legacy, but I keep getting the same error:
> 
> Even though everyone in this bug log seems to be doing this, it's
> unlikely actually to be the best idea, and it certainly won't help to
> resolve this bug.  Try upgrading again; record the output from the
> upgrade, and send it to me; and if you see the problem again, get the
> value of grub-pc/install_devices using 'debconf-show grub-pc', and try
> running 'grub-install /dev/sda' (replacing /dev/sda with the value of
> grub-pc/install_devices') to see if that fixes it, as others have
> reported.

Here is the output of the upgrade:

---(upgrade)
eldamar:~# aptitude -D -V -v --purge-unused install grub-pc grub-common
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done   
Reading task descriptions... Done  
The following packages will be upgraded:
  grub-common [1.98+20100602-2 -> 1.98+20100614-2]  grub-pc [1.98+20100602-2 -> 
1.98+20100614-2]  
2 packages upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
Need to get 0B/2,532kB of archives. After unpacking 1,282kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
critical bugs of grub-pc (1.98+20100602-2 -> 1.98+20100614-2) 
 #586143 - Doesn't boot: Unaligned pointer 4c191bea
Summary:
 grub-pc(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...]  y
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 159789 files and directories currently installed.)
Preparing to replace grub-pc 1.98+20100602-2 (using 
.../grub-pc_1.98+20100614-2_i386.deb) ...
Unpacking replacement grub-pc ...
Preparing to replace grub-common 1.98+20100602-2 (using 
.../grub-common_1.98+20100614-2_i386.deb) ...
Unpacking replacement grub-common ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Setting up grub-common (1.98+20100614-2) ...
Installing new version of config file /etc/grub.d/00_header ...
Installing new version of config file /etc/grub.d/10_linux ...
Setting up grub-pc (1.98+20100614-2) ...
Installing new version of config file /etc/grub.d/05_debian_theme ...
Generating core.img
Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_postinst
Running update-grub Legacy to hook our core.img in it
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/vmlinuz-2.6.32-5-686
Found kernel: /boot/vmlinuz-2.6.32-4-686
Found kernel: /boot/vmlinuz-2.6.32-2-686
Updating /boot/grub/menu.lst ... done

Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-4-686
Found initrd image: /boot/initrd.img-2.6.32-4-686
Found linux image: /boot/vmlinuz-2.6.32-2-686
Found initrd image: /boot/initrd.img-2.6.32-2-686
done
Reading package lists... Done 
Building dependency tree   
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done   
Reading task descriptions... Done  

Current status: 0 broken [+0], 33 updates [-2], 29436 new [+0].
eldamar:~# 


The debconf values are the following:

---(debconf)
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
* grub-pc/install_devices: /dev/sda
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:


The machine bootet up showing the above error message. Then I bootet
into live-cd, moutet proc, /dev/sda1 and /dev into chroot and
re-run dpkg-reconfigure -plow grub-pc and run grub-install /dev/sda:

grub-install on /dev/sda in a chroot says 'Installation finished. No
error re

Bug#586143: Same problem

2010-06-18 Thread Colin Watson
On Thu, Jun 17, 2010 at 09:44:26PM -0300, André Nunes wrote:
> Same problem here, bur a little bit worse: I can't get my system back! I
> tryed to aptitude downgrade grub-pc and grub-common to 1.98-1 and also to
> grub-legacy, but I keep getting the same error:

Even though everyone in this bug log seems to be doing this, it's
unlikely actually to be the best idea, and it certainly won't help to
resolve this bug.  Try upgrading again; record the output from the
upgrade, and send it to me; and if you see the problem again, get the
value of grub-pc/install_devices using 'debconf-show grub-pc', and try
running 'grub-install /dev/sda' (replacing /dev/sda with the value of
grub-pc/install_devices') to see if that fixes it, as others have
reported.

What I really need is a way to replicate this.  I've tried LVM and
LVM+crypto installs in a virtual machine, upgraded to the latest version
of grub-common and grub-pc, and so far have been unable to recreate
this.

> /usr/sbin/grub-probe: error: no mapping exists for tagesuhu-root

... probably because downgrading to 1.98-1 loses a bunch of other fixes
that are relevant for LVM ...

-- 
Colin Watson   [cjwat...@debian.org]



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



Bug#586143: Same problem

2010-06-17 Thread André Nunes
Same problem here, bur a little bit worse: I can't get my system back! I
tryed to aptitude downgrade grub-pc and grub-common to 1.98-1 and also to
grub-legacy, but I keep getting the same error:

/usr/sbin/grub-probe: error: no mapping exists for tagesuhu-root
Auto-detection of a filesystem module failed
Please specify the module with the option '--modules' explicitly

My system is encrypted with dm-crypt and luks, only the boot partition is
left unencrypted.

Also, during aptitude update, I get a lot of messages regarding perl not
being able to read my locale settings

Any help just to get the system up?

André Nunes Batista
Blog: http://tagesuhu.wordpress.com/
PGP Public Key: 0x7b0590cb6722cf80