Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VI on to the root disk and Panic:srmountfun error 19

Status
Not open for further replies.

Slick629

Technical User
Sep 5, 2002
27
US
Hello all,
Any information or help is appreciated in advance. I have a SCO 5.07 server with a SCSI slha controller. I am up on the boot and root right now. I screwed the box up somehow by changing something in the /etc/conf/cf.d/mscsi file and then relinked the kernal. When it came up it loads all the hardware and then I get the following error:
Warning no root disk controller was found
Hd: a Boot-Time Loadable driver may be required
%usb_uhci - 11 – PCI bus=0 dev=18 func=2
H iinit
Panic: srmountfun – Error 19 mounting rootdev (1/42)
Error 19 opening dumpdev (1/41)

I had a backup of the original mscsi file and restored it but am not sure how, or if I can, relink the kernal off of a boot and root disk. When I put in a defbootstr I get a bootlocore error about low memory. So I have been on pcunix.com and sco.com and even here and found nothing useful to resolve this issue. So at this point is there a way to take VI from the mounted drive and put it onto the root disk so that I can use it to edit mscsi and other files. I really hate ed. BTW this is not a critical system but I am going to be supporting these all over the country and was hopeing to gain some more expierience. Any idea's?


 
Have you tried to boot off the
Code:
 unix.old
kernel ?

Hope This Help
PH.
 
Yes, I tried unix.old and I got the same error with the Panic srmountfun erro - 19. I have tried a boot string and tried copying the boot sector from the boot and root floppies to hda0 as well with the same result.Any other idea's?
 
If you can see the hard drive from the EBD and mount the hd0root then try a chroot to reverse your changes.

Hope This Help
PH.
 
What is the exact syntax of this command. I get a usage error: chroot newroot command. Where is the root stored? Thanks for the replies!
 
Code:
mount /dev/hd0root /mnt
chroot /mnt /bin/sh
And now you're on the hard disk until you exit the shell.

Hope This Help
PH.
 
Great thanks a million that got me working with all the commands now. Any ideas on the Panic: srmountfun error 19?

You are the greatest!!!
 
Do a
Code:
 man messages
and then search for
Code:
 ENODEV
and for
Code:
 srmountfun
.
You will realize that the kernel is unable to mount the root filesystem (1/42) due to a lack of disk controller: this is a "panic" situation. It will then attempt a memory dump on the swap filesystem (1/41) but at no avail.

Hope This Help
PH.
 
That worked great but I am still having the srmountfun error. Do I need to find a boot loadable driver and reinstall the slha? I had this all working right before I messed with the mscsi file to correct a tape drive problem? There has to be a way of fixing this without a total reload. Any ideas?

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top