Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 1999 09:21:02 +0100 (MET)
From:      Martin Husemann <martin@rumolt.teuto.de>
To:        dave@turbocat.de (David Wetzel)
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: isdntelctl: cannot open /dev/i4btel0: Device busy
Message-ID:  <199901080821.JAA01886@rumolt.teuto.de>
In-Reply-To: <199901080247.DAA02156@cat.turbocat.de> from "David Wetzel" at Jan 8, 99 03:47:09 am

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I don't have a 1.3.2 system around any more, so I couldn't
test the beta on it ;-)

> isdntelctl: cannot open /dev/i4btel0: Device busy
> 
> alice# ls -l /dev/i4b*
> crw-------  1 root  wheel  47, 0 Jan  8 03:40 /dev/i4b
> crw-------  1 root  wheel  48, 0 Jan  8 03:40 /dev/i4bctl
> crw-------  1 root  wheel  49, 0 Jan  8 03:40 /dev/i4brbch0
> crw-------  1 root  wheel  49, 1 Jan  8 03:40 /dev/i4brbch1
> crw-------  1 root  wheel  51, 0 Jan  8 03:40 /dev/i4btel0
> crw-------  1 root  wheel  51, 1 Jan  8 03:40 /dev/i4btel1
> crw-------  1 root  wheel  50, 0 Jan  8 03:40 /dev/i4btrc0
> crw-------  1 root  wheel  50, 1 Jan  8 03:40 /dev/i4btrc1

This looks like the device major might be wrong. Please have a look
at sys/arch/i386/i386/conf.c, search for cdev_i4btel_init(NI4BTEL, i4btel)
in the cdevsw array and figure the index of this entry.

Do other i4b devices work? If they do, please check the definition
of cdev_i4btel_init earlier in the same file, it should look like this:

#define	cdev_i4btel_init(c,n) { \
	dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
	dev_init(c,n,write), (dev_type_ioctl((*))) enodev, \
	(dev_type_stop((*))) enodev, \
	0, (dev_type_poll((*))) enodev, (dev_type_mmap((*))) enodev, D_TTY }

I never used /dev/i4btel...


Martin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901080821.JAA01886>