freebsd-questions Digest, Vol 359, Issue 2
erkin.atak at gmail.com
erkin.atak at gmail.com
Tue Apr 19 12:30:04 UTC 2011
fetch is not working.
On Tue, Apr 19, 2011 at 3:00 PM, <freebsd-questions-request at freebsd.org>wrote:
> Send freebsd-questions mailing list submissions to
> freebsd-questions at freebsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> or, via email, send a message with subject or body 'help' to
> freebsd-questions-request at freebsd.org
>
> You can reach the person managing the list at
> freebsd-questions-owner at freebsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of freebsd-questions digest..."
>
>
> Today's Topics:
>
> 1. can't determine sound card driver to use in /etc/rc.conf
> (Antonio Olivares)
> 2. Re: can't determine sound card driver to use in /etc/rc.conf
> (Craig Butler)
> 3. ZFS on USB / Sound on alienware m11x (Gautham Ganapathy)
> 4. Re: ZFS on USB / Sound on alienware m11x (Craig Whipp)
> 5. Re: FreeBSD VMWare Mac screen resulution and keyboard map
> (Sascha Vieweg)
> 6. Re: FreeBSD VMWare Mac screen resulution and keyboard map
> (Chuck Swiger)
> 7. Re: FreeBSD VMWare Mac screen resulution and keyboard map
> (David Scheidt)
> 8. Unable to find an appropriate lock to guard the shared cache.
> This *should* be essentially impossible (Steven Friedrich)
> 9. Re: ZFS on USB / Sound on alienware m11x (Gautham Ganapathy)
> 10. RE: 3par iscsi with 8.2? (Ragona, Derek)
> 11. Re: Unable to find an appropriate lock to guard the shared
> cache. This *should* be essentially impossible (Chuck Swiger)
> 12. Re: can't determine sound card driver to use in /etc/rc.conf
> (Antonio Olivares)
> 13. Re: can't determine sound card driver to use in /etc/rc.conf
> (Polytropon)
> 14. RE: 3par iscsi with 8.2? (timp)
> 15. Re: ZFS on USB / Sound on alienware m11x (bw)
> 16. pkg_add problem (H.Erkin ATAK)
> 17. Re: pkg_add problem (krad)
> 18. Re: pkg_add problem (Matthias Apitz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 18 Apr 2011 08:40:25 -0500
> From: Antonio Olivares <olivares14031 at gmail.com>
> Subject: can't determine sound card driver to use in /etc/rc.conf
> To: FreeBSD Questions <freebsd-questions at freebsd.org>
> Message-ID: <BANLkTin1S+Rcr=NUp9L_WHMZ-Nqo5S5d4w at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear folks,
>
> On a new machine running AMD-64 XFCE custom by Manolis, I can't
> determine which sound driver to use for the sound card:
>
> grulla# kldload snd_driver
> grulla# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices:
> pcm0: <HDA VIA VT1708B_1 PCM #0 Analog> (play/rec) default
> pcm1: <HDA VIA VT1708B_1 PCM #1 Analog> (play)
> pcm2: <HDA VIA VT1708B_1 PCM #2 Digital> (play)
> grulla# pciconf -l
> none0 at pci0:0:0:0: class=0x050000 card=0xcb8410de chip=0x03ea10de
> rev=0xa1 hdr=0x00
> isab0 at pci0:0:1:0: class=0x060100 card=0x34071565 chip=0x03e010de
> rev=0xa2 hdr=0x00
> none1 at pci0:0:1:1: class=0x0c0500 card=0x34071565 chip=0x03eb10de
> rev=0xa2 hdr=0x00
> none2 at pci0:0:1:2: class=0x050000 card=0x34071565 chip=0x03f510de
> rev=0xa2 hdr=0x00
> ohci0 at pci0:0:2:0: class=0x0c0310 card=0x34071565 chip=0x03f110de
> rev=0xa3 hdr=0x00
> ehci0 at pci0:0:2:1: class=0x0c0320 card=0x34071565 chip=0x03f210de
> rev=0xa3 hdr=0x00
> pcib1 at pci0:0:4:0: class=0x060401 card=0xcb8410de chip=0x03f310de
> rev=0xa1 hdr=0x01
> hdac0 at pci0:0:5:0: class=0x040300 card=0x81081565 chip=0x03f010de
> rev=0xa2 hdr=0x00
> atapci0 at pci0:0:6:0: class=0x01018a card=0x34071565 chip=0x03ec10de
> rev=0xa2 hdr=0x00
> nfe0 at pci0:0:7:0: class=0x068000 card=0x25051565 chip=0x03ef10de
> rev=0xa2 hdr=0x00
> atapci1 at pci0:0:8:0: class=0x010185 card=0x54051565 chip=0x03f610de
> rev=0xa2 hdr=0x00
> pcib2 at pci0:0:9:0: class=0x060400 card=0x000010de chip=0x03e810de
> rev=0xa2 hdr=0x01
> pcib3 at pci0:0:11:0: class=0x060400 card=0x000010de chip=0x03e910de
> rev=0xa2 hdr=0x01
> pcib4 at pci0:0:12:0: class=0x060400 card=0x000010de chip=0x03e910de
> rev=0xa2 hdr=0x01
> vgapci0 at pci0:0:13:0: class=0x030000 card=0x14051565 chip=0x03d010de
> rev=0xa2 hdr=0x00
> hostb0 at pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x12001022
> rev=0x00 hdr=0x00
> hostb1 at pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x12011022
> rev=0x00 hdr=0x00
> hostb2 at pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x12021022
> rev=0x00 hdr=0x00
> hostb3 at pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x12031022
> rev=0x00 hdr=0x00
> hostb4 at pci0:0:24:4: class=0x060000 card=0x00000000 chip=0x12041022
> rev=0x00 hdr=0x00
> ral0 at pci0:1:6:0: class=0x028000 card=0x25611814 chip=0x03011814
> rev=0x00 hdr=0x00
>
>
> mixer gives me the following:
>
> grulla# mixer
> Mixer vol is currently set to 75:75
> Mixer pcm is currently set to 75:75
> Mixer line is currently set to 75:75
> Mixer mic is currently set to 0:0
> Mixer rec is currently set to 75:75
> Mixer igain is currently set to 0:0
> Mixer ogain is currently set to 50:50
> Mixer monitor is currently set to 75:75
> Recording source: mic
>
>
> Thanks for your help/advice.
>
> Regards,
>
> Antonio
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 18 Apr 2011 15:32:07 +0100
> From: Craig Butler <craig001 at lerwick.hopto.org>
> Subject: Re: can't determine sound card driver to use in /etc/rc.conf
> To: Antonio Olivares <olivares14031 at gmail.com>
> Cc: FreeBSD Questions <freebsd-questions at freebsd.org>
> Message-ID: <1303137127.24099.10.camel at zbox>
> Content-Type: text/plain; charset="us-ascii"
>
> On Mon, 2011-04-18 at 08:40 -0500, Antonio Olivares wrote:
> > Dear folks,
> >
> > On a new machine running AMD-64 XFCE custom by Manolis, I can't
> > determine which sound driver to use for the sound card:
> >
> > grulla# kldload snd_driver
> > grulla# cat /dev/sndstat
> > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> > Installed devices:
> > pcm0: <HDA VIA VT1708B_1 PCM #0 Analog> (play/rec) default
> > pcm1: <HDA VIA VT1708B_1 PCM #1 Analog> (play)
> > pcm2: <HDA VIA VT1708B_1 PCM #2 Digital> (play)
> > grulla# pciconf -l
> > none0 at pci0:0:0:0: class=0x050000 card=0xcb8410de chip=0x03ea10de
> > rev=0xa1 hdr=0x00
> > isab0 at pci0:0:1:0: class=0x060100 card=0x34071565 chip=0x03e010de
> > rev=0xa2 hdr=0x00
> > none1 at pci0:0:1:1: class=0x0c0500 card=0x34071565 chip=0x03eb10de
> > rev=0xa2 hdr=0x00
> > none2 at pci0:0:1:2: class=0x050000 card=0x34071565 chip=0x03f510de
> > rev=0xa2 hdr=0x00
> > ohci0 at pci0:0:2:0: class=0x0c0310 card=0x34071565 chip=0x03f110de
> > rev=0xa3 hdr=0x00
> > ehci0 at pci0:0:2:1: class=0x0c0320 card=0x34071565 chip=0x03f210de
> > rev=0xa3 hdr=0x00
> > pcib1 at pci0:0:4:0: class=0x060401 card=0xcb8410de chip=0x03f310de
> > rev=0xa1 hdr=0x01
> > hdac0 at pci0:0:5:0: class=0x040300 card=0x81081565 chip=0x03f010de
> > rev=0xa2 hdr=0x00
> > atapci0 at pci0:0:6:0: class=0x01018a card=0x34071565 chip=0x03ec10de
> > rev=0xa2 hdr=0x00
> > nfe0 at pci0:0:7:0: class=0x068000 card=0x25051565 chip=0x03ef10de
> > rev=0xa2 hdr=0x00
> > atapci1 at pci0:0:8:0: class=0x010185 card=0x54051565 chip=0x03f610de
> > rev=0xa2 hdr=0x00
> > pcib2 at pci0:0:9:0: class=0x060400 card=0x000010de chip=0x03e810de
> > rev=0xa2 hdr=0x01
> > pcib3 at pci0:0:11:0: class=0x060400 card=0x000010de chip=0x03e910de
> > rev=0xa2 hdr=0x01
> > pcib4 at pci0:0:12:0: class=0x060400 card=0x000010de chip=0x03e910de
> > rev=0xa2 hdr=0x01
> > vgapci0 at pci0:0:13:0: class=0x030000 card=0x14051565 chip=0x03d010de
> > rev=0xa2 hdr=0x00
> > hostb0 at pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x12001022
> > rev=0x00 hdr=0x00
> > hostb1 at pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x12011022
> > rev=0x00 hdr=0x00
> > hostb2 at pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x12021022
> > rev=0x00 hdr=0x00
> > hostb3 at pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x12031022
> > rev=0x00 hdr=0x00
> > hostb4 at pci0:0:24:4: class=0x060000 card=0x00000000 chip=0x12041022
> > rev=0x00 hdr=0x00
> > ral0 at pci0:1:6:0: class=0x028000 card=0x25611814 chip=0x03011814
> > rev=0x00 hdr=0x00
> >
> >
> > mixer gives me the following:
> >
> > grulla# mixer
> > Mixer vol is currently set to 75:75
> > Mixer pcm is currently set to 75:75
> > Mixer line is currently set to 75:75
> > Mixer mic is currently set to 0:0
> > Mixer rec is currently set to 75:75
> > Mixer igain is currently set to 0:0
> > Mixer ogain is currently set to 50:50
> > Mixer monitor is currently set to 75:75
> > Recording source: mic
> >
> >
> > Thanks for your help/advice.
> >
> > Regards,
> >
> > Antonio
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
>
> Hi Antonio
>
> Think you'll find it's a hda device...
>
> add snd_hda_load="YES" to /boot/loader.conf and it should be loaded next
> time you boot the machine.
>
> If your not getting any sound, you might have to change the
> hw.snd.default_auto sysctl to match your other inputs.
>
> Regards
>
> Craig B
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 18 Apr 2011 16:58:28 +0000
> From: Gautham Ganapathy <gautham at lisphacker.org>
> Subject: ZFS on USB / Sound on alienware m11x
> To: questions at freebsd.org
> Message-ID: <BANLkTimJqD1MNVFSK39Bx8L=sNC6Yn6uCw at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi
>
> I am trying out FreeBSD on ZFS using the PC-BSD 8.2 installer. I have
> it installed on a Western Digital USB HDD connected to an Alienware
> m11x laptop. It seems to work well except that once in a while, any
> application performing a write freezes for a few seconds (around 15 or
> so) and looking at top shows their states to be in zio. Is this
> because it was installed on a USB drive?
>
> I am trying to get sound working on the laptop. After starting snd_hda
> at boot, two devices are found and dmesg shows the following
>
> hdac0: <NVidia (Unknown) High Definition Audio Controller> mem
> 0xf1000000-0xf1003fff irq 17 at device 0.1 on pci1
> hdac0: HDA Driver Revision: 20100226_0142
> hdac0: [ITHREAD]
>
> hdac1: <Intel 82801I High Definition Audio Controller> mem
> 0xf1600000-0xf1603fff irq 22 at device 27.0 on pci0
> hdac1: HDA Driver Revision: 20100226_0142
> hdac1: [ITHREAD]
>
> hdac0: HDA Codec #0: NVidia (Unknown)
> hdac0: HDA Codec #1: NVidia (Unknown)
> hdac0: HDA Codec #2: NVidia (Unknown)
> hdac0: HDA Codec #3: NVidia (Unknown)
>
> pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 0 nid 1 on hdac0
> pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 1 nid 1 on hdac0
> pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 2 nid 1 on hdac0
> pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 3 nid 1 on hdac0
>
> hdac1: HDA Codec #0: Realtek ALC665
> pcm4: <HDA Realtek ALC665 PCM #0 Analog> at cad 0 nid 1 on hdac1
> pcm5: <HDA Realtek ALC665 PCM #1 Analog> at cad 0 nid 1 on hdac1
>
> I think the NVIDIA device is for the HDMI output, while the Realtek
> codec is for the normal audio.
>
> Under /dev, I can see six devices dsp0.0,dsp1.1,dsp2.1,dsp3.1,dsp4.0
> and dsp5.1. I tried playing an mp3 file using mpg123 and gave each of
> these devices using the -a option, but none of them worked. The output
> tab under the GNOME sound preferences shows the devices dsp0, dsp1,
> dsp2, dsp3, dsp4 and dsp5. None of them seem to work either.
>
> Any ideas on how to get the wound working?
>
> Gautham
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 18 Apr 2011 10:51:10 -0700
> From: Craig Whipp <crwhipp at gmail.com>
> Subject: Re: ZFS on USB / Sound on alienware m11x
> To: Gautham Ganapathy <gautham at lisphacker.org>
> Cc: questions at freebsd.org
> Message-ID: <20110418175110.GA90485 at revo.domain.actdsltmp>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> On Mon, 18 Apr 2011 16:58:28 +0000, Gautham Ganapathy wrote:
> > Hi
> >
> > I am trying out FreeBSD on ZFS using the PC-BSD 8.2 installer. I have
> > it installed on a Western Digital USB HDD connected to an Alienware
> > m11x laptop. It seems to work well except that once in a while, any
> > application performing a write freezes for a few seconds (around 15
> > or
> > so) and looking at top shows their states to be in zio. Is this
> > because it was installed on a USB drive?
> >
>
> I've experienced the same behavior on my external USB WD drive. I
> found that many of the Western Digital external drives will spin-down
> after some period of time. The wait you're experiencing is probably
> the time it takes to spin-up. WD has a utility to disable the
> spin-down feature. It's windows only, however.
>
> http://support.wdc.com/product/download.asp?groupid=304&sid=17&lang=en
>
> - Craig
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 488 bytes
> Desc: not available
> Url :
> http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110418/c63cfdcb/attachment-0001.pgp
>
> ------------------------------
>
> Message: 5
> Date: Mon, 18 Apr 2011 20:35:41 +0200 (CEST)
> From: Sascha Vieweg <saschaview at gmail.com>
> Subject: Re: FreeBSD VMWare Mac screen resulution and keyboard map
> To: Warren Block <wblock at wonkity.com>
> Cc: freebsd-questions at freebsd.org
> Message-ID: <alpine.OSX.2.02.1104182031240.1690 at vyvhz>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On 11-04-09 17:17, Warren Block wrote:
>
> > On Fri, 8 Apr 2011, Sascha Vieweg wrote:
> >
> >> As a curious beginner I am running FreeBSD on VMWare Fusion
> >> 3.1.2 on a MacBook Pro 13'' i5, and I want to do two things on
> >> the normal (startup) console:
> >>
> >> (1) use my apple keyboard, especially, scroll through console
> >> output
> >
> > man syscons | less -p'Back Scrolling'
>
> ... Says: press the `slock' key (with some PC keyboard
> description). However, I have got a MB Pro where no such key is
> available. Thus, I may repeat my question: How can I get console
> scolling working on my MacBook Pro 13''?
>
> >> (2) have a screen resolution of at least 800x600.
> >
> > vidcontrol(1) can set different modes, potentially including
> > VESA_800x600. What's available depends on the video card BIOS
> > and you'll probably have to build a kernel with SC_PIXEL_MODE.
> >
> >> Both things seem to be no particular problem in X11, however,
> >> I cannot find advices for the normal console.
> >
> > Unless you're trying to emulate a machine without X11 for a
> > particular purpose, xterms are more versatile than consoles.
> > It's probably possible to get a console-like stack of fullscreen
> > xterms with one of the mouseless window managers.
>
> Thanks, the vidcontrol tip helped a lot.
>
> *S*
>
> --
> Sascha Vieweg, saschaview at gmail.com
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 18 Apr 2011 11:45:26 -0700
> From: Chuck Swiger <cswiger at mac.com>
> Subject: Re: FreeBSD VMWare Mac screen resulution and keyboard map
> To: Sascha Vieweg <saschaview at gmail.com>
> Cc: freebsd-questions at freebsd.org
> Message-ID: <9463D100-A35C-479E-9057-2E3531D6A858 at mac.com>
> Content-Type: text/plain; CHARSET=US-ASCII
>
> On Apr 18, 2011, at 11:35 AM, Sascha Vieweg wrote:
> >> man syscons | less -p'Back Scrolling'
> >
> > ... Says: press the `slock' key (with some PC keyboard description).
> However, I have got a MB Pro where no such key is available. Thus, I may
> repeat my question: How can I get console scolling working on my MacBook Pro
> 13''?
>
> slock is the key above the home key; on an Apple A1048 USB keyboard, that
> is labelled F15. I don't think the 13" Macbook Pro has that key available,
> so you might have to attach an external USB keyboard.
>
> Try dmesg | less instead, or using SSH from a handy terminal emulator with
> scrolling windows (like Terminal.app from the base MacOS X) is likely to be
> easier...
>
> Regards,
> --
> -Chuck
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 18 Apr 2011 15:11:29 -0400
> From: David Scheidt <dscheidt at panix.com>
> Subject: Re: FreeBSD VMWare Mac screen resulution and keyboard map
> To: Chuck Swiger <cswiger at mac.com>
> Cc: freebsd-questions at freebsd.org, Sascha Vieweg
> <saschaview at gmail.com>
> Message-ID: <4B8756D6-A770-4EC8-AEFC-21DE2F260D58 at panix.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> On Apr 18, 2011, at 2:45 PM, Chuck Swiger wrote:
>
> > On Apr 18, 2011, at 11:35 AM, Sascha Vieweg wrote:
> >>> man syscons | less -p'Back Scrolling'
> >>
> >> ... Says: press the `slock' key (with some PC keyboard description).
> However, I have got a MB Pro where no such key is available. Thus, I may
> repeat my question: How can I get console scolling working on my MacBook Pro
> 13''?
> >
> > slock is the key above the home key; on an Apple A1048 USB keyboard, that
> is labelled F15. I don't think the 13" Macbook Pro has that key available,
> so you might have to attach an external USB keyboard.
>
> fn-shift-f12 should be scroll lock. At least, it is when the hardware runs
> windows....
>
> ------------------------------
>
> Message: 8
> Date: Mon, 18 Apr 2011 15:18:17 -0400
> From: Steven Friedrich <freebsd at insightbb.com>
> Subject: Unable to find an appropriate lock to guard the shared cache.
> This *should* be essentially impossible
> To: freebsd-questions at freebsd.org
> Message-ID: <201104181518.18127.freebsd at insightbb.com>
> Content-Type: Text/Plain; charset="us-ascii"
>
> I tried searching the archives, but didn't get hits.
>
> Goggle hits revealed little info.
>
> Unable to find an appropriate lock to guard the shared cache. This
> *should*
> be essentially impossible
> --
> System Name: doris.StevenFriedrich.org
> Window Manager(s): kde4-4.6.2
> X Window System: xorg-7.5.1 X.Org X Server 1.7.7
> OS version: FreeBSD 8.2-RELEASE i386 (5.9 MB kernel)
> Platform: HP pavilion zd8000 (zd8215us)
> CPU: 2.40GHz Intel Pentium 4 with 511 MB memory
>
> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
> Installed devices:
> pcm0: <CMedia CMI8738> (play/rec) default
>
>
> ------------------------------
>
> Message: 9
> Date: Mon, 18 Apr 2011 19:23:25 +0000
> From: Gautham Ganapathy <gautham at lisphacker.org>
> Subject: Re: ZFS on USB / Sound on alienware m11x
> To: questions at freebsd.org
> Message-ID: <BANLkTi=FxgD=-jCG7gv6Jp0n++LOZg482Q at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Apr 18, 2011 at 4:58 PM, Gautham Ganapathy
> <gautham at lisphacker.org> wrote:
> > Hi
> >
> > I am trying out FreeBSD on ZFS using the PC-BSD 8.2 installer. I have
> > it installed on a Western Digital USB HDD connected to an Alienware
> > m11x laptop. It seems to work well except that once in a while, any
> > application performing a write freezes for a few seconds (around 15 or
> > so) and looking at top shows their states to be in zio. Is this
> > because it was installed on a USB drive?
> >
> > I am trying to get sound working on the laptop. After starting snd_hda
> > at boot, two devices are found and dmesg shows the following
> >
> > hdac0: <NVidia (Unknown) High Definition Audio Controller> mem
> > 0xf1000000-0xf1003fff irq 17 at device 0.1 on pci1
> > hdac0: HDA Driver Revision: 20100226_0142
> > hdac0: [ITHREAD]
> >
> > hdac1: <Intel 82801I High Definition Audio Controller> mem
> > 0xf1600000-0xf1603fff irq 22 at device 27.0 on pci0
> > hdac1: HDA Driver Revision: 20100226_0142
> > hdac1: [ITHREAD]
> >
> > hdac0: HDA Codec #0: NVidia (Unknown)
> > hdac0: HDA Codec #1: NVidia (Unknown)
> > hdac0: HDA Codec #2: NVidia (Unknown)
> > hdac0: HDA Codec #3: NVidia (Unknown)
> >
> > pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 0 nid 1 on hdac0
> > pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 1 nid 1 on hdac0
> > pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 2 nid 1 on hdac0
> > pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 3 nid 1 on hdac0
> >
> > hdac1: HDA Codec #0: Realtek ALC665
> > pcm4: <HDA Realtek ALC665 PCM #0 Analog> at cad 0 nid 1 on hdac1
> > pcm5: <HDA Realtek ALC665 PCM #1 Analog> at cad 0 nid 1 on hdac1
> >
> > I think the NVIDIA device is for the HDMI output, while the Realtek
> > codec is for the normal audio.
> >
> > Under /dev, I can see six devices dsp0.0,dsp1.1,dsp2.1,dsp3.1,dsp4.0
> > and dsp5.1. I tried playing an mp3 file using mpg123 and gave each of
> > these devices using the -a option, but none of them worked. The output
> > tab under the GNOME sound preferences shows the devices dsp0, dsp1,
> > dsp2, dsp3, dsp4 and dsp5. None of them seem to work either.
> >
> > Any ideas on how to get the wound working?
> >
> > Gautham
> >
>
> Update: This is strange. Apparently, sound works under VLC (default
> settings) , but not on Totem, flash or mpg123.
>
> Gautham
>
>
> ------------------------------
>
> Message: 10
> Date: Mon, 18 Apr 2011 16:20:25 -0500
> From: "Ragona, Derek" <DRagona at enovafinancial.com>
> Subject: RE: 3par iscsi with 8.2?
> To: 'timp' <timp87 at gmail.com>, "freebsd-questions at freebsd.org"
> <freebsd-questions at freebsd.org>
> Message-ID:
> <C93C6040F2341C439EB02C19F626EA7609A5918662 at CORPMAIL1.casham.com>
> Content-Type: text/plain; charset="us-ascii"
>
> ----Original Message-----
> From: owner-freebsd-questions at freebsd.org [mailto:
> owner-freebsd-questions at freebsd.org] On Behalf Of timp
> Sent: Saturday, April 16, 2011 1:25 PM
> To: freebsd-questions at freebsd.org
> Subject: Re: 3par iscsi with 8.2?
>
> No, I`m not. But have some experience in iscsi.
> What kind of trouble do you have?
> [Ragona, Derek]
> Here is the configuration and Systems calls trace output:
>
> Conf:
> path1 {
> targetaddress= 10.44.2.20
> targetname = iqn.2000-05.com.3pardata:22110002ac000aba
> iqn = iqn.2010-09.com.enovafinancial:01:nut.postgres01
> initiatorName = iqn.2010-09.com.enovafinancial:01:nut.postgres01
> authmethod = none
> tags = 256
> }
>
> Discovery session:
> postgres01# iscontrol -v -n path1 -d
> port = 3260
> tags = 256
> maxluns = 0
> iqn = iqn.2010-09.com.enovafinancial:01:nut.postgres01
> maxConnections = 1
> maxRecvDataSegmentLength = 65536
> maxXmitDataSegmentLength = 65536
> maxBurstLength = 131072
> firstBurstLength = 65536
> defaultTime2Wait = 0
> defaultTime2Retain = 0
> maxOutstandingR2T = 1
> errorRecoveryLevel = 0
> targetPortalGroupTag = 0
> headerDigest = None,CRC32C
> dataDigest = None,CRC32C
> initialR2T = 1
> immediateData = 1
> dataPDUInOrder = 1
> dataSequenceInOrder = 1
> sessionType = Normal
> targetAddress = 10.44.2.20
> targetAlias = (null)
> targetName = iqn.2000-05.com.3pardata:22110002ac000aba
> initiatorName = iqn.2010-09.com.enovafinancial:01:nut.postgres01
> initiatorAlias = (null)
> authMethod = none
> chapSecret = (null)
> chapIName = (null)
> tgtChapName = (null)
> tgtChapSecret = (null)
> tgttgtChallengeLen = 0
> I-: cmd=0x3 len=310
> SessionType=Discovery
> InitiatorName=iqn.2010-09.com.enovafinancial:01:nut.postgres01
> MaxBurstLength=131072
> HeaderDigest=None,CRC32C
> DataDigest=None,CRC32C
> MaxRecvDataSegmentLength=65536
> ErrorRecoveryLevel=0
> DefaultTime2Wait=0
> DefaultTime2Retain=0
> DataPDUInOrder=Yes
> DataSequenceInOrder=Yes
> MaxOutstandingR2T=1
> T-: cmd=0x23 len=269
> TargetPortalGroupTag=211
> MaxBurstLength=131072
> HeaderDigest=None
> DataDigest=None
> MaxRecvDataSegmentLength=65536
> ErrorRecoveryLevel=0
> DefaultTime2Wait=2
> DefaultTime2Retain=20
> DataPDUInOrder=Yes
> DataSequenceInOrder=Yes
> MaxOutstandingR2T=1
> InitialR2T=Yes
> ImmediateData=No
> I-: cmd=0x4 len=16
> SendTargets=All
> T-: cmd=0x24 len=87
> TargetName=iqn.2000-05.com.3pardata:22110002ac000aba
> TargetAddress=10.44.2.20:3260,211
> TargetName=iqn.2000-05.com.3pardata:22110002ac000aba
> TargetAddress=10.44.2.20:3260,211
> I-: cmd=0x6 len=0
> T-: cmd=0x26 len=0
> postgres01#
>
> Login session:
> postgres01# iscontrol -v -n path1
> port = 3260
> tags = 256
> maxluns = 0
> iqn = iqn.2010-09.com.enovafinancial:01:nut.postgres01
> maxConnections = 1
> maxRecvDataSegmentLength = 65536
> maxXmitDataSegmentLength = 65536
> maxBurstLength = 131072
> firstBurstLength = 65536
> defaultTime2Wait = 0
> defaultTime2Retain = 0
> maxOutstandingR2T = 1
> errorRecoveryLevel = 0
> targetPortalGroupTag = 0
> headerDigest = None,CRC32C
> dataDigest = None,CRC32C
> initialR2T = 1
> immediateData = 1
> dataPDUInOrder = 1
> dataSequenceInOrder = 1
> sessionType = Normal
> targetAddress = 10.44.2.20
> targetAlias = (null)
> targetName = iqn.2000-05.com.3pardata:22110002ac000aba
> initiatorName = iqn.2010-09.com.enovafinancial:01:nut.postgres01
> initiatorAlias = (null)
> authMethod = none
> chapSecret = (null)
> chapIName = (null)
> tgtChapName = (null)
> tgtChapSecret = (null)
> tgttgtChallengeLen = 0
> I-: cmd=0x3 len=433
> SessionType=Normal
> InitiatorName=iqn.2010-09.com.enovafinancial:01:nut.postgres01
> TargetName=iqn.2000-05.com.3pardata:22110002ac000aba
> MaxBurstLength=131072
> HeaderDigest=None,CRC32C
> DataDigest=None,CRC32C
> MaxRecvDataSegmentLength=65536
> ErrorRecoveryLevel=0
> DefaultTime2Wait=0
> DefaultTime2Retain=0
> DataPDUInOrder=Yes
> DataSequenceInOrder=Yes
> MaxOutstandingR2T=1
> MaxConnections=1
> FirstBurstLength=65536
> InitialR2T=Yes
> ImmediateData=Yes
> T-: cmd=0x23 len=267
> MaxBurstLength=131072
> HeaderDigest=None
> DataDigest=None
> MaxRecvDataSegmentLength=65536
> ErrorRecoveryLevel=0
> DefaultTime2Wait=2
> DefaultTime2Retain=20
> DataPDUInOrder=Yes
> DataSequenceInOrder=Yes
> MaxOutstandingR2T=1
> FirstBurstLength=65536
> InitialR2T=Yes
> ImmediateData=No
> ready to go scsi
> iscontrol[55209]: running
> postgres01# iscontrol[55209]: no device found
> iscontrol[55209]: terminated
>
>
> [Ragona, Derek]
> We keep getting the no device found.
>
> Any help would be appreciated.
>
> -Derek
>
>
>
> ------------------------------
>
> Message: 11
> Date: Mon, 18 Apr 2011 14:30:39 -0700
> From: Chuck Swiger <cswiger at mac.com>
> Subject: Re: Unable to find an appropriate lock to guard the shared
> cache. This *should* be essentially impossible
> To: Steven Friedrich <FreeBSD at insightbb.com>
> Cc: freebsd-questions at freebsd.org
> Message-ID: <5A0EC731-722C-4250-BA41-108DBAC98BBB at mac.com>
> Content-Type: text/plain; CHARSET=US-ASCII
>
> On Apr 18, 2011, at 12:18 PM, Steven Friedrich wrote:
> > I tried searching the archives, but didn't get hits.
> >
> > Goggle hits revealed little info.
> >
> > Unable to find an appropriate lock to guard the shared cache. This
> *should*
> > be essentially impossible
>
> Does this thread help:
>
> http://forums.freebsd.org/showthread.php?p=130978
>
> Also, posting the output of "sysctl -a | grep kern.ipc.shm" might be
> helpful.
>
> Regards,
> --
> -Chuck
>
>
>
> ------------------------------
>
> Message: 12
> Date: Mon, 18 Apr 2011 20:53:41 -0500
> From: Antonio Olivares <olivares14031 at gmail.com>
> Subject: Re: can't determine sound card driver to use in /etc/rc.conf
> To: Craig Butler <craig001 at lerwick.hopto.org>
> Cc: FreeBSD Questions <freebsd-questions at freebsd.org>
> Message-ID: <BANLkTimx=+QppV17edyMwsh8RqjfosAJMg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Apr 18, 2011 at 9:32 AM, Craig Butler
> <craig001 at lerwick.hopto.org> wrote:
> > On Mon, 2011-04-18 at 08:40 -0500, Antonio Olivares wrote:
> >> Dear folks,
> >>
> >> On a new machine running AMD-64 XFCE custom by Manolis, I can't
> >> determine which sound driver to use for the sound card:
> >>
> >> grulla# kldload snd_driver
> >> grulla# cat /dev/sndstat
> >> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> >> Installed devices:
> >> pcm0: <HDA VIA VT1708B_1 PCM #0 Analog> (play/rec) default
> >> pcm1: <HDA VIA VT1708B_1 PCM #1 Analog> (play)
> >> pcm2: <HDA VIA VT1708B_1 PCM #2 Digital> (play)
> >> grulla# pciconf -l
> >> none0 at pci0:0:0:0: class=0x050000 card=0xcb8410de chip=0x03ea10de
> >> rev=0xa1 hdr=0x00
> >> isab0 at pci0:0:1:0: class=0x060100 card=0x34071565 chip=0x03e010de
> >> rev=0xa2 hdr=0x00
> >> none1 at pci0:0:1:1: class=0x0c0500 card=0x34071565 chip=0x03eb10de
> >> rev=0xa2 hdr=0x00
> >> none2 at pci0:0:1:2: class=0x050000 card=0x34071565 chip=0x03f510de
> >> rev=0xa2 hdr=0x00
> >> ohci0 at pci0:0:2:0: class=0x0c0310 card=0x34071565 chip=0x03f110de
> >> rev=0xa3 hdr=0x00
> >> ehci0 at pci0:0:2:1: class=0x0c0320 card=0x34071565 chip=0x03f210de
> >> rev=0xa3 hdr=0x00
> >> pcib1 at pci0:0:4:0: class=0x060401 card=0xcb8410de chip=0x03f310de
> >> rev=0xa1 hdr=0x01
> >> hdac0 at pci0:0:5:0: class=0x040300 card=0x81081565 chip=0x03f010de
> >> rev=0xa2 hdr=0x00
> >> atapci0 at pci0:0:6:0: class=0x01018a card=0x34071565 chip=0x03ec10de
> >> rev=0xa2 hdr=0x00
> >> nfe0 at pci0:0:7:0: class=0x068000 card=0x25051565 chip=0x03ef10de
> >> rev=0xa2 hdr=0x00
> >> atapci1 at pci0:0:8:0: class=0x010185 card=0x54051565 chip=0x03f610de
> >> rev=0xa2 hdr=0x00
> >> pcib2 at pci0:0:9:0: class=0x060400 card=0x000010de chip=0x03e810de
> >> rev=0xa2 hdr=0x01
> >> pcib3 at pci0:0:11:0: class=0x060400 card=0x000010de chip=0x03e910de
> >> rev=0xa2 hdr=0x01
> >> pcib4 at pci0:0:12:0: class=0x060400 card=0x000010de chip=0x03e910de
> >> rev=0xa2 hdr=0x01
> >> vgapci0 at pci0:0:13:0: class=0x030000 card=0x14051565 chip=0x03d010de
> >> rev=0xa2 hdr=0x00
> >> hostb0 at pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x12001022
> >> rev=0x00 hdr=0x00
> >> hostb1 at pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x12011022
> >> rev=0x00 hdr=0x00
> >> hostb2 at pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x12021022
> >> rev=0x00 hdr=0x00
> >> hostb3 at pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x12031022
> >> rev=0x00 hdr=0x00
> >> hostb4 at pci0:0:24:4: class=0x060000 card=0x00000000 chip=0x12041022
> >> rev=0x00 hdr=0x00
> >> ral0 at pci0:1:6:0: class=0x028000 card=0x25611814 chip=0x03011814
> >> rev=0x00 hdr=0x00
> >>
> >>
> >> mixer gives me the following:
> >>
> >> grulla# mixer
> >> Mixer vol is currently set to 75:75
> >> Mixer pcm is currently set to 75:75
> >> Mixer line is currently set to 75:75
> >> Mixer mic is currently set to 0:0
> >> Mixer rec is currently set to 75:75
> >> Mixer igain is currently set to 0:0
> >> Mixer ogain is currently set to 50:50
> >> Mixer monitor is currently set to 75:75
> >> Recording source: mic
> >>
> >>
> >> Thanks for your help/advice.
> >>
> >> Regards,
> >>
> >> Antonio
> >
> >
> > Hi Antonio
> >
> > Think you'll find it's a hda device...
> >
> > add snd_hda_load="YES" to /boot/loader.conf and it should be loaded next
> > time you boot the machine.
> >
> > If your not getting any sound, you might have to change the
> > hw.snd.default_auto sysctl to match your other inputs.
> >
> > Regards
> >
> > Craig B
>
> Thanks Craig,
>
> Apparently it works, but I put in some small speakers, but could not
> get music to play. Installed mplayer from within ports,
> # cd /usr/ports/multimedia/mplayer
> # make install clean
> and tried to play some mp3's and got a codec error :(, since machine
> is 64 bit installing codecs from mplayer site does not work :(, and
> linux compatibility is not installed. Sorry for drifting out of
> original sound problem, but I also tried to play a dvd and it failed
> to load since atapi cam was not in /boot/loader.conf because cd/dvd
> drive is old style(not SATA)
>
> 18.6.9 Using the ATAPI/CAM Driver
> Contributed by Marc Fonvieille.
>
> This driver allows ATAPI devices (CD-ROM, CD-RW, DVD drives etc...) to
> be accessed through the SCSI subsystem, and so allows the use of
> applications like sysutils/cdrdao or cdrecord(1).
>
> To use this driver, you will need to add the following line to the
> /boot/loader.conf file:
>
> NEEDED to add
> atapicam_load="YES"
> to /boot/loader.conf
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
>
> have added this to machine and will check tomorrow to see if sound is
> output by machine. Thanks for helping/advising.
>
> Regards,
>
> Antonio
>
>
> ------------------------------
>
> Message: 13
> Date: Tue, 19 Apr 2011 04:32:07 +0200
> From: Polytropon <freebsd at edvax.de>
> Subject: Re: can't determine sound card driver to use in /etc/rc.conf
> To: Antonio Olivares <olivares14031 at gmail.com>
> Cc: FreeBSD Questions <freebsd-questions at freebsd.org>
> Message-ID: <20110419043207.0932f0a9.freebsd at edvax.de>
> Content-Type: text/plain; charset=US-ASCII
>
> On Mon, 18 Apr 2011 20:53:41 -0500, Antonio Olivares <
> olivares14031 at gmail.com> wrote:
> > Apparently it works, but I put in some small speakers, but could not
> > get music to play.
>
> On some machines, speakers do not activate automatically,
> they need a "driver" that switches the connector to active.
> Also check mixer settings. ALWAYS check them. :-)
>
>
>
> > Installed mplayer from within ports,
> > # cd /usr/ports/multimedia/mplayer
> > # make install clean
> > and tried to play some mp3's and got a codec error :(, since machine
> > is 64 bit installing codecs from mplayer site does not work :(, and
> > linux compatibility is not installed.
>
> Use command line tools like madplay or mpg123 for testing.
> Also consider using xmms as a versatile MP3 (and OGG/Vorbis)
> media player.
>
>
>
> > Sorry for drifting out of
> > original sound problem, but I also tried to play a dvd and it failed
> > to load since atapi cam was not in /boot/loader.conf because cd/dvd
> > drive is old style(not SATA)
>
> That doesn't matter. I have parallel ATA devices here that
> play nicely with ATAPICAM (mainly in use for CD and DVD
> recording). But you shouldn't need to have ATAPICAM in order
> to play DVDs. I know that mplayer has a configuration option
> for that... maybe it's sufficient to link /dev/acd0 to /dev/dvd
> (per /etc/devfs.conf) to provide the default location, or
> use -dvd-device <dev> to name it on the command line. Also
> make sure you have the required codecs installed. Going
> through "make config" in mplayer (or mencoder) is always
> a good choice.
>
>
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>
>
> ------------------------------
>
> Message: 14
> Date: Mon, 18 Apr 2011 23:39:32 -0700 (PDT)
> From: timp <timp87 at gmail.com>
> Subject: RE: 3par iscsi with 8.2?
> To: freebsd-questions at freebsd.org
> Message-ID: <1303195172621-4312612.post at n5.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> > iqn = iqn.2010-09.com.enovafinancial:01:nut.postgres01
> > authmethod = none
>
> I think you don't need such lines in iscsi.conf
>
>
> > Login session:
> > postgres01# iscontrol -v -n path1
>
> After that what do you see in 'dmesg -a'?
> And do you have logs at the iscsi target (3par)?
>
> --
> View this message in context:
> http://freebsd.1045724.n5.nabble.com/3par-iscsi-with-8-2-tp4306095p4312612.html
> Sent from the freebsd-questions mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 15
> Date: Tue, 19 Apr 2011 10:58:29 +0300
> From: bw <bw.mail.lists at gmail.com>
> Subject: Re: ZFS on USB / Sound on alienware m11x
> To: freebsd-questions at freebsd.org
> Message-ID: <1303199909.11924.6.camel at amnesiac.contorgroup.ro>
> Content-Type: text/plain; charset="UTF-8"
>
> On Mon, 2011-04-18 at 19:23 +0000, Gautham Ganapathy wrote:
> > > Under /dev, I can see six devices dsp0.0,dsp1.1,dsp2.1,dsp3.1,dsp4.0
> > > and dsp5.1. I tried playing an mp3 file using mpg123 and gave each of
> > > these devices using the -a option, but none of them worked. The output
> > > tab under the GNOME sound preferences shows the devices dsp0, dsp1,
> > > dsp2, dsp3, dsp4 and dsp5. None of them seem to work either.
> > >
> > > Any ideas on how to get the wound working?
> > >
> > > Gautham
> > >
> >
> > Update: This is strange. Apparently, sound works under VLC (default
> > settings) , but not on Totem, flash or mpg123.
>
> I had the same problem. Sound is being sent to /dev/dsp0 by default,
> which is the NV card. Try setting hw.snd.default_unit with sysctl.
> Probably "sysctl hw.snd.default_unit=4" would work, from what I see, you
> should hear sound if you cat a file to /dev/dsp4.
>
>
>
> ------------------------------
>
> Message: 16
> Date: Tue, 19 Apr 2011 11:35:47 +0300
> From: "H.Erkin ATAK" <erkin.atak at gmail.com>
> Subject: pkg_add problem
> To: freebsd-questions at FreeBSD.org
> Message-ID: <1303202147.1799.1.camel at atak-laptop>
> Content-Type: text/plain; charset="UTF-8"
>
> I am running freebsd 8.2 on virtualbox on an ubuntu machine.
>
> I am running gnome and have network access no problem.
>
> But I can not add any packages via pkg_add.
>
> It gives can not fetch ftp address.
>
> I tried different mirrors but it did not work.
>
> Please help me.
>
>
>
> ------------------------------
>
> Message: 17
> Date: Tue, 19 Apr 2011 10:35:55 +0100
> From: krad <kraduk at gmail.com>
> Subject: Re: pkg_add problem
> To: "H.Erkin ATAK" <erkin.atak at gmail.com>
> Cc: freebsd-questions at freebsd.org
> Message-ID: <BANLkTinNNo+6QFSTB9Zysie6Y9B4YrALWw at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 19 April 2011 09:35, H.Erkin ATAK <erkin.atak at gmail.com> wrote:
>
> > I am running freebsd 8.2 on virtualbox on an ubuntu machine.
> >
> > I am running gnome and have network access no problem.
> >
> > But I can not add any packages via pkg_add.
> >
> > It gives can not fetch ftp address.
> >
> > I tried different mirrors but it did not work.
> >
> > Please help me.
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe at freebsd.org"
> >
>
>
> use the -r and -v flags and post the output
>
>
> ------------------------------
>
> Message: 18
> Date: Tue, 19 Apr 2011 11:37:14 +0200
> From: Matthias Apitz <guru at unixarea.de>
> Subject: Re: pkg_add problem
> To: "H.Erkin ATAK" <erkin.atak at gmail.com>
> Cc: freebsd-questions at FreeBSD.org
> Message-ID: <20110419093713.GA19418 at sh4-5.1blu.de>
> Content-Type: text/plain; charset=iso-8859-1
>
> El día Tuesday, April 19, 2011 a las 11:35:47AM +0300, H.Erkin ATAK
> escribió:
>
> > I am running freebsd 8.2 on virtualbox on an ubuntu machine.
> >
> > I am running gnome and have network access no problem.
> >
>
> what does this mean 'have network access' exactly?
>
> > But I can not add any packages via pkg_add.
> >
> > It gives can not fetch ftp address.
> >
> > I tried different mirrors but it did not work.
> >
> > Please help me.
>
> try fetching any pkg by hand using fetch(1) with something like
>
> # fetch ftp://.....
>
> HIH
>
> matthias
> --
> Matthias Apitz
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e <guru at unixarea.de> - w http://www.unixarea.de/
> ¡Ya basta! ¡Imperialistas occidentales, quitad las manos de Libia!
> There's an end of it! Imperialists occidentals, hands off Libya!
> Schluss jetzt endlich! Imperialisten des Westens, Haende weg von Libyen!
>
>
> ------------------------------
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
> End of freebsd-questions Digest, Vol 359, Issue 2
> *************************************************
>
More information about the freebsd-questions
mailing list