LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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


Closed Thread
  Search this Thread
Old 08-01-2016, 08:20 AM   #1441
Kirill Smirnov
LQ Newbie
 
Registered: Jan 2016
Posts: 6

Rep: Reputation: Disabled

Quote:
Originally Posted by dugan View Post
In /usr/lib or /usr/lib64:

libncurses.so.5 symlinked to libtinfo.so.5
libtifo.so.5 should be a symlink to libncurses.so.5, shouldn't it?
Voting for this.
 
Old 08-01-2016, 08:22 AM   #1442
Kirill Smirnov
LQ Newbie
 
Registered: Jan 2016
Posts: 6

Rep: Reputation: Disabled
Please apply this patch to autoconf package:

http://git.savannah.gnu.org/gitweb/?...25626711e7f7aa

This patch fixes a warning:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE [^\}]*}/ at /usr/bin/autoscan line 361.
 
Old 08-01-2016, 11:36 AM   #1443
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
OpenSSH 7.3 is out. This release fixes a number of security issues (mostly related to timing attacks) and adds a handful of new minor features. The developers also warn that RSA keys less than 1024 bits will be refused in a near-future release.
--
Best regards,
Andrzej Telszewski
 
Old 08-01-2016, 03:01 PM   #1444
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

In #1438 I asked you to add some Plan 9 modules to initrd.img for having Plan 9 file system support in the installer.

But there's a problem, and I have lost many of my hairs nailing it down

I'm mostly interested in 9p.ko module, since it seems to be sufficient to have the file system working.
But I went ahead and recreated the initrd.img with all the 9p* modules, that is:
Code:
/kernel/net/9p/9pnet.ko
/kernel/net/9p/9pnet_rdma.ko
/kernel/net/9p/9pnet_virtio.ko
/kernel/fs/9p
/kernel/fs/9p/9p.ko
and I had really hard times modprobing 9p.ko, but insmoding worked fine.

It turned out that, the huge.s kernel has the following set to yes:
Code:
CONFIG_NET_9P=y
which basically prevents modprobing of 9p.ko, because 9pnet.ko is dependency for 9p.ko and that is what happens:
Code:
$ modprobe 9p
modprobe: ERROR: could not insert '9p': Exec format error
$ dmesg | grep 9pnet
9pnet: exports duplicate symbol p9_client_attach (owned by kernel)
Recreating the initrd.img without 9pnet.ko included allows for correct operation.

BTW, for 9pnet_virtio.ko the situation might be similar, but I cannot be sure about that:
Code:
CONFIG_NET_9P_VIRTIO=y
--
Best regards,
Andrzej Telszewski
 
1 members found this post helpful.
Old 08-02-2016, 11:54 AM   #1445
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Not surprisingly, what I described above, applies also to the Slackware OS itself, not only the installer.
That is, with the huge kernel it's not possible to modprobe 9p.ko, insmod still works.
It's not a great deal for me, because I'm using generic kernel with initrd, but it might be something to watch for.

Should it be considered kernel bug, or has it always been like that?

--
Best regards,
Andrzej Telszewski
 
Old 08-03-2016, 01:28 PM   #1446
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by atelszewski View Post
Hi,

Not surprisingly, what I described above, applies also to the Slackware OS itself, not only the installer.
That is, with the huge kernel it's not possible to modprobe 9p.ko, insmod still works.
It's not a great deal for me, because I'm using generic kernel with initrd, but it might be something to watch for.

Should it be considered kernel bug, or has it always been like that?
It's a Slackware bug, and given the creeping dependency tangle with the kernel modules I think the only solution will be to do away with the huge kernel and require an initrd.
 
5 members found this post helpful.
Old 08-03-2016, 02:33 PM   #1447
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by volkerdi View Post
It's a Slackware bug, and given the creeping dependency tangle with the kernel modules I think the only solution will be to do away with the huge kernel and require an initrd.
That's likely a good idea. IMO two kernels is one too many. Though, if you do decide to go that way, it may be worth considering re-inlining some of the modules that 99.9% of users are going to need anyway (such as the various *hci modules required for usb keyboards). 'generic' currently seems to follow a 'modulise anything that can be' approach, and I'm not sure that's the best way to go. Maybe something in-between 'huge' and 'generic' but closer to the generic end of the scale is the answer.
 
1 members found this post helpful.
Old 08-03-2016, 02:47 PM   #1448
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by GazL View Post
That's likely a good idea. IMO two kernels is one too many. Though, if you do decide to go that way, it may be worth considering re-inlining some of the modules that 99.9% of users are going to need anyway (such as the various *hci modules required for usb keyboards). 'generic' currently seems to follow a 'modulise anything that can be' approach, and I'm not sure that's the best way to go. Maybe something in-between 'huge' and 'generic' but closer to the generic end of the scale is the answer.
I do not think that is such a good idea to inline modules and create a kernel model somewhere inbetween huge and generic - it will lead to the same issues being described in this thread in the long run. What modules do you inline and which not? And once inlined, you lose configuration options. Fully generic kernel plus a good initrd generator is what you need.
 
3 members found this post helpful.
Old 08-03-2016, 03:04 PM   #1449
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
I wasn't suggesting going mad and including lots of stuff, I was thinking more along the lines of the o/u/h/xhci modules that pretty much everyone are likely to need and which don't take any configuration parameters. But yes, it's a judgement call as to where the line is drawn, and I take your point in general.
 
Old 08-03-2016, 04:01 PM   #1450
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by Alien Bob View Post
I do not think that is such a good idea to inline modules and create a kernel model somewhere inbetween huge and generic - it will lead to the same issues being described in this thread in the long run.
Not, if we had only one type of kernel. The problem here is that some modules do not load because of symbols duplication between the huge kernel and the generic kernel's modules.

Quote:
Originally Posted by Alien Bob View Post
What modules do you inline and which not?
Fortunately, that's Pat's problem ;->

Quote:
Originally Posted by Alien Bob View Post
And once inlined, you lose configuration options. Fully generic kernel plus a good initrd generator is what you need.
Good point. I wonder if modularize 'em all would work. There surely would have to be some changes to the init scripts, since some kernel modules are now being configured in the kernel proper, for example 'Default I/O scheduler'.

I support the idea of moving to generic kernel only. That would finally force all the people to use it and exclude another point of failure.

--
Best regards,
Andrzej Telszewski
 
Old 08-03-2016, 04:06 PM   #1451
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by GazL View Post
I wasn't suggesting going mad and including lots of stuff, I was thinking more along the lines of the o/u/h/xhci modules that pretty much everyone are likely to need and which don't take any configuration parameters. But yes, it's a judgement call as to where the line is drawn, and I take your point in general.
I guess, where the line is drown, depends of how reliably can you detect the hardware.
As Alien said, you need a good initrd generator. It would detect what modules are needed for the disk controller and ask you if you want to add them. That would allow you to boot.

Naturally, it's not that easy. There are people requiring all kinds of different stuff in initrd, e.g. keyboard for entering password, etc.

EDIT:
But that could be made configurable, say, you want USB support, then set USB=1 in /etc/mkinitrd.conf, and so on.

--
Best regards,
Andrzej Telszewski

Last edited by atelszewski; 08-03-2016 at 04:11 PM.
 
Old 08-03-2016, 04:34 PM   #1452
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Quote:
Originally Posted by atelszewski View Post
That would finally force all the people to use it
Good luck with forcing me not to rebuild kernel.
You can't force something like that unless you close the source code.
 
Old 08-03-2016, 04:37 PM   #1453
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by elcore View Post
Good luck with forcing me not to rebuild kernel.
You can't force something like that unless you close the source code.
You know what I meant.

--
Best regards,
Andrzej Telszewski
 
Old 08-03-2016, 04:40 PM   #1454
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Happy Birthday SWIG-3.0.7!! One year old today. But in software years that's more than 1 year. Having SWIG-3.0.10 in current wouldn't be a bad thing as far as I can tell it fixes a lot of stuff, adds some more features for some languages and there's probably a security fix or two in there.

http://www.swig.org/
 
Old 08-03-2016, 04:59 PM   #1455
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
Firefox 48 is out, and with it the Electrolysis process separation mechanism that's been in development since 2011 (Chrome, Safari and even IE have had this architecture for years, so Firefox is really lagging behind). There's a good summary of what Electrolysis provides in this Ars Technica article.
 
  


Closed Thread



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
[SOLVED] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

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

All times are GMT -5. The time now is 05:18 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