3.1 box dies with 'scp -r'
I have an OpenBSD 3.1 box in my office at work that I use for
internal/development type stuff (alright, it's a samba server for my
mp3s). It had been pretty much unpatched.
I was trying to copy a couple directories worth of files to it from my
NT 4.0 box using 'scp -r', and the OpenBSD box died:
kernel: integer divide fault trap, code=0
Stopped at _ffs_inode_alloc+0x389: idivl 0xffffffcc(%ebp),%eax
I tried with both putty's scp and the OpenSSH for Windows version of
scp with the same result. If I don't use the '-r' switch, it works
fine.
I figured since the box was mostly unpatched, that I'd try that. I
applied all the patches from the OpenBSD errata, and downloaded and
installed OpenSSH 3.5 -- still having the same problem.
ddb> trace
_ffs_inode_alloc(fb68fd68,100002,fb75fcc8,e01e55c7,fb6905cc)
at _ffs_inode_alloc+0x389
_ffs_inode_alloc(fb68fd68,41ed,fb4b8280,fb75fcf4,fb6905cc)
at _ffs_inode_alloc+0x48
_ufs_mkdir(fb75fe44,fb6be9a8,fb6f5c88,fb75fed8) at
_ufs_mkdir+0x9f
_VOP_MKDIR(fb6906cc,fb75fea0,fb75feb4,fb75fed8,fb6fe9a8) at
VOP_MKDIR+0x3b
_sys_mkdir(fb6fe9a8,fb75ff80,e02f2eb7,0) at _sys_mkdir+0x101
_syscall() at _syscall+0x242
--- syscall (number 136) ---
0x400830cb:
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
8931 11148 8931 1001 2 0x4004 scp
11148 30682 30682 1001 3 0x184 select sshd
30682 31911 30682 0 3 0x184 netio sshd
23569 24227 24227 0 3 0x185 select smbd
18584 12734 18584 1001 3 0x4086 ttyin bash
12734 27802 27802 1001 3 0x184 select sshd
27802 31911 27802 0 3 0x84 netio sshd
27158 1 27158 0 3 0x4086 ttyin getty
17531 1 17531 0 3 0x4086 ttyin getty
946 1 946 0 3 0x4086 ttyin getty
23528 1 23528 0 3 0x4086 ttyin getty
7411 1 7411 0 3 0x4086 ttyin getty
14703 1 14703 0 3 0x84 nanosleep cron
31488 15099 15099 0 3 0x85 piperd nmbd
15099 1 15099 0 3 0x85 select nmbd
24227 1 24227 0 3 0x85 select smbd
14047 1 14047 0 3 0x40184 select sendmail
31911 1 31911 0 3 0x84 select sshd
19913 1 19913 0 3 0x184 select inetd
19187 1 19187 0 3 0x84 select portmap
11175 1 11175 0 3 0x84 select syslogd
9 0 0 0 3 0x100204 usbevt usb0
8 0 0 0 3 0x100204 apmev apm0
7 0 0 0 3 0x100204 crypto_wa crypto
6 0 0 0 3 0x100204 aiodoned aiodoned
5 0 0 0 3 0x100204 syncer update
4 0 0 0 3 0x100204 cleaner cleaner
3 0 0 0 3 0x100204 reaper reaper
2 0 0 0 3 0x100204 pgdaemon pagedaemon
1 0 1 0 3 0x4084 wait init
0 -1 0 0 3 0x80204 scheduler swapper
--
John W. Eisenschmidt (jweisen@eisenschmidt.org)
http://www.eisenschmidt.org/jweisen/pgp.html
"As an adolescent I aspired to lasting fame, I craved factual certainty,
and I thirsted for a meaningful vision of human life -- so I became a
scientist. This is like becoming an archbishop so you can meet girls."
-Matt Cartmill
[demime 0.98d removed an attachment of type application/pgp-signature]
Received on Sun Dec 8 03:21:00 2002
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 13:48:27 EDT
|