[Trac-bugs] [PC-BSD Trac] #338: System Upgrade fails during uninstall phase
PC-BSD
trac at pcbsd.org
Sun Nov 7 15:12:11 PST 2010
#338: System Upgrade fails during uninstall phase
----------------------------+-----------------------------------------------
Reporter: gschultz | Owner: kris
Type: System Defect | Status: new
Priority: major | Milestone:
Component: Installer | Version: 8.1
Resolution: | Keywords:
----------------------------+-----------------------------------------------
Comment (by bjoe):
The problem is the linux.ko
The pc-sysinstall mount all the file systems described in the existing
fstab. Also linprocfs. Linprocfs provided by linprocfs.ko. This kernel
modul loaded automatically and depends on linux.ko. This modul loaded
automatically too. Both loaded in a chroot enviroment from the old
partition (8.0 PC-BSD) in the new kernel (8.1). When unistalling a linux
packages the "linux binary/kernel modul execute" and this result in a
kernel panic.
A quick solution:
Befor start the update comment out the "linprocfs" line in /etc/fstab.
During the update process there some error messages like "ELF binary type
unknown" on the terminal Alt+F1. After the upgrade activate the
"linprocfs" line.
I think there is two options to fix the problem:
Fix the pc-sysinstall/backend/functions-upgrade.sh. Appends a "-t
nolinprocfs" on the chroot ${FSMNT} /sbin/mount -a line (Look in the
patch).
Or
Include the linux.ko with linprocfs.ko in the "installer" kernel (here
8.1).
--
Ticket URL: <http://trac.pcbsd.org/ticket/338#comment:2>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management
More information about the Trac-bugs
mailing list