[alsa-devel] sound playback became chopping on nfs rootfs
Dear all
I noticed that sound playback became chopping on latest Linux kernel. I checked it by "git bisect". This chopping seems happen from below patch.
How to modify this chopping ?
I'm using SuperH ap4evb board. CONFIG_CMDLINE="console=tty0, console=ttySC0,115200 earlyprintk=sh-sci.0,115200 root=/dev/nfs ip=dhcp"
---------------------------------------------- commit 56463e50d1fc3f070492434cea6303b35ea000de Author: Chuck Lever chuck.lever@oracle.com Date: Fri Sep 17 10:54:37 2010 -0400
NFS: Use super.c for NFSROOT mount option parsing
Replace duplicate code in NFSROOT for mounting an NFS server on '/' with logic that uses the existing mainline text-based logic in the NFS client.
Add documenting comments where appropriate.
Note that this means NFSROOT mounts now use the same default settings as v2/v3 mounts done via mount(2) from user space.
vers=3,tcp,rsize=<negotiated default>,wsize=<negotiated default>
As before, however, no version/protocol negotiation with the server is done.
Signed-off-by: Chuck Lever chuck.lever@oracle.com Signed-off-by: Trond Myklebust Trond.Myklebust@netapp.com ----------------------------------------------
Best regards -- Kuninori Morimoto
Kuninori Morimoto wrote:
I noticed that sound playback became chopping on latest Linux kernel. ... This chopping seems happen from below patch.
commit 56463e50d1fc3f070492434cea6303b35ea000de Author: Chuck Lever chuck.lever@oracle.com
NFS: Use super.c for NFSROOT mount option parsing ... Note that this means NFSROOT mounts now use the same default settings as v2/v3 mounts done via mount(2) from user space.
Apparently, the latest kernel uses different mount options.
Try to find out what mount options your root FS had in the old kernel, and manually set them in some startup script.
Regards, Clemens
Dear Clemens
Thank you for your comment
Apparently, the latest kernel uses different mount options.
Try to find out what mount options your root FS had in the old kernel, and manually set them in some startup script.
OK. Thanks. I try it. Does this "mount options" mean root_mountflags ? If not, can you please which one ?
My rootfs is mounted as NFS when boot.
CONFIG_ROOT_NFS=y CONFIG_IP_PNP_DHCP=y CONFIG_CMDLINE="... rootfs=/dev/nfs ip=dhcp"
Best regards -- Kuninori Morimoto
Kuninori Morimoto wrote:
Apparently, the latest kernel uses different mount options.
Try to find out what mount options your root FS had in the old kernel, and manually set them in some startup script.
OK. Thanks. I try it. Does this "mount options" mean root_mountflags ?
No; the defaults for options that are not set in root_mountflags have changed.
Try /proc/mounts.
Regards, Clemens
Dear Clemens
OK. Thanks. I try it. Does this "mount options" mean root_mountflags ?
No; the defaults for options that are not set in root_mountflags have changed.
Thanks I checked old/new kernel options
new kernel : ... rsize=524288,wsize=524288 ... old kernel : ... rsize=4096,wsize=4096 ...
If I add nfsroot=,rsize=4096,wsize=4096 on CONFIG_CMDLINE, the chopping issue was solved. But I wounder why new kernel used such a big size ? Is it my miss ?
Best regards -- Kuninori Morimoto
participants (2)
-
Clemens Ladisch
-
Kuninori Morimoto