* esp causing crashes.. @ 2001-01-29 17:57 Roeland Th. Jansen 2001-02-01 21:38 ` Mark Orr 0 siblings, 1 reply; 5+ messages in thread From: Roeland Th. Jansen @ 2001-01-29 17:57 UTC (permalink / raw) To: linux-kernel; +Cc: arobinso, miquels [mike -- included you for refs only] recently I started to dive into a problem that causes 2.2.x and 2.4.x to crash at shutdown and when minicom/mgetty is used. e.g. shutdown almost always crashed the system; if a fax is received, 3 out of 4 faxes ok, but also crashes system. I tried to contact the author of the hayes esp also but he seems to be pretty busy... Initially I thought that killall5, mike's product, somehow caused the mentioned crash but diving deeper into it I found that killall5 tries to kill mgetty -- and crashes the system. I tried a source version as well. same stuff (I use suse 7.0) I then tried without mgetty -- shutdown ok. Then I looked at esp.o as it's being used with mgetty -- now used minicom... that crashes most of the time when I exit the program. most of the time, it only crashes if you reset the modem connected. I trouble shooted further and disconnecting the plug of the esp and at the reconnect -- crash. It seems that somewhere in the esp code, something causes this particular weird crash. somehting like modem lines that get changed or so causing the crash ? the IRQ is 11, not using DMA, IRQ is set to legacy in the BIOS. it happens with any 2.2.xx version and also happens with 2.4.0. the system's a non OC dual SMP (BP6) but it happened on the old hardware (P5-100 w 64 MB) as well. are there any things I could do to truble shoot this further in order to use the esp again ? -- Grobbebol's Home | Don't give in to spammers. -o) http://www.xs4all.nl/~bengel | Use your real e-mail address /\ Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: esp causing crashes.. 2001-01-29 17:57 esp causing crashes Roeland Th. Jansen @ 2001-02-01 21:38 ` Mark Orr 2001-02-01 23:18 ` Roeland Th. Jansen 0 siblings, 1 reply; 5+ messages in thread From: Mark Orr @ 2001-02-01 21:38 UTC (permalink / raw) To: Roeland Th. Jansen; +Cc: miquels, arobinso, linux-kernel On 29-Jan-2001 Roeland Th. Jansen wrote: > [mike -- included you for refs only] > > recently I started to dive into a problem that causes 2.2.x and 2.4.x to > crash at shutdown and when minicom/mgetty is used. e.g. shutdown almost > always crashed the system; if a fax is received, 3 out of 4 faxes ok, > but also crashes system. > > I tried to contact the author of the hayes esp also but he seems to be > pretty busy... > > Initially I thought that killall5, mike's product, somehow caused the > mentioned crash but diving deeper into it I found that killall5 tries to > kill mgetty -- and crashes the system. I tried a source version as well. > same stuff (I use suse 7.0) I dont like to be the sort of person who, when people report problems, fires back "it works fine here!"...but...just as a point of reference, I have a Hayes ESP too -- it's connected to a 56k modem. I havent had any crashes or hangs related to it, but I dont use mgetty. (I use rungetty, a variant of mingetty, for VC's). Seeing this, I will compile up mgetty here to see if I can replicate it. (once in a while, communications becomes non-responsive -- but I suspect that it's just my Zoom modem, which clams up for no apparent reason. The port seems to be doing it's thing.) > the IRQ is 11, not using DMA, IRQ is set to legacy in the BIOS. > it happens with any 2.2.xx version and also happens with 2.4.0. I'm running 2.4.0-ac12 here. ESP is set to 180h, IRQ 3, DMA 3. (I disabled my onboard serial ports). CPU is a classic Pentium. I've been running it w/ rx_timeout=1 (the minimum usable value, since it seems to give lower ping times) Got this ESP off eBay -- in fact, I got it after reading Mr. Jansen's recommendation 2 years ago in the comp.dcom.* groups (probably ISDN), noting how flexible and tweakable the ESP drivers are. FWIW, I was getting mountains of TCP errors before I got this card, and they all disappeared once I installed the ESP. It's an amazing card. -- Mark Orr markorr@intersurf.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: esp causing crashes.. 2001-02-01 21:38 ` Mark Orr @ 2001-02-01 23:18 ` Roeland Th. Jansen 2001-02-02 9:44 ` Mark Orr 0 siblings, 1 reply; 5+ messages in thread From: Roeland Th. Jansen @ 2001-02-01 23:18 UTC (permalink / raw) To: Mark Orr; +Cc: miquels, arobinso, linux-kernel On Thu, Feb 01, 2001 at 03:38:28PM -0600, Mark Orr wrote: > I dont like to be the sort of person who, when people report problems, > fires back "it works fine here!"...but...just as a point of reference, > I have a Hayes ESP too -- it's connected to a 56k modem. I havent > had any crashes or hangs related to it, but I dont use mgetty. (I use > rungetty, a variant of mingetty, for VC's). Seeing this, I will > compile up mgetty here to see if I can replicate it. even without mgetty it fails. the fact hat esp.o is loaded is cause for trouble. minicom using the card, exit - crash. I do not use the DMA channel of the card as it conflicts with the SB16 I have on board. -- Grobbebol's Home | Don't give in to spammers. -o) http://www.xs4all.nl/~bengel | Use your real e-mail address /\ Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: esp causing crashes.. 2001-02-01 23:18 ` Roeland Th. Jansen @ 2001-02-02 9:44 ` Mark Orr 2001-02-02 11:43 ` Roeland Th. Jansen 0 siblings, 1 reply; 5+ messages in thread From: Mark Orr @ 2001-02-02 9:44 UTC (permalink / raw) To: Roeland Th. Jansen; +Cc: linux-kernel, arobinso, miquels On 01-Feb-2001 Roeland Th. Jansen wrote: > On Thu, Feb 01, 2001 at 03:38:28PM -0600, Mark Orr wrote: >> I dont like to be the sort of person who, when people report problems, >> fires back "it works fine here!"...but...just as a point of reference, >> I have a Hayes ESP too -- it's connected to a 56k modem. I havent >> had any crashes or hangs related to it, but I dont use mgetty. (I use >> rungetty, a variant of mingetty, for VC's). Seeing this, I will >> compile up mgetty here to see if I can replicate it. > > > even without mgetty it fails. the fact hat esp.o is loaded is cause for > trouble. minicom using the card, exit - crash. Well that surely shouldnt happen...I use minicom all the time (I still call BBSes), and havent had any crashes. I can quit/disconnect, or quit/stay connected and it works okay. I've even got it set up to use 230000bps, which is the max my Zoom will take. When I was trying to set up the ESP shortly after I'd received it, there was some trial+error to get the address/irq/dma/jumpers set right, and minicom would hang (the program), but I could kill it. It took about an hour to get the settings the way I'd wanted them, and since then... no real problems. > I do not use the DMA channel of the card as it conflicts with the SB16 I > have on board. I also have a SB16 (non-PnP). I use DMA 1 and 5 for the SB16 and 3 for the ESP. I dont know if it's doing anything though...wish there were a way to know how deep into the buffers it ever gets on transfers. DMA threshold on mine is the default value (I believe it's 32 bytes) -- it wouldnt suprise me if it didnt get that deep, keeping the rx_threshold so low. My modules.conf ESP section looks like: # # Hayes ESP module + options # port 180h, irq 3, dma 3, divisor 4 options esp irq=0,0,3,0,0,0,0,0 dma=3 divisor=0,0,0x04,0,0,0,0,0 rx_timeout=1 post-install esp setserial /dev/ttyP16 low_latency alias char-major-57 esp alias chat-major-58 esp Only troubles it's given me lately is that esp.c isnt a devfs-aware driver. I've been experimenting with devfs lately, so I have to do a "mknod /dev/ttyP16 c 57 16" every time I boot, and it still barks out a few meaningless errors (cup: device already registered). I just have the one-port ESP card. -- Mark Orr markorr@intersurf.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: esp causing crashes.. 2001-02-02 9:44 ` Mark Orr @ 2001-02-02 11:43 ` Roeland Th. Jansen 0 siblings, 0 replies; 5+ messages in thread From: Roeland Th. Jansen @ 2001-02-02 11:43 UTC (permalink / raw) To: Mark Orr; +Cc: linux-kernel, arobinso, miquels On Fri, Feb 02, 2001 at 03:44:07AM -0600, Mark Orr wrote: > Well that surely shouldnt happen...I use minicom all the time (I still > call BBSes), and havent had any crashes. I can quit/disconnect, or > quit/stay connected and it works okay. I've even got it set up to > use 230000bps, which is the max my Zoom will take. I'll try the suggestions you sent. regarding the esp -- iI foirgot to mention that it also crashes when I unplug the connection from a router and reconnect to the E2864i. it even sometimes crashes when somebody calls in (e.g. faxes are received) or if I push the front switches that emit data to the esp card. weird. note that I use OSS drivers, not builtin sound. maybe an option to check out too. to me it sounds like corruption in memory that causes the crash. -- Grobbebol's Home | Don't give in to spammers. -o) http://www.xs4all.nl/~bengel | Use your real e-mail address /\ Linux 2.2.16 SMP 2x466MHz / 256 MB | on Usenet. _\_v - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-02-02 11:45 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-01-29 17:57 esp causing crashes Roeland Th. Jansen 2001-02-01 21:38 ` Mark Orr 2001-02-01 23:18 ` Roeland Th. Jansen 2001-02-02 9:44 ` Mark Orr 2001-02-02 11:43 ` Roeland Th. Jansen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®