installing minix 3.1.7 - reg.

255 views
Skip to first unread message

krishna chaitanya

unread,
Nov 1, 2010, 3:27:23 AM11/1/10
to min...@googlegroups.com
Hi all,

When i am trying to install minix 3.1.7 after creating the bootable CD from the image, its initially booting
and later on showing some errors and then finally stopping showing that NO BOOT CD.

Plz clarify this guys! thanks in advance.

regards,
Chaitanya.

Ulrich Schmidt

unread,
Nov 1, 2010, 12:58:46 PM11/1/10
to min...@googlegroups.com
Has your PC IDE or SATA drives?

AntoineLeca

unread,
Nov 1, 2010, 2:03:20 PM11/1/10
to minix3
On 1 Nov, 08:27, krishna chaitanya <chaitanya.ju...@gmail.com> wrote:
> When i am trying to install minix 3.1.7 after creating the bootable CD from
> the image, its initially booting and later on showing some errors and
> then finally stopping showing that NO BOOT CD.

You would probably need to try 3.1.8: it is much more recent, and
several glitches related to the CD booting have been enhanced in this
release.

Also, when doing a problem report, please include more details about
your hardware (or virtual machine, if applicable): it would greatly
help to give you better hints.


Antoine

krishna chaitanya

unread,
Nov 2, 2010, 12:59:42 AM11/2/10
to minix3
I have got SATA drive.
After the initial booting its showing menu like

1 regular Minix

later i entered option 1 and its showing ..
looking for bootable CD and this may take a minute ...
later on showing errors as
ATA ,, ..: no connection established ..

at last
NO CD FOUND .

and another thing was after burning the image on CD i have only 3
files in it and size of boot CD is being shown as 33KB.
Is there any problem with this.

eagerly waiting for reply..

Chaitu

krishna chaitanya

unread,
Nov 2, 2010, 1:01:43 AM11/2/10
to minix3
even i tried 3.1.8 ..same was the case ..
I present my problem in a bit detailed manner here

I have got SATA drive. I am installing on the hard disk.
After the initial booting its showing menu like

1 regular Minix

later i entered option 1 and its showing ..
looking for bootable CD and this may take a minute ...
later on showing errors as
ATA ,, ..: no connection established ..

at last
NO CD FOUND .

and another thing was after burning the image on CD i have only 3
files in it and size of boot CD is being shown as 33KB.
Is there any problem with this.

eagerly waiting for reply..

Chaitu


krishna chaitanya

unread,
Nov 2, 2010, 2:30:24 AM11/2/10
to minix3
sorry a bit of change for my earlier post ..

i have PATA drive ..which means IDE i think ..! plz clarify this!
In ubuntu's disk utility its showing as

PATA host adapter
250 GB ATA ST3250310AS

sorry for confusing u ..thanks in advance..

On Nov 2, 10:01 am, krishna chaitanya <chaitanya.ju...@gmail.com>
wrote:

Antoine LECA

unread,
Nov 2, 2010, 4:59:38 AM11/2/10
to min...@googlegroups.com
krishna chaitanya wrote:
> sorry a bit of change for my earlier post ..
>
> i have PATA drive ..which means IDE i think ..! plz clarify this!

Yes, PATA (Parallel ATA) and IDE are mostly synonymous.
And they oppose to SATA and AHCI.

> In ubuntu's disk utility its showing as
>
> PATA host adapter
> 250 GB ATA ST3250310AS

Thanks, but that is not the point we are after: you are speaking about
your hard disk here, while the issue is with the CD-ROM drive.


>> After the initial booting its showing menu like
>>
>> 1 regular Minix
>>
>> later i entered option 1 and its showing ..
>> looking for bootable CD and this may take a minute ...
>> later on showing errors as
>> ATA ,, ..: no connection established ..
>>
>> at last
>> NO CD FOUND .

