Bug 152738 - installation hangs on volume group creation
Summary: installation hangs on volume group creation
Status: RESOLVED FIXED
: 152722 152736 152737 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Installation (show other bugs)
Version: Beta 4
Hardware: x86 Other
: P5 - None : Normal (vote)
Target Milestone: RC 1
Assignee: Thomas Fehr
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 11:29 UTC by Forgotten User WWATXcldtK
Modified: 2006-03-21 13:27 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
for case#2 - installer stops on "Creating volume group sys" (488.60 KB, application/x-gzip)
2006-02-24 11:03 UTC, Forgotten User WWATXcldtK
Details
Logs from beta8 (340.34 KB, application/x-gzip)
2006-03-21 08:53 UTC, Forgotten User WWATXcldtK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User WWATXcldtK 2006-02-22 11:29:33 UTC
0) choosed minimal installation
1a) created 2 mirrors (on 2 disks) one 150M, one 10G (disks size 32Gb, identical)
2a) 150M - /boot (on md0), 10G for volume group sys (on md1)
3a) installer created partiotions, raids, volume group, but logical volumes in vg aren't that, which i choose. Installer created 3 lv - domU_root, dom1_swap, dom1_root (snapshot from domU_root)

1b) created 2 mirrors (on 2 disks) one 150M, one 32G (max aviable remaining size)
2b) 150M  - /boot (on md0), 32G for volume group sys (on md1)
3b) installer creates all in right way (as far as i know), but when reboots - than  not cames up - "mdadm: Bad super-minor number: .", resyncronize raid in background, after than don't came up too ;(
Comment 1 Michael Gross 2006-02-22 11:30:56 UTC
Hint: Pressing `Submit bug' once will also do ;)
Comment 2 Michael Gross 2006-02-22 11:31:08 UTC
*** Bug 152736 has been marked as a duplicate of this bug. ***
Comment 3 Michael Gross 2006-02-22 11:32:24 UTC
*** Bug 152737 has been marked as a duplicate of this bug. ***
Comment 4 Michael Gross 2006-02-22 11:34:26 UTC
*** Bug 152722 has been marked as a duplicate of this bug. ***
Comment 5 Michael Gross 2006-02-22 11:35:55 UTC
This still is in effect:

Please be more verbose and add information about your disks (`fdisk -l' and a
volume group scan), furthermore add the YaST2 logs located in /var/log/YaST2/*
as tarball and the resulting fstab of the system.
Comment 6 Forgotten User WWATXcldtK 2006-02-22 11:45:38 UTC
About than:"
1) created 2 mirrors (on 2 disks) one 150M, one 10G
2) 150M - /boot, 10G for volume group sys
3) when creating fs in sys vg, than sys vg size is shown as whole disk size,
but not 10G ;("

Can reproduse:
Have vg on disks when install, vg is on raid-1, on another raid-1 is /boot, on disks is free not partiioned space.
In my case i have 150M raid-1 (sda1, sdb1) on it was /boot, 10G raid-1 (sda2, sdb2) on than md device was "sys" volume group, on 32G disks.
In vg wasn't no logical volume, when added lvs, than free size was not 10G, but 33.2G
Comment 7 Forgotten User WWATXcldtK 2006-02-22 11:50:28 UTC
(In reply to comment #5)
> This still is in effect:
> 
> Please be more verbose and add information about your disks (`fdisk -l' and a
> volume group scan), furthermore add the YaST2 logs located in /var/log/YaST2/*
> as tarball and the resulting fstab of the system.
> 

(In reply to comment #5)
> This still is in effect:
> 
> Please be more verbose and add information about your disks (`fdisk -l' and a
> volume group scan), furthermore add the YaST2 logs located in /var/log/YaST2/*
> as tarball and the resulting fstab of the system.
> 


Disks - Seagate st336607LC
how could i get than /var/log/YaST2/* if there isn't network configured?
Comment 8 Michael Gross 2006-02-23 09:31:32 UTC
> how could i get than /var/log/YaST2/* if there isn't network configured?

Change to console two, mount a disk, copy the logfiles there and retrieve them later.
Comment 9 Forgotten User WWATXcldtK 2006-02-23 16:32:54 UTC
> Change to console two, mount a disk, copy the logfiles there and retrieve them
> later.
> 

Ok, will try find usb stick.
Logs for what case your are interesting in?
1)Wrong free size in vg?
2)Wrong lvs are created, patitioner GUI looks hangs on create vg.
3)System don't boot with "mdadm: Bad super-minor number: ."?

Could you reproduce any of that 3 bugs? Maybe my hardware issue?
Comment 10 Michael Gross 2006-02-23 16:39:18 UTC
Provide as much information as you can and after the errors ocurred, compress the directory /var/log/YaST2 and attach it here.
Comment 11 Forgotten User WWATXcldtK 2006-02-24 11:03:08 UTC
Created attachment 70152 [details]
for case#2 - installer stops on "Creating volume group sys"
Comment 12 Michael Gross 2006-02-27 09:36:30 UTC
Partitioner issue, reassigning.
Comment 13 Thomas Fehr 2006-03-20 15:40:01 UTC
From the log I see that command it hangs is:

"pvcreate -ff -M2 /dev/md1"

I tried to reproduce this on beta#8 and the pvcreate calls returned fast.
Please retry with beta#8 or newer. If it still handgs also look for 
md realted kernel messages in /var/log/messages.
Comment 14 Forgotten User WWATXcldtK 2006-03-21 08:50:51 UTC
(In reply to comment #13)
> From the log I see that command it hangs is:
> 
> "pvcreate -ff -M2 /dev/md1"
> 
> I tried to reproduce this on beta#8 and the pvcreate calls returned fast.
> Please retry with beta#8 or newer. If it still handgs also look for 
> md realted kernel messages in /var/log/messages.
> 

Installation hangs anyway. It hangs on creating volume group.
For me strange is this, from dmesg:
device-mapper: device doesn't appear to be in the dev hash table.
Logs and some related info will attached.
Comment 15 Forgotten User WWATXcldtK 2006-03-21 08:53:15 UTC
Created attachment 74100 [details]
Logs from beta8
Comment 16 Thomas Fehr 2006-03-21 10:28:11 UTC
Unfortunately this does not show anything helpful, could you try changing to 
an ascii console and execute "strace pvcreate -ff -M2 /dev/md1" to see where
the command hangs.
Comment 17 Forgotten User WWATXcldtK 2006-03-21 12:45:21 UTC
(In reply to comment #16)
> Unfortunately this does not show anything helpful, could you try changing to 
> an ascii console and execute "strace pvcreate -ff -M2 /dev/md1" to see where
> the command hangs.
> 

there was such process in process list, so first time pvcreate hunged, when i killed than process, command was asked confirmation and sucessfully ended.
Comment 18 Thomas Fehr 2006-03-21 12:49:06 UTC
I meant not doing it all by YaST2 but by typing the command 
"strace pvcreate -ff -M2 /dev/md1" manually after you switch to an ascii console.
This way I possibly should be able to see where pvcreate hangs.

What did you mean with "command was asked confirmation"? 
Did pvcreate write anything to the screen and expected user input?
Comment 19 Forgotten User WWATXcldtK 2006-03-21 13:00:01 UTC
there was process "pvcreate -ff -M2 /dev/md1" - so first time pvcreate stoppped due vg lock, when a killed that process, than a could create pv.
Comment 20 Forgotten User WWATXcldtK 2006-03-21 13:06:23 UTC
> What did you mean with "command was asked confirmation"? 
> Did pvcreate write anything to the screen and expected user input?
> 
I type 
pvcreate -ff -M2 /dev/md1
and got:
Really INITIALIZE physical volume "/dev/md1" of volume group "system" [y/n]?
Comment 21 Thomas Fehr 2006-03-21 13:27:57 UTC
Thaks alot, this was what I was searching for.
I was now able to reproduce and fix this here.

Problem should be fixed in RC1