Re: [gentoo-user] Help! How to fix my libc6.so?

2007-03-08 Thread Qiangning Hong

On 3/8/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:

Have you been playing around with your CHOST and/or profile?  Or possibly
are
you running a 32-bit kernel and trying to use a 64-bit userland?  Broken
libc
= bad.


I downgraded binutils in an emerge world -uD and the lower version
of binutils cannot recognize libraries compiled by the old one.


You'll need to extract a binary package of glibc manually.


Thank you and jmbsvicetto at gentoo forum (see
http://forums.gentoo.org/viewtopic-p-3947325.html), I finally resolved
my problem by downloading a binary package of glibc from
http://tinderbox.dev.gentoo.org/

Thanks again!
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Help! How to fix my libc6.so?

2007-03-07 Thread Qiangning Hong

After an failed emerge world, my compiler chain is broken.  Even with
the simplest C file test.c:

int main() { return 0; }

`gcc test.c` produces:

/lib64/libc.so.6: file not recognized: File format not recognized
collect2: ld returned 1 exit status

Could anyone tell me how to fix it? I tried re-emerge glibc, gcc and
binutils, and even emerge -e system, but all of them failed. The error
messages followed:

`emerge glibc | tail`
x86_64-pc-linux-gnu-gcc -nostdlib -nostartfiles -static -o
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/sln
  
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crt1.o
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crti.o
`x86_64-pc-linux-gnu-gcc --print-file-name=crtbegin.o`
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/sln.o
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a
-lgcc
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a
`x86_64-pc-linux-gnu-gcc --print-file-name=crtend.o`
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(iofclose.o):(.eh_frame+0x121):
undefined reference to `__gcc_personality_v0'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(wfileops.o):
In function `_IO_wfile_underflow':
wfileops.c:(.text+0x1215): undefined reference to `_Unwind_Resume'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(wfileops.o):(.eh_frame+0xde):
undefined reference to `__gcc_personality_v0'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(fileops.o):
In function `_IO_file_fopen':
fileops.c:(.text+0x1e1e): undefined reference to `_Unwind_Resume'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(fileops.o):
In function `_IO_file_underflow':
fileops.c:(.text+0x2017): undefined reference to `_Unwind_Resume'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(fileops.o):(.eh_frame+0xde):
undefined reference to `__gcc_personality_v0'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(syslog.o):
In function `__vsyslog_chk':
syslog.c:(.text+0x687): undefined reference to `_Unwind_Resume'
syslog.c:(.text+0x69c): undefined reference to `_Unwind_Resume'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(syslog.o):
In function `openlog':
syslog.c:(.text+0x7a0): undefined reference to `_Unwind_Resume'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(syslog.o):
In function `closelog':
syslog.c:(.text+0x813): undefined reference to `_Unwind_Resume'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(syslog.o):(.eh_frame+0x166):
undefined reference to `__gcc_personality_v0'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(backtrace.o):
In function `backtrace':
backtrace.c:(.text+0x42): undefined reference to `_Unwind_Backtrace'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(backtrace.o):
In function `backtrace_helper':
backtrace.c:(.text+0xfa): undefined reference to `_Unwind_GetIP'
backtrace.c:(.text+0x11d): undefined reference to `_Unwind_GetGR'
backtrace.c:(.text+0x128): undefined reference to `_Unwind_GetCFA'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(iofflush.o):
In function `fflush':
iofflush.c:(.text+0xe9): undefined reference to `_Unwind_Resume'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(iofflush.o):(.eh_frame+0xde):
undefined reference to `__gcc_personality_v0'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(iofwrite.o):
In function `fwrite':
iofwrite.c:(.text+0x12c): undefined reference to `_Unwind_Resume'
/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.a(iofwrite.o):(.eh_frame+0xde):
undefined reference to `__gcc_personality_v0'
collect2: ld returned 1 exit status
make[2]: *** 
[/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/sln]
Error 1
make[2]: *** Waiting for unfinished jobs
make subdir=posix -C ../posix ..=../
objdir=/var/tmp/portage/sys-libs/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu-nptl
-f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-uname.os
rtld-_exit.os rtld-getpid.os rtld-environ.os'
make[4]: Entering directory
`/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/nptl'
make[4]: Entering directory
`/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/posix'
make[4]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/posix'
make[4]: Leaving directory

[gentoo-user] Run script when X is idle for some time?

2006-10-18 Thread Qiangning Hong

I'd like to run a script after X is idle for some time (e.g. 5
minute), just like what gaim do (it set my status to away if I
haven't touch anything for some time).  How can I do?  FYI, I have
some Shell/C/Python programming skill.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] prelink -aqR - Segmentation fault

2006-10-17 Thread Qiangning Hong

I followed HOWTO Hashstyle on gentoo-wiki
(http://gentoo-wiki.com/HOWTO_Hashstyle) days ago.  However, I found
/etc/cron.daily/prelink produces Segmentation fault.  In command line,
I tried the following:

# prelink -aqR
Segmentation fault

How to resolve this?

`emerge --info` followed:

Portage 2.1.2_pre2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.18-suspend2 x86_64)
=
System uname: 2.6.18-suspend2 x86_64 AMD Turion(tm) 64 Mobile Technology MT-30
Gentoo Base System version 1.12.5
Last Sync: Fri, 13 Oct 2006 18:50:01 +
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.1-r1, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=amd64 ~amd64
AUTOCLEAN=yes
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=athlon64 -O2 -pipe -msse3
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
CXXFLAGS=-march=athlon64 -O2 -pipe -msse3
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig ccache distlocks fixpackages metadata-transfer
parallel-fetch sandbox sfperms strict
GENTOO_MIRRORS=http://mirror.datapipe.net/gentoo http://mirror.gentoo.gr.jp;
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=both
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage /usr/portage/local/layman/sunrise
/usr/portage/local/layman/toolchain_overlay
SYNC=rsync://hongqn.7766.org/gentoo-portage
USE=amd64 X a52 aac acpi alsa ao aoss audiofile automount
bash-completion bitmap-fonts bzip2 cairo caps ccache cdr cjk cli dbus
dlloader dri dv dvd dvdr elibc_glibc emboss encode exo fam fbsplash
firefox gcc64 gif glut gstreamer gtk gtk2 hal hashstyle iconv
imagemagick innodb input_devices_keyboard input_devices_mouse
input_devices_synaptics isdnlog ithreads jpeg kernel_linux kqemu
libg++ logrotate lzo mad matroska mikmod mjpeg mmap mp3 mpeg ncurses
nls no-old-linux nptl nptlonly nsplugin nvidia offensive ogg opengl
oss pam panel-plugin pcre png ppds pppd quicktime rar readline
reflection sdl session spell spl ssl startup-notification svg tcpd
threads thunar truetype truetype-fonts type1-fonts udev unicode
userland_GNU video_cards_nvidia vim vorbis x264 xcomposite xml xorg xv
xvid zlib
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS
--
gentoo-user@gentoo.org mailing list



[gentoo-user] network services break fbsplash silent mode

2006-10-14 Thread Qiangning Hong

On my laptop, I am using silent mode of fbsplash during boot.
However, as I have wireless access in my office and wired access in my
home (both dhcp), there is always one of the network services, either
net.lan or net.wlan, will fail.  This will take fbsplash into verbose
mode when the service fails.  It is a bit annoying.  Is there any
advice to keep the silent mode on and still can auto detect the
network access?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] More ALSA trouble

2005-12-30 Thread Qiangning Hong
Michael Sullivan wrote:
 Yesterday I compiled a kernel with ALSA support for my card compiled in.
 I booted with that kernel yesterday and everything worked great. Today
 when I booted into Linux I got errors when alsasound tried to start.
 Here are the errors:

[...]

 #
 # Loadable module support
 #
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 # CONFIG_MODULE_FORCE_UNLOAD is not set
 CONFIG_OBSOLETE_MODPARM=y
 CONFIG_MODVERSIONS=y

I resolved the same problem yesterday by re-make menuconfig and change
CONFIG_MODVERSIONS to n.  However, I don't know if this is the proper way.

 # CONFIG_MODULE_SRCVERSION_ALL is not set
 CONFIG_KMOD=y
 CONFIG_STOP_MACHINE=y

-- 
Qiangning Hong
http://hongqn.hn.org
Registered Linux User #396996
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-30 Thread Qiangning Hong
Ciaran McCreesh wrote:
 On Sun, 30 Oct 2005 12:48:08 +0800 Qiangning Hong [EMAIL PROTECTED]
 wrote:
 | My CPU temperatur (reported
 | by /proc/acpi/thermal_zone/THM0/temperature, I have no luck with
 | lmsensor setup) says 57C when idle, and can boost up to around 68C
 | when emerging big packages.  Is it normal?
 
 There should be a cutoff or trip_points file in there too...
 

$ cat /proc/acpi/thermal_zone/THM0/trip_points
critical (S5):   99 C
passive: 95 C: tc1=5 tc2=4 tsp=600 devices=0xdf6defc0

So I can safely tell my system freeze is not caused by CPU temperature,
right?

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] RAID 10 help

2005-10-29 Thread Qiangning Hong
I have four identical SATA disks and want to create a Software RAID 10
array for my new gentoo system.  But I am quite a newbie for the RAID
area.  I googled but found nothing teach me how to setup a RAID10 on
four disks -- all the tutorials, howto, etc. are talking about setup
RAID1 or RAID0 or mix these two up on two disks.

I fdisk all my four disks to the following:

livecd ~ # sfdisk -d /dev/sda
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=   63, size=   144522, Id=fd
/dev/sda2 : start=   144585, size=  1975995, Id=82
/dev/sda3 : start=  2120580, size= 39086145, Id=fd
/dev/sda4 : start= 41206725, size=115089660, Id=fd

/dev/sdb, /dev/sdc and /dev/sdd are all fdisk'ed as the same as /dev/sda.

As grub cannot be setup on RAID0 (neither RAID 1+0 nor RAID 0+1), I have
to create a four-partion RAID1 with /dev/sd[abcd]1 and mount it as /boot.

Then I want both my / and /var are RAID10.  I use the following schema:

/dev/sda3/dev/sdb3/dev/sdc3/dev/sdd3
||||
+--(RAID1)---++---(RAID1)--+
  |  |
   /dev/md3   /dev/md4
  |  |
  +-(RAID0)--+
   |
/dev/md5

and mount /dev/md5 as /.  The same as /dev/sd[abcd]4 for a /dev/md8 as /var.

After mkraid, I followed the Gentoo Handbook and installed system, build
all RAID and driver mapping options into kernel.  But after reboot,
kernel panic!  The error message says it can not mount / on /dev/md5
because it doesn't exist.

From the messages on the boot screen, it seems the kernel can assemble
the two RAID1's and create /dev/md3 and /dev/md4, but it can not
assemble /dev/md5.  Maybe because /dev/md5 is based on two md devices?

I tried RAID1 on two RAID0's but with no luck, either.

How can I create a system which root partion is RAID10?

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-29 Thread Qiangning Hong
John Jolet wrote:
On Fri, 28 Oct 2005, Qiangning Hong wrote:

My gentoo system on an IBM Thinkpad R52 crashs randomly (usually when
CPU usage is high).  When it crashs, the whole system freezes -- mouse
point doesn't move, keyboard doesn't response, I even can't connect it
via ssh.  I had to hard reset the machine, therefore no error message is
left in the log files.  How can I find the reason?

 sounds like a heating issue, maybe too.  Although, if cpu usage is high, mayb 
 ememory is, too.  if you've got a bad spot on the disk where swap is, you'll 
 get that behavior.

I know there is memtest86 to test memory.  What tool can check health of
hard disks?

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-29 Thread Qiangning Hong
Ciaran McCreesh wrote:
 On Fri, 28 Oct 2005 19:36:44 +0800 Qiangning Hong [EMAIL PROTECTED]
 wrote:
 | My gentoo system on an IBM Thinkpad R52 crashs randomly (usually when
 | CPU usage is high).  When it crashs, the whole system freezes -- mouse
 | point doesn't move, keyboard doesn't response, I even can't connect it
 | via ssh.  I had to hard reset the machine, therefore no error message
 | is left in the log files.  How can I find the reason?
 
 Check the CPU temperature. My T30 used to do that when it had a
 small furry animal blocking the fan outlet...
 

My CPU temperatur (reported by /proc/acpi/thermal_zone/THM0/temperature,
I have no luck with lmsensor setup) says 57C when idle, and can boost up
to around 68C when emerging big packages.  Is it normal?

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-29 Thread Qiangning Hong
A. Khattri wrote:
 On Sun, 30 Oct 2005, Qiangning Hong wrote:
 
 
I know there is memtest86 to test memory.  What tool can check health of
hard disks?
 
 
 Maybe you can check with smartmontools...
 

Can smartmontools handle SATA disks?  I got the following messages when
I tried to get SMART info from my disk:

# smartctl -a /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: ATA  HTS541040G9AT00  Version: MB2I

SATA disks accessed via libata are not currently supported by
smartmontools. When libata is given an ATA pass-thru ioctl() then an
additional '-d libata' device type will be added to smartmontools.

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] RAID 10 help

2005-10-29 Thread Qiangning Hong
A. Khattri wrote:
 On Sun, 30 Oct 2005, Qiangning Hong wrote:
 
 
As grub cannot be setup on RAID0 (neither RAID 1+0 nor RAID 0+1), I have
to create a four-partion RAID1 with /dev/sd[abcd]1 and mount it as /boot.

Then I want both my / and /var are RAID10.  I use the following schema:

/dev/sda3/dev/sdb3/dev/sdc3/dev/sdd3
||||
+--(RAID1)---++---(RAID1)--+
  |  |
   /dev/md3   /dev/md4
  |  |
  +-(RAID0)--+
   |
/dev/md5

and mount /dev/md5 as /.  The same as /dev/sd[abcd]4 for a /dev/md8 as /var.

After mkraid, I followed the Gentoo Handbook and installed system, build
all RAID and driver mapping options into kernel.  But after reboot,
kernel panic!  The error message says it can not mount / on /dev/md5
because it doesn't exist.
 
 
 Is RAID support in your kernel?

Yes, I compiled in (not as module) all the options under Device Driver
-- Multi-device support (RAID and LVM)

 Did you use mdadm to make the arrays?

No, I create /etc/raidtab by hand and run mkraid for each md device,
following the steps of
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID


-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to get debug information if system crashs randomly?

2005-10-28 Thread Qiangning Hong
My gentoo system on an IBM Thinkpad R52 crashs randomly (usually when
CPU usage is high).  When it crashs, the whole system freezes -- mouse
point doesn't move, keyboard doesn't response, I even can't connect it
via ssh.  I had to hard reset the machine, therefore no error message is
 left in the log files.  How can I find the reason?


-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help, Marvell patched sk98lin for livecd 2005.1

2005-10-28 Thread Qiangning Hong
I am installing gentoo on a new machine with an onboard Marvel 8E8053
Gigabit LAN controller.  However, LiveCD 2005.1 can not detect this
controller, both sk98lin and skge don't work.  After googling, I find
this artical http://pavuk.7gods.org/notebook.html#network and know that
I must patch the kernel and recompile it.  But the LiveCD minimal has no
gcc built in.  I tried patch and compile in my working laptop, and
insmod sk98lin.ko in the livecd environment, it tells me the kernel
versions don't match:
2.6.12-suspend-r6 preempt PENTIUMM gcc-3.4
versus
2.6.12-gentoo-r6 SMP perempt 586 4KSTACKS gcc-3.3

It seems gentoo-sources-r6 has been removed from portage currently.  How
can I do?  Or, could anyone send me a patched sk98lin.ko which is
insmod-able in LiveCD 2005.1 environment in private mail?  Thanks a lot!

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] transfer large files via samba cause system freeze

2005-09-24 Thread Qiangning Hong
Holly Bostick wrote:
 Qiangning Hong schreef:
 
Bryan Whitehead wrote:


Can't you also use the iocharset=utf8 and codepage=utf8?

something like: mount -t smbfs -o 
user=user,iocharset=utf8,codepage=utf8 \\server\path /mnt/samba

This doesn't work?


It doesn't work. There are ?s in the filenames.

 
 
 That's actually a good thing I take it you're doing this in a
 terminal? Which one? Was it compiled with UTF8 support?What font is the
 terminal using for display? A ? replacing characters tends to mean (in
 font-speak) that the character is 'known', but no actual character
 exists to render under the selected font, or font encoding. So you kinda
 get a? literally because the display doesn't know what to show there,
 if you see what I'm getting at.

My gentoo system's locale is set to en_US.UTF8 and my
xfce-extra/terminal is fully support UTF-8 encoding.  As my previous
post says, I can see the Chinese filenames using CIFS with the following
command switches:

# mount -t cifs //winbox/movies /mnt/samba -o iocharset=utf8

But if I mount the path using smbfs, even specified
iocharset=utf8,codepage=utf8, the filename is shown incorrectly.  I
don't think it's because of my terminal encoding setting.

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] transfer large files via samba cause system freeze

2005-09-23 Thread Qiangning Hong
Bryan Whitehead wrote:
 Can't you also use the iocharset=utf8 and codepage=utf8?
 
 something like:
 mount -t smbfs -o user=user,iocharset=utf8,codepage=utf8 \\server\path
 /mnt/samba
 
 This doesn't work?

It doesn't work. There are ?s in the filenames.

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] transfer large files via samba cause system freeze

2005-09-23 Thread Qiangning Hong
Jerry McBride wrote:
 What version samba and do you have use sendfile = no in the server smb.conf 
 file?

samba 3.0.14a-r2.

I don't know how to set options in the windows box.  But in my gentoo
laptop, there is no sendfile line in /etc/samba/smb.conf.

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] transfer large files via samba cause system freeze

2005-09-22 Thread Qiangning Hong
Heinz Sporn wrote:
 Am Donnerstag, den 22.09.2005, 11:03 +0800 schrieb Qiangning Hong:
 
I tried to transfer a large file (~300MB) to a windows machine from my
gentoo laptop:

# mount -t cifs //winbox/movies /mnt/samba -o iocharset=utf8,umask=
 
 
 What if you just try
 mount -o username=xxx //winbox/movies /mnt/samba ?
 
 Does this resolve to a smb type mount (instead of CIFS)? Does it work
 better? Kernel options for SMB / CIFS ?

Isn't CIFS considered as a better SMBFS?

My winbox is a Chinese version windows, use smbfs will cause the
filename containing Chinese characters messed up.  When use cifs with -o
iocharset=utf8, these characters are resolved correctly.

What do you mean of Kernal options for SMB / CIFS?  I just build them
as modules.

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] transfer large files via samba cause system freeze

2005-09-22 Thread Qiangning Hong
Heinz Sporn wrote:
 Am Donnerstag, den 22.09.2005, 16:26 +0800 schrieb Qiangning Hong:
Isn't CIFS considered as a better SMBFS?
 
 It's been said. Still - do you have both SMBFS and CIFS support built
 into your kernel, or just CIFS? If the later is true I would include
 SMBFS as well and try the same thing with good old SMB as well (you may
 use both simultanously anyway).

I add smbfs support in my kernel and tried (after change the filename to
an English-only one).  It works.

However, as my previous mail said, using smbfs doesn't address my
problem.  I have plenty (~100) large files to transfer, and maybe you've
guessed, they are movie files, with Chinese movie title in the
filenames.  And the movies directories on my winbox have also Chinese
characters.  If I stick in the smbfs solution, I'll have to do too many
manual filename change things.  So, I still prefer to find out what's
wrong with my cifs and fix it.

 Interessting details missing: your kernel and windoze version?

Linux r52 2.6.13-suspend2-r4 #4 Wed Sep 21 17:35:55 CST 2005 i686
Intel(R) Pentium(R) M processor 1.73GHz GenuineIntel GNU/Linux

Windows XP Professional with SP2.

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] vmware guest os timer extremely slow

2005-09-21 Thread Qiangning Hong
Hardware: Thinkpad R52, pentium-m 1.73G,
Host: suspend2-sources-2.6.13-r4, vmware-workstation-4.5.2.8848-r7
Guest OS: Windows 2000 professional

The windows guest os is extemely slow. After double-click the date at
bottom-right corner and show the second hand of the clock, I find that
it cost more than 10 seconds for the guest os to increase *one* second.
 That is, the timer in the guest os is 10 times slower than the host.
How can I resolve this?

One of the support articals on the vmware's website says /dev/rtc is
needed to give high-resolution timer, so I recompiled my kernel and now
I have a /dev/rtc (which symlink to /dev/misc/rtc). But the problem is
still there.


-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vmware guest os timer extremely slow

2005-09-21 Thread Qiangning Hong
Richard Fish wrote:
 The problem is probably because VMWare uses the processor TSC counter
 for timing, the rate of which varies with the processor frequency.
 
 The following works for me on a pentium-m 2.13ghz system:
 
 1. Add processor.max_cstate=1 to your kernel boot options.
 2. If you are running cpufreqd, stop it with /etc/init.d/cpufreqd stop
 3. Do echo performance 
 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 4. Run VMWare.
[...]

I add the processor.max_cstate=1 to the boot options and add the rule
entry in /etc/cpufreqd.conf according to your post, and it works! Thank
you very much!

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] transfer large files via samba cause system freeze

2005-09-21 Thread Qiangning Hong
I tried to transfer a large file (~300MB) to a windows machine from my
gentoo laptop:

# mount -t cifs //winbox/movies /mnt/samba -o iocharset=utf8,umask=
# exit
$ cp largefile.avi /mnt/samba

The transfer starts and eats 100% of my CPU. However, after transfered
~40MB of data, my linux system freezed: mouse point doesn't move,
keyboad doesn't response, even Ctrl-Alt-Del has no effects. The only
thing I can do is hard-reset my laptop.

If I share this file via samba server and use windows explorer on the
winbox to retrieve it, it works.

It seems something wrong with the samba client?

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Make a running process nohup?

2005-09-07 Thread Qiangning Hong
Is it possible make a running process nohup so that I can leave it
running after I logout without interrupt it?

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gpasswd not function immediately?

2005-09-01 Thread Qiangning Hong
I want to create a crontab for my account using crontab -e. However
system tells me I have no permission to run crontab.  I checked the
Gentoo Linux Cron Guide_ and find that I must add my account to the
cron group to use crontab.  Follow the guide, I ran:

$ sudo gpasswd -a hongqn cron

and run crontab -e again.  But bash still tells me Permission
denied.  It seems the system has not recoginized I am already a cron
group member immediately.  Maybe it reads a cache somewhere?  If so, how
can I flush that cache?

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slightly OT: favorite window manager/desktop environ?

2005-08-31 Thread Qiangning Hong
Bob Sanders wrote:
 enlightenment E16.  After messing with KDE, Gnome, Openbox, fluxbox,
 flirting with XCFE and a few others, I came back to Enlightenment.

As an XFCE user currently, I'm curious about what make you guys leave
XFCE for other lightweight WMs?

-- 
Qiangning Hong

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] thunderbird stopped opening firefox windows...

2005-08-30 Thread Qiangning Hong
Antoine wrote:
 When I click on an email now nothing happens. It was fine and dandy for
 a while but now nothing... anyone got any ideas?

Add the following line into prefs.js of your Thunderbird profile:

user_pref(network.protocol-handler.app.http, firefox);

I believe Thunderbird has changed its default behavior from some version.


-- 
Qiangning Hong

I'm usually annoyed by IDEs because, for instance, they don't use VIM
as an editor. Since I'm hooked to that, all IDEs I've used so far have
failed to impress me.
-- Sybren Stuvel @ c.l.python

Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] config qt theme without kde?

2005-08-27 Thread Qiangning Hong
I am an XFCE user.  Today I installed skype which use qt as its UI.
However, the UI is ugly (tk-like).  I find some very nice qt (or kde?)
themes on kde-look.org, but I don't know how to install them without KDE
Control Center.  I don't want to install KDE anyway.

Anyone can tell me how to manually install qt themes or give me a howto
URL?  I did google with qt theme install but have no luck.

-- 
Qiangning Hong

I'm usually annoyed by IDEs because, for instance, they don't use VIM
as an editor. Since I'm hooked to that, all IDEs I've used so far have
failed to impress me.
-- Sybren Stuvel @ c.l.python

Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Synaptics touchpad not work under X

2005-08-12 Thread Qiangning Hong
, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  i810
VendorName  Intel Corporation
BoardName   Mobile 915GM/GMS/910GML Express Graphics Controller
BusID   PCI:0:2:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth  24
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection

Section DRI
Mode   0666
EndSection

Section Extensions
#Option Composite On
EndSection



-- 
Qiangning Hong

I'm usually annoyed by IDEs because, for instance, they don't use VIM
as an editor. Since I'm hooked to that, all IDEs I've used so far have
failed to impress me.
-- Sybren Stuvel @ c.l.python

Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] how to copy a file's content to clipboard?

2005-08-12 Thread Qiangning Hong
Do you know how to copy the content of a file to the X clipboard using
command?  Every time now I need to paste a file into my email, I have to
cat it in a terminal and use mouse to select the text.  Is there a more
convenient way?


-- 
Qiangning Hong

I'm usually annoyed by IDEs because, for instance, they don't use VIM
as an editor. Since I'm hooked to that, all IDEs I've used so far have
failed to impress me.
-- Sybren Stuvel @ c.l.python

Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] install from stage1: why gcc-3.3.6?

2005-08-01 Thread Qiangning Hong
I bought a new laptop with pentium-m CPU and installing gentoo on it
from stage1.

The gcc version on livecd (2004.3) is 3.3.x, but I want use
-march=pentium-m in my CFLAGS and gcc 3.3.x doesn't support it.  So I
add the following line in /etc/portage/package.keywords:

sys-devel/gcc ~x86

and run bootstrap.sh with the default CFLAGS -mcpu=i686, and get gcc 3.4.4.

Then I change my CFLAGS to -march=pentium-m and execute emerge -e
system as Handbook says.  But it failed when emerging gcc-3.3.6
because of unknown value for -march=.

gcc-3.3.6?  I don't need it! I have gcc-3.4.4 unmasked!

I check the package list of emerge -ep system, and find both gcc-3.3.6
and gcc-3.4.4 are to be emerged. Why? How can I get rid of emerging
two versions of gcc?

-- 
Qiangning Hong

I'm usually annoyed by IDEs because, for instance, they don't use VIM
as an editor. Since I'm hooked to that, all IDEs I've used so far have
failed to impress me.
   -- Sybren Stuvel @ c.l.python

Get Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install from stage1: why gcc-3.3.6?

2005-08-01 Thread Qiangning Hong
On 8/2/05, Craig Duncan [EMAIL PROTECTED] wrote:
 Qiangning Hong wrote:
 
 The gcc version on livecd (2004.3) is 3.3.x, but I want use
 -march=pentium-m in my CFLAGS and gcc 3.3.x doesn't support it.  So I
 add the following line in /etc/portage/package.keywords:
 
 sys-devel/gcc ~x86
 
 gcc-3.3.6?  I don't need it! I have gcc-3.4.4 unmasked!
 
 
 
 No, package.keywords is architecture specific, to unmask a package, add
 it to /etc/portage/package.unmask.

I thought there is a kind of mask named mask by KEYWORDS :)

Well, whatever, I add =sys-devel/gcc-3.4.4 to
/etc/portage/packae.unmask and find that gcc-3.3.6 still is to be
emerged:

# emerge -ept system | grep gcc
[ebuild N] sys-devel/gcc-3.3.6
[ebuild N] sys-devel/gcc-3.4.4
[ebuild N]  sys-devel/gcc-config-1.3.11-r4

And from the tree output, I find that gcc-3.4.4 is listed as a
dependence of gcc-3.3.6.  ???

What further I need to do to get rid of installing gcc-3.3.6 in my system?


-- 
Qiangning Hong

I'm usually annoyed by IDEs because, for instance, they don't use VIM
as an editor. Since I'm hooked to that, all IDEs I've used so far have
failed to impress me.
   -- Sybren Stuvel @ c.l.python

Get Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install from stage1: why gcc-3.3.6?

2005-08-01 Thread Qiangning Hong
On 8/2/05, Javier Uribe [EMAIL PROTECTED] wrote:
 El Mar 02 Ago 2005 00:25, Qiangning Hong escribió:
  # emerge -ept system | grep gcc
  [ebuild N] sys-devel/gcc-3.3.6
  [ebuild N] sys-devel/gcc-3.4.4
  [ebuild N]  sys-devel/gcc-config-1.3.11-r4
 
  And from the tree output, I find that gcc-3.4.4 is listed as a
  dependence of gcc-3.3.6.  ???
 
  What further I need to do to get rid of installing gcc-3.3.6 in my system?
 
 Hi.
 you do this
 
 echo sys-devel/gcc ~x86  /etc/portage/package.keywords
 echo sys-libs/glibc ~x86  /etc/portage/package.keywords
 echo sys-libs/libstdc++-v3 ~x86  /etc/portage/package.keywords
 echo sys-devel/gcc-config ~x86  /etc/portage/package.keywords
 
 and ready

Doesn't work.  gcc-3.3.6 is still in the emerge list.

livecd / # ls /etc/portage
package.keywords  package.unmask  package.use  sets

livecd / # cat /etc/portage/package.keywords
sys-devel/gcc ~x86
sys-libs/glibc ~x86
sys-libs/libstdc++-v3 ~x86
sys-devel/gcc-config ~x86

livecd / # cat /etc/portage/package.unmask
=sys-devel/gcc-3.4.4

livecd / # emerge -etp system | grep gcc
[ebuild  N] sys-devel/gcc-3.3.6
[ebuild  N] sys-devel/gcc-3.4.4
[ebuild  N]  sys-devel/gcc-config-1.3.12

livecd / # emerge -etp system

These are the packages that I would merge, in reverse order:

Calculating system dependencies...done!
[ebuild  N] sys-libs/pwdb-0.62
[ebuild  N] sys-apps/hdparm-5.9
[ebuild  N] sys-apps/busybox-1.00-r4
[ebuild  N] net-misc/openssh-3.9_p1-r2
[ebuild  N]  sys-apps/tcp-wrappers-7.6-r8
[ebuild  N] sys-apps/module-init-tools-3.0-r2
[ebuild  N] app-editors/nano-1.3.7
[ebuild  N] sys-fs/udev-058
[ebuild  N]  sys-apps/hotplug-base-20040401
[ebuild  N] sys-devel/make-3.80-r1
[ebuild  N] sys-process/psmisc-21.5
[ebuild  N] sys-process/procps-3.2.5-r1
[ebuild  N] sys-apps/net-tools-1.60-r11
[ebuild  N] sys-apps/man-pages-2.02
[ebuild  N] sys-apps/less-382-r2
[ebuild  N] sys-apps/kbd-1.12-r5
[ebuild  N] sys-apps/grep-2.5.1-r7
[ebuild  N] sys-apps/gawk-3.1.3-r2
[ebuild  N] sys-apps/findutils-4.1.20-r1
[ebuild  N] sys-apps/baselayout-1.11.13
[ebuild  N]  sys-apps/coreutils-5.2.1-r6
[ebuild  N]   sys-apps/help2man-1.33.1
[ebuild  N]dev-perl/Locale-gettext-1.03
[ebuild  N]  sys-apps/sysvinit-2.86
[ebuild  N] net-misc/wget-1.9.1-r5
[ebuild  N] net-misc/rsync-2.6.0-r6
[ebuild  N]  dev-libs/popt-1.7-r1
[ebuild  N] net-misc/iputils-021109-r3
[ebuild  N] x11-terms/xterm-200-r3
[ebuild  N]  sys-apps/utempter-0.5.5.6
[ebuild  N]   app-arch/rpm2targz-9.0-r3
[ebuild  N]sys-apps/which-2.16
[ebuild  N]sys-apps/file-4.13
[ebuild  N] dev-lang/python-2.3.5
[ebuild  N]  dev-lang/tk-8.4.9
[ebuild  N]   x11-base/xorg-x11-6.8.2-r2
[ebuild  N]media-libs/fontconfig-2.2.3
[ebuild  N]x11-misc/ttmkfdir-3.0.9-r3
[ebuild  N] sys-devel/libtool-1.5.18-r1
[ebuild  N]media-libs/freetype-2.1.9-r1
[ebuild  N]x11-base/opengl-update-2.2.1
[ebuild  N]media-libs/libpng-1.2.8
[ebuild  N]sys-apps/util-linux-2.12i-r1
[ebuild  N] app-crypt/hashalot-0.3
[ebuild  N] sys-fs/e2fsprogs-1.38
[ebuild  N]  sys-libs/ss-1.38
[ebuild  N]  sys-libs/com_err-1.38
[ebuild  N] sys-apps/pam-login-3.17
[ebuild  N]  sys-apps/shadow-4.0.7-r3
[ebuild  N]   sys-apps/portage-2.0.51.22-r2
[ebuild  N]sys-apps/debianutils-2.13.1-r1
[ebuild  N]sys-apps/sandbox-1.2.11
[ebuild  N]  sys-libs/pam-0.78-r2
[ebuild  N]   sys-devel/automake-1.9.5
[ebuild  N]sys-devel/automake-wrapper-1-r1
[ebuild  N] sys-devel/automake-1.4_p6
[ebuild  N] sys-devel/automake-1.7.9-r1
[ebuild  N] sys-devel/automake-1.6.3
[ebuild  N] sys-devel/automake-1.8.5-r3
[ebuild  N] sys-devel/automake-1.5
[ebuild  N]   dev-util/pkgconfig-0.17.2-r1
[ebuild  N]   sys-libs/cracklib-2.8.3-r1
[ebuild  N]   sys-devel/autoconf-2.59-r6
[ebuild  N]sys-devel/autoconf-wrapper-3-r1
[ebuild  N] sys-devel/autoconf-2.13
[ebuild  N]  dev-libs/expat-1.95.8
[ebuild  N]  dev-libs/openssl-0.9.7e-r1
[ebuild  N]   sys-apps/diffutils-2.8.7-r1
[ebuild  N]   sys-devel/bc-1.06-r6
[ebuild  N]sys-devel/flex-2.5.4a-r5
[ebuild  N]  sys-libs/readline-5.0-r2
[ebuild  N]  dev-python/python-fchksum-1.7.1
[ebuild  N] app-admin/perl-cleaner-1.01
[ebuild  N] dev-lang/perl-5.8.6-r5
[ebuild  N]  sys-devel/libperl-5.8.6-r1
[ebuild  N] sys-apps/man-1.6-r1
[ebuild  N]  sys-process/cronbase-0.3.2
[ebuild  N]  sys-apps/groff-1.19.1-r2
[ebuild  N]  sys-libs/gdbm-1.8.3-r1
[ebuild  N]  sys-libs/db-4.2.52_p2
[ebuild  N]   dev-lang/tcl-8.4.9
[ebuild  N] app-arch/tar-1.15.1
[ebuild  N]  app-arch/gzip-1.3.5-r8

[gentoo-user] change firefox's icon

2005-06-20 Thread Qiangning Hong
The Firefox browser's app icon (i.e. the icon displayed in the taskbar)
is a blue global.  But under windows it is a red fox around a global.  I
prefer the latter for it's cooler.  How can I change the app icon?

My desktop environment is XFCE 4.2.2.

-- 
Qiangning Hong

 
/ printk(KERN_CRIT PFX Reboot didn't ?\n); \
||
\ linux-2.6.6/drivers/char/watchdog/softdog.c/
 
   \ __--~~-,
\  ,',
  /   \
 /:
|  '
|  |
|  |
 |   _--   |
 _| =-. .-.   ||
 o|/o/   _.   |
 /  ~  \ |
   (@)  ___~|
  |_===~~~.`|
   ___.--~ |
   \   |
\  |
  __/-___-- -__
 /_ \
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Is there an app/lib can do voice comparation?

2005-04-30 Thread Qiangning Hong
Is there an existing software (perhaps an education software) can do
the following function?

The student reads aloud a piece of text to the microphone.  The
software records the voice and compare it to the wave file
pre-recorded by the teacher, and gives out a score to indicate the
similarity between them.

This function will help students to pronounce properly when learning
foreign languages.

If there is no such a usable application exists, but a library can do
the voice compare algorithm, I would like to develop an app upon it.

For those who would suggest sphinx: the voice recognition technology
is not acceptable here because we are not teaching English.

-- 
Qiangning Hong
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] download dynamic generated file using wget or curl

2005-04-21 Thread Qiangning Hong
I want to download some jpg's whose URL is as
http://some.site/show.php?id=100. In firefox, the downloaded
filename is correctly as somefile.jpg, but if I download it using
wget or curl, the downloaded file name is show.php?id=100, which is
not acceptable. Can anyone give me a hint to use command line
tool to download such kind of files with correct filename?-- Qiangning HongGet Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1


[gentoo-user] file permission setting problem

2005-04-15 Thread Qiangning Hong
I have a file with special permission requirement. I want user1
and user2 can read/write this file, user3 can read only and others can
not access it. How to set the permission bits? No ACL
support.-- Qiangning HongGet Firefox! http://www.spreadfirefox.com/?q=affiliatesamp;id=67907amp;t=1