Stefan Bruda | 2 Jan 2005 00:34
Picon

MOL and kernel 2.6.10


Hi,  and Happy New Year to everybody.

Is there any known issue with mol under 2.6.10? It would seem that the
headers have changed with the latest kernel in a way that is
incompatible with the mol kernel. More precisely, I get the following
errors at built time:

    + Entering Linux
    In file included from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:18:
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `tophys_mol':
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:61: warning:
implicit declaration of function `virt_to_phys'
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `map_phys_range':
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:68: warning:
implicit declaration of function `phys_to_virt'
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:68: warning:
assignment makes pointer from integer without a cast
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c: In function `get_phys_page':
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:80: warning:
assignment makes pointer from integer without a cast
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c: In function `dbg_get_linux_page':
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:141: warning:
assignment makes pointer from integer without a cast
    In file included from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/kernel_vars.h:34,
                     from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_dev.c:25:
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `tophys_mol':
    /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:61: warning:
implicit declaration of function `virt_to_phys'

(Continue reading)

Stephane Lentz | 2 Jan 2005 00:42
Picon
Favicon

Re: MOL and kernel 2.6.10

On Sat, Jan 01, 2005 at 06:34:42PM -0500, Stefan Bruda wrote:
> 
> Hi,  and Happy New Year to everybody.
> 
> Is there any known issue with mol under 2.6.10? It would seem that the
> headers have changed with the latest kernel in a way that is
> incompatible with the mol kernel. More precisely, I get the following
> errors at built time:
> 
>     + Entering Linux
>     In file included from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:18:
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `tophys_mol':
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:61: warning:
implicit declaration of function `virt_to_phys'
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `map_phys_range':
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:68: warning:
implicit declaration of function `phys_to_virt'
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:68: warning:
assignment makes pointer from integer without a cast
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c: In function `get_phys_page':
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:80: warning:
assignment makes pointer from integer without a cast
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c: In function `dbg_get_linux_page':
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_fault.c:141: warning:
assignment makes pointer from integer without a cast
>     In file included from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/kernel_vars.h:34,
>                      from /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/_dev.c:25:
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h: In function `tophys_mol':
>     /var/tmp/portage/mol-0.9.70/work/mol-0.9.70/src/kmod/Linux/../build/alloc.h:61: warning:
implicit declaration of function `virt_to_phys'
(Continue reading)

Stefan Bruda | 2 Jan 2005 03:23
Picon

Re: MOL and kernel 2.6.10

At 00:42 +0100 on 2005-1-2 Stephane Lentz wrote:
 >
 > Debian bug report and fix :
 > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287267

Gee, thanks, I did look it up but at the time I did it I could only
find the problem and no solution.  The patch fixes indeed things.
Thanks again.

Stefan

--

-- 
``There's no use trying, one can't believe impossible things.''
``I daresay you haven't had much practice.  When I was your age, I
always did it for half an hour a day.  Why, sometimes I believed as
many as six impossible things before breakfast.''
    --Lewis Carroll, Through the Looking-Glass

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

dshuman | 2 Jan 2005 19:55
Favicon

Oldworld PPC install (gentoo newbie)

There are several possible changes to the documentation and kernel noted in the attached document.

Adjustments or changes I have made appear in red.  " ... " indicates laziness in typing where the Gentoo
install text was used verbatim.  {text} is a placeholder for internal values such as IP addresses or
partition names.

The BootX setup appears to need some additional parameters for the intial boot of at least an oldworld
machine (found on the internet).

Inclusion of RTL-8139 ethernet support in the install kernel may also be desirable.  Fortunately I also
have some tulip cards so this could be worked around in my case.

There are some questions concerning use of distcc in the compilation process using three PPC's without
Gentoo installed. If anyone has some input it would be appreciated.

There is also a cloning process for the output of the machine to the others to prevent repeating the process
three times.  Any indications of potential success or suggestions as to the proper cloning process would
be appreciated.

If desired I will continue to update the attached document for reference of others.  Currently the machines
are processing the emerge (4 of 5) sys-devel/gcc-3.4.1.r3 compile which is part of the bootstrap.sh script.

Thanks for your assistance and I hope at least some of this helps others.
Attachment (PPCInst.doc): application/octet-stream, 21 KiB
--
gentoo-ppc-user <at> gentoo.org mailing list
Carl Hudkins | 4 Jan 2005 04:43

Re: Oldworld PPC install (gentoo newbie)

dshuman <at> speakeasy.net wrote:

> There are several possible changes to the documentation and kernel noted
> in the attached document.

 Minus 10 points for attaching a MS Word document, but it seems to open OK
in OpenOffice.  ;)  I'm assuming you were making notes from your Windows
box as the install proceeded.  I do not have access to Word here, so I'm
going to paste any comments I may have back into this reply, for the
benefit of others.

> There are some questions concerning use of distcc in the compilation
> process using three PPC's without Gentoo installed. If anyone has some
> input it would be appreciated.

[The following quotes are excerpts from the Word file Dave attached.]

>  Was the use if {ipaddr3}/2 on the Performa 4400/200 instead of 
>  localhost/2 a mistake?

 No, as I understand it, because you cannot do a netmask on a name.

>  I am seeing considerably less messages all on the Performa 
> 4400/200 {ipaddr3} machine and cannot observe the use of the other 
> boxes at this time (little network activity and no noticable head 
> movement on the drives (by finger touch) ) however the process is 
> reasonably quick.

 I believe there's a text-mode tool called distccmon (try tab-completion on
