Subject: Re: panic: softdep_deallocate_dependencies: dangling deps
To: Mike Cheponis <mac@Wireless.Com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 02/26/2001 21:30:50
On Sun, Feb 25, 2001 at 11:09:36PM -0800, Mike Cheponis wrote:
> Help! I'm running 1.5 on K6-2/400 256MB 45G IDE disk w/softdeps on.
> 
> I had created a file a little larger than 2^32 bytes and was copying it
> various ways: cp, cat, and finally trying to use "dd" - that's when the
> panic happened.  
> 
> 
> $ cat 4GB >4g2
> 
> $ ls -l 4*
> 7148403 -rw-r--r--  1 mac  wheel  4,452,539,200 Feb 25 20:56 4GB
> 7148404 -rw-r--r--  1 mac  wheel  4,452,539,200 Feb 25 21:53 4g2
> 
> $ df
> Filesystem  1024-blocks     Used    Avail Capacity  Mounted on
> /dev/wd0a        274487    50831   209931    19%    /
> /dev/wd0e      41742980 23905920 15749911    60%    /usr
> mfs:105          120887        3   114839     0%    /tmp
> kernfs                1        1        0   100%    /kern
> 
> $ dd if=4GB of=4g3
> 
> This is where it crashed.  At the time, here is what "top" was displaying
> in another window:
> 
> 
> load averages:  2.16,  2.23,  2.14                                     22:14:33
> 47 processes:  2 runnable, 40 sleeping, 4 stopped, 1 on processor
> CPU states:  4.0% user, 60.4% nice, 31.7% system,  3.0% interrupt,  1.0% idle
> Memory: 82M Act, 2788K Inact, 376K Wired, 140M Free, 513M Swap free
> 
>   PID USERNAME PRI NICE   SIZE   RES STATE     TIME   WCPU    CPU COMMAND
>  1216 mac      104   20    17M   16M run     127.7H 56.35% 56.35% setiathome
> 29504 mac       -5    0    72K   72K sleep     8:07 34.28% 34.28% dd
>   276 root       4  -20    37M   37M sleep    20.6H  5.96%  5.96% ntop
>   259 root     -12  -20   212K  668K onproc   11:37  0.00%  0.00% top
>  4824 root       2    0   268K 1084K run       0:13  0.00%  0.00% sshd
> 
> The Kernel Debugger says:
> 
> panic: softdep_deallocate_dependencies: dangling deps
> Stopped in dd at cpu_debugger+0x4    leave

Hum I know there are some issues with softdeps in 1.5. Maybe fixed in
1.5.1_ALPHA
Could you check it's reproductible on your machine, and then try a newer
kernel ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--