Date: Sun, 2 Apr 1995 10:35:33 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Subject: sio.c Id 1.81 now even worse :-( Message-ID: <199504020835.KAA00380@uriah.heep.sax.de>
next in thread | raw e-mail | index | archive | help
The problem as reported yesterday ain't fixed. (I gonna re-open the
PR, too.) I'm still getting
Apr 2 10:06:21 uriah slattach[219]: cannot get carrier state: Inappropriate \
ioctl for device
Apr 2 10:06:21 uriah slattach[219]: Waiting for carrier on /dev/cuaa1 (sl-1)
If i continue to ifconfig/route add default by hand (worked with sio.c
two or three revisions before), and try the first ping across the
interface, i get a panic now:
> gdb -k kernel /var/crash/vmcore.9
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.13 (i386-unknown-freebsd),
Copyright 1994 Free Software Foundation, Inc...
IdlePTD 1f1000
current pcb at 1c5ba8
panic: b_to_q to a clist with no reserved cblocks
#0 boot (arghowto=260) at ../../i386/i386/machdep.c:807
807 dumppcb.pcb_ptd = rcr3();
(kgdb) where
#0 boot (arghowto=260) at ../../i386/i386/machdep.c:807
#1 0xf0113945 in panic ()
#2 0xf010174d in db_panic ()
#3 0xf0101636 in db_command ()
#4 0xf01017b5 in db_command_loop ()
#5 0xf0104108 in db_trap ()
#6 0xf0188136 in kdb_trap ()
#7 0xf01924b4 in trap (frame={tf_es = -266600432, tf_ds = -266600432,
tf_edi = -266579176, tf_esi = -266579176, tf_ebp = -266649836,
tf_isp = -266649864, tf_ebx = 256, tf_edx = -266829007, tf_ecx = 2000,
tf_eax = -1, tf_trapno = 3, tf_err = 0, tf_eip = -266828970,
tf_cs = -266665976, tf_eflags = 582, tf_esp = -266829023,
tf_ss = -267306757}) at ../../i386/i386/trap.c:346
#8 0xf01889d1 in calltrap ()
#9 0xf011393f in panic ()
#10 0xf011c5c4 in b_to_q (src=0xf060912c "ÀE", amount=14, clistp=0xf01c5318)
at ../../kern/tty_subr.c:400
#11 0xf01ae6d0 in siopoll () at ../../i386/isa/sio.c:1571
#12 0xf01aecdb in comwakeup (chan=0x0) at ../../i386/isa/sio.c:1905
#13 0xf0108640 in softclock ()
#14 0xf0189d27 in doreti_swi ()
#15 0xf0191dac in cpu_switch ()
(kgdb) up 10
#10 0xf011c5c4 in b_to_q (src=0xf060912c "ÀE", amount=14, clistp=0xf01c5318)
at ../../kern/tty_subr.c:400
400 panic("b_to_q to a clist with no reserved cblocks");
(kgdb) list
395 * If there are no cblocks assigned to this clist yet,
396 * then get one.
397 */
398 if (clistp->c_cl == NULL) {
399 if (clistp->c_cbreserved < 1)
400 panic("b_to_q to a clist with no reserved cblocks");
401 cblockp = cblock_alloc();
402 clistp->c_cbcount = 1;
403 clistp->c_cf = clistp->c_cl = cblockp->c_info;
404 clistp->c_cc = 0;
(kgdb) up
#11 0xf01ae6d0 in siopoll () at ../../i386/isa/sio.c:1571
1571 com->delta_error_counts[CE_TTY_BUF_OVERFLOW]
(kgdb) list
1566 if ( (tp->t_state & TS_CAN_BYPASS_L_RINT)
1567 && !(tp->t_state & TS_LOCAL)) {
1568 tk_nin += incc;
1569 tk_rawcc += incc;
1570 tp->t_rawcc += incc;
1571 com->delta_error_counts[CE_TTY_BUF_OVERFLOW]
1572 += b_to_q((char *)buf, incc, &tp->t_rawq);
1573 ttwakeup(tp);
1574 if (tp->t_state & TS_TTSTOP
1575 && (tp->t_iflag & IXANY
(kgdb) quit
> ident ../../i386/isa/sio.c
../../i386/isa/sio.c:
$Id: sio.c,v 1.81 1995/04/01 12:01:13 ache Exp $
Is anyone interested in the core dump?
I'm resorting to an older kernel now until it's fixed (i really need
SLIP).
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504020835.KAA00380>