"distcc") that will show you what distcc is doing at the moment.  I'm not
(Continue reading)

dshuman | 4 Jan 2005 06:06
Favicon

Re: Re: Oldworld PPC install (gentoo newbie)


Thanks for the tips.  

I made some changes in the distcc config and it appears to be working.  (My internet connection died partway
through the bootstrap build.  So I took the opportunity to modify the distcc config.  I am convinced that
distcc is functioning as desired.  Restarting the bootstrap build skipped most of the previously
completed steps and continued to completion -- I am now partway through the emerge system.)

Yes I did base install all three machines up to but not including the bootstrap command.  One of the machines
is a loaner (actually I am setting it up as a firewall for a friend) that will be migrating out of this
environment.  However on the other machines your suggestion for NFS sounds good.  I have some NFS
background too from SuSE so I will be trying that locally.  I also may setup a similar x86 environment in the
future on the same box.  Thanks for the suggestion.

Guilty -- I used Wordpad on Windows to save my notes -- will save it as RTF before sending again.

As to the manual used, I have been following new combined manual.  Should probably look around more for a PPC
specific manual including possibly the hardened manual for more PPC specific help -- thatks for that
suggestion too.

> -----Original Message-----
> From: Carl Hudkins [mailto:carl <at> hudkins.org]
> Sent: Tuesday, January 4, 2005 03:43 AM
> To: gentoo-ppc-user <at> lists.gentoo.org
> Subject: [gentoo-ppc-user] Re: Oldworld PPC install (gentoo newbie)
> 
> dshuman <at> speakeasy.net wrote:
> 
> > There are several possible changes to the documentation and kernel noted
> > in the attached document.
(Continue reading)

David Bélanger | 4 Jan 2005 20:32
Picon
Favicon

Re: Update on filesystem fiasco

On Sat, Dec 25, 2004 at 11:27:01PM -0600, Flaffer wrote:
> An example of one of the msgs from fsck run off of the 2004.3 boot CD:
> 
> File..(inode #84176, mod time Thu Mar  4 17:45:37 2004)
>   has 2 duplicate block(s), shared with 300 file(s).
> 

> It froze the machine. Looks like I need to re-format it. Any hints on
> what impact losing /var would have?
>

Hi,

The portage database of package installed is on /var.  You might want to
check the Gentoo forums for hints on how rebuilding it but I guess it
would be rebuild as packages gets re-installed/updated.

If you have databases/web servers etc., I think some store their data in
/var.

David

---

David Bélanger
Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt

--
gentoo-ppc-user <at> gentoo.org mailing list
(Continue reading)

Flaffer | 4 Jan 2005 20:52
Picon

Re: Update on filesystem fiasco

I figured out the issue. I made the mistake of accidently triggering
devfsd to be loaded by the kernel when compiling which caused devfsd
to be running with the 2.6.9 kernel. This caused massive filesystem
corruptions.

I fixed the issue by recompiling the kernel and following the Handbook
section on udev. I have been going for 2 days without a filesystem
corruption after doing tests that failed every time before: deleteing
massive amounts of files, emerging large pkgs like Xorg, etc.

Thanks for the respone!

Ben Ricker

On Tue, 4 Jan 2005 14:32:29 -0500, David Bélanger <dbelan2 <at> cs.mcgill.ca> wrote:
> On Sat, Dec 25, 2004 at 11:27:01PM -0600, Flaffer wrote:
> > An example of one of the msgs from fsck run off of the 2004.3 boot CD:
> >
> > File..(inode #84176, mod time Thu Mar  4 17:45:37 2004)
> >   has 2 duplicate block(s), shared with 300 file(s).
> >
> 
> > It froze the machine. Looks like I need to re-format it. Any hints on
> > what impact losing /var would have?
> >
> 
> Hi,
> 
> The portage database of package installed is on /var.  You might want to
> check the Gentoo forums for hints on how rebuilding it but I guess it
(Continue reading)

Flaffer | 8 Jan 2005 00:12
Picon

K3b cannot see DVD Burner

I installed K3b and I cannot get it to see my DVD-RW. I know there is
a k3bsetup program, but I cannot find it in gentoo. Anyone get K3b
running without making themselves a superuser?

Ben Ricker

--

-- 
Ben Ricker
He's just this guy, you know?

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

Carl Hudkins | 8 Jan 2005 02:57

Re: K3b cannot see DVD Burner

Flaffer wrote:

> I installed K3b and I cannot get it to see my DVD-RW. I know there is
> a k3bsetup program, but I cannot find it in gentoo. Anyone get K3b
> running without making themselves a superuser?

 with recent kernels >= 2.6.8 (according to k3b web page), cdrecord won't
even *run* if set suid root, so being super-user should definitely not be
needed.  :)  Also, 2.6.8 seems to have some sort of bug that clobbers
dvd+rw-tools (and therefore k3b), so if you're running that kernel you
might need to up-/down-grade.  Check www.k3b.org for details on this.

 As for k3bsetup, I'm pretty sure you can get to it via the Settings menu in
k3b itself.  My PC is down for maintenance right now, but assuming "which
k3bsetup" doesn't find you anything, and since you seem to be saying you
installed it from a separate package, I'd try one of these:

qpkg -l k3b | grep [Ss]etup
equery files k3b | grep [Ss]etup

Good luck!

--

-- 
// Carl Hudkins :: PGP 50238D9E
//
//               ==]  What would Jeeves do?  [==
//

--
gentoo-ppc-user <at> gentoo.org mailing list
(Continue reading)


Gmane