Bug 1406 - mount an reiserfs-3.5 crashed
: mount an reiserfs-3.5 crashed
Status: CLOSED WORKSFORME
: Sisyphus
(All bugs in Sisyphus/kernel24-up)
: unstable
: all Linux
: P5 critical
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2002-10-15 22:23 by
Modified: 2003-08-25 15:18 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2002-10-15 22:23:26
After a sequence of mkfs.*, mounts and umounts, finally mount crashed on a
newly created reiserfs-3.5 (Segmentation fault).

Here is a part of /var/log/messages:

Oct 15 21:33:16 arrakis rpm: xfsprogs-0:2.0.1-alt0.1cvs installed 
Oct 15 21:34:55 arrakis kernel: SGI XFS with ACLs, DMAPI, realtime, quota, no
debug enabled
Oct 15 21:34:55 arrakis kernel: XFS mounting filesystem sd(8,28)
Oct 15 21:38:26 arrakis rpm: jfsprogs-0:1.0.16-alt1 installed 
Oct 15 21:39:12 arrakis kernel: FAT: bogus logical sector size 0
Oct 15 21:39:12 arrakis kernel: VFS: Can\'t find a valid FAT filesystem on dev
08:1c.
Oct 15 21:39:28 arrakis kernel: JFS development version: $Name: v1_0_20 $
Oct 15 21:41:18 arrakis rpm: mount-0:2.11r-alt5 installed 
Oct 15 21:41:52 arrakis rpm: mount-0:2.11h-alt2 removed 
Oct 15 21:47:19 arrakis kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000114
Oct 15 21:47:19 arrakis kernel:  printing eip:
Oct 15 21:47:19 arrakis kernel: 82e09990
Oct 15 21:47:19 arrakis kernel: *pde = 00000000
Oct 15 21:47:19 arrakis kernel: Oops: 0000 2.4.19-alt0.2-up #1 Mon Aug 19
17:26:07 MSD 2002
Oct 15 21:47:19 arrakis kernel: CPU:    0
Oct 15 21:47:19 arrakis kernel: EIP:   
0010:[reiserfs:journal_begin_R2gig_22aa5f4d+-151078484/872]    Not tainted
Oct 15 21:47:19 arrakis kernel: EIP:    0010:[<82e09990>]    Not tainted
Oct 15 21:47:19 arrakis kernel: EFLAGS: 00010292
Oct 15 21:47:19 arrakis kernel: eax: 00000000   ebx: 00000001   ecx: 00000000  
edx: ffff0000
Oct 15 21:47:19 arrakis kernel: esi: 862e7640   edi: 82e1d960   ebp: 00000000  
esp: 83ca3d38
Oct 15 21:47:19 arrakis kernel: ds: 0018   es: 0018   ss: 0018
Oct 15 21:47:19 arrakis kernel: Process mount (pid: 12158, stackpage=83ca3000)
Oct 15 21:47:19 arrakis kernel: Stack: 86a61860 810d31a0 80139655 00000001
86a61860 84cc3000 00000000 00000000 
Oct 15 21:47:19 arrakis kernel:        86a61860 810d31a0 86a61860 00000000
80137c6d 810d31a0 00000000 810d31a0 
Oct 15 21:47:19 arrakis kernel:        00000203 862e76e8 80127ae9 8021fa6c
8102c01c 8021faa4 00000203 ffffffff 
Oct 15 21:47:19 arrakis kernel: Call Trace:    [try_to_free_buffers+181/264]
[discard_bh_page+93/116] [__remove_inode_page+149/156]
[reiserfs:journal_begin_R2gig_22aa5f4d+-150996612/872]
[reiserfs:journal_begin_R2gig_22aa5f4d+-151114718/872]
Oct 15 21:47:19 arrakis kernel: Call Trace:    [<80139655>]
[<80137c6d>] [<80127ae9>] [<82e1d960>] [<82e00c06>]
Oct 15 21:47:19 arrakis kernel:  
[reiserfs:journal_begin_R2gig_22aa5f4d+-151114788/872] [iput+247/472]
[truncate_inode_pages+87/100]
[reiserfs:journal_begin_R2gig_22aa5f4d+-151079800/872]
[reiserfs:journal_begin_R2gig_22aa5f4d+-151104557/872]
[reiserfs:journal_begin_R2gig_22aa5f4d+-150996536/872]
Oct 15 21:47:19 arrakis kernel:   [<82e00bc0>] [<80148ccb>]
[<80127e17>] [<82e0946c>] [<82e033b7>] [<82e1d9ac>]
Oct 15 21:47:19 arrakis kernel:  
[reiserfs:journal_begin_R2gig_22aa5f4d+-151116495/872] [get_sb_bdev+534/648]
[reiserfs:journal_begin_R2gig_22aa5f4d+-150996536/872] [do_kern_mount+88/264]
[reiserfs:journal_begin_R2gig_22aa5f4d+-150996536/872] [real_lookup+79/180]
Oct 15 21:47:19 arrakis kernel:   [<82e00515>] [<8013aaa6>]
[<82e1d9ac>] [<8013ac70>] [<82e1d9ac>] [<8013e99b>]
Oct 15 21:47:19 arrakis kernel:   [do_add_mount+113/584] [do_page_fault+0/1356]
[do_mount+335/364] [copy_mount_options+75/156] [sys_mount+124/184]
[system_call+51/64]
Oct 15 21:47:19 arrakis kernel:   [<8014ae75>] [<80114948>]
[<8014b237>] [<8014b097>] [<8014b5cc>] [<80108733>]
Oct 15 21:47:19 arrakis kernel: Modules:
[(jfs:<82e00060>:<82e1e3c4>)]
Oct 15 21:47:19 arrakis kernel: Code: 8b 80 14 01 00 00 8b a8 a0 01 00 00 c7 44
24 34 00 00 00 00 

---
Here is the command sequence that lead to the crash :

parted /dev/sdb (creating /dev/sdb12: 1Gb)
mkfs.ext3 /dev/sdb12
mount /dev/sdb12 /mnt/disk
mount
cp -a /var/mail/ivan /mnt/disk/ivan
umount /mnt/disk
mkfs.vfat /dev/sdb12
mount /dev/sdb12 /mnt/disk; mount
cp -a /var/mail/ivan /mnt/disk/ivan
umount /mnt/disk
mount /dev/sdb12 /mnt/disk -o umask=000; mount
umount /mnt/disk
mkfs.xfs /dev/sdb12
mkfs.xfs -f /dev/sdb12
mount /dev/sdb12 /mnt/disk; mount
cp -a /var/mail/ivan /mnt/disk/ivan
umount /mnt/disk
mkfs.jfs /dev/sdb12
mount /dev/sdb12 /mnt/disk; mount
mount /dev/sdb12 /mnt/disk -t jfs; mount
cp -a /var/mail/ivan /mnt/disk/ivan
umount /mnt/disk
mount /dev/sdb12 /mnt/disk; mount
umount /mnt/disk
mkreiserfs-3.5.x /dev/sdb12
mount /dev/sdb12 /mnt/disk; mount

THE CRASH

mount /dev/sdb12 /mnt/disk -t reiserfs; mount

reports it is already mounted or busy

umount /mnt/disk
umount /dev/sdb12

reports they are not mounted

mount /dev/sdb12 /mnt/disk -t reiserfs; mount

already mounted or busy

mount /dev/sdb12 /mnt/disk; mount

hangs

---
kernel24-up-2.4.19-alt0.2

# lsmod
Module                  Size  Used by    Not tainted
jfs                   123844   3  (autoclean)
xfs                   466404   0  (autoclean)
xfs_dmapi              29856   0  (autoclean) [xfs]
xfs_support             7794   0  (autoclean) [xfs xfs_dmapi]
nls_koi8-r              3804   0  (autoclean)
nls_cp437               4316   0  (autoclean)
vfat                    9460   0  (autoclean)
fat                    29656   0  (autoclean) [vfat]
ext3                   72232   0  (autoclean)
jbd                    36608   0  (autoclean) [ext3]
ppp_deflate            40064   0  (autoclean)
bsd_comp                3960   0  (autoclean)
ppp_async               6240   0  (autoclean)
ppp_generic            19224   0  (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc                    4736   0  (autoclean) [ppp_generic]
serial                 54724   0  (autoclean)
isa-pnp                27520   0  (autoclean) [serial]
parport_pc             24840   1  (autoclean)
lp                      6208   0  (autoclean)
parport                22944   1  (autoclean) [parport_pc lp]
autofs4                 8060   1  (autoclean)
ne2k-pci                4960   1  (autoclean)
8390                    6240   0  (autoclean) [ne2k-pci]
dummy1                  1064   0  (autoclean) (unused)
dummy0                  1064   1  (autoclean)
ipt_REJECT              2904   1  (autoclean)
ipt_LOG                 3480   2  (autoclean)
ipt_multiport            792   3  (autoclean)
iptable_filter          1732   1  (autoclean)
ip_tables              10936   4  [ipt_REJECT ipt_LOG ipt_multiport
iptable_filter]
ext2                   43112   1  (autoclean)
mbcache                 3248   2  (autoclean) [ext3 ext2]
agpgart                31648   0  (unused)
eeprom                  3312   0  (unused)
w83781d                18424   0  (unused)
i2c-proc                6160   0  [eeprom w83781d]
i2c-matroxfb            2996   0  (unused)
i2c-algo-bit            7208   3  [i2c-matroxfb]
i2c-isa                 1128   0  (unused)
i2c-piix4               3820   0  (unused)
i2c-core               15076   0  [eeprom w83781d i2c-proc i2c-algo-bit i2c-isa
i2c-piix4]
matroxfb_base          17892  63  [i2c-matroxfb]
matroxfb_DAC1064        7672   0  [matroxfb_base]
g450_pll                3600   0  [matroxfb_DAC1064]
matroxfb_Ti3026         4948   0  [matroxfb_base]
matroxfb_accel          9352   0  [matroxfb_base matroxfb_DAC1064
matroxfb_Ti3026]
fbcon-cfb4              2216   0  [matroxfb_accel]
fbcon-cfb32             3784   0  [matroxfb_accel]
fbcon-cfb8              3464   0  [matroxfb_accel]
matroxfb_misc           8112   0  [i2c-matroxfb matroxfb_base matroxfb_DAC1064
g450_pll matroxfb_Ti3026 matroxfb_accel]
rtc                     6008   0  (autoclean)
reiserfs              171200   6 
aic7xxx               115992  16 
sd_mod                 11700  32 
scsi_mod               91108   2  [aic7xxx sd_mod]
------- Comment #1 From 2002-10-16 00:26:28 -------
The system shutdown after the described session was hanging on the first
umount.
------- Comment #2 From 2002-10-16 00:26:28 -------
The system shutdown after the described session was hanging on the first
umount.
------- Comment #3 From 2002-12-27 18:07:31 -------
Please check it on kernel-2.4.20-alt0.8. I cannot reproduse it on latest
kernels.
------- Comment #4 From 2002-12-27 18:07:31 -------
Please check it on kernel-2.4.20-alt0.8. I cannot reproduse it on latest
kernels.