problem installing Lenny
Hi there, Since I was unable to recompile my old kernel 2.6.20 under Debian Sarge, I decided to install Lenny. Unable to find a way to just upgrade (there has been Etch in between), I just saved directories and installed from the iso image debian-502a-i386-netinst.iso I choose somewhat automated install. I left partitions like they were under Sarge, or, if I did change something at that point, I can't exactly remember what. I must say that the partitioning menu seemed very confusing, but I admit that I knew very little about my raid1 system. In any case, the Lenny install that I now get, shows defaults. mdadm monitoring keeps sending mails at each boot : 'A degradated event has been detected on md device /dev/md0 P.S. The /proc/mdstat file currently contains the following : Personalities: [raid 1] md1: active raid 1 sda2[0] sdb2[1] 67874550 blocks [2/2] [UU] md0: active raid 1 sda1[0] 497856 blocks [2/1] [U_] unused devices : none ' a 'df' does confirms the diagnostic above : if md1 is OK with two mirrored partitions sda2 and sdb2, md0 only has sda1, while there was sda1 and sdb1 on my former Sarge system. Ever since I detected such anomaly, I re-installed once more, but I must have missed something on the partitioning menu, and I have not found what I should change there. Thanks in advance for your help. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernard wrote: > Hi there, > > Since I was unable to recompile my old kernel 2.6.20 under Debian Sarge, > I decided to install Lenny. Unable to find a way to just upgrade (there > has been Etch in between), Why not just upgrade to etch (aka 'oldstable'), followed by an upgrade to lenny? >I just saved directories and installed from > the iso image > > debian-502a-i386-netinst.iso > > I choose somewhat automated install. I left partitions like they were > under Sarge, or, if I did change something at that point, I can't > exactly remember what. I must say that the partitioning menu seemed very > confusing, but I admit that I knew very little about my raid1 system. The installation guide [1] contain a very informative section on partitioning. [1] http://www.debian.org/releases/stable/i386/ch06s03.html.en#di-partition > In any case, the Lenny install that I now get, shows defaults. > mdadm monitoring keeps sending mails at each boot : > > 'A degradated event has been detected on md device /dev/md0 > P.S. The /proc/mdstat file currently contains the following : > > Personalities: [raid 1] > > md1: active raid 1 sda2[0] sdb2[1] > 67874550 blocks [2/2] [UU] > > md0: active raid 1 sda1[0] > 497856 blocks [2/1] [U_] > > unused devices : none > ' I guess that you just have to add sdb1 to your raid md0. Check the output of 'mdadm --detail /dev/md0'. - From there, I'd read 'man mdadm' and either try to autoassemble 'mdadm - --assemble --scan' or to add the missing spare by hand '--manage -a'. Take care. I assume that you have good backups. > a 'df' does confirms the diagnostic above : if md1 is OK with two > mirrored partitions sda2 and sdb2, md0 only has sda1, while there was > sda1 and sdb1 on my former Sarge system. > > Ever since I detected such anomaly, I re-installed once more, but I must > have missed something on the partitioning menu, and I have not found > what I should change there. You did not provide enough information to be certain, but I *guess* that you might have accidentally started the raid with one of the partitions missing at one point in the past. That led to both partitions not being in sync any more. Now mdadm can't continue to use both partitions at once, unless you tell it to sync one of the drives to the state of the other one. Good luck, Johannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqVGQwACgkQC1NzPRl9qEX3HACfY4pIAwOtHic9zIG9cfM6CsY1 ucsAn3kiMI+AeVNMwRQ6WYLXoBssxr7J =VCrG -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
Le mercredi 26 août 2009 à 13:14 +0200, Johannes Wiedersich a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bernard wrote: > > Hi there, > > > > Since I was unable to recompile my old kernel 2.6.20 under Debian Sarge, > > I decided to install Lenny. Unable to find a way to just upgrade (there > > has been Etch in between), > > Why not just upgrade to etch (aka 'oldstable'), followed by an upgrade > to lenny? > > >I just saved directories and installed from > > the iso image > > > > debian-502a-i386-netinst.iso > > > > I choose somewhat automated install. I left partitions like they were > > under Sarge, or, if I did change something at that point, I can't > > exactly remember what. I must say that the partitioning menu seemed very > > confusing, but I admit that I knew very little about my raid1 system. > > The installation guide [1] contain a very informative section on > partitioning. > > [1] http://www.debian.org/releases/stable/i386/ch06s03.html.en#di-partition > > > In any case, the Lenny install that I now get, shows defaults. > > mdadm monitoring keeps sending mails at each boot : > > > > 'A degradated event has been detected on md device /dev/md0 > > P.S. The /proc/mdstat file currently contains the following : > > > > Personalities: [raid 1] > > > > md1: active raid 1 sda2[0] sdb2[1] > > 67874550 blocks [2/2] [UU] > > > > md0: active raid 1 sda1[0] > > 497856 blocks [2/1] [U_] > > > > unused devices : none > > ' > > I guess that you just have to add sdb1 to your raid md0. Check the > output of 'mdadm --detail /dev/md0'. > - From there, I'd read 'man mdadm' and either try to autoassemble 'mdadm > - --assemble --scan' or to add the missing spare by hand '--manage -a'. Thanks a lot. That did the trick. I typed : mdadm /dev/md0 --add /dev/sdb1 and this restored my md0 all right. After reboot, this change remains. So, I think that this particular problem is solved My next problem is one of keyboard. I had chosen a kind of automatic setup for my install. Despites this, I was questioned about language, and I had replied 'French'. However my keyboard is in QWERTY instead of being in AZERTY as it should. With past installed (RedHat 5.2, then RH6.0, RH7.2, Debian Sarge..., I had had no problem having my keyboard configured right away for AZERTY. It is not so here with that install of Lenny. System messages are in French (which I don't really care), but the keyboard is QUERTY, worse yet when I have to search for the right key for a special character. This is so in both console and graphic environment (GNOME). Thanks in advance for your help in switching my keyboard to the French setup. Next I will ask for how to replace GNOME with fvwm... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernard wrote: [snip] > My next problem is one of keyboard. I had chosen a kind of automatic > setup for my install. Despites this, I was questioned about language, > and I had replied 'French'. However my keyboard is in QWERTY instead of > being in AZERTY as it should. With past installed (RedHat 5.2, then > RH6.0, RH7.2, Debian Sarge..., I had had no problem having my keyboard > configured right away for AZERTY. It is not so here with that install of > Lenny. System messages are in French (which I don't really care), but > the keyboard is QUERTY, worse yet when I have to search for the right > key for a special character. This is so in both console and graphic > environment (GNOME). > > Thanks in advance for your help in switching my keyboard to the French > setup. dpkg-reconfigure xserver-xorg > Next I will ask for how to replace GNOME with fvwm... aptitude install fvwm Johannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqVJyMACgkQC1NzPRl9qEWT5gCdGVOqWzhnPOMCE1oBXgRQdBYs Vk8AnRRvh6M7vQf0lZ8PvhIYf75ciG2Z =8oU9 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
On 2009-08-26 14:14 +0200, Johannes Wiedersich wrote: > Bernard wrote: >> >> Thanks in advance for your help in switching my keyboard to the French >> setup. > > dpkg-reconfigure xserver-xorg Will not work¹ with the version of xserver-xorg currently in Lenny. :-( Sven ¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=535624 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sven Joachim wrote: > On 2009-08-26 14:14 +0200, Johannes Wiedersich wrote: > >> Bernard wrote: >>> Thanks in advance for your help in switching my keyboard to the French >>> setup. >> dpkg-reconfigure xserver-xorg > > Will not work¹ with the version of xserver-xorg currently in Lenny. :-( Urrrggghhh, how ugly! Thanks for pointing this out. At least the report quotes a workaround and fix. Johannes > ¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=535624 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEUEARECAAYFAkqVK4MACgkQC1NzPRl9qEWrjgCYjObyolnPJlUiN08CoTcsOquC LQCcDzsaK/m94l/10nuPeKPAK4Aer2A= =9liG -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
In <1251279376.9809.16.ca...@dell-desktop.home>, Bernard wrote: >In any case, the Lenny install that I now get, shows defaults. >mdadm monitoring keeps sending mails at each boot : > >'A degradated event has been detected on md device /dev/md0 >P.S. The /proc/mdstat file currently contains the following : > >Personalities: [raid 1] > >md1: active raid 1 sda2[0] sdb2[1] >67874550 blocks [2/2] [UU] > >md0: active raid 1 sda1[0] >497856 blocks [2/1] [U_] > >unused devices : none >' Yeah, that's got nothing to do with your Lenny install, most likely. First run 'mdadm -D /dev/md0', confirm that this raid1 is broken -- no redundancy; your data is at risk. Next run 'mdadm -E /dev/sda1' and 'mdadm -E /dev/sdb1', confirm that /dev/sdb1 is part of the same raid set -- differences only in 'Update Time', 'Checksum', 'Events', 'Array Slot', and 'Array State'. Finally run 'mdadm --add /dev/md0 /dev/sdb1' to start the rebuild. I hope your disk hasn't failed. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/\_/ signature.asc Description: This is a digitally signed message part.
Re: problem installing Lenny
Le mercredi 26 août 2009 à 09:05 -0500, Boyd Stephen Smith Jr. a écrit : > In <1251279376.9809.16.ca...@dell-desktop.home>, Bernard wrote: > >In any case, the Lenny install that I now get, shows defaults. > >mdadm monitoring keeps sending mails at each boot : > > > >'A degradated event has been detected on md device /dev/md0 > >P.S. The /proc/mdstat file currently contains the following : > > > >Personalities: [raid 1] > > > >md1: active raid 1 sda2[0] sdb2[1] > >67874550 blocks [2/2] [UU] > > > >md0: active raid 1 sda1[0] > >497856 blocks [2/1] [U_] > > > >unused devices : none > >' > > Yeah, that's got nothing to do with your Lenny install, most likely. > > First run 'mdadm -D /dev/md0', confirm that this raid1 is broken -- no > redundancy; your data is at risk. > > Next run 'mdadm -E /dev/sda1' and 'mdadm -E /dev/sdb1', confirm that > /dev/sdb1 > is part of the same raid set -- differences only in 'Update Time', > 'Checksum', > 'Events', 'Array Slot', and 'Array State'. > > Finally run 'mdadm --add /dev/md0 /dev/sdb1' to start the rebuild. I hope > your disk hasn't failed. According to someone else's advice, I ran just : mdadm --add /dev/md0 /dev/sdb1 and it worked right away. Since that partition /dev/sda1 and its mirror /dev/sdb1 are small (about 500 MB), the process was instant. After reboot, the changes remain, and I no longer have system messages. However, when shutting down, I always have a message saying that /dev/mapper/vg00-root could not be unmounted since it is in use... The message goes very quickly, and I don't know where I could find a log of this. In any case, the shutdown process keeps going and it goes like this each time. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
Le mercredi 26 août 2009 à 09:05 -0500, Boyd Stephen Smith Jr. a écrit : > In <1251279376.9809.16.ca...@dell-desktop.home>, Bernard wrote: > >In any case, the Lenny install that I now get, shows defaults. > >mdadm monitoring keeps sending mails at each boot : > > > >'A degradated event has been detected on md device /dev/md0 > >P.S. The /proc/mdstat file currently contains the following : > > > >Personalities: [raid 1] > > > >md1: active raid 1 sda2[0] sdb2[1] > >67874550 blocks [2/2] [UU] > > > >md0: active raid 1 sda1[0] > >497856 blocks [2/1] [U_] > > > >unused devices : none > >' > > Yeah, that's got nothing to do with your Lenny install, most likely. > > First run 'mdadm -D /dev/md0', confirm that this raid1 is broken -- no > redundancy; your data is at risk. > > Next run 'mdadm -E /dev/sda1' and 'mdadm -E /dev/sdb1', confirm that > /dev/sdb1 > is part of the same raid set -- differences only in 'Update Time', > 'Checksum', > 'Events', 'Array Slot', and 'Array State'. > > Finally run 'mdadm --add /dev/md0 /dev/sdb1' to start the rebuild. I hope > your disk hasn't failed. According to someone else's advice, I ran just : mdadm --add /dev/md0 /dev/sdb1 and it worked right away. Since that partition /dev/sda1 and its mirror /dev/sdb1 are small (about 500 MB), the process was instant. After reboot, the changes remain, and I no longer have system messages. However, when shutting down, I always have a message saying that /dev/mapper/vg00-root could not be unmounted since it is in use... The message goes very quickly, and I don't know where I could find a log of this. In any case, the shutdown process keeps going and it goes like this each time. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
On Wednesday 26 August 2009 11:01:12 bd wrote: > However, when shutting down, I always have a message saying > that /dev/mapper/vg00-root could not be unmounted since it is in use... IME, that's normal. Whatever block devices back your '/' file system can not be shut down cleanly, but since it is remounted as read-only and then synced to disk before the hardware reset it rarely (if ever) causes issues. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/\_/ signature.asc Description: This is a digitally signed message part.
Re: problem installing Lenny
Le mercredi 26 août 2009 à 11:51 -0500, Boyd Stephen Smith Jr. a écrit : > On Wednesday 26 August 2009 11:01:12 bd wrote: > > However, when shutting down, I always have a message saying > > that /dev/mapper/vg00-root could not be unmounted since it is in use... > > IME, that's normal. Whatever block devices back your '/' file system can not > be shut down cleanly, but since it is remounted as read-only and then synced > to disk before the hardware reset it rarely (if ever) causes issues. Thanks. This reassures me. As you can imagine, I have a few other issues. My next concern are the error messages that keep displaying every 3 minutes or so, if I am on a console (that doesn't show when I am under Gnome Xterm). It is matter of a firmware that cannot be installed, most likely a WiFi card driver : " firmware: requesting rt2561.bin phy0 -> rt2x00lib_request_firmware: Error - Failed to request Fir mware. " I found this in Google : Google rt2x00 wiki Rt2.00 drivers are part of the mainline kernel tree. this is true since Jan 2008 with the 2.6.24 kernel... While the mainline kernel has the driver tree, for several reasons, can only be pulled along with the full kernel sources usint the git content tracker. " WiFi did operate on this machine on my late Debian Sarge system ; I don't know what firmware operated, but I had no such errors. Since I have higher priorities and that my PC is mostly connected through an ethernet cable, I wish to disable that module for now. How should I blacklist it of something of the kind ? Is there a better thing to do ? In any case, these repeated attempts are troublesome, they even interfere on my DSL modem/routeur box, which LED is almost constantly blinking when this PC is up and running, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: problem installing Lenny
On Wednesday 26 August 2009 12:50:23 bdebreil wrote: > My next concern are the error messages that keep displaying every 3 > minutes or so, if I am on a console (that doesn't show when I am under > Gnome Xterm). For a new issue, you should start a new thread. Other can can help you with the new issue may already be ignoring this thread because they couldn't assist with the old issue. (You can do this by composing a new email rather than using the "Reply" feature of your MUA.) > It is matter of a firmware that cannot be installed, most > likely a WiFi card driver : > > " > firmware: requesting rt2561.bin > phy0 -> rt2x00lib_request_firmware: Error - Failed to request Fir > mware. > " > > I found this in Google : > > Google rt2x00 wiki > > Rt2.00 drivers are part of the mainline kernel tree. this is true since > Jan 2008 with the 2.6.24 kernel... While the mainline kernel has the > driver tree, for several reasons, can only be pulled along with the full > kernel sources usint the git content tracker. " > > WiFi did operate on this machine on my late Debian Sarge system ; I > don't know what firmware operated, but I had no such errors. Lenny in specific and Debian in general has removed a number of firmwares from the kernel shipped in main because the firmwares are arguably non-free or that their distribution could possibly violate the GPL. Most (if not all) of those firmwares are available as packages in the non-free repository. > Since I > have higher priorities and that my PC is mostly connected through an > ethernet cable, I wish to disable that module for now. How should I > blacklist it of something of the kind ? If you can determine the module name (maybe "rt2561"?), you can blacklist the module using a file in /etc/modprobe.d, whose contents in documented by 'man 5 modprobe.conf'. Most often something like "blacklist rt2561" or "install rt2561 /bin/true" should work. > Is there a better thing to > do ? If you'd like the module and its hardware to work, install the firmware package from non-free. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/\_/ signature.asc Description: This is a digitally signed message part.
Re: problem installing Lenny
On Wed, 26 Aug 2009 11:51:09 -0500 "Boyd Stephen Smith Jr." wrote: > On Wednesday 26 August 2009 11:01:12 bd wrote: > > However, when shutting down, I always have a message saying > > that /dev/mapper/vg00-root could not be unmounted since it is in use... > > IME, that's normal. Whatever block devices back your '/' file system can not > be shut down cleanly, but since it is remounted as read-only and then synced > to disk before the hardware reset it rarely (if ever) causes issues. It's normal; I see it too on one of my systems, and here's the relevant bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466141 Celejar -- 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
Re: problem installing Lenny
On Wed, Aug 26, 2009 at 02:05:57PM +0200, Bernard wrote: > > Next I will ask for how to replace GNOME with fvwm... > GNOME is a "desktop environment", fvwm is a "window manager" That is you can use fvwm as a replacement for the window manager provided by GNOME (sorry, don't know what GNOME uses.) or you can just use fvwm with no desktop environment. Have a look at fvwm-crystal and fvwm-themes. Aslo fvwm has a mailing list, and a wiki, and has some screenshots at http://fvwm.org -- Chris, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org