Sponsored Content
Operating Systems Solaris "Device busy" When Reopening Serial Port Post 302580995 by jlliagre on Sunday 11th of December 2011 04:03:53 PM
Old 12-11-2011
Quote:
Originally Posted by Jim Ryan
On the target machine my app uses the two serial ports /dev/cua/comf1a and /dev/cua/comf1b.
As far as I know, the X4170 only has a single serial port and I never heard of comf1a/comf1b devices on Solaris. What card and driver are you using ?

---------- Post updated at 22:03 ---------- Previous update was at 21:57 ----------

Quote:
Originally Posted by Corona688
When it says 'device busy' it generally means so. Try using a utility like lsof to see what's holding it open.
On Solaris, fuser and pfiles can be used instead of lsof to get that information.
This User Gave Thanks to jlliagre For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

serial port device path

hi. Im trying to install a switch. And the manual says i should type a command including a SerialPortDevicePath. which is the filepath to serial port used for connection. However.. nothing about how to find this info. Could anyone help me where to find this path? thx mr.T (6 Replies)
Discussion started by: tyskertøs
6 Replies

2. Emergency UNIX and Linux Support

Mapping between "Pseudo name" and "Logical device ID" in powerpath with SVM changed....

Dear All, I was having powerpath 5.2 on SUN server with SVM connected to CLARIION box.Please find the following output : root # powermt display dev=all Pseudo name=emcpower3a CLARiiON ID=CK200073400372 Logical device ID=60060160685D1E004DD97FB647BFDC11 state=alive; policy=CLAROpt;... (1 Reply)
Discussion started by: Reboot
1 Replies

3. Linux

Umount of a "busy" disk

A product I am working on manages storage. We are currently porting it from Solaris to Linux. The product allows its user, among other things, to add and remove file server volumes, where these volumes are exported using the NFS or the CIFS protocol. The problem is that when the user requests to... (5 Replies)
Discussion started by: dhzdh
5 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. UNIX for Dummies Questions & Answers

UNIX rm -rf error "rm: cannot remove `filename' : Device or resource busy"

Hi Everyone, I am trying to remove a directory: $ rm -rf directory_name/ rm: cannot remove `directory_name/filename': Device or resource busy What does this mean, and why can't I remove these files? I already tried moving into the directory, and removing the files individually, but I... (7 Replies)
Discussion started by: Anna_Z
7 Replies

6. Red Hat

Find out which eth or device belongs to interface "port 1 PCI 4"

Hi, I´ve given only this info to configure a network interface : "port 1 PCI 4" I´ve been searching for any kind of relationship in the system which allow me to find the etc that must be configured... Please, could anybody help me? rhxx:#/root# lspci |grep -i "PCI BRIDGE" 00:01.0 PCI... (0 Replies)
Discussion started by: pabloli150
0 Replies

7. SCO

NFS umount shows the "Device busy (Error 16)"

Hi there After making a backup copy of it sometimes happens that when I want to unmount an NFS indicates the error:umount: /path_mount busy: Device busy (Error 16) if I run lsoff, I can not find the process that is blocking the application. I'm using OpenServer 5.0.2c as one NFS server ... (14 Replies)
Discussion started by: flako
14 Replies

8. Solaris

How to remove a LUN in "Online Busy" state?

Hi all, I have a LUN that is in "Online Busy" when I issue the dev_gestate subcommand of luxadm: root@es088wb6:~# luxadm -v -e dev_getstate /dev/rdsk/c21t50050763090887FEd4s2 phys path = "/devices/pci@6c0/pci@1/pci@0/pci@4/SUNW,qlc@0/fp@0,0/ssd@w50050763090887fe,4:c,raw" ... (5 Replies)
Discussion started by: ludiegu
5 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
pcser(7D)																 pcser(7D)

NAME
pcser - PCMCIA serial card device driver SYNOPSIS
serial@<socket>:pcser serial@<socket>:pcser,cu The pcser PCMCIA serial card device driver supports asynchronous serial I/O access to any PCMCIA card that that complies with Revision 2.1 of the PCMCIA standard and which represents an 8250-type UART interface. PRECONFIGURE
If a PC card modem or serial device is recognized, the pcser device driver is automatically loaded, ports and IRQs allocated, and special files created (if they don't already exist). CONFIGURATION
Configuration steps include initial installation and configuration, identifying an unrecognized device and misidentifying a recognized device. Initial Installation and Configuration 1. Install the Solaris software. 2. Boot the system. 3. Insert the modem or serial device. Identifying an Unrecognized Device If you insert a PC card modem or serial device and it is not recognized (that is, no special files are created under /dev/cua or /dev/term), use the prtconf command to find the problem: 1. Become root. 2. Run the prtconf -D command to see if your modem or serial device is recognized. An unrecognized device will appear at the end of the prtconf output. For example: # prtconf -D . . . pcic, instance #0 (driver name: pcic) . . . pccard111.222 (driver not attached) 3. If your device is not recognized, use the add_drv command to add the name of your device as another known alias for pcser devices. For example, type the following at the command line: # add_drv -i'"pccard111.222"' pcser Note - Include the double quotes in single quotes to keep the shell from stripping out the double quotes. Use the identification string listed in the prtconf output. Use the entire string in the add_drv command. See add_drv(1M). Misidentifying a Recognized Device 1. Run the prtconf -D command to see if your modem or serial device is erroneously recognized as a memory card. If the device is incor- rectly recognized as a memory card, the output of the prtconf command could show: # prtconf -D . . . pcic, instance #0 (driver name: pcic) . . . memory, instance #0 (driver name: pcmem) pcram, instance #0 (driver name: pcram) 2. Use the Configuration Assistant to identify the memory resource conflict, and add correct information for the device on the View/Edit Devices menu. Typically, the problem may be a resource conflict between device memory settings. A PC Card adapter chip that is not fully supported may also be the cause of the problem. 3. To work properly with the Solaris operating environment, all devices must be accounted for, even those the Solaris environment does not support. The Configuration Assistant software accounts for all devices in your system. Additional Configuration When adding a new serial port or modem to the system, you often need to edit configuration files so that applications can use the new com- munications port. For example, the /etc/uucp/Devices file needs to be updated to use UUCP. See Overview of UUCP in the System Administra- tion Guide. For PPP on the serial port, see pppd(1M) and Solaris PPP Overview in the System Administration Guide. Special Files The serial devices in /dev/term and /dev/cua are named by socket number. A card inserted in socket 0 is pc0, and socket 1 is pc1. Hot Plugging If a PC Card modem or serial device is unplugged while in use, the device driver returns errors until the card is replaced in the socket. The device must be closed and reopened with the card reinserted before the device begins working again. The restart process depends on the application. For example, a tip session automatically exits when a card in use is unplugged. To restart the system, you must restart the tip session. /kernel/drv/pcser pcser driver /dev/term/pcn dial-in devices /dev/cua/pcn dial-out devices where: n is the PCMCIA physical socket number. cu(1C), tip(1), uucp(1C), autopush(1M), pcmciad(1M), ports(1M), ioctl(2), open(2), pcmcia(7D), termio(7I ), ldterm(7M), ttcompat(7M) pcser: socket n soft silo overflow The driver's character input ring buffer overflowed before it could be serviced. pcser: socket n unable to get CIS information The CIS on the card has incorrect information or is in an incorrect format. This message usually indicates a non-compliant card. 10 Sep 2002 pcser(7D)
All times are GMT -4. The time now is 04:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy