Skip navigation.
Home
The QNX Community Portal

View topic - QNX 6.3 running "login"

QNX 6.3 running "login"

Read-only archive of qnx.public.sysadmin at inn.qnx.com

QNX 6.3 running "login"

Postby John Nagle » Sat Aug 28, 2004 6:39 am

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
John Nagle
 

Re: QNX 6.3 running "login"

Postby cdm » Sat Aug 28, 2004 8:18 pm

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.

chris

--
Chris McKillop <cdm@qnx.com> "The faster I go, the behinder I get."
Software Engineer, QSSL -- Lewis Carroll --
http://qnx.wox.org/
cdm
QNX Master
 
Posts: 789
Joined: Fri Jul 05, 2002 9:38 am

Re: QNX 6.3 running "login"

Postby John Nagle » Sun Aug 29, 2004 3:01 am

Chris McKillop wrote:
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
John Nagle
 

Re: QNX 6.3 running "login"

Postby cdm » Mon Aug 30, 2004 7:33 pm

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/
cdm
QNX Master
 
Posts: 789
Joined: Fri Jul 05, 2002 9:38 am

Re: QNX 6.3 running "login"

Postby Karsten P. Hoffmann » Tue Aug 31, 2004 6:05 pm

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]
Karsten P. Hoffmann
 

Re: QNX 6.3 running "login"

Postby Eric Johnson » Tue Aug 31, 2004 7:13 pm

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...
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]
Eric Johnson
 

Re: QNX 6.3 running "login"

Postby John Nagle » Wed Sep 01, 2004 4:12 pm

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:

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.
John Nagle
 

File system is usable but QNX can't recover it.

Postby John Nagle » Thu Jan 20, 2005 6:52 am

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
John Nagle
 

Re: File system is usable but QNX can't recover it.

Postby John Nagle » Thu Jan 20, 2005 7:56 am

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(8)"

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(8)"

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
John Nagle
 

Re: File system is usable but QNX can't recover it.

Postby John Nagle » Thu Jan 20, 2005 8:59 am

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:

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(8)"

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(8)"

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
John Nagle
 


Return to qnx.public.sysadmin

Who is online

Users browsing this forum: No registered users and 1 guest

cron