Re: aplay: main:682: audio open error: Device or resource busy, no audio

2012-06-22 Thread shirish शिरीष
at bottom :-

On Tue, Jun 19, 2012 at 2:02 PM, shirish शिरीष  wrote:
> Hi all,
> First of all please CC me if somebody answers as I'm not subscribed to
> the mailing list. I am on Debian sid and about 2 weeks back my audio
> has mysteriously gone kaput which means no audio. This is on dual-boot
> system and on MS-Windows there is no problem with audio so it's
> probably something with the software somewhere.
>
> First I thought it was something to do with pulseaudio hence filed a
> bug 676652 . Then talking to few people on IRC and on mail came to
> know it's possibly bug 985145 which was shared by some people on
> Ubuntu launchpad.
>
> Hence I removed both pulseaudio and almost all libraries of jack and
> arts save one (libjack-jackd2-0) because removing it would
> remove/touch almost 400 MB of apps.
>
> Then filed 677457 thinking it might have been perhaps a kernel upgrade
> issue hence along with the help of one of the maintainers downgraded
> the kernel to 3.2.18-1 from 3.2.20-1 but still the issue persists.
>
> Now can some of the Debian gurus suggest what should I try to figure
> out why I'm getting the device busy messages ?
>
> Looking forward to possible reasons.

ping on the above. For people who have not seen the bug here it's in
short and sweet.

This is my device list :-

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: Intel [HDA Intel], device 0: VT1705 Analog [VT1705 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: VT1705 HP [VT1705 HP]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

This is the error I get whenever I'm trying to play any sound.

$ aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav
aplay: main:682: audio open error: Device or resource busy

Any ideas as to what could be making that device/resource busy ?

I used an oldish kernel but still the issue remained, now on the
current version for sid.

$ apt-show-versions -a linux-image-3.2.0-2-amd64
linux-image-3.2.0-2-amd64 3.2.20-1 install ok installed
No stable version
linux-image-3.2.0-2-amd64 3.2.20-1 testing  http.debian.net
linux-image-3.2.0-2-amd64 3.2.20-1 unstable http.debian.net
linux-image-3.2.0-2-amd64/testing uptodate 3.2.20-1

Looking forward to what the issue could be.

Bugs which I filed :-

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677457

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676652

Please CC me if anybody replies as I'm not subscribed to the list .

Thanx in advance.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cadddzrksh7i3swc0qxz2+zcrb4ncdlnd4hqqd0yhnvr+gzl...@mail.gmail.com



Re: Swap does not mount [swapon failed: Device or resource busy]

2011-09-15 Thread Jochen Spieker
Param:
> 
> The swap partition did not mount post-installation (Debian "Squeeze"
> (Xfce)).
> Created a 2nd swap partition, & planned to delete the earlier swap
> partition. The 2nd swap partition doesn't mount either.

Strange. Did you set up encryption as well?

What might help is the output of pvs, vgs and lvs (everything as root or
using sudo). If you cannot think of anything else to try, please remove
swap2 again and document all the steps you take to create it again (all
commands including complete output).

> (Been using Debian (my 1st intro to Linux) for < 3 weeks.

Welcome on board! Using Debian as the first distro is a wise choice. I
did the same and never seriously considered using anything else.

> If
> a) I'm missing any blindingly obvious solution(s)
> b) this post should have been posted under a different topic/forum
> 
> then please let me know.)

No, eveyyhing is fine.

> Further info:
> Followed the instructions at http://web.mit.edu/rhel-doc/5/RHEL-5-ma ...
> dding.html

Just a general advice: you can save yourself some trouble by preferring
Debian-related documentation. The link above applies to Debian as well,
but with only a few weeks of Linux experience you probably cannot always
tell whether you should be doing something "the Debian way" or not.

> #/dev/mapper/HU-swap none swap sw 0 0
> #2nd_swap
> /dev/mapper/HU-swap2 swap swap defaults 0 0
     

Your entry for swap2 differs from the entry generated by the installer.
It should still wotrk, though. I just tried it myself.

> (tried /dev/HU/swap2 instead of /dev/mapper/HU-swap2. Did not work.)

/dev/HU/swap2 is just a symlink anyway.

> Output of swapon -s
> Code: Select all  swapon
> on /dev/mapper/HU-swap2
> FilenameType  Size   Used   Priority
> /dev/dm-3   partition   2097144   0   42

This looks like you already have active swap. Use 'ls -l /dev/mapper' to
see which LV is /dev/dm3.

> Output of mount /dev/HU/swap2
> mount: mount point none does not exist

You cannot use 'mount' to activate swap. This isn't supposed to work.
Using 'swapon' is correct.

J.
-- 
Ultimately, the Millenium Dome is a spectacular monument of the
doublethink of our times.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Swap does not mount [swapon failed: Device or resource busy]

2011-09-14 Thread Walter Hurry
On Wed, 14 Sep 2011 16:54:29 -0400, Param wrote:

Please post the outputs of:

cat /etc/fstab

sudo fdisk -l



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/j4r6am$4r3$2...@dough.gmane.org



Swap does not mount [swapon failed: Device or resource busy]

2011-09-14 Thread Param
Hi,

The swap partition did not mount post-installation (Debian "Squeeze"
(Xfce)).
Created a 2nd swap partition, & planned to delete the earlier swap
partition. The 2nd swap partition doesn't mount either.

(Been using Debian (my 1st intro to Linux) for < 3 weeks. If
a) I'm missing any blindingly obvious solution(s)
b) this post should have been posted under a different topic/forum

then please let me know.)

Further info:
Followed the instructions at http://web.mit.edu/rhel-doc/5/RHEL-5-ma ...
dding.html<http://web.mit.edu/rhel-doc/5/RHEL-5-manual/Deployment_Guide-en-US/s1-swap-adding.html>
Name of logical volume: HU

/etc/fstab: (commented out the earlier swap partition)
-
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#  
proc /proc proc defaults 0 0
/dev/mapper/HU-root / ext3 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=50ed87f2-905e-4780-b867-a8e0831e3db8 /boot ext3 defaults 0 2
/dev/mapper/HU-home /home ext3 defaults,user_xattr 0 2

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0

#/dev/mapper/HU-swap none swap sw 0 0
#2nd_swap
/dev/mapper/HU-swap2 swap swap defaults 0 0
--

(tried /dev/HU/swap2 instead of /dev/mapper/HU-swap2. Did not work.)

Output of fdisk -l
Code: Select all <http://forums.debian.net/viewtopic.php?f=5&t=70280#>Disk
/dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xed1f86f7

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1  64  512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2   *  64  77  1024007  HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3  773481273437507  HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/sda43481   14594892610575  Extended
Partition 4 does not end on cylinder boundary.
/dev/sda534813572  732160   83  Linux
/dev/sda63573   1459488527872   8e  Linux LVM


Output of swapon -a
Code: Select all <http://forums.debian.net/viewtopic.php?f=5&t=70280#>swapon:
/dev/mapper/HU-swap2: swapon failed: Device or resource busy


Output of swapon -va
Code: Select all <http://forums.debian.net/viewtopic.php?f=5&t=70280#>swapon
on /dev/mapper/HU-swap2
swapon: /dev/mapper/HU-swap2: found swap signature: version 1, page-size 4,
same byte order
swapon: /dev/mapper/HU-swap2: pagesize=4096,
swapsize=2147483648<http://xisbn.worldcat.org/liblook/resolve.htm?res_id=http://addison.vt.edu&opactype=innovative&rft.isbn=2147483648>,
devsize=2147483648<http://xisbn.worldcat.org/liblook/resolve.htm?res_id=http://addison.vt.edu&opactype=innovative&rft.isbn=2147483648>
swapon: /dev/mapper/HU-swap2: swapon failed: Device or resource busy


Output of swapon -s
Code: Select all <http://forums.debian.net/viewtopic.php?f=5&t=70280#> swapon
on /dev/mapper/HU-swap2
FilenameType  Size   Used   Priority
/dev/dm-3   partition   2097144   0   42
Output of mount /dev/HU/swap2
mount: mount point none does not exist



How can I mount swap upon booting? Would really appreciate help/suggestions.
Thanks for your time and patience,
--


Re: sound device or resource busy

2011-08-13 Thread Camaleón
On Thu, 11 Aug 2011 13:24:05 -0500, Hugo Vanwoerkom wrote:

> Running Sid. Which just upgraded libaudio2, libaudio-dev and nas from
> 1.9.2-7 to 1.9.2-8.
> 
> I run 2 sound apps: mplayer(sound nly)  and a nas app, that uses nas and
> libaudio2 and liaudio-dev.
> 
> Since the upgrade I can only run 1: either the nas app or mplayer, and
> for the other I get:
> 
> [AO_ALSA] Playback open error: Device or resource busy
> 
> I think it is a bug. But or what package?

How about opening two audio players instances, both from a local source? 
Does it work?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.13.10.42...@gmail.com



sound device or resource busy

2011-08-11 Thread Hugo Vanwoerkom

Hi,

Running Sid. Which just upgraded libaudio2, libaudio-dev and nas from 
1.9.2-7 to 1.9.2-8.


I run 2 sound apps: mplayer(sound nly)  and a nas app, that uses nas and 
libaudio2 and liaudio-dev.


Since the upgrade I can only run 1: either the nas app or mplayer, and 
for the other I get:


[AO_ALSA] Playback open error: Device or resource busy

I think it is a bug. But or what package?

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/j216o6$fto$1...@dough.gmane.org



Re: device or resource busy

2009-06-14 Thread Abhishek Amberkar [अभिषेक]
On Sat, Jun 13, 2009 at 1:29 PM, Umarzuki Mochlis wrote:

