Skip to contentSkip to conversation

bug (isdn-subsystem?) in 2.4.0

DISCUSSION Ronny Buchmann 2 participants 3 messages Jan 15, 2001 – Jan 16, 2001

lore
Share & tools
lore
#0 lore raw

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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 5 lines · Ronny Buchmann

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?

Quoted 4 lines

......

(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

drivers/isdn/isdn_v110.c renamed from drivers/isdn/isdn_v110.c% +2 -2
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 5 lines · Kai Germaschewski
Quoted 2 lines · Ronny Buchmann

i have the following problem with kernel 2.4.0 (also with -ac6):

Quoted 7 lines
Quoted 3 lines

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?)

Quoted 8 lines
Quoted 2 lines

(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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/