Re: How to debug a vnc issue in Debian 10?
Le mer. 13 mai 2020 à 09:40, Yuwen Dai a écrit : > Dear all, > > I setup a vnc server in Debian 10 and connect to the server by using vnc > client, the desktop shows, but I cannot launch any application. There's > no error message. It looks like a privilege issue. This is what I did: > > > I found the applications do run, but show up on the desktop of the host > that vncserver runs! Do you have any advice on what happened? > > Best regards, Yuwen
How to debug a vnc issue in Debian 10?
Dear all, I setup a vnc server in Debian 10 and connect to the server by using vnc client, the desktop shows, but I cannot launch any application. There's no error message. It looks like a privilege issue. This is what I did: sudo apt install xfce4 xfce4-goodies gnome-icon-theme tightvncserver -y vncpasswd create my ./vnc/xstartup like this: #! /bin/sh exec /usr/bin/xfce4-session & then run vncserver :1 -localhost no -verbose in the client host, run vncviewer :1 Are there any log files I can view to the debug this issue? Thanks in advance. Best regards, Yuwen
Re: dictionnaire
Bonjour Bernard, Je trouve que je peux utiliser aspell-fr dans Emacs, c'est plus facile que dicollecte. En effect, je travaille quotidiennement avec Emacs. Merci quand même! bonne journée yuwen Le 12 octobre 2017 à 10:55,a écrit : > bonjour, > > voici un autre lien : https://www.dicollecte.org/ > > il serait sage de passer par autre chose que Gedit : > > Emacs > Vim > > slt > bernard >
Re: "spelling check" pour le français
Bonjour, J'ai supprimé myspell-fr et j'ai installé myspell-fr-gut, "allez" n'est plus une faute. Merci! Bonne journée! Yuwen Le 12 octobre 2017 à 18:04, Sébastien NOBILI <sebnewslet...@free.fr> a écrit : > Bonjour, > > (note à l’attention de tous ceux qui ont gentiment dispensé leur leçon de > Français : visiblement elle était inutile car Yuwen semble apte à apprendre > notre langue sans nous, mais la réponse à sa question aurait peut-être été > plus > utile, ne pensez-vous pas ?) > > Le jeudi 12 octobre 2017 à 10:24, Yuwen Dai a écrit : > > J'apprends le français récemment et J'ai installé myspell-fr pour > "spelling > > check" dans gedit. Quand je fais "spelling check" sur mon texte, > plusieurs > > mots sont considérés invalides, tel que "j", "c", même "allez"! Je > > comprends que "j", "c" sont invalides parce que je utilise phrases > > <<j'ai... c'est>>,ect. Mais pourquoi "allez" est invalide? > > > > Est-ce que vous avez une idée? Merci d'avance pour votre aide! > > « j’ » et « c’ » ne devraient pas être considérés comme des fautes. > Pourtant, > c’est le cas (sur mon système aussi). Je pense donc que c’est un bug du > correcteur orthographique. > > Sur mon système, « allez » n’est pas considéré comme une faute (c’est un > mot > valide). J’utilise les dictionnaires suivants : > > aptitude search '~ispell-fr' > i aspell-fr - Dictionnaire français pour aspell > i myspell-fr-gut - French dictionary for myspell (GUTenberg version) > > Sébastien > >
Re: "spelling check" pour le français
Merci Patrice et bonne journée! Le 12 octobre 2017 à 14:02, Patrice Constans <const...@univ-perp.fr> a écrit : > *Bonjour,* > > > > > > > > *"allez" est le verbe "aller" conjugué au présent, à la deuxième personne > du pluriel... je vais tu vas il va nous allons vous allez ils vont * > > *Exemple : les enfants, maintenant, vous allez à l'école* > > *Bon courage et bonne journée, Patrice.* > > Le 12/10/2017 à 05:14, Yuwen Dai a écrit : > > Merci Bernard, mais mon question est pourquoi "allez" est un invalide > mot. Vous n'avez pas le même problème? > > slt > Yuwen > > Le 12 octobre 2017 à 10:35, <bernard.schoenac...@free.fr> a écrit : > >> >> >> -- >> >> *De: *"Yuwen Dai" <yuw...@gmail.com> >> *À: *debian-user-french@lists.debian.org >> *Envoyé: *Jeudi 12 Octobre 2017 04:24:18 >> *Objet: *"spelling check" pour le français >> >> >> Bonjour! >> >> J'apprends le français récemment et J'ai installé myspell-fr pour >> "spelling check" dans gedit. Quand je fais "spelling check" sur mon texte, >> plusieurs mots sont considérés invalides, tel que "j", "c", même "allez"! >> Je comprends que "j", "c" sont invalides parce que je utilise phrases >> <<j'ai... c'est>>,ect. Mais pourquoi "allez" est invalide? >> >> Est-ce que vous avez une idée? Merci d'avance pour votre aide! >> Yuwen >> >> >> bonjour >> voici ce qui est installé sur mon ordi : >> >> dpkg -l |awk '/spell/ {print $1 " "$2 " "$3}' >> >> >> ii aspell 0.60.7~20110707-4 >> ii aspell-en 2017.08.24-0-0.1 >> ii aspell-fr 0.50-3-8 >> ii dictionaries-common 1.27.2 >> ii enchant 1.6.0-11.1 >> ii hunspell 1.6.2-1 >> ii hunspell-en-us 20070829-7 >> ii hunspell-fr 1:6.1-1 >> ii hunspell-fr-classical 1:6.1-1 >> ii ifrench-gut 1:1.0-32 >> ii ispell 3.4.00-6 >> ii libaspell15:amd64 0.60.7~20110707-4 >> ii libenchant1c2a:amd64 1.6.0-11.1 >> ii libgtkspell0 2.0.16-1.1 >> ii libgtkspell3-3-0:amd64 3.0.9-1 >> ii libgtkspellmm-3.0-0v5:amd64 3.0.5+dfsg-1 >> ii libhfstospell9:amd64 0.4.5~r343-2.1 >> ii libhunspell-1.4-0:amd64 1.4.1-2+b2 >> ii libhunspell-1.6-0:amd64 1.6.2-1 >> ii libkf5sonnet5-data 5.37.0-2 >> ii libkf5sonnetcore5:amd64 5.37.0-2 >> ii libkf5sonnetui5:amd64 5.37.0-2 >> ii sonnet-plugins 5.37.0-2 >> >> slt >> bernard >> > > > -- > "Mai los ases son vièlhs, mai venon fats !" > const...@univ-perp.fr > > Patrice CONSTANS > Installations Informatiques > I.U.T. de Perpignan, > Dept. Statistique et Informatique Décisionnelle > 11000 CARCASSONNE > Tel : 04 68 47 74 57 > Fax : 04 68 47 71 63 > > ATTENTION Le message contenu dans cet email ainsi que dans tout fichier > attaché est destiné exclusivement aux personnes dont le nom figure ci-dessus. > Il peut contenir des informations confidentielles ou protégées par le secret > professionnel et dont la divulgation est strictement prohibée. Si vous avez > reçu cet email par erreur,détruisez-en le contenu. Vous n'êtes pas autorisé, > dans cette hypothèse, à copier, distribuer ou conserver ce message. Merci. > > WARNING This information in this mail and in any attachments is intended for > the above-mentioned addressees only. It may contain privileged or > confidential informationthe review, dissemination or disclosure of which is > strictly prohibited. If you have received this email by error, please destroy > it. In this case, you are not authorisedto disclose, copy, distribute, or > retain this message or any part of it. Thank you. > >
Re: "spelling check" pour le français
Merci Bernard, mais mon question est pourquoi "allez" est un invalide mot. Vous n'avez pas le même problème? slt Yuwen Le 12 octobre 2017 à 10:35, <bernard.schoenac...@free.fr> a écrit : > > > ------ > > *De: *"Yuwen Dai" <yuw...@gmail.com> > *À: *debian-user-french@lists.debian.org > *Envoyé: *Jeudi 12 Octobre 2017 04:24:18 > *Objet: *"spelling check" pour le français > > > Bonjour! > > J'apprends le français récemment et J'ai installé myspell-fr pour > "spelling check" dans gedit. Quand je fais "spelling check" sur mon texte, > plusieurs mots sont considérés invalides, tel que "j", "c", même "allez"! > Je comprends que "j", "c" sont invalides parce que je utilise phrases > <<j'ai... c'est>>,ect. Mais pourquoi "allez" est invalide? > > Est-ce que vous avez une idée? Merci d'avance pour votre aide! > Yuwen > > > bonjour > voici ce qui est installé sur mon ordi : > > dpkg -l |awk '/spell/ {print $1 " "$2 " "$3}' > > > ii aspell 0.60.7~20110707-4 > ii aspell-en 2017.08.24-0-0.1 > ii aspell-fr 0.50-3-8 > ii dictionaries-common 1.27.2 > ii enchant 1.6.0-11.1 > ii hunspell 1.6.2-1 > ii hunspell-en-us 20070829-7 > ii hunspell-fr 1:6.1-1 > ii hunspell-fr-classical 1:6.1-1 > ii ifrench-gut 1:1.0-32 > ii ispell 3.4.00-6 > ii libaspell15:amd64 0.60.7~20110707-4 > ii libenchant1c2a:amd64 1.6.0-11.1 > ii libgtkspell0 2.0.16-1.1 > ii libgtkspell3-3-0:amd64 3.0.9-1 > ii libgtkspellmm-3.0-0v5:amd64 3.0.5+dfsg-1 > ii libhfstospell9:amd64 0.4.5~r343-2.1 > ii libhunspell-1.4-0:amd64 1.4.1-2+b2 > ii libhunspell-1.6-0:amd64 1.6.2-1 > ii libkf5sonnet5-data 5.37.0-2 > ii libkf5sonnetcore5:amd64 5.37.0-2 > ii libkf5sonnetui5:amd64 5.37.0-2 > ii sonnet-plugins 5.37.0-2 > > slt > bernard >
"spelling check" pour le français
Bonjour! J'apprends le français récemment et J'ai installé myspell-fr pour "spelling check" dans gedit. Quand je fais "spelling check" sur mon texte, plusieurs mots sont considérés invalides, tel que "j", "c", même "allez"! Je comprends que "j", "c" sont invalides parce que je utilise phrases <>,ect. Mais pourquoi "allez" est invalide? Est-ce que vous avez une idée? Merci d'avance pour votre aide! Yuwen
chromium error: Error initializing NSS without a persistent database: NSS error code: -8023
Dear all, I'm using Wheezy and chromium. Chromium has been worked well until today. When I run chromium from the shell, i saw this message: [31:31:1029/204029:ERROR:nss_util.cc(211)] Error initializing NSS without a persistent database: NSS error code: -8023 and chromium cann't open any page. The version of chromium is: chromium --version Chromium 37.0.2062.120 Built on Debian 7.6, running on Debian 7.11 I also searched internet, some people suggested ln -s /usr/lib/x86_64-linux-gnu/nss/ /usr/lib/nss I tried, it didn't work. Any suggestion? Thanks in advance. Yuwen
Re: How to enable flash plugin in Chromium
Hi Thank you very much! It works. 2016-04-20 14:51 GMT+08:00 Markus Schönhaber < debian-u...@list-post.mks-mail.de>: > Yuwen Dai, Mi 20 Apr 2016 07:51:01 CEST: > > > I use the chromium browser in Debina 7(wheezy). To enable Adobe Flash > > plugin, I download the plugin for debian, and copy the > "libflashplayer.so" > > to ~/.config/chromium/Default/Extensions. But flash is still disabled. > > chrome://version shows flash is disable, and chrom://plugins shows > there's > > no flash plugin. Any suggestion? Thanks. > > Chromium doesn't support Netscape-style plugins anymore. Use pepper > flash instead: > > https://wiki.debian.org/PepperFlashPlayer/Installing > > -- > Regards > mks > >
How to enable flash plugin in Chromium
Dear all, I use the chromium browser in Debina 7(wheezy). To enable Adobe Flash plugin, I download the plugin for debian, and copy the "libflashplayer.so" to ~/.config/chromium/Default/Extensions. But flash is still disabled. chrome://version shows flash is disable, and chrom://plugins shows there's no flash plugin. Any suggestion? Thanks. Yuwen
Re: How to disable UTC time?
I realize this is the sort of answer that annoys me to death when I get it... but why not fix the time on your BIOS clock? I did. As I mentioned in the previous email, I set the BIOS clock as UTC time and set my time zone as UTC+8, this works. My machine also has Windows, after I boot into Windows, I found the BIOS clock was modified by Windows that set the clock time as local time, i.e. UTC+8, after that I boot into Linux, Linux thinks the BIOS clock is till UTC, it add 8 hours again to get the local time, so my clock is 8 hours ahead. To get rid of the interference of Windows, I need to disable UTC. Best regards, Yuwen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CANdEz-Yx4GtMk_KycJMRYDOw-ktd87SqO-KiTfA5PyLL=vs...@mail.gmail.com
Re: How to disable UTC time?
On 7/9/13, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Mon, 2013-07-08 at 22:12 -0600, Joe Pfeiffer wrote: Yuwen Dai yuw...@gmail.com writes: Dear all, My BIOS clock is set the time as my local time, debian thinks it's UTC time, so it adds 8 hours because I'm in timezone UTC+8, this is not correct. I do these actions to disable UTC: 1. add UTC=no in /etc/init.d/rcS /etc/default/rcS _not_ /etc/init.d/rcS Sorry, my typo. I also modify /etc/default/rcS in fact. *?* 2. remove UTC , add LOCAL in /etc/adjtime Neither of the above works. Yesterday I set the BIOS clock as UTC time, then Linux added 8 hours to it, it's my local time which was correct. But this morning, the system time in Linux is 8 hours ahead again. So how to disable UTC or set the correct clock? I'm using Debian Wheezy. Best regards, Yuwen I realize this is the sort of answer that annoys me to death when I get it... but why not fix the time on your BIOS clock? Then the OP would get the wrong time by the computer e.g. for software that does run without an OS, for saved BIOS settings. I use local time too and for Arch Linux ntpdate doesn't set the hardware clock anymore, so after running ntpdate I run hwclock on Arch, perhaps this now is needed for Debian too. My unused Debian install: [rocketmouse@archlinux avlinux]$ cat etc/init.d/rcS #! /bin/sh # # rcS # # Call all S??* scripts in /etc/rcS.d/ in numerical/alphabetical order # [rocketmouse@archlinux avlinux]$ ls etc/rcS.d/ README S08hwclockfirst.shS35mountall.sh S45mountnfs.sh S00live-config S10checkroot.sh S36mountall-bootclean.sh S46mountnfs-bootclean.sh S02hostname.sh S11hwclock.sh S36udev-mtab S47lm-sensors S02mountkernfs.shS12mtab.shS37mountoverflowtmp S48console-screen.sh S03udev S18ifupdown-clean S38pppd-dns S49console-setup S04mountdevsubfs.sh S20module-init-tools S39ifupdown S50alsa-utils S05bootlogd S30checkfs.sh S40networking S55bootmisc.sh S05keymap.sh S30procps S40pcmciautils S55urandom S06keyboard-setupS31hibernate S43portmap S70x11-common S07hdparmS34fuse S44nfs-common S99stop-bootlogd-single [rocketmouse@archlinux avlinux]$ cat etc/adjtime 0.002664 1363282063 0.00 1363282063 LOCAL [rocketmouse@archlinux avlinux]$ cat etc/default/rcS # # /etc/default/rcS # # Default settings for the scripts in /etc/rcS.d/ # # For information about these variables see the rcS(5) manual page. # # This file belongs to the initscripts package. TMPTIME=0 SULOGIN=no DELAYLOGIN=no UTC=no VERBOSE=no FSCKFIX=no RAMRUN=no RAMLOCK=no The manual of rcS says UTC in rcS is not supported and suggests use UTCor LOCAL in /etc/adjtime. I tried both UTC=no in rcS and LOCAL in /etc/adjtime, no effect. And /etc/adjtime seems a dynamically created file. Best regards, Yuwen dai -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/candez-yjwxexxhgrzgz_bz9i6w8p+z5d39w5brf6wdex0qq...@mail.gmail.com
How to disable UTC time?
Dear all, My BIOS clock is set the time as my local time, debian thinks it's UTC time, so it adds 8 hours because I'm in timezone UTC+8, this is not correct. I do these actions to disable UTC: 1. add UTC=no in /etc/init.d/rcS 2. remove UTC , add LOCAL in /etc/adjtime Neither of the above works. Yesterday I set the BIOS clock as UTC time, then Linux added 8 hours to it, it's my local time which was correct. But this morning, the system time in Linux is 8 hours ahead again. So how to disable UTC or set the correct clock? I'm using Debian Wheezy. Best regards, Yuwen
Re: How to install Debian in such a situation
You imply the machine is still functioning and the OS is bootable, so d-i can be started up from this disk. I bought a new hard disk and downloaded Debian testing version, then I found the CD-ROM is broken, it can not boot from the CD-ROM. The old PC can not boot from USB disk either. How to install the new Debian on the new hard disk? Please see Sections 4.4 and 5.1.4 of the Manual. You will probably want the hd-media images. Note that your Debian testing ISO can be put on a USB stick and is capable of being found and installed to the new disk. Hi Brian, I have hd-media installed successfully on the new hard disk. I put the ISO on the disk, the installer will scan the ISO file on the disk, this is very convenient. Thank you and other people! Best regards, Yuwen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/candez-ypowoidbk+fbtxsm1nr9cfmuz1dtk1iyeemqw_4zc...@mail.gmail.com
Re: How to install Debian in such a situation
You can get a HDD to USB adapter and attach the hard disk to a working PC, then use debootstrap to install debian onto that HDD (you will need to format it to your desire first). Yes, I have another PC installed Debian and a HDD to USB adapter. If you aren't sure of what you're doing, this will be a steep learning curve, but is very doable. Just require a little persistence and may be a few tries before you get there... If the machine is too old, you will need an older Debian (for network and possibly other drivers) if those drivers are not available in most recent kernels. What CPU does this PC have? How much memory? CPU is Pentium 4 with 256M memory. Once you've debootstrapped the HDD using a working PC, then you can plug it back in to the old PC. I've used debootstrap before, merely installed a small debian in a directory. I want to boot from the new HDD, so I have to install grub. When and how to install grub? Best regards, Yuwen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CANdEz-bUmr=qj-+gkb0v3poaubst-72slk9ocxz8ch+mlur...@mail.gmail.com
Re: How to install Debian in such a situation
On 4/15/13, Jude DaShiell jdash...@shellworld.net wrote: Buy a dvd burner, not blue ray either and replace that cdrom in the old computer. It should cost less than the new hard drive or about the same Yes, this is easier. But I want to try the harder path :-) Best regards, Yuwen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CANdEz-Ytc5S36qi2d2yod=+6onadht352azkcn-jkvel8xs...@mail.gmail.com
How to install Debian in such a situation
Dear all, I've a very old PC with an old Debian installed. Recently I found the hard disk has some bad sectors, sometime the file system will be mounted as read only. I bought a new hard disk and downloaded Debian testing version, then I found the CD-ROM is broken, it can not boot from the CD-ROM. The old PC can not boot from USB disk either. How to install the new Debian on the new hard disk? Best regards, Yuwen
where to report bug: Wheezy installer failed on a RTL8169 network card
Dear all, I downloaded the latest Wheezy AMD64 version DVD iso image, trying to install it on a HP notebook with a RTL8169 NIC. When the installer detects network, it hangs. I could switch to other ttys and open a busybox shell, but it's useless, the installation could not resume any more. I tried a Squeeze DVD on the same notebook, the DHCP process appeared some difficult, I tried several times, but at last, it got IP address. Where can I report this bug? Best regards, Yuwen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CANdEz-Y02n62qLiZyH-UMKjvt5ZH3yMhdc+j=+we3jr5rac...@mail.gmail.com
Re: where to report bug: Wheezy installer failed on a RTL8169 network card
Thank you for testing the early installer and then reporting problems with it. The place to report those bugs is the installation-reports package. http://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;package=installation-reports You would want to look over the bugs already filed there to see if one matches. In particular there is a now known kernel bug which caused hangs at boot that was just this week closed. If not then file your details there. I recommend that you try one of the very new daily built netinst images from http://cdimage.debian.org/cdimage/weekly-builds/ to see if the latest is still a problem. Bob Hi Bob, Thank you for the links. It appears that this is a known bug: #679795 Installation freezes when detecting network card Ralink corp. RT5390 Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E Best regards, Yuwen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/candez-yew+euhfiom6vb34vezfugx77dwfuushpeybjeydp...@mail.gmail.com
which tftp server supports IPv6
Dear all, Would you please recommend a tftp server that supports IPv6? I read several server's document, tftp, atftp, tftp-hpa, they don't mention whether they support IPv6 and how to configure. Best regards, Yuwen
How to drop a specific TCP segment in iptables?
Dear all, I'm simulating an network environment that some TCP segments are missing. So I want to use iptables to drop these segments. How to write a rule to drop a segment with a specific sequence number from a host? Best regards, Yuwen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CANdEz-YzpfkQ_e7pQUfaNxzmpkfhcHOXU9jLDxi5OcFS0Z8o=g...@mail.gmail.com
Re: audio through HDMI on a IDT 92HD71B sound card
Hello Liam, I got little information about HDMI on an E6400. I saw a person using HDMI and sound on an E6500 successfully, and the sound card is not IDT 92HD71B. Best regards, Yuwen
audio through HDMI on a IDT 92HD71B sound card
Dear all, I have a Dell Latitude E6400 laptop, which has a Displayport. I tried to connect the laptop with a Sony TV with a HDMI port. So I bought a Displayport-HDMI converter from Dell. When I play a movie using mplayer, the video is OK on TV, but without sound on TV. The sound is still played by the Laptop. I doubt the sound card driver doesn't support HDMI, this is the result of `aplay -l': List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 This is the result of `aplay -L': null Discard all samples (playback) or generate zero samples (capture) default:CARD=Intel HDA Intel, STAC92xx Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers It seems no digit device. I tried both in Debian stable and testing. The version of kernel in testing is 2.6.38, alsa is 1.0.23. Any suggestion? Best regards, Yuwen
Re: How to disable (or change) the logout sound in gnome/GDM?
On Mon, Mar 28, 2011 at 7:32 PM, Vincent Lefevre vinc...@vinc17.net wrote: On 2011-03-28 09:58:57 +0800, Yuwen Dai wrote: The logout sound is a very ugly beep. I can change the login sound in gdm.conf but can not find where the logout sound setting is. I also put pcspkr module in the blacklist, no effect. Various solutions (the first one works on some machines, but not everywhere, and I don't know why): 1. xset -b in your .xsession or whatever is run (this will disable the beep also in other applications, which is fine, IMHO). Hi Vincent, xset -b works. Thanks. 2. With gdm, set SoundOnLogin=false in /etc/gdm/gdm.conf. I've already set this, this is no effect. In fact, the beep only occurs when I shutdown the computer in gnome. It doesn't beep when I login or logout. 3. With gdm3, the /etc/gdm3/greeter.gconf-defaults config file can be changed to have: /desktop/gnome/sound/event_sounds false I don't use gdm3. Best regards, Yuwen -- Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110328113235.gc1...@prunille.vinc17.org
How to disable (or change) the logout sound in gnome/GDM?
Dear all, The logout sound is a very ugly beep. I can change the login sound in gdm.conf but can not find where the logout sound setting is. I also put pcspkr module in the blacklist, no effect. Best regards, Yuwen
please help me write a udev rule
Dear all, I always run a command like this when I plug a USB disk: echo 1024 /sys/block/sdb/device/max_sectors however, the disk is not always `sdb'. Can I write a udev rule according to the UUID of the disk? Best regards, Yuwen
Re: please help me write a udev rule
On Thu, Mar 3, 2011 at 10:31 AM, Hal Vaughan h...@halblog.com wrote: On Mar 2, 2011, at 9:08 PM, Yuwen Dai wrote: Dear all, I always run a command like this when I plug a USB disk: echo 1024 /sys/block/sdb/device/max_sectors however, the disk is not always `sdb'. Can I write a udev rule according to the UUID of the disk? Do you mean a specific USB drive you have, or any time a USB drive is plugged in? A specific USB disk on which read speed is very low. Thanks. Best regards, Yuwen Hal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2941a649-eb2d-4e7f-986f-e856c2d80...@halblog.com
Re: How long has your Lenny - Squeeze upgrade taken?
On Fri, Feb 18, 2011 at 7:33 AM, Mark mamar...@gmail.com wrote: Realizing this is dependent on computer specs, just curious what some of the people on this list have experienced for how much time it took to do the Lenny to Squeeze upgrade, (assuming a fully up-to-date Lenny system). I downloaded the first DVD of Squeeze and set the deb-cdrom as the only entry in source.list to prevent the installation downloading package from network. Then I upgraded my system according to chapter4 of the release notes. It took about 3-4 hours to upgrade my system(include download/installing Nvidia video driver) . After the basic system was installed, I added other entries (security, multimedia, etc) in source.list and did a dist-upgrade again. The whole process was quite smooth and I'm satisfied. Best regards, Yuwen Thanks, Mark
E-business and Linux
Dear all, I just can not completely abandon Windows, for all the E-business related software are for Windows or IE in my country, for example, the security plug-ins released by banks in China. I don't understand why they don't develop plug-ins for Linux and Firefox. I'm just curious, how is your situation? Best regards, Yuwen
Re: [OT] Re: E-business and Linux
On Tue, Dec 28, 2010 at 5:43 PM, Camaleón noela...@gmail.com wrote: On Tue, 28 Dec 2010 16:13:14 +0800, Yuwen Dai wrote: I just can not completely abandon Windows, for all the E-business related software are for Windows or IE in my country, for example, the security plug-ins released by banks in China. I don't understand why they don't develop plug-ins for Linux and Firefox. I'm just curious, how is your situation? The situation is the same in all countries, I (sadly) guess, but not only at banks but for many companies (i.e., my ISP web pages are very difficult to follow with Firefox/Iceweasel and I'm talking here of one of the bigger telecom companies in the worldwide market -Telefonica-) :-( Companies only put money (aka, provide open tools and develop standard applications) when they know they are going to get any gain and most of their users are using windows/explorer binomial, so (sigh) why they should care? ;-/ If some ordinary web pages are not Linux/firefox friendly, I can give it up. But I have to do E-trade via internet, at that time, I have to switch to Windows, where there're some security software released by banks and E-trade companies. In fact, I feel very unsafe doing these thing in Windows :-( Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.12.28.09.43...@gmail.com
Re: E-business and Linux
On Tue, Dec 28, 2010 at 11:34 PM, Klistvud quotati...@aliceadsl.fr wrote: Dne, 28. 12. 2010 09:13:14 je Yuwen Dai napisal(a): Dear all, I just can not completely abandon Windows, for all the E-business related software are for Windows or IE in my country, for example, the security plug-ins released by banks in China. I don't understand why they don't develop plug-ins for Linux and Firefox. I'm just curious, how is your situation? Hasn't that Chinese linux distribution -- Red Flag Linux or what it's called -- changed anything? I think that China is just too huge not to abandon proprietary software (be it legal or pirated) eventually. I'm actually hoping that China and Russia (and perhaps India) may soon become the driving forces of worldwide Linux domination ;) Linux still has very little influence in non-tech users in China, compared to the huge amount number of Windows users. People just get used to Windows. And there're something that force you live in Windows, like the bank-provided software, or software the users favor. Best regards, Yuwen -- Cheerio, Klistvud http://bufferoverflow.tiddlyspot.com Certifiable Loonix User #481801 Please reply to the list, not to me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.orgwith a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1293550468.586...@compax
Re: [OT] Re: E-business and Linux
On Wed, Dec 29, 2010 at 1:36 PM, Eero Volotinen eero.voloti...@iki.fiwrote: 2010/12/29 francis southern francis.south...@gmail.com: On 28 December 2010 20:23, John Hasler jhas...@debian.org wrote: Yuwen Dai writes: The situation is the same in all countries... I get along fine using only Debian here in the USA. -- John Hasler Actually, Camaleón said that, not Yuwen Dai. You should be careful with your quoting! And, I've had no trouble in Mexico or the UK using only GNU/Linux, but I haven't done any electronic banking or anything like that (Except Paypal). No problems *) with banking on Finland, using only Linux or Mac That's great. Will the bank ask you to install any software developed for Linux? Best regards, Yuwen *) Some minor tweaks required, if using sampo bank. -- Eero -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktimdbmvwkmxpbvu3zou7fhc0uk8q672yoqv59...@mail.gmail.com
compare two directory trees
Dear all, I burn DVD/CDs from ISO files. In order to verify the burning is correct, I wrote a script working like this: 1. mount the DVD and ISO files onto two mount points 2. calculate every file's md5sum in each directory, and save and sort them in two separate files 3. compare the above two files. The above method does work, but too time consuming because of the md5sum calculating. Do you have any suggestion to improve the efficiency? Best regards, Yuwen
Re: Does I/O error mean hardware problem?
On Wed, Nov 24, 2010 at 6:29 PM, Stan Hoeppner s...@hardwarefreak.comwrote: Yuwen Dai put forth on 11/23/2010 11:59 PM: On Wed, Nov 24, 2010 at 5:14 AM, Stan Hoeppner s...@hardwarefreak.com wrote: CRC errors indicate a transmission problem on the interface conductors. Whether the problem is either of the two things I mention above, you definitely have a problem with the interface between the drive and the SATA controller. Hi Stan, Thank you for your help! You're welcome. Hope you can get it fixed without it costing much. Dear all, Dell has changed a hard disk for me. Now both the reallocate sectors and CRC error number are zero. I'll continue observe the status of the hard disk. Best regards, Yuwen -- Stan
Re: Does I/O error mean hardware problem?
On Mon, Nov 22, 2010 at 2:26 PM, Stan Hoeppner s...@hardwarefreak.comwrote: Yuwen Dai put forth on 11/21/2010 11:44 PM: Dear all, My Debian Lenny constantly reports disk I/O error on block xxx when booting, then it runs e2fschk and reports some files are missing. I'd formated the partition but the problem still occurs. The hardware is an Dell E6400 which has a Diagnostic tool. I'd run the tool, but it said there's no error on the hard disk. The Dell tech support says if the diagnostic tool doesn't report error, that means hard disk is OK. So I have no proof that it's a hardware problem. But the Linux filesystem(ext3) keeps corrupt, which is terrible. Do you have any suggestion? The output from ~# smartctl -a /dev/sdX would be helpful. Hi stan, The output of smartctl -a /dev/sda is: === START OF INFORMATION SECTION === Device Model: TOSHIBA MK2556GSYF Serial Number:409JT12DT Firmware Version: LJ001D User Capacity:250,059,350,016 bytes Device is:Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is:Tue Nov 23 09:38:41 2010 CST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED ... ... Error 472 occurred at disk power-on lifetime: 1512 hours (63 days + 0 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 41 02 ea d5 8b 40 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- 60 08 00 ea d5 8b 40 00 00:27:35.521 READ FPDMA QUEUED 27 00 00 00 00 00 e0 00 00:27:35.518 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 00:27:35.517 IDENTIFY DEVICE ef 03 45 00 00 00 a0 00 00:27:35.517 SET FEATURES [Set transfer mode] 27 00 00 00 00 00 e0 00 00:27:35.517 READ NATIVE MAX ADDRESS EXT Error 471 occurred at disk power-on lifetime: 1512 hours (63 days + 0 hours) When the command that caused the error occurred, the device was active or idle. ... Is this meaningful? Best regards, Yuwen -- Stan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4cea0d00.90...@hardwarefreak.com
Re: Does I/O error mean hardware problem?
On Tue, Nov 23, 2010 at 11:31 AM, Stan Hoeppner s...@hardwarefreak.comwrote: Yuwen Dai put forth on 11/22/2010 7:46 PM: On Mon, Nov 22, 2010 at 2:26 PM, Stan Hoeppner s...@hardwarefreak.com wrote: The output from ~# smartctl -a /dev/sdX would be helpful. The output of smartctl -a /dev/sda is: snip Is this meaningful? Actually I was looking for something like this, which should have been in your output: http://www.hardwarefreak.com/smart.txt This is my output: SMART Attributes Data Structure revision number: 128 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 100 100 050Pre-fail Always - 0 3 Spin_Up_Time0x0027 100 100 001Pre-fail Always - 1282 5 Reallocated_Sector_Ct 0x0033 100 100 050Pre-fail Always - 35 9 Power_On_Hours 0x0032 097 097 000Old_age Always - 93005 12 Power_Cycle_Count 0x0032 100 100 000Old_age Always - 350 191 G-Sense_Error_Rate 0x0032 100 100 000Old_age Always - 595 192 Power-Off_Retract_Count 0x0032 100 100 000Old_age Always - 14 193 Load_Cycle_Count0x0032 100 100 000Old_age Always - 1466 194 Temperature_Celsius 0x0022 100 100 000Old_age Always - 45 (Lifetime Min/Max 18/46) 199 UDMA_CRC_Error_Count0x0032 100 100 000Old_age Always - 6581349 200 Multi_Zone_Error_Rate 0x0032 100 100 000Old_age Always - 15242478 240 Head_Flying_Hours 0x0032 097 097 000Old_age Always - 88491 241 Unknown_Attribute 0x0032 100 100 000Old_age Always - 79453281038 242 Unknown_Attribute 0x0032 100 100 000Old_age Always - 97697694364 254 Unknown_Attribute 0x0032 100 100 000Old_age Always - 0 Thank you for your help! Best regards, Yuwen -- Stan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ceb3599.8000...@hardwarefreak.com
Does I/O error mean hardware problem?
Dear all, My Debian Lenny constantly reports disk I/O error on block xxx when booting, then it runs e2fschk and reports some files are missing. I'd formated the partition but the problem still occurs. The hardware is an Dell E6400 which has a Diagnostic tool. I'd run the tool, but it said there's no error on the hard disk. The Dell tech support says if the diagnostic tool doesn't report error, that means hard disk is OK. So I have no proof that it's a hardware problem. But the Linux filesystem(ext3) keeps corrupt, which is terrible. Do you have any suggestion? Best regards, Yuwen
Re: how to install debian on a external USB disk
I run with 2 external USB disks and have for years. Most of the time my root partition is on an USB disk. D-i is straight forward, just select the USB disk. Instead of grub I prefer to run with SuperGrubDisk because that allows you to search for the right partition and fill in what the rootdevice is. Otherwise you are always messing around with what the disk number is. Because that changes. Pro: much easier to change the disk. Con: slower than an interior disk. Except when you can use the SATA cable on the exterior disk, but I have trouble with my mobo on that. I've successfully installed Debian Squeeze on an external USB disk. At first grub was incorrectly installed on the internal disk, which caused the system unbootalbe. Then I used the install disk as a rescue and fixed the issue. Thank you all! Best regards, Yuwen
how to install debian on a external USB disk
Dear all, I've been using Debian stable for years. Now I'd like to try Debian unstable or test on an external USB disk without modifying anything on my current disk, including partition as well as grub. Would you please give me any guides on this? Thanks in advance. Best regards, Yuwen
Re: how to install debian on a external USB disk
You should proceed as usual (using expert installer). Installer will detect USB disk and then you can make partitions at your wish. Just remember to install GRUB in MBR of the USB disk. If it fails at installing GRUB, do not worry, select no boot loader to install, end Debian installation and afterwards you can install GRUB using SGD (SuperGrubDisk). As an alternative (and for software testing purposes) you could install a virtual machine for Squeeze/Sid. In theory, I guess USB driver modules should be built in Linux kernel or in a ramdisk, otherwise kernel can not recognize USB disks, right? Best regards, Yuwen Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.11.09.11.10...@gmail.com
Re: Does Pidgin support audio and video?
On Mon, Nov 8, 2010 at 11:37 AM, Celejar cele...@gmail.com wrote: On Mon, 8 Nov 2010 11:19:57 +0800 Yuwen Dai yuw...@gmail.com wrote: Dear all, Do you know if Pidgin supports audio and video? If it does, from what version? I use Pidgin 2.6.6 on Debian Lenny and find no audio or video settings. http://developer.pidgin.im/wiki/Using%20Pidgin#VoiceandVideoMicrophoneandWebcamSupport I understand. Pidgin supports multiple protocols. When I check if Pidgin supports video or audio, I shall ask which protocol I use. Best regards, Yuwen Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101107223758.fcf909e0.cele...@gmail.com
Does Pidgin support audio and video?
Dear all, Do you know if Pidgin supports audio and video? If it does, from what version? I use Pidgin 2.6.6 on Debian Lenny and find no audio or video settings. Best regards, Yuwen
Re: how to improve the quality of DVD created by qdvdauthor
On Mon, Oct 25, 2010 at 9:23 PM, Klistvud quotati...@aliceadsl.fr wrote: Dne, 25. 10. 2010 02:47:43 je Yuwen Dai napisal(a): I use mpeg2 files as source to create a DVD. The Resolution of the mpeg2 is 720x576 and clear, but the result is blurer although its resolution is 720x576 too. When I play the DVD, I can see obvious mosaics. Did I misconfigure anything? I use qdvdauthor 2.0100 and the host is Debian Lenny. Any suggestion will be appreciated. As you certainly know, re-encoding compressed formats may be extremely lossy; so, the first thing to do would be to double-check that your mpegs just get *copied* over to the DVD, and not *re-encoded*. I'm not acquainted with the qdvdauthor suite, so can't advise you on the precise steps to take to ensure that there's no re-encoding going on. Hello Klistvud, Your suggestion is helpful. I generated the mpeg2 files in Kino. There're two file formats available when generating: generic mpeg2 and DVD. It's the generic mpeg2 format that causes QDvdauthor re-encode the files. After I use DVD format, QDvdauthor will not re-encode them and the quality of DVD is satisfying. Best regards, Yuwen -- Cheerio, Klistvud http://bufferoverflow.tiddlyspot.com Certifiable Loonix User #481801 Please reply to the list, not to me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.orgwith a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1288012996.519...@compax
Re: how to improve the quality of DVD created by qdvdauthor
As you certainly know, re-encoding compressed formats may be extremely lossy; so, the first thing to do would be to double-check that your mpegs just get *copied* over to the DVD, and not *re-encoded*. I'm not acquainted with the qdvdauthor suite, so can't advise you on the precise steps to take to ensure that there's no re-encoding going on. Hi Klistvud, Thank you for your suggestion, I'll check that again. Best regards, Yuwen -- Cheerio, Klistvud http://bufferoverflow.tiddlyspot.com Certifiable Loonix User #481801 Please reply to the list, not to me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.orgwith a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1288012996.519...@compax
how to improve the quality of DVD created by qdvdauthor
Dear all, Have you ever used Qdvdauthor to create DVDs? I use mpeg2 files as source to create a DVD. The Resolution of the mpeg2 is 720x576 and clear, but the result is blurer although its resolution is 720x576 too. When I play the DVD, I can see obvious mosaics. Did I misconfigure anything? I use qdvdauthor 2.0100 and the host is Debian Lenny. Any suggestion will be appreciated. Best regards, Yuwen
mount a UDF image on a loop device
Dear all, I want to mount a iso image whose filesystem is UDF on a loop device: sudo mount -o loop -t udf file.iso /tmp/image there's no error from the above command line and `mount' shows the image has been mounted: file.iso on /tmp/image type udf (rw,loop=/dev/loop0) But /tmp/image is empty. I can mount it with iso9660, which is not what I want, for the long path name is truncated in the mount point. I use Debian Lenny. Any idea for this issue? Best regards, Yuwen
Re: gaim and pidgin connection problem
What instant messaging service are you trying to connect to? I use MSN. I'd been using Gaim OK in Debian Etch before December. Do this mean Microsoft suddenly changed MSN protocol recently? Best regards, Yuwen -- David -- OpenPGP... 0x316F4BE4670716FD Jabber dmj...@jabber.org Email. maus.da...@gmail.com ICQ... 241051416
gaim and pidgin connection problem
Dear all, I have Gaim connecting problem since the beginning of December. I use Gaim in Debian Etch. I also tried Pidgin in Debian Lenny, could not connecting either. I didn't change any configuration in Gaim. Do you have any suggestion? Best regards, Yuwen Dai
Re: gaim and pidgin connection problem
On Wed, Dec 23, 2009 at 3:04 PM, Kun Niu haoniu...@gmail.com wrote: I don't have such a problem. Can you get some kind of hint from the output of the pidgin debug output window? The error message is : Our protocol is not supported by the server. The version of pidgin is 2.4.3. Best regards, Yuwen
gnome-screensaver slideshow
Dear all, I'd like to slideshow some pictures when gnome-screensaver is invoked. There is a picture fold in gnome-screen-preferences. However, there' no settings for this fold. Do you know where the picture fold is? I use Debian etch, gnome 2.14.3. Best regards, Yuwen
Re: start-stop-daemon: how to pass environment variables to the daemon
man start-stop-daemon: Any arguments given after -- on the command line are passed unmodified to the program being started. I mean the environment variables that will be recognized by the invoked daemon. I have solved this by adding NAME=xxx pairs preceding start-stop-daemon: VAR1=xxx VAR2=xxx VAR3=xxx start-stop-daemon ... Adding variables in /etc/default/@DAEMON@ can not solve my issue. Best regards, Yuwen Cheers, Simon
start-stop-daemon: how to pass environment variables to the daemon
Dear all, A daemon invoked by start-stop-daemon needs some extra enviroment variables. How to pass them to the daemon? Thanks in advance. Best regards, Yuwen
how to set environment variables in init.d/ scripts
Dear all, I installed distcc. Distcc is invoked by a script in init.d. In order to use a cross compiler, the distcc needs to know the path of the cross compiler and other environment variable. I put lines like: export VAR=xxx in the script. Seems no effect. What's the correct method? Best regards, Yuwen
depmod in Debian doesn't support compressed module?
Dear all, When I use Live-CD, I found depmod didn't support compressed module so that the modules.dep was empty. I search the web, finding there's an --enable-zlib option for module-init-tools. Why Debian didn't enable this? Or can I build my own version of module-init-tools? Thanks in advance. Best regards, Yuwen
Re: Intel pro100 NIC problem in Etch
On 6/19/07, Wayne Topa [EMAIL PROTECTED] wrote: Yuwen Dai([EMAIL PROTECTED]) is reported to have said: Dear all, I have a Intel pro100 network card in my PC. The system loads kernel module `e100' automatically when booting. But ifconfig eth0 up failed. If I manually load `eepro100', ifconfig also failed. This is some output: # modprobe eepro100 PCI: Enabling device :02:02.0 (0110 - 0113) ACPI: PCI Interrupt :02:02.0[A] - GSI 18 (level, low) - IRQ 185 eth0: :02:02.0, 00:0E:0C:5E:4B:06, IRQ 185. Board assembly 741462-017, Physical connectors present: RJ45 Primary interface chip i82555 PHY #1. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0x04f4518b). If you try 'ifup eth1' or 2,3,4 and it comes up then Hi Wayne, Yes. `ifconfig eth1' brings up the network. Take a look at /etc/udev/rules.d/z25_persistent-net.rules: I had this occur on a laptop. My net_rules file had a bunch of eth lines and my eth1 cane up when I did 'ifup eth6. Removed all of the eth rules except eth0 and all was well again. There's another rule with a different MAC address in this file. This reminds me that I once used another 3com NIC in the PC. So udev remembers this. Thank you very much! Best regards, Yuwen :-) HTH, YMMV, HAND :-) Wayne -- | LINUX - Because a PC is a terrible thing to waste..on WinDoze |
Intel pro100 NIC problem in Etch
Dear all, I have a Intel pro100 network card in my PC. The system loads kernel module `e100' automatically when booting. But ifconfig eth0 up failed. If I manually load `eepro100', ifconfig also failed. This is some output: # modprobe eepro100 PCI: Enabling device :02:02.0 (0110 - 0113) ACPI: PCI Interrupt :02:02.0[A] - GSI 18 (level, low) - IRQ 185 eth0: :02:02.0, 00:0E:0C:5E:4B:06, IRQ 185. Board assembly 741462-017, Physical connectors present: RJ45 Primary interface chip i82555 PHY #1. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0x04f4518b). # ifconfig eth0 up eth0: ERRor while getting interface flags: No such device # cat /proc/interrupts CPU0 0: 692389IO-APIC-edge timer 1: 1242IO-APIC-edge i8042 6: 5IO-APIC-edge floppy 7: 0IO-APIC-edge parport0 8: 1IO-APIC-edge rtc 9: 1 IO-APIC-level acpi 14: 4184IO-APIC-edge ide0 15: 24753IO-APIC-edge ide1 169:272 IO-APIC-level uhci_hcd:usb1, [EMAIL PROTECTED]::01:00.0 177: 0 IO-APIC-level uhci_hcd:usb2 185: 0 IO-APIC-level uhci_hcd:usb3 193: 0 IO-APIC-level ehci_hcd:usb4 201: 0 IO-APIC-level Intel 82801DB-ICH4 NMI: 0 LOC: 692339 ERR: 0 MIS: 0 It seems there's IRQ conflict (IRQ 185). However, I use a SLAX live CD to boot the same machine, the NIC works well. My environment: Debian Etch: kernel 2.6.18-4-686 a Dell Pentium 4 PC Any direction will be appreciated. Best regards, Yuwen
Re: grub and rootfs as LVM
I don't know: it just works. As long as you have the lvm2 package installed and the initrd package was created after the lvm2 package was installed, it should just work. Hi Stefan, After I changed root device to /dev/mapper/volume-root, Linux boots successfully. And I didn't make anything special for LVM when creating initramfs. Thank you very much. Stefan
Re: grub and rootfs as LVM
I setup /boot as a seperate disk parition. The rest is for LVM. /dev/volume/root is OK when I use a rescue CDRom. And I re-build the initrd, adding all dm-* modules to the initrd. Any suggestion? Try use /dev/mapper/volume-root instead. I'm not sure why, but I recently had a similar problem where using /dev/Debian/root didn't work but /dev/mapper/Debian-root did (even though once the boot is over, /dev/Debian/root can be used just fine, it looks like the alternate name is constructed later). Hi Stefan, Would you please tell me how to create a initrd with LVM support in Debian? I used the initramfs tool. Thank you very much! Best regards, yuwen Stefan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
grub and rootfs as LVM
Dear all, I setup my rootfs as an LVM, the menu.lst of grub looks like this; title Debian GNU/Linux, kernel 2.6.18-4-386 root(hd0,0) kernel /vmlinuz-2.6.18-4-686 root=/dev/volume/root ro initrd /my_init savedefault Error happens when the kernel tried to mount the root filesystem: The error message is Waiting for root file system... yuwen check root=bootarg cat /proc/cmdline or missing modules, devices; cat /proc/modules ls /dev/ I setup /boot as a seperate disk parition. The rest is for LVM. /dev/volume/root is OK when I use a rescue CDRom. And I re-build the initrd, adding all dm-* modules to the initrd. Any suggestion? Best regards, Yuwen
Re: Who will do `depmod -a' in Etch?
I might not know what I'm talking about here, but you might take a look at the postinst scripts of the linux-image-* packages. They run depmod for you after the kernel package is installed. Do other distros run depmod at every boot? I understand. In order to speed up the boot, depmod is executed only once. Best regards, Yuwen -- Kushal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: grub and rootfs as LVM
Try use /dev/mapper/volume-root instead. I'm not sure why, but I recently had a similar problem where using /dev/Debian/root didn't work but /dev/mapper/Debian-root did (even though once the boot is over, /dev/Debian/root can be used just fine, it looks like the alternate name is constructed later). I fell into a busybox command. There's no dirs in /dev/mapper, only control: ls /dev/mapper control What is control? Best regards, Yuwen Stefan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Who will do `depmod -a' in Etch?
Dear all, I found there's no script generating modules.dep in /etc/init.d of Etch. # cd /etc/init.d # grep depmod * modutuils:[ -e /sbin/depmod ] || exit 0 No scripts execute /sbin/depmod. Any idea? Best regards, Yuwen
Why emacs is still 21.4.1 in Etch?
Dear all, I found version of emacs is still 21.4.1 in Etch. Is there any technical obstacle for emacs's upgrading? Best regards, Yuwen
where can I find the sarge repository of debian-multimedia?
Dear all, It seems debian-multimedia for sarge has been removed after Etch was officially released. Where can I find the old sarge repository? Best regards, Dai Yuwen
Re: thunderbird: how to backup mailbox and restore quickly
The expected file /tmp/November didn't create. Maybe Procmail won't deliver in /tmp because everybody can read and write there. Maybe ^Received: .*;.*Nov 2006 doesn't match anything in the mail. Test that with egrep. Now I change the rcfile as: [EMAIL PROTECTED]:~$ cat rcfile :0: * ^Received: .* Dec 2006 /home/yuwen/December :0: /dev/null and the command $ egrep ^Received: .* Dec 2006 Inbox have output. Now I move both Inbox and the expected result to my home dir. But command $ formail -s Inbox |procmail /home/yuwen/rcfile still didn't create /home/yuwen/December. A very large file in /var/mail was created instead. Any idea? That would be the default delivery. Your procmail file should end with this :0 /dev/null to prevent that. yes, there's no big /var/maile/$LOGNAME now. Best regards, Yuwen Cameron -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
how to use font in convert(imagemagick)?
Dear all, I want to use the '-font' option of convert to annotate images. I'm not sure if convert can deal with locales other than iso-8859, and what's the syntax of the font name? Will an X font name like - misc-zysong18030-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 be accepted? In the example of convert manual, there's only short alias font names. best regards, Dai Yuwen
Re: thunderbird: how to backup mailbox and restore quickly
$ formail -s mboxfile | procmail recipefile recipefile looks like this: :0: * ^Received: .* myserver.example.net ;.* Dec 2006 /home/me/December :0: * ^Received: .* myserver.example.net ;.* Nov 2006 /home/me/November Hello Cameron, I created a similiar rc file like this: :0: * ^Received: .*;.*Nov 2006 /tmp/November The expected file /tmp/November didn't create. A very large file in /var/mail was created instead. Any idea? Best regards, Yuwen
thunderbird: how to backup mailbox and restore quickly
Dear all, I'd like to backup part of my Inbox, e.g., the emails of last year as my Inbox becomes larger and larger. I also want to restore and read the backup quick in thunderbird if need. What's your suggestion? I once backuped the whole inbox on a CD-ROM, and set the local directory on the mount point of CD-ROM, failed. It seems the directories must be writable. I also tried to create another `local folders' account, failed too. Thunderbird doesn't permit doing that. Best regards, Dai Yuwen
Re: thunderbird: how to backup mailbox and restore quickly
apt-cache search archive mail|sort brings up, among other things: archivemail - archive and compress your old email archmbox - a simple email archiver written in perl These utilities are OK. But I think the point is, it's difficult to restore and read them back in thundbird.
Re: growisofs: how to write iso files
hm. are you sure you haven't inserted a space between /dev/dvd and the '=' symbol? That is weird as I've used that very command many times. Has this worked in the past for you and recently changed? One more question, does /dev/dvd exist? and what does it point to? The device is /dev/scd0. I once inserted a CD-RW disk into the tray, however, I can not re-produce this problem now. Thank you anyway.
growisofs: how to write iso files
Dear all, The manual of growisofs says the following line can write a iso file to a DVD: growisofs -dvd-compat -Z /dev/dvd=image.iso when I ran such command, there's error mesage mkisofs doesn't recognize = option, aborting. Which one's problem, growisofs or mkisofs? I use Debian etch, growisofs is 7.0.1, mkiso is 2.01.01a05+ck1, cdrkit edition (linux). Best regards, Yuwen
Re: [OT] CVS vs. SVN
On 12/20/06, David Christensen [EMAIL PROTECTED] wrote: I've been using CVS (and RCS before it) for several years new. I've also looked at switched to SVN, but seem to recall that there was an SVN feature whereby SVN applied to same version number to all files in the project (repository?) whenever you checked something in. I prefer a more traditional scheme whereby version numbers are managed on a per-file basis, and only change when the file changes. Did I misunderstand something? I also need CVS's ability to deal with line endings, because I move text files, source code, etc., between Windows/Cygwin and Linux for development, testing, and use. Can SVN deal with the various line endings automatically like CVS? I remember there's a such feature in SVN to switch CRLF between OSes. And SVN can also take symbolic links that's a nice feature. -- Yuwen David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
why some packages are kept back?
Dear all, I'm using Debian Sarge. When I ran apt-gete upgrade, this message shows: ~# apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done The following packages have been kept back: ffmpeg libmjpegtools0 mjpegtools mplayer-586 thunderbird 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. Why? What should I do? -- Yuwen
Re: .bash_profile ignored in X
Hi RLH, I think it's normal as .bash_profile is only for login shell. When you open a X terminal, it won't be read. You can put your path info in .bashrc. -- Yuwen
Re: Boot Debian from USB disk
Hi Hugo, Have you included USB drivers in your initrd? regards, Yuwen
using bootchart
Dear all, When I used bootchart to benchmark booting of Debian sarge, I found S40hotplug took nearly 15 seconds. S40hotplug calls {pci,usb,isapnp}.rc, and installing some modules. Is there any way to reduce this time? Thanks in advance. Best regards, Dai Yuwen
no bold font in X
Dear all, I found there're no bold fonts in someplace where they should appear. For example, the gmail, the new arrived emails use bold font. Should I install anything or do configuration? My system is Debian Sarge. Best regards, Dai Yuwen
Re: using bootchart
On 12/6/06, Douglas Tutty [EMAIL PROTECTED] wrote: On Wed, Dec 06, 2006 at 09:34:09AM +0800, Yuwen Dai wrote: Dear all, When I used bootchart to benchmark booting of Debian sarge, I found S40hotplug took nearly 15 seconds. S40hotplug calls {pci,usb,isapnp}.rc, and installing some modules. Is there any way to reduce this time? Thanks in advance. Upgrade to Etch. My amd64 Athlon 3800+ with 1 GB ram, dual 80 GB SATA drives raid1/lvm/JFS, goes from grub to login in 20 seconds. It's realy fast. Have you optimize the boot process? Etch doesn't use hotplug. It _must_ use udev. How long does your boot sequence take total and on what hardware? My computer is a Dell D600 laptop, with Intel pentium M processor 1.6Ghz, 1GB memory, 60GB ata hard disk. The total time from init to gdm is 58 seconds. Yuwen Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
LCD screen resolution and projector
Dear all, My resolution of LCD is 1024x768. When connecting to most projectors, the resolution produced by projectors is 800x600, my comupter still keeps 1024x768. The graphics card is ATI, driver is raedon. If I use vesa driver, the resolution will be 1024x768, but only the project or LCD will show at a time. I'm using Debian Sarge. Best regards, Dai Yuwen
Re: LCD screen resolution and projector
On 12/5/06, Douglas Tutty [EMAIL PROTECTED] wrote: On Tue, Dec 05, 2006 at 10:58:44AM +0800, Yuwen Dai wrote: What happens from within X if you use C-A-KPminus to reduce resolution? The LCD resolution will be change, but the MAX projector produces is 800x600. I also used C-A-backspace to re-start X server, according to some online document, but in vain. Yuwen Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
why X insist on using vesa driver?
Dear all,I have two computers installed Debian sarge. One uses ATI readon 9000 and the other uses nvidia. I uses dpkg-reconfigre xserver-xfree86 to configure X, then I found in XF86Config-4 vesa is used:Section Device Identifier Generic Video Card Driver vesa Option VBERestore trueEndSectionWhy?Best regards, Dai Yuwen
Re: invoke thunderbird and firefox when gnome starts
You can try starting gnome-settings-manager before firefox andthunderbird (or was it gnome-settings-daemon? I don't remember, but I'm sure that you can see which one exists on your system), which doesthings like load font configuration for apps if its started.You can also add firefox and thunderbird to the session, there is a session manager somewhere in the menues in gnome, which has a tab whereyou can add auto-starting apps.On my gnome desktop, the session manager comes up from theDesktop-Preferences-Sessions.The Startup Programs Tab might be what you're looking for.Cheers.Thanks. Both of you are correct. Desktop-Preferences-Sessions will run gnome-session-properties. I add thunderbird to it so that fonts settings are satisfying. Best regards,Dai Yuwen--SincerelyJose Alburquerque
Re: esound locking sound
Esound grabs /dev/dsp to manage it, so you can hear sounds fromdifferent apps concurrently.For example, hear warning or alert sounds while playing mp3s or videos.On sarge, for ogg123, you'll need to put this in/etc/libao.conf or~/.libao:default_driver=esdThat works for me.See man libao.conf .I wouldn't know about the games.For xmms, Options - preferences, eSound.For mplayer, ~/.mplayer/config , add:ao=esd .For flash, I needed to add this link:sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1I never found this info in one place!Hope this is helpful. Yes. Some sound applications have options to use esd, i.e., mplayer. Some don't have. In such case, you have to kill the esd. That's life :-)Dai Yuwen Regards,Ralph--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
invoke thunderbird and firefox when gnome starts
Dear all,In order not to invoke thunderbird and firefox manually when gnome starts, I tried to save the current settings when I log out. But gnome says it can not save thunderbird and firefox settings.I also tried to start thunderbird and firefox in .xsession: ...# thunderbird and firefoxthunderbird firefox exec gnome-sessionThat's OK. But since thunderbird starts before gnome, the fonts in thunderbird is ugly. Is there any way to start thunderbird after gnome? Best regards,Dai Yuwen
Re: copy debian form vmware to real pc
On 9/8/06, Yang [EMAIL PROTECTED] wrote: I want to copy the debian system form a vmware toreal pc! what should be done to make the copyed system work?My suggestion:1. boot the vmware using a Ghost CD-ROM, backup the partitions of Linux. Then restore it to a real Linux. 2. Usd 'dd' or 'tar' comand backup the partition by yourself, then restore them to a real Linux.Best regards,Dai Yang[EMAIL PROTECTED]2006-09-08--To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
mkisofs: how to specify the volume name?
Dear all,How to specify the volume name with mkisofs? The manual says -V is the option. But I can only see the volume name when I mount it in GNOME. Users uses Windows can not see the volume name. Best regards,Dai Yuwen
specify the application to open files in Midnight Command?
Dear all,I want xpdf instead of gpdf open pdf files in mc. How to do this?Best regards,Dai Yuwen
Re: specify the application to open files in Midnight Command?
On 8/4/06, ra1 [EMAIL PROTECTED] wrote: On Fri, Aug 04, 2006 at 02:14:21PM +0800, Yuwen Dai wrote:I want xpdf instead of gpdf open pdf files in mc. How to do this?Best regards,You can specify that in /etc/mc/mc.ext Thanks. I also find another way: add my own .mailcap if mc uses run-mailcap in the extensions file.Best regards,Dai Yuwen --ra1--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to set firefox default browser in gnome
2. in thunderbird, when I click a URL, it still opens epiphany.user_pref( network.protocol-handler.app.http, /usr/bin/firefox);user_pref(network.protocol-handler.app.https, /usr/bin/firefox);place this lines in ~/.mozilla-thunderbird/__your_profile__/prefs.js Thanks. This works.Dai
how to set firefox default browser in gnome
Dear all,What's the correct way to set firefox default browser in gnome? There're several places you can click a link:1. in Emacs wiki mode. I add these these lines in ~/.gnome/gnome-moz-remote:[Mozilla] filename=firefoxNEEDS_TERM=falseNREMOTE=tureso the default browser is firefox.2. in thunderbird, when I click a URL, it still opens epiphany.3. in command line of gnome-terminal, it also opens epiphany. I used update-alternatives --config x-www-browserto set firefox as the default browser, but still can not solve 2 and 3.Best regards,Dai Yuwen
screen capture tools on Linux?
Dear all,Can you recommend a screen capture tool on Linux? It can record the screen and sound so that people can demonstrate some thing on Linux. Thanks in advance.Best regards,Dai Yuwen
Re: problem of bringing up pppoe on boot
2005/5/23, Marty [EMAIL PROTECTED]: Yuwen Dai wrote: Deal all, I used /etc/ppp/ppp_on_boot to have pppoe bring up on boot time. Although ppp_on_boot is an obsolete method, it worked well untill I made an apt-get dist-upgrade yesterday. My Linux box has two ethernet cards, eth1 for internal networking and eth0 for pppoe. I found eth0 is not up when the the system boots, eth1 is OK. I read the /usr/share/doc/ppp/readme.Debian.gz. Added these lines to /etc/network/interfaces: auto eth0 iface eth0 inet ppp provider dsl-provider But eth0 wasn't up after /etc/init.d/network had run. I have to manually run ifconfig eth0 up before I run pon dsl-provider What's the correct way to bring up pppoe on boot time? Thanks in advance. Best regards, Dai Yuwen Just a guess, but if you use the demand keyword in the dsl-provider file, to enable demand-dialing, then one of two things might happen, first, you are not trying to send a packet to the connection is not initiated, or secondly you do try to send a packet but for some reason it doesn't get recognized as a WAN packet and consequently does not trigger the dialup. (I'm pretty sure I've experienced the second problem and while I don't recall the details, it involved a DNS catch-22 type issue. I think the resolution was changing my default resolve.conf settings.) Hi, Marty Thank you. I resolved the problem by adding lines in /etc/network/interfaces: auto ppp0 iface ppp0 inet ppp provider dsl-provider pre-up /sbin/ifconfig eth0 up Now eth0 is brought up automatically before dialing. Best regards, Dai Yuwen
problem of bringing up pppoe on boot
Deal all, I used /etc/ppp/ppp_on_boot to have pppoe bring up on boot time. Although ppp_on_boot is an obsolete method, it worked well untill I made an apt-get dist-upgrade yesterday. My Linux box has two ethernet cards, eth1 for internal networking and eth0 for pppoe. I found eth0 is not up when the the system boots, eth1 is OK. I read the /usr/share/doc/ppp/readme.Debian.gz. Added these lines to /etc/network/interfaces: auto eth0 iface eth0 inet ppp provider dsl-provider But eth0 wasn't up after /etc/init.d/network had run. I have to manually run ifconfig eth0 up before I run pon dsl-provider What's the correct way to bring up pppoe on boot time? Thanks in advance. Best regards, Dai Yuwen
Re: How to use the driver-1.bin image?
Hi, deal all I want to use the files in /dist/stable/mail/disks-i386/current/images-1.44/compact on the Debian official CD-Rom. There're three files in this directory: driver-1.bin rescue.bin root.bin I know that rescue.bin is a fat12 image, and root.bin is a gziped ram disk. I successfuly copied these images to floppies by using `dd'. But what the format of driver-1.bin? I used `file' to determin its type. But `file' only said it's data. I also copied it to a floppy using `dd' but had no idea how to use it. Any advice? Please `CC' to my own e-mail address. Thank you very much. You have to dd all the files to a floppy disk. Then boot up your computer using the rescue disk and insert the rootdisk when prompted. When the installation program has been launched, you will be asked for the I don't realy want to install system on the hard disk. I just want to use these three diskettes doing some diagnostics, i.e, network or something else. Could I do this? disk 1. Inserting this disk will do the rest. AFAIK the driver* and base* disks do not have a real filesystem, it is just a piece of a compressed archive written to the disk (with checksums and header of course). Greetz, Sebastiaan Best regards, Dai Yuwen _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
How to use the driver-1.bin image?
Hi, deal all I want to use the files in /dist/stable/mail/disks-i386/current/images-1.44/compact on the Debian official CD-Rom. There're three files in this directory: driver-1.bin rescue.bin root.bin I know that rescue.bin is a fat12 image, and root.bin is a gziped ram disk. I successfuly copied these images to floppies by using `dd'. But what the format of driver-1.bin? I used `file' to determin its type. But `file' only said it's data. I also copied it to a floppy using `dd' but had no idea how to use it. Any advice? Please `CC' to my own e-mail address. Thank you very much. best regards, Dai Yuwen _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Why messages sent by cron delay one day?
Hi, All This is my crontab: # Mirror the hard disk at 1:47 AM every day 47 1 * * * /usr/local/sbin/disk-mirror.sh This is the head of message sent by cron: From [EMAIL PROTECTED] Thu Nov 01 01:47:01 2001 Envelope-to: [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] /usr/local/sbin/disk-mirror.sh X-Cron-Env: SHELL=/bin/sh X-Cron-Env: HOME=/root X-Cron-Env: PATH=/usr/bin:/bin X-Cron-Env: LOGNAME=root Date: Wed, 31 Oct 2001 01:47:52 +0800 ^^ So, message that was suposed to been sent on 31 Oct 2001 actually sent on Nov 01 2001. Is this the normal behaviour of cron daemon? best regards, Dai Yuwen _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
What's the file system of root.bin?
Hi, Dear All I want to create rescue diskette from the Debian official CD-rom. I found that rescue.bin is msdos system, however, I could not figure out the file system of root.bin. I tried ext2, minix, msdos, fat. All wrong. Any idea? Thank you in advance. Best regards, Dai Yuwen _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: df print the wrong information
From: Michael Heldebrant [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: Re: df print the wrong information Date: 24 Oct 2001 23:50:38 -0500 On Wed, 2001-10-24 at 22:06, Yuwen Dai wrote: Hi, All I encounter a strange behaviour of df. This is the output of df on my machine: Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda6 303344 25804261879 9% / /dev/hda123302 1897 20202 9% /boot /dev/hda7 2016016453636 1459968 24% /usr /dev/hda9 2016016467776 1445828 24% /usr/local/cvsroot /dev/hda10 10108913 95857 0% /tmp /dev/hda11 101089 14185 81685 15% /var /dev/hda12 2016016467776 1445828 24% /usr/local /dev/hda1310080488 1604 9566816 0% /home /dev/hda141256321620 11925016 0% /opt /dev/hda8 2016016 13032 1900572 1% /usr/local/mysql Note `/dev/hda9` and `/dev/hda12` have the same information. But `/dev/hda9' is larger than `/dev/hda12'. I umount /usr/local/cvsroot and re-mount it. Then df prints the correct thing: Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda6 303344 25804261879 9% / /dev/hda123302 1897 20202 9% /boot /dev/hda7 2016016453636 1459968 24% /usr /dev/hda10 10108913 95857 0% /tmp /dev/hda11 101089 14186 81684 15% /var /dev/hda12 2016016467776 1445828 24% /usr/local /dev/hda1310080488 1604 9566816 0% /home /dev/hda141256321620 11925016 0% /opt /dev/hda8 2016016 13032 1900572 1% /usr/local/mysql /dev/hda9 1008048820 9568400 0% /usr/local/cvsroot Any idea? Thanks in advance. I have the sneaking suspicion that you mount /usr/local/cvsroot before you mount /usr/local. This would make for very odd behavior for the system. Change the location of /usr/local to be higher in the /etc/fstab file for all your partitions under /usr/local (/usr/local/mysql and /usr/local/cvsroot) and this problem should go away. This will cause /usr/local to be mounted before the subdirectories, which is the correct thing for what you want to do. Also check under the mount points with the filesystems unmounted (suggested to be done in single user mode). Data may be in the wrong places at this point (most of /usr/local is probably under /usr (hda7). --mike Hi, Mike I found the reason. Just as you said, I put the data at the wrong point. The data was actually on /dev/hda12 (/usr/local) not on /dev/hda9. Thank you very much. Best regards, Dai Yuwen _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
df print the wrong information
Hi, All I encounter a strange behaviour of df. This is the output of df on my machine: Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda6 303344 25804261879 9% / /dev/hda123302 1897 20202 9% /boot /dev/hda7 2016016453636 1459968 24% /usr /dev/hda9 2016016467776 1445828 24% /usr/local/cvsroot /dev/hda10 10108913 95857 0% /tmp /dev/hda11 101089 14185 81685 15% /var /dev/hda12 2016016467776 1445828 24% /usr/local /dev/hda1310080488 1604 9566816 0% /home /dev/hda141256321620 11925016 0% /opt /dev/hda8 2016016 13032 1900572 1% /usr/local/mysql Note `/dev/hda9` and `/dev/hda12` have the same information. But `/dev/hda9' is larger than `/dev/hda12'. I umount /usr/local/cvsroot and re-mount it. Then df prints the correct thing: Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda6 303344 25804261879 9% / /dev/hda123302 1897 20202 9% /boot /dev/hda7 2016016453636 1459968 24% /usr /dev/hda10 10108913 95857 0% /tmp /dev/hda11 101089 14186 81684 15% /var /dev/hda12 2016016467776 1445828 24% /usr/local /dev/hda1310080488 1604 9566816 0% /home /dev/hda141256321620 11925016 0% /opt /dev/hda8 2016016 13032 1900572 1% /usr/local/mysql /dev/hda9 1008048820 9568400 0% /usr/local/cvsroot Any idea? Thanks in advance. Best regards, Dai Yuwen _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
What's the reasonable time to mirror a hard disk?
Hi, All I have two identical hard disk linked with one cable. The capacity of each disk is 40G. I want to have the second disk be the mirror of the first disk by using this command: dd if=/dev/hda of=/dev/hdb bs=32k Nearly 2 hours passed, dd still hadn't finished. I had to press 'Ctrl-C' to stop it. Is this the right way to mirror a disk? Or is there some better way to do this? Thanks in advance. Best regards, Dai Yuwen _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp