* sound playback became chopping on nfs rootfs
@ 2010-11-18 8:24 Kuninori Morimoto
2010-11-18 9:03 ` [alsa-devel] " Clemens Ladisch
0 siblings, 1 reply; 5+ messages in thread
From: Kuninori Morimoto @ 2010-11-18 8:24 UTC (permalink / raw)
To: Linux-Net, Linux-ALSA
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [alsa-devel] sound playback became chopping on nfs rootfs
2010-11-18 8:24 sound playback became chopping on nfs rootfs Kuninori Morimoto
@ 2010-11-18 9:03 ` Clemens Ladisch
2010-11-19 8:08 ` Kuninori Morimoto
0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2010-11-18 9:03 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: Chuck Lever, Linux-Net, Linux-ALSA
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sound playback became chopping on nfs rootfs
2010-11-18 9:03 ` [alsa-devel] " Clemens Ladisch
@ 2010-11-19 8:08 ` Kuninori Morimoto
2010-11-19 8:15 ` [alsa-devel] " Clemens Ladisch
0 siblings, 1 reply; 5+ messages in thread
From: Kuninori Morimoto @ 2010-11-19 8:08 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: Linux-Net, Linux-ALSA, Chuck Lever
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [alsa-devel] sound playback became chopping on nfs rootfs
2010-11-19 8:08 ` Kuninori Morimoto
@ 2010-11-19 8:15 ` Clemens Ladisch
2010-11-24 8:44 ` Kuninori Morimoto
0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2010-11-19 8:15 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: Linux-Net, Linux-ALSA, Chuck Lever
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: sound playback became chopping on nfs rootfs
2010-11-19 8:15 ` [alsa-devel] " Clemens Ladisch
@ 2010-11-24 8:44 ` Kuninori Morimoto
0 siblings, 0 replies; 5+ messages in thread
From: Kuninori Morimoto @ 2010-11-24 8:44 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: Linux-Net, Linux-ALSA, Chuck Lever
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-24 8:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18 8:24 sound playback became chopping on nfs rootfs Kuninori Morimoto
2010-11-18 9:03 ` [alsa-devel] " Clemens Ladisch
2010-11-19 8:08 ` Kuninori Morimoto
2010-11-19 8:15 ` [alsa-devel] " Clemens Ladisch
2010-11-24 8:44 ` Kuninori Morimoto
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.