Hello J�rgen,
O.K. I managed to get rid of the parport lock, but I still can't see the
bp-pp tape drive the following messages when loading bpck-fdc:
- "Got 0x78, expected either 0xc0 or 0x40" (same message when *nothing* is
connected to the parallel port), and,
- "can't find bpck interface for ftape id 0"
The loading sequence of the modules is (all do appear with with lsmod):
insmod ftape ft_fdc_driver=bpck-fdc,none,none,none ft_tracings=4,4,4,4,4
insmod zftape
insmod bpck-fdc ft_fdc_parport=0 ft_fdc_base=0x378 ft_fdc_irq=7 (gives the
error message below)
the alternative command also gives the error
insmod bpck-fdc ft_fdc_base=0x378 ft_fdc_irq=7 (gives the
same error
message)
Is there something trivial I am missing ?
Any further hints ?
Best regards,
Pierre.
----------------------------------------------------------------------------
-------------------------------------------------------
MConfig compilation options (the only change made, except specifying the
processor type):
#
# For a Micro Solutions opispo "backpack" based parallel port drive, try
#
BPCK_DEV=0
FDC_OPT += -DCONFIG_FT_FDC_PARPORT_$(BPCK_DEV)=-1 \ (removed the #)
-DCONFIG_FT_PAR_$(BPCK_DEV)=1 \
-DCONFIG_FT_BPCK_$(BPCK_DEV)=1
----------------------------------------------------------------------------
-------------------------------------------------------
/proc/ioports:
0000-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 : fpu
01f0-01f7 : ide0
02f8-02ff : serial(auto)
03c0-03df : vga+
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
0a00-0aff : cb_enabler
fcf0-fcf7 : ide0
----------------------------------------------------------------------------
-------------------------------------------------------
/proc/interrupts:
CPU0
0: 492008 XT-PIC timer
1: 5649 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 39588 XT-PIC aic7xxx
6: 214 XT-PIC floppy
8: 2 XT-PIC rtc
12: 69280 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 1302 XT-PIC ide0
15: 4 XT-PIC i82365
NMI: 0
----------------------------------------------------------------------------
-------------------------------------------------------
logging:
Jun 6 005510 u192 kernel ftape v4.03-pre-3 03/28/99
Jun 6 005510 u192 kernel
Jun 6 005510 u192 kernel (c) 1993-1996 Bas Laarhoven
Jun 6 005510 u192 kernel (c) 1995-1996 Kai Harrekilde-Petersen
Jun 6 005510 u192 kernel (c) 1996-1998 Claus-Justus Heine
([EMAIL PROTECTED])
Jun 6 005510 u192 kernel
Jun 6 005510 u192 kernel QIC-117 driver for QIC-40/80/3010/3020/Ditto
2GB/MAX floppy tape drives.
Jun 6 005510 u192 kernel Compiled for Linux version 2.2.5
Jun 6 005510 u192 kernel installing QIC-117 floppy tape hardware drive ...
Jun 6 005510 u192 kernel ftape_init @ 0xc486f218.
Jun 6 005511 u192 kernel [000] ftape-init.c (ftape_build_driver_list) -
Found driver bpck-fdc for device 0.
Jun 6 005511 u192 kernel zftape for ftape v4.03-pre-3 03/28/99
Jun 6 005511 u192 kernel (c) 1996, 1997 Claus-Justus Heine
([EMAIL PROTECTED])
Jun 6 005511 u192 kernel vfs interface for ftape floppy tape driver.
Jun 6 005511 u192 kernel Support for QIC-113 compatible volume table.
Jun 6 005511 u192 kernel Compiled for Linux version 2.2.5
Jun 6 005511 u192 kernel [001] zftape-init.c (zft_init) - zft_init @
0xc48a4208.
Jun 6 005511 u192 kernel [002] zftape-init.c (zft_init) - installing
zftape VFS interface for ftape driver ....
Jun 6 005511 u192 kernel bpck-fdc.c bpck_fdc_register @ 0xc48b0c8c
Jun 6 005511 u192 kernel [003] fdc-io.c (fdc_driver_in_list) - Driver
bpck-fdc.
Jun 6 005511 u192 kernel [004] 0 ftape-buffer.c (ftape_kmalloc) -
allocated buffer @ c3b98940, 236 bytes.
Jun 6 005511 u192 kernel [005] fdc-io.c (fdc_register) - Probing for
bpck-fdc tape drive slot 0.
Jun 6 005511 u192 kernel [006] 0 ftape-buffer.c (ftape_kmalloc) -
allocated buffer @ c3dafc70, 68 bytes.
Jun 6 005511 u192 kernel [007] 0 bpck-fdc.c (bpck_fdc_detect) - called
with ftape id 0.
Jun 6 005511 u192 kernel [008] 0 fdc-parport.h (ft_parport_probe_one) -
base 0x0378, irq -1.
Jun 6 005511 u192 kernel [009] 0 bpck-fdc.c (bpck_fdc_probe) - Bpck
parallel port tape drive interface for ftape v4.03-pre-3 03/28/9
9.
Jun 6 005511 u192 kernel [010] bpck-fdc.c (bpck_fdc_query_proto) - Got
0x78, expected either 0xc0 or 0x40.
Jun 6 005511 u192 kernel [011] 0 ftape-buffer.c (ftape_kfree) - released
buffer @ c3dafc70, 68 bytes.
Jun 6 005511 u192 kernel [012] 0 bpck-fdc.c (bpck_fdc_detect) - can't find
bpck interface for ftape id 0.
Jun 6 005511 u192 kernel [013] 0 bpck-fdc.c (bpck_fdc_detect) -
ft_parport_probe(fdc, &bpck->parinfo) failed -6.
Jun 6 005511 u192 kernel [014] 0 fdc-io.c (fdc_destroy) - destroying fdc 0.
Jun 6 005511 u192 kernel [015] 0 ftape-buffer.c (ftape_kfree) - released
buffer @ c3b98940, 236 bytes.
----------------------------------------------------------------------------
-------------------------------------------------------
At 12:06 04.06.99 +0200, you wrote:
>On Fri, Jun 04, 1999 at 09:29:47AM +0200, Pierre Jung wrote:
>> Hello J�rgen,
>>
>> Thanks again for your hints. Sorry to insist, but unfortunately, none of
>> these modules is loaded. I compiled SuSE Kernel 2.2.5 with the parport,
>> parport_pc support as modules, as well as for lp support. So, the 3
modules
>
>this is certainly ok...
>
>> do exist in /lib/modules/2.2.5/... and are loadable without any problems
>> (lp + parport) if wished so. Am I missing something ? Two questions:
>>
>> -Is there any other way to get rid of this *%&? parport 0 in
/proc/ioports if
>> it has not been compiled into the kernel and the corresponding modules has
>> never been loaded ?
>
>Good question, in fact, I cannot imagine how parport 0 is able to
>appear without parport and parport_pc having been loaded...(assuming they
>are not linked statically with the kernel, i. e. didn't choose "Y"
>while configuring your kernel) - perhaps parport_probe is still left...
>
>Ok - a bit of struggling is necessary...
>
>So one more time (to present us some information):
>
>- try to remove parport and parport_pc and parport_probe and lp by
> rmmod or by modprobe -r
>- try to load these ftape modules by insmod or by modprobe
>- show us please the output of cat /proc/ioports
>- show us please the output of lsmod
>- if lsmod didn't spit out "parport" nor "parport_pc" nor "lp": show us
> please again the output of dmesg as long as ftape is concerned
>
>
>>
>> -Is the problem eventually due to some incompatibilities with Kernel 2.2.5 ?
>>
>
>Hm, haven't heard of any. Well, I myself would prefer to take a kernel that
>is not modified by suse, but this should not be the reason in your case.
>
>
>Has anybody else any further ideas?
>
>
>Cheers, Juergen.
>
>
>--
>****************************************************************
>* Juergen Leising; email: [EMAIL PROTECTED] *
>* http://www.stud.uni-bayreuth.de/~a0037/ *
>****************************************************************