LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-20-2021, 08:08 AM   #91
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
32-bit i686 sshd error!


Running Dual PPro, the first i686! Took three DAYS to slackpkg the Alpha 1 updates (current to 2/19). An amazing 400MHz of CPU power on this box.

Can't ssh into the system any more.

I get this error on the originating system:

Code:
PTY allocation request failed on channel 0
have to ^C out.

On the System itself, if get this in the syslog:

Code:
sshd[433]: error: openpty: No such file or directory   
sshd[433]: error: session_pty_req: session 0 alloc failed
I'm assumming that it's something to do with either openssh or glibc since openpty is part of glibc.
 
Old 02-20-2021, 07:48 PM   #92
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,480
Blog Entries: 2

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
Thumbs up

Quote:
Originally Posted by GazL View Post
Yeah, that's the danger of these overly long development cycles. Inertia will keep folks around for a while, but once they're gone inertia will keep them from returning.
One could argue it's exactly that what filters out the most worthy ones, from those who lack the staying power and patience.
 
2 members found this post helpful.
Old 02-20-2021, 09:55 PM   #93
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
Originally Posted by Daedra View Post
Reading your post I immediately thought of this lol
https://www.youtube.com/watch?v=ObWrdYQ_6xY
LOL, that could apply to so many things right now...
 
Old 02-20-2021, 09:57 PM   #94
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
Originally Posted by hitest View Post
This is a bit dark, I did laugh though. I think you're engaging in hyperbole. I think that 15.0 will arrive in months.
Remember, years are made up of months. I had too. Cheers on the news!
 
1 members found this post helpful.
Old 02-21-2021, 05:01 AM   #95
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,918

Rep: Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035
Quote:
Originally Posted by SCerovec View Post
One could argue it's exactly that what filters out the most worthy ones, from those who lack the staying power and patience.
However comforting it might be to dismiss those who have left as "less worthy", I can't support that. One man's "staying power and patience" is another's "blind faith and stubbornness". Who's to say which?
 
6 members found this post helpful.
Old 02-21-2021, 09:13 AM   #96
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian
Posts: 7,351

Original Poster
Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
Thumbs up

Quote:
Originally Posted by GazL View Post
However comforting it might be to dismiss those who have left as "less worthy", I can't support that. One man's "staying power and patience" is another's "blind faith and stubbornness". Who's to say which?
I like this! I agree completely! I have used Slackware since 2004 (version 10.0) and continue to do so. I do have faith that Patrick will deliver a stellar version of Slackware.
Slackware 15.0 is shaping up to be an amazing release.
 
Old 02-21-2021, 09:43 AM   #97
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Now I have got myself into a silly little knot. I'm sure there's a simple way out but I can't find it.

I have created a starter installation of Slackware-current on a new partition. It includes all the A-set packages (apart from a few that I definitely don't need) and I now want to chroot into it to create my initrd and do a few other small jobs. Then I can make it bootable via EFI/elilo and do the rest of the installation from the inside.

But I can't get chroot to work because the new bash links to an extra library (libtinfo) and also looks for a special flag (GLIBC_2.25) in glibc. These are present on the new partition of course, but it looks as if chroot won't access them by default until after it has launched the shell.

How do I get around this?
 
Old 02-21-2021, 09:57 AM   #98
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,938

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by hazel View Post
But I can't get chroot to work because the new bash links to an extra library (libtinfo) and also looks for a special flag (GLIBC_2.25) in glibc. These are present on the new partition of course, but it looks as if chroot won't access them by default until after it has launched the shell.

How do I get around this?
Code:
chroot /path/to/new/install ldconfig
chroot /path/to/new/install
 
4 members found this post helpful.
Old 02-21-2021, 10:01 AM   #99
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Thanks! That did it. I knew it would be something simple.
 
Old 02-21-2021, 10:54 AM   #100
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
32-bit i686 sshd error!
Quote:
Originally Posted by larrybpsu View Post
On the System itself, if get this in the syslog:

Code:
sshd[433]: error: openpty: No such file or directory   
sshd[433]: error: session_pty_req: session 0 alloc failed
According to an Arch Linux forum thread, error could be linked to devpts not being mounted. A proposed workaround is:

Quote:
I have the same problem and I have a work around:

ssh <servername> "/bin/bash -i"
mount -t devpts devpts /dev/pts
exit

ssh <servername> and fault is gone.

But after a reboot the problem is back.
First check the proposed workaround. If it solves the problem, then you need to check /etc/fstab for the devpts mount options.

Last edited by gegechris99; 02-21-2021 at 10:55 AM. Reason: reminder of the topic: sshd error on 32-bit
 
1 members found this post helpful.
Old 02-22-2021, 11:18 AM   #101
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
Quote:
Originally Posted by gegechris99 View Post
32-bit i686 sshd error!


According to an Arch Linux forum thread, error could be linked to devpts not being mounted.
That's the problem. devpts is NOT mounted. I tried the workaround, but got this:

Code:
mount -t devpts devpts /dev/pts
mount: /dev/pts: mount point does not exist.
Quote:
First check the proposed workaround. If it solves the problem, then you need to check /etc/fstab for the devpts mount options.
This line is in the fstab, and it looks ok compared to all my other systems.

Code:
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
Tried this:

Code:
mount -a
mount: /dev/pts: mount point does not exist.
mount: /dev/shm: mount point does not exist.
It's not mounting both devpts and tmpfs.

Thanks for the workaround!

Last edited by larrybpsu; 02-22-2021 at 11:35 AM. Reason: added mount -a output
 
Old 02-22-2021, 12:04 PM   #102
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by larrybpsu View Post
That's the problem. devpts is NOT mounted. I tried the workaround, but got this:

Code:
mount -t devpts devpts /dev/pts
mount: /dev/pts: mount point does not exist.


This line is in the fstab, and it looks ok compared to all my other systems.

Code:
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
Tried this:

Code:
mount -a
mount: /dev/pts: mount point does not exist.
mount: /dev/shm: mount point does not exist.
It's not mounting both devpts and tmpfs.

Thanks for the workaround!
/dev/pts and /dev/shm should've been created by the devs package. Can you try reinstalling that?
 
Old 02-22-2021, 12:08 PM   #103
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,605

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Quote:
Originally Posted by bassmadrigal View Post
/dev/pts and /dev/shm should've been created by the devs package. Can you try reinstalling that?
Man, what sense have to reinstall devs package when all its devices are masked by (e)udev with a shiny tmpfs?

Also, reinstalling devs has a single result: messing totally the devices until reboot. Said so even Mr. Volkerding.

And all may boxes runs fine without devs, BTW...

Last edited by LuckyCyborg; 02-22-2021 at 12:10 PM.
 
Old 02-22-2021, 12:12 PM   #104
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by LuckyCyborg View Post
Man, what sense have to reinstall devs package when all its devices are masked by (e)udev with a shiny tmpfs?

Also, reinstalling devs has a single result: messing totally the devices until reboot. Said so even Mr. Volkerding.

And all may boxes runs fine without devs, BTW...
I just saw that the /dev/pts and /dev/shm locations were missing, and those locations are provided by the devs package. Seems logical to suggest reinstalling that package...
 
1 members found this post helpful.
Old 02-22-2021, 12:24 PM   #105
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,605

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Quote:
Originally Posted by bassmadrigal View Post
I just saw that the /dev/pts and /dev/shm locations were missing, and those locations are provided by the devs package. Seems logical to suggest reinstalling that package...
The devices from this devs package are NOT used by system from the moment when eudev starts. Absolutely no static devices are visible on /dev.

This package was not yet removed yet from Slackware just because it is a bit difficult to uninstall it, the single proper way I found it is to bind root somewhere else and to remove the package via this directory binding.

Last edited by LuckyCyborg; 02-22-2021 at 12:25 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14.2 SCIM input issue: cannot imput alpha letters(half-width) using scim, no fast searching for XFCE FileManager kcynice Slackware 0 07-21-2016 03:45 AM
LXer: K3b 2.0 Alpha Preview - First Alpha of the KDE4 Port Is Out LXer Syndicated Linux News 0 04-26-2009 05:30 PM
LXer: Mozilla Firefox 3.0 Alpha 1 (Deer Park Alpha 2) LXer Syndicated Linux News 0 04-09-2006 08:21 PM
Alpha RedHat Linux Network problem syxxpac023 Linux - Networking 0 09-07-2001 09:05 AM
Compaq Transfers Alpha to Intel jeremy General 2 07-16-2001 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration