[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245159: marked as done (Changes all partition types into swap (LVM related))



Your message dated Mon, 3 May 2004 21:21:21 +0300
with message-id <20040503182121.GC26715@lml.bas.bg>
and subject line Bug#245159: Install Report with bug.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Apr 2004 17:23:36 +0000
>From msroark@pobox.com Wed Apr 21 10:23:36 2004
Return-path: <msroark@pobox.com>
Received: from smtp.newsguy.com (newsguy.com) [129.250.170.69] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BGLRf-00081p-00; Wed, 21 Apr 2004 10:23:35 -0700
Received: from adsl-216-103-86-145.dsl.snfc21.pacbell.net (node-423a1512.mdw.onnet.us.uu.net [66.58.21.18])
	by newsguy.com (8.12.9/8.12.8) with ESMTP id i3LHNV4n053658
	for <submit@bugs.debian.org>; Wed, 21 Apr 2004 10:23:31 -0700 (PDT)
	(envelope-from msroark@pobox.com)
Received: from localhost (localhost [127.0.0.1])
  (uid 33)
  by adsl-216-103-86-145.dsl.snfc21.pacbell.net with local; Wed, 21 Apr 2004 12:23:25 -0500
Received: from 65.211.178.198 ( [65.211.178.198])
	as user mike@localhost by 66.58.21.18 with HTTP;
	Wed, 21 Apr 2004 12:23:25 -0500
Message-ID: <1082568205.4086ae0d7ca7c@66.58.21.18>
Date: Wed, 21 Apr 2004 12:23:25 -0500
From: Michael Roark <msroark@pobox.com>
To: submit@bugs.debian.org
Subject: Install Report with bug.
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 3.0
X-Originating-IP: 65.211.178.198
X-Mime-Autoconverted: from 8bit to 7bit by courier 0.37
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: installation-reports

INSTALL REPORT

Debian-installer-version:
http://cdimage.debian.org/pub/cdimage-testing/sarge_d-i/i386/beta3/sarge-i386-businesscard.iso
Got Apr 20, 2004.
uname -a: Linux biotron 2.4.25-1-386 #1 Tue Feb 24 08:11:13 EST 2004 i686 GNU/Linux
Date: Apr 20, 2004, approx 10pm. 
Method: Network-install, booted off netinst cd above. Installed from
debian.uchicago.edu. No proxy.
Machine: Custom Desktop. Not at home can give more info later.
Processor: AMD k7
Memory: 512 MB
Root Device: ide. /dev/hda
Root Size/partition table: 

biotron:~# cat /proc/partitions 
major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect wuse
running use aveq

  34     0  292970160 ide/host2/bus1/target0/lun0/disc 13 223 472 80 0 0 0 0 -2
16427040 10095672
  34     1  292969341 ide/host2/bus1/target0/lun0/part1 7 205 424 40 0 0 0 0 0 40 40
  33     0  292970160 ide/host2/bus0/target0/lun0/disc 5 15 40 0 0 0 0 0 -2
16427050 10095572
  33     1  292969341 ide/host2/bus0/target0/lun0/part1 1 3 8 0 0 0 0 0 0 0 0
  22     0  199148544 ide/host0/bus1/target0/lun0/disc 5 15 40 10 0 0 0 0 -2
16427050 10095582
  22     1  199141708 ide/host0/bus1/target0/lun0/part1 1 3 8 0 0 0 0 0 0 0 0
   3     0  245117376 ide/host0/bus0/target0/lun0/disc 5485 8152 108892 28960
1842 4001 47048 48350 -2 16425380 10172882
   3     1  244613691 ide/host0/bus0/target0/lun0/part1 5476 8126 108810 28790
1842 4001 47048 48350 0 28070 77140
   3     2          1 ide/host0/bus0/target0/lun0/part2 1 0 2 80 0 0 0 0 0 80 80
   3     5     497983 ide/host0/bus0/target0/lun0/part5 2 0 16 20 0 0 0 0 0 20 20
biotron:~# fdisk -l

Disk /dev/ide/host2/bus1/target0/lun0/disc: 300.0 GB, 300001443840 bytes
255 heads, 63 sectors/track, 36473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks 
 Id  System
/dev/ide/host2/bus1/target0/lun0/part1               1       36473   292969341 
 82  Linux swap

Disk /dev/ide/host2/bus0/target0/lun0/disc: 300.0 GB, 300001443840 bytes
255 heads, 63 sectors/track, 36473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks 
 Id  System
/dev/ide/host2/bus0/target0/lun0/part1               1       36473   292969341 
 82  Linux swap

Disk /dev/ide/host0/bus1/target0/lun0/disc: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks 
 Id  System
/dev/ide/host0/bus1/target0/lun0/part1               1       24792   199141708+
 82  Linux swap

Disk /dev/ide/host0/bus0/target0/lun0/disc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks 
 Id  System
/dev/ide/host0/bus0/target0/lun0/part1   *           1       30453   244613691 
 83  Linux
/dev/ide/host0/bus0/target0/lun0/part2           30454       30515      498015 
  f  W95 Ext'd (LBA)
/dev/ide/host0/bus0/target0/lun0/part5           30454       30515      497983+
 82  Linux swap

biotron:~# mount -l
/dev/ide/host0/bus0/target0/lun0/part1 on / type ext3 (rw,errors=remount-ro) []
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)

Output of lspci:

biotron:~# lspci
pcilib: Cannot open /sys/bus/pci/devices
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host
Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
0000:00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 80)
0000:00:08.0 RAID bus controller: Promise Technology, Inc. PDC20376 (rev 02)
0000:00:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
0000:00:0c.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
Model 64/Model 64 Pro] (rev 15)
0000:00:0d.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
(rev 24)
0000:00:0e.0 Unknown mass storage controller: Promise Technology, Inc. 20269
(rev 02)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller]
(rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller]
(rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller]
(rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 50)

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [E]
Partition hard drives:  [E]
Create file systems:    [E]
Mount partitions:       [E]
Install base system:    [O]
Install boot loader:    [O]
Reboot:                 [O]

Comments/Problems:

Hello,
    After having a failing boot drive on my storage box, I reinstalled
Sarge from scratch using the net-inst CD on a fresh drive. The box had two
lvm volumes with some PEs for one of them on the failing disk, and the
rest on other disks that I left in system during the install. In the 
installer I tried to only have it partition the new /dev/hda, and thought I was
successful. However, once I got it up and running and tried to get the second,
still intact, lvm volume working, I discovered that the partition type on all
the other drives had changed to Linux swap!

Here's a snippet of an fdisk -l on one of my partitions now:

                                Device Boot      Start         End     
Blocks   Id  System
/dev/ide/host0/bus1/target0/lun0/part1               1       24792  
199141708+  82  Linux swap


Here is what it looked like before the reinstall:

                                Device Boot      Start         End     
Blocks   Id  System
/dev/ide/host0/bus1/target0/lun0/part1               1       24792  
199141708+  8e  Linux LVM


Interestingly, pvdisplay seems to somehow be able to see that there is lvm
information on the drive:

biotron:~# pvdisplay /dev/hdc1
--- Physical volume ---
PV Name               /dev/ide/host0/bus1/target0/lun0/part1
VG Name               group_B
PV Size               189.92 GB [398283417 secs] / NOT usable 32.19 MB
[LVM: 151 KB]
PV#                   1
PV Status             NOT available
Allocatable           yes (but full)
Cur LV                1
PE Size (KByte)       32768
Total PE              6076
Free PE               0
Allocated PE          6076
PV UUID               6he4J4-lpim-BHJG-334y-41DJ-Jz1n-lfMGA1


However, none of the lvm *scan utilities will find it, including vgscan.
I'm assuming this is because of the partition type.

It certainly wasn't obvious in the installer that it was going to change all
the partition types on the other disks in the box. If I'd had any inkling 
that that was going to happen, I would have pulled the plug. Unfortunately, 
unless I can figure out how to fix this, I've lost a lot of very important 
data (five years of pictures, my wife's creative writing, etc..). I've also
posted this to the debian-users group to hopefully get some help.

If it was truly the debian installer that caused this, it seems like a pretty
bad bug to me.





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------------------------------------
Received: (at 245159-done) by bugs.debian.org; 3 May 2004 18:17:25 +0000
>From anton@lml.bas.bg Mon May 03 11:17:25 2004
Return-path: <anton@lml.bas.bg>
Received: from lml.bas.bg [195.96.224.121] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BKi0L-0007sf-00; Mon, 03 May 2004 11:17:25 -0700
Received: from anton by lml.bas.bg with local (Exim 3.35 #1 (Debian))
	id 1BKi49-0002nX-00; Mon, 03 May 2004 21:21:21 +0300
Date: Mon, 3 May 2004 21:21:21 +0300
From: Anton Zinoviev <anton@lml.bas.bg>
To: Michael Roark <msroark@pobox.com>, 245159-done@bugs.debian.org
Subject: Re: Bug#245159: Install Report with bug.
Message-ID: <20040503182121.GC26715@lml.bas.bg>
References: <1082568205.4086ae0d7ca7c@66.58.21.18>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1082568205.4086ae0d7ca7c@66.58.21.18>
User-Agent: Mutt/1.3.28i
Delivered-To: 245159-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_20,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

On 21.IV.2004 at 12:23 (-0500) Michael Roark wrote:
> However, once I got it up and running and tried to get the second,
> still intact, lvm volume working, I discovered that the partition type on all
> the other drives had changed to Linux swap!

I belive that this serious bug has been fixed in beta 4.

Anton Zinoviev



Reply to: