| View previous topic :: View next topic |
| Author |
Message |
jserink Guru

Joined: 30 Jan 2004 Posts: 559
|
Posted: Mon Nov 03, 2008 2:15 pm Post subject: Reboot was fine |
|
|
Ok, rebooted fine, sweet.
Back up and running.
:)
John |
|
| Back to top |
|
 |
krotuss Tux's lil' helper

Joined: 01 Aug 2008 Posts: 86
|
Posted: Mon Nov 03, 2008 2:54 pm Post subject: |
|
|
| What is ETA on fix? |
|
| Back to top |
|
 |
Moriah Veteran


Joined: 27 Mar 2004 Posts: 1692 Location: Warsaw KY US
|
Posted: Mon Nov 03, 2008 3:24 pm Post subject: |
|
|
Well my box that boots from a raid1 under lvm refuses to even try to boot. All I can think of is that when e2fsprogs-lib got clobbered, that somehow, something that used ext2, which is what my boot partition uses, something like that ran amuck and maybe clobbered a partition table or something.
When I try to boot the box, I do not even get to the grub screen where you get to choose what image to boot. The BIOS complains that the drive is unbootable.  _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
| Back to top |
|
 |
marcus0263 Apprentice


Joined: 18 Mar 2005 Posts: 177 Location: Seattle
|
Posted: Mon Nov 03, 2008 5:42 pm Post subject: |
|
|
Until they get this fixed I just added in my /etc/portage/package.mask
>=sys-libs/e2fsprogs-libs-1.41.0
>=sys-fs/e2fsprogs-1.41.0
>=app-crypt/mit-krb5-1.6.3-r4 _________________ Reject The Herd
"Where Thought Crime is Committed"
www.rejecttheherd.net
Gentoo Powered |
|
| Back to top |
|
 |
Stupendoussteve n00b


Joined: 06 Sep 2005 Posts: 72 Location: NE, USA
|
Posted: Mon Nov 03, 2008 7:07 pm Post subject: |
|
|
| marcus0263 wrote: | Until they get this fixed I just added in my /etc/portage/package.mask
>=sys-libs/e2fsprogs-libs-1.41.0
>=sys-fs/e2fsprogs-1.41.0
>=app-crypt/mit-krb5-1.6.3-r4 |
The fixed version of mit-krb5 is stable now. The fix is to make sure you have e2fsprogs/-libs in your distfiles before removing the blockers. _________________ Gentoo - FreeBSD - Debian - Arch Linux |
|
| Back to top |
|
 |
Moriah Veteran


Joined: 27 Mar 2004 Posts: 1692 Location: Warsaw KY US
|
Posted: Tue Nov 04, 2008 2:47 am Post subject: |
|
|
Well, I got the 500 GB drives, installed them, partitioned them with a 50 MB boot partition, and the rest of the drive devoted to the root filesystem. Used mdadm to create raid1's on the 50 MB boot partitions, and on the nearly 500 GB root partitions. Waiting for the big raid1 to resync.
Next step will be to put ext2 filesystem on the 50 MB /dev/md0, and use LVM2 to manage the big partition, allocating 3 GB to swap, 50 gb for spare space for snapshots during backups, and the rest for the XFS filesystem that will be the root filesystem after the pivotroot during boot.
Then its on the the normal Gentoo install and a kernel build. Finally a grub installation, including writing the MBR.
Then the first boot. (pray, pray, pray...)
Then install all the other stuff this server needs, like apache, php, squirrellmail, mysql, sendmail, etc. etc. etc.
Then I have to restore all the files from the backup server unless they already exist on the new installation.
I also am just starting to work on the clobbered dhcp/samba/cups server machine, then I have to get the NIDS box running again, then I finally get to work thru this tricky installation on the other 8 Gentoo boxes here. _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
| Back to top |
|
 |
ade05fr Apprentice

