home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!col.hp.com!fc.hp.com!jsm
- From: jsm@fc.hp.com (John Marvin)
- Newsgroups: comp.sys.hp
- Subject: Re: parallel interface on series 300
- Message-ID: <C1K135.AzB@fc.hp.com>
- Date: 28 Jan 93 08:04:17 GMT
- References: <jcb.728161186@dcs.ed.ac.uk>
- Sender: news@fc.hp.com (news daemon)
- Organization: Hewlett-Packard Workstation Kernel, Ft. Collins, CO
- Lines: 39
- X-Newsreader: TIN [version 1.1 PL8.5]
-
- Julian Bradfield (jcb@dcs.ed.ac.uk) wrote:
- : The following problem is driving me berserk; any help would be much
- : appreciated.
-
- : I have a 9000/300, to which I used to have a printer attached by the
- : parallel port. There was always a problem, in that it only worked
- : with a kernel built on one of the two server nodes we have.
- : Unfortunately, that server died fairly permanently recently, so I'm
- : stuck with a defunct parallel interface/driver. The symptom is that any
- : attempt to open /dev/parallel (which is major 21, minor 0x170000)
- : fails with EOPNOTSUPP .
- : I've tried every plausible kernel configuration to no avail. The
- : really irritating thing is that the parallel interface on the server
- : node *does* work; even if I take the server dfile and make the minimum
- : changes necessary to turn into a client dfile, I still get EOPNOTSUPP
- : on my client.
-
- : Any ideas? (The OS is HP-UX 8.00.)
-
- Yes. The problem is that devices are cnode specific. You are trying to
- use a device that was made on another node on your cluster. If you do
- an "ll -H" of the device you are trying to use, you will see which cnode
- the device is for. What probably happened is that somebody made /dev/parallel
- in your cnode specific device directory from another node on the cluster.
- You need to remove /dev/parallel, and remake it using the mknod command,
- on the machine that you are going to be using the device on. Devices are
- tied to a particular cnode for security reasons. One example would be
- if you had a floppy device on your cnode, so your system administrator
- gives you write permission to it. However, your floppy might be at the
- same address as one of the disks containing a filesystem on the server
- node. If devices weren't owned by a particular cnode, you would be able
- to log into the server machine, and use your floppy device to write the
- disk containing the file system.
-
- John Marvin
- jsm@fc.hp.com
-
- P.S. I forgot to mention that when doing an "ll -H" on a device, the cnode
- name is printed between the minor number and the date.
-