From owner-freebsd-isdn Fri Jan 8 01:02:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25810 for freebsd-isdn-outgoing; Fri, 8 Jan 1999 01:02:47 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from linteuto.teuto.de (linteuto.teuto.de [194.77.23.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25801 for ; Fri, 8 Jan 1999 01:02:42 -0800 (PST) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (root@rumolt.teuto.de [212.8.203.81]) by linteuto.teuto.de (8.8.7/8.8.7) with ESMTP id KAA25636; Fri, 8 Jan 1999 10:02:04 +0100 Received: (from martin@localhost) by rumolt.teuto.de (8.8.8/8.8.7) id JAA01886; Fri, 8 Jan 1999 09:21:03 +0100 (MET) From: Martin Husemann Message-Id: <199901080821.JAA01886@rumolt.teuto.de> Subject: Re: isdntelctl: cannot open /dev/i4btel0: Device busy To: dave@turbocat.de (David Wetzel) Date: Fri, 8 Jan 1999 09:21:02 +0100 (MET) Cc: freebsd-isdn@FreeBSD.ORG In-Reply-To: <199901080247.DAA02156@cat.turbocat.de> from "David Wetzel" at Jan 8, 99 03:47:09 am Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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