[Bug 1110] New: autopartkit fail to partition disk
http://bugs.skolelinux.no/show_bug.cgi?id=1110
Summary: autopartkit fail to partition disk
Product: Skolelinux
Version: sarge-release-2.0r0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Installation system
AssignedTo: debian-edu@lists.debian.org
ReportedBy: ronny@skolelinux.org
Autopartkit failes to partition using lvm.
i have seen this error, ocasionaly when using qemu. But all the time when
installing on vmware. I have not tested on real hardware.
Ronny
### syslog ###
Sep 2 11:05:33 profilechooser: info: choosing profile
Sep 2 11:06:25 profilechooser: info: profile = 'Main-Server' loopcount='x'
Sep 2 11:06:25 profilechooser: info: Successfully disabled creation of a local user
Sep 2 11:06:25 profilechooser: info: Always use UTC system clock
Sep 2 11:06:25 profilechooser: info: full profile is Main-Server
Sep 2 11:06:25 profilechooser: info: Single Main-server detected
Sep 2 11:06:25 profilechooser: info: Unable to locate '/cdrom/dists//Release'.
Can not find DISTRIBUTION name.
Sep 2 11:06:25 profilechooser: info: Preseeding
Sep 2 11:06:25 profilechooser: info: Added task 'Main-Server'
Sep 2 11:06:25 profilechooser: info: Preseeding tasksel with 'DebianEdu main
server packages'
Sep 2 11:06:25 profilechooser: info: Found preseeding for 'common'
Sep 2 11:06:25 profilechooser: info: Found preseeding for 'networked'
Sep 2 11:06:25 profilechooser: info: Found preseeding for 'main-server'
Sep 2 11:06:26 main-menu[1919]: (process:7875): cp:
Sep 2 11:06:26 main-menu[1919]: (process:7875): /cdrom/dists//Release
Sep 2 11:06:26 main-menu[1919]: (process:7875): : No such file or directory
Sep 2 11:06:27 main-menu[1919]: DEBUG: resolver (lvm10-udeb): package doesn't
exist (ignored)
Sep 2 11:06:27 main-menu[1919]: INFO: Menu item 'disk-detect' selected
Sep 2 11:06:29 net/hw-detect.hotplug: Detected hotpluggable network interface lo
Sep 2 11:06:29 kernel: pcnet32.c:v1.31c 01.Nov.2005 tsbogend@alpha.franken.de
Sep 2 11:06:29 kernel: ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 18 (level,
low) -> IRQ 169
Sep 2 11:06:29 kernel: pcnet32: PCnet/PCI II 79C970A at 0x1400, 00 0c 29 51 71
30 assigned IRQ 169.
Sep 2 11:06:29 kernel: eth0: registered as PCnet/PCI II 79C970A
Sep 2 11:06:29 kernel: pcnet32: 1 cards_found.
Sep 2 11:06:29 net/hw-detect.hotplug: Detected hotpluggable network interface eth0
Sep 2 11:06:29 kernel: Fusion MPT base driver 3.03.07
Sep 2 11:06:29 kernel: Copyright (c) 1999-2005 LSI Logic Corporation
Sep 2 11:06:29 kernel: Fusion MPT SPI Host driver 3.03.07
Sep 2 11:06:29 kernel: ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 17 (level,
low) -> IRQ 177
Sep 2 11:06:29 kernel: mptbase: Initiating ioc0 bringup
Sep 2 11:06:29 kernel: ioc0: 53C1030: Capabilities={Initiator}
Sep 2 11:06:29 kernel: scsi0 : ioc0: LSI53C1030, FwRev=00000000h, Ports=1,
MaxQ=128, IRQ=177
Sep 2 11:06:29 kernel: Vendor: VMware, Model: VMware Virtual S Rev: 1.0
Sep 2 11:06:29 kernel: Type: Direct-Access ANSI SCSI
revision: 02
Sep 2 11:06:29 kernel: SCSI device sda: 16777216 512-byte hdwr sectors (8590 MB)
Sep 2 11:06:29 kernel: sda: Write Protect is off
Sep 2 11:06:29 kernel: sda: Mode Sense: 00 00 00 00
Sep 2 11:06:29 kernel: sda: asking for cache data failed
Sep 2 11:06:29 kernel: sda: assuming drive cache: write through
Sep 2 11:06:29 kernel: SCSI device sda: 16777216 512-byte hdwr sectors (8590 MB)
Sep 2 11:06:29 kernel: sda: Write Protect is off
Sep 2 11:06:29 kernel: sda: Mode Sense: 00 00 00 00
Sep 2 11:06:29 kernel: sda: asking for cache data failed
Sep 2 11:06:29 kernel: sda: assuming drive cache: write through
Sep 2 11:06:29 kernel: sda5 >
Sep 2 11:06:29 kernel: sd 0:0:0:0: Attached scsi disk sda
Sep 2 11:06:31 hw-detect: Loading PCMCIA bridge driver module: i82365
Sep 2 11:06:31 kernel: Intel ISA PCIC probe: not found.
Sep 2 11:06:31 hw-detect: FATAL: Error inserting i82365
(/lib/modules/2.6.16-2-486/kernel/drivers/pcmcia/i82365.ko): No such device
Sep 2 11:06:31 hw-detect: Missing modules 'ide-mod (Linux IDE driver),
ide-probe-mod (Linux IDE probe driver), ide-detect (Linux IDE detection),
ide-floppy (Linux IDE floppy)
Sep 2 11:06:32 net/hw-detect.hotplug: Detected hotpluggable network interface eth0
Sep 2 11:06:32 net/hw-detect.hotplug: Detected hotpluggable network interface lo
Sep 2 11:06:33 kernel: program parted_devices is using a deprecated SCSI ioctl,
please convert it to SG_IO
Sep 2 11:06:33 kernel: end_request: I/O error, dev fd0, sector 0
Sep 2 11:06:33 kernel: end_request: I/O error, dev fd0, sector 0
Sep 2 11:06:34 main-menu[1919]: DEBUG: resolver (lvm10-udeb): package doesn't
exist (ignored)
Sep 2 11:06:35 main-menu[1919]: INFO: Menu item 'autopartkit' selected
Sep 2 11:06:35 kernel: device-mapper: 4.5.0-ioctl (2005-10-04) initialised:
dm-devel@redhat.com
Sep 2 11:06:35 autopartkit: FATAL: Module lvm_mod not found.
Sep 2 11:06:35 apt-install: Queueing package lvm2 for later installation
Sep 2 11:06:35 apt-install: Queueing package lvm10 for later installation
Sep 2 11:06:35 20debian-edu: info: Got profile 'Main-Server'
Sep 2 11:06:35 20debian-edu: info: Testing profile 'Main-Server'
Sep 2 11:06:35 autopartkit[10691]: Using 'msdos' default disk label type
Sep 2 11:06:35 autopartkit[10691]: Initializing LVM framework.
Sep 2 11:06:35 autopartkit: File descriptor 3 left open
Sep 2 11:06:35 autopartkit: File descriptor 4 left open
Sep 2 11:06:35 autopartkit: File descriptor 5 left open
Sep 2 11:06:35 autopartkit: File descriptor 6 left open
Sep 2 11:06:35 autopartkit: Reading all physical volumes. This may take a
while...
Sep 2 11:06:35 autopartkit: Found volume group "vg_system" using metadata
type lvm2
Sep 2 11:06:35 autopartkit[10691]: Initializing libparted.
Sep 2 11:06:35 autopartkit[10691]: Trying to select device to partition
Sep 2 11:06:35 kernel: program autopartkit is using a deprecated SCSI ioctl,
please convert it to SG_IO
Sep 2 11:06:35 kernel: end_request: I/O error, dev fd0, sector 0
Sep 2 11:06:35 kernel: end_request: I/O error, dev fd0, sector 0
Sep 2 11:06:36 autopartkit[10691]: Checking each available device
Sep 2 11:06:36 autopartkit[10691]: skipping device
/dev/ide/host0/bus1/target0/lun0/cd
Sep 2 11:06:36 autopartkit[10691]: Selected device
/dev/scsi/host0/bus0/target0/lun0/disc
Sep 2 11:06:57 autopartkit[10691]: skipping device
/dev/ide/host0/bus1/target0/lun0/cd
Sep 2 11:06:57 autopartkit[10691]: Created LVM stacks
Sep 2 11:06:57 kernel: end_request: I/O error, dev fd0, sector 0
Sep 2 11:06:57 kernel: end_request: I/O error, dev fd0, sector 0
Sep 2 11:06:57 autopartkit[10691]: skipping device
/dev/ide/host0/bus1/target0/lun0/cd
Sep 2 11:06:57 autopartkit[10691]: Found free space, distributing partitions.
Sep 2 11:06:57 autopartkit[10691]: Adding 786432 to total_wanted, now 786432
Sep 2 11:06:57 autopartkit[10691]: Adding 15753216 to total_wanted, now 16539648
Sep 2 11:06:57 autopartkit[10691]: Adding 17661952 to total_wanted, now 34201600
Sep 2 11:06:57 autopartkit[10691]: distribute_partition ok.
Sep 2 11:06:57 autopartkit[10691]: Suggested partition distribution:
Sep 2 11:06:57 autopartkit[10691]: free block
'/dev/scsi/host0/bus0/target0/lun0/disc' [8192,0]:
Sep 2 11:06:57 autopartkit[10691]: / [128 <= 287 <= 512] [128 <= 512]
/dev/scsi/host0/bus0/target0/lun0/disc 0-16777215 on disk
Sep 2 11:06:57 autopartkit[10691]: vg_system [1028 <= 4224 <= 8720] [1028
<= 8720] /dev/scsi/host0/bus0/target0/lun0/disc 0-16777215 on disk
Sep 2 11:06:57 autopartkit[10691]: vg_data [96 <= 3679 <= 8720] [96 <= -1]
/dev/scsi/host0/bus0/target0/lun0/disc 0-16777215 on disk
Sep 2 11:06:57 autopartkit[10691]: /tmp [0 <= 0 <= 0] [0 <= 0]
/dev/scsi/host0/bus0/target0/lun0/disc 0-16777215 on disk
Sep 2 11:06:57 autopartkit[10691]: Done listing suggested partition distribution.
Sep 2 11:06:57 autopartkit[10691]: Making '/', using 287 MiB, minsize=128
Sep 2 11:06:57 autopartkit[10691]: mountpoint: / fstype ext3
Sep 2 11:06:57 autopartkit[10691]: device path
'/dev/scsi/host0/bus0/target0/lun0/disc' [0-16777215]
Sep 2 11:06:57 autopartkit[10691]: creating in free area 0-16777215
Sep 2 11:06:57 autopartkit[10691]: Creating partition on disk having sectors
16777216
Sep 2 11:06:57 autopartkit[10691]: Trying to create part on 0-16777215
Sep 2 11:06:57 autopartkit[10691]: New partition from 0 to 588959
Sep 2 11:06:57 autopartkit[10691]: ped_disk_add_partition: 1
Sep 2 11:07:00 autopartkit[10691]: Running command: log-output -t autopartkit
/sbin/mkfs.ext3 -O resize_inode /dev/scsi/host0/bus0/target0/lun0/part1
Sep 2 11:07:00 autopartkit: mke2fs 1.39 (29-May-2006)
Sep 2 11:07:00 autopartkit: Filesystem label=
Sep 2 11:07:00 autopartkit: OS type: Linux
Sep 2 11:07:00 autopartkit: Block size=1024 (log=0)
Sep 2 11:07:00 autopartkit: Fragment size=1024 (log=0)
Sep 2 11:07:00 autopartkit: 74296 inodes, 297168 blocks
Sep 2 11:07:00 autopartkit: 14858 blocks (5.00%) reserved for the super user
Sep 2 11:07:00 autopartkit: First data block=1
Sep 2 11:07:00 autopartkit: Maximum filesystem blocks=67633152
Sep 2 11:07:00 autopartkit: 37 block groups
Sep 2 11:07:00 autopartkit: 8192 blocks per group, 8192 fragments per group
Sep 2 11:07:00 autopartkit: 2008 inodes per group
Sep 2 11:07:00 autopartkit: Superblock backups stored on blocks:
Sep 2 11:07:00 autopartkit: ^I8193, 24577, 40961, 57345, 73729, 204801, 221185
Sep 2 11:07:00 autopartkit:
Sep 2 11:07:00 autopartkit: Writing inode tables: 0/37^H^H^H^H^H
1/37^H^H^H^H^H 2/37^H^H^H^H^H 3/37^H^H^H^H^H 4/37^H^H^H^H^H 5/37^H^H^H^H^H
6/37^H^H^H^H^H 7/37^H^H^H^H^H 8/37^H^H^H^H^H
9/37^H^H^H^H^H10/37^H^H^H^H^H11/37^H^H^H^H^H12/37^H^H^H^H^H13/37^H^H^H^H^H14/37^H^H^H^H^H15/37^H^H^H^H^H16/37^H^H^H^H^H17/37^H^H^H^H^H18/37^H^H^H^H^H19/37^H^H^H^H^H20/37^H^H^H^H^H21/37^H^H^H^H^H22/37^H^H^H^H^H23/37^H^H^H^H^H24/37^H^H^H^H^H25/37^H^H^H^H^H26/37^H^H^H^H^H27/37^H^H^H^H^H28/37^H^H^H^H^H29/37^H^H^H^H^H30/37^H^H^H^H^H31/37^H^H^H^H^H32/37^H^H^H^H^H33/37^H^H^H^H^H34/37^H^H^H^H^H35/37^H^H^H^H^H36/37^H^H^H^H^Hdone
Sep 2 11:07:00 autopartkit: Creating journal (8192 blocks):
Sep 2 11:07:01 autopartkit: done
Sep 2 11:07:01 autopartkit:
Sep 2 11:07:01 autopartkit: Writing superblocks and filesystem accounting
information:
Sep 2 11:07:01 autopartkit: done
Sep 2 11:07:01 autopartkit:
Sep 2 11:07:01 autopartkit: This filesystem will be automatically checked every
28 mounts or
Sep 2 11:07:01 autopartkit: 180 days, whichever comes first. Use tune2fs -c or
-i to override.
Sep 2 11:07:01 autopartkit[10691]: mp: / dev:
/dev/scsi/host0/bus0/target0/lun0/part1
Sep 2 11:07:01 autopartkit[10691]: Making 'vg_system', using 4224 MiB,
minsize=1028
Sep 2 11:07:01 autopartkit[10691]: mountpoint: vg_system fstype lvm
Sep 2 11:07:01 autopartkit[10691]: device path
'/dev/scsi/host0/bus0/target0/lun0/disc' [594405-16777215]
Sep 2 11:07:01 autopartkit[10691]: creating in free area 594405-16777215
Sep 2 11:07:01 autopartkit[10691]: Creating partition on disk having sectors
16777216
Sep 2 11:07:01 autopartkit[10691]: Trying to create part on 594405-16777215
Sep 2 11:07:01 autopartkit[10691]: **Creating extended partition: 594405
16777215
Sep 2 11:07:01 autopartkit[10691]: New partition from 594405 to 9246294
Sep 2 11:07:01 autopartkit[10691]: ped_disk_add_partition: 1
Sep 2 11:07:04 autopartkit[10691]: Unknown fs 'lvm' for dev
'/dev/scsi/host0/bus0/target0/lun0/part5'
Sep 2 11:07:04 autopartkit[10691]: converting partition type to LVM
Sep 2 11:07:07 autopartkit[10691]: mp: vg_system dev:
/dev/scsi/host0/bus0/target0/lun0/part5
Sep 2 11:07:07 autopartkit[10691]: Making '/usr', using 0 MiB, minsize=448
Sep 2 11:07:07 autopartkit[10691]: mountpoint: /usr fstype
lvm:vg_system:lv_usr:default
Sep 2 11:07:07 autopartkit[10691]: fstype 'lvm:vg_system:lv_usr:default' not
handle by libparted.
Sep 2 11:07:07 autopartkit[10691]: mp: /usr dev: vg_system:lv_usr
Sep 2 11:07:07 autopartkit[10691]: Making 'swap', using 0 MiB, minsize=400
Sep 2 11:07:07 autopartkit[10691]: mountpoint: swap fstype
lvm:vg_system:lv_swap:swap
Sep 2 11:07:07 autopartkit[10691]: fstype 'lvm:vg_system:lv_swap:swap' not
handle by libparted.
Sep 2 11:07:07 autopartkit[10691]: mp: swap dev: vg_system:lv_swap
Sep 2 11:07:07 autopartkit[10691]: Making '/var', using 0 MiB, minsize=160
Sep 2 11:07:07 autopartkit[10691]: mountpoint: /var fstype
lvm:vg_system:lv_var:default
Sep 2 11:07:07 autopartkit[10691]: fstype 'lvm:vg_system:lv_var:default' not
handle by libparted.
Sep 2 11:07:07 autopartkit[10691]: mp: /var dev: vg_system:lv_var
Sep 2 11:07:07 autopartkit[10691]: Making 'vg_data', using 3679 MiB, minsize=96
Sep 2 11:07:07 autopartkit[10691]: mountpoint: vg_data fstype lvm
Sep 2 11:07:07 autopartkit[10691]: device path
'/dev/scsi/host0/bus0/target0/lun0/disc' [9253440-16777215]
Sep 2 11:07:07 autopartkit[10691]: creating in free area 9253440-16777215
Sep 2 11:07:07 autopartkit[10691]: Creating partition on disk having sectors
16777216
Sep 2 11:07:07 autopartkit[10691]: Trying to create part on 9253440-16777215
Sep 2 11:07:07 autopartkit[10691]: end sector value 16789805 to large,
trunkating to 16777215
Sep 2 11:07:07 autopartkit[10691]: New partition from 9253440 to 16777215
Sep 2 11:07:07 autopartkit[10691]: ped_disk_add_partition: 1
Sep 2 11:07:10 autopartkit[10691]: Unknown fs 'lvm' for dev
'/dev/scsi/host0/bus0/target0/lun0/part6'
Sep 2 11:07:10 autopartkit[10691]: converting partition type to LVM
Sep 2 11:07:13 autopartkit[10691]: mp: vg_data dev:
/dev/scsi/host0/bus0/target0/lun0/part6
Sep 2 11:07:13 autopartkit[10691]: Making '/skole/tjener/home0', using 0 MiB,
minsize=32
Sep 2 11:07:13 autopartkit[10691]: mountpoint: /skole/tjener/home0 fstype
lvm:vg_data:lv_home0:default
Sep 2 11:07:13 autopartkit[10691]: fstype 'lvm:vg_data:lv_home0:default' not
handle by libparted.
Sep 2 11:07:13 autopartkit[10691]: mp: /skole/tjener/home0 dev: vg_data:lv_home0
Sep 2 11:07:13 autopartkit[10691]: Making '/skole/backup', using 0 MiB, minsize=32
Sep 2 11:07:13 autopartkit[10691]: mountpoint: /skole/backup fstype
lvm:vg_data:lv_backup:default
Sep 2 11:07:13 autopartkit[10691]: fstype 'lvm:vg_data:lv_backup:default' not
handle by libparted.
Sep 2 11:07:13 autopartkit[10691]: mp: /skole/backup dev: vg_data:lv_backup
Sep 2 11:07:13 autopartkit[10691]: Making '/var/spool/squid', using 0 MiB,
minsize=20
Sep 2 11:07:13 autopartkit[10691]: mountpoint: /var/spool/squid fstype
lvm:vg_system:lv_squid:default
Sep 2 11:07:13 autopartkit[10691]: fstype 'lvm:vg_system:lv_squid:default'
not handle by libparted.
Sep 2 11:07:13 autopartkit[10691]: mp: /var/spool/squid dev: vg_system:lv_squid
Sep 2 11:07:13 autopartkit[10691]: Making '/tmp', using 0 MiB, minsize=0
Sep 2 11:07:13 autopartkit[10691]: mountpoint: /tmp fstype tmpfs
Sep 2 11:07:13 autopartkit[10691]: fstype 'tmpfs' not handle by libparted.
Sep 2 11:07:13 autopartkit[10691]: Passing it directly to fstab.
Sep 2 11:07:13 autopartkit[10691]: mp: /tmp dev: none
Sep 2 11:07:13 autopartkit[10691]: ped_disk_commit(disk_tmp) = 1
Sep 2 11:07:14 autopartkit[10691]: Initializing LVM.
Sep 2 11:07:14 autopartkit[10691]: Init LVM pv name vg_data,
devpath=/dev/scsi/host0/bus0/target0/lun0/part6
Sep 2 11:07:14 autopartkit[10691]: Initializing LVM pv
'/dev/scsi/host0/bus0/target0/lun0/part6'
Sep 2 11:07:14 autopartkit: File descriptor 3 left open
Sep 2 11:07:14 autopartkit: File descriptor 4 left open
Sep 2 11:07:14 autopartkit: File descriptor 5 left open
Sep 2 11:07:14 autopartkit: File descriptor 6 left open
Sep 2 11:07:14 autopartkit:
Sep 2 11:07:14 autopartkit: Device /dev/scsi/host0/bus0/target0/lun0/part6 not
found (or ignored by filtering).
Sep 2 11:07:14 autopartkit:
Sep 2 11:07:14 autopartkit[10691]:
lvm_init_dev(/dev/scsi/host0/bus0/target0/lun0/part6) failed.
Sep 2 11:07:14 autopartkit[10691]: Init LVM pv name vg_system,
devpath=/dev/scsi/host0/bus0/target0/lun0/part5
Sep 2 11:07:14 autopartkit[10691]: Initializing LVM pv
'/dev/scsi/host0/bus0/target0/lun0/part5'
Sep 2 11:07:14 autopartkit: File descriptor 3 left open
Sep 2 11:07:14 autopartkit: File descriptor 4 left open
Sep 2 11:07:14 autopartkit: File descriptor 5 left open
Sep 2 11:07:14 autopartkit: File descriptor 6 left open
Sep 2 11:07:14 autopartkit:
Sep 2 11:07:14 autopartkit: Device /dev/scsi/host0/bus0/target0/lun0/part5 not
found (or ignored by filtering).
Sep 2 11:07:14 autopartkit:
Sep 2 11:07:14 autopartkit[10691]:
lvm_init_dev(/dev/scsi/host0/bus0/target0/lun0/part5) failed.
Sep 2 11:07:17 autopartkit[10691]: Failed to find vg size
Sep 2 11:07:17 autopartkit: error: autopartkit failed.
Sep 2 11:07:17 main-menu[1919]: (process:10634): Aborted
Sep 2 11:07:17 main-menu[1919]: WARNING **: Configuring 'autopartkit' failed
with error code 1
Sep 2 11:07:17 main-menu[1919]: WARNING **: Menu item 'autopartkit' failed.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reply to: