Re: make in ports not working

2007-02-20 Thread Brad Kowalczyk

Kris Kennaway wrote:

On Tue, Feb 20, 2007 at 11:57:19AM +1100, Brad Kowalczyk wrote:


Kris Kennaway wrote:


On Tue, Feb 20, 2007 at 10:50:35AM +1100, Brad Kowalczyk wrote:



Hi

I get the following error when trying to make from the ports tree:

/usr/ports/Mk/bsd.port.mk, line 2292: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2292: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2292: Malformed conditional 
(((${OSVERSION}  504105 || (${OSVERSION} = 60  ${OSVERSION}  
600103) || (${OSVERSION} = 70  ${OSVERSION}  700012))  
${PKGORIGIN} != ports-mgmt/pkg_install) || 
exists(${LOCALBASE}/sbin/pkg_info))
/usr/ports/Mk/bsd.port.mk, line 2293: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2293: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2293: Malformed conditional 
((${OSVERSION}  504105 || (${OSVERSION} = 60  ${OSVERSION}  
600103) || (${OSVERSION} = 70  ${OSVERSION}  700012))  
${PKGORIGIN} != ports-mgmt/pkg_install)

/usr/ports/Mk/bsd.port.mk, line 2308: if-less else
/usr/ports/Mk/bsd.port.mk, line 2308: Need an operator
/usr/ports/Mk/bsd.port.mk, line 2322: if-less endif
/usr/ports/Mk/bsd.port.mk, line 2322: Need an operator
/usr/ports/Mk/bsd.port.mk, line 5987: if-less endif
/usr/ports/Mk/bsd.port.mk, line 5987: Need an operator
make: fatal errors encountered -- cannot continue

Any help appreciated

Also I am not subscribed to the list so reply-all.



You forgot to mention which version of FreeBSD you're running, but
it's probably an ancient one that is no longer supported.

Kris




yup ok its an ancient one:
su-2.05a# uname -v
FreeBSD 4.8-RELEASE : Tue Apr  8 11:35:48 GMT 2003

I am stuck with it (its a virtual server) so is there any way i can get 
ports working? I just love 'portinstall xyz'!



FreeBSD 4 is no longer supported in any way by ports, update to 6.2 or
make do with out-of-date ports that will never again be updated (you
can use the RELEASE_4_EOL tag until you can upgrade the box).

Kris




Thanks for your advice Kris. Unfortunately I just rent the virtual 
server so I dont think I am going to be able to upgrade the OS.


Cheers,

Brad
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make in ports not working

2007-02-20 Thread Brad Kowalczyk

Hi

I get the following error when trying to make from the ports tree:

/usr/ports/Mk/bsd.port.mk, line 2292: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2292: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2292: Malformed conditional 
(((${OSVERSION}  504105 || (${OSVERSION} = 60  ${OSVERSION}  
600103) || (${OSVERSION} = 70  ${OSVERSION}  700012))  
${PKGORIGIN} != ports-mgmt/pkg_install) || 
exists(${LOCALBASE}/sbin/pkg_info))
/usr/ports/Mk/bsd.port.mk, line 2293: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2293: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2293: Malformed conditional 
((${OSVERSION}  504105 || (${OSVERSION} = 60  ${OSVERSION}  
600103) || (${OSVERSION} = 70  ${OSVERSION}  700012))  
${PKGORIGIN} != ports-mgmt/pkg_install)

/usr/ports/Mk/bsd.port.mk, line 2308: if-less else
/usr/ports/Mk/bsd.port.mk, line 2308: Need an operator
/usr/ports/Mk/bsd.port.mk, line 2322: if-less endif
/usr/ports/Mk/bsd.port.mk, line 2322: Need an operator
/usr/ports/Mk/bsd.port.mk, line 5987: if-less endif
/usr/ports/Mk/bsd.port.mk, line 5987: Need an operator
make: fatal errors encountered -- cannot continue

Any help appreciated

Also I am not subscribed to the list so reply-all.

Cheers,

Brad
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make in ports not working

2007-02-20 Thread Brad Kowalczyk

Kris Kennaway wrote:

On Tue, Feb 20, 2007 at 10:50:35AM +1100, Brad Kowalczyk wrote:


Hi

I get the following error when trying to make from the ports tree:

/usr/ports/Mk/bsd.port.mk, line 2292: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2292: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2292: Malformed conditional 
(((${OSVERSION}  504105 || (${OSVERSION} = 60  ${OSVERSION}  
600103) || (${OSVERSION} = 70  ${OSVERSION}  700012))  
${PKGORIGIN} != ports-mgmt/pkg_install) || 
exists(${LOCALBASE}/sbin/pkg_info))
/usr/ports/Mk/bsd.port.mk, line 2293: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2293: warning: String comparison 
operator should be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2293: Malformed conditional 
((${OSVERSION}  504105 || (${OSVERSION} = 60  ${OSVERSION}  
600103) || (${OSVERSION} = 70  ${OSVERSION}  700012))  
${PKGORIGIN} != ports-mgmt/pkg_install)

