I'm trying to install this beast once again using 4.x-1999_04_25 under
a 2.2.7 kernel. It compiles and installs just fine, but when I load the
modules, either via kmod or by hand, it always chokes at the same point.

[050]    +bpck-fdc.c (bpck_fdc_test_port)
[051]     bpck-fdc.c (bpck_fdc_test_port) - r: 0x7f, i: 0x7f.
[052]     bpck-fdc.c (bpck_fdc_test_port) - r: 0x80, i: 0x7f.
[053]    -bpck-fdc.c (bpck_fdc_test_port)
[054]    +bpck-fdc.c (bpck_fdc_query_proto)
[055]     bpck-fdc.c (bpck_fdc_query_proto) - Got 0x78, expected either 0xc0 or 0x40.
[056]    -bpck-fdc.c (bpck_fdc_query_proto)

Looking at the code it's fairly apparent that this is the failure point
since it should immediately exit -ENXIO after the last message. The
question is why in the world can't the bpck-fdc module see the port
properly?

To confuse things further, my machine has four BIOS modes available for
the parallel port, and I'm not sure which to use. (EPP, ECP,
Bi-directional, and Compatible.) The port is set for 0x378 and IRQ 5.
The BIOS also reports that it uses DMA channel 3 in EPP mode, but allows
no way to set it. If anyone could enlighten me in this area it would
save me a lot of trial and error. Trying all four modes with each change
is a real pain.

Below I've included several sections of the relevant files. Sorry for
the long post, but I thought more info was better than not enough. I'd
really like to get this thing going this time around.

> cat /etc/conf.modules
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=5
alias char-major-27 zftape.o
options ftape ft_fdc_driver=bpck-fdc,none,none,none ft_tracings=8,8,8,8,8
options bpck-fdc ft_fdc_base=0x378 ft_fdc_irq=5
pre-install ftape /usr/local/bin/swapout 15

> cat /usr/local/src/ftape/MCONFIG
AUTO_DEV=0
#FDC_OPT +=      -DCONFIG_FT_STD_FDC_$(AUTO_DEV) \
                -DCONFIG_FT_AUTO_$(AUTO_DEV)=1
BPCK_DEV=0
FDC_OPT +=      -DCONFIG_FT_FDC_PARPORT_$(BPCK_DEV)=-1 \
                -DCONFIG_FT_PAR_$(BPCK_DEV)=1 \
                -DCONFIG_FT_BPCK_$(BPCK_DEV)=1

> cat /usr/src/linux/.config
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_OTHER=y
CONFIG_PNP=y
# CONFIG_PNP_PARPORT is not set
# CONFIG_PRINTER is not set
# CONFIG_FTAPE is not set

> cat /proc/interrupts
           CPU0       
  0:     677761          XT-PIC  timer
  1:      17466          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:     193384          XT-PIC  serial
  7:       1071          XT-PIC  eth0
 10:          0          XT-PIC  soundblaster
 11:     117170          XT-PIC  BusLogic BT-950
 13:          1          XT-PIC  fpu
NMI:          0

> cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0220-022f : soundblaster
02e0-02ef : 3c509
03c0-03df : vga+
03e8-03ef : serial(set)
03f8-03ff : serial(set)
fc00-fcff : BusLogic BT-950

Let me know if you'd like to see anything else.

Rick Myers                            [EMAIL PROTECTED]
----------------------------------------------------
The Feynman Problem       1) Write down the problem.
Solving Algorithm         2) Think real hard.
                          3) Write down the answer.

Reply via email to