PDA

View Full Version : Problem with applying PBI-1.1 to PC-BSD-1.0


genelake
06-05-2006, 06:20 PM
I have installed and used PC-BSD ever since it came out. I recently installed the 1.0 Stable version. My internet connection worked perfectly right out of the box, same with my sound. Configured my printer with CUPS...worked perfectly. Everything working fine at this point.

I saw the notice on your web site about the PBI 1.1 update. I downloaded it and ran the installer. Rebooted and now I got problems:

**The KDE settings I made thru the KDE Control Center were changed back to the default settings...I re-applied my settings...no problem.

**The /usr/src directory was gone. I had run 'cvsup /root/standard-supfile' after installing 1.0 Stable to establish /usr/src. Doesn't seem like that should have been deleted...but it was. I reran the 'cvsup' step.

**I now had no sound after applying the PBI-1.1 update. This was really disappointing because I had always had sound right out of the box with all my installations of PC-BSD.

I looked at /var/log/messages and found this with regard to PCM:

[/code]Jun 5 11:55:48 PCBSD kernel: pcm0: <Creative CT5880-C> port 0xa400-0xa43f irq 18 at device 8.0 on pci5
Jun 5 11:55:48 PCBSD kernel: pcm0: AC97 reset timed out.
Jun 5 11:55:48 PCBSD kernel: pcm0: <Cirrus Logic CS4297A AC97 Codec>
Jun 5 11:55:48 PCBSD kernel: pcm0: ac97 codec reports dac not ready
Jun 5 11:55:48 PCBSD kernel: pcm0: <Playback: DAC2 / Record: ADC>

I searched the internet and founds posts wanting to replace the /sys/dev/sound/pci/es137x.c file to correct the 'ac97 codec reports dac not ready' problem. Not sure whether this the correct thing to do or not.

I have a SB 16 PCI sound card using the snd_es1371 driver. This card has worked fine with all previous installations of PC-BSD including version 1.0.

I'm stuck. Anybody have any suggestions to correct my sound problem?

Thanks!

-Gene-

Apatewna
06-05-2006, 06:59 PM
The update from 1.0 to 1.1 also resets other stuff such as changing specific static IP's to dynamic in /etc/rc.conf

The /usr/src is supposed to hold the kernel files. Since PCBSD 1.0 was shipped with the FreeBSD 6.0 kernel, when you fetched system sources you actually fetched the 6.0 kernel sources.
PCBSD 1.1 on the other hand ships with kernel 6.1 It makes sense that the old sources have to be deleted, or programs will start compiling against the wrong kernel sources.

I didn't quite understand the sound problem you describe. AC97 is a (specification for) onboard sound chipsets, while the SB16 PCI is obviously a different PCI audio card.

Are you having trouble with both cards right now?
Did both cards work before the update?
Did the cards work before, without any manual intervention (eg editing /etc/sysctl.conf) ?

mal.exe
06-05-2006, 07:02 PM
An update SHOULD NOT change these things.. in my opinion..

genelake
06-05-2006, 07:38 PM
Apetewma and mal.exe...thanks for your replies!

Apatewna...thanks for the info regarding /usr/src. That makes sense to me.

I only have one sound card... the PCI SB 16. It works with my Debian installation, my Gentoo installation and my Slackware installation (I have a multi-OS machine).

Now that I think about it...I don't have sound with my FreeBSD-6.1 installation either. I had sound with my FreeBSD-6.0 installation before I installed FreeBSD-6.1. Looks like a FreeBSD-6.1 problem.

Thanks!

-Gene-

Apatewna
06-05-2006, 08:17 PM
This is from the FreeBSD handbook
http://www.freebsd.org/doc/en_US.ISO885 ... setup.html (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html)

This is the hardware specs for release 6.1, you may locate your card here, along with the proper module to load.
http://www.freebsd.org/releases/6.1R/ha ... html#SOUND (http://www.freebsd.org/releases/6.1R/hardware-i386.html#SOUND)

genelake
06-05-2006, 09:40 PM
Apatewna....thanks for your reply!

I used the FreeBSD Handbook sound-howto to set up my sound on FreeBSD 5.4, 5.5 and 6.0. Sound worked fine on all three versions of FreeBSD. But the same procedure would not work on FreeBSD 6.1. I have the same 'ac97 codec reports dac not ready' problem on FreeBSD 6.1 as I now have on PC-BSD 1.1 update.

It appears as if I am getting the right sound driver loaded.


%cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Creative CT5880-C> at io 0xa400 irq 18 kld snd_es137x (1p/1r/4v channels duplex default)
%


%kldstat
Id Refs Address Size Name
1 15 0xc0400000 714ca4 kernel
3 2 0xc0bd9000 1af50 linux.ko
4 1 0xc0bf4000 719c snd_es137x.ko
5 2 0xc0bfc000 22ae8 sound.ko
6 1 0xc0c1f000 58554 acpi.ko
7 1 0xc3c10000 a000 ntfs.ko
8 1 0xc3c47000 6000 linprocfs.ko
9 1 0xc3c5d000 4000 logo_saver.ko


Thanks!

-Gene-