Bug 5185 - [Test Case 237] system shutdown with UNFS
Summary: [Test Case 237] system shutdown with UNFS
Status: RESOLVED WORKSFORME
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-runtime (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium minor
Target Milestone: 1.5.1
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-13 12:17 UTC by Chandrak
Modified: 2014-05-21 14:48 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
panic snapshot (898.18 KB, image/bmp)
2013-10-15 04:53 UTC, Chandrak
no flags Details
qemu x86 panic snapshot (1010.44 KB, image/bmp)
2013-10-15 04:54 UTC, Chandrak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chandrak 2013-09-13 12:17:31 UTC
STATUS: FAILED
BUILD: master:566ca1e4769b4ec7e3f6c6a98bb817db2221cf82
ENVIRONMENT: qemu-x86
STEPS TO REPRODUCE: 1. Use UNFS to start QEMU targets
    runqemu-extract-sdk core-image-sato-arch.rootfs.tar.bz2 rootfs
    runqemu nfs kernel rootfs 
2. Run shutdown in QEMU targets

EXPECTED OUTCOME: QEMU shutdown with UNFS should work .

P.S: see bug# 4599 also, it might help.. in 4599, testcase number was asked may be to reproduce the issue... This issue is seen on three platforms of Qemu (x86, x86-64 and arm ).
Comment 1 Bruce Ashfield 2013-09-13 13:24:10 UTC
This can b e looked at post 1.5, but chances are, this is simply a shutdown ordering
issue. If you shutown the ethernet interface too soon in the process, shutdown hangs
since your rootfs goes away. It's a common issue with usermode NFS, but with the
possibility of either systemd or sysvinit being enabled, the solution isn't as simple as
it used to be.
Comment 2 Chandrak 2013-10-15 03:54:26 UTC
qemu: x86-64 and arm unable to boot the images. both are creating panic.

1.5_M5.rc6:102bf5e0f640fe85068452a42b85077f1c81e0c9

I will attach the panic bmp files soon...
Comment 3 Chandrak 2013-10-15 04:53:30 UTC
Created attachment 1561 [details]
panic snapshot
Comment 4 Chandrak 2013-10-15 04:54:34 UTC
Created attachment 1562 [details]
qemu x86 panic snapshot
Comment 5 Alexandru Georgescu 2013-10-15 08:41:50 UTC
Hi Chandra,
We have tested with the latest QEMU machines, and we didn't find any of the two issues you mentioned: boot and shutdown via NFS.
Comment 6 Bruce Ashfield 2014-05-21 14:48:39 UTC
Closing the bug since this hasn't been reproduced.