> I cannot get sound on my debian lenny laptop when playing Unreal Tournament
> 2004 and its mod TOC. Th program is using OpenAL sound driver. What should I
> do?
>
> umarz...@ctrl:~$ ./runTOC.sh
> Exporting OBJ-Malicious.Successful!
> Exporting OBJ-TrainStation][.Successful!
> Exporting OBJ-Scope][.Successful!
> open /dev/[sound/]dsp: Device or resource busy
> open /dev/[sound/]dsp: Device or resource busy
>
> --
> Regards,
>
> Umarzuki Mochlis
> http://gameornot.net
>

Try
$ lsof /dev/[sound]/dsp
This will show which process is using the device. HTH

-- 
With Regards
Abhishek Amberkar

Learn to appreciate the beauty within...
Sent from Mumbai, MH, India


device or resource busy

2009-06-13 Thread Umarzuki Mochlis
I cannot get sound on my debian lenny laptop when playing Unreal Tournament
2004 and its mod TOC. Th program is using OpenAL sound driver. What should I
do?

umarz...@ctrl:~$ ./runTOC.sh
Exporting OBJ-Malicious.Successful!
Exporting OBJ-TrainStation][.Successful!
Exporting OBJ-Scope][.Successful!
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy

-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: SIOCSIFFLAGS: Device or resource busy

2006-02-18 Thread Francis Bennett



Brian,
 
I solved this problem by setting PnP OS in BIOS to 
NO (found the tip here)
 
http://www.linuxquestions.org/questions/showthread.php?p=2110213
 
Francis


Re: libc6 upgrade: device or resource busy - SOLVED

2005-01-04 Thread Spencer Russell
YES!! So I didn't have to reinstall, I found out from a bug
report that in one case the lsbdev package was the problem. So I
did a dpkg -P lsbdev, and then apt-get let me upgrade libc6 just
fine. So I guess this is a bug in the lsbdev package?

-spencer


here's a copy of the email I sent describing the problem:
-

I'm trying to upgrade libc from 2.3.2.ds1-19 to 2.3.2.ds2-20, and
apt-get install libc gives the following error message:

dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-20_i386.deb 
(--unpack):
 unable to install new version of `./lib/ld-2.3.2.so': Device or resource busy
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.2.ds1-20_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

there are a couple of similar bugs that came up on google, but
they all said they'd been resolved, and the solutions seemed to
consist of rebooting. I've tried with both my 2.6.10 and 2.4.26
kernels, as well as booting from a rescue disk. I'm thinking
maybe it has something to do with reiserfs?

Thanks,
Spencer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: libc6 upgrade: device or resource busy

2005-01-02 Thread Spencer Russell
Hello,
So with no progress on fixing this, is my best option to
reinstall? How much would I probably need to get rid of? What's
the best "debian way" to reinstall all the packages? Thanks!

-spencer


here's a copy of the email I sent describing the problem:
-

I'm trying to upgrade libc from 2.3.2.ds1-19 to 2.3.2.ds2-20, and
apt-get install libc gives the following error message:

dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-20_i386.deb 
(--unpack):
 unable to install new version of `./lib/ld-2.3.2.so': Device or resource busy
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.2.ds1-20_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

there are a couple of similar bugs that came up on google, but
they all said they'd been resolved, and the solutions seemed to
consist of rebooting. I've tried with both my 2.6.10 and 2.4.26
kernels, as well as booting from a rescue disk. I'm thinking
maybe it has something to do with reiserfs?

Thanks,
Spencer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



libc6 upgrade: device or resource busy

2004-12-30 Thread Spencer Russell
Hello,
I'm trying to upgrade libc from 2.3.2.ds1-19 to 2.3.2.ds2-20, and
apt-get install libc gives the following error message:

dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-20_i386.deb 
(--unpack):
 unable to install new version of `./lib/ld-2.3.2.so': Device or resource busy
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.2.ds1-20_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

there are a couple of similar bugs that came up on google, but
they all said they'd been resolved, and the solutions seemed to
consist of rebooting. I've tried with both my 2.6.10 and 2.4.26
kernels, as well as booting from a rescue disk. I'm thinking
maybe it has something to do with reiserfs?

Thanks,
Spencer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: FAM causing "device or resource busy" errors when trying to smbumount

2004-10-04 Thread robin
Paul Yeatman wrote:
Hi, I've been having the same problem in Sarge.  In my case it
doesn't involve Samba but when a CD or even floppy is mounted by
nautilus/fam (or whatever is going on when you click a CD device
from the "Computer" icon), occasionally it will not unmount the
filesystem on the device with an error that the device is busy.  Once
I've convinced myself there are no processes running involving the
device and I'm not in any of its mounted directories, I'll try an 'lsof
/dev/cdrom' and will get something like
COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME
famd 1135me 26r  DIR  2,07168 1/media/cdrom
As Rich said, until I kill famd, I am unable to umount the
FS on the device.
I wasn't aware I could stop and restart fam with a supplied init script
as Rich mentioned although last time the problem occurred I tried stopping
and restarting famd this way but things still were somewhat screwed up
until I completely logged out or rebooted.
Anyone know what it going on with this.  Just a bug?
Paul
rich wrote on 28 Jul 2004:
 

when I have an smb share mounted on a directory in my home
directory, it 
refuses to unmount.

This is new, it used to work without a problem. Perhaps something
changed in 
the later releases of Sarge? (I apt-get dist-upgrade all the time)

I used lsof and found the process that was holding the mount-point
directory 
up, which was 

/usr/sbin/famd -T 0
I shut down fam with #/etc/init.d/fam stop and I could then umount
the share 
cleanly.

Can anyone shed any light on this?
thanks,
rich
   

Not much to add but I had the problem when I used to run gnome (til 
nautilus-2.6 came out). Since going over to xfce4 it hasn't been a 
problem. Found this link 
http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=fam&archive=no

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: FAM causing "device or resource busy" errors when trying to smbumount

2004-10-04 Thread Paul Yeatman
Hi, I've been having the same problem in Sarge.  In my case it
doesn't involve Samba but when a CD or even floppy is mounted by
nautilus/fam (or whatever is going on when you click a CD device
from the "Computer" icon), occasionally it will not unmount the
filesystem on the device with an error that the device is busy.  Once
I've convinced myself there are no processes running involving the
device and I'm not in any of its mounted directories, I'll try an 'lsof
/dev/cdrom' and will get something like

COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME
famd 1135me 26r  DIR  2,07168 1/media/cdrom

As Rich said, until I kill famd, I am unable to umount the
FS on the device.

I wasn't aware I could stop and restart fam with a supplied init script
as Rich mentioned although last time the problem occurred I tried stopping
and restarting famd this way but things still were somewhat screwed up
until I completely logged out or rebooted.

Anyone know what it going on with this.  Just a bug?

Paul

rich wrote on 28 Jul 2004:
> when I have an smb share mounted on a directory in my home
> directory, it 
> refuses to unmount.
> 
> This is new, it used to work without a problem. Perhaps something
> changed in 
> the later releases of Sarge? (I apt-get dist-upgrade all the time)
> 
> I used lsof and found the process that was holding the mount-point
> directory 
> up, which was 
> 
> /usr/sbin/famd -T 0
> 
> I shut down fam with #/etc/init.d/fam stop and I could then umount
> the share 
> cleanly.
> 
> Can anyone shed any light on this?
> 
> thanks,
> 
> rich
-- 
Paul Yeatman   (858) 534-9896[EMAIL PROTECTED]
 ==
 ==Proudly brought to you by Mutt==
 ==


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



FAM causing "device or resource busy" errors when trying to smbumount

2004-07-28 Thread rich
when I have an smb share mounted on a directory in my home directory, it 
refuses to unmount.

This is new, it used to work without a problem. Perhaps something changed in 
the later releases of Sarge? (I apt-get dist-upgrade all the time)

I used lsof and found the process that was holding the mount-point directory 
up, which was 

/usr/sbin/famd -T 0

I shut down fam with #/etc/init.d/fam stop and I could then umount the share 
cleanly.

Can anyone shed any light on this?

thanks,

rich


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SIOCSIFFLAGS: Device or resource busy

2003-10-16 Thread Andre Kalus
On Tue, 14 Oct 2003 23:50:31 +0800, Brian Walker wrote:

> Greetings all,
> 
> The subject line is the response I get when I try to establish a link to
> the internet.
> 
> Debian Woody, dual booting with XP. Self-built box. All was working well.
> I had not switched off the computer (I usually do, because the internal
> cooling was not coping with Hong Kong un-airconditioned temperatures,
[...]
> 
> The ifconfig is OK - although Tx errors are present with nil arriving.
> ifup eth0 causes a long pause for thought, with the "SIOCSIFFLAG Driver or
> resource busy"  message.
> 
> I am grateful for any ideas.
> 
> Brian

I fear your NIC is damaged.

The message just says that a problem with that
device has been encountered. But ifconfig showing errors is a bad sign -
might be driver problems or hardware. If you did not change anything I
would guess it is a hardware problem. As Windows has problems with the
card, too, a hardware problem is quite sure.

If you can put the NIC in another PC, and another NIC in your PC.

Greetings
Andre


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



SIOCSIFFLAGS: Device or resource busy

2003-10-14 Thread Brian Walker
Greetings all,

The subject line is the response I get when I try to establish a link to 
the internet.

Debian Woody, dual booting with XP. Self-built box. All was working 
well. I had not switched off the computer (I usually do, because the 
internal cooling was not coping with Hong Kong un-airconditioned 
temperatures, although that seemed to have settled) Receiving 20MB of 
spam and viruses, I kept sylpheed running to avoid filling the ISP 
mailbox (next task is to get mutt functioning with spamassassin)

Noticed erratic connectivity - assumed it was ISP issues, as ifup would 
sort the problem.

Now I cannot connect at all via the SMC Fast Ethernet PCI card, and 
although XP has no problems with the internal windows modem, it also 
refuses the SMC card.

1. Is the problem on the NIC?
2. What is a SIOCSIFFLAG when it is at home?
3. Googling for other solutions, I see that disabling PnP may help - but 
not in my case. What else can be suggested?

The ifconfig is OK - although Tx errors are present with nil arriving. 
ifup eth0 causes a long pause for thought, with the "SIOCSIFFLAG Driver 
or resource busy"  message.

I am grateful for any ideas.

Brian

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ALSA : /dev/snd/pcmC0D0p failed: Device or resource busy

2002-09-09 Thread Burkhard Ritter

hello.

does aplay work? so without any soundserver (like artsd).


On Mon, 9 Sep 2002, Pierre THIERRY wrote:

> I'm trying to have some sound coming out of my machine, but after having
> a kernel with sound, alsa modules installed, I can't get any sound. Here
> are the modules loaded :
>
> snd-ens1371 9440   1
> snd-rawmidi12256   0  [snd-ens1371]
> snd-seq-device  3968   0  [snd-rawmidi]
> snd-ac97-codec 22304   0  [snd-ens1371]
> snd-pcm-oss35200   1  (autoclean)
> snd-pcm48000   0  (autoclean) [snd-ens1371 snd-pcm-oss]
> snd-timer  10112   0  (autoclean) [snd-pcm]
> snd-mixer-oss   8928   0  (autoclean) [snd-pcm-oss]
> snd24776   0  (autoclean) [snd-ens1371 snd-rawmidi
>   snd-seq-device snd-ac97-codec snd-pcm-oss snd-pcm snd-timer
>   snd-mixer-oss]
> soundcore   3492   6  (autoclean) [snd]
>
> I've configured the mixers with alsamixer, then tried to ogg123
> something, and after some problems, ran :
>
> $ artsd
>
> it cleaned some MCOP files, and I can have ogg or xmms play sound, but I
> don't hear anything. (xmms's levels are moving, though).I have this
> error when using ogg123 :
>
> ALSA lib pcm_hw.c:597:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
> Device or resource busy
>
> and using XMMS :
>
> mcop warning: user defined signal handler found for SIG_PIPE, overriding
>
> If I run artsd as root, I've got the same error, plus :
>
> === Could not load default driver and no driver specified in config
> file. Exiting.
>
> for ogg123, and :
>
> arts_init error: can't connect to aRts soundserver
>
> for xmms.
>
> As artsd lacks manpages, I can't find any help in the documentation, and
> the website didn't help much more...
>
> Deafly,
> le Moine Fou
> --
> mailto:[EMAIL PROTECTED]
> OpenPGP 0xD9D50D8A
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




ALSA : /dev/snd/pcmC0D0p failed: Device or resource busy

2002-09-08 Thread Pierre THIERRY

I'm trying to have some sound coming out of my machine, but after having
a kernel with sound, alsa modules installed, I can't get any sound. Here
are the modules loaded :

snd-ens1371 9440   1
snd-rawmidi12256   0  [snd-ens1371]
snd-seq-device  3968   0  [snd-rawmidi]
snd-ac97-codec 22304   0  [snd-ens1371]
snd-pcm-oss35200   1  (autoclean)
snd-pcm48000   0  (autoclean) [snd-ens1371 snd-pcm-oss]
snd-timer  10112   0  (autoclean) [snd-pcm]
snd-mixer-oss   8928   0  (autoclean) [snd-pcm-oss]
snd24776   0  (autoclean) [snd-ens1371 snd-rawmidi
snd-seq-device snd-ac97-codec snd-pcm-oss snd-pcm snd-timer
snd-mixer-oss]
soundcore   3492   6  (autoclean) [snd]

I've configured the mixers with alsamixer, then tried to ogg123
something, and after some problems, ran :

$ artsd

it cleaned some MCOP files, and I can have ogg or xmms play sound, but I
don't hear anything. (xmms's levels are moving, though).I have this
error when using ogg123 :

ALSA lib pcm_hw.c:597:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
Device or resource busy

and using XMMS :

mcop warning: user defined signal handler found for SIG_PIPE, overriding

If I run artsd as root, I've got the same error, plus :

=== Could not load default driver and no driver specified in config
file. Exiting.

for ogg123, and :

arts_init error: can't connect to aRts soundserver

for xmms.

As artsd lacks manpages, I can't find any help in the documentation, and
the website didn't help much more...

Deafly,
le Moine Fou
-- 
mailto:[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A



msg01320/pgp0.pgp
Description: PGP signature


device or resource busy

2002-06-09 Thread Brian Rose
Hi,
I have a Seagate Tapestor Travan 20 (IDE) tape drive.  I want to have it
do automated backups, but it records in /var/log/messages:
(Not quoting)

device or resource busy  [offset 0]

The tape drive is /dev/hdc and I use the ide-scsi module with an
"append=..." to lilo to ensure it makes the connection between /dev/hdc
and /dev/nst0.

Does anyone know why the tape drive is busy if nothing is using it?  How
do I fix this?

Brian 





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Device or resource busy error.

2002-02-05 Thread Ray
On Mon, Feb 04, 2002 at 09:43:32PM -0800, James Rende wrote:
> Folks. 
> 
> I am trying to get my aging machine as far away from
> Windows as humanly possible. I can't, however, get
> Debian to recognize my NIC. When I try to run modprobe
> rtl8139 as root, I get an error telling me that the
> Device is not ready or in use. 
> 
> I'm running Debian 2.2r2 Kernel 2.2.17 
> 
> The card is a DLink DFE-530TX+ 

As others have said, try the 8139too driver.  You may also have to move to a
newer kernel (2.2.19 or later).  Be aware that DLink has put out several
revisions of that card and some need newer/different versions of the 8139
driver.

-- 
Ray



Re: Device or resource busy error.

2002-02-05 Thread Paul E Condon
On Tue, Feb 05, 2002 at 11:00:16AM -0700, Jason Majors wrote:
> > > I am trying to get my aging machine as far away from
> > > Windows as humanly possible. I can't, however, get
> > > Debian to recognize my NIC. When I try to run modprobe
> > > rtl8139 as root, I get an error telling me that the
> > > Device is not ready or in use. 

There is also a driver named 8139too. Sometimes if works when rtl8139 doesn't.
Try it. 




> > > 
> > > I'm running Debian 2.2r2 Kernel 2.2.17 
> > > 
> > 
> > What does 'lsmod' output and does 'dmesg' say anything about the NIC?  Are 
> > you
> > absolutely sure this is the correct chipset too?
> It is. I have the same card and it's rtl8139 under 2.2.x. 8139too under
> 2.4.x.
> > 
> > Well, I have had the strangest problems with NIC's sometimes.  The machine
> > that I'm writing this from right now has two NIC's (one realtek 8139, the
> > other is a 3COM 905C).  However, they would not work in _any_ OS unless I
> > switched the order in the slots.  If worst comes to worst, try putting it 
> > in a
> > different slot, and when the table of IRQ's shows at boot up, pause it, and
> > check to make sure it has an IRQ too.  Another thing that I find helps on 
> > some
> > systems is toggling the option of Plug and Play in the BIOS setup, ie. if 
> > it's
> > on, try turning it off.  There also seems to be another realtek 8139 driver
> > called 8139too in the Linux kernel, I have never used this, but maybe it 
> > might
> > solve your particular problem.
> > 
> This reminds me of a similar problem with my tv card...
> Check in your mobo book (or at the manufacturer's site) to see what IRQs are
> assigned to which PCI slot. Some are shared. Then switch the card to a
> non-shared slot.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
Paul E Condon 
[EMAIL PROTECTED]



Re: Device or resource busy error.

2002-02-05 Thread Jason Majors
> > I am trying to get my aging machine as far away from
> > Windows as humanly possible. I can't, however, get
> > Debian to recognize my NIC. When I try to run modprobe
> > rtl8139 as root, I get an error telling me that the
> > Device is not ready or in use. 
> > 
> > I'm running Debian 2.2r2 Kernel 2.2.17 
> > 
> 
> What does 'lsmod' output and does 'dmesg' say anything about the NIC?  Are you
> absolutely sure this is the correct chipset too?
It is. I have the same card and it's rtl8139 under 2.2.x. 8139too under
2.4.x.
> 
> Well, I have had the strangest problems with NIC's sometimes.  The machine
> that I'm writing this from right now has two NIC's (one realtek 8139, the
> other is a 3COM 905C).  However, they would not work in _any_ OS unless I
> switched the order in the slots.  If worst comes to worst, try putting it in a
> different slot, and when the table of IRQ's shows at boot up, pause it, and
> check to make sure it has an IRQ too.  Another thing that I find helps on some
> systems is toggling the option of Plug and Play in the BIOS setup, ie. if it's
> on, try turning it off.  There also seems to be another realtek 8139 driver
> called 8139too in the Linux kernel, I have never used this, but maybe it might
> solve your particular problem.
> 
This reminds me of a similar problem with my tv card...
Check in your mobo book (or at the manufacturer's site) to see what IRQs are
assigned to which PCI slot. Some are shared. Then switch the card to a
non-shared slot.



Re: Device or resource busy error.

2002-02-05 Thread Crispin Wellington
On Tue, 2002-02-05 at 13:43, James Rende wrote:
> Folks. 
> 
> I am trying to get my aging machine as far away from
> Windows as humanly possible. I can't, however, get
> Debian to recognize my NIC. When I try to run modprobe
> rtl8139 as root, I get an error telling me that the
> Device is not ready or in use. 

try the 8139too driver aswell. Its suited better to some 8139 based
cards

If you read the source code comments in the 8139 driver code, you'll
probably want to go out and get a better card though :) The chipset
design sounds rather woefull.

Kind Regards

Crispin



Re: Device or resource busy error.

2002-02-05 Thread Geoff Ludwiczak
On Mon, Feb 04, 2002 at 09:43:32PM -0800, James Rende wrote:
> Folks. 
> 
> I am trying to get my aging machine as far away from
> Windows as humanly possible. I can't, however, get
> Debian to recognize my NIC. When I try to run modprobe
> rtl8139 as root, I get an error telling me that the
> Device is not ready or in use. 
> 
> I'm running Debian 2.2r2 Kernel 2.2.17 
> 

What does 'lsmod' output and does 'dmesg' say anything about the NIC?  Are you
absolutely sure this is the correct chipset too?

> The card is a DLink DFE-530TX+ 
> 
> My hardware, (please don't laugh to loudly) is an
> older Via chipset bios, AMD K6 2/450. 

You would be laughing at me, I only have a Celeron 433 :-)

> 
> The card is functioning in windows, so I know it isn't
> bad hardware. 
> 
> Does anyone have a solution or suggestion I can try to
> get Debian running online?

Well, I have had the strangest problems with NIC's sometimes.  The machine
that I'm writing this from right now has two NIC's (one realtek 8139, the
other is a 3COM 905C).  However, they would not work in _any_ OS unless I
switched the order in the slots.  If worst comes to worst, try putting it in a
different slot, and when the table of IRQ's shows at boot up, pause it, and
check to make sure it has an IRQ too.  Another thing that I find helps on some
systems is toggling the option of Plug and Play in the BIOS setup, ie. if it's
on, try turning it off.  There also seems to be another realtek 8139 driver
called 8139too in the Linux kernel, I have never used this, but maybe it might
solve your particular problem.

> 
> Thanks.
> 
> James
> 
> __
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



Device or resource busy error.

2002-02-04 Thread James Rende
Folks. 

I am trying to get my aging machine as far away from
Windows as humanly possible. I can't, however, get
Debian to recognize my NIC. When I try to run modprobe
rtl8139 as root, I get an error telling me that the
Device is not ready or in use. 

I'm running Debian 2.2r2 Kernel 2.2.17 

The card is a DLink DFE-530TX+ 

My hardware, (please don't laugh to loudly) is an
older Via chipset bios, AMD K6 2/450. 

The card is functioning in windows, so I know it isn't
bad hardware. 

Does anyone have a solution or suggestion I can try to
get Debian running online?

Thanks.

James

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com



Re: lp.o: init_module: Device or resource busy

2001-07-06 Thread Wayne Topa

Subject: lp.o: init_module: Device or resource busy
Date: Fri, Jul 06, 2001 at 08:09:28PM +0200

In reply to:Robert Waldner

Quoting Robert Waldner([EMAIL PROTECTED]):
> 
> Hi!
> 
> I had to reconfigure my printer port from IRQ 7 to IRQ 5 (because I´ve 
> got a soundcard which is hardwired to IRQ 7 ).
> 
> Luckily I had compiled lp as a module, so I thought a simple change from
> `modprobe lp irq=7` to "irq=5" should suffice. Nope:
> 
> bash-2.03# insmod lp.o irq=5
> lp.o: init_module: Device or resource busy
> 

You don't have to use a precious IRQ for the printer, it dosn't
require one.  Try adding this append line in lilo.conf
append  = "apm=on lp=parport0 parport=0x378,none"
  | IRQ
  Address
> syslogs tells:
> Jul  6 20:06:14 WatchZwerg kernel: lp0: Not found
> Jul  6 20:06:14 WatchZwerg kernel: lp: No override devices found.


-- 
There can never be a computer language in which you cannot write a
bad program.
___



Re: lp.o: init_module: Device or resource busy

2001-07-06 Thread Robert Waldner

On Fri, 06 Jul 2001 20:23:35 +0200, Joost Kooij writes:
>On Fri, Jul 06, 2001 at 08:09:28PM +0200, Robert Waldner wrote:
>> bash-2.03# insmod lp.o irq=5
>> lp.o: init_module: Device or resource busy
<...>
>> Hints? FM?s? Clue!?
>
>First the hints:
>
>/sbin/modinfo -p lp
>filename:/lib/modules/2.4.5-ac7/kernel/drivers/char/lp.o
>description: 
>author:  
>parm:parport string array (min = 1, max = 8)
>parm:reset int

Hmm, modinfo, didn´t know about that yet. tnx.

>/sbin/modinfo -p parport_pc
<...>
>parm:io int array (min = 1, max = 16), description "Base I/O address (
>SPP regs)"

Specifying this did the trick.

>parm:io_hi int array (min = 1, max = 16), description "Base I/O addres
<...>
>The clue is that you need to insmod parport_pc first and it needs to know 
>the irq.  Try this:
>
>echo "options parport_pc irq=5" >> /etc/modutils/local
>update-modules
>modprobe lp  # (kmod could also load it automatically)

Aeh, is this also true for 2.0-series-kernels (this box runs 2.0.38)?

bash-2.03$ pwd
/usr/src/linux-2.0.38
bash-2.03$ find . -name parport* -print

Anyway, it was solely my own fault for not thinking to specify the 
 I/O-port firstplace. PEBKAC 
 http://ars.userfriendly.org/cartoons/?id=19980506>

cheers,
&rw
-- 
-- "Damn and blast British Telecom!" shouted Dirk,
-- the words coming easily from years of practice.
-- Douglas Adams





pgprz378gP0KI.pgp
Description: PGP signature


d´oh! (Re: lp.o: init_module: Device or resource busy)

2001-07-06 Thread Robert Waldner

On Fri, 06 Jul 2001 20:09:28 +0200, Robert Waldner writes:
>I had to reconfigure my printer port from IRQ 7 to IRQ 5 (because I´ve
>got a soundcard which is hardwired to IRQ 7 ).
>
>Luckily I had compiled lp as a module, so I thought a simple change from
>`modprobe lp irq=7` to "irq=5" should suffice. Nope:
>
>bash-2.03# insmod lp.o irq=5
>lp.o: init_module: Device or resource busy

Today I´m not quite filled with cluons, it seems. The lusers at work 
 must´ve drained ´em all...

Of course, when I tell lp.o about the io-port also, everything works 
 just fine.

bash-2.03# modprobe lp irq=5 io=0x278

syslog:
Jul  6 20:44:31 WatchZwerg kernel: lp0 at 0x0278, (irq = 5)

 Sorry for not quadruple-checking, triple-checking isn´t
 sufficient anymore :/

cheers,
&rw
-- 
-- A lady came up to me on the street and pointed at my leather jacket.
-- 'You know a cow was murdered for that jacket?' she sneered.
-- I replied in a psychotic tone, 'I didn't know there
-- were any witnesses. Now I'll have to kill you too.'





pgpBLi0a8PooW.pgp
Description: PGP signature


Re: lp.o: init_module: Device or resource busy

2001-07-06 Thread Joost Kooij
On Fri, Jul 06, 2001 at 08:09:28PM +0200, Robert Waldner wrote:
> 
> I had to reconfigure my printer port from IRQ 7 to IRQ 5 (because I?ve 
> got a soundcard which is hardwired to IRQ 7 ).
> 
> Luckily I had compiled lp as a module, so I thought a simple change from
> `modprobe lp irq=7` to "irq=5" should suffice. Nope:
> 
> bash-2.03# insmod lp.o irq=5
> lp.o: init_module: Device or resource busy
> 
> syslogs tells:
> Jul  6 20:06:14 WatchZwerg kernel: lp0: Not found
> Jul  6 20:06:14 WatchZwerg kernel: lp: No override devices found.
> 
> But as far as I can tell IRQ 5 is free:
> bash-2.03# cat /proc/interrupts 
>  0:  70383   timer
>  1:   2356   keyboard
>  2:  0   cascade
>  4:   5556 + serial
>  7:  0   sound blaster
>  9: 54   eth0
> 10:783   eth1
> 12: 61 + 53c7,8xx
> 13:  1   math error
> 14:  10430 + ide0
> 15: 26 + ide1
> 
> Hints? FM?s? Clue!?

First the hints:

/sbin/modinfo -p lp
filename:/lib/modules/2.4.5-ac7/kernel/drivers/char/lp.o
description: 
author:  
parm:parport string array (min = 1, max = 8)
parm:reset int

/sbin/modinfo -p parport_pc
filename:/lib/modules/2.4.5-ac7/kernel/drivers/parport/parport_pc.o
description: "PC-style parallel port driver"
author:  "Phil Blundell, Tim Waugh, others"
parm:io int array (min = 1, max = 16), description "Base I/O address 
(SPP regs)"
parm:io_hi int array (min = 1, max = 16), description "Base I/O address 
(ECR)"
parm:irq string array (min = 1, max = 16), description "IRQ line"
parm:dma string array (min = 1, max = 16), description "DMA channel"

/sbin/modinfo -p parport   
filename:/lib/modules/2.4.5-ac7/kernel/drivers/parport/parport.o
description: 
author:  

The clue is that you need to insmod parport_pc first and it needs to know 
the irq.  Try this:

echo "options parport_pc irq=5" >> /etc/modutils/local
update-modules
modprobe lp  # (kmod could also load it automatically)

Cheers,


Joost



lp.o: init_module: Device or resource busy

2001-07-06 Thread Robert Waldner

Hi!

I had to reconfigure my printer port from IRQ 7 to IRQ 5 (because I´ve 
got a soundcard which is hardwired to IRQ 7 ).

Luckily I had compiled lp as a module, so I thought a simple change from
`modprobe lp irq=7` to "irq=5" should suffice. Nope:

bash-2.03# insmod lp.o irq=5
lp.o: init_module: Device or resource busy

syslogs tells:
Jul  6 20:06:14 WatchZwerg kernel: lp0: Not found
Jul  6 20:06:14 WatchZwerg kernel: lp: No override devices found.

But as far as I can tell IRQ 5 is free:
bash-2.03# cat /proc/interrupts 
 0:  70383   timer
 1:   2356   keyboard
 2:  0   cascade
 4:   5556 + serial
 7:  0   sound blaster
 9: 54   eth0
10:783   eth1
12: 61 + 53c7,8xx
13:  1   math error
14:  10430 + ide0
15: 26 + ide1

Hints? FM´s? Clue!?

cheers+tia,
&rw
-- 
-- "I'm attracted by the potential for reckless abuse of power."
-- - Dogbert (Adams)





pgpAdrp2lpg7K.pgp
Description: PGP signature


Re: Bus error on eth0, network card works, but lpr says device or resource busy.

2001-07-06 Thread Joost Kooij
On Thu, Jul 05, 2001 at 03:47:31PM -0600, Patrick Klee wrote:
> Hi,
> I am trying to install Debian Potato, on my PC.  But, when I enable plip
> (parallel port support), I get an error with lpr saying device or resource
> busy. 

Perhaps the lp.o module is still loaded while you are trying to load plip.o

>Now what's weird, is the night before, I was on IRC, and I got a bus
> error on eth0 but the network card works fine.  That happened on redhat.

Don't let them put that in their .sig!  ;-)

Cheers,


Joost



Re: Bus error on eth0, network card works, but lpr says device or resource busy.

2001-07-05 Thread Wayne Topa

Subject: Bus error on eth0, network card works, but lpr says device or 
resource busy.
Date: Thu, Jul 05, 2001 at 03:47:31PM -0600

In reply to:Patrick Klee

Quoting Patrick Klee([EMAIL PROTECTED]):
> Hi,
> I am trying to install Debian Potato, on my PC.  But, when I enable plip
> (parallel port support), I get an error with lpr saying device or resource
> busy.  Now what's weird, is the night before, I was on IRC, and I got a bus
> error on eth0 but the network card works fine.  That happened on redhat.

> Anyone have any ideas?  I might have caught that worm that closes ports and

Only one comes to mind.  From the Kernel Config help file  --

PLIP (parallel port) support
CONFIG_PLIP
  PLIP (Parallel Line Internet Protocol) is used to create a
  reasonably fast mini network consisting of two (or, rarely, more)
  local machines. A PLIP link from a Linux box is a popular means to
  install a Linux distribution on a machine which doesn't have a CDROM
  drive (a minimal system has to be transferred with floppies first).
  The kernels on both machines need to have this PLIP option enabled
  for this to work.

I use parport and friends.  Using PLIP to talk to the printer is a new one for 
me.

I guess YMMV.
-- 
USER, n.:
The word computer professionals use when they mean "idiot."
-- Dave Barry, "Claw Your Way to the Top"
___



Bus error on eth0, network card works, but lpr says device or resource busy.

2001-07-05 Thread Patrick Klee
Hi,
I am trying to install Debian Potato, on my PC.  But, when I enable plip
(parallel port support), I get an error with lpr saying device or resource
busy.  Now what's weird, is the night before, I was on IRC, and I got a bus
error on eth0 but the network card works fine.  That happened on redhat.

Anyone have any ideas?  I might have caught that worm that closes ports and
the port for the printer and ethernet card is closed, I am unsure.  Man, I
want Debian so bad I can taste it :-)

Regards,
Patrick



Re: swapon: device or resource busy

2001-05-27 Thread Shaul Karl
1. Can you post the output of mount and the command you issued + their output 
(copy-paste from the terminal)?
2. You didn't mention swapon for /dev/hda7. Have you run it?
--- Begin Message ---



I recently changed my partition table, and ended up 
recreating a swap partition.  Ever since then, I keep getting the error 
"swapon: device or resource busy".
 
This is after running mkswap -c /dev/hda3 (where 
the current swap partition is) and updating fstab:
 
/dev/hda3    none    
swap    sw    0    0
 
I even created a new swap partition on /dev/hda7, 
added it to fstab, and also ran mkswap -c on it. Same thing.
 
Any suggestions as to what could be causing this 
error?
 
Thanks!
 
Jen
--- End Message ---

Shaul Karl <[EMAIL PROTECTED]>

Hillel used to say: If I am not for myself who will be for me?
Yet, if I am for myself only, what am I? And if not now, when?
  (Ethics Of The Fathers 1:14)



Re: swapon: device or resource busy

2001-05-27 Thread jennyw



Ooops! It was working after all (the reason it was 
busy was because I'd successfully mounted the swap partition). I was confused 
because there was also an error about missing swap signature or something like 
that (but it went away after I created the new swap partition and 
reformatted).
Thanks,
 
Jen

  - Original Message - 
  From: 
  jennyw 
  To: debian-user@lists.debian.org 
  
  Sent: Sunday, May 27, 2001 10:11 AM
  Subject: swapon: device or resource busy 
  
  
  I recently changed my partition table, and ended 
  up recreating a swap partition.  Ever since then, I keep getting the 
  error "swapon: device or resource busy".
   
  This is after running mkswap -c /dev/hda3 (where 
  the current swap partition is) and updating fstab:
   
  /dev/hda3    
  none    swap    sw    
  0    0
   
  I even created a new swap partition on /dev/hda7, 
  added it to fstab, and also ran mkswap -c on it. Same thing.
   
  Any suggestions as to what could be causing this 
  error?
   
  Thanks!
   
  Jen


swapon: device or resource busy

2001-05-27 Thread jennyw



I recently changed my partition table, and ended up 
recreating a swap partition.  Ever since then, I keep getting the error 
"swapon: device or resource busy".
 
This is after running mkswap -c /dev/hda3 (where 
the current swap partition is) and updating fstab:
 
/dev/hda3    none    
swap    sw    0    0
 
I even created a new swap partition on /dev/hda7, 
added it to fstab, and also ran mkswap -c on it. Same thing.
 
Any suggestions as to what could be causing this 
error?
 
Thanks!
 
Jen


PCMCIA: Device or resource busy error

2001-05-24 Thread Andrew Perrin
Greetings again -

Still trying to get my second PCMCIA network card up and running. I
managed to compile cs89x0_cs and get it installed right. I've verified
that the card is visible to cardmgr:

achebe:/etc/pcmcia# cardctl ident
Socket 0:
  product info: "3Com Corporation", "3C589", "TP/BNC LAN Card Ver. 2a",
"02"
  manfid: 0x0101, 0x0589
  function: 6 (network)
Socket 1:
  product info: "IBM", "EtherJet PC Card", "Version U10", "Card Assy
Part Number - 85H4801"
  manfid: 0x00a4, 0x003f
  function: 6 (network)

I've set up /etc/pcmcia/network.opts like this:

case "$ADDRESS" in
*,0,*,*)
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT="10baseT"
# Use /sbin/pump for BOOTP/DHCP? [y/n]
PUMP="n"
# Host's IP address, netmask, network address, broadcast address
IPADDR="192.168.0.11"
NETMASK="255.255.255.0"
NETWORK="192.168.0.0"
BROADCAST="192.168.0.255"
GATEWAY="192.168.0.3"
DOMAIN="perrins"
DNS_1="152.2.21.1"
DNS_2="128.32.93.7"
DNS_3="128.32.93.8"
;;
*,1,*,*)
# Host's IP address, netmask, network address, broadcast address
IPADDR="x.x.x.x"
NETMASK="x.x.x.x"
BROADCAST="x.x.x.x"
    GATEWAY="x.x.x.x"
DOMAIN="telocity.net"
DNS_1="216.227.49.37"
DNS_2="216.227.49.38"
DNS_3="152.2.21.1"
;;
esac

But when I do killall -HUP cardmgr, the IBM adapter doesn't load right.
The error is "Device or resource busy":

May 24 11:42:57 achebe cardmgr[2209]: socket 1: IBM EtherJet Ethernet
Adapter
May 24 11:42:57 achebe cardmgr[2209]: executing: 'insmod
/lib/modules/2.2.17/pcmcia/cs89x0_cs.o'
May 24 11:42:57 achebe cardmgr[2209]: +
/lib/modules/2.2.17/pcmcia/cs89x0_cs.o: init_module: Device or resource
busy
May 24 11:42:58 achebe cardmgr[2209]: + Hint: this error can be caused
by incorrect module parameters, including invalid IO or IRQ parameters
May 24 11:42:58 achebe cardmgr[2209]: insmod exited with status 1
May 24 11:42:58 achebe cardmgr[2209]: executing: 'modprobe cs89x0_cs'
May 24 11:42:58 achebe cardmgr[2209]: + modprobe: Can't locate module
cs89x0_cs
May 24 11:42:58 achebe cardmgr[2209]: modprobe exited with status 255
May 24 11:42:59 achebe cardmgr[2209]: get dev info on socket 1 failed:
Resource temporarily unavailable


I get the same response when I manually do an insmod cs89x0_cs. Any
advice?

Thanks.


-- 
--
Andrew J. Perrin - Programmer/Analyst, Desktop Support
Children's Primary Care Research Group, UNC - Chapel Hill
(919)966-9394 * [EMAIL PROTECTED]



RE: 3c59x.o: init_module: Device or resource busy

2001-02-12 Thread Joris Lambrecht
if you get such an error it normally means the module is allready loaded ...

-Original Message-
From: Sebastiaan [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 11, 2001 1:43 PM
To: Krzys Majewski
Cc: debian-user@lists.debian.org
Subject: Re: 3c59x.o: init_module: Device or resource busy 


Hi,

if you compile the driver into the kernel, you only have to do:
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up

asuumed that your kernel detects your card correctly.

Greetz,
Sebastiaan


On 11 Feb 2001, Krzys Majewski wrote:

> So I'm trying to teach my boot floppies to do networking.. 
> I try to insmod my NIC driver, 3c59x.c, but I get this:
> 
> 3c59x.o: init_module: Device or resource busy
> 
> What now? With my usual kernel  this module is loaded with no options,
> and I'm  trying this on the  same hardware. insmod  reports no modules
> loaded when I do this, so I can't see why there should be a conflict.
> 
> I could  compile this driver  into the kernel,  but then I  don't know
> what to do when ifconfig tries to run modprobe. Wassup y'all?
> 
> -chris
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]



Re: 3c59x.o: init_module: Device or resource busy

2001-02-11 Thread Krzys Majewski
That's what  I thought  but when  I tried it,  it looks  like ifconfig
tried running modprobe automatically.  I've got stuff in /etc/network/
though, maybe something there is screwing it up.. 
-chris

On Sun, 11 Feb 2001, Sebastiaan wrote:

> Hi,
> 
> if you compile the driver into the kernel, you only have to do:
> ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
> 
> asuumed that your kernel detects your card correctly.
> 
> Greetz,
> Sebastiaan
> 
> 
> On 11 Feb 2001, Krzys Majewski wrote:
> 
> > So I'm trying to teach my boot floppies to do networking.. 
> > I try to insmod my NIC driver, 3c59x.c, but I get this:
> > 
> > 3c59x.o: init_module: Device or resource busy
> > 
> > What now? With my usual kernel  this module is loaded with no options,
> > and I'm  trying this on the  same hardware. insmod  reports no modules
> > loaded when I do this, so I can't see why there should be a conflict.
> > 
> > I could  compile this driver  into the kernel,  but then I  don't know
> > what to do when ifconfig tries to run modprobe. Wassup y'all?
> > 
> > -chris
> > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> > 
> 



Re: 3c59x.o: init_module: Device or resource busy

2001-02-11 Thread Sebastiaan
Hi,

if you compile the driver into the kernel, you only have to do:
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up

asuumed that your kernel detects your card correctly.

Greetz,
Sebastiaan


On 11 Feb 2001, Krzys Majewski wrote:

> So I'm trying to teach my boot floppies to do networking.. 
> I try to insmod my NIC driver, 3c59x.c, but I get this:
> 
> 3c59x.o: init_module: Device or resource busy
> 
> What now? With my usual kernel  this module is loaded with no options,
> and I'm  trying this on the  same hardware. insmod  reports no modules
> loaded when I do this, so I can't see why there should be a conflict.
> 
> I could  compile this driver  into the kernel,  but then I  don't know
> what to do when ifconfig tries to run modprobe. Wassup y'all?
> 
> -chris
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



3c59x.o: init_module: Device or resource busy

2001-02-11 Thread Krzys Majewski
So I'm trying to teach my boot floppies to do networking.. 
I try to insmod my NIC driver, 3c59x.c, but I get this:

3c59x.o: init_module: Device or resource busy

What now? With my usual kernel  this module is loaded with no options,
and I'm  trying this on the  same hardware. insmod  reports no modules
loaded when I do this, so I can't see why there should be a conflict.

I could  compile this driver  into the kernel,  but then I  don't know
what to do when ifconfig tries to run modprobe. Wassup y'all?

-chris




Re: device or resource busy

2000-10-05 Thread kmself
On Tue, Oct 03, 2000 at 11:38:53PM -0500, Pat Mahoney ([EMAIL PROTECTED]) wrote:
> Ok, freeamp crashed with the audio device open (/dev/dsp).  Nothing can use
> the device.  fuser and lsof show nothing active on /dev/dsp.  No lock files
> in /var/lock/.
> 
> I can't rmmod the sound modules because they're "in use".  I rm'd /dev/dsp
> and mknod'd it but still nothing.  The sound modules won't go away with
> /dev/dsp gone either.
> 
> Is there a way to remove files that are in use?
> 
> Better yet, how do I fix this problem?
> 
> A reboot should of course, fix it, but that doesn't solve the actual problem.

Unfortunately, this is one of the situations in which a reboot may be
the *only* way to free a resource.  I could be wrong, but this is my
general understanding.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?  There is no K5 cabal
   http://gestalt-system.sourceforge.net/http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpPLDjiT1LbI.pgp
Description: PGP signature


device or resource busy

2000-10-03 Thread Pat Mahoney
Ok, freeamp crashed with the audio device open (/dev/dsp).  Nothing can use
the device.  fuser and lsof show nothing active on /dev/dsp.  No lock files
in /var/lock/.

I can't rmmod the sound modules because they're "in use".  I rm'd /dev/dsp
and mknod'd it but still nothing.  The sound modules won't go away with
/dev/dsp gone either.

Is there a way to remove files that are in use?

Better yet, how do I fix this problem?

A reboot should of course, fix it, but that doesn't solve the actual problem.

-- 
Pat Mahoney <[EMAIL PROTECTED]>

But maybe good is more than the absence of bad.
-- Hobbes in "Calvin and Hobbes" by Bill Watterson



Re: potato installation problem: lp driver; get "init_module: Device or resource busy" message

2000-08-06 Thread Daniel Barclay

> From: John Bagdanoff <[EMAIL PROTECTED]>


> > lp1 at 0x0378, (polling)
> 
> Maybe it should be lp0?
> ...
> Maybe that's the problem?

How might that be the problem?

(That line is output, so it can't be the problem (the cause), 
although it could be symptom of a problem.  However, that's
output from a working system, so it's not a symptom of any
problem on that system.)

Were you thinking that it indicates that my motherboard has
an odd printer port?  Weren't lp devices renumbered (from 
lp1-3 to lp0-2) between kernels 2.0.x and 2.2.x?  



What I'd really like to know is what resource the "Device 
or resource busy" message refers to.

Does anyone know what internal call is returning the "Device 
or resource busy" error code that init_module is printing out?


Daniel
-- 
Daniel Barclay
[EMAIL PROTECTED]
(Hmm.  A little worrisome:  http://www.junkbusters.com/cgi-bin/privacy
http://www.anonymizer.com/snoop.cgi )



Re: potato installation problem: lp driver; get "init_module: Device or resource busy" message

2000-08-05 Thread John Bagdanoff


> lp1 at 0x0378, (polling)

Maybe it should be lp0?

John

Maybe that's the problem?

Using Linux




Re: potato installation problem: lp driver; get "init_module: Device or resource busy" message: MORE DATA

2000-08-05 Thread David Reviejo
* Daniel Barclay <[EMAIL PROTECTED]> [000805 11:57]:
> 
> > When I get to the step of configuring device drivers, I can't 
> > install module lp.
> > ...
> 
> Here's something else I noticed:
> 
> When the system boots, right before the first installation program
> dialog comes up, a number of repeated messages flash by on the screen, 
> saying (approximately--they flashed by):
>... modprobe: can't open dependency file /lib/modules/2.2.17/modules.dep

Try running "depmod -a" by hand (as root); this command will make your
modules.dep. If this is ok, take a look at /etc/init.d/modutils: this
script run depmod at init; see if a symlink (S20modutils) to this file
exist in /etc/rsS.d

-- 
David



Re: potato installation problem: lp driver; get "init_module: Device or resource busy" message: MORE DATA

2000-08-04 Thread Daniel Barclay

> I'm having trouble with the current pre-release of potato.  I
> can't tell if this is a bug, an odd incompatibility in my system 
> (which works fine with slink), or something I'm doing wrong.
> 
> 
> When I get to the step of configuring device drivers, I can't 
> install module lp.
> ...

Here's something else I noticed:

When the system boots, right before the first installation program
dialog comes up, a number of repeated messages flash by on the screen, 
saying (approximately--they flashed by):
   ... modprobe: can't open dependency file /lib/modules/2.2.17/modules.dep

Also, I noticed a message on the fourth virtual console (I had booted 
with "linux verbose debug"):

   kmod: runaway modprobe loop assumed and stopped 


I tried running modprobe from the command line, and got the same
error message (one).


Are those messages normal?



-- 
Daniel Barclay
[EMAIL PROTECTED]
(Hmm.  A little worrisome:  http://www.junkbusters.com/cgi-bin/privacy
http://www.anonymizer.com/snoop.cgi )



potato installation problem: lp driver; get "init_module: Device or resource busy" message

2000-08-04 Thread Daniel Barclay

I'm having trouble with the current pre-release of potato.  I
can't tell if this is a bug, an odd incompatibility in my system 
(which works fine with slink), or something I'm doing wrong.


When I get to the step of configuring device drivers, I can't 
install module lp.

When I try, I get these error messages (copied by hand, so typos 
are possible):

  /lib/modules/2.2.17/misc/lp.o: init_module: Device or resource busy
  Hint: this error can be caused by incorrect module parameters,
including invalid IO or IRQ parameters
  /lib/modules/2.2.17/misc/lp.o: insmod /lib/modules/2.2.17/misc/lp.o
failed
  /lib/modules/2.2.17/misc/lp.o: insmod lp failed

I thought there might be some requirement to configure the parport 
module first, but when I configured it and then tried lp again, I 
got the same messages from the installation system.

I also tried insmod from the shell on the second virtual console, 
both trying lp by itself and trying parport and then lp.  In all 
cases, I got the "/lib/modules/2.2.17/misc/lp.o: init_module: Device 
or resource busy" error.

On a previous attempt (details not written down, unfortunately), I 
tried several IRQ and IO settings, but always got the error message.



I don't know of anything special or weird on my machine.  (It works fine
with slink.)

The motherboard is a Gigabyte GA-5AX rev. 3.0.

Here's the output of dmesg from my usual slink system (I was installing
potato on a spare partition):


Memory: sized by int13 0e801h
Console: 8 point font, 480 scans
Console: colour VGA+ 132x60, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fb100
pcibios_init : BIOS32 Service Directory entry at 0xfb580
pcibios_init : PCI BIOS revision 2.10 entry at 0xfb5b0
Probing PCI hardware.
Calibrating delay loop.. ok - 225.28 BogoMIPS
Memory: 127168k/131072k available (1124k kernel code, 384k reserved,
2396k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.38 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #2 Sat Dec 4
19:46:05 EST 1999
Starting kswapd v 1.4.2.2 
Real Time Clock Driver v1.09
tpqic02: Runtime config, $Revision: 0.4.1.5 $, $Date: 1994/10/29
02:46:13 $
tpqic02: DMA buffers: 20 blocks, at address 0x278600 (0x278574)
Ramdisk driver initialized : 16 ramdisks of 4096K size
loop: registered device at major 7
ide: ALI15X3: enabled read of IDE channels state (en/dis-abled)
Succeeded.
ide: ALI15X3 (dual FIFO) DMA Bus Mastering IDE 
Controller on PCI bus 0 function 120
ide0: BM-DMA at 0xf000-0xf007
ide1: BM-DMA at 0xf008-0xf00f
hda: Maxtor 90840D5, 8047MB w/256kB Cache, CHS=1025/255/63, UDMA(33)
hdc: Maxtor 91024U4, 9765MB w/2048kB Cache, CHS=19841/16/63, UDMA(33)
hdd: TOSHIBA CD-ROM XM-6302B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
ncr53c8xx: at PCI bus 0, device 9, function 0
ncr53c8xx: 53c876 detected with Tekram NVRAM
ncr53c876-0: rev=0x26, base=0xe800, io_port=0xe000, irq=9
ncr53c876-0: Tekram format NVRAM, ID 7, Fast-20, Parity Checking
ncr53c876-0: on-chip RAM at 0xe8001000
ncr53c876-0: restart (scsi reset).
ncr53c876-0: Downloading SCSI SCRIPTS.
Failed initialization of WD-7000 SCSI card!
scsi0 : ncr53c8xx - revision 3.1e
scsi : 1 host.
  Vendor: Seagate   Model: STT8000N  Rev: 3.22
  Type:   Sequential-Access  ANSI SCSI revision: 02
scsi : detected total.
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 >
 hdc: [PTBL] [1244/255/63] hdc1 hdc2 hdc3 hdc4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 128484k swap-space (priority -1)
Serial driver version 4.13p1 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PS/2 auxiliary pointing device detected -- driver installed.
lp1 at 0x0378, (polling)
ftape-2.08 960314
 (c) 1993-1995 Bas Laarhoven ([EMAIL PROTECTED])
 (c) 1995-1996 Kai Harrekilde-Petersen ([EMAIL PROTECTED])
 (c) 1996-1997 Claus Heine ([EMAIL PROTECTED])
 QIC-117 driver for QIC-40/80/3010/3020 tape drives
 Compiled for kernel version 2.0.38 with versioned symbols
CSLIP: code copyright 1989 Regents of the University of California
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
SLIP linefill/keepalive option.
PPP: version 2.2.0 (dynamic channel allocation)
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
hdd: media changed
hdd : tray open or drive not 

Re: cd_doEject[CDROMEJECT]: Device or resource busy

1999-03-03 Thread Dave Swegen
You're not by any chance running a CD player? Some of them have a habit of
hogging the eject function. Just a thought...

Cheers
Dave

On Wed, Mar 03, 1999 at 00:32 +0100, Björn Elwhagen wrote:
> Hi!
> 
> I have a strange problem. Even tho my cdrom is unmounted i can't get it
> to eject the CD. I'm currently using the IDE-SCSI emulation but the same
> problem occured when i used the ATAPI-driver. The only message i get is:
> 
> cd_doEject[CDROMEJECT]: Device or resource busy
> 
> Has anyone seen or heard of this problem before?
> 
> Can anyone perhaps give me a hint to where i can look up locked/used
> devices and such? I've checked around a bit in /proc but haven't been
> able to spot anything that i can relate to this.
> 
> Anything that might be useful would be greatly appreciated.
> 
> Regards
> 
> // Marwin
> 
> -- 
> | Björn Elwhagen aka Marwin Finger [EMAIL PROTECTED] |
> | Student at Wexio University   for PGP public key. (broken) |
> | SwedenICQ: 356095  | 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

-- 
 Dave Swegen   | Debian 2.0 on Linux i386 2.2.1
<[EMAIL PROTECTED]> | PGP key available on request
  <[EMAIL PROTECTED]> | Linux: The Choice of a GNU Generation
--


cd_doEject[CDROMEJECT]: Device or resource busy

1999-03-02 Thread Björn Elwhagen
Hi!

I have a strange problem. Even tho my cdrom is unmounted i can't get it
to eject the CD. I'm currently using the IDE-SCSI emulation but the same
problem occured when i used the ATAPI-driver. The only message i get is:

cd_doEject[CDROMEJECT]: Device or resource busy

Has anyone seen or heard of this problem before?

Can anyone perhaps give me a hint to where i can look up locked/used
devices and such? I've checked around a bit in /proc but haven't been
able to spot anything that i can relate to this.

Anything that might be useful would be greatly appreciated.

Regards

// Marwin

-- 
| Björn Elwhagen aka Marwin Finger [EMAIL PROTECTED] |  
| Student at Wexio University   for PGP public key. (broken) |
| SwedenICQ: 356095  | 


Re: [ale] /dev/audio: Device or resource busy

1998-11-18 Thread David S. Jackson
Thus spake Wandered Inn ([EMAIL PROTECTED]):

> > > Make sure you don't have an irq conflict.  Shows below it's taking 7,
> > > isn't that what the parallel port normally takes??
> > 
> > Thanks for the idea.  Hadn't thought of that.  Um, I don't think I've
> > got a conflict, but here's some /proc related system info.  Do you see
> > anything that catches your eye?  BTW, I don't have a printer or
> > anything attached to a parallel port here.  I have to print to a
> > remote printer on another Linux box here at home.
> 
> But I think the parallel port may be taking the irq7 just the same.  I
> think mines configured in the bios.  That's the only difference I really
> see here.

Well, it turns out I had installed something called "nas", Network
Audio Support.  Never heard of it.  Guess it was a new package.  That
was part of the conflict.

I also went to the BIOS, gave the parallel port IRQ 5 (Yep, you were
right.  It wanted 7!!!), and recompiled the kernel with sound on IRQ
7, and voila!  It worked.  NAS looks pretty cool, I must say, but I'll
wait until I get everything else working before I dig into it...  :-)

--
David S. Jackson   http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"How many Microsoft employees does it to change a light bulb? Zero.
They declared Darkness[tm] the standard."


Re: device or resource busy

1998-11-16 Thread David S. Jackson
Thus spake Conrado Badenas ([EMAIL PROTECTED]):

> "David S. Jackson" wrote:
> > Card config:
> > Sound Blaster at 0x220 irq 7 drq 1,5
> > (SB MPU-401 irq 1 drq 0)
> > OPL-2/OPL-3 FM at 0x388 drq 0
> 
> Are you sure your SB16 use irq7 (default value for SBpro)? Mine uses
> irq5 (default value for SB16).Also MPU-401 uses address 0x330. Here is
> my info from /dev/sndstat regarding Card config:
> 
> Card config: 
> Sound Blaster at 0x220 irq 5 drq 1,5
> SB MPU-401 at 0x330 irq 5 drq 0
> OPL-2/OPL-3 FM at 0x388 drq 0

Hmmm, I'll try this out if I can't find another solution.  (Try
rolling another kernel, that is.)  But my gut tells me something else
is wrong, because I'm using the same specs on another SB16, albeit
newer SB16, in another machine.

Thanks!

--
David S. Jackson   http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Zen is not some kind of excitement, but concentration on our 
usual everyday routine."   
  --Shunryu Suzuki


Re: device or resource busy

1998-11-16 Thread David S. Jackson
Thus spake Paulo Henrique Baptista de Oliveira ([EMAIL PROTECTED]):

>   Hi,
>   try lsof /dev/audio as root.
>   Then we can find what process is opening (using) the device.
>   Have a nice day,Paulo Henrique 
> 

Thanks very much.  I listed lsof /dev/audio as root, and it turned out
I had a mismatched System.map file from my kernel build.  However, I
copied the new System.map to the correct location, and I still get the
same "device or resource busy" error.  I'll experiment a little more
with the System.map and see if I can get anywhere.  Meantime, can you
think of anything more?  (There was no output from lsof /dev/audio
last time I checked.)

Thanks again!
--
David S. Jackson   http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Zen is not some kind of excitement, but concentration on our 
usual everyday routine."   
  --Shunryu Suzuki


Re: device or resource busy

1998-11-16 Thread Paulo Henrique Baptista de Oliveira
Hi,
try lsof /dev/audio as root.
Then we can find what process is opening (using) the device.
Have a nice day,Paulo Henrique 


device or resource busy

1998-11-16 Thread David S. Jackson
Hi, 

I recently rolled a new kernel on a 2.0 system and got the following
sound error:

bash: /dev/audio: Device or resource busy

I don't think I have any conflicts, but here are my /dev/sndstat and
some /proc file printouts:

/dev/sndstat:

Sound Driver:3.5.4-960630 (Fri Nov 13 23:51:34 EST 1998 root,
Linux puddin 2.0.34 #1 Fri Nov 13 21:43:04 EST 1998 i586 unknown)
Kernel: Linux puddin 2.0.34 #2 Fri Nov 13 23:54:09 EST 1998 i586
Config options: 0

Installed drivers: 
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster
Type 7: SB MPU-401

Card config: 
Sound Blaster at 0x220 irq 7 drq 1,5
(SB MPU-401 irq 1 drq 0)
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: Sound Blaster 16 (4.12)

Synth devices:
0: Yamaha OPL-3

Midi devices:

Timers:
0: System clock

Mixers:
0: Sound Blaster


Here's /proc/interrupts:
 
 1: Sound Blaster8
 4: cascade
 5: Sound Blaster16
 0:   17076701   timer
 1:  58434   keyboard
 2:  0   cascade
 4: 553869 + serial
 7:  1   sound blaster
 8:  2 + rtc
10:  62637   3c509
13:  1   math error
14:6209753 + ide0
15:   1226 + ide1

Here's /proc/ioports

-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
0170-0177 : ide1
01f0-01f7 : ide0
0220-022f : sound blaster
02f8-02ff : serial(set)
0300-030f : 3c509
0376-0376 : ide1
0388-038b : OPL3/OPL2
03c0-03df : vga+
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(set)

Here's /proc/devices

Character devices:
 1 mem
 2 pty
 3 ttyp
 4 ttyp
 5 cua
 7 vcs
10 misc
14 sound

Block devices:
 2 fd
 3 ide0
22 ide1
 
Here's /proc/dma 
 ===
 1: Sound Blaster8
 4: cascade
 5: Sound Blaster16

==

If anyone can see something I'm missing, please advise.  

TIA!  ;-) 

--
David S. Jackson   http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Our goal must be--not peace in our time, but peace for all
time."  
--Harry S. Truman


Re: device or resource busy

1998-11-11 Thread Paulo Henrique Baptista de Oliveira
Quoting Max ([EMAIL PROTECTED]):
> Rvplayer just crashed on me and now I keep on getting "device or
> resource busy" errors whenever I try to reinstall the sound modules.
> Does anyone know a way of resetting this other than rebooting?  I
> tried removing /dev/dsp and recreating it with mknod, but that didn't
> help.
> 
> Thanks,
> Max
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


device or resource busy

1998-11-11 Thread Max
Rvplayer just crashed on me and now I keep on getting "device or
resource busy" errors whenever I try to reinstall the sound modules.
Does anyone know a way of resetting this other than rebooting?  I
tried removing /dev/dsp and recreating it with mknod, but that didn't
help.

Thanks,
Max


Device or resource busy

1998-01-17 Thread Fabian Knittel
Hello...


I'd like to install my ethernet card (Intel EtherExpress PRO LAN Adapter
with Flash). But when I try to install the module eepro it gives me this
message:

-- snip --

loading device 'eth0' ...
/lib/modules/2.0.29/net/eepro.o init_module: Device or resource busy

Installation failed.

-- snip --

What am I doing wrong?? When I try to change to change the io-port or
interrupt it still fails. By the way, I'm trying to do this on a 386 with
only 4 Megs of RAM, but that doesn't seem to be it, does it?

Can someone help me with this?
P.S. I am not currently subscribed to this list (only getting the digested
stuff), so please CC any responses to [EMAIL PROTECTED] That would be
really nice. Thanks in advance.
P.P.S I'm a beginner in Linux... :)

--
Fabian Knittel ([EMAIL PROTECTED])


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: sound module: /dev/audio: Device or resource busy

1997-08-20 Thread Phil Schniter
> > >  i am experiencing strange behavior when attempting to load sound
> > >  support as a module.  i have a debian 1.3.1 system and a SB
> > >  AWE-64 PNP card, which i have installed using the isapnptools.
> > >  the fact
> 
> Check if something like NAS (network audio system) is started.  This
> is a demon that blocks /dev/dsp (and all the other) and gives network
> wide access to your soundcard.  Just check if there is a
> /etc/init.d/nas file, if so try
> 
> /etc/init.d/nas stop
> 
> and try access /dev/audio after this.
> 
> Torsten

thanks - NAS was the problem!  it must have been automatically
taking over /dev/audio and /dev/dsp from boot, preventing other
usage of these drivers

phil

-- 
**
Phil Schniter   397 Rhodes Hall
School of Elec. Eng.Ithaca, NY  14853   USA
Cornell University  h:(607)277-8975, w:(607)254-8819


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: sound module: /dev/audio: Device or resource busy

1997-08-20 Thread Marcus Brinkmann
On Aug 18, Torsten Hilbrich wrote:
> Marcus Brinkmann <[EMAIL PROTECTED]> writes:
> 
> > >  i am experiencing strange behavior when attempting to load sound
> > >  support as a module.  i have a debian 1.3.1 system and a SB
> > >  AWE-64 PNP card, which i have installed using the isapnptools.
> > >  the fact
> > 
> > I have a SB AWE-32 PNP (does someone know: how I get my bios to set
> > up pnp properly? I have a PNP Bios, I think, but I need
> > isapnptools. Why? I didn't changed anything in my bios setup.)
> 
> I assume the BIOS setups only the sb part of the sound card.  The
> initilisation of the MIDI sythesizer is left to the DOS drivers
> (ctpnp, diagnose, aweutil) or to ISAPNP.

Ah, this describes exactly the behaviour I noticed. What a stupid BIOS (good
that debian does not use it).

> > However, one thing I saw: I use kernel 2.0.29, you 2.0.30. Could
> > this be the reason?
> 
> No, I have 2.0.30 with the awedrv 0.3.99c installed and everything
> (including MIDI) workes fine.

Phils search is going on then, I think.

> > At the moment, I'm puzzled. If you have more info, please mail, I'm
> > interested.
> 
> Check if something like NAS (network audio system) is started.  This
> is a demon that blocks /dev/dsp (and all the other) and gives network
> wide access to your soundcard.  Just check if there is a
> /etc/init.d/nas file, if so try
> 
> /etc/init.d/nas stop
> 
> and try access /dev/audio after this.

BTW: Do NAS and rplay live? I think the versions of sunsite are very old
(last time I checked).

> "What a depressingly stupid machine"
>   The Restaurant at the End of the Universe

Nope. This is what I said when "rm -fR /" ate my hard disk :-)

Marcus
-- 
"Rhubarb is no Egyptian god."
Marcus Brinkmann
[EMAIL PROTECTED]
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: sound module: /dev/audio: Device or resource busy

1997-08-18 Thread Torsten Hilbrich
Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> >  i am experiencing strange behavior when attempting to load sound
> >  support as a module.  i have a debian 1.3.1 system and a SB
> >  AWE-64 PNP card, which i have installed using the isapnptools.
> >  the fact
> 
> I have a SB AWE-32 PNP (does someone know: how I get my bios to set
> up pnp properly? I have a PNP Bios, I think, but I need
> isapnptools. Why? I didn't changed anything in my bios setup.)

I assume the BIOS setups only the sb part of the sound card.  The
initilisation of the MIDI sythesizer is left to the DOS drivers
(ctpnp, diagnose, aweutil) or to ISAPNP.

> However, one thing I saw: I use kernel 2.0.29, you 2.0.30. Could
> this be the reason?

No, I have 2.0.30 with the awedrv 0.3.99c installed and everything
(including MIDI) workes fine.

> At the moment, I'm puzzled. If you have more info, please mail, I'm
> interested.

Check if something like NAS (network audio system) is started.  This
is a demon that blocks /dev/dsp (and all the other) and gives network
wide access to your soundcard.  Just check if there is a
/etc/init.d/nas file, if so try

/etc/init.d/nas stop

and try access /dev/audio after this.

Torsten

-- 
"What a depressingly stupid machine"
  The Restaurant at the End of the Universe
PGP Public Key is available


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: sound module: /dev/audio: Device or resource busy

1997-08-17 Thread Marcus Brinkmann
On Aug 16, Phil Schniter wrote:
> 
> hello,
> 
>  i am experiencing strange behavior when attempting to load sound 
>  support as a module.  i have a debian 1.3.1 system and a SB AWE-64
>  PNP card, which i have installed using the isapnptools.  the fact

I have a SB AWE-32 PNP (does someone know: how I get my bios to set up pnp
properly? I have a PNP Bios, I think, but I need isapnptools. Why? I didn't
changed anything in my bios setup.)

>  that the pnp boards need to be configured before the sound drivers
>  mandates that sound must be supported by a module, i.e. not included 
>  directly in the kernel.  for this reason, /etc/init.d/boot makes sure 
>  that pnp configuration is taken care of _before_ modules are loaded.

Yes.

>  things seem to work fine when i do NOT include the "sound" line in
>  my /etc/modules file, and instead do "insmod sound" manually after 
>  rebooting.  however, when i include "sound" or "auto" in /etc/modules, 
>  i get the message 
>/dev/audio: Device or resource busy
>  whenever i try to access /dev/audio (or likewise with /dev/dsp).

strange. I have sound in my modules, and it works just fine.
I compared my /dev/sndstat with yours, and they are nearly identical (i have
a wrong SB MPU-401 line, without an address specified and with irq 1. I have
to check this with the next kernel compile.)

BTW: How do you get this:
> Midi devices:
> 0: Sound Blaster 16
I have it not.

However, one thing I saw: I use kernel 2.0.29, you 2.0.30. Could this be the
reason?

>  i have confirmed that there is no conflict with IRQs, and the
>  output of /dev/sndstat seems to indicate that everything is ok.
>  (i have included it below.)
> 
>  does anybody know why the boot-time loading of the sound module
>  is not working?

At the moment, I'm puzzled. If you have more info, please mail, I'm
interested.

> phil
> 
> 
> output of /dev/sndstat:
> --
> Sound Driver:3.5.4-960630 (Thu Aug 14 17:45:27 EDT 1997 root,
> Linux bigrig 2.0.30 #7 Thu Aug 14 15:55:19 EDT 1997 i586 unknown)
> Kernel: Linux bigrig 2.0.30 #7 Thu Aug 14 15:55:19 EDT 1997 i586
> Config options: 0
> 
> Installed drivers: 
> Type 1: OPL-2/OPL-3 FM
> Type 2: Sound Blaster
> Type 7: SB MPU-401
> 
> Card config: 
> Sound Blaster at 0x220 irq 5 drq 1,5
> SB MPU-401 at 0x330 irq 5 drq 0
> OPL-2/OPL-3 FM at 0x388 drq 0
> 
> Audio devices:
> 0: Sound Blaster 16 (4.16)
> 
> Synth devices:
> 0: Yamaha OPL-3
> 1: AWE32 Driver v0.3.3e (DRAM 512k)
> 
> Midi devices:
> 0: Sound Blaster 16
> 
> Timers:
> 0: System clock
> 
> Mixers:
> 0: Sound Blaster
> 1: AWE32 Equalizer
> 
> 

-- 
"Rhubarb is no Egyptian god."
Marcus Brinkmann
[EMAIL PROTECTED]
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


sound module: /dev/audio: Device or resource busy

1997-08-16 Thread Phil Schniter

hello,

 i am experiencing strange behavior when attempting to load sound 
 support as a module.  i have a debian 1.3.1 system and a SB AWE-64
 PNP card, which i have installed using the isapnptools.  the fact
 that the pnp boards need to be configured before the sound drivers
 mandates that sound must be supported by a module, i.e. not included 
 directly in the kernel.  for this reason, /etc/init.d/boot makes sure 
 that pnp configuration is taken care of _before_ modules are loaded.

 things seem to work fine when i do NOT include the "sound" line in
 my /etc/modules file, and instead do "insmod sound" manually after 
 rebooting.  however, when i include "sound" or "auto" in /etc/modules, 
 i get the message 
   /dev/audio: Device or resource busy
 whenever i try to access /dev/audio (or likewise with /dev/dsp).

 i have confirmed that there is no conflict with IRQs, and the
 output of /dev/sndstat seems to indicate that everything is ok.
 (i have included it below.)

 does anybody know why the boot-time loading of the sound module
 is not working?

phil


output of /dev/sndstat:
--
Sound Driver:3.5.4-960630 (Thu Aug 14 17:45:27 EDT 1997 root,
Linux bigrig 2.0.30 #7 Thu Aug 14 15:55:19 EDT 1997 i586 unknown)
Kernel: Linux bigrig 2.0.30 #7 Thu Aug 14 15:55:19 EDT 1997 i586
Config options: 0

Installed drivers: 
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster
Type 7: SB MPU-401

Card config: 
Sound Blaster at 0x220 irq 5 drq 1,5
SB MPU-401 at 0x330 irq 5 drq 0
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: Sound Blaster 16 (4.16)

Synth devices:
0: Yamaha OPL-3
1: AWE32 Driver v0.3.3e (DRAM 512k)

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster
1: AWE32 Equalizer


**
Phil Schniter   397 Rhodes Hall
School of Elec. Eng.Ithaca, NY  14853   USA
Cornell University  h:(607)277-8975, w:(607)254-8819 

"try to detect it : it's not too late : to whip it : whip it good"
- Devo 



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


RE: /dev/audio & /dev/dsp Device or resource busy ???

1996-09-02 Thread Casper BodenCummins
Ian Jackson wrote:

> Stoyan Kenderov writes ("/dev/audio & /dev/dsp  Device or resource busy
???"):
> ...
>> The sparing comments in the source point to an IRQ or DMA conflict when one
>> gets constant "Device or Resource busy" mesages on each:
>> 
>> cat blabla.au > /dev/audioor
>> cat uuhuu.wav > /dev/dsp
>
> Have you installed `nas' (the `network audio system') ?  It takes over
> your sound hardware permanently.  If you have then deinstall it.
>
> Ian.

