Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Broken system: no root account, read only user account
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 23, 24, 25, 26, 27, 28  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 6:44 pm    Post subject: Reply with quote

That sounds very promising! I will certainly give it a shot.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 7:08 pm    Post subject: Reply with quote

is this what you see http://www.flickr.com/photos/94448123@N03/
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 7:10 pm    Post subject: Reply with quote

The first picture is exactly what I see.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 7:18 pm    Post subject: Reply with quote

in the reboot terminal as root,
Code:
 umount /dev/pts
mount -t devpts devpts /dev/pts
xdm
as monkey into gnome
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 8:12 pm    Post subject: Reply with quote

DONAHUE wrote:
in the reboot terminal as root,
Code:
 umount /dev/pts
as monkey into gnome

ouch.. it says /dev/pts not mounted..

but at least I can mount it..
after xdm
I got a rudimentary login screen (with a console log on the right),
but I could not login. after typing in the password I was taken back to the same rudimentary login screen. I suspect the password could not be keyed in. Now, I forgot what xdm pointed to..

OK, Displaymanager was pointing to 'gdm' in /etc/conf.d/xdm
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 8:16 pm    Post subject: Reply with quote

Code:
 rc-status sysinit

Quote:
Runlevel: sysinit
sysfs [ started ]
udev-mount [ started ]
devfs [ started ]
dmesg [ started ]
udev [ started ]


/etc/init.d/devfs performs the mounting of /dev/pts during boot and obviously did its job then

so this line of approach should not lead to an explanation of gnome behavior, but ..
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 8:19 pm    Post subject: Reply with quote

OK, hold one moment. Just as test I tried 'gdm' on another root terminal, I was able to login as monkey, and things looked fine!! So, there is something. xdm did not work but gdm perhaps did.. let me redo your steps:

mount -t devpts devpts /dev/pts
but run with gdm, and see if that works.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 8:23 pm    Post subject: Reply with quote

Code:

mount -t devpts devpts /dev/pts
gdm

with Displaymanager='gdm' seem to do the trick!
ls -la
indeed yields
crw --- w monkey tty 136 0
How do I make permanent? I would rather not face similar problem in a few days down the road..


I was even able to login as my regular user in KDE, and things look great! I have not tested for everything, but this is a great step forward...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43194
Location: 56N 3W

PostPosted: Fri Sep 20, 2013 8:28 pm    Post subject: Reply with quote

auddoula,

You can add mounting of devpts to /etc/fstab but its a bit of a hack because it should not be needed.
Please post the output of
Code:
emerge --info

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 8:32 pm    Post subject: Reply with quote

Here it is.. I am posting this from the resurrected system and as a regular user..
emerge --info |wgetpaste
Your paste can be seen here: http://bpaste.net/show/134111/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 8:34 pm    Post subject: Reply with quote

Code:
 rc-status sysinit
???
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 8:36 pm    Post subject: Reply with quote

DONAHUE wrote:
Code:
 rc-status sysinit
???

rc-status sysinit
Runlevel: sysinit
devfs [ started ]
udev-mount [ started ]
sysfs [ started ]
dmesg [ started ]
udev [ started ]
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 8:39 pm    Post subject: Reply with quote

rc-status is correct --- another theory down ---
hopefully Neddy can tell how /dev/pts can be present and not present at the same time, I can't
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43194
Location: 56N 3W

PostPosted: Fri Sep 20, 2013 8:43 pm    Post subject: Reply with quote

DONAHUE,

Namespaces ...

Code:
  │ │                 [*]   Unix98 PTY support                                                                │ │ 
  │ │                 [ ]     Support multiple instances of devpts   

That second option should be off.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 8:52 pm    Post subject: Reply with quote

sorry, I missed it.. did you mean 'on' or 'off'? The second option seems to be already off, I thought.. Does that also mean I have to rebuild the kernel?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43194
Location: 56N 3W

PostPosted: Fri Sep 20, 2013 9:00 pm    Post subject: Reply with quote

auddoula,

Set those two kernel options as my code block. If you need to change anything, you need to rebuild the kernel, install it in /boot and reboot into it.
If those options are already set the way I have shown, its not your problem, so just exit the kernel config and report back.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 9:02 pm    Post subject: Reply with quote

Code:
grep -i multiple /usr/src/linux/.config
should yield
Quote:
# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
and will IIRC

final config was posted somewhere in this book
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 9:07 pm    Post subject: Reply with quote

grep -i multiple /usr/src/linux/.config
# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set

so, looks the same to me.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 9:09 pm    Post subject: Reply with quote

was same in .config on page 14 of 24; so that's not it
great guess but not the problem
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 9:17 pm    Post subject: Reply with quote

a reboot followed by gdm or startkde or startx at this time would test whether a miraculous fix occurred inspired by the one success.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 9:21 pm    Post subject: Reply with quote

do you mean without
mount -t devpts?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Sep 20, 2013 9:24 pm    Post subject: Reply with quote

absent a miracle, devpts /dev/pts devpts gid=5,mode=620 0 0, added to /etc/fstab may be a permanent fix.

devfs does say it was provided to cover for people who did not have devpts in fstab :lol:
_________________
Defund the FCC.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 9:32 pm    Post subject: Reply with quote

For whatever reason, the resurrected computer seems slow, especially accessing internet via Firefox.. maybe it is still waking up. Just to make sure I am doing this right, and the syntax is correct (I have some doubts if I did this correctly for devpts): here is my fstab:
Quote:

/dev/sda1 /boot ext3 noauto,noatime 1 2
/dev/sda2 / ext3 noatime 0 1
/dev/sda5 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43194
Location: 56N 3W

PostPosted: Fri Sep 20, 2013 9:35 pm    Post subject: Reply with quote

DONAHUE,

I've been round all my systems in the last few days removing devpts from /etc/fstab to prevent a glibc update from failing at install time.
glibc takes ages to build an a Raspberry Pi - even with distcc, so it hurt on at least one build.

Code:
# leave devtmpfs to openrc
# devpts                                /dev/pts        devpts          defaults        0 0
was what I used to have.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
auddoula
Guru
Guru


Joined: 30 Apr 2008
Posts: 387

PostPosted: Fri Sep 20, 2013 9:43 pm    Post subject: Reply with quote

I am rebooting assuming Donahue's addition to fstab. Now, during the reboot /dev/sda2 is being checked since apparently it has been mounted 35 times(!) without being checked... I presume the change in fstab triggered this event. I can also read a message that /etc/conf.d/rc still exists and should be removed..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3 ... 23, 24, 25, 26, 27, 28  Next
Page 24 of 28

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum