[PARPORT] 'Device or resource busy.' error message.

York Chan (yorkchan@hotmail.com)
Mon, 02 Aug 1999 17:13:01 PDT

Dear Sir or Madam,

I am new to Linux (and certainly mailing list) so please allow me if I am
not making any sense here.

I tried to load some device drivers to activate my Back Pack Hard Disk on my
Caldera OpenLinux 2.2. It worked on the first shot by the following

#insmod paride
#insmod bpck
#insmod pd

Then I mounted the 1st partition (2GB) with:

#mount /dev/pda1 /mnt/BP01 vfat defaults,user 0 0

After that I can see all the directories and files in long filename with:

#ls -al /mnt/BP01 | less

However after I reboot the notebook (I am running my Linux on a Sony Vaio);
I can no longer repeat the above procedure. I boot into Windows 98 and
click on the BackPack applet under Control Panel and found:

  LPT 0378
  PPC 50772D, ID98, Hard Drive
  TxFW, RxBi, T1=3, T2=3, T8=3
  MPD 2.01.14

I tested the hardware under Win98 by transfer some files back and forth to
make sure this is not a hardware problem. But as I boot back to my Linux
and ran "dmesg" I got the following log (note that I issued "insmod pd
verbose=2"). It seems the driver "pd" failed to talk to the hardware for
some reason. Could you please give me a hand to solve this problem ? Thank
you very much.

York Chan

The following is from "dmesg"

Linux version 2.2.5 (root@knob.calderasystems.com) (gcc version egcs-2.91.60
19981201 (egcs-1.1.1 release)) #1 Sat Apr 3 21:49:22 MST 1999
Detected 265376461 Hz processor.
Console: colour VGA+ 80x30
Calibrating delay loop... 130.66 BogoMIPS
Memory: 63256k/65472k available (844k kernel code, 408k reserved, 892k data,
72k init)
CPU: Intel Mobile Pentium MMX stepping 01
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfda04
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:3a
PCI: Enabling memory for device 00:48
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Starting kswapd v 1.5
vesafb: framebuffer at 0x000a0000, mapped to 0xc00a0000, size 128k
vesafb: mode is 640x480x4, linelength=80, pages=50719
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 80x30
fb0: VESA VGA frame buffer device
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfcf0-0xfcf7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:pio, hdd:pio
hda: TOSHIBA MK2105MAT, ATA DISK drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: TOSHIBA MK2105MAT, 2067MB w/0kB Cache, CHS=525/128/63, UDMA
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
Partition check:
hda: hda1 hda2 hda3 hda4
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 72k freed
st: bufsize 32768, wrt 30720, max buffers 4, s/g segs 16.
CSLIP: code copyright 1989 Regents of the University of California
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
PPP: version 2.3.3 (demand dialling)
PPP line discipline registered.
NET4: Linux IPX 0.38 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 3.1 detected OK (220)
parport0: PC-style at 0x378 [SPP,PS2]
parport0: no IEEE-1284 device present.
Adding Swap: 100796k swap-space (priority -1)
Linux PCMCIA Card Services 3.0.9
  kernel build: 2.2.5 #1 Thu Mar 25 21:10:09 MST 1999
  options: [pci] [cardbus]
Intel PCIC probe:
  Ricoh RL5C475 PCI-to-CardBus at bus 0 slot 10, mem 0x68000000, 1 socket
    host opts [0]: [isa irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat
168/176] [bus 32/34]
    ISA irqs (default) = 3,4,7,10,11,12,15 polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x140-0x147 0x170-0x177
0x320-0x327 0x370-0x37f 0x388-0x38f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
paride: version 1.04 installed
paride: bpck registered as protocol 0
pd: pd version 1.05, major 45, cluster 64, nice 0
pda: 0x378 is parport0
pda: bpck: 0x378 unit 98 mode 0: 0 1 2 3 4 5 6 7 8 9 10 11 12 13
14 31
pda: bpck: 0x378 unit 98 mode 1: 0 1 1 2 2 3 3 4 4 5 5 6 6 7
7 8
pda: bpck: 0x378 unit 98 mode 2: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
-1 -1
pda: bpck: 0x378 unit 98 mode 3: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
-1 -1
pda: bpck: 0x378 unit 98 mode 4: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
-1 -1
pda: Autoprobe failed
pd: no valid drive found

Get Your Private, Free Email at http://www.hotmail.com

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --

This archive was generated by hypermail 2.0b3 on Mon 02 Aug 1999 - 20:15:11 EDT