अनुज Anuj Singh wrote:
Hi,
This is the message which I get just before proceeding installation
after partitioning and package selection.
Portion of log:
From anacdump.txt
Traceback (most recent call first):
File "/usr/lib/anaconda/partedUtils.py", line 876, in savePartitions
disk.commit()
File "/usr/lib/anaconda/packages.py", line 145, in turnOnFilesystems
anaconda.id.diskset.savePartitions ()
File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1007, in nextClicked
self.anaconda.dispatch.gotoNext()
File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
self.intf.icw.nextClicked()
File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback
self.currentWindow.renderCallback()
error: Error: Error informing the kernel about modifications to
partition /dev/hdc1 -- Device or resource busy. This means Linux
won't know about any changes you made to /dev/hdc1 until you reboot --
so you shouldn't mount it or use it in any way before rebooting.
Local variables in innermost frame:
self: <partedUtils.DiskSet instance at 0xb7bce72c>
disk: <PedDisk object at 0xb7e37638>
/dev/hdc1 is a FreeBSD6.2 slice.
anaconda.log
03:15:54 INFO : Running anaconda script /usr/bin/anaconda
03:15:59 INFO : using only installclass Red Hat Enterprise Linux
03:15:59 INFO : Red Hat Enterprise Linux is only installclass, using it
03:15:59 INFO : Display mode = g
03:15:59 INFO : Method = hd://hdd1:vfat//rhel5
03:16:07 INFO : anaconda floppy device fd0
03:16:16 INFO : Started mini-wm
03:16:16 INFO : Starting graphical installation...
03:16:16 DEBUG : isys.py:mount()- going to mount /tmp/hdd1 on /tmp/isodir
03:16:16 DEBUG : isys.py:mount()- going to mount /tmp/loop2 on /mnt/cdimage
03:16:17 DEBUG : isys.py:mount()- going to mount /tmp/loop2 on /mnt/cdimage
03:16:18 DEBUG : isys.py:mount()- going to mount /tmp/loop2 on /mnt/cdimage
03:16:18 DEBUG : isys.py:mount()- going to mount /tmp/loop2 on /mnt/cdimage
03:16:19 DEBUG : isys.py:mount()- going to mount /tmp/loop2 on /mnt/cdimage
03:16:22 INFO : Detected 576M of memory
03:16:22 INFO : Swap attempt of 576M to 1152M
03:16:22 WARNING : step installtype does not exist
03:16:22 WARNING : step complete does not exist
03:16:24 INFO : switching from iso 0 to 1 for RELEASE-NOTES-en_US.UTF-8.html
03:16:24 DEBUG : isys.py:mount()- going to mount /tmp/hdd1 on /tmp/isodir
03:16:24 DEBUG : isys.py:mount()- going to mount /tmp/loop3 on /tmp/isomedia
03:16:26 INFO : moving (1) to step welcome
03:16:31 INFO : moving (1) to step regkey
03:16:35 INFO : repopaths is {'base': 'Server'}
03:16:35 INFO : moving (1) to step findrootparts
03:16:35 DEBUG : starting mpaths
03:16:35 DEBUG : self.driveList(): ['hdc', 'hdd']
03:16:35 DEBUG : DiskSet.skippedDisks: []
03:16:35 DEBUG : DiskSet.skippedDisks: []
03:16:35 DEBUG : done starting mpaths. Drivelist: ['hdc', 'hdd']
03:16:35 DEBUG : starting dmraids
03:16:35 DEBUG : self.driveList(): ['hdc', 'hdd']
03:16:35 DEBUG : DiskSet.skippedDisks: []
03:16:35 DEBUG : DiskSet.skippedDisks: []
03:16:35 DEBUG : starting all dmraids on drives ['hdc', 'hdd']
03:16:35 DEBUG : scanning for dmraid on drives ['hdc', 'hdd']
03:16:35 DEBUG : done starting dmraids. Drivelist: ['hdc', 'hdd']
03:16:36 DEBUG : adding drive hdc to disk list
03:16:37 DEBUG : adding drive hdd to disk list
03:16:52 INFO : lv is VolGroup00/LogVol00, size of 1472
03:16:52 INFO : lv is VolGroup00/LogVol01, size of 2496
03:16:52 INFO : lv is VolGroup00/LogVol02, size of 672
03:16:52 INFO : lv is VolGroup00/LogVol03, size of 1024
03:16:52 INFO : lv is VolGroup00/LogVol04, size of 9984
03:16:52 INFO : lv is VolGroup00/LogVol05, size of 9344
03:16:52 DEBUG : isys.py:mount()- going to mount
/dev/VolGroup00/LogVol00 on /mnt/sysimage
03:16:52 DEBUG : isys.py:mount()- going to mount
/dev/VolGroup00/LogVol01 on /mnt/sysimage
03:16:52 DEBUG : isys.py:mount()- going to mount
/dev/VolGroup00/LogVol02 on /mnt/sysimage
03:16:52 DEBUG : isys.py:mount()- going to mount
/dev/VolGroup00/LogVol04 on /mnt/sysimage
03:16:52 DEBUG : isys.py:mount()- going to mount
/dev/VolGroup00/LogVol05 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc2 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc3 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc5 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc6 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc8 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc9 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc10 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc12 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc13 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc14 on /mnt/sysimage
03:16:54 DEBUG : isys.py:mount()- going to mount /tmp/hdc15 on /mnt/sysimage
03:16:56 DEBUG : removing drive hdd from disk lists
03:16:56 DEBUG : removing drive hdc from disk lists
03:16:56 INFO : moving (1) to step findinstall
03:16:56 INFO : using only installclass Red Hat Enterprise Linux
....
03:17:13 INFO : pv is /dev/hdc11 in vg VolGroup00, size is 29996
03:17:13 INFO : vg VolGroup00, size is 29984, pesize is 32768
03:17:13 DEBUG : VolumeGroupRequestSpec('VolGroup00').preexist_size is 29984.0
03:17:13 INFO : lv is VolGroup00/LogVol00, size of 1472
03:17:13 INFO : lv is VolGroup00/LogVol01, size of 2496
03:17:13 INFO : lv is VolGroup00/LogVol02, size of 672
03:17:13 INFO : lv is VolGroup00/LogVol03, size of 1024
03:17:13 INFO : lv is VolGroup00/LogVol04, size of 9984
03:17:13 INFO : lv is VolGroup00/LogVol05, size of 9344
03:17:16 INFO : hdd1 is a protected partition
03:17:16 INFO : moving (1) to step parttype
03:17:24 INFO : moving (1) to step partition
03:17:24 DEBUG : using preexisting size of 29984.0 for volume group VolGroup00
03:17:32 INFO : pv is /dev/hdc11 in vg VolGroup00, size is 29996
03:17:32 DEBUG : computeVGSize: vgsize is 29984
03:17:57 DEBUG : removing drive hdd from disk lists
03:17:57 DEBUG : removing drive hdc from disk lists
03:17:58 DEBUG : adding drive hdc to disk list
03:17:58 DEBUG : adding drive hdd to disk list
03:18:06 DEBUG : removing drive hdd from disk lists
03:18:06 DEBUG : removing drive hdc from disk lists
03:18:07 DEBUG : adding drive hdc to disk list
03:18:07 DEBUG : adding drive hdd to disk list
03:18:11 INFO : pv is /dev/hdc11 in vg VolGroup00, size is 29996
03:18:11 DEBUG : computeVGSize: vgsize is 29984
03:18:14 DEBUG : computeVGSize: vgsize is 29984
03:18:14 DEBUG : computeVGSize: vgsize is 29984
03:18:22 DEBUG : computeVGSize: vgsize is 29984
03:18:22 DEBUG : computeVGSize: vgsize is 29984
03:18:23 DEBUG : computeVGSize: vgsize is 29984
....
03:19:32 DEBUG : computeVGSize: vgsize is 29984
03:19:32 DEBUG : removing drive hdd from disk lists
03:19:33 DEBUG : removing drive hdc from disk lists
03:19:34 DEBUG : adding drive hdc to disk list
03:19:34 DEBUG : adding drive hdd to disk list
03:19:34 DEBUG : no preexisting size for volume group VolGroup00
03:19:34 DEBUG : got pv.size of 29996.3364258, clamped to 29984
03:19:34 DEBUG : total space: 29984
03:19:34 DEBUG : no preexisting size for volume group VolGroup00
03:19:34 DEBUG : got pv.size of 29996.3364258, clamped to 29984
03:19:34 DEBUG : total space: 29984
03:19:34 DEBUG : no preexisting size for volume group VolGroup00
03:19:34 DEBUG : got pv.size of 29996.3364258, clamped to 29984
03:19:34 DEBUG : total space: 29984
03:19:34 DEBUG : no preexisting size for volume group VolGroup00
03:19:34 DEBUG : got pv.size of 29996.3364258, clamped to 29984
03:19:34 DEBUG : total space: 29984
03:19:49 DEBUG : removing drive hdd from disk lists
03:19:49 DEBUG : removing drive hdc from disk lists
03:19:50 DEBUG : adding drive hdc to disk list
03:19:50 DEBUG : adding drive hdd to disk list
03:19:50 DEBUG : no preexisting size for volume group VolGroup00
03:19:50 DEBUG : got pv.size of 29996.3364258, clamped to 29984
03:19:50 DEBUG : total space: 29984
03:19:50 DEBUG : no preexisting size for volume group VolGroup00
03:19:50 DEBUG : got pv.size of 29996.3364258, clamped to 29984
03:19:50 DEBUG : total space: 29984
03:19:50 DEBUG : no preexisting size for volume group VolGroup00
03:19:50 DEBUG : got pv.size of 29996.3364258, clamped to 29984
03:19:50 DEBUG : total space: 29984
03:19:50 DEBUG : no preexisting size for volume group VolGroup00
03:19:50 DEBUG : got pv.size of 29996.3364258, clamped to 29984
03:19:50 DEBUG : total space: 29984
03:19:55 INFO : moving (1) to step partitiondone
03:19:55 INFO : moving (1) to step bootloadersetup
....
03:21:59 INFO : package paths is {'base': ['file:///tmp/isomedia//Server']}
03:22:00 DEBUG : Reading Local RPMDB
03:22:00 DEBUG : Setting up Package Sacks
03:22:04 INFO_2 : Excluding Packages in global exclude list
03:22:06 INFO_2 : Finished
03:22:06 DEBUG : Getting group metadata
03:22:07 INFO : no groups missing
03:22:07 INFO : moving (1) to step basepkgsel
.......
03:29:50 INFO : moving (1) to step confirminstall
03:30:13 INFO : moving (1) to step install
03:30:13 INFO : moving (1) to step enablefilesystems
03:30:17 INFO : lv is VolGroup00/LogVol00, size of 1472
03:30:17 INFO : lv is VolGroup00/LogVol01, size of 2496
03:30:17 INFO : lv is VolGroup00/LogVol02, size of 672
03:30:17 INFO : lv is VolGroup00/LogVol03, size of 1024
03:30:17 INFO : lv is VolGroup00/LogVol04, size of 9984
03:30:17 INFO : lv is VolGroup00/LogVol05, size of 9344
03:30:17 INFO : removing lv LogVol03
03:30:18 INFO : removing lv LogVol00
03:30:18 INFO : removing lv LogVol04
03:30:19 INFO : removing lv LogVol05
03:30:19 INFO : removing lv LogVol02
03:30:20 INFO : removing lv LogVol01
03:30:21 INFO : pv is /dev/hdc11 in vg VolGroup00, size is 29996
03:30:21 INFO : vgremove VolGroup00
03:30:22 INFO : pvremove -ff -y /dev/hdc11
03:30:22 INFO : pvcreate -ff -y -v /dev/hdc11
03:30:23 CRITICAL: parted exception: Error: Error informing the kernel
about modifications to partition /dev/hdc1 -- Device or resource busy.
This means Linux won't know about any changes you made to /dev/hdc1
until you reboot -- so you shouldn't mount it or use it in any way
before rebooting.
03:31:08 CRITICAL: Traceback (most recent call first):
File "/usr/lib/anaconda/partedUtils.py", line 876, in savePartitions
disk.commit()
File "/usr/lib/anaconda/packages.py", line 145, in turnOnFilesystems
anaconda.id.diskset.savePartitions ()
File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1007, in nextClicked
self.anaconda.dispatch.gotoNext()
File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
self.intf.icw.nextClicked()
File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback
self.currentWindow.renderCallback()
error: Error: Error informing the kernel about modifications to
partition /dev/hdc1 -- Device or resource busy. This means Linux
won't know about any changes you made to /dev/hdc1 until you reboot --
so you shouldn't mount it or use it in any way before rebooting.
I suggest
1. report this as a bug
2. Maybe ask/discuss on the Anaconda list where you will attract
attention form anaconda's developers. Probably nobody here can help much.
As a workaround, try using fdisk to create the partitions. You can
pioneer the technique by doing a manual install, and at the approriate
time switch to tty and do the deed.
Once you have the commands, you can pipe them into fdisk:
fdisk /dev/<whatever> <<Z
# fdisk commands
Z
in the %pre section, where, if necessary, you can do some calculations
to determine the proper values.
If this still doesn't work, there may be a kernel bug and no quick
resolution.
and installation aborts.
Regards
Anuj Singh
On Dec 31, 2007 4:20 AM, John Summerfield <[EMAIL PROTECTED]> wrote:
Hugh Brown wrote:
You can use kickstart to completely specify the partitions with the
--ondisk flag.
I don't see how that might prevent Anaconda getting confused about the
FreeBSD partition.
_I_ don't think it should be getting confused at all; I suggest a bug
report and/or asking on the anaconda list.
�?��?�? wrote:
No I am not using kickstart but can give a try ,
I have two hdd's on this pc. second is for saving data. first hdd I
use for operating systems.
I want to avoid formatting my FreeBSD OS every time I upgrade rhel or
fedora.
found this man page
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-options.html
ignoredisk --drives=drive1,drive2,...
can the same thing work for partitions over one hard disk instead of
ignoring disk devices?
Regards
Anuj Singh "anugunj"
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list