* bug (isdn-subsystem?) in 2.4.0
@ 2001-01-15 18:51 Ronny Buchmann
2001-01-15 22:13 ` Kai Germaschewski
0 siblings, 1 reply; 3+ messages in thread
From: Ronny Buchmann @ 2001-01-15 18:51 UTC (permalink / raw)
To: linux-kernel
hi
i have the following problem with kernel 2.4.0 (also with -ac6):
when trying to connect two isdn channels (/dev/ttyI0 and /dev/ttyI1)
both initialized with "AT &E123 &L123 &R9600 S19=0 S0=1"
i get after "ATDT 123" (123 stands for my number)
kernel BUG at slab.c:1095!
invalid operand: 0000
CPU: 0
......
(if you need the other numbers or anything else, ask me, i can reproduce
it easily)
syslog shows (with isdnctrl verbose 3):
isdn_net: call from 0987123,7,0 -> 123
isdn_net: call from 0987123 -> 0 123, ignored
isdn_tty: call from 0987123, -> RING on ttyI1
than the crash
(987 stands for the area code)
my system:
redhat 7.0 (kernel compiled with gcc-2.96, egcs-1.1.2 and gcc-2.95.1
same result with each of them)
isdn-card: avm fritzcard pnp
btw, it is working with 2.2.17 and the avm driver on suse 6.4
tia
ronny
ps: im not on linux-kernel, so please cc to me
-
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] 3+ messages in thread
* Re: bug (isdn-subsystem?) in 2.4.0
2001-01-15 18:51 bug (isdn-subsystem?) in 2.4.0 Ronny Buchmann
@ 2001-01-15 22:13 ` Kai Germaschewski
2001-01-16 19:49 ` Ronny Buchmann
0 siblings, 1 reply; 3+ messages in thread
From: Kai Germaschewski @ 2001-01-15 22:13 UTC (permalink / raw)
To: Ronny Buchmann; +Cc: linux-kernel, Linus Torvalds, Alan Cox
On Mon, 15 Jan 2001, Ronny Buchmann wrote:
> i have the following problem with kernel 2.4.0 (also with -ac6):
>
> kernel BUG at slab.c:1095!
> invalid operand: 0000
> CPU: 0
I could reproduce the problem, the appended patch fixes it here. Linus,
could you please apply this for 2.4.1?
> ......
>
> (if you need the other numbers or anything else, ask me, i can reproduce
> it easily)
A decoded oops would be nice the next time, see
<your linux kernel source>/REPORTING-BUGS
However, you gave enough information for me to reproduce the problem, so
it's fine this time.
Thanks,
--Kai
--- linux-2.4.1-pre2/drivers/isdn/isdn_v110.c% Sun Aug 6 21:43:42 2000
+++ linux-2.4.1-pre2/drivers/isdn/isdn_v110.c Mon Jan 15 22:31:43 2001
@@ -102,7 +102,7 @@
int i;
isdn_v110_stream *v;
- if ((v = kmalloc(sizeof(isdn_v110_stream), GFP_KERNEL)) == NULL)
+ if ((v = kmalloc(sizeof(isdn_v110_stream), GFP_ATOMIC)) == NULL)
return NULL;
memset(v, 0, sizeof(isdn_v110_stream));
v->key = key;
@@ -134,7 +134,7 @@
v->b = 0;
v->skbres = hdrlen;
v->maxsize = maxsize - hdrlen;
- if ((v->encodebuf = kmalloc(maxsize, GFP_KERNEL)) == NULL) {
+ if ((v->encodebuf = kmalloc(maxsize, GFP_ATOMIC)) == NULL) {
kfree(v);
return NULL;
}
-
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] 3+ messages in thread
* Re: bug (isdn-subsystem?) in 2.4.0
2001-01-15 22:13 ` Kai Germaschewski
@ 2001-01-16 19:49 ` Ronny Buchmann
0 siblings, 0 replies; 3+ messages in thread
From: Ronny Buchmann @ 2001-01-16 19:49 UTC (permalink / raw)
To: Kai Germaschewski; +Cc: linux-kernel
Kai Germaschewski wrote:
> On Mon, 15 Jan 2001, Ronny Buchmann wrote:
>
>
>> i have the following problem with kernel 2.4.0 (also with -ac6):
>>
>> kernel BUG at slab.c:1095!
>> invalid operand: 0000
>> CPU: 0
>
>
> I could reproduce the problem, the appended patch fixes it here. Linus,
> could you please apply this for 2.4.1?
but a part of the problem remains: i can't get a succesful connection
the calling side gets a CONNECT message, but on the called side i only
get the RING
and after some seconds on both lines NO CARRIER
syslog only shows the RING and no connect
the same when i'm calling from gsm phone
btw, when calling from mobile phone i have to leave S19=197 (with 2.2.17
S19=0 is working as described in the isdn faq, has this changed now?)
>> (if you need the other numbers or anything else, ask me, i can reproduce
>> it easily)
>
>
> A decoded oops would be nice the next time, see
>
> <your linux kernel source>/REPORTING-BUGS
>
sorry, my fault
tia
ronny
-
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] 3+ messages in thread
end of thread, other threads:[~2001-01-16 20:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-15 18:51 bug (isdn-subsystem?) in 2.4.0 Ronny Buchmann
2001-01-15 22:13 ` Kai Germaschewski
2001-01-16 19:49 ` Ronny Buchmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox