Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52688 - isdn4k-utils-3.2_p1-r2 ebuild fails to install makedev.sh
Summary: isdn4k-utils-3.2_p1-r2 ebuild fails to install makedev.sh
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 07:42 UTC by Kilian Hagemann
Modified: 2004-09-23 18:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kilian Hagemann 2004-06-01 07:42:28 UTC
I've recently bought an ISDN PCI T/A and configured the kernel (HiSax driver) 
accordingly, but realised after lots of trouble (being the n00b that I am) 
that I cannot use isdn4k-utils without the necessary device nodes.

These can be created using the scripts/makedev.sh script that's included in 
the source tarball, but the 3.2_p1-r2 ebuild explicitly disables device 
creation 'the easy way'. It's not even included when installing all the 
necessary files. Why is this done? I have to manually extract the makedev 
script myself and run it before I can do anything useful with isdn4k-utils.

Or am I missing something?

Reproducible: Always
Steps to Reproduce:
1. emerge isdn4k-utils
2. equery files isdn4k-utils
Actual Results:  
No makedev.sh showed up. It's not installed

Expected Results:  
Install the script and run it. If it gives hassles with security, sysadmin or
whatever one should at least put a message in the pkg_postinst to inform the
user that makedev.sh needs to be run to create the device nodes
Comment 1 stan 2004-06-01 08:16:40 UTC
Default gentoo will create these files automatically using devfs, do you see files in /dev/isdn/ when the driver is loaded?

does
$ pidof devfsd
return a number? showing devfsd is running

Which kernel are you using?

useful isdn4linux info:
/usr/src/linux/Documentation/isdn/README.HiSax
http://www.isdn4linux.de/faq/
http://forums.gentoo.org/viewtopic.php?t=29991
further searches at http://forums.gentoo.org for isdn, hisax etc
Comment 2 Kilian Hagemann 2004-06-01 08:49:55 UTC
So that's what devfsd is supposed to do. Sorry, am used to FreeBSD.

On the machine on which I had to configure the ISDN adapter, I can't verify whether devfsd was running, but it's a

Linux hagemannpc 2.6.5-gentoo-r1 #2 SMP Tue May 18 13:54:21 CEST 2004 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

with a genkernel. I suppose I'll have to go back and check if devfsd was really running, but I'm pretty sure it did. What else could be the problem?

I checked http://www.isdn4linux.de/faq/, but it had no answer. Let me try the steps outlined on the Gentoo forum and I'll post another comment sometime this weekend.
Comment 3 stan 2004-06-01 10:26:28 UTC
devfsd basically manages the files in /dev
In combination with support in the kernel, when you load a driver, files are created in /dev as appriopriate.

Most users running the 2.6 kernel are using udev, which is a replacement for devfsd, so that might be running(udevd) and doing a similar job.

A quick look at the default configuration file that genkernel will use (/usr/share/genkernel/x86/kernel-config-2.6) indicates that isdn drivers arnt built, so you probably need to recompile your kernel.

Support questions are better handled by http://forums.gentoo.org or the mailing lists (http://www.gentoo.org/main/en/lists.xml)
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-09-23 18:41:14 UTC
Thanks stan.