/usr/ports/Mk/bsd.port.mk, line 2308: if-less else
/usr/ports/Mk/bsd.port.mk, line 2308: Need an operator
/usr/ports/Mk/bsd.port.mk, line 2322: if-less endif
/usr/ports/Mk/bsd.port.mk, line 2322: Need an operator
/usr/ports/Mk/bsd.port.mk, line 5987: if-less endif
/usr/ports/Mk/bsd.port.mk, line 5987: Need an operator
make: fatal errors encountered -- cannot continue

Any help appreciated

Also I am not subscribed to the list so reply-all.



You forgot to mention which version of FreeBSD you're running, but
it's probably an ancient one that is no longer supported.

Kris




yup ok its an ancient one:
su-2.05a# uname -v
FreeBSD 4.8-RELEASE : Tue Apr  8 11:35:48 GMT 2003

I am stuck with it (its a virtual server) so is there any way i can get 
ports working? I just love 'portinstall xyz'!


Cheers,

Brad
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


boot fails with panic: ffs_valloc: dup alloc

2007-02-06 Thread Brad Kowalczyk

Hi

I woke up this morning to my FreeBSD box rebooting
and then displaying:

panic: ffs_valloc: dup alloc

before wanting to reboot again.

I knoticed some warnings about filesystems not being
properly dismounted and at the very start some message
that looks like it says that there is a syntax error
in the bootloader config or something (it scrolls by
too fast for me to get a good look)

I am presuming a have a corrupted file system?
Any ideas on how to get this fixed?

TIA,

Brad
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nforce audio problem

2006-08-20 Thread Brad Kowalczyk

Hi Greg,

Greg 'groggy' Lehey wrote:

[Format recovered--see http://www.lemis.com/email/email-format.html]

Computer output wrapped.

On Sunday, 20 August 2006 at  4:44:06 +, Brad Kowalczyk wrote:
  

Hi,

Just wondering if anyone has any experience getting sound working for an
nforce1 motherboard?



Heh.  Just what I've been playing with right now.

  

Seems I have the correct driver loaded and the device exists but no
sound...



It would be good to say which one (kldstat output), but from below I
expect you'll have:

Id Refs AddressSize Name
 61 0xc5577000 5000 snd_ich.ko
 71 0xc557c000 1d000sound.ko
  

Here's my kldstat output:

Id Refs AddressSize Name
51 0xc0a43000 328c snd_driver.ko
62 0xc0a47000 45b8 snd_vibes.ko
7   29 0xc0a4c000 1d4fcsound.ko
82 0xc0a6a000 46c8 snd_via82c686.ko
92 0xc0a6f000 47dc snd_via8233.ko
102 0xc0a74000 4664 snd_t4dwave.ko
112 0xc0a79000 4604 snd_solo.ko
125 0xc0a7e000 49ec snd_sbc.ko
132 0xc0a83000 4de4 snd_sb16.ko
142 0xc0a88000 49fc snd_sb8.ko
152 0xc0a8d000 1095csnd_neomagic.ko
163 0xc0a9e000 b6f8 snd_mss.ko
172 0xc0aaa000 944c snd_maestro3.ko
182 0xc0ab4000 7200 snd_maestro.ko
192 0xc0abc000 59c4 snd_ich.ko
202 0xc0ac2000 4974 snd_fm801.ko
213 0xc0ac7000 505c snd_ess.ko
222 0xc0acd000 62ac snd_es137x.ko
232 0xc0ad4000 7494 snd_emu10k1.ko
242 0xc0adc000 bfe4 snd_ds1.ko
254 0xc0ae8000 7464 snd_csa.ko
262 0xc0af 443c snd_cs4281.ko
272 0xc0af5000 517c snd_cmi.ko
282 0xc0afb000 4e1c snd_als4000.ko
292 0xc0b0 4c9c snd_ad1816.ko

I reallise I don't need all those other sound drivers, but can't seem tp 
find where to disable them...
  

Some info:

# pciconf -vl

snip

[EMAIL PROTECTED]:5:0: class=0x040100 card=0x37301462 chip=0x01b010de rev=0xc2
hdr=0x00
   vendor   = 'NVIDIA Corporation'
   device   = 'nForce MCP Audio Processing Unit (Dolby Digital)'
   class= multimedia
   subclass = audio
[EMAIL PROTECTED]:6:0:  class=0x040100 card=0x37301462 chip=0x01b110de rev=0xc2
hdr=0x00
   vendor   = 'NVIDIA Corporation'
   device   = 'nForce MCP Audio Codec Interface'
   class= multimedia
   subclass = audio



I have:

[EMAIL PROTECTED]:6:0:  class=0x040100 card=0x57001462 chip=0x006a10de rev=0xa1 
hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce MCP-T Audio Codec Interface'
class= multimedia
subclass = audio

I don't have the APU.

  

# dmesg | grep pcm
pcm0: nVidia nForce port 0xe400-0xe47f,0xe000-0xe0ff mem 
0xdc18-0xdc180fff irq 16 at device 6.0 on pci0
pcm0: Analog Devices AD1885 AC97 Codec
Interrupt storm detected on irq16: pcm0 nv0++; throttling interrupt source



pcm0: nVidia nForce2 port 0xe400-0xe4ff,0xe800-0xe87f mem 
0xe400-0xe4000fff irq 21 at device 6.0 on pci0
pcm0: Avance Logic ALC655 AC97 Codec

Looks pretty much the same, except that the chipset is slightly
different.  The important message is the last one: Interrupt storm.
That's the problem; I don't have a real answer, but what version of
FreeBSD are you running?  It might also help if you can connect the
pcm device to a different IRQ from the nv device; but that depends on
your motherboard BIOS.
  
I'm running 5.4 STABLE. I don't have much experience on FreeBSD, how do 
I change the IRQ for a device?


Cheers,

Brad

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nforce audio problem

2006-08-20 Thread Brad Kowalczyk

Greg 'groggy' Lehey wrote:

On Sunday, 20 August 2006 at 10:47:17 +, Brad Kowalczyk wrote:
  

Greg 'groggy' Lehey wrote:


On Sunday, 20 August 2006 at  4:44:06 +, Brad Kowalczyk wrote:
  

Seems I have the correct driver loaded and the device exists but no
sound...


It would be good to say which one (kldstat output), but from below I
expect you'll have:

...
  

Here's my kldstat output:

(all drivers loaded)

I reallise I don't need all those other sound drivers, but can't
seem tp find where to disable them...



That depends on how you enabled them :-) You should have something
like this in /var/run/dmesg.boot:

  pcm0: nVidia nForce2 port 0xe400-0xe4ff,0xe800-0xe87f mem 