The process is the following: the CD (either version) boots normally,
loads the boot monitor ("Welcome to MINIX 3. This is the boot
monitor."), then loads the MINIX image ("Loading Boot image 3.1.8."),
which starts, and searches its root file system ("Looking for boot CD.")
If I understand your informations, this searches failed ("No CD found",
note the capitalization is different for me.) This boils down to MINIX
(cdprobe) unable to determine the driver and device to use to address
the CD-ROM (or it may also be a defect on the CD).

In case your CD is AHCI (SATA), you should try the following: boots the
3.1.8 CD, and stops it at boot monitor (before the 1); at cd prompt,
type "ahci=yes" (without the quotes); then "boot".
If it works, and you have IDE/PATA hard disk as you said above, I am not
able to help you more (for "setup"), since I never tested such a
configuration. But keep on the list, you probably will be given help.


>> and another thing was after burning the image on CD i have only 3
>> files in it and size of boot CD is being shown as 33KB.
>> Is there any problem with this.

No problem. The files in the CD are stored in MINIX file systems, which
is NOT usual for a CD; and since you did not instruct your system of
this, it did not guess and only showed you those 3 files which are in
the ISO9660 file system.


Antoine

krishna chaitanya

unread,
Nov 3, 2010, 12:50:13 AM11/3/10
to minix3

On Nov 2, 1:59 pm, Antoine LECA <Antoine.Lec...@gmail.com> wrote:
> krishna chaitanya wrote:

> > In ubuntu's disk utility its showing as
>
> > PATA host adapter
> > 250 GB ATA ST3250310AS
>
> Thanks, but that is not the point we are after: you are speaking about
> your hard disk here, while the issue is with the CD-ROM drive.

ok. even my CD ROM is PATA host adapter.

> >> After the initial booting its showing menu like
>
> >> 1 regular Minix
>
> >> later i entered option 1 and its showing ..
> >> looking for bootable CD and this may take a minute ...
> >> later on showing errors as
> >> ATA ,, ..: no connection established ..
>
> >> at last
> >> NO CD FOUND .
>
> The process is the following: the CD (either version) boots normally,
> loads the boot monitor ("Welcome to MINIX 3. This is the boot
> monitor."), then loads the MINIX image ("Loading Boot image 3.1.8."),
> which starts, and searches its root file system ("Looking for boot CD.")
> If I understand your informations, this searches failed ("No CD found",
> note the capitalization is different for me.) This boils down to MINIX
> (cdprobe) unable to determine the driver and device to use to address
> the CD-ROM (or it may also be a defect on the CD).

yes sir, u got that exactly the CD drive is not able to detect the CD.
U have even mentioned a CD problem as well - bcoz i m using CD RW
which is a bit
older ones. Even i will try with a new CD.

> In case your CD is AHCI (SATA), you should try the following: boots the
> 3.1.8 CD, and stops it at boot monitor (before the 1); at cd prompt,
> type "ahci=yes" (without the quotes); then "boot".
> If it works, and you have IDE/PATA hard disk as you said above, I am not
> able to help you more (for "setup"), since I never tested such a
> configuration. But keep on the list, you probably will be given help.

Sir, again we were talking about the type of CD drive and why did u
again raise the issue of using IDE/PATA hard disk? Expecting a bit
clarification here.

awaiting reply,
Chaitanya



Antoine LECA

unread,
Nov 3, 2010, 4:22:03 AM11/3/10
to min...@googlegroups.com
krishna chaitanya wrote:
> ok. even my CD ROM is PATA host adapter.
<...>

> On Nov 2, 1:59 pm, Antoine LECA <Antoine.Lec...@gmail.com> wrote:
>> This boils down to MINIX
>> (cdprobe) unable to determine the driver and device to use to address
>> the CD-ROM (or it may also be a defect on the CD).
>
> yes sir, u got that exactly the CD drive is not able to detect the CD.

I did not say that. I said that the driver (a software component) was
not able to detect the CD-ROM (and I should have said the CD-ROM
*content*, as it is formatted.)


> U have even mentioned a CD problem as well - bcoz i m using CD RW
> which is a bit older ones. Even i will try with a new CD.

If you have any other computer at hand, it would be probably useful to
test your already burned media on it: just boots it from the CD, if you
get to the login: prompt it means the media is indeed valid.


>> In case your CD is AHCI (SATA), [...]
>> If it works, and you have IDE/PATA hard disk as you said above, [...]


>
> Sir, again we were talking about the type of CD drive and why did u
> again raise the issue of using IDE/PATA hard disk?
> Expecting a bit clarification here.

Because until your sentence above, we have no way to know what kind of
CD drive you were using. And a possible configuration would have been a
SATA CD and a IDE hard drive, and such a configuration I did not test
nor I know how it could behave at setup time.
Now we know this does not apply to your case, you can safely ignore it.


The fact is, when you have a IDE drive, I have no real idea of what is
going wrong. I guess the case difference in "NO CD FOUND" is irrelevant
and that the problem is with the result of `cdprobe` being error (please
confirm), but I do not know of ways to debug such an issue.


Antoine

Message has been deleted
Message has been deleted

krishna chaitanya

unread,
Nov 3, 2010, 11:14:30 AM11/3/10
to minix3
I am presenting the errors in detail ..... (text within braces is just
explanation and rest all is the actual error)
------------------------------------------------------------
Welcome MINIX3 boot monitor

1 Regular minix

Loading Minix 3.1.8 image
looking for boot CD
May take a minute
Please ignore the messages

(some details about minix version, open source, vrije univ. stuff and
so)

Initiating legacy i8253 timer
CPU 0 freq 2194 MHz.
APIC disabled using legacy PIC

AT0-D2 : controller not ready
AT0-D2 : controller not ready
AT0-D2 : reset failed driver busy
open '/dev/c0d2' failed: operation not permitted

AT0-D3 : controller not ready
AT0-D3 : controller not ready
AT0-D3 : reset failed driver busy
open '/dev/c0d3' failed: operation not permitted

AT0-D1 : controller not ready
AT0-D1 : controller not ready
AT0-D1 : reset failed driver busy
open '/dev/c0d1' failed: operation not permitted

.
(some errors of this sort came in between like checking all
possibilites)
.
.
open '/dev/c0d0' failed: operation not permitted
open '/dev/c0d6' failed: operation not permitted
open '/dev/c0d7' failed: operation not permitted
open '/dev/c0d5' failed: operation not permitted
.
.
.
(after some 2 minutes ended showing)
.

Not found
No CD found

-----------------------------------------------------------------------

This is actual error i am getting.

awaiting reply,
Chaitanya.






Ulrich Schmidt

unread,
Nov 2, 2010, 1:11:13 AM11/2/10
to min...@googlegroups.com
The MINIX boot cd has it's own filesystem so the files are not visible
under other operation systems.
Please give more details about your hardware.
Have you tried to enable the IDE Legacy Mode in your BIOS?
Minix has problems with a few SATA devices.


--
http://bitboy.kilu.de

Antoine LECA

unread,
Nov 3, 2010, 1:22:21 PM11/3/10
to min...@googlegroups.com
Thanks to take the trouble to write the details down.
This is exactly what I expected to see; as I said the problem is that I
do not have any idea of what is going wrong.
I can just explain to you where you are, to allow you to follow the code
path.

krishna chaitanya wrote:
> I am presenting the errors in detail ..... (text within braces is just
> explanation and rest all is the actual error)
> ------------------------------------------------------------
> Welcome MINIX3 boot monitor
>
> 1 Regular minix
>
> Loading Minix 3.1.8 image
> looking for boot CD
> May take a minute
> Please ignore the messages

This appears actually _after_ the messages about loading the system,
version etc.

> (some details about minix version, open source, vrije univ. stuff and
> so)
>
> Initiating legacy i8253 timer
> CPU 0 freq 2194 MHz.
> APIC disabled using legacy PIC
>

Back to the "looking for boot CD" messages: these messages are emitted
from the rc script of the initial ramdisk (src/drivers/ramdisk/rc),
around the end; they are activated by the cdproberoot variable which is
set when booting from a CD-ROM. The actual code is
echo 'Looking for boot CD. This may take a minute.'
echo 'Please ignore any error messages.'
echo
cddev=`cdprobe` || { echo 'No CD found'; exit 1; }
export cddev
echo "Loading ramdisk from ${cddev}p1"
loadramdisk "$cddev"p1
After (4th line), the cdprobe command is launched; its role is to find
where is the CD-ROM; this code (src/commands/cdprobe/cdprobe.c) loops
over all the drives attached to the ATA (IDE) interface, using the MINIX
driver; actually, it is about the first code to run which is using the
driver.
The drives number 2 and 3 ("master" and "slave" of the secondary
interface are tested first, since in many PCs the CD-ROM drives are
physically connected to the second interfaces, reserving the first
interfaces to the hard drives).


> AT0-D2 : controller not ready
> AT0-D2 : controller not ready
> AT0-D2 : reset failed driver busy

Those are emitted by the at-bios driver. It means the driver cannot talk
to the drive. The "why" is the problem I cannot solve.

> open '/dev/c0d2' failed: operation not permitted

This is from cdprobe, it gives up with that drive.


> AT0-D3 : controller not ready
> AT0-D3 : controller not ready
> AT0-D3 : reset failed driver busy
> open '/dev/c0d3' failed: operation not permitted

Same with the slave secondary.

> AT0-D1 : controller not ready
> AT0-D1 : controller not ready
> AT0-D1 : reset failed driver busy
> open '/dev/c0d1' failed: operation not permitted

Same with the slave on the primary interface.

> .
> (some errors of this sort came in between like checking all
> possibilites)
> .
> .
> open '/dev/c0d0' failed: operation not permitted

Now it tries to open the master primary (the hard disk, supposedly), and
the driver directly fails the request to open the device with O_RDONLY,
with EPERM.
This appears strange to me.

> open '/dev/c0d6' failed: operation not permitted
> open '/dev/c0d7' failed: operation not permitted
> open '/dev/c0d5' failed: operation not permitted

Same with the (probably inexistant) other IDE interfaces.

> (after some 2 minutes ended showing)
> .
> Not found

cdprobe gives up (at the bottom of the code).

> No CD found

Now we are back in the rc script, with an error. So the script writes
the message, and aborts the whole boot operation.


Antoine

krishna chaitanya

unread,
Nov 4, 2010, 2:39:54 AM11/4/10
to minix3
@antoine

so,
where can i find this rc script? can i find it in the src of minix. I
dint find it.

I have one more doubt and sorry to reiterate this issue again, but i
cant help it.

In the ubuntu's 10.04 disk utility both hard drive and CD drive are in
the PATA host adapter category.
and when i checked the bios system setup in that in the drives
category

Hard drive: Controller = SATA
Port = SATA-0
CD-RW: Controller = SATA
Port = SATA-1

I'm confused whether i have SATA or PATA drive!

Again i even i tried the boot process by typing "ahci=yes" at the cd
prompt (cd>)
later it was showing errors as:
--------------------------------------------------
Loading boot image 3.1.8

MINIX 3.1.8(some name all those stuff)
Initiating legacy i8253 timer
CPU 0 freq 2194 MHz.
ahci(73133):panic:no matching device found
syslib: panic.c: stacktrace: (some addresses)............
RS: service 'ahci-0' exited during intialization
ahci 73133
Request to RS failed: unknown error (error 302)
--------------------------------------------------------



chaitu.
Message has been deleted

Antoine LECA

unread,
Nov 4, 2010, 5:41:54 AM11/4/10
to min...@googlegroups.com
krishna chaitanya wrote:
> so,
> where can i find this rc script? can i find it in the src of minix. I
> dint find it.
and below

> On Nov 3, 10:22 pm, Antoine LECA <Antoine.Lec...@gmail.com> wrote:
>> [...] these messages are emitted

>> from the rc script of the initial ramdisk (src/drivers/ramdisk/rc),

Prepends http://gforge.cs.vu.nl/gf/project/minix/scmsvn/
?action=browse&path=/trunk/ to get the version history in a browser; so
http://gforge.cs.vu.nl/gf/project/minix/scmsvn/?action=browse&path=/trunk/src/drivers/ramdisk/rc
(on one line, obviously)

> In the ubuntu's 10.04 disk utility both hard drive and CD drive are in
> the PATA host adapter category.
> and when i checked the bios system setup in that in the drives
> category
>
> Hard drive: Controller = SATA
> Port = SATA-0
> CD-RW: Controller = SATA
> Port = SATA-1
>
> I'm confused whether i have SATA or PATA drive!

Easy to know: just open the hood! If the link attached to the drive is a
small (usually coloured) cable, it's Serial-ATA (7 conductors); if it is
a large (usually grey) ribbon, it's IDE/parallel (40/80 conductors).
My educated guess is that you will find SATA, since the ST3250310AS you
gave ealier is for a SATA-II drive...

However the story does not end here: next is the command set used.
With IDE, the only choice is the "old" ATA command set (ATAPI for CDs).
With SATA hard drives, there are two choices: one is ATA, for
compatibility; the other is AHCI, for more perfomance but requiring a
AHCI-aware chipset (for example ICH7 often does not), and a AHCI driver
at OS side (for example, stock Windows XP or MINIX up to 3.1.7 do not
include them.) Since the chipset setting is excluding (you cannot have
bread _and_ butter), and since the drivers are different too, the
command set to use is fixed with the BIOS.

From reading your mails, I guess you are using the ATA set. I do not
know exactly what are the differences for your (never mentionned)
chipset between "ATA" and "Legacy IDE", but you probably should try
toggle from ATA to Legacy and check first that Linux is still booting
without pain, and accessing the CD drive, and then whether you can boot
MINIX this way. I hope it helps.
If it still does not work, please mention the chipset you are using
(or the motherboard reference, so we can figure it).


Also, from your description above, I expect the CD drive to be found as
c0d2 or ATA-D2 (it would be the master at the second interface, i.e.
Port-1; there are usually no slave drives with SATA.)


> Again i even i tried the boot process by typing "ahci=yes" at the cd
> prompt (cd>)

This won't work since as explained above, you did not enable the AHCI
command set in the BIOS.
And please beware before trying that! Switching to AHCI might quite
easily prevent you to boot into Linux (Ubuntu). So make you 120% sure
you have some backup solution to restore your working operating system.


Antoine

krishna chaitanya

unread,
Nov 4, 2010, 2:07:22 PM11/4/10
to minix3

hi Antoine,

i even tried changing the SATA drive into legacy mode, and booted the
system and linux system booted very well.
and booted even minix and just same errors i mentioned earlier are
coming.

Chipset of my system: Intel(R) Q35 express chipset.


awaiting reply,
Chaitanya.

Antoine LECA

unread,
Nov 4, 2010, 2:25:33 PM11/4/10
to min...@googlegroups.com
krishna chaitanya wrote:
>
> legacy mode, [...] and booted even minix and just same errors

> i mentioned earlier are coming.

I am sorry for you.


> Chipset of my system: Intel(R) Q35 express chipset.

In other words, ICH9 southbridge, this should logically work...
I even believe I tested 3.1.7 CD successfully on one workstation here
with a similar southbridge and a SATA CD drive. I shall double check
that but it will be tomorrow.

I have no idea why this is failing for you; I am really sorry.


Antoine

krishna chaitanya

unread,
Nov 5, 2010, 1:09:26 AM11/5/10
to minix3
no big deal, no need to feel sorry.
i guess, better i post the problem as new thread ..
if u find any solution for this please do reply...

Chaitanya.

krishna chaitanya

unread,
Nov 5, 2010, 1:19:45 AM11/5/10
to minix3
hi Ulrich,

On Nov 2, 10:11 am, Ulrich Schmidt <ulrich1...@googlemail.com> wrote:

> The MINIX boot cd has it's own filesystem so the files are not visible
> under other operation systems.
> Please give more details about your hardware.

i request u to please go thru my last post about my hardware details.

> Have you tried to enable the IDE Legacy Mode in your BIOS?
> Minix has problems with a few SATA devices.

Yes i did enable IDE legacy mode in bios. but its jus showing the same
old errors which posted earlier.
There are three modes 1.AHCI 2.ATA 3.Legacy in the bios
and ATA was selected in it.

very eagerly awaiting reply,
thanks in advance,
Chaitanya.

krishna chaitanya

unread,
Nov 4, 2010, 2:44:27 AM11/4/10
to minix3


On Nov 2, 10:11 am, Ulrich Schmidt <ulrich1...@googlemail.com> wrote:
> The MINIX boot cd has it's own filesystem so the files are not visible
> under other operation systems.
> Please give more details about your hardware.

i request u to please go thru earlier post regarding the hardware,
actually i am bit confused!

> Have you tried to enable the IDE Legacy Mode in your BIOS?
> Minix has problems with a few SATA devices.

No, i didnot enable legacy mode in BIOS. It is in ATA mode in bios.
I guess there are three modes 1. AHCI 2. ATA 3. Legacy

i need a clarification in this issue.

eagerly waiting for response.

thanks in advance,
Chaitanya.

Tomas Hruby

unread,
Nov 5, 2010, 8:47:43 AM11/5/10
to min...@googlegroups.com
> > Have you tried to enable the IDE Legacy Mode in your BIOS?
> > Minix has problems with a few SATA devices.
>
> No, i didnot enable legacy mode in BIOS. It is in ATA mode in bios.
> I guess there are three modes 1. AHCI 2. ATA 3. Legacy

Omfg, dude pls, try to set the controllers to use the legacy mode! T.

krishna chaitanya

unread,
Nov 5, 2010, 10:42:36 AM11/5/10
to minix3

@Tomas,

i even booted the minix in legacy mode and
even that is showing the same errors.(the same error which is coming
in ATA mode).

eagerly waiting for reply,
Chaitanya

Reply all
Reply to author
Forward
0 new messages