Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2002 17:26:42 -0000
From:      "CB" <ecliptica.ww@virgin.net>
To:        <freebsd-users@uk.freebsd.org>
Cc:        <freebsd-questions@FreeBSD.org>
Subject:   FreeBSD Linux emulator and ATAPI-CDROM conflict?
Message-ID:  <003301c19de9$cceb5480$1f61ff3e@newroad.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
With all thanks due to Joe, Dominic and others on the UK users list, also to Kris and Ruslan on the FreeBSD-questions list, I'm delighted to report that I have now successfully upgraded from 4.0 to 4.1 using cvsup and the "make" sequence. Please form an orderly Q for pints the next time I manage to make it to a social!

Part of the problem was certainly the linux emulator. After encountering the  "Fatal trap 12: page fault while in kernel mode" during bootup yet again, I went into /etc/rc.conf and disabled it; subsequent boots have been sweet as a nut.

The first time I successfully logged in with version 4.1 I tried the CD ROM drive with "mount /cdrom" and it worked fine. I was able to "cd /cdrom" and "ls" to see the files on a CD, then "cd /root" and "umount /cdrom", everything working exactly as I would expect.

One of the things I want to do is install StarOffice 5.2 though, and to do that (if I understand correctly) I need to be running the Linux emulator. I thought to do this by typing "linux" at a shell prompt and it seemed to start - at least I got the prompt back with no error message.

I put the StarOffice CD in the drive and closed it, did "mount /cdrom" as before, and got:
cd 9660: device busy

then tried "umount /cdrom" and got:
umount: /cdrom: not currently mounted

right back to the same old problem I posted on the UK users list around New Year, the attempt to solve which having been the reason for the upgrade from FreeBSD 4.0.

I rebooted the box (without the linux emulator), but it still seems to be locked now into this CD ROM problem.

Is it possible that running the linux emulator just once could have misconfigured something in the ATAPI-CDROM driver file(s)?

The cure would appear to be a complete system rebuild and boot without the linux emulator.

I can save any relevant files now (if someone might suggest which), then do another pass through the "make world" process, then compare the rebuilt files with the saved ones to try and isolate the problem.

The Makefile in /usr/src/sys/modules/linux appears to identify the emulator version as v 1.34.2.1 2000/07/07. Is there a more recent version included with later FreeBSD 4.x releases?

Thanks for any help.
Charles


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>With all thanks due to Joe, Dominic and others on 
the UK users list, also to Kris and Ruslan on the FreeBSD-questions list, I'm 
delighted to report that I have now successfully upgraded from 4.0 to 4.1 using 
cvsup and the "make" sequence. Please form an orderly Q for pints the next time 
I manage to make it to a social!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Part of the problem was certainly the linux 
emulator. After encountering the&nbsp; "Fatal trap 12: page fault while in 
kernel mode" during bootup yet again, I went into /etc/rc.conf and disabled it; 
subsequent boots have been sweet as a nut.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The first time I successfully logged in with 
version 4.1 I tried the CD ROM drive with "mount /cdrom" and it worked fine. I 
was able to "cd /cdrom" and "ls" to see the files on a CD, then "cd /root" and 
"umount /cdrom", everything working exactly as I would expect.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>One of the things I want to do is install 
StarOffice 5.2 though, and to do that (if I understand correctly) I need to be 
running the Linux emulator. I thought to do this by typing "linux" at a shell 
prompt and it seemed to start - at least I got the prompt back with no error 
message.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I put the StarOffice CD in the drive and closed it, 
did "mount /cdrom" as before, and got:<BR>cd 9660: device busy</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then tried "umount /cdrom" and got:<BR>umount: 
/cdrom: not currently mounted</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>right back to the same old problem I posted on the 
UK users list around New Year, the attempt to solve which having been the reason 
for the upgrade from FreeBSD 4.0.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I rebooted the box (without the linux emulator), 
but it still seems to be locked now into this CD ROM problem.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is it possible that running the linux emulator just 
once could have misconfigured something in the ATAPI-CDROM driver 
file(s)?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The cure would appear to be a complete system 
rebuild and boot without the linux emulator.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I can save any relevant files now (if someone might 
suggest which), then do another pass through the "make world" process, then 
compare the rebuilt files with the saved ones to try and isolate the 
problem.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The Makefile in /usr/src/sys/modules/linux appears 
to identify the emulator version as v 1.34.2.1 2000/07/07. Is there a more 
recent version included with later FreeBSD 4.x releases?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for any 
help.<BR>Charles<BR></FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301c19de9$cceb5480$1f61ff3e>