stty < /dev/modem - Device busy

stty < /dev/modem - Device busy

Post by Bill Luehrman » Tue, 17 Sep 1996 04:00:00



Does anybody know what I need to do to unbusy up the
modem port.

Everytime I attempt to use the modem from Linux I am
told:

"Device or resource busy"

I've also got the same message when issuing:
stty < /dev/cua1

Any ideas?

 
 
 

stty < /dev/modem - Device busy

Post by roo » Sat, 21 Sep 1996 04:00:00


: Does anybody know what I need to do to unbusy up the
: modem port.
:
: Everytime I attempt to use the modem from Linux I am
: told:
:
: "Device or resource busy"
:
: I've also got the same message when issuing:
: stty < /dev/cua1
:
: Any ideas?
:
Even though slakware (others? slakware is all I have used) make a /dev/modem
entry, it is not recommended--when an application is listening on /dev/modem
(are you running, say pppd?) no other process will be able to use /dev/cuaN.
The recommended solution is to find all references to /dev/modem in your
startup rc files and change it to /dev/ttyS1, then try your stty command.

the ttySn and cuan devices have the same major and minor device numbers, but
you are supposed to open the cua series (callout devices) and listen on the
ttyS devices.

Evan Jeffrey


 
 
 

1. tape device bulebud01 / 57 <> mt status /dev/rmt/3n /dev/rmt/0n: Device busysy?

Hello all, I have a small problem I am not sure how to fix without
rebooting. I have a StorageTek 9710 jukebox with four drives. Apparently
one of the drives (or the kernel) thinks it has a tape in it.

lebud01 / 57 <> mt status /dev/rmt/3n
/dev/rmt/0n: Device busy

Physical inspection of the drive proves that the device is empty but
that the drive access light is blinking. Looking at the 'mt' manpage
there doesn't appear to be a way to 'HUP' (as it were) a device.

So, apart from bouncing the box to reset the tape drive, is there a
command line option?

TIA,

--
Mike/TeamNOC

We defeated the enemy with teamwork, and the hammer of not bickering.
                                                        The Shoveller

2. Upgrade cards and Linux PPC

3. /dev/modem: Device or resource busy

4. Attention James M Crow!!!!!

5. DIP tty open (/dev/modem, RW):Device or resource busy???

6. HP NetRAID support for Linux?

7. /dev/modem: Device or Resource Busy

8. Adding PV's to rootvg

9. /dev/modem: device or resource busy

10. >/dev/msglog 2<>/dev/msglog </dev/console

11. /dev/ttyS2 (/dev/cua2) reports "device or resource busy" on kernel 2.1.95

12. umount: /dev/{device}: device is busy