Nico | 1 Sep 03:11 2006
Picon

Re: ELOG doesn't seem to be logging much

mmmh.

Well, I don't have those files so what can I do ?

here is my make.conf :

PORT_LOGDIR=/var/log/portage
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save"


Stephen Liu | 1 Sep 03:54 2006
Picon

Re: Gentoo failed to start

Hi Jarry and folks,

Tks for your advice.

Booting with a LiveCD:
My problem booting with Knoppix5 is it does not support LVM, vgscan,
vgchange, etc. not available.  I can only boot with "Gentoo
install-amd64-minimal-2006.0"

After activating lv, mounting all devices, etc., coming to;
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# env-update
-/bin/bash:env-update:command not found.

It did happen in my previous rounds.  Other command such as "emerge"
also found missing compelling me to wipe out the HD and to start again.
 Any suggestion.  TIA

Another problem I forgot to mention in my previous posting is;
/lib/modules
was missing

# ls -al /lib | grep modules
did not find it.

Problem about switching consoles.  After "chroot" I can't read online
manual.  Therefore I have to press [Ctrl]+[Alt]+F2 switching to another
console.  (I suppose the working console is [Ctrl]+[Alt]+F4).  But
after switching back to the working console all the work disappeared. 
It did happen occassionally but not always.  Any advice?  TIA.

B.R.
SL

--- Jarry <jarry <at> gmx.net> wrote:

> Stephen Liu wrote:
> 
> >  * IMPORTANT: 7 config files in /etc need updating.
> >  * Type emerge --help config to learn how to update config files.
> > * end *
> > # find /etc -iname '._cfg????_*'
> > No printout.  Can't find the config files to be updated.
> 
> Try:
> # find /etc -iname '._cfg*'
> 
> > 2)
> > # grep -v rootfs /proc/mounts > /etc/mtab
> > -
> > cursor hanging there
> 
> Why doing this??? You should edit fstab, not mtab...
> 
> > # grub install /dev/hda
> > df: Warning: cannot read table of mounted filesystems
> > df: Warning: cannot read table of mounted filesystems
> > Could not find device for /boot: Not found or not a block device.
> 
> No wonder, see previous remark...
> 
> > 4)
> > # cat /etc/fstab
> 
> That is just example which does not correspond with your layout...
> 
> > On reboot only a black screen displayed.  Please advise how to fix
> the
> > problem.  TIA
> 
> Boot livecd, mount partitions, correct errors...
> 
> hth,
> Jarry
--

-- 
gentoo-user <at> gentoo.org mailing list

Richard Fish | 1 Sep 04:25 2006

Re: Gentoo failed to start

Because it's confusing.

> Why shouldn't I top post?

On 8/31/06, Stephen Liu <satimis <at> yahoo.com> wrote:
> After activating lv, mounting all devices, etc., coming to;
> # mount -t proc none /mnt/gentoo/proc
> # mount -o bind /dev /mnt/gentoo/dev
> # env-update
> -/bin/bash:env-update:command not found.

You need to chroot to /mnt/gentoo before running etc-update:

# mount -bind /dev /mnt/gentoo/dev
# cd /mnt/gentoo ; chroot ./ ./bin/bash
# etc-update

> It did happen in my previous rounds.  Other command such as "emerge"
> also found missing compelling me to wipe out the HD and to start again.

Also chroot needed here?

> Problem about switching consoles.  After "chroot" I can't read online
> manual.  Therefore I have to press [Ctrl]+[Alt]+F2 switching to another
> console.  (I suppose the working console is [Ctrl]+[Alt]+F4).  But
> after switching back to the working console all the work disappeared.
> It did happen occassionally but not always.  Any advice?  TIA.

I think you've gotten confused by which console you are working on.
Normally the live CD starts several consoles (6?), that are accessible
on Alt+F1 through Alt+F6.  (The Ctrl+Alt combination is only needed
when switching from X to a console).  So most likely, you were working
on tty1 (Alt+F1).

-Richard
--

-- 
gentoo-user <at> gentoo.org mailing list

Stephen Liu | 1 Sep 04:51 2006
Picon

Re: Gentoo failed to start

Hi Richard,

Tks for your advice.

> On 8/31/06, Stephen Liu <satimis <at> yahoo.com> wrote:
> > After activating lv, mounting all devices, etc., coming to;
> > # mount -t proc none /mnt/gentoo/proc
> > # mount -o bind /dev /mnt/gentoo/dev
> > # env-update
> > -/bin/bash:env-update:command not found.
> 
> You need to chroot to /mnt/gentoo before running etc-update:

Yes I did.  Sorry for not listing them on my previous posting.  Steps
taken previously as follows;

