Opened 14 years ago

Closed 6 years ago

Last modified 5 years ago

#7555 closed bug (fixed)

Reproducible kernel panic while backing up to NFS

Reported by: dstromberg Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: File Systems Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

Hi.

I have a reproducible kernel panic, using Haiku R1 Alpha 3 -r 41650 - IOW, a very recent nightly build. I'm running it in VirtualBox 3.2.8 OSE hrev64453 with an emulated, bridged Intel Pro/1000 MT Desktop 82540EM network adapter.

When it happens, I'm testing a backup engine written in CPython, using an unmodified /boot/common/bin/python. This code is at http://stromberg.dnsalias.org/~dstromberg/backshift/

The engine reads and writes an NFS filesystem. Some of the directories are quite large.

Running the engine's automated tests against a local filesystem (created by the installer) works well, despite a plethora of such tests.

The script tracebacks on an os.fsync(), and then crashes. If I skip the fsync with the equivalent of "if os.uname()[0] != 'Haiku'", it still crashes, but without a (Python) traceback (or rather, no Python traceback until I type "co" in the kernel debugger).

Haiku enters KDL of its own volition.

I'm very inexperienced with BeOS/Haiku, and only slightly experienced with VirtualBox - what's the best way to get information to you, the kernel developers, for such a crash?

I'll be attaching a screenshot with the kernel traceback.

Thanks!

Attachments (1)

haiku-panic.png (60.8 KB ) - added by dstromberg 14 years ago.

Download all attachments as: .zip

Change History (7)

by dstromberg, 14 years ago

Attachment: haiku-panic.png added

comment:1 by dstromberg, 14 years ago

This happens with an Ubuntu 10.10 NFS server. The relevant exportfs line looks like: /mnt/backshift 10.10.10.11(rw,sync,no_root_squash,insecure)

I mount the filesystem on Haiku with: mount_nfs 10.10.10.10:/mnt/backshift /mnt/backshift 0 0

(I've doctored the IP's and paths, but the gist is there)

comment:2 by dstromberg, 14 years ago

The command I'm running the backup engine with, at the time of a crash, is (for example):

find / /boot -xdev -printf '%s %p\0' | ~/src/home-svn/backshift/trunk/backshift --save-directory /mnt/backshift/save-directory --backup --subset everything --progress-report full

comment:3 by dstromberg, 14 years ago

Also, the NFS filesystem in question is on the large side:

$ df -h /mnt/backshift
Filesystem Size Used Avail Use% Mounted on
/dev/sdd5 917G 631G 287G 69% /mnt/backshift

However, no single file in the filesystem should be larger than about 3 megabytes; the backup engine chops large files up into manageable pieces.

comment:4 by mmadia, 13 years ago

Version: R1/alpha3R1/Development

R1 Alpha 3 has not yet been released. This was with an R1 Alpha 3 Release Candidate image.

comment:5 by waddlesplash, 6 years ago

Resolution: fixed
Status: newclosed

Probably the same vnode/fd ref count issues that were fixed over the past few years; please reopen if the issue persists.

comment:6 by nielx, 5 years ago

Milestone: R1R1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.