Joined: 18 Sep 2006 Posts: 182
|
Posted: Tue Nov 04, 2008 8:05 am Post subject: |
|
|
Up again
| Code: | here is :
Code:
abayonx86-64 dev-lang # cat python-2.5.1-r3/USE
7zip X a52 aac aalib accessibility acpi ada aiglx alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd64 apache2 arts artswrappersuid asterisk audiofile avahi berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo canvas cdda cdr cjk cli commercial cracklib crypt css cups dbus dga divx4linux djvu dlloader dri dts dvb dvd dvdr dvdread dvi eds elibc_glibc emboss encode evo exif exscalibar fat ffmpeg firefox flac foomatic-db foomaticdb fortran freetype fuse gcj gdbm gif gimpprint glitz glut gnokii gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal hfs iconv ieee1394 imlib input_devices_acecad input_devices_aiptek input_devices_calcomp input_devices_citron input_devices_digitaledge input_devices_dmc input_devices_dynapro input_devices_elo2300 input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_jamstudio input_devices_joystick input_devices_keyboard input_devices_magellan input_devices_microtouch input_devices_mouse input_devices_mutouch input_devices_palmax input_devices_penmount input_devices_spaceorb input_devices_summa input_devices_synaptics input_devices_tek4957 input_devices_ur98 input_devices_vmmouse input_devices_void input_devices_wacom ipod ipv6 irda isdnlog jack java jfs joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdgraphics kerberos kernel_linux kig-scripting kipi ladspa lcd lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libcaca linguas_af linguas_ar linguas_de linguas_en linguas_en_GB linguas_en_US linguas_es linguas_eu linguas_fr linguas_it linguas_ja linguas_uk lirc live livecd lm_sensors logitech-mouse lzw lzw-tiff mad mbrola midi mikmod mono mozcalendar moznocompose moznoirc moznomail mozsvg mp3 mpeg mudflap musepack musicbrainz nautilus ncurses nls nntp nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis ole on-the-fly-crypt openexr opengl openmp pam pam_chroot pam_timestamp pcmcia pcre pda pdf perforce perl php png portaudio postgres povray ppds pppd pwdb python qt qt3 qt4 quicktime rdesktop readline reflection reiser4 reiserfs remote rtsp ruby samba scanner sdl session shout skins sms sndfile soundtouch speedo speex spell spl sql sqlite ssl stats stream subversion svg symlink tcpd theora tiff timidity tk truetype truetype-fonts type1-fonts udev unichrome unicode usb userland_GNU v4l v4l2 vcd video_cards_apm video_cards_ark video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_fglrx video_cards_glint video_cards_i128 video_cards_i810 video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo visualization vlm vorbis wifi wxwindows xfs xine xinerama xml xml2 xorg xpm xprint xscreensaver xv xvid xvmc zeroconf zlib
sabayonx86-64 dev-lang # cat python-2.5.1-r3/PKGUSE
tk
What is this procedure to repair python ??
thanks |
_________________ [LAPTOP]
Aspire 9423WXMi
Intel Core 2 duo T5500
750GB Ext USB HDD
2.5 Gb DDR2
SWAP : 2Gb
Chipset Intel 945PM Express
VIDEO : NVIDIA® GeForce® Go7300
ORBICAM : gspca_vc032x
[LINUX-GENTOO]
Gentoo 2012-0
kernel 3.3.3
gnome 3.4 |
|
| Back to top |
|
 |
Moriah Veteran


Joined: 27 Mar 2004 Posts: 1692 Location: Warsaw KY US
|
Posted: Tue Nov 04, 2008 8:44 pm Post subject: |
|
|
Well, I just went thru the gentoo installation procedure, using raid1 and lvm for the root filesystem, and booting from that same pair of drives. There are really 2 raid0's here: a 50 MB etx2 filesystem on /dev/md0 as /boot, and the rest of the disks as /dev/md1 with lvm on top of that, and a swap partition and a root filesystem partition running xfs.
I did the whole install from scratch thing, including emerging grub and running it to put the good stuff in the MBR etc. on both drives, AND THE STINKER STILL WON'T BOOT!!!
I get the same symptoms as before: not even an indication that it is so much as trying to run grub -- only a message from the BIOS that the drive is not bootable.
So now I am dropping back to really simple, and doing an ext2 install on only one drive. Both /boot and / are nice simple ext2, and there is only 1 drive in the configuration. We shall see if it will boot.
I suspect it will. I am starting to suspect that my memory on how to set up grub to boot from a pair of drives as raid1 mirror might be a bit faulty...  _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
| Back to top |
|
 |
