kern/94890 : [smbfs] Fatal trap 18: integer divide fault while
in kernel mode
Alexey Sopov
suntechnic at gmail.com
Fri Mar 24 15:30:18 UTC 2006
The following reply was made to PR kern/94890; it has been noted by GNATS.
From: "Alexey Sopov" <suntechnic at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/94890 : [smbfs] Fatal trap 18: integer divide fault while in kernel mode
Date: Fri, 24 Mar 2006 18:21:27 +0300
------=_Part_4272_6023070.1143213687518
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Actually I found this is not a samba/smbfs specific problem:
database# mkdir /video1/KBH
database# sync
database# mkdir /video1/KBH/Test
after this the system panics.
Here is some more information:
database# fdisk /dev/ad4
******* Working on device /dev/ad4 *******
parameters extracted from in-core disklabel are:
cylinders=3D319120 heads=3D16 sectors/track=3D63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3D319120 heads=3D16 sectors/track=3D63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 0, size 321672960 (157066 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 1;
end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
database# disklabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 262144 0 4.2BSD 2048 16384 16392
b: 1048576 262144 swap
c: 321672960 0 unused 0 0 # "raw" part, don'=
t
edit
d: 262144 1310720 4.2BSD 2048 16384 16392
e: 262144 1572864 4.2BSD 2048 16384 16392
f: 16777216 1835008 4.2BSD 2048 16384 28528
g: 303060736 18612224 4.2BSD 8192 65536 52360
database# tunefs -p /video1
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e) 8192
tunefs: average file size: (-f) 734003200
tunefs: average number of files in a directory: (-s) 64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o) time
Setting average file size to default solved the problem!!!
database# tunefs -p /video1
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e) 8192
tunefs: average file size: (-f) 16384
tunefs: average number of files in a directory: (-s) 64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o) time
tunefs: volume label: (-L)
------=_Part_4272_6023070.1143213687518
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Actually I found this is not a samba/smbfs specific problem:<br><br>databas=
e# mkdir /video1/KBH<br>database# sync<br>database# mkdir /video1/KBH/Test<=
br><br>after this the system panics.<br><br>Here is some more information:
<br><br>database# fdisk /dev/ad4<br>******* Working on device /dev/ad4 ****=
***<br>parameters extracted from in-core disklabel are:<br>cylinders=3D3191=
20 heads=3D16 sectors/track=3D63 (1008 blks/cyl)<br><br>Figures below won't=
work with BIOS for partitions not in cyl 1
<br>parameters to be used for BIOS calculations are:<br>cylinders=3D319120 =
heads=3D16 sectors/track=3D63 (1008 blks/cyl)<br><br>Media sector size is 5=
12<br>Warning: BIOS sector numbering starts with sector 1<br>Information fr=
om DOS bootblock is:
<br>The data for partition 1 is:<br>sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD=
)<br> start 0, size 321672960 (157066 Meg), flag 80 (acti=
ve)<br> beg: cyl 0/ head 0/ secto=
r 1;<br> end: cyl 1023/ head 15/ =
sector 63
<br>The data for partition 2 is:<br><UNUSED><br>The data for partitio=
n 3 is:<br><UNUSED><br>The data for partition 4 is:<br><UNUSED>=
<br><br>database# disklabel /dev/ad4s1<br># /dev/ad4s1:<br>8 partitions:
<br># size offset&nbs=
p; fstype [fsize bsize bps/cpg]<br> a: &=
nbsp; 262144 0 =
4.2BSD 2048 16384 16392<br> b: 1048576&=
nbsp; 262144 swap<br> c: 32167296=
0 0 unused =
; 0 0 &nbs=
p; # "raw" part, don't edit
<br> d: 262144 1310720 4.2BSD&nbs=
p; 2048 16384 16392<br> e: 262144 =
1572864 4.2BSD 2048 16384 16392<=
br> f: 16777216 1835008 4.2BSD &nb=
sp; 2048 16384 28528<br> g: 303060736 18612224  =
; 4.2BSD 8192 65536 52360
<br><br>database# tunefs -p /video1<br>tunefs: ACLs: (-a) =
&nb=
sp; =
di=
sabled<br>tunefs: MAC multilabel: (-l) &=
nbsp; &nbs=
p; disabl=
ed<br>tunefs: soft updates: (-n) &=
nbsp; &nbs=
p; =
enabled
<br>tunefs: maximum blocks per file in a cylinder group: (-e) 8192<br=
>tunefs: average file size: (-f) &=
nbsp; &nbs=
p; 734003200<br>tunefs: average n=
umber of files in a directory: (-s) 64<=
br>tunefs: minimum percentage of free space: (-m) &n=
bsp; 8%
<br>tunefs: optimization preference: (-o) &nbs=
p; &=
nbsp; time<br><br>Setting average file size to default solved t=
he problem!!!<br>database# tunefs -p /video1<br>tunefs: ACLs: (-a) &nb=
sp; =
&nb=
sp; =
disabled
<br>tunefs: MAC multilabel: (-l) &=
nbsp; &nbs=
p; disabled<br>=
tunefs: soft updates: (-n) &=
nbsp; &nbs=
p; enable=
d<br>tunefs: maximum blocks per file in a cylinder group: (-e) 8192<b=
r>tunefs: average file size: (-f) =
&nb=
sp; 16384
<br>tunefs: average number of files in a directory: (-s) &=
nbsp; 64<br>tunefs: minimum percentage of free space: (-m) =
; 8%<br>t=
unefs: optimization preference: (-o) &nb=
sp; =
time<br>tunefs: volume label: (-L)
<br><br>
------=_Part_4272_6023070.1143213687518--
More information about the freebsd-bugs
mailing list