0xeb00-0xeb000fff irq 21 at device 6.0 on pci0
  pcm0: Avance Logic ALC655 AC97 Codec
  

yes:

pcm0: nVidia nForce port 0xe400-0xe47f,0xe000-0xe0ff mem 
0xdc18-0xdc180fff irq 16 at device 6.0 on pci0

pcm0: Analog Devices AD1885 AC97 Codec

In this case, you should add to your /boot/loader.conf (creating the
file if it doesn't exist):

  snd_ich_load=YES
  

yes I have that
  

It might also help if you can connect the pcm device to a different
IRQ from the nv device; but that depends on your motherboard BIOS.
  

I'm running 5.4 STABLE. I don't have much experience on FreeBSD, how do
I change the IRQ for a device?



As I say,

  

that depends on your motherboard BIOS.
  


I'd look in the PCI device configuration first.

It might also help to move to 6.1.  I had problems with sound on this
board until I did
I attempted to upgrade to 6.1 last week. All went well until make 
installkernel  where I got a 'no disk space' error part way through.
I ended up doing a complete reinstall as I somehow ended up with an 
unbootable system.


I'll keep fiddling about anyhow. Thanks for your input.

BTW love your brewing fridge! Got to get me one of those :)

Cheers,

Brad
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nforce audio problem

2006-08-19 Thread Brad Kowalczyk

Hi,

Just wondering if anyone has any experience getting sound working for an 
nforce1 motherboard?


Seems I have the correct driver loaded and the device exists but no sound...

Some info:

# pciconf -vl

snip

[EMAIL PROTECTED]:5:0: class=0x040100 card=0x37301462 chip=0x01b010de rev=0xc2 
hdr=0x00

   vendor   = 'NVIDIA Corporation'
   device   = 'nForce MCP Audio Processing Unit (Dolby Digital)'
   class= multimedia
   subclass = audio
[EMAIL PROTECTED]:6:0:  class=0x040100 card=0x37301462 chip=0x01b110de rev=0xc2 
hdr=0x00

   vendor   = 'NVIDIA Corporation'
   device   = 'nForce MCP Audio Codec Interface'
   class= multimedia
   subclass = audio


kldload snd_ich.ko
kldload: can't load snd_ich.ko: File exists


localhost# sysctl -a | grep snd
hw.snd.targetirqrate: 32
hw.snd.report_soft_formats: 1
hw.snd.verbose: 1
hw.snd.unit: 0
hw.snd.maxautovchans: 4
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 4
hw.snd.pcm0.ac97rate: 48000

# dmesg | grep pcm
pcm0: nVidia nForce port 0xe400-0xe47f,0xe000-0xe0ff mem 
0xdc18-0xdc180fff irq 16 at device 6.0 on pci0

pcm0: Analog Devices AD1885 AC97 Codec
Interrupt storm detected on irq16: pcm0 nv0++; throttling interrupt source

Any help appreciated :)

Cheers,

Brad

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]