Moriah Veteran


Joined: 27 Mar 2004 Posts: 1692 Location: Warsaw KY US
|
Posted: Tue Nov 04, 2008 11:43 pm Post subject: |
|
|
Well, it DIDN'T boot!
Then I noticed that the instructions for grub.conf now show /boot/kernel... instead of just /kernel... like it always used to be. Has somebody changed the way grub wants grub.conf set up?
Well, I tried it both ways, and even re-ran grub after teach attempt, and still to no avail.
So now I am beginning to suspect that some weird hardware problem has arisen that keeps it from booting, even though I can read and write the drives from the live CD just fine, and the live CD boots fine too.
So to answer that question, Lord forgive me, I am installing a copy of XP to see if that will boot.
I will post back after this test...  _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
| Back to top |
|
 |
Moriah Veteran


Joined: 27 Mar 2004 Posts: 1692 Location: Warsaw KY US
|
Posted: Wed Nov 05, 2008 12:33 am Post subject: |
|
|
Well, XP didn't boot either!
Yes, in this case, that's a GOOD thing. It means I have a problem that is not a botch job on my part of installing gentoo.
So I took a good close look at the BIOS settings. I tried many combinations, but nothing worked.
So I tried the "reset to defaults" BIOS choice.
Voila! XP booted!
So it would seem to me that something ran amuck due to the com_err/ss fiasco, and clobbered something in my NVRAM that holds the BIOS settings.
Has anybody else seen anything like this?
Well, since I think I have solved the mystery, its back to the gentoo install. Given what I have been thru so far, I will do the simple ext2 only install first -- to prove that it will boot -- and them move on to the boot from an XFS filesystem under LVM under RAID1. If all that works, then I get to rebuild the rest of my server.
What a nightmare! Yes, it does remind me of the expat disaster, only maybe even worse!
(And to make matters even worse, the US presidential election returns are starting to come in on the radio streaming in over the internet... ) _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
| Back to top |
|
 |
hitachi Guru

Joined: 20 Feb 2006 Posts: 461
|
Posted: Wed Nov 05, 2008 7:25 am Post subject: |
|
|
@Moriah: What's the relation to "e2fsprogs, com_err, and ss blockers"? _________________ Athlon 64 X2 3800+
Micro-ATX-Mainboard in einer OEM-Version von Asus mit Nvidias nForce4 (A8NE-FM/S).
PEG-Grafikkarte von Leadtek mit Nvidia GeForce 6600
3 GB RAM
350-Watt-Netzteil (von Fortron/Source)
4 x 500GB S-ATA HDD (raid1 und raid5) |
|
| Back to top |
|
 |
Moriah Veteran


Joined: 27 Mar 2004 Posts: 1692 Location: Warsaw KY US
|
Posted: Thu Nov 06, 2008 1:46 am Post subject: |
|
|
My understanding is that e2fsprogs calles routines in com_err and also in ss. com_err is "common error handler", and ss is "subsystem". Lousy names, and when you unmerge e2fsprogs, it unmerges these 2 other libs at the same time.
But the poor coupling is that *MANY* other things also call com_err. Things that include wget, which ought not have anything to do with the e2fs filesystem, but they just knew that com_err would be there, so they called it like it was hardwired into the cpu or something.
Because of this terrible coupling situation, together with the undeclared dependencies that result from these other programs calling stuff in com_err, when you unmerge e2fsprogs to get rid of the block, you also send wget south for the winter, which, of course, is for the birds!
What seems to be working for me so far is to boot the broken system from a live CD and mount your old root filesystem on /mnt/gentoo. Use your alt-F1 and alt-F2 to switch between virtual consoles, because you are going to chroot on one of them, and keep the other in the outside environment.
Now, you can go into the chroot shell and do an emerge -pv --update --deep --newuse world and see if the block is still there. If it is, then you haven't broken that box yet, but if the block is gone, it means your wget is trashed.
Id your wget is trashed, go to the non-chroot shell and cd to /mnt/gentoo/usr/portage/distfiles and do a wget com_err ss to manually pre-fetch the files for com_err and ss. Next, go to the chroot shell and emerge com_err and ss. Since the files are pre-fetched, you will not call the messed-up wget. When the emerge is done, your wget will be resurected, having risen from the dead. Now you can pre-fetch everything else with an emerge --fetchonly --update --deep --newuse world.
When the mega-pre-fetch is done, you can once again unmerge com_err and ss to remove the block, and then do you emerge --update --deep --newuse world to finish the recovery and the update of your system at the same time.
Now exit the chroot shell, unmount /mnt/gentoo, and reboot the box after removing or disabling the live CD.
Everything should work OK at this point.  _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
| Back to top |
|
 |