I've read Stoyan's reply, so I know that this fixed the problem.
However, I don't think you need to uninstall NAS. Besides, you'll need
it to run NAS-aware programs. Surely you can simply say:

   /etc/init.d/nas stop

or whatever the name is (don't have access to the machine right now).
Stoyan, I suggest you reinstall NAS and try this.

Casper Boden-Cummins.



Re: /dev/audio & /dev/dsp Device or resource busy ???

1996-09-01 Thread Ian Jackson
Stoyan Kenderov writes ("/dev/audio & /dev/dsp  Device or resource busy ???"):
...
> The sparing comments in the source point to an IRQ or DMA conflict when one
> gets constant "Device or Resource busy" mesages on each:
> 
> cat blabla.au > /dev/audioor
> cat uuhuu.wav > /dev/dsp

Have you installed `nas' (the `network audio system') ?  It takes over
your sound hardware permanently.  If you have then deinstall it.

Ian.



/dev/audio & /dev/dsp Device or resource busy ???

1996-08-31 Thread Stoyan Kenderov
Hello DEBIAN user/programmers,

After kernel v2.0.0 I have been unable to produce any sound on my SB16
sound card. 

Is there a known bug (up until kernel 2.0.15) in the SB16 code of USS that I
missed during my vacations?

The sparing comments in the source point to an IRQ or DMA conflict when one
gets constant "Device or Resource busy" mesages on each:

cat blabla.au > /dev/audioor
cat uuhuu.wav > /dev/dsp

But I haven't changed anything in the configuration of my hardware, nor my
kernel parameters...

Sorry but I didn't encounter any hint's in my /var/adm/messages eighter.
The USS does not permit compilation with DEBUGING on, does it?

Thankfull for any hints or suggestions,

regards,
Stoyan
 

-- 
Stoyan Kenderov/ phone: +49 721 9652 220
NTG Netzwerk und Telematic GmbH  \/  fax:   +49 721 9652 210
Vincenz-Priessnitz-Str. 3/\ LINK email: [EMAIL PROTECTED]
D-76131 Karlsruhe, Germany  /___ http://www.xlink.net/~kenderov
Opinions stated herein are my own, not necessarily my employer's 
  [finger me for my PGP public key]