LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-05-2001, 08:39 PM   #1
midnightcommander
LQ Newbie
 
Registered: Jan 2001
Location: Parkersburg, WV
Posts: 13

Rep: Reputation: 0
Question SuSE 7.1 mk_initrd problem


I've got two virtually identical PCs. Both are PentiumPro Digital Celebris GL 6180s. Both run SuSE 7.1; one as a server and one as a workstation I'm putting together for my daughter. The workstation install is brand new as of Saturday but the server's been in duty for a several months. I've updated the packages on both and that's about all. Both run reiser file systems and both have 100MB reiser /boot partitions. Neither have any exotic hardware. The only differences worth noting are:

* The servers got 64MB RAM and the workstation's got 104MB
* The workstation is running more packages than the server
* I recently started using pd-ksh on the server but still have bash on the workstation

Saturday evening, following SuSE's instructions, I successfully upgraded the workstation's kernel from 2.4. to 2.7 via RPM (rpm -Uvh --nodeps --force kernel.rpm). Afterward, I added resierfs module support by editing /etc/rc.config and running mk_initrd. After modifying lilo, the new kernel booted perfectly.

I wasn't so lucky with the server. Following the same steps, I got the following error after running mk_initrd:

creating initrd "//boot/initrd" for kernel "//boot/vmlinuz" (2.4.7-4GB)
no static shell

When I try to boot with the kernel, I get an error indicating the reiser file systems cannot be mounted:

RAMDISK: Compressed image found at block 0
Uncompressing ......... done.
Freeing initrd memory: 438k freed
VFS: Mounted root (ext2 filesystem)
Loading module usbcore ...
insmod: usbcore: no module by that name found
fatfs: bogus logical sector size 0
fatfs: bogus logical sector size 0
kernel panic: VFS: Unable to mount root fs on 03:08

I ran this from scratch several times (after blowing away the new kernel) and got the same error each time. I strongly suspect my korn shell failed to run mk_initrd properly but am not sure why. I tinkered with running mk_initrd with bash to no avail.

I guess the question is whether anyone is familiar enough with mk_initrd, bash and pd-ksh to know whether or not I can expect this to work under pd-ksh or knows what else might be wrong. I use the korn shell at work and would really love to continue using it here at home but am now unsure whether or not I'll run into other problems down the line.

Comments? Thanks.

Last edited by midnightcommander; 11-05-2001 at 08:47 PM.
 
Old 11-06-2001, 04:43 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
I guess the question is whether anyone is familiar enough with mk_initrd, bash and pd-ksh to know whether or not I can expect this to work under pd-ksh or knows what else might be wrong. I use the korn shell at work and would really love to continue using it here at home but am now unsure whether or not I'll run into other problems down the line.

Comments? Thanks.


None from any actual experience, but it's pretty much a bash world when you talk about linux.

As for your problem, it sounds like copying the kernel from the working PC to the other should fix things...


John
 
Old 11-06-2001, 05:47 AM   #3
midnightcommander
LQ Newbie
 
Registered: Jan 2001
Location: Parkersburg, WV
Posts: 13

Original Poster
Rep: Reputation: 0
Good idea, John. I'll copy the kernel - should work fine. Meanwhile, I'd really like to understand what's behind this problem. There's squat about it on the web (that I've found, anyway). Would still like to hear from anyone that's got any ideas.

Thanks
 
Old 11-06-2001, 06:45 AM   #4
midnightcommander
LQ Newbie
 
Registered: Jan 2001
Location: Parkersburg, WV
Posts: 13

Original Poster
Rep: Reputation: 0
Unhappy

Did not work. Got precisely as far as before which confirms that the resierfs module is not being passed to the kernel.

Will try loading via lilo...
 
Old 11-06-2001, 02:34 PM   #5
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
Originally posted by midnightcommander
Did not work. Got precisely as far as before which confirms that the resierfs module is not being passed to the kernel.

Will try loading via lilo...
FWIW, I did a string search in initrd for "reiser" and it popped up in there. You could try copying that over too, but eventually you might as well copy over all of /boot...


John
 
Old 11-06-2001, 04:38 PM   #6
midnightcommander
LQ Newbie
 
Registered: Jan 2001
Location: Parkersburg, WV
Posts: 13

Original Poster
Rep: Reputation: 0
I'll cp the workstations initrd over under a different name and diff the two files to see what's up. If it looks promising, I've give that a shot. Got nothing to lose since the box is still running on the 2.4.0 kernel.

Worse come to worse, I'll compile the server's kernel from scratch (2.4.14!!!) and be done with it.

The binary rpm upgrade appeals to me because it's something I can easily teach my daughter to do. I'd never gone that route before and was curious about how rpm would handle it.

Thanks for hanging in there, John.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10.0 Problem DarkM SUSE / openSUSE 3 03-12-2007 04:27 AM
Networking problem after SuSE 8.1 to SuSE 9.3 upgrade chiyoung_ku SUSE / openSUSE 2 06-02-2005 10:14 AM
mk_initrd, loading multiple modules? enygma Linux - General 2 07-26-2004 02:15 PM
SuSe 9.0 Problem.....XFree86 problem.... Stealthy_C Linux - General 7 03-05-2004 04:40 PM
SuSE problem wim Linux - Software 3 02-03-2002 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration