[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Null Dereference with the NSLU2 - NFS, XFS, JFS



I got an NSLU2 a few months ago and immediately switched the CPU speed to 266 MHz and switched the software to Debian. My goal for the NSLU2 was for it to be a disk, print, and scan server. To that effect, I connected a 4 port hub, 2 GB usb stick, my 500 GB hard drive, a USB scanner, and a USB printer. Since I have always used XFS on my hard drives (and have never had a problem), I used XFS partitions on this drive. On the stick (which is the boot drive) I used an ext3 partition from the start.

I immediately started getting crashes of the XFS modules while accessing the drive using NFS (as well as maybe local access, but I forget). I updated the kernel to 2.6.22-3 but this did little. Upon doing some research, I found the bugs with xfs_repair and decided to switch to JFS. Although JFS seemed slightly more stable, I still had almost instantaneous crashes while using NFS. At this point I decided to switch to ext3 and this seemed to fix the problem at first.

The primary use of my NSLU2 as a file server is to stream large files for a mythtv frontend. This seemed to work fine (although last night while watching a movie there were a few hiccups). However, today I tried to let amarok build a collection using the music stored on the NSLU2. Within a minute of the start of the collection building the NSLU2 NFS died with a null pointer dereference. I have tried with both NFS3 and NFS4 with similar results. I have appended what was dumped to dmesg below. I have also been having a problem with my clients (running Ubuntu 7.10) not being able to set a wsize/rsize of greather than 8192 - I don't know if this is a client issue or a server issue.

I have had no serious issues with either printing or scanning using the NSLU2.

I'm hoping someone can shed some light on these problems. If anything needs clarification, please let me know.

Thanks,
David


Unable to handle kernel NULL pointer dereference at virtual address 00000120
pgd = c0004000
[00000120] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in: nfs nfsd exportfs lockd nfs_acl sunrpc ipv6 fuse dm_snapshot dm_mirror dm_mod evdev ixp4xx_mac usblp ixp4xx_beeper ixp4xx_qmgr ixp4xx_npe firmware_class ext3 jbd mbcache sd_mod usb_storage scsi_mod ehci_hcd ohci_hcd usbcore
CPU: 0    Not tainted  (2.6.22-3-ixp4xx #1)
PC is at vfs_getattr+0x18/0x7c
LR is at nfsd4_encode_fattr+0x118/0x14e8 [nfsd]
pc : [<c008337c>]    lr : [<bf18eb48>]    psr: 60000013
sp : c0599a70  ip : c0599a90  fp : c0599a8c
r10: c0c40220  r9 : c03db000  r8 : 00000000
r7 : c0599cd4  r6 : 00000028  r5 : 00000000  r4 : c143d41c
r3 : 00000000  r2 : c0599cd4  r1 : c143d41c  r0 : c02fea20
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 0000397f  Table: 0199c000  DAC: 00000015
Process nfsd (pid: 1979, stack limit = 0xc0598258)
Stack: (0xc0599a70 to 0xc059a000)
9a60: 00000000 c1266180 00000028 00000800 9a80: c0599d5c c0599a90 bf18eb48 c0083370 c0599ad4 c0599aa0 c05ba160 c143d41c 9aa0: c1266180 00000000 00800000 c1236930 c1236930 c10c07d4 00000003 00000008 9ac0: 00000008 c0598000 c0599af4 c0599ad8 c00fc138 c01073c4 c1236930 c1236930 9ae0: c10c07d4 00000003 c0599b14 c0599af8 c00fc2dc c00fc038 c1236930 33c05ee4 9b00: c10c07d4 c1445f80 c0599b50 c0599b3c c0599b1c c0043930 c0026e40 c132a01c 9b20: c10c3580 00000017 c10c3580 f8beff00 c0599b50 c0599b40 c00439c4 c0043908 9b40: 00000000 c0599b64 c0599b54 c00439e8 c00439b4 00000000 c0599b9c c0599b68 9b60: c0021dc8 c00439d4 0000000a 00000000 c0598000 c028bfc8 00000000 c0599bf4 9b80: c0000070 00000002 c0e8a7d0 c00a2aa0 c0599bb0 c0599ba0 c01e69a8 c01e5c2c 9ba0: c0599bec c0599bc0 c0599bb4 c00a2aec c01e6984 c0599be8 c0599bc4 c01e6d48 9bc0: c004adac c0599c00 c0000070 c00a2aa0 00000002 c13dc7b8 00000002 c0599c2c 9be0: c0599bec c01e6ee4 c01e6cac c13dc7b8 00000002 00000000 c10c3580 c004af0c 9c00: c0599c00 c0599c00 c0599ce0 c0e8a7d0 c0599cb8 c0e8a7d0 00000028 c16cfd20 9c20: c0599c3c c0599c30 c00a2a20 c01e6e74 c0599c58 c0599c40 c0599c58 c0599c48 9c40: bf089a7c c00a172c 00000000 c0599d10 c0599c5c bf08a640 bf089a38 00000000 9c60: c0599d14 c143d41c c03db000 c004af0c c0599c70 c0599c70 c1961160 c13ed2e8 9c80: 00000000 0000018b c1ad0ff8 ab17d1ac c03db000 00000002 c00a2a20 c01e6e74 9ca0: c0599ce8 c0599cb0 bf085138 c00a2a04 bf08c534 c0599cec c1d511d0 c1769020 9cc0: c1769038 c0ec1aa8 c0599ce4 c0599cd8 c0091410 c0091398 c0599cf4 c0599ce8 9ce0: c0091434 c00913d0 c0599d10 c0599cf8 c0093684 c0091430 00000000 c0e8a7d0 9d00: c143d41c c0599d30 c0599d14 bf08c22c c0093584 00000000 c143d41c c111820c 9d20: c0599d34 c0599d5c 00000000 c05ba160 00000e90 00000000 c04fb11c 00000028 9d40: c163e7fe c05ba160 c03db000 c0c40220 c0599d98 c0599d60 bf190118 bf18ea3c 9d60: c0599d74 c04fb134 c0592000 c143d41c c1266180 000003a4 00000000 00000028 9d80: c163e7e0 558be8d6 00000000 c0599de4 c0599da0 bf082c8c bf18ffa4 558be8d6 9da0: 00000000 0062c065 00000000 00000008 bf18ff94 c04fb144 c12716e0 c0e8a7d0 9dc0: c12716e0 c0e8a7d0 c0e8a83c c0c40220 00000000 c04fb144 c0599e84 c0599de8 9de0: bf083000 bf082bec c04fb144 c111820c c03d3000 c0599e88 c0599e04 bf18ff94 9e00: c04fb144 0000000f c0599e30 c03db000 c0e8a7d0 c007bf38 c177ed40 00000000 9e20: 0000000f c0599e5c c0599e34 c004400c c0599e64 c0599e40 c007e008 c0066424 9e40: 00020000 c02fea20 c111820c c0c40220 c03d3000 bf18ff94 c0599e88 c0c40220 9e60: fffffffe c0e8a7d0 c0e8a83c bf18ff94 00000000 c04fb144 c0599eac c0599e88 9e80: c008cba0 bf082dd0 447e4ff9 00000000 00000000 c04fb144 c0599ef8 bf18ff94 9ea0: c0599edc c0599eb0 bf17db38 c008cb24 c0599eb4 c0c40220 c05ba000 00000000 9ec0: c0594038 c04fb11c c0593800 c04fb114 c0599f28 c0599ee0 bf190fcc bf17dac8 9ee0: bf18ff94 c04fb058 c03d3000 c0592000 c0594040 c0594034 447e4ff9 00000000 9f00: c04fb114 000000c4 c0593800 c04fb050 c03d3000 c0592000 c04fb000 c0599f58 9f20: c0599f2c bf18a4c8 bf190238 c03d30e8 c0592000 0000001c bf1aa388 c0594000 9f40: c0594018 00000018 c0594000 c0599f7c c0599f5c bf1792f0 bf18a2d4 c0592000 9f60: c05920e0 bf1aa388 c05920bc bf1aa20c c0599fc4 c0599f80 bf13e4ec bf179228 9f80: bf17921c 00000024 bf1aa364 c15d5140 c0594018 000186a3 01000000 bf1ab70c 9fa0: ffffa861 bf1abff0 c0592000 00000000 00000000 00000000 c0599ff4 c0599fc8 9fc0: bf1799a0 bf13e08c fffffeff ffffffff fffffef8 ffffffff 00000000 00000000 9fe0: 00000000 00000000 00000000 c0599ff8 c0039dd8 bf17982c 00000000 00000000
Backtrace:
[<c0083364>] (vfs_getattr+0x0/0x7c) from [<bf18eb48>] (nfsd4_encode_fattr+0x118/0x14e8 [nfsd])
 r7:00000800 r6:00000028 r5:c1266180 r4:00000000
[<bf18ea30>] (nfsd4_encode_fattr+0x0/0x14e8 [nfsd]) from [<bf190118>] (nfsd4_encode_dirent+0x184/0x298 [nfsd]) [<bf18ff98>] (nfsd4_encode_dirent+0x4/0x298 [nfsd]) from [<bf082c8c>] (call_filldir+0xac/0xcc [ext3])
 r8:00000000 r7:558be8d6 r6:c163e7e0 r5:00000028 r4:00000000
[<bf082be0>] (call_filldir+0x0/0xcc [ext3]) from [<bf083000>] (ext3_readdir+0x23c/0x670 [ext3]) [<bf082dc4>] (ext3_readdir+0x0/0x670 [ext3]) from [<c008cba0>] (vfs_readdir+0x88/0xc0) [<c008cb18>] (vfs_readdir+0x0/0xc0) from [<bf17db38>] (nfsd_readdir+0x7c/0xe8 [nfsd]) [<bf17dabc>] (nfsd_readdir+0x0/0xe8 [nfsd]) from [<bf190fcc>] (nfsd4_encode_operation+0xda0/0x1270 [nfsd]) [<bf19022c>] (nfsd4_encode_operation+0x0/0x1270 [nfsd]) from [<bf18a4c8>] (nfsd4_proc_compound+0x200/0x314 [nfsd]) [<bf18a2c8>] (nfsd4_proc_compound+0x0/0x314 [nfsd]) from [<bf1792f0>] (nfsd_dispatch+0xd4/0x1dc [nfsd]) [<bf17921c>] (nfsd_dispatch+0x0/0x1dc [nfsd]) from [<bf13e4ec>] (svc_process+0x46c/0x848 [sunrpc])
 r8:bf1aa20c r7:c05920bc r6:bf1aa388 r5:c05920e0 r4:c0592000
[<bf13e080>] (svc_process+0x0/0x848 [sunrpc]) from [<bf1799a0>] (nfsd+0x180/0x2f8 [nfsd])
[<bf179820>] (nfsd+0x0/0x2f8 [nfsd]) from [<c0039dd8>] (do_exit+0x0/0x7ec)
 r7:00000000 r6:00000000 r5:00000000 r4:00000000
Code: e24cb004 e5915008 e1a04001 e1a07002 (e5953120)


Reply to: