Jeremy C. Reed | 1 Apr 2009 03:45

using video(4) Chicony CNF7051 fails after first success

I have:

uvideo0 at uhub2 port 2 configuration 1 interface 0: Chicony Electronics 
Co., Ltd. CNF7051, rev 2.00/8.34, addr 2
video0 at uvideo0: Chicony Electronics Co., Ltd. CNF7051, rev 2.00/8.34, 
addr 2

ucview-0.22 from pkgsrc uses it fine the first time. A blue light turns on
and the live video starts displaying to my screen. Looks good.

But when I choose "Change Device" and use same device -- or when I exit 
and reopen ucview, it no longer shows video. I restarted X and that didn't 
fix it. I rebooted and then it worked again (one time then failed on 
restart or reconfigure of ucview).

On console I see:

(ucview:725): Gtk-WARNING **: GtkSpinButton: setting an adjustment with 
non-zero page size is deprecated

(ucview:725): Gtk-WARNING **: GtkSpinButton: setting an adjustment with 
non-zero page size is deprecated

(ucview:725): Gtk-WARNING **: GtkSpinButton: setting an adjustment with 
non-zero page size is deprecated

(ucview:725): GConf-CRITICAL **: gconf_client_set_string: assertion `val 
!= NULL' failed

I don't know if that is related.
(Continue reading)

nonesuch | 1 Apr 2009 04:39

RootDisk One giant slice with / or many slices for / /usr /var ...

Hello List
  I want to know what the list thinks about an old topic now that netbsd has wabpl . With a new setup on say i386 2g
ram and a 500g disk what would be the downside of one big / slice and a appropriate sized swap slice . I have
been using a 2g /, 8g /var , 2g SWAP, Rest /opt , I like it; it works well for me. I have been talking about this
with a co_worker we are at a stalemate on the pros and cons of this . 
Sent from my Verizon Wireless BlackBerry

Malcolm Herbert | 1 Apr 2009 07:15
Gravatar

Re: RootDisk One giant slice with / or many slices for / /usr /var ...

On Wed, 01 Apr 2009 02:39 +0000, nonesuch <at> bad-apples.org wrote:
> Hello List
>   I want to know what the list thinks about an old topic now that netbsd
>   has wabpl . With a new setup on say i386 2g ram and a 500g disk what
>   would be the downside of one big / slice and a appropriate sized swap
>   slice . I have been using a 2g /, 8g /var , 2g SWAP, Rest /opt , I like
>   it; it works well for me. I have been talking about this with a
>   co_worker we are at a stalemate on the pros and cons of this . 

Personally I would advocate maintaining a filesystem for your OS and
another for data - it gives you more flexibility when it comes to
upgrading the OS plus it's also useful to prevent accidentally hosing
your system due to a full filesystem.

For my day job adminning Solaris boxen, we tend to create two sets of a
10GB / (which contains /usr and /opt) and a 16 GB /var on a mirror of
two disks.  All other non-OS data is on another filesystem, (which
includes /home).  We then use Live Upgrade to flip between each copy of
the OS as we do our maintenance cycles ... 

If you have the space, I'd suggest:

slice  size  fs
a      10G   /
b      ?     swap
c      -     reserved
d      -     reserved
e      16G   /var
f      10G   alternate /
g      16G   alternate /var
(Continue reading)

David Wetzel | 1 Apr 2009 10:49
Picon
Favicon

Re: Huawei E870?

Hi folks,

the Huawei works on NetBSD 5.0 beta.

Here is how you decode the messages on the second (/dev/ttyU1) USB  
serial port:

http://trac.warp.es/wader/browser/trunk/wader/common/hardware/huawei.py?rev=229

They look like this:

^DSFLOWRPT:00009044,00000000,00000000,0000000000518CDC, 
000000000677D28D,000BB800,1014C903

^MODE:5,4

^DSFLOWRPT:00009046,0000005E,0000003A, 
0000000000518D99,000000000677D301,000BB800,101A0903

^MODE:5,5

Maybe somebody can write a nice Rddtool frontend for it?

netbsd5: {6} cat /etc/ppp/chat.gsm
#
#Chat script to dial out with GSM phone
#
ABORT "BUSY"
ABORT "NO CARRIER"
ABORT "DELAYED"
(Continue reading)

Channa | 1 Apr 2009 13:06
Picon

gethostbyname & RES_USE_INET6

Hi,
I am facing some problem while using the gethostbyname() API for IPv6
address. I have the following entry in my /etc/hosts

$ cat /etc/hosts
::1         localhost6.localdomain

When i try to get the entry for gethostbyname("localhost6.localdomain")
the return value is NULL.

But when i set the RES_OPTIONS as

$ export RES_OPTIONS=inet6

gethostbyname() works fine.

Is it required for me set the environment variable RES_OPTIONS every time?
Or this needs to be set in any of the networking functions?

Please help me out in this regard.

Thanks & Regards,
Channa

Christos Zoulas | 1 Apr 2009 20:10

Re: gethostbyname & RES_USE_INET6

In article <515c64960904010406k345683b0r5171a799de59c389 <at> mail.gmail.com>,
Channa  <channa.kad <at> gmail.com> wrote:
>Hi,
>I am facing some problem while using the gethostbyname() API for IPv6
>address. I have the following entry in my /etc/hosts
>
>$ cat /etc/hosts
>::1         localhost6.localdomain
>
>When i try to get the entry for gethostbyname("localhost6.localdomain")
>the return value is NULL.
>
>But when i set the RES_OPTIONS as
>
>$ export RES_OPTIONS=inet6
>
>gethostbyname() works fine.
>
>Is it required for me set the environment variable RES_OPTIONS every time?
>Or this needs to be set in any of the networking functions?
>
>Please help me out in this regard.

Don't use gethostbyname() use getaddrinfo().

christos

Adam Hamsik | 2 Apr 2009 19:25
Picon
Gravatar

Google Summer of Code applications wanted

Hi folks,

I joined Google Summer of code program last year and it was great  
experience.
I spent summer with playing in NetBSD base system and kernel(which is  
best kernel
in the world ;)). There are many very clever developers who can mentor  
you during
your work so don't hesitate to submit application. After application  
submission
you should sent mail relevant mailing list where you can discuss it  
more.

I want to encourage everyone who can[1]* to write application,  
deadline for application
submit is Friday 12:00pm Pacific time. We have received very few  
applications yet.
Please consider joining Summer of code project under the NetBSD  
mentoring project.
If your are looking for available project look here [2, 3].

*You can join if you are individual enrolled in or accepted into an  
accredited institution including colleges, universities, masters  
programs, PhD programs and undergraduate programs.

[1]http://socghop.appspot.com/document/show/program/google/gsoc2009/faqs#student_eligibility
[2]http://www.netbsd.org/contrib/soc-projects.html
[3]http://www.netbsd.org/contrib/projects.html
Regards

(Continue reading)

Mark Weinem | 2 Apr 2009 22:37
Picon

Samsung NC10 (was: Best subnotebook for NetBSD)

Hi Chris,

> I bought a Samsung NC10 last week, and I'm in the midst of transferring
> all my personal files to it having installed everything I need from
> pkgsrc. The only caveat is that the wired ethernet port uses a Marvell
> chipset that's not used by NetBSD.

Any updates? Did you test the NC1ß with -current? If the ethernet port is 
still not supported I think every USB2ethernet adaptor should work. Or am 
I wrong about that?

Do the FN-keys, the camera and the sd card-reader work under -current?
What about the table on http://netbsd.org/ports/i386/netbook.html
are the entries for the NC10 still correct?

Best, Mark
Emmanuel Dreyfus | 3 Apr 2009 08:07
Picon

spoting the I/O hog

Hello

I have the machine that sometime get crushed under I/O. for some reason,
an ipop3d process starts writing a lot:
- systat io shows both components of a RAID 1 being 100% busy.
- killing all ipop3d fixes restores I/O to normal.

Apart from killing the processes one by one (there are many), is there a
way to discover which process is the I/O hog? 

--

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu <at> netbsd.org

mahaveer jain | 3 Apr 2009 08:47
Picon

mentor for user friendly and intelligent shell project

I  have idea about making intelligent and user friendly shell.I will be
very thankful if your organisation  can mentor  my project during GSOC.
Idea is:
For a novice user remembering all commands is not possible ,Converting
simple written English into shell
commands can help an un experienced users to use and learn shell
commands .Secondly,Terminal uses exact command matching model .Some user might
forget exact command ,in such cases approximate matching capability of
shell can suggest commands to user,from which user can select
appropriate command .
English text can be processed using lexical,semantic , syntatic
knowledge  and real world information of the language (NLP) and hence
commands can be generated .Applying these concepts in shell can help
novice user to get commands coresponding to written english text.
For example:
  1.  Suppose someone want to connect to internet using dial up .
He/She has to first configure wvdial.conf where he/she has to write
modem type, user name ,password  and then execute wvdial command to
start connection .For an inexperienced user, it will be good if system
can support him/her for performing these tasks by either guiding or
executing commands for user. By making a new command for this purpose
say “help me” command can help user.
 <at> root# help me “connect to net".
it automatically  finds that  wvdial.conf has to be configured and
prompt user to configure it and then give a message telling "wvdial"
should be used to connect to net or shell automatically execute the
command.

For correcting commands, Listance model a variation of Longest Common
Subsequence Model  can be used. In this model two words are considered
(Continue reading)


Gmane