Stupendoussteve n00b


Joined: 06 Sep 2005 Posts: 72 Location: NE, USA
|
Posted: Fri Nov 07, 2008 7:43 am Post subject: |
|
|
Not everyone ends up with a trashed wget from removing those, only if they are using mit-krb5 and it depends on those. If they are removed then it breaks, and breaks something else (openssl I believe) which breaks wget. The fix was pretty straightforward, especially since the fixed mit-krb5 made it to stable.
As for the grub.conf, pointing to the kernel is done based on the grub root. If your grub root is (hd0,0) and /dev/hda1 happens to be your /boot partition, then you would only need to point to /kernel. If you are using a / partition then you point to /boot/kernel.
By the way, the better way to fix it if you've hosed your system but booting from a cd is to download the new versions into distfiles, not com_err and ss. Upgrade the packages, fix the block, and get on with the rest of life. No need to reinstall the old packages just to do the same thing. _________________ Gentoo - FreeBSD - Debian - Arch Linux |
|
| Back to top |
|
 |
mariourk l33t


Joined: 11 Jul 2003 Posts: 805 Location: Urk, Netherlands
|
Posted: Fri Nov 28, 2008 10:43 am Post subject: |
|
|
| Gentree wrote: | Hi ,
I just had to go through this a second time. Portage tree now handles this a bit better than a few weeks back.
just to be covered:
| Code: | quickpkg ss com_err e2fsprogs e2fsprogs-libs
|
then
| Code: | emerge -f ss com_err e2fsprogs e2fsprogs-libs
emerge -C ss com_err e2fsprogs
emerge -1 e2fsprogs
|
 |
Thanks Gentree. Thanks to you, updating e2fsprogs was a breeze  _________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all. |
|
| Back to top |
|
 |
justincataldo Guru


Joined: 15 Jun 2005 Posts: 376 Location: Australia
|
Posted: Tue Dec 30, 2008 5:03 am Post subject: |
|
|
This worked for me. Thanks!
| millerl wrote: | | Code: | emerge --sync
emerge -f world
emerge -f e2fsprogs-libs
emerge -C ss com_err e2fsprogs
emerge -1 e2fsprogs
echo "sys-libs/ss" >> /etc/portage/package.mask
echo "sys-libs/com_err" >> /etc/portage/package.mask
echo "app-crypt/mit-krb5" >> /etc/portage/package.keywords
emerge -uvDat world |
This worked for me. From what I've read, the newer ebuilds (-r2 and above) of mit-krb5, (~) masked, has the correct rdepend's (allowing it to build with e2fsprogs rather than requiring ss and com_err).
Hope that helps.
-- oh, and the newer versions of mit-krb5 (with correct rdepend's) should be hitting stable soon. |
_________________ Core i7 2.67GHz with 12GB DDR3 RAM. |
|
| Back to top |
|
 |
jk3us Apprentice

Joined: 14 Mar 2005 Posts: 200 Location: Memphis, TN
|
Posted: Tue Dec 30, 2008 8:04 pm Post subject: |
|
|
A note if you use "sudo emerge" if you unmerge ss and com_err, which looks like a preferred solution, you will not be able to run sudo until you get e2fsprogs/-libs installed. 'su-' still works to get you a root shell, but I almost couldn't remember my root password.
The point being... run those steps as root, from the root prompt, not via sudo.
Anyway, I finally have this problem fixed (had just package.mask to hide it for a while) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|