Greg Lopp on 1 Feb 2006 23:28:17 -0000


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

Re: [PLUG] Kernel upgrade woes


Took a look while in "recovery mode" (aka single user mode) and found the udev was not installed.

Booted into an old 2.4.27 kernel and didn't have any mount problems. Then rebooted into the 2.6.10 kernel without mount problems. I have repeated that pattern: 2.4.27 to 2.6.10 and it's OK. 2.6.10 to 2.6.10 and nothing works. What is this /etc/blkid.tab anyway?


On a different note, it appears that I can no longer build a kernel. After several warnings about "pointer tagets" " differing in sighnedness", I fail in arch/i386/kernel/process.c when the assembler errors out, informing me that "suffix or operands invalid for 'mov'" I thought that I'd removed all those cross compiler tools....could a config file have been missed somewhere?


Jon Nelson wrote:

Greg Lopp said:


Attempting to keep a long story short:

I reconfigured a few kernel settings, rebuilt and rebooted. Upon reboot
into the new kernel, the mount command fails. When root calls it from
the command line, it seg faults. It appears to have failed during the
startup process, as there is no /proc fs and neither NIC is up (is that
a side effect of procfs, devfs or something else?) So, basically it is
a useless system. So why does mount work OK when I boot via grub into
"recovery mode"? How do I get my test box back?



I am pretty sure this has to do with udev as I had similar problems when trying to upgrade from 2.4.27-2-k6 to 2.6.12. Here is the type of error messages I got:

   ...
   .../ide-core.o: insmod ide-detect failed
   .../ide-core.o: insmod ide-disk failed
   Journalled Block Device driver loaded
   pivot_root: No such file or directory
   /sbin/init: ... cannot open dev/console: No such file
   Kernel panic: Attempted to kill init!

To fix this problem I used a knoppix CD. In this instance I booted to just
a console by entering knoppix 2 at the boot: prompt. Once there I did the
following:

   # mount /dev/hda1 /mnt/hda1 -o rw
   # chroot /mnt/hda1
   # mount /proc

You need to mount your root partition as show above because knoppix mounts
drives nodev by default. If you don't you'll get /dev/null: Permission
Denied errors that will prevent you from installing/removing packages. For
more info see http://www.knoppix.net/wiki/Dev_null_permission_denied.

Then I uninstalled udev and the 2.6.12 kernel and reinstalled hotplug. The
2.4.27-2-k6 kernel then booted with no problems.

Jon




Other facts:
debian (stable/testing?)
Kernel 2.6.10
had been up for about a month
last dist-upgrade was a few days ago
installed some cross-compiling tools from embedded-debian (with some
amount of dpkg fighting)


___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug






___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug





___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug