Messages in this thread Patch in this message | | | Date | Sat, 6 Feb 1999 01:07:57 +0200 (EET) | From | Robert-Velisav MICIOVICI <> | Subject | SUCCESS - Re: Digiboard on linux-2.2.x |
| |
On Fri, 5 Feb 1999, Daniel Taylor wrote:
> Date: Fri, 5 Feb 1999 02:13:21 -0600 (CST) > From: Daniel Taylor <danielt@dgii.com> > To: Robert-Velisav MICIOVICI <roby@lcjdap.soroscj.ro> > Cc: linux-serial@vger.rutgers.edu, Alan Cox <alan@lxorguk.ukuu.org.uk> > Subject: Re: Digiboard on linux-2.2.x > > That is the right patch. This is one of the reasons I recommended using > the builtin driver. We do have a new beta in the pipeline over here > that handles this and other things properly for 2.2. > > The continued error condition sounds like either a memory > conflict or bus timing issue (the PC/Xe64K cards have been known > to exhibit problems on newer systems, and the PC/16e has > been out of our catalog for quite a while because of this). >
Ok now I did this... using the builtin driver for the linux-2.2.1
[root@lcjdap /home/roby/Digi/epcav1-3-4]# cd dl [root@lcjdap /home/roby/Digi/epcav1-3-4/dl]# l total 658 1 drwxrwxr-x 2 roby roby 1024 Nov 4 20:52 . 1 drwx------ 6 roby roby 1024 Nov 6 19:46 .. 1 -rw-rw-r-- 1 roby roby 316 Nov 4 16:01 Makefile 461 -rwxrwxr-x 1 roby roby 468621 Nov 4 19:58 digiDload 37 -rw-rw-r-- 1 roby roby 36513 Nov 4 19:36 digiDload.c 41 -rw-rw-r-- 1 roby roby 40448 Nov 4 20:48 sxbios.bin 33 -rw-rw-r-- 1 roby roby 32512 Nov 4 20:48 sxfep.bin 1 -rw-rw-r-- 1 roby roby 123 Oct 14 1997 universal.h 41 -rw-r--r-- 1 roby roby 40448 Nov 4 20:48 xrbios.bin 33 -rw-r--r-- 1 roby roby 32768 Nov 4 20:48 xrfep.bin 2 -rw-rw-r-- 1 roby roby 2048 Jan 19 1998 xxbios.bin 6 -rw-rw-r-- 1 roby roby 6144 Jan 19 1998 xxfep.bin [root@lcjdap /home/roby/Digi/epcav1-3-4/dl]# ./digiDload v digiDload version 1.3.6 Initializing PC/64Xe with 16 ports .....Downloading /etc/digi/xxbios.bin to ff800 on PC/64Xe .....Downloading /etc/digi/xxfep.bin to 2000 on PC/64Xe Digi PC/Xx Driver V1.1.0: PC/64Xe I/O = 0x200 Mem = 0xd0000 Ports = 16 digiDload complete : Card initialized [root@lcjdap /home/roby/Digi/epcav1-3-4/dl]# l /etc/digi/ total 160 1 drwxr-xr-x 2 root root 1024 Feb 4 01:17 . 3 drwxr-xr-x 35 root root 3072 Feb 6 00:58 .. 41 -rw-r--r-- 1 root root 40448 Feb 4 01:17 sxbios.bin 33 -rw-r--r-- 1 root root 32512 Feb 4 01:17 sxfep.bin 41 -rw-r--r-- 1 root root 40448 Feb 4 01:17 xrbios.bin 33 -rw-r--r-- 1 root root 32768 Feb 4 01:17 xrfep.bin 2 -rw-r--r-- 1 root root 2048 Feb 4 01:17 xxbios.bin 6 -rw-r--r-- 1 root root 6144 Feb 4 01:17 xxfep.bin [root@lcjdap /home/roby/Digi/epcav1-3-4/dl]# dmesg [snip] Digi PC/Xx Driver V1.1.0: PC/64Xe I/O = 0x200 Mem = 0xd0000 Ports = 16
[root@lcjdap ~]# cu -oe -lttyD0 -s19200 dir Connected. ati4 USRobotics Sportster 9600 Fax Settings...
B0 E1 F1 M1 Q0 V1 X4 Y0 BAUD=19200 PARITY=N WORDLEN=8 DIAL=PULSE ON HOOK
&A3 &B0 &C1 &D0 &G0 &H1 &I0 &K1 &M4 &N0 &P0 &R2 &S0 &T5 &Y1
S00=001 S01=000 S02=043 S03=013 S04=010 S05=008 S06=003 S07=100 S08=002 S09=006 S10=100 S11=070 S12=050 S13=000 S14=000 S15=000 S16=000 S17=000 S18=000 S19=000 S20=000 S21=010 S22=017 S23=019 S24=000 S25=010 S26=000 S27=000 S28=008 S29=020 S30=000 S31=000 S32=000 S33=000 S34=006 S35=000 S36=014 S37=000 S38=000 S44=015 S51=000
LAST DIALED #:
OK atz cu: Got hangup signal
Disconnected.
Still I don't know why this is happening (not only with the modems connected through a digiboard but on the serial ports also...) hangup when atz -ing...
Thanks a lot for all the help I got! :) > On Fri, 5 Feb 1999, Robert-Velisav MICIOVICI wrote: > > > On Thu, 4 Feb 1999, Daniel Taylor wrote: > > > > > Date: Thu, 4 Feb 1999 03:11:52 -0600 (CST) > > > From: Daniel Taylor <danielt@dgii.com> > > > To: Robert-Velisav MICIOVICI <roby@lcjdap.soroscj.ro> > > > Cc: linux-kernel@vger.rutgers.edu > > > Subject: Re: Digiboard on linux-2.2.x > > > > > > For the kernel folks: > > > The external package configures the driver and initializes the card. > > > > > > > > > Robert: > > > This is properly an item for linux-serial@vger.rutgers.edu or > > > digilnux@dgii.com. > > > > > > Use the builtin driver code, not the beta from ftp. > > > Add the append="digiepca=E,PC/64Xe,D,16,200,D0000" line > > > to /etc/lilo.conf per .../linux/Documentation/digiepca.txt. > > > Run lilo and reboot. > > > Run "digiDload v" and let me know how it comes out. > > > > > > > I applied this fix suggested by - the 1.3.4beta epca driver couldn't > > compile (some jiffies problem) without this patch. > > > > This should fix it > > > > > > --- epca.c~ Thu Feb 4 04:02:50 1999 > > +++ epca.c Thu Feb 4 04:03:14 1999 > > @@ -732,8 +732,7 @@ > > if (ch->close_delay) > > { > > current->state = TASK_INTERRUPTIBLE; > > - current->timeout = jiffies + > > ch->close_delay; > > - schedule(); > > + schedule_timeout(ch->close_delay); > > } > > > > wake_up_interruptible(&ch->open_wait); > > > > Daniel, after booting the 2.2.1 kernel, I load the patched version of the > > epca 1.3.4 module and then running digiDload v (from the epca 1.3.4 > > package), course I have enabled that > > append="digiepca=E,PC/64Xe,D,16,200,D0000" line in the lilo and refreshed > > lilo -v > > > > so after running digiDload v or digiDload without v detects the type of > > the board ... says it has 16 ports etc... etc I think it also says that > > the board it is initialized and done but immediately starts to flood the > > console with > > > > epca_error (Digi): line = 530 Memory on > > > > > > until forever ... no actually until reboot .... changing virtual consoles > > won't help... only reboot (ctrl+alt+del - runs a normal shutdown no need for > > turning off the computer) > > > > > > > On Thu, 4 Feb 1999, Robert-Velisav MICIOVICI wrote: > > > > > > > On Tue, 2 Feb 1999, Daniel Taylor wrote: > > > > > > > > > Date: Tue, 2 Feb 1999 02:29:37 -0600 (CST) > > > > > From: Daniel Taylor <danielt@dgii.com> > > > > > To: Linux Kernel list <linkern@lcjdap.soroscj.ro> > > > > > Subject: Re: Digiboard on linux-2.2.x > > > > > > > > > > OK, with the epca driver you need external initialization code. > > > > > > > > > > The package at ftp://ftp.dgii.com/drivers/linux/beta/async/ > > > > > includes the digiDload program that handles this. > > > > > > > > I tried this and: > > > > > > > > ./digiConfigure ... then > > > > > > > > [root@lcjdap epcav1-3-4/dl]# ./digiDload > > > > Initializing PC/Xe with 2 ports > > > > .....<Error> - reset_card : PCXE not resetting > > > > line 2540: Out of range, cmd = ec, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > line 2540: Out of range, cmd = e0, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > line 2540: Out of range, cmd = e1, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > line 2540: Out of range, cmd = ec, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > line 2540: Out of range, cmd = e0, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > line 2540: Out of range, cmd = e1, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > Digi PC/Xx Driver V1.1.0: PC/Xe I/O = 0x320 Mem = 0xd0000 Ports = 2 > > > > digiDload complete : Card initialized > > > > [root@lcjdap epcav1-3-4/dl]# > > > > > > > > The problem is that my Digiboard has 16 ports not 2 and still it looks > > > > like it isn't working to well... (et all actually): > > > > > > > > [root@lcjdap ~]# cu -oe -lttyD0 -s19200 dir > > > > line 2540: Out of range, cmd = e9, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > line 2540: Out of range, cmd = e9, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > ati4 > > > > atz > > > > > > > > (Ctrl+C) > > > > > > > > cu: Got interrupt signal > > > > cu: Can't change terminal settings: Interrupted system call > > > > line 2540: Out of range, cmd = e2, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > line 2540: Out of range, cmd = e9, head = ffff > > > > line 2542: Out of range, cmdMax = 20002, cmdStart = ffff > > > > [root@lcjdap ~]# > > > > > > > > > > > > > > > > > Alternately you may use the older PC/Xx driver that is still > > > > > included with 2.2. > > > > > > > > > So I tried compiling the new driver into the kernel... but: > > > > > > > > > > > > It got the latest epca driver (epcav-1-3-4) from > > > > ftp://ftp.dgii.com/drivers/linux/beta/async/40001450E2P.tar > > > > > > > > > > > > "" > > > > DigiWARE Release Notes > > > > for > > > > Digi Asynchronous Driver version 1.3.4 (Beta) > > > > November 5, 1998 > > > > > > > > Digi Xi, Xe, Xr, Xem, COM/Xi > > > > > > > > Linux operating systems 1.2.x, 2.0.x and 2.1.x > > > > Software Package P/N 75000250E2P > > > > Diskette (3.5") P/N 40001450E2P > > > > Release Notes P/N 93000239E2P > > > > "" > > > > > > > > If I patch the kernel with this driver the epca module can't compile... :( > > > > complaining of... > > > > > > > > gcc -D__KERNEL__ -I/usr/src/linux-2.2.1/include -Wall -Wstrict-prototypes > > > > -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 > > > > -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS > > > > -include /usr/src/linux-2.2.1/include/linux/modversions.h -c -o epca.o > > > > epca.c > > > > epca.c:54: warning: `MODULE' redefined > > > > *Initialization*:1: warning: this is the location of the previous > > > > definition > > > > In file included from epca.c:165: > > > > /usr/src/linux-2.2.1/include/linux/bios32.h:11: warning: #warning This > > > > driver uses the old PCI interface, please fix it (see > > > > Documentation/pci.txt) > > > > /usr/src/linux-2.2.1/include/linux/bios32.h:32: warning: > > > > `pcibios_read_config_byte' redefined > > > > /usr/src/linux-2.2.1/include/linux/modules/pcisyms.ver:4: warning: this is > > > > the location of the previous definition > > > > epca.c: In function `pc_close': > > > > epca.c:735: structure has no member named `timeout' > > > > make[2]: *** [epca.o] Error 1 > > > > make[2]: Leaving directory `/usr/src/linux-2.2.1/drivers/char' > > > > make[1]: *** [_modsubdir_char] Error 2 > > > > make[1]: Leaving directory `/usr/src/linux-2.2.1/drivers' > > > > make: *** [_mod_drivers] Error 2 > > > > [root@lcjdap /usr/src/linux-2.2.1]# > > > > > > > > > > > > Please help !!! :) > > > > > > > > > > Daniel Taylor Digi International danielt@dgii.com > > > Open Systems Win > > > > > > > > > > > > > > > > -- > > SysAdm @ LCJDAP > > "Alexandru Papiu Ilarian" Highschool's Network Administrator > > > > > > Daniel Taylor Digi International danielt@dgii.com > Open Systems Win > >
-- SysAdm @ LCJDAP "Alexandru Papiu Ilarian" Highschool's Network Administrator
MY homepage WWW: http://lcjdap.soroscj.ro/users/roby/ My Phone CONNEX GSM : +40/92/404414
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |