[2.2.14 - Alpha] sound and ntp blues

From: Thomas Pornin (pornin@bolet.ens.fr)
Date: Sat Feb 19 2000 - 06:30:47 EST

  • Next message: Khimenko Victor: "Re: Of removable devices"

    Hello,

    I have a running 2.2.14 kernel, with the 0.18.5 nfsv3-client patch.
    I have the following problems:

    -- Sound rate is incorrect: I have an ES1888 at 0x220, irq 5, dma 1 and 5.
    I have a 44.1 KHz, 16 bits stereo wav file. When I play it with this
    command line, it works correctly:
      sox -t .wav bla.wav -t ossdsp -r 17950 /dev/dsp
    However, if I use the following:
      sox -t .wav bla.wav -t ossdsp -r 17951 /dev/dsp
    I get a distorted sound; it seems that the data is sent to the card
    at half-pace, music is one octave lower, it runs for twice the correct
    length. Same for any rate above 17951.

    The sound used to work with kernel 2.2.9. Between 2.2.9 and 2.2.14, I do
    not know.

    -- The clock locally drifts. I use xntp3-5.93-2 (from RedHat 5.1) and I
    get messages like this:

    time reset -1.652937 s
    synchronisation lost

    about three or four times per hour. This is not critical since I am
    never drifted more than 2 seconds, but this is annoying since my mailbox
    and homedir are NFS-mounted. The box is an Alpha ev56 at 516 MHz (a 500 MHz
    model a bit overclocked). /proc/cpuinfo gives this:

    cpu : Alpha
    cpu model : EV56
    cpu variation : 7
    cpu revision : 0
    cpu serial number :
    system type : Miata
    system variation : 0
    system revision : 0
    system serial number :
    cycle frequency [Hz] : 515463917
    timer frequency [Hz] : 1024.00
    page size [bytes] : 8192
    phys. address bits : 40
    max. addr. space # : 127
    BogoMIPS : 510.65
    kernel unaligned acc : 5 (pc=fffffc000043a4cc,va=fffffc00001f11f4)
    user unaligned acc : 0 (pc=0,va=0)
    platform string : Digital Personal WorkStation 533au
    cpus detected : 1

    Maybe there is some configuration problem I missed ? ntpd, after a few
    hours, sets the drift value in ntp.drift to -500.000, which seems to be
    some sort of extremum.

    Thanks in advance for any info. I could not try 2.2.15-pre9 since it is
    not compatible with the nfsv3 patch.

            --Thomas Pornin

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Feb 19 2000 - 06:41:38 EST