Professional Web Applications Themes

Hardware problems after installing 5.4 pre-release - FreeBSD

I'm running FreeBsd/amd64 on a Gateway 7422GX. I installed the 5.3-release version and configured the OS to function properly with the hardware except for the built-in wireless and the infamous conexant softmodem. I read up on some wireless setups to get my wireless card working. In the process, I decided to try my first attempt at a rebuild of world with the latest cvsup stable-supfile download (March 24, 2005). I used the method of: # make buildworld # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot selected singleuser mode from startup menu # fsck -p # mount -u / ...

  1. #1

    Default Hardware problems after installing 5.4 pre-release

    I'm running FreeBsd/amd64 on a Gateway 7422GX. I installed the
    5.3-release version and configured the OS to function properly with
    the hardware except for the built-in wireless and the infamous
    conexant softmodem. I read up on some wireless setups to get my
    wireless card working. In the process, I decided to try my first
    attempt at a rebuild of world with the latest cvsup stable-supfile
    download (March 24, 2005). I used the method of:

    # make buildworld
    # make buildkernel KERNCONF=MYKERNEL
    # make installkernel KERNCONF=MYKERNEL
    # reboot

    selected singleuser mode from startup menu

    # fsck -p
    # mount -u /
    # mount -a -t ufs
    # swapon -a
    # mergemaster -p
    # make installworld
    # mergemaster
    # reboot

    (MYKERNEL is the GENERIC plus the lines needed for loading the sound
    system and the via8233 sound driver for my sound card)
    device sound
    device "snd_via8233"
    (with mergemaster I chose "i" for each file, indicating to use tempory)

    I booted into the new environment and started KDE3.4. I noticed that
    I had no sound and no usb mouse functionality. I did the following:

    # cat /dev/sndstat
    FreeBSD Audio Driver (newpcm)
    Installed devices:
    pcm0: <VIA VT8235> at io 0x1000 irq 10 (5p/1r/0v channels duplex default)


    So, the driver seems to be loading, but I'm getting no sound. I've,
    also, done the following to try to get the sound back.

    # sysctl hw.snd.pcm0.vchans=8
    # sysctl hw.snd.maxautovchans=8

    I checked my mixer levels in KDE and added

    hint.pcm.0.vol="100"

    to the /boot/device.hints

    being that the usb mouse also stopped working, I think there might be
    an issue with the hardware discovery routines in bootup or a
    configuration file that 5.3 used was overwritten with the rebuilding
    of world.

    I'm quite new to FreeBSD and am trying to get a good grasp on the
    general workings of the OS. So, assume that I need step by step
    guidelines. Perhaps, since I'm dealing with a pre-release, some of
    the functionality is missing by design. I have assumed that STABLE
    would mean that functioning hardware from the prior release will
    continue functioning with STABLE. I've stayed clear of CURRENT
    assuming things may often be broken in that branch, as it is
    experimental.

    Any help in enlightening me on my hardware issues will be greatly appreciated.

    # uname -a
    FreeBSD Todds-Notebook.linksys 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE
    #0: Thu Mar 24 14:26:05 UTC 2005
    linksys:/usr/obj/usr/src/sys/MYKERNEL amd64
    Todd Guest

  2. #2

    Default Re: Hardware problems after installing 5.4 pre-release

    On Thu, 24 Mar 2005 22:07:57 +0000
    Todd Shirk <com> wrote:
     

    did you check with kldstat which module for sounds was loaded ?
    and tried : kldload snd_driver ?

    see e.g. :
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

    albi@scii.nl Guest

  3. #3

    Default Re: Hardware problems after installing 5.4 pre-release

    You referred to kldstat. I'm not sure what I'm looking for with that
    or what switch I may need to use. I typed and received the following
    information:

    # kldstat

    Id Refs Address Size Name
    1 8 0xffffffff80100000 7c36b8 kernel
    2 1 0xffffffff808c4000 50c8 udbp.ko
    3 2 0xffffffff808ca000 20ae0 netgraph.ko
    4 1 0xffffffff808eb000 5f98 ugen.ko
    5 1 0xffffffff808f1000 3918 ums.ko

    I added the founding command and got the following results:

    # kldload snd_driver
    # kldstat

    Id Refs Address Size Name
    1 59 0xffffffff80100000 7c36b8 kernel
    2 1 0xffffffff808c4000 50c8 udbp.ko
    3 2 0xffffffff808ca000 20ae0 netgraph.ko
    4 1 0xffffffff808eb000 5f98 ugen.ko
    5 1 0xffffffff808f1000 3918 ums.ko
    6 1 0xffffffffa7842000 78d snd_driver.ko
    7 1 0xffffffffa7843000 1a7d snd_ad1816.ko
    8 1 0xffffffffa7845000 1b9d snd_als4000.ko
    9 1 0xffffffffa7847000 1fdd snd_cmi.ko
    10 1 0xffffffffa7849000 221d snd_cs4281.ko
    11 2 0xffffffffa784c000 3f3a snd_csa.ko
    12 1 0xffffffffa7850000 8add snd_ds1.ko
    13 1 0xffffffffa7859000 4375 snd_emu10k1.ko
    14 1 0xffffffffa785e000 2c81 snd_es137x.ko
    15 2 0xffffffffa7861000 240a snd_ess.ko
    16 4 0xffffffffa7864000 1a85 snd_sbc.ko
    17 1 0xffffffffa7866000 181d snd_fm801.ko
    18 2 0xffffffffa7868000 6e8a snd_mss.ko
    19 1 0xffffffffa786f000 227d snd_ich.ko
    20 1 0xffffffffa7872000 3e5d snd_maestro.ko
    21 1 0xffffffffa7876000 5b3d snd_maestro3.ko
    22 1 0xffffffffa787c000 e41d snd_neomagic.ko
    23 1 0xffffffffa788b000 184d snd_sb8.ko
    24 1 0xffffffffa788d000 1bed snd_sb16.ko
    25 1 0xffffffffa788f000 251d snd_solo.ko
    26 1 0xffffffffa7892000 221d snd_t4dwave.ko
    27 1 0xffffffffa7895000 169d snd_via82c686.ko
    28 1 0xffffffffa7897000 225d snd_vibes.ko

    After doing that, I still do not have any sound. I notice that
    snd_via8233 is not in the resulting list of loaded drivers in kldstat.
    My assumption is that it didn't load through kldload since it's being
    loaded at the kernel level. With the command of:

    # cat /dev/sndstat

    FreeBSD Audio Driver (newpcm)
    Installed devices:
    pcm0: <VIA VT8235> at io 0x1000 irq 10 (5p/1r/0v channels duplex default)

    It would seem that my sound driver is loading. The audio software
    seems to believe that there is a sound card to attach to. Could there
    be a problem with the sound driver I'm using. Would there be a reason
    why snd_via8233 works fine in 5.3 and not 5.4 pre-release? Also,
    could the usb mouse problem be part of the same problem, reasoning
    being that there may be a global hardware issue and that it may be
    conflicts in device handling vs. a configuration issue? Regardless,
    I'm happy and willing to try any thoughts.

    I, also, tried to manually choose snd_via8233 with this result:

    # kldload snd_via8233
    kldload: can't load snd_via8233: File exists

    In the meantime, I'll try to trace down some helpful error messages
    from the usb mouse problem.


    On Thu, 24 Mar 2005 23:15:41 +0100, "nl" <nl> wrote: 
    >
    > did you check with kldstat which module for sounds was loaded ?
    > and tried : kldload snd_driver ?
    >
    > see e.g. :
    > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
    >
    >[/ref]
    Todd Guest

  4. #4

    Default Re: Hardware problems after installing 5.4 pre-release

    Here's an update on the sound issue. I ported down and compiled
    mplayer. I popped in a DVD and typed on the command line:

    # mplayer dvd://

    With that I got sound to play. I then recompile xine, but xine still
    has no sound. KDE is also soundless.

    Hopefully this helps.




    On Mon, 28 Mar 2005 14:43:46 +0000, Todd Shirk <com> wrote: 
    > >[/ref]
    >[/ref]
    Todd Guest

  5. #5

    Default Re: Hardware problems after installing 5.4 pre-release

    On Mon, 28 Mar 2005 17:08:47 -0500
    Todd Shirk <com> wrote:
     

    this sounds a little bit like KDE's sound-daemon (artsd) is not working
    well or something like that

    what happens with your sound if you use e.g. icewm or fluxbox or
    windowmaker ?

    albi@scii.nl Guest

  6. #6

    Default Re: Hardware problems after installing 5.4 pre-release

    I've tried installing gnome and windowmaker to test the sound. Each
    act the same as KDE. Mplayer works with sound but nothing else. I,
    also, installed xmms and tested, no sound. The sound graphics are
    idle, seeming to indicate that the sound is not being generated in the
    applications. I, also, tried the command line app cdcontrol.

    # cdcontrol -f /dev/acd0 play 1

    no sound. Does mplayer use a kernel independent sound driver?




    On Tue, 29 Mar 2005 01:03:08 +0200, nl <nl> wrote: 
    >
    > this sounds a little bit like KDE's sound-daemon (artsd) is not working
    > well or something like that
    >
    > what happens with your sound if you use e.g. icewm or fluxbox or
    > windowmaker ?
    >
    >[/ref]
    Todd Guest

Similar Threads

  1. Replies: 5
    Last Post: March 22nd, 09:46 PM
  2. Replies: 5
    Last Post: March 3rd, 09:49 PM
  3. installing PHP on oracle 9ias release 2
    By Miguel Lopes in forum PHP Development
    Replies: 6
    Last Post: July 13th, 08:57 AM
  4. Installing OS 9 using a hardware specific CD
    By Eric in forum Mac Applications & Software
    Replies: 2
    Last Post: August 23rd, 03:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139