Tuomo Latto wrote:
> Tuomo Latto wrote:
>> I suspect I might be hitting the 64K transfer issue
>> (hard hang, no other hints whatsoever) with jailed, nullfs
>> mounted bitflu when running (unmodified) 6.x from 2.5" drive
>> (57231MB <HTS548060M9AT00 MGBOA53A> at ata0-master UDMA33).
[...]
> Overheating? Possible, but the box isn't *that* hot to touch.
> It's merely warm.
Ok, it looks as if the drive disappearing on boot might have been
caused by overheating.
Pretty much guessing, though. It did seem a bit hot running phk's
env4801 (immediately after). The drive also felt fairly hot when
touching it with the box open.
I added BREAK_TO_DEBUGGER to kernel options.
>From the message shown when breaking to debugger I could also
see that it also was hitting the DMA transfer issue at times.
I had to work around that by setting hw.ata.ata_dma to 0.
Shame really, because the box does not have that many cycles
to begin with...
Anyone interested on reproducing the issue should simply try
running buildworld or maybe compiling full xorg.
Or doing other heavy disk I/O.
Compiling a kernel might not be enough.
(After determining those causes I had to change HD due
to semi-related clumsiness. I went for HTE721010G9AT00, since
the purpose would be to run the box 24/7.
HD hasn't disappeared yet.)
Anyway, now it seems that I have hit another issue, one that
would seem to be the main reason for my woes.
It looks like if I shut down the computer I've connected to
the other end of the serial cable, the 4801 box drops
to debugger. That pretty much defeats the purpose of having
the box in the first place.
Restarting the computer and entering continue on the debugger
allows a more or less graceful recovery.
Any ideas?
Here's a backtrace. And that's pretty much all I know about
kernel debugging..
--- clip -->
(kgdb) backtrace
#0 doadump () at pcpu.h:165
#1 0xc04ee2c3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2 0xc04ee5a9 in panic (fmt=0xc069e2dd "from debugger")
at /usr/src/sys/kern/kern_shutdown.c:565
#3 0xc044463d in db_panic (addr=-1068463893, have_addr=0, count=-1,
modif=0xccd78758 "") at /usr/src/sys/ddb/db_command.c:438
#4 0xc04445d2 in db_command (last_cmdp=0xc06fcea4, cmd_table=0x0,
aux_cmd_tablep=0xc06c520c, aux_cmd_tablep_end=0xc06c5210)
at /usr/src/sys/ddb/db_command.c:350
#5 0xc044469e in db_command_loop () at /usr/src/sys/ddb/db_command.c:458
#6 0xc0446468 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:222
#7 0xc0508ba9 in kdb_trap (type=3, code=0, tf=0xccd78898)
at /usr/src/sys/kern/subr_kdb.c:473
#8 0xc0680a03 in trap (frame=
{tf_fs = -858324984, tf_es = -1068498904, tf_ds = -1066794968, tf_edi =
249, tf_esi = -1046123520, tf_ebp = -858289960, tf_isp = -858289980, tf_ebx =
-1045136000, tf_edx = 0, tf_ecx = -1065115648, tf_eax = 34, tf_trapno = 3,
tf_err = 0, tf_eip = -1068463893, tf_cs = -1066794976, tf_eflags = 134, tf_esp
= -858289932, tf_ss = -1067099848}) at /usr/src/sys/i386/i386/trap.c:594
#9 0xc066c97a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#10 0xc05088eb in kdb_enter (msg=0x22 <Address 0x22 out of bounds>)
at cpufunc.h:60
#11 0xc0655938 in siointr1 (com=0xc1a56c00) at /usr/src/sys/dev/sio/sio.c:1522
---Type <return> to continue, or q <return> to quit---
#12 0xc06556fc in siointr (arg=0xc1a56c00) at /usr/src/sys/dev/sio/sio.c:1391
#13 0xc0670c95 in intr_execute_handlers (isrc=0xc06fa390, iframe=0xccd7894c)
at /usr/src/sys/i386/i386/intr_machdep.c:270
#14 0xc0683adf in atpic_handle_intr (iframe=
{if_vec = 4, if_fs = -1068564472, if_es = -1045168088, if_ds = 40,
if_edi = -1066380288, if_esi = -1042969456, if_ebp = -858289772, if_ebx =
-1045136000, if_edx = 1, if_ecx = -1046816384, if_eax = 582, if_eip =
-1066964649, if_cs = -858324960, if_eflags = 582, if_esp = -1046053872, if_ss
= -858289744})
at /usr/src/sys/i386/isa/atpic.c:590
#15 0xc066cad0 in Xatpic_intr4 () at atpic_vector.s:74
#16 0xc0676957 in spinlock_exit () at cpufunc.h:365
#17 0xc050ea4c in sleepq_catch_signals (wchan=0xc1a67c10)
at /usr/src/sys/kern/subr_sleepqueue.c:391
#18 0xc050eeae in sleepq_wait_sig (wchan=0xc1a67c10)
at /usr/src/sys/kern/subr_sleepqueue.c:564
#19 0xc04f4e00 in msleep (ident=0xc1a67c10, mtx=0x0, priority=345,
wmesg=0xc06ac74b "ttyin", timo=0) at /usr/src/sys/kern/kern_synch.c:209
#20 0xc0522831 in ttysleep (tp=0xc1a67c00, chan=0xc1a67c10, pri=345,
wmesg=0xc06ac74b "ttyin", timo=0) at /usr/src/sys/kern/tty.c:2786
#21 0xc052106b in ttread (tp=0xc1a67c00, uio=0xccd78cbc, flag=0)
at /usr/src/sys/kern/tty.c:1888
#22 0xc052355f in ttyread (dev=0xc1a46b00, uio=0xccd78cbc, flag=0)
at linedisc.h:100
---Type <return> to continue, or q <return> to quit---
#23 0xc04c0a38 in giant_read (dev=0xc1a46b00, uio=0xccd78cbc, ioflag=0)
at /usr/src/sys/kern/kern_conf.c:318
#24 0xc049bdf2 in devfs_read_f (fp=0xc1d0ce10, uio=0xccd78cbc,
cred=0xc19b0e80, flags=0, td=0xc1b47d80)
at /usr/src/sys/fs/devfs/devfs_vnops.c:871
#25 0xc0513099 in dofileread (td=0xc1b47d80, fd=0, fp=0xc1d0ce10,
auio=0xccd78cbc, offset=Unhandled dwarf expression opcode 0x93
) at file.h:241
#26 0xc0512f26 in kern_readv (td=0xc1b47d80, fd=0, auio=0xccd78cbc)
at /usr/src/sys/kern/sys_generic.c:192
#27 0xc0512e45 in read (td=0xc1b47d80, uap=0xc19ad980)
at /usr/src/sys/kern/sys_generic.c:116
#28 0xc06812db in syscall (frame=
{tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 0, tf_esi = 134542912,
tf_ebp = -1077940696, tf_isp = -858288796, tf_ebx = 0, tf_edx = 0, tf_ecx = 0,
tf_eax = 3, tf_trapno = 22, tf_err = 2, tf_eip = 672489443, tf_cs = 51,
tf_eflags = 582, tf_esp = -1077940740, tf_ss = 59}) at
/usr/src/sys/i386/i386/trap.c:984
#29 0xc066c9cf in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
#30 0x00000033 in ?? ()
(kgdb)
<-- pilc ---
Thanks,
--
Tuomo
... Open mouth, insert foot, echo internationally
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech