OpenQNX :: The QNX Community Portal

Oct 06, 2008 - 07:26 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 47 unlogged users and 2 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
John Nagle
Post subject: QNX 6.3 running "login"  PostPosted: Aug 28, 2004 - 06:39 AM
Guest





I notice that QNX 6.3 on x86 has several copies of "login"
running. Is it bringing up the serial ports as user terminals,
or what?

John Nagle
Team Overbot
 
   
Reply with quote Back to top
cdm
Post subject: Re: QNX 6.3 running "login"  PostPosted: Aug 28, 2004 - 08:18 PM
QNX Master


Joined: Jul 05, 2002
Posts: 789

John Nagle <nagle@downside.com> wrote:
Quote:
I notice that QNX 6.3 on x86 has several copies of "login"
running. Is it bringing up the serial ports as user terminals,
or what?


I belive that it brings up the tty logins even if Photon starts.

chris

--
Chris McKillop <cdm@qnx.com> "The faster I go, the behinder I get."
Software Engineer, QSSL -- Lewis Carroll --
http://qnx.wox.org/
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
John Nagle
Post subject: Re: QNX 6.3 running "login"  PostPosted: Aug 29, 2004 - 03:01 AM
Guest





Chris McKillop wrote:
Quote:
John Nagle <nagle@downside.com> wrote:

I notice that QNX 6.3 on x86 has several copies of "login"
running. Is it bringing up the serial ports as user terminals,
or what?



I belive that it brings up the tty logins even if Photon starts.

That is so 1980s. How do I turn it off?

John Nagle
Team Overbot
 
   
Reply with quote Back to top
cdm
Post subject: Re: QNX 6.3 running "login"  PostPosted: Aug 30, 2004 - 07:33 PM
QNX Master


Joined: Jul 05, 2002
Posts: 789

Quote:

That is so 1980s. How do I turn it off?


I mean for /dev/con*, not serial devices.

chris

--
Chris McKillop <cdm@qnx.com> "The faster I go, the behinder I get."
Software Engineer, QSSL -- Lewis Carroll --
http://qnx.wox.org/
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Karsten P. Hoffmann
Post subject: Re: QNX 6.3 running "login"  PostPosted: Aug 31, 2004 - 06:05 PM
Guest





John Nagle wrote:
Quote:
Chris McKillop wrote:

I belive that it brings up the tty logins even if Photon starts.

That is so 1980s. How do I turn it off?


Edit /etc/config/ttys ...

HTH,

Karsten.

--
Karsten P. Hoffmann <karsten.p.hoffmann@web.de>
"I love deadlines. I especially like the whooshing sound
they make as they go flying by."
[In memoriam Douglas Adams, 1952-2001]
 
   
Reply with quote Back to top
Eric Johnson
Post subject: Re: QNX 6.3 running "login"  PostPosted: Aug 31, 2004 - 07:13 PM
Guest





The Neutrino User's Guide discusses this in a few places (look in the User's
Guide's keyword index under 'login'), and the configuration file is also
described in the Utilities Reference under the tinit utility.
- Eric

"Karsten P. Hoffmann" <karsten.p.hoffmann@web.de> wrote in message
news:ch2c3u$6mg$1@inn.qnx.com...
Quote:
John Nagle wrote:
Chris McKillop wrote:

I belive that it brings up the tty logins even if Photon starts.

That is so 1980s. How do I turn it off?


Edit /etc/config/ttys ...

HTH,

Karsten.

--
Karsten P. Hoffmann <karsten.p.hoffmann@web.de
"I love deadlines. I especially like the whooshing sound
they make as they go flying by."
[In memoriam Douglas Adams, 1952-2001]
 
   
Reply with quote Back to top
John Nagle
Post subject: Re: QNX 6.3 running "login"  PostPosted: Sep 01, 2004 - 04:12 PM
Guest





My point is that I saw this in QNX 6.3, but the
6.21 systems aren't running "login". So I am trying to
figure out what changed.

John Nagle
Team Overbot

Karsten P. Hoffmann wrote:

Quote:
John Nagle wrote:

Chris McKillop wrote:


I belive that it brings up the tty logins even if Photon starts.

That is so 1980s. How do I turn it off?



Edit /etc/config/ttys ...

HTH,

Karsten.
 
   
Reply with quote Back to top
John Nagle
Post subject: File system is usable but QNX can't recover it.  PostPosted: Jan 20, 2005 - 06:52 AM
Guest





