fvwm-2.6.4 dumps core on 9.0-RELEASE

2012-02-20 Thread WATANABE Kazuhiro
Hi, all.

I have updated my window manager (x11-wm/fvwm2) from 2.6.3 to 2.6.4.
It compiled on 9.0-RELEASE/i386 with the default option settings.

After the update, fvwm2 crashes randomly and dumps core.
Does anyone have a similar problem?

Here is the stack trace:

capricorn:~ {1} gdb /usr/local/bin/fvwm fvwm.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...
Core was generated by `fvwm'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libXft.so.2...done.
Loaded symbols for /usr/local/lib/libXft.so.2
Reading symbols from /usr/local/lib/libX11.so.6...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /usr/local/lib/libfreetype.so.9...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libXrender.so.1...done.
Loaded symbols for /usr/local/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libXpm.so.4...done.
Loaded symbols for /usr/local/lib/libXpm.so.4
Reading symbols from /usr/local/lib/libSM.so.6...done.
Loaded symbols for /usr/local/lib/libSM.so.6
Reading symbols from /usr/local/lib/libICE.so.6...done.
Loaded symbols for /usr/local/lib/libICE.so.6
Reading symbols from /usr/local/lib/libXinerama.so.1...done.
Loaded symbols for /usr/local/lib/libXinerama.so.1
Reading symbols from /usr/local/lib/libXext.so.6...done.
Loaded symbols for /usr/local/lib/libXext.so.6
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libXcursor.so.1...done.
Loaded symbols for /usr/local/lib/libXcursor.so.1
Reading symbols from /usr/local/lib/libpng.so.6...done.
Loaded symbols for /usr/local/lib/libpng.so.6
Reading symbols from /lib/libz.so.6...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/local/lib/libintl.so.9...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libxcb.so.2...done.
Loaded symbols for /usr/local/lib/libxcb.so.2
Reading symbols from /usr/local/lib/libXau.so.6...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/local/lib/libpthread-stubs.so.0...done.
Loaded symbols for /usr/local/lib/libpthread-stubs.so.0
Reading symbols from /usr/lib/librpcsvc.so.5...done.
Loaded symbols for /usr/lib/librpcsvc.so.5
Reading symbols from /usr/lib/libbz2.so.4...done.
Loaded symbols for /usr/lib/libbz2.so.4
Reading symbols from /usr/local/lib/libexpat.so.6...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/local/lib/libXfixes.so.3...done.
Loaded symbols for /usr/local/lib/libXfixes.so.3
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x28561c54 in free () from /lib/libc.so.7
(gdb) bt
#0  0x28561c54 in free () from /lib/libc.so.7
#1  0x281b745c in XFreeStringList () from /usr/local/lib/libX11.so.6
#2  0x080ee215 in FlocaleFreeNameProperty (ptext=0x289b3008) at Flocale.c:2358
#3  0x08095e42 in free_window_names (fw=0x289b3000, nukename=0, nukeicon=1)
at add_window.c:3171
#4  0x080e664f in EWMH_WMIconName (fw=0x289b3000, ev=0x812d000, style=0x0, 
any=0) at ewmh_names.c:175
#5  0x080c8ce5 in EWMH_ProcessPropertyNotify (exc=0x28903180)
at ewmh_events.c:1620
#6  0x0807c773 in HandlePropertyNotify (ea=0xbfbfe474) at events.c:3617
#7  0x0807d426 in dispatch_event (e=0xbfbfe498) at events.c:4124
#8  0x0807d52b in HandleEvents () at events.c:4168
#9  0x080a2898 in main (argc=2, argv=0xbfbfe7ac) at fvwm.c:2588
(gdb) quit
capricorn:~ {2} 

---
WATANABE Kazuhiro (cqg00...@nifty.ne.jp)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [audio] Why pcm audio signal can't be read back through pcm channel?

2010-01-20 Thread WATANABE Kazuhiro
Hi.

How about mixer =rec vol or mixer =rec pcm ?

At Fri, 15 Jan 2010 11:40:10 -0800,
Yuri wrote:
 I noticed that I can't record sound that comes from pcm channel. For 
 example audacity only records my voice coming from mic, but doesn't 
 record other person's voice that skype sends into pcm channel.
 This used to work before. I look at mixer -- all channels are open.
 
 Why pcm doesn't get sent back? Is there something wrong with mixer?
 
 snd_es137x.ko is used:
 pcm0: AudioPCI ES1370 port 0xec00-0xec3f irq 17 at device 1.0 on pci8
 pcm0: es1370_wrcodec: timed out
 pcm0: es1370_wrcodec: timed out
 pcm0: es1370_wrcodec: timed out
 pcm0: [ITHREAD]
 pcm0: Playback: DAC1,DAC2 / Record: ADC
 
 Yuri
---
WATANABE Kazuhiro (cqg00...@nifty.ne.jp)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Moxa 8-port serial multiplexor, how-to

2009-07-29 Thread WATANABE Kazuhiro
Hi.

If you want to load the puc(4) driver as a loadable module, you should
load the sio(4) or uart(4) driver module as well.  But these drivers
are included in the GENERIC kernel.  So you should to remove sio(4) or
uart(4) from the kernel and load it as a loadable module.

The other solution is to builtin the puc(4) driver to the
kernel. i.e.:

sio(4)  puc(4)  status
or uart(4)

module  module  work
builtin builtin work
builtin module  not work - current choice?
module  builtin not work

(module = loadable module, builtin = kernel builtin)

Other modifications will not be needed for PCI multiport cards.

At Fri, 24 Jul 2009 10:32:52 -0500,
Doug Poland wrote:
 Hello,
 
 I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card
 working in 7.2-RELEASE(i386).
 
 I've recompiled a GENERIC kernel with
 
   options COM_MULTIPORT
 
 and loaded the puc(4) module.  I don't have any new ttyd? or cuad?
 devices in /dev.
 
 After reading the handbook(26.2) and man puc(4), sio(4).  man sio(4)
 talks about adding /boot/device.hints but not for my particular
 hardware.  I'm at a loss on how to continue.
 
 Suggestions, pointers, URLs welcome.
 
 
 -- 
 Regards,
 Doug
---
WATANABE Kazuhiro (cqg00...@nifty.ne.jp)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7-2 from scratch install , but no sound

2009-05-29 Thread WATANABE Kazuhiro
Hello.

Would you try to change the phout mixer setting instead of vol ?
e.g.:

 mixer phout 100

The ALSA driver has a quirk for HP XW4200.

 
http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=sound/pci/intel8x0.c;h=173bebf9f51d0316f00a158912c2dd0eeacc9f8d;hb=HEAD#l1945

At Fri, 29 May 2009 12:54:28 +0200,
Frank Bonnet wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Bruce Cran wrote:
  On Fri, 29 May 2009 11:01:33 +0200
  Frank Bonnet f.bon...@esiee.fr wrote:
  
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Bruce Cran wrote:
  On Fri, 29 May 2009 09:37:14 +0200
  Frank Bonnet f.bon...@esiee.fr wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Hello
 
  I have freshly install a HPXW4200 ( i386 ) but
  sound system does not work
 
  I have gnome installed and all the above services are running
 
  moused_enable=YES
  nfs_client_enable=YES
  sshd_enable=YES
  linux_enable=YES
  postfix_enable=YES
  dovecot_enable=YES
  dbus_enable=YES
  gdm_enable=YES
  hald_enable=YES
  avahi_daemon_enable=YES
  apache22_enable=YES
  Have you loaded the sound driver? Check /dev/sndstat to see if it's
  running.
 
  well ... it seems to be I loaded them by hand
  
  What does /dev/sndstat contain?  You could also try running 'mixer'
  to see what, if any, channels are set to.
  
 
 yes ... strange everything seems OK but ... still no sound
 when I try to use the gnome sound manager it says
 
 Waiting for sound system to respond
 
 
 
 cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: Intel ICH6 (82801FB) at io 0xf0200800, 0xf0200a00 irq 21 bufsz
 16384  [MPSAFE] (1p:1v/1r:1v channels duplex default)
 
 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 cd   is currently set to  75:75
 Mixer rec  is currently set to   0:0
 Mixer igainis currently set to   0:0
 Mixer ogainis currently set to  50:50
 Mixer line1is currently set to  75:75
 Mixer phin is currently set to   0:0
 Mixer phoutis currently set to   0:0
 Recording source: mic
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.11 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkofvuQACgkQ6f7UMO5oSsX1YwCgsHEIxku6BswiVfr2VjOUWXYC
 jl4AoJ5vsJlJKrV4kFA/hSnuxsEkCT8T
 =D1LC
 -END PGP SIGNATURE-

---
WATANABE Kazuhiro (cqg00...@nifty.ne.jp)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1R port www/webkit-gtk2 installs fine but fails to pkg_create

2009-01-29 Thread WATANABE Kazuhiro
Hi.

How about a patch described in this PR?

 ports/130891: www/webkit-gtk2: [patch] doesn't compile/install libwebkit-1.0.a
 http://www.freebsd.org/cgi/query-pr.cgi?pr=130891

At Wed, 28 Jan 2009 17:13:50 +0100,
Matthias Apitz wrote:
 Hello,
 
 the pkg_create of the port www/webkit-gtk2 (webkit-gtk2-1.0.1_4) fails
 with:
 
 # pkg_create -Rnb webkit-gtk2-1.0.1_4
 tar: lib/libwebkit-1.0.a: Cannot stat: No such file or directory
 tar: Error exit delayed from previous errors.
 pkg_create: make_dist: tar command failed with code 256
 
 Thx
 
   matthias
 
 -- 
 Matthias Apitz
 Manager Technical Support - OCLC GmbH
 Gruenwalder Weg 28g - 82041 Oberhaching - Germany
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
 b http://gurucubano.blogspot.com/
 
 SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen
 From: -40 % die Neujahrsaktion gabriellekel...@grungecafe.com
---
WATANABE Kazuhiro (cqg00...@nifty.ne.jp)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Canon Pixma iP4500 - problem with colours

2008-10-09 Thread WATANABE Kazuhiro
At Wed, 8 Oct 2008 15:38:32 +0100,
Mike Clarke wrote:
 On Sunday 05 October 2008, WATANABE Kazuhiro wrote:
 
  So you will be able to use Canon iP4500 (and MP610/MP520/iP3500) with
  the procedure below.
 
 Thanks for the detailed installation instructions for the Pixma iP4500 
 linux drivers from Canon.
 
 I followed the instructions and everything went very smoothly apart from 
 one minor problem. Using rpm2cpio and cpio to extract the files from 
 cnijfilter-ip4500series-2.80-1.i386.rpm resulted in all the directories 
 being created with mode 700. This resulted in permission denied 
 errors when piping an ascii test file through a2ps and gs to cifip4500. 

Ouch... I tested the instructions on 8-current which had been
introduced bsdcpio.  FreeBSD 7.x and the former bundles GNU cpio.

2.7 and the former versions of GNU cpio has a bug.  If the original
cpio archive has no information about directories (such as the output
of rpm2cpio), the old GNU cpio sets those permission to 700
unconditionally.

The latest version of GNU cpio, and bsdcpio reflects the value of
umask in such a case.

 http://www.gnu.org/software/cpio/#releases


 After setting the directory permissions to 755 everything was fine and 
 I now have a functional printer.

So currently the users other than 8-current should do the following
procedure:

$ mkdir ip4500  # working directory
$ cd ip4500
$ rpm2cpio /PATH/TO/cnijfilter-ip4500series-2.80-1.i386.rpm | cpio -ivd
$ find ./usr -type d | xargs chmod 755  # fix directory permission
$ su
Password:
# cp -Ri ./usr /compat/linux/
# /compat/linux/sbin/ldconfig -r /compat/linux


 The output quality is much better than I could get with the gutenprint 
 driver but the output is limited to 600 dpi so it's nothing like as 
 good as the windows driver in high quality mode. But it is certainly 
 good enough for normal day to day use and I don't mind switching to 
 Windows for the occasional high quality photo print. 
 
 -- 
 Mike Clarke
---
WATANABE Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Canon Pixma iP4500 - problem with colours

2008-10-05 Thread WATANABE Kazuhiro
Hello,

At Wed, 1 Oct 2008 15:46:29 +0100,
Mike Clarke wrote:
 I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS and 
 gutenprint. Black printing is fine but I've got problems with colours. 
 The colour wheel on the CUPS test page comes out as a psychedelic 
 collection of brightly coloured rings. If I print from gimp then the 
 correct colours appear but they are very dark and muddy. The colours 
 start to look a bit more reasonable from the gimp if I push the gamma 
 value up to 2.
 
 This isn't a physical problem with the printer, I get good results when 
 printing from Windows.
 
 Should I be able to get correct colour rendering out of the box or do 
 I have to fiddle about with the multitude of output control adjustments 
 available on the CUPS admin panel?
 
 Or should I be using something other than CUPS, that's what I've always 
 used so far but I'm happy to try alternatives if necessary.

I've used Canon MP810 with CUPS and IJ Printer Driver for Linux
(supplied by Canon) on FreeBSD.

Canon doesn't supply the printer driver for MP810, but I've been able
to use the printer with the driver for MP610.  These printer specs are
very similar.

I don't use the printer from FreeBSD so many time, but printing an web
page from firefox and the Print Test Page from http://localhost:631/
are fine.  That color print has no defferences between the Windows's
one.


So you will be able to use Canon iP4500 (and MP610/MP520/iP3500) with
the procedure below [1].


  1. Installng necessary ports

   1.1. For the PS to Canon IJ filter

print/cups
emulators/linux_base-fc4
graphics/linux-jpeg
graphics/linux-png
graphics/linux-tiff
archivers/rpm2cpio

   1.2. For compiling the Canon CUPS filter

devel/autotools
devel/gmake
shells/bash

  2. Read /usr/ports/print/cups-base/pkg-message, and set some
 necessary settings.

  3. Set the following lines to /etc/rc.conf:

linux_enable=YES
cupsd_enable=YES

  4. Download the IJ Printer Driver Ver.2.80 for Linux

The following two archives are required:

 IJ Printer Driver Ver. 2.80 for Linux (rpm Package for iP4500 series) 
 cnijfilter-ip4500series-2.80-1.i386.rpm 

 IJ Printer Driver Ver. 2.80 for Linux (Source file)
 cnijfilter-common-2.80-1.tar.gz

These archives are available at the following sites:

 Canon Australia - Drivers
 http://www.canon.com.au/drivers/

 Canon Singapore - Support  Download Search
 http://support-asia.canon-asia.com/

 Canon in Japan - Software Download - Other OSes (in Japanese)
 http://cweb.canon.jp/drv-upd/bj/other.html#linux

  5. Installing the binary package for iP4500, and a printing test

   5.1. Install

$ mkdir ip4500  # working directory
$ cd ip4500
$ rpm2cpio /PATH/TO/cnijfilter-ip4500series-2.80-1.i386.rpm | cpio -ivd
$ su
Password:
# cp -Ri ./usr /compat/linux/
# /compat/linux/sbin/ldconfig -r /compat/linux

   5.2. Printing test (ASCII text)

It uses a2ps (ports/print/a2ps-a4).

$ su
Password:
# a2ps -B --borders=no ascii-text.txt | \
gs -q -r600 -dSAFER -dNOPAUSE -dBATCH -sDEVICE=ppmraw -sOutputFile=- - | \
/compat/linux/usr/local/bin/cifip4500 --imageres 600 --media plain  \
/dev/ulpt0

  6. Compiling the Canon CUPS filter, and a printing test

   6.1. Compile

Extract the common source archive, and apply a patch:

 http://homepage2.nifty.com/dumb_show/unix/cnijfilter-common-2.80-freebsd.diff

The patch file is not my original.  I got a patch for Canon Inkjet
Print Filter Ver.2.60 for Linux from http://tabochan.f2g.net/pixus.html
(currently the site is down) and modified it for 2.70 and 2.80.

Then compile and install the necessary (not all) program.

$ mkdir common  # working directory
$ cd common
$ tar zxvf /PATH/TO/cnijfilter-common-2.80-1.tar.gz
$ patch  /PATH/TO/cnijfilter-common-2.80-freebsd.diff
$ cd cnijfilter-common-2.80/libs
$ ./autogen.sh
$ gmake
$ cd ../pstocanonij
$ ./autogen.sh
$ gmake
$ cd ../
$ su
Password:
# cp -i pstocanonij/filter/pstocanonij /usr/local/libexec/cups/filter/
# cp -i ppd/*.ppd /usr/local/share/cups/model/

   6.2. Printing test

Register the printer.

$ su
Password:
# /usr/local/etc/rc.d/cupsd restart
# lpadmin -p PIXUSIP4500 -m canonip4500.ppd -v usb:/dev/ulpt0 -E

Finally visit http://localhost:631/ with an web browser, and click
Printers - Print Test Page.


[1] The original text was posted to the FreeBSD Japansese mailing list.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02592.html
---
WATANABE Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very very weak sound from the speaker

2008-07-31 Thread WATANABE Kazuhiro
Hello.

At Wed, 30 Jul 2008 19:50:50 +0800,
Rommel Martinez wrote:
 I'm wondering why is it that no matter what I do, I can't seem to make
 my laptop emit sound lounder than a whisper.  The laptop is an ECS
 Elitegroup W330 (Arima W330-UCX) and this is the website of the
 laptop: http://www.arimacorp.com/ViewProduct.asp?View=145
 
 I thought at first there was no sound coming out at all, so what I did was I
 plugged an external speaker to it and maxed out the volume via the
 volume knob and set my mixer settings all to 100, then I was able to
 hear sound from the speaker, but it's too weak to be of any good use.
 
 The following is my configuration:
 
 $ cat /boot/loader.conf | grep snd_
 snd_ich_load=YES
 
 $ kldstat | grep snd_
  31 0xc0d3 6f88 snd_ich.ko
 
 $ kldstat | grep sound
  42 0xc0d37000 4a5acsound.ko
 
 $ cat /var/run/dmesg.boot | grep pcm
 pcm0: Intel ICH6 (82801FB) port 0x5000-0x50ff,0x48c0-0x48ff mem
 0xb0040800-0xb00409ff,0xb0040400-0xb00404ff irq 20 at device 30.2 on
 pci0
 pcm0: [ITHREAD]
 pcm0: Avance Logic ALC250 AC97 Codec
 
 $ cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: Intel ICH6 (82801FB) at io 0xb0040800, 0xb0040400 irq 20 bufsz
 16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default)
 
 $ mixer
 Mixer vol is currently set to 100:100
 Mixer pcm is currently set to 100:100
 Mixer speaker is currently set to 100:100
 Mixer line is currently set to 100:100
 Mixer mic is currently set to 100:100
 Mixer cd is currently set to 100:100
 Mixer rec is currently set to 100:100
 Mixer igain is currently set to 100:100
 Mixer ogain is currently set to 100:100
 Mixer line1 is currently set to 100:100
 Mixer phin is currently set to 100:100
 Mixer phout is currently set to 100:100
 Recording source: mic
 
 I tried audacious, xmms, and mpg123 but I still get
 the same behaviour.
 
 What's causing this? Can anybody give pointers why
 is this happening?
 
 Thanks.

Can you show me the output of pciconf -lv | grep -A4 ^pcm ?
---
WATANABE Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very very weak sound from the speaker

2008-07-31 Thread WATANABE Kazuhiro
At Thu, 31 Jul 2008 22:55:51 +0800,
Rommel Martinez wrote:
 [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f chip=0x266e8086
 rev=0x04 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'Intel Corporation  82830M/MG SDRAM Controller / Ho
 AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
 class  = multimedia
 subclass   = audio

OK.  How about this patch?

--- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 +0900
+++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900
@@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev)
switch (subdev) {
case 0x202f161f:/* Gateway 7326GZ */
case 0x203a161f:/* Gateway 4028GZ */
+   case 0x2047161f:/* Arima W330-UCX */
case 0x204c161f:/* Kvazar-Micro Senator 3592XT */
case 0x8144104d:/* Sony VAIO PCG-TR* */
case 0x8197104d:/* Sony S1XP */

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


Re: Very very weak sound from the speaker

2008-07-31 Thread WATANABE Kazuhiro
At Thu, 31 Jul 2008 23:39:47 +0800,
Rommel Martinez wrote:
 On Thu, Jul 31, 2008 at 11:35 PM, WATANABE Kazuhiro
 [EMAIL PROTECTED] wrote:
  At Thu, 31 Jul 2008 22:55:51 +0800,
  Rommel Martinez wrote:
  [EMAIL PROTECTED]:0:30:2: class=0x040100 card=0x2047161f 
  chip=0x266e8086
  rev=0x04 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Intel Corporation  82830M/MG SDRAM Controller / Ho
  AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
  class  = multimedia
  subclass   = audio
 
  OK.  How about this patch?
 
  --- sys/dev/sound/pci/ich.c.releng702007-12-15 13:06:52.0 +0900
  +++ sys/dev/sound/pci/ich.c 2008-08-01 00:10:04.0 +0900
  @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev)
 switch (subdev) {
 case 0x202f161f:/* Gateway 7326GZ */
 case 0x203a161f:/* Gateway 4028GZ */
  +   case 0x2047161f:/* Arima W330-UCX */
 case 0x204c161f:/* Kvazar-Micro Senator 3592XT */
 case 0x8144104d:/* Sony VAIO PCG-TR* */
 case 0x8197104d:/* Sony S1XP */
 
  ---
  WATANABE Kazuhiro ([EMAIL PROTECTED])
 
 
 OK. Is there a way to make those changes to my system without having to
 rebuild world or I really need to?

See the FreeBSD Handbook for details.

 Building and Installing a Custom Kernel
 
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

Before you run make buildkernel, you have to apply the patch like this:

# cd /usr/src
# patch  /path/to/the/patchfile

If you don't want to compile a kernel and modules other than snd_ich,
try this instead of make buildkernel:

# cd /usr/src/sys/modules/sound/driver/ich
# make  make install

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


Re: FreeBSD and multi-port serial cards

2008-05-18 Thread WATANABE Kazuhiro
Hi.

At Thu, 15 May 2008 17:59:48 +,
Andy Miller wrote:
 I have a multi-port serial card that uses the puc driver. It doesn't work
 out of the box, but I found a patch on the hackers list that claims to
 fix the problem. My problem now is that it seems that the code for this
 driver has been completely redone in FreeBSD 7.0. Can someone help me
 translate the patch below to work on a 7.0 system?
 
 --- pucdata.c.org Sat Dec 16 00:31:37 2006
 +++ pucdata.c Thu Mar 22 13:03:32 2007
 @@ -865,6 +865,17 @@
   },
   },
  
 + {   Oxford Semiconductor Ltd OX16PCI954 Quad UART,
 + {   0x1415, 0x9501, 0x131f, 0x2050 },
 + {   0x, 0x, 0x, 0x },
 +{
 + { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 10 },
 + { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 10 },
 + { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 10 },
 + { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 10 },
 + },
 + },
 +
   {   SIIG Cyber 4S PCI 16C650 (20x family),
   {   0x1415, 0x9501, 0x131f, 0x2051 },
   {   0x, 0x, 0x, 0x },
 
 Thanks.
 
 --
 Andy Miller

How about this?

--- pucdata.c.releng70  2008-05-18 18:15:16.0 +0900
+++ pucdata.c   2008-05-18 18:15:16.0 +0900
@@ -590,6 +590,12 @@
 * I/O Flex PCI I/O Card Model-223 with 4 serial and 1 parallel ports.
 */
 
+   {   0x1415, 0x9501, 0x131f, 0x2050,
+   SIIG Cyber 4S PCI 16C650 (20x family),
+   DEFAULT_RCLK * 10,
+   PUC_PORT_4S, 0x10, 0, 8,
+   },
+
{   0x1415, 0x9501, 0x131f, 0x2051,
SIIG Cyber 4S PCI 16C650 (20x family),
DEFAULT_RCLK * 10,

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


Re: Trying to setup a serial console on my desktop

2008-01-19 Thread WATANABE Kazuhiro
Hello.

At Sat, 19 Jan 2008 02:17:42 +0530,
  ? Ashish Shukla  wrote:
 Hi,
 
 I'm trying to setup serial console on my FreeBSD 7.0-BETA4, I'm facing
 some issues.
 
 88
 [EMAIL PROTECTED] ~]$ cat /boot.config
 -DP
 [EMAIL PROTECTED] ~]$ cat /boot/loader.conf
 sound_load=YES# Digital sound subsystem
 snd_hda_load=YES  # Intel High Definition Audio (Controller)
 snd_ds1_load=YES  # ds1
 comconsole_speed=115200
 boot_multicons=YES
 boot_serial=YES
 console=comconsole,vidconsole # A comma separated list of console(s)
 [EMAIL PROTECTED] ~]$ cat /etc/ttys |grep -v ^# |fgrep -v none
 ttyv0   /usr/libexec/getty Pc cons25  on  secure
 ttyv1   /usr/libexec/getty Pc cons25  on  secure
 ttyv2   /usr/libexec/getty Pc cons25  on  secure
 ttyv3   /usr/libexec/getty Pc cons25  on  secure
 ttyv4   /usr/libexec/getty Pc cons25  on  secure
 ttyv5   /usr/libexec/getty Pc cons25  on  secure
 ttyv6   /usr/libexec/getty Pc cons25  on  secure
 ttyv7   /usr/libexec/getty Pc cons25  on  secure
 ttyv8   /usr/local/bin/xdm -nodaemon  xterm   off secure
 ttyd0   /usr/libexec/getty std.115200 vt220   on  secure
 ttyd1   /usr/libexec/getty std.9600   dialup  off secure
 ttyd2   /usr/libexec/getty std.9600   dialup  off secure
 ttyd3   /usr/libexec/getty std.9600   dialup  off secure
 dcons   /usr/libexec/getty std.9600   vt100   off secure
 [EMAIL PROTECTED] ~]$ stty -a -f /dev/ttyd0
 speed 115200 baud; 0 rows; 0 columns;
 lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
 -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
 -extproc
 iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
 brkint -inpck -ignpar -parmrk
 oflags: opost onlcr -ocrnl oxtabs -onocr -onlret
 cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb crtscts -dsrflow
 -dtrflow -mdmbuf
 cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
 eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
 lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
 status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
 88
 
 I've a desktop mobo (Intel D945GNTL) with onboard Intel Graphics. My
 BIOS doesn't support redirecting its output to COM1.
 
 Following are the issues:
 
 1. comconsole_speed in /boot/loader.conf is not working. I wanted to
 try 115200 baud rate, but its not working when set in loader.conf. If
 I set comconsole_speed at
 loader prompt, it works.

loader.conf(5) says:

| comconsole_speed
|   (``9600'' or the value of the BOOT_COMCONSOLE_SPEED vari-
|   able when loader(8) was compiled).  Sets the speed of the
|   serial console.  If the previous boot loader stage speci-
|   fied that a serial console is in use then the default
|   speed is determined from the current serial port speed
|   setting.

If you specify to use a serial console via /boot.config and
want to change the speed from 9600bps (default), you need to add
the -S speed flag to your /boot.config.  See boot(8) for details.

 2. Keyboard doesn't work irrespective of '-P' being present in
 /boot.config . So I can't login to any TTY or login to X via GDM.
 
 I'm following 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html

Is a login prompt displayd to the video console?

If not, the system boot sequence may have been stopped at some kinds
of daemon (sshd, sendmail, etc.).
---
WATANABE Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I use my USB microphone and motherboard audio out?

2007-12-15 Thread Watanabe Kazuhiro
At Fri, 14 Dec 2007 14:02:42 -0800,
Rudy wrote:
 Watanabe Kazuhiro wrote:
  At Thu, 13 Dec 2007 12:16:45 -0800,
  Rudy wrote:
  Watanabe Kazuhiro wrote:
  Hi.
 
  At Tue, 11 Dec 2007 22:16:58 -0800,
  Rudy wrote:
  After reading some more man pages, I am still stumped but can better 
  phrase my question:
   how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default 
  INPUT?
  ...
 
  Audacity will be able to specify a different dsp device for the
  recording and playback device via the Audacity Preferences panel
  (Edit - Preferences - Audio I/O); e.g. /dev/dsp0 for playback,
  and /dev/dsp1 for recording.
 
  Have you tried such configulation?
  ---
  Watanabe Kazuhiro ([EMAIL PROTECTED])
  No luck.  I only see '/dev/dsp'.  It seems that dsp likes to automatically 
  do stuff, but is not 
  smart enough to always do the right thing.
  
  OK.  My understanding is:
  
   * There is /dev/dsp0 which corresponds to pcm0 (snd_hda).
  
   * /dev/dsp and /dev/dsp0 are the same.  e.g.:
  
  $ ls -l /dev/dsp /dev/dsp0
  crw-rw-rw-  1 root  wheel0,  83 Dec 14 20:55 /dev/dsp
  crw-rw-rw-  1 root  wheel0,  83 Dec 14 20:55 /dev/dsp0
  $ 
  
   * There is no /dev/dsp1.  But there is /dev/dsp1.1 which corresponds
 to pcm1 (snd_uaudio).
  
  If these are correct, will you try to make a symlink /dev/dsp1 which
  points to /dev/dsp1.1 via devfs.conf(5)?  i.e. Add the following line
  to /etc/devfs.conf and then reboot the system:
  
  link dsp1.1 dsp1
  
 
 I entered these lines:
 
   # attempt to override the dsp0 input with the dsp1 input... doesn't work
   link dsp1.1 dsp0.1
   # this didn't do anything
   link dsp1.1 dsp1
   # this works... wanted to make sure I could do something.  :)
   link dsp1.1 microphone
 
 and ran
   /etc/rc.d/devfs restart
 
 # ll /dev/ | grep dsp
 crw-rw-rw-  1 root  wheel0, 121 Dec 14 13:55 /dev/dsp0.0
 crw-rw-rw-  1 root  wheel0, 122 Dec 14 09:33 /dev/dsp0.1
 crw-rw-rw-  1 root  wheel0, 126 Dec 14 09:33 /dev/dsp0.2
 crw-rw-rw-  1 root  wheel0, 145 Dec 14 09:31 /dev/dsp1.0
 crw-rw-rw-  1 root  wheel0, 144 Dec 14 09:31 /dev/dsp1.1
 lrwxr-xr-x  1 root  wheel 6 Dec 14 13:52 /dev/microphone - dsp1.1
 
 # cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: NVidia MCP51 High Definition Audio Controller at memory 0xfe024000 
 irq 21 kld snd_hda 
 [20071129_0050] [MPSAFE] (1p:2v/1r:1v channels duplex default)
 pcm1: USB Audio at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels)
  mode 1:(input) 1ch, 16/16bit, pcm, 8000,11025,22050,44100,48000Hz
 
 # pcm0 is the motherboard sound/mic/lineout/etc
 # pcm1 is the usb mircophone
 
 # cd /dev
 # ln -s dsp1.1 dsp0.111
 # ln -s dsp1.1 dsp0.1
 # ll dsp*
 crw-rw-rw-  1 root  wheel0, 121 Dec 14 14:01 dsp0.0
 lrwxr-xr-x  1 root  wheel 6 Dec 14 14:01 dsp0.111 - dsp1.1
 crw-rw-rw-  1 root  wheel0, 126 Dec 14 09:33 dsp0.2
 crw-rw-rw-  1 root  wheel0, 149 Dec 14 09:31 dsp1.0
 crw-rw-rw-  1 root  wheel0, 144 Dec 14 09:31 dsp1.1
 
 I can't seem to force the dsp1.1 to be the dsp0.1
 
 :(

Hmm... I don't know what to do any more.  Sorry.

As a last proposal, how about audacity-devel
(ports/audio/audacity-devel)?  

AFAIK, there is a limitation for the stable version of Audacity
(ports/audio/audacity) to use USB microphones.  See the URLs below.

 USB-microphone in Open Sound System
 
http://audacityteam.org/wiki/index.php?title=USB_mic_on_Linux#USB-microphone_in_Open_Sound_System

 [Portaudio] Prompting for all output and input devices separately
 http://techweb.rfa.org/pipermail/portaudio/2006-February/005237.html

I don't know whether the limitation is applied to FreeBSD or not.
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I use my USB microphone and motherboard audio out?

2007-12-14 Thread Watanabe Kazuhiro
At Thu, 13 Dec 2007 12:16:45 -0800,
Rudy wrote:
 Watanabe Kazuhiro wrote:
  Hi.
  
  At Tue, 11 Dec 2007 22:16:58 -0800,
  Rudy wrote:
  After reading some more man pages, I am still stumped but can better 
  phrase my question:
   how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default INPUT?
 
 ...
 
  Audacity will be able to specify a different dsp device for the
  recording and playback device via the Audacity Preferences panel
  (Edit - Preferences - Audio I/O); e.g. /dev/dsp0 for playback,
  and /dev/dsp1 for recording.
  
  Have you tried such configulation?
  ---
  Watanabe Kazuhiro ([EMAIL PROTECTED])
 
 No luck.  I only see '/dev/dsp'.  It seems that dsp likes to automatically do 
 stuff, but is not 
 smart enough to always do the right thing.

OK.  My understanding is:

 * There is /dev/dsp0 which corresponds to pcm0 (snd_hda).

 * /dev/dsp and /dev/dsp0 are the same.  e.g.:

$ ls -l /dev/dsp /dev/dsp0
crw-rw-rw-  1 root  wheel0,  83 Dec 14 20:55 /dev/dsp
crw-rw-rw-  1 root  wheel0,  83 Dec 14 20:55 /dev/dsp0
$ 

 * There is no /dev/dsp1.  But there is /dev/dsp1.1 which corresponds
   to pcm1 (snd_uaudio).

If these are correct, will you try to make a symlink /dev/dsp1 which
points to /dev/dsp1.1 via devfs.conf(5)?  i.e. Add the following line
to /etc/devfs.conf and then reboot the system:

link dsp1.1 dsp1

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


Re: How do I use my USB microphone and motherboard audio out?

2007-12-12 Thread Watanabe Kazuhiro
Hi.

At Tue, 11 Dec 2007 22:16:58 -0800,
Rudy wrote:
  After reading some more man pages, I am still stumped but can better 
  phrase my question:
   how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default INPUT?
  
  Rudy
  
  here is the output of /dev/sndstat
  FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
  Installed devices:
  pcm0: NVidia MCP51 High Definition Audio Controller at memory 
  0xfe024000 irq 21 kld snd_hda [20071129_0050] [MPSAFE] (1p:1v/1r:1v 
  channels duplex default)
  pcm1: USB Audio at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels)
  mode 1:(input) 1ch, 16/16bit, pcm, 8000,11025,22050,44100,48000Hz
 
 Anyone know how do do this, or should I try freebsd-multimedia or something 
 like that?
 
 ... on other OS'es I've seen ways to define a default microphone when a 
 machine has two 
 microphones.  Can't seem to figure that out in BSD (I can assign a default 
 pcm device, but my pcm1 
 doesn't have output...

Audacity will be able to specify a different dsp device for the
recording and playback device via the Audacity Preferences panel
(Edit - Preferences - Audio I/O); e.g. /dev/dsp0 for playback,
and /dev/dsp1 for recording.

Have you tried such configulation?
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pci serial card issues

2007-11-07 Thread Watanabe Kazuhiro
Hello.

At Sun, 30 Sep 2007 12:15:59 +0100,
chris.scott wrote:
 Hi
 
 i'm running freebsd stable (last build 28th) and am having a few issues 
 with 2 pci serial cards. Basically I'm trying to build a serial server. 
 However the driver doesn't seem to work correctly.
 
 Sep 28 22:18:56 boxster puc0: NetMos NM9845 Hex UART port 
 0xce00-0xce07,0xcc00-0xcc07,0xca00-0xca07,0xc800-0xc807,0xc600-0xc607,0xc400-0xc40f
  
 irq 9 at device 8.0 on pci0
 Sep 28 22:18:56 boxster puc1: NetMos NM9845 Hex UART port 
 0xde00-0xde07,0xdc00-0xdc07,0xda00-0xda07,0xd800-0xd807,0xd600-0xd607,0xd400-0xd40f
  
 irq 10 at device 11.0 on pci0
 Sep 28 22:18:56 boxster puc1: could not get resource
 
 
 they are both 6 port serial pci cards, and are listed in the puc driver 
 as supported. The  pc is quite old so Im not sure if whats causing any 
 issues. I have tried the bios with pnpos enables and disabled but it 
 makes little difference. I have also tried with one card and the issue 
 is the same.
 
 I have also disabled the pcs onboard serial ports and still no go
 
 I have disabled  ACPI with hint.acpi.0.disabled=1 this seems to stop 
 the resource error but I dont get any additional cuad devices

If you load the puc(4) driver as a kernel module (puc.ko), you should
load the sio(4) driver as well. i.e.:

sio(4)  puc(4)  work?   
--
builtin builtin OK
builtin module  NG
module  module  OK
module  builtin Maybe OK
--
(builtin = kernel builtin, module = kernel module)

 $ pciconf -l -v | grep -B 4 UART
 [EMAIL PROTECTED]:8:0:  class=0x070002 card=0x00061000 chip=0x98459710 
 rev=0x01 
 hdr=0x00
vendor = 'MosChip Semiconductors (Was: Netmos Technology)'
device = 'Nm9845 Parallel/Serial Port Adapter'
class  = simple comms
subclass   = UART
 -- 
 [EMAIL PROTECTED]:11:0: class=0x070002 card=0x00061000 chip=0x98459710 
 rev=0x01 
 hdr=0x00
vendor = 'MosChip Semiconductors (Was: Netmos Technology)'
device = 'Nm9845 Parallel/Serial Port Adapter'
class  = simple comms
subclass   = UART
 
 
 
 Any help much appreciated
 
 chris
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2 Headless Installs Don't Seem to Work.

2007-09-19 Thread Watanabe Kazuhiro
Hi,

At Tue, 18 Sep 2007 06:32:07 -0500,
Martin McCormick wrote:
   As a computer user who happens to be blind, I have
 always wanted to use the headless installation method to build
 FreeBSD systems. After FreeBSD version 5, things seemed to go a
 bit wrong and I am trying to figure out whether it is me not
 doing something right or if there is a bug.
 
   The sequence as I understand it from previous
 documentation is to boot the CD, wait for the lull in activity
 and then hit the number 6. After that, you type 
 
 boot -h
 
 and the serial port usually comes up.
 
   On some systems, it comes up at the wrong speed which
 turns out to be 115,200 baud, but it does come up.
 
   What then happens after that is what I am writing this
 message about.
 
   The kernel on the CD boots but then it can't seem to
 find the hard drives and the whole process is dead on arrival
 with a spew of errors about not finding any media followed by a
 lockup.
 
   If I have a cowworker help me and run the install off
 the new system's video display, all is well and we get a good
 FreeBSD installation.
 
   Can anybody think of a way to get the headless install
 to work in FreeBSD 6.2?
 
   Many thanks.

Try:

 console=comconsole,vidconsole
 boot

instead of boot -h.
---
Watanabe Kazuhiro ([EMAIL PROTECTED])

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


Re: freebsd installation server (nfs/ftp/http) local network

2007-05-02 Thread Watanabe Kazuhiro
Hello.

Did you read the following document?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html

At Mon, 30 Apr 2007 00:01:07 -0700,
Anuj Singh wrote:
 Hiee,
 it is not on a public network, all i am trying to know how to do it, I do
 the same method for installing linux os, I exported FreeBSD6.2 ISO images
 via nfs. it didn't worked. Do I need to extract the files? to install
 freebsd via nfs, or ftp or http over a local network.
 regards
 anugunj anuj
 
 On 4/29/07, Garrett Cooper [EMAIL PROTECTED] wrote:
 
  anujgunj anuj singh wrote:
   Hiee,
   I have ISO images on network pc, I want to perform a network
   installation using nfs OR ftp OR http.
   Plus what is the best way of installation (package selection) to not to
   switch cd's between 2 cd's.
   regards
   anugunj anuj
  
   On Sun, 2007-04-29 at 23:37 +0400, Reshmakov Roman wrote:
   Hiee,
   I need to create a nfs/ftp/http installation server threw which I can
   install FreeBSD on other local machines. I have ISO images of
   FreeBSD6.2.
   How to create any or all nfs/ftp/http installation server. I went
  threw
   man pages it shows me CDROM sharing network installation. I want to
   install with ISO images on hard-disk.
   Thanks and regards
   anugunj anuj
   Use dump/restore and Fix-it from installation CD-ROM. I use this
   method and install new server over 20-30 min.
 
  All will equally serve the purpose of helping you install the files on
  your target machine. NFS is the least computing intensive option though
  and doesn't require additional components to be installed in order to
  use an NFS server. I would suggest not using this though if concerned
  about security issues, i.e. your machine is running on a
  unsecured/public network.
 
  -Garrett
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dc0 card drops connection on FreeBSD 6.1

2006-12-02 Thread Watanabe Kazuhiro
Hi.

At Thu, 30 Nov 2006 23:44:01 -0800,
Loren M. Lang wrote:
 I am having issues with an ethernet card running under FreeBSD
 6.1-RELEASE.  It is dc0 and pciconf reports it as Conexant Systems.
 Network connections hang most of the time and usually timeout.  FTP and
 HTTP downloads with move along for a short time and hang every 3% or so
 for several minutes before continuing or timing out.  I installed
 FreeBSD 6.1 a month ago on a fresh hard drive, but about 5 months ago my
 old hard drive crashed which was running FreeBSD 5.4, though I never had
 any issues with the network card for 5.4 or, previously, 4.9.  This
 system was running for several years with no issues until the Hard drive
 crashed 5 months ago.
 
 dc0: Conexant LANfinity MiniPCI 10/100BaseTX port 0x1400-0x14ff mem
 0xf400-0xf4003fff irq 9 at device 9.0 on pci0
 miibus0: MII bus on dc0
 ukphy0: Generic IEEE 802.3u media interface on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 dc0: Ethernet address: 00:50:8b:ab:99:d5
 pci0: simple comms at device 9.1 (no driver attached)
 pci0: multimedia, audio at device 10.0 (no driver attached)
 
 -- 
 Loren M. Lang
 [EMAIL PROTECTED]
 http://www.alzatex.com/

Will you try to specify the media type in /etc/rc.conf ?

For example:
ifconfig_dc0=inet 192.168.0.x media 100baseTX mediaopt full-duplex netmask 
255.255.255.0

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


Re: freebsd 6.1 floppy installation problem - boot loader finds only 16MB, but I have 256 MB - and it hangs

2006-09-25 Thread Watanabe Kazuhiro
Hi.

At Sat, 23 Sep 2006 21:49:20 +0200,
Vo?ten?k Vladim?r wrote:
 I have an old HP NETSERVER PRO 2xpentium pro, 256 MB ram, 
 and I tried to install the actual FREEBSD 6.1 there. I made 3 
 floppies: boot, kernel1 and kernel2. When it starts booting from 
 the boot floppy, the loader show I only have 16 MB of RAM 
 (instead 256MB I have there). Then it asks for kernel1 and 2 
 disk, and boot disk again. It gives me also the entry FREEBSD 
 display with countdown - to choose boot type - default, no 
 acpi, secure etc. I tried it all, but it alwaysl hangs after about 5 
 second after any choice. So I must just reboot. I think it is just 
 because the lack of RAM, because, I think it requirets at least 24 
 MB of RAM.
 I have found something about this on the web, that it is 
 necessary options MAXMEM=n to use all the RAM, because old 
 BIOSes shows just first 16 MB or so, but I am just doing the 
 installation. So how can I modify the kernel on the floppies to 
 use such option during the installation from floppies? Or should I 
 install from other media???Please can you help me with 
 this??How can I make the installation boot floppy see all the 
 RAM I have?
 Thank you very much for your reply.
 
 Greetings
 
 Vladimír Voštenák

Choose 6. Escape to loader prompt from the boot menu and enter the
two lines to the loader(8) prompt:

set hw.physmem=256M
boot

See loader(8) for details.  It's the same thing that you specify
MAXMEM=256M to your kernel configulation file.
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pci modem question

2006-09-14 Thread Watanabe Kazuhiro
Hi.

At Wed, 13 Sep 2006 10:05:07 +0800,
musashi miyamoto wrote:
 FreeBSD mori.ranmaru 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Sep  5 02:09:57
 PHT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SHOGUN  i386
 
 
 is there a dialup pci modem that is compatible with FreeBSD?

Lucent(Agere) Mars chipset can be worked with ports/comms/ltmdm.
It's a controller-less modem.

I had used a PCI modem that uses the chipset(1646T00) on FreeBSD 5.x
for several years.  There was no problem for dialup use.


PCTel PCT789T chipset can be worked too with the ptmdm driver.
It's a software modem:
http://homepage2.nifty.com/dumb_show/unix/PCTel-FreeBSD.en.html

This driver isn't tested well.  There are only two persons who has
tested the driver with the chipset (one is me... thanks to Markus!).

So if you can, it's better for you to select Lucent Mars.
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using PC as serial terminal on running system

2006-09-14 Thread Watanabe Kazuhiro
Hi,

At Thu, 14 Sep 2006 12:40:13 +0200,
Jonathan McKeown wrote:
 On Wednesday 13 September 2006 14:59, Jonathan McKeown wrote:
  I'm using my laptop and tip(1) as a serial terminal. This is working well
  when a machine is booted with the laptop connected to its serial port.
  However, I need to be able to connect the laptop to a machine which was
  booted without a serial console.
 
  I've set the ttyd0 line in /etc/ttys and sigHUPed init. The machine is
  still not recognising the presence of the ``serial terminal'' - the
  getty(1) process on the server is not bound to a controlling terminal and
  nothing is appearing in the tip(1) screen on the laptop.
 
 OK, creating a line in /etc/ttys for cuad0 seems to have worked. Will that 
 cause problems later? I assume the problem is that the tip(1) process (or 
 possibly the USB-serial adapter) is not DTRT with respect to carrier. Is 
 there any other way round this?
 
 Jonathan

Perhaps your serial cable is not a null-modem cable, but an interlink
cable.  These are similar, but has different pin assignments.
The former generates a carrier signal but the latter is not.

See the FreeBSD Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html

By the way, if a serial port is set to the console, the port is set to
CLOCAL mode (see stty(1)).  In this mode, getty(8) can output the
login prompt to the port without a carrier signal.
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serial based install

2006-05-13 Thread Watanabe Kazuhiro
Hi,

At Fri, 12 May 2006 14:15:20 -0400,
Tom Moore wrote:
 Hi guys.
 How do I force the FreeBSD to do a serial port based install?
 I'm installing on to a laptop, but want to control the install from a serial
 port on another machine because I can not see the screen on the laptop.
 I tried modifying the boot.flp image and putting a file called boot.conf
 with the following line in it:
 /boot/loader -h
 This didn't seem to work?
 Am I modifying the wrong image for this or should I modify one of the kernel
 images?
 
 Please advise what I should do next.
 
 Thanks,
 Tom

Try to insert the following line in your /boot/loader.conf at the
first line:

console=comconsole

See the FreeBSD Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html

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


Re: unrecognized pci-serial board

2006-04-18 Thread Watanabe Kazuhiro
Hi, tomoki-san.

At Tue, 18 Apr 2006 17:08:54 +0900,
FreeBSD MailingLists wrote:
 the source for the driver can be downloaded from
 http://www.ratocsystems.com/software/linux/pci60_060306.tar.gz

Is your board REX-PCI60 with EXAR XR17C152 ?

On NetBSD, EXAR XR17D15x is already supported with puc(4) driver.

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/pci/pucdata.c#rev1.44

As far as I know, XR17D15x is a dual-voltage (3.3/5V PCI) version of
XR17C15x.  Other specifications seems to be the same.  Perhaps your
board will be work with the same entry.

On FreeBSD, the file pucdata.c is located in /sys/dev/puc/ .

Datasheets are available on the URL:
http://www.exar.com/search_uart.php

---
Watanabe Kazuhiro ([EMAIL PROTECTED])
# PCTel HSP MicroModem driver for FreeBSD
# http://homepage2.nifty.com/dumb_show/unix/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]