Kernel upgrading problems, please help...

Kernel upgrading problems, please help...

Post by Jie Zho » Fri, 09 Mar 2001 08:10:03

I did an upgrade from  kernel-2.2.16 to the latest version-2.4.2.
During the "make bzImage"step, I got bunch of this warning:
"pasting would not give a valid preprocessing token". then I just ignored
it and after all done
rebooted the linux and got into the new kernel successfully. However, when
I tried to
mount my DVD RAM using the command mount -t udf /dev/hdb /mnt/dvd
(I did choose the support for udf filesystem), the command completed with a
promp appears.but
after the 'busy' light on the DVD catridge gets on, it never gets off any
more, and
the computer froze then. I thought it might be because I haven't unmount
the DVD
, so I restarted the computer and use the 'dmesg' command to see what
happens, then I found a lot of
"Unable to identify CD-ROM Format" messages in it. so I did a 'mount'
command to check whether it's
 mounted or not, and the result shows that the /dev/hdb(which is the DVD on
my computer) is not mounted
yet.So I did the mount -t udf /dev/hdb /mnt/dvd again, same thing happens
again-the computer froze with the DVD light on.
I read in the book "Running Linux", the author said
"If any errors or warnings occur while compiling, you cannot expect the
kernel to work correctly..." I'm wondering if it's because of the the
warning I got during
the process of compiling the image file-"pasting would not give a valid
preprocessing token"
that the mount command fails.
Any kind of suggestions are appreciated..


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at
Please read the FAQ at


1. * Please Help * redhat5.1 kernel upgrade problem

I'm running Redhat5.1 with kernel 2.0.34. Everything seems to be working

OK but it seems every new *.rpm install gives a failed dependancy. I
thought a kernel upgrade was in order. I downloaded linux-2.0.36.tar.gz
to /usr/src. I deleted the old linux source directory and extracted the
new. I now have a /usr/src/linux directory full of subdirectories and
magical stuff. I read the README and it said I needed gcc-2.6.3 so I
downloaded the rpm and installed it. I did the 'make mrproper'. I am
logged on as root. Running 'make xconfig' gives the following:

#make xconfig
rm -f include/asm
< cd include ; ln -sf asm -i386 asm>
make -c scripts
make [1]: Entering directory '/usr/src/linux/scripts'
make -c /usr/src/linux/drivers/sound mkscript
make [2]: Entering directory '/usr/src/linux/drivers/sound'
compiling Sound Driver v 3.5.5-beta1 for Linux
rm -f configure
gcc - I/usr/src/linux/include -o configure configure.c
configure.c:19: stdio.h: no such file or directory

I get several more lines similar to the last and then the bash prompt. I

do have an 'include' directory with a subdirectory asm-i386. There is no

stdio.h file in it. My soundblaster16pnp card works with the sndconfig
text-menu thingy; I hear Linus pronounce Linux though I haven't heard a
sound since.

Does anyone know my next step?

When I do get the 'make xconfig' to finish, am I right in thinking my
next steps will be
make dep
make clean
make modules
make modules_install
make zImage
make zlilo

Any help greatly appreciated. Posts or emails will be fine.


I went back at it. Typed 'make xconfig' which did not start a GUI but
gave the command line version (? I am in xwindows, make menuconfig did
the same). I answered y or n to the questions, some of which were beyond

me so I left the default. When it came to sound support I said no and
make continued on to the finish:
"The linux kernel is now hopefully configured for your setup.."
I read the Makefile and nothing really stood out although I'm not sure
what i should be looking for so I made no changes. Then:
#make dep
gcc -I/usr/src/linux/include -02 -fomit-frame-pointer -0 scripts /mkdep
scripts/makedep.c : 1 : stdio.h : No such file or directory.
(more lines like this)
make: ***[scripts/mkdep] Error 1

Still hoping someone out there can tell me what I'm doing wrong. I'd
really like to have sound support too.

Should I upgrade from kernel 2.0.34 to 2.0.35 and then to 2.0.36? The
rpm upgrade to 2.0.35 on the cd gives a dependancy error ststing it
needs 2.0.34 which I am currently running.

2. LPR Programming question

3. Please Help!!! Kernel Upgrade problem

4. Thread Library Semaphores

5. PLEASE PLEASE HELP Major problem with my SCSI & Redhat 5.0 PLEASE Help

6. Compiling gimp-print on Solaris

7. 3Com 3C900 Broke With Kernel 2.2.3 Upgrade (help please!)

8. O(1) J9 scheduler: set_cpus_allowed

9. Kernel upgrade help PLEASE

10. please help:X all funky after 2.4.7 kernel upgrade

11. Sendmail problems. Please please please please help!

12. Please help re kernel upgrade

13. Please help - upgrading kernel