I had a QNX 6.21NC machine taken in for a disk replacement.
Unfortunately, 40GB drives were no longer available, so the
repair shop copied the existing QNX partition to a new
partition. The old disk had a QNX partition, plus empty
space.

This resulted in a system that boots, but won't run
chkfsys.

The system will come all the way up, allow logins,
and shows valid files.

But if I try to run "chkfsys -f /dev/hd0t79" from
safe mode, it complains of invalid extents on the
root directory, errors in the bitmaps, and finally
reports a negative amount of space in use.
There's also a "/dev/hd0t11", reported as an "invalid
DOS file system".

Is there any way to straighten this out without
reloading everything?

John Nagle
 
   
Reply with quote Back to top
John Nagle
Post subject: Re: File system is usable but QNX can't recover it.  PostPosted: Jan 20, 2005 - 07:56 AM
Guest





It gets worse.

Completely reinstalled QNX 6.21NC. Deleted all disk
partitions. Selected "quarter" of disk (20GB) for the
QNX partition.

QNX installed OK. Rebooted and finished installation.
(Remember the 6.21 double-install issue.) Everything looked
good. Did the final reboot as instructed.

On reboot, got

"Cannot load diskboot(Cool"

Tried it again. Same error.

Booted from CD, and ran "chkfsys /dev/hd0t79". No errors,
128 blocks recovered. Shut down and restarted.

"Cannot load diskboot(Cool"

Reinstalled entire system again. Same error.

This machine ran QNX just fine for two years, had a hard
drive failure, and now I'm trying to bring up the new hard
drive. It's not working.

Is there any possibility that there could be a corrupted
partition table, and that the QNX installer can neither detect
nor correct this?

John Nagle

John Nagle wrote:
Quote:
I had a QNX 6.21NC machine taken in for a disk replacement.
Unfortunately, 40GB drives were no longer available, so the
repair shop copied the existing QNX partition to a new
partition. The old disk had a QNX partition, plus empty
space.

This resulted in a system that boots, but won't run
chkfsys.

The system will come all the way up, allow logins,
and shows valid files.

But if I try to run "chkfsys -f /dev/hd0t79" from
safe mode, it complains of invalid extents on the
root directory, errors in the bitmaps, and finally
reports a negative amount of space in use.
There's also a "/dev/hd0t11", reported as an "invalid
DOS file system".

Is there any way to straighten this out without
reloading everything?

John Nagle
 
   
Reply with quote Back to top
John Nagle
Post subject: Re: File system is usable but QNX can't recover it.  PostPosted: Jan 20, 2005 - 08:59 AM
Guest





Even wierder.

Erased hard drive to totally blank with a Maxstor
intialization utility. Reinstalled QNX 6.21NC.
Install went OK. After final reboot, the system
restarts, gets most of the way up, prints

"Unable to allocate resource: Invalid argument",

switches to a graphics mode, and the screen blanks.

It's in a valid graphics mode, though. If I
bring the system up in safe mode, and run "ph",
Photon comes up just fine.

The message seems to come from "seedres", of
all things.

John Nagle

John Nagle wrote:

Quote:
It gets worse.

Completely reinstalled QNX 6.21NC. Deleted all disk
partitions. Selected "quarter" of disk (20GB) for the
QNX partition.

QNX installed OK. Rebooted and finished installation.
(Remember the 6.21 double-install issue.) Everything looked
good. Did the final reboot as instructed.

On reboot, got

"Cannot load diskboot(Cool"

Tried it again. Same error.

Booted from CD, and ran "chkfsys /dev/hd0t79". No errors,
128 blocks recovered. Shut down and restarted.

"Cannot load diskboot(Cool"

Reinstalled entire system again. Same error.

This machine ran QNX just fine for two years, had a hard
drive failure, and now I'm trying to bring up the new hard
drive. It's not working.

Is there any possibility that there could be a corrupted
partition table, and that the QNX installer can neither detect
nor correct this?

John Nagle

John Nagle wrote:

I had a QNX 6.21NC machine taken in for a disk replacement.
Unfortunately, 40GB drives were no longer available, so the
repair shop copied the existing QNX partition to a new
partition. The old disk had a QNX partition, plus empty
space.

This resulted in a system that boots, but won't run
chkfsys.

The system will come all the way up, allow logins,
and shows valid files.

But if I try to run "chkfsys -f /dev/hd0t79" from
safe mode, it complains of invalid extents on the
root directory, errors in the bitmaps, and finally
reports a negative amount of space in use.
There's also a "/dev/hd0t11", reported as an "invalid
DOS file system".

Is there any way to straighten this out without
reloading everything?

John Nagle
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.