On Tue, 11 Jun 2002 14:43:22 -0400, “Matthew Herberg” <> matthew.herberg@yale.edu> > wrote:
I believe this is a simple question to answer:
I’ve installed QNX 6.2 but the DMA version is not compatible. No problem,
since pressing ESC loads .altboot at startup, which does not use DMA.
Actually My problem is a little different. The boot hangs if I don’t
do both - Hit to get .altboot to load with DMA disabled and if
I don’t select the boot option for verbose mode. If I do any other
combination It just hangs.
Erick
How can I easily swap the non-working .boot with the working .altboot so
that I don’t have to press ESC every startup.
cp /.altboot /.boot
Better yet, build a new image with dma disabled.
I also have this same problem.
How do I go ahead and build this new image with DMA disabled ?
Or how do I disable DMA when I’m installing 6.2?
On Tue, 11 Jun 2002 14:43:22 -0400, “Matthew Herberg” matthew.herberg@yale.edu> > wrote:
I believe this is a simple question to answer:
I’ve installed QNX 6.2 but the DMA version is not compatible. No
problem,
since pressing ESC loads .altboot at startup, which does not use DMA.
Actually My problem is a little different. The boot hangs if I don’t
do both - Hit to get .altboot to load with DMA disabled and if
I don’t select the boot option for verbose mode. If I do any other
combination It just hangs.
HAve a look in /qnxsdk/target/qnx6/x86/boot/build
There is a qnxbase.build file in there.
Use that to create a new boot image
mkifs qnxbase.bld qnxbase.ifs
Copy the qnxbase.ifs to .boot or .altboot
Yes I have NC but all I need is to swap .boot and .altboot since the
…altboot already disables DMA access to the hard disk and uses PIO
instead. the problem I have is how do I swap these two files around?
or better yet
I tried
cp .altboot .boot
this = reinstall
and both
cp -f /boot/fs/qnxbase.ifs .boot
cp -f /boot/fs/qnxbase.ifs .altboot
and get "cp: Can’t open destination file. (.boot or .altboot):
Resource Busy
any suggestions
I’m just trying to get an old machine up and running that doesn’t
support DMA access.
Yes I have NC but all I need is to swap .boot and .altboot since the
.altboot already disables DMA access to the hard disk and uses PIO
instead. the problem I have is how do I swap these two files around?
or better yet
I tried
cp .altboot .boot
this = reinstall
and both
cp -f /boot/fs/qnxbase.ifs .boot
cp -f /boot/fs/qnxbase.ifs .altboot
and get "cp: Can’t open destination file. (.boot or .altboot):
Resource Busy
any suggestions
I’m just trying to get an old machine up and running that doesn’t
support DMA access.
Many people tries to backup the original ifs by mv
mv /.boot /.boot-orig
which isn’t allowed in qnx4 filesystem.
This should be documented somewhere…
or listing in FAQ is enough?
(well it is somewhat mentioned as a virtual file entry in TechNotes)
mv /.boot /.boot-orig
mv: rename(/.boot,/.boot-orig) : Resource busy
The error message is confusing too… it isn’t busy after all.
Ah, the work-in-progress “System Administration Guide” qualifies mentioning.
What people should be aware is .boot (.altboot) is not allowed
to be renamed or be deleted. They are not “normal files”.
(Think about it, when this file be read into memory during boot,
there is no FILESYSTEM exist).
That’s why rm, mv, cp -f not working on them.
I think (somebody correct me), it only allowed (as root)
open/read/write/state/close operation.
Many people tries to backup the original ifs by mv
mv /.boot /.boot-orig
which isn’t allowed in qnx4 filesystem.
This should be documented somewhere…
or listing in FAQ is enough?
(well it is somewhat mentioned as a virtual file entry in TechNotes)
mv /.boot /.boot-orig
mv: rename(/.boot,/.boot-orig) : Resource busy
The error message is confusing too… it isn’t busy after all.
Ah, the work-in-progress “System Administration Guide” qualifies mentioning.