# cd /mnt/gentoo
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev/mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# env-update
-/bin/bash:env-update:command not found.

other commands also not found.

If I start again wiping out the complete HD, following the steps on the
handbook.  Then it worked seamlessly.

# env-update
>> Regenerating /etc/ld.so.cache....

I can't resolve if after exiting chroot and re-enter chroot, commands
will disappear.  I tried many times in my previous rounds.

 
> I think you've gotten confused by which console you are working on.
> Normally the live CD starts several consoles (6?), that are
> accessible
> on Alt+F1 through Alt+F6.  (The Ctrl+Alt combination is only needed
> when switching from X to a console).  So most likely, you were
> working
> on tty1 (Alt+F1).

I'm sure on my previous rounds, [Ctrl+Alt+F4] switching back to the
working console.  Sometimes all work were there.  Another time they
were lost.

I'll try your advice "Alt+F1" next time.  Tks

B.R.
SL
--

-- 
gentoo-user <at> gentoo.org mailing list

Stephen Liu | 1 Sep 06:35 2006
Picon

Re: Gentoo failed to start

Hi Richard and folks,

Further to my late posting, tried again still failed.  Steps performed
as follows;

After activating lv, vg, mounting device, partitions, etc.;

# cd /mnt/gentoo
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# chroot ./ ./bin/bash
All w/o complaint

# env-update
-/bin/bash:env-update:command not found

ignoring the above complaint and continued:
# source /etc/profile
# export PS1="(chroot) $PS1"
both w/o complaint

Edited /etc/fstab as follows;
/dev/hda1  /boot ext2  defaults,noatime  1 2
/dev/hda2  /  ext3  noatime  0 1
/dev/hda3  /  swap  sw  0 0

/dev/vg/usr  /usr  ext3  noatime  0 1
/dev/vg/home  /home  ext3  noatime  0 1
/dev/vg/opt  /opt  ext3  noatime  0 1
/dev/vg/var  /var  ext3  noatime  0 1
/dev/vg/tmp  /tmp  ext3  noatime  0 1

/proc  proc  default  0 0
/dev/shm  tmpfs  nodev,nosuid,noexec  0 0

/dev/cdrom  /mnt/cdrom  auto  noauto,user  0 0
/dev/cdrom1  /mnt/cdwriter  auto  noauto,user  0 0
* end *

Ran
# grep -v rootfs /proc/mounts > /etc/fstab
No complaint

Exited chroot and umounted all devices and partitions.  Rebooted PC.

Still failed, only a black screen with 2 "!" scatering on it.  Neither
"grub>" displayed.

Tks

B.R.
SL
--

-- 
gentoo-user <at> gentoo.org mailing list

Richard Fish | 1 Sep 06:51 2006

Re: Gentoo failed to start

On 8/31/06, Stephen Liu <satimis <at> yahoo.com> wrote:
> Edited /etc/fstab as follows;
> /dev/hda1  /boot ext2  defaults,noatime  1 2

Does this filesystem contain a grub directory with stage2, menu.lst
(or grub.conf), etc?  What does grub/{menu.lst,grub.conf} contain?

> # grep -v rootfs /proc/mounts > /etc/fstab

Um...you mean ">/etc/mtab", right?  Otherwise your fstab is going to
contain things that are not really necessary, like usbfs and sysfs
filesystems....

Anyway, this step is really not even necessary even with mtab, as
Gentoo will fix it when you boot.

> Still failed, only a black screen with 2 "!" scatering on it.  Neither
> "grub>" displayed.

Did you install grub?  If so, did you use grub-install or my previous
instructions?  What output did you get from that?  I guess try
re-installing grub.

-Richard
--

-- 
gentoo-user <at> gentoo.org mailing list

Andrew Gaydenko | 1 Sep 08:40 2006

another upgrading to gcc 4.x issue

During 'emerge -e system' I have got emerge errors for two
packages (sys-libs/db and sys-libs/pam). At both cases an
error is something like this:

...
checking for a BSD-compatible install... /bin/install -c
checking for i686-pc-linux-gnu-cc... i686-pc-linux-gnu-cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
...

All other 120 packages were emerged without problems.
Where to dig in?
--

-- 
gentoo-user <at> gentoo.org mailing list

Stephen Liu | 1 Sep 08:50 2006
Picon

Re: Gentoo failed to start

Hi Richard,

After entering chroot environment re-installed grub;

# cat << EOF | grub
> root (hd0,0)
> setup (hd0)
EOF

Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p
(hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded

Exited chroot and umount everythings.  Rebooted PC.

Grub started but ending at;
root (hd0,0)
Filesystem type is ext2fs  Partition type 0x83
kernel (hd0,0)/boot/kernel-2.6.17-gentoo-r7 root=/dev/hda2
Error 15:File not found.
Press any key to contiue

Restarted PC and entered chroot environment again.  Found
/usr/src/linux file missing.  It should be symbolic-linked to -->
linux-2.6.17-gentoo-r7

Failed to re-run 
# USE="-doc symlink" emerge gentoo-sources
because "emerge" command not found.

Further discovery: new /etc/fstab
tmpfs /newroot tmpfs rw 0 0
/dev/hdd /newroot/mnt/cdrom iso9660 ro 0 0
/dev/loop/0 /newroot/mnt/livecd squashfs ro 0 0
proc /newroot/proc proc rw,nodiratime 0 0
sysfs /newroot/sys sysfs rw 0 0
udev /newroot/dev tmpfs rw,nosuid 0 0
devpts /newroot/dev/pts devpts rw 0 0
cachedir /newroot/mnt/livecd/lib64/splash/cache tmpfs rw 0 0
tmpfs /newroot/mnt/livecd/lib64/splash/tmp tmpfs rw 0 0
tmpfs /newroot/mnt/livecd/lib64/firmware tmpfs rw 0 0
tmpfs /newroot/mnt/livecd/usr/portage tmpfs rw 0 0
usbfs /newroot/proc/bus/usb usbfs rw 0 0
/dev/hda2 / ext3 rw,data=ordered 0 0
/dev/hda1 /boot ext2 rw,nogrpid 0 0
/dev/vg/usr /usr ext3 rw,data=ordered 0 0
/dev/vg/home /home ext3 rw,data=ordered 0 0
/dev/vg/var /var ext3 rw,data=ordered 0 0
/dev/vg/opt /opt ext3 rw,data=ordered 0 0
/dev/vg/tmp /tmp ext3 rw,data=ordered 0 0
none /proc proc rw,nodiratime 0 0
udev /dev tmpfs rw,nosuid 0 0
* end *

Would it be the result of previously running;
# grep -v rootfs /proc/mounts > /etc/fstab

Tks

B.R.
SL

--- Richard Fish <bigfish <at> asmallpond.org> wrote:

> On 8/31/06, Stephen Liu <satimis <at> yahoo.com> wrote:
> > Edited /etc/fstab as follows;
> > /dev/hda1  /boot ext2  defaults,noatime  1 2
> 
> Does this filesystem contain a grub directory with stage2, menu.lst
> (or grub.conf), etc?  What does grub/{menu.lst,grub.conf} contain?
> 
> > # grep -v rootfs /proc/mounts > /etc/fstab
> 
> Um...you mean ">/etc/mtab", right?  Otherwise your fstab is going to
> contain things that are not really necessary, like usbfs and sysfs
> filesystems....
> 
> Anyway, this step is really not even necessary even with mtab, as
> Gentoo will fix it when you boot.
> 
> 
> > Still failed, only a black screen with 2 "!" scatering on it. 
> Neither
> > "grub>" displayed.
> 
> Did you install grub?  If so, did you use grub-install or my previous
> instructions?  What output did you get from that?  I guess try
> re-installing grub.
> 
> -Richard
> -- 
> gentoo-user <at> gentoo.org mailing list
> 
> 

--

-- 
gentoo-user <at> gentoo.org mailing list

David Grant | 1 Sep 08:59 2006
Picon

Deleted /var/lib/portage/config

I accidentally deleted /var/lib (I meant to delete /var/lib/mysql).
The only damage seems to be the deletion of /var/lib/portage/config
and /var/lib/portage/mysql

I'm not worried about world, I can easiliy fix that over time by
running emerge -p --depclean and adding world entries. There are
probably only about 10 packages anyways because this is a mythtv box.

But what is config all about? On my other machine it looks like the
file contains a bunch of hashes for config files in /etc/. Are these
used to quickly see if a file in /etc/ is different or does it just do
a diff?

-- 
David Grant
http://www.davidgrant.ca
--

-- 
gentoo-user <at> gentoo.org mailing list

Mick | 1 Sep 09:01 2006
Picon

Re: OT - WiFi cards for laptop

Anyone?

On Wednesday 30 August 2006 16:11, Mick wrote:
> Hi All,
>
> I am about to splash out on a WiFi card for my laptop and I have foudn the
> whole choice experience daunting.  I would ideally like to be able to also
> use this card on the laptop as a wireless access point when I am at home.
>
> Would something like the belkin device below do the trick:
>
> http://catalog.belkin.com/IWCatProductPage.process?Product_Id=203586
>
> What's your experiences with 802.11g+, turbo, MIMO, N, N+ and who knows
> what other proprietary garbage all these hardware manufacturers are ready
> to launch for their M$windoze users?

--

-- 
Regards,
Mick

Gmane