All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] 2.4.6-pa20 question about modules
@ 2001-07-18 16:33 Joël Soete
  2001-07-18 22:29 ` [parisc-linux] " Thomas Marteau
  2001-07-18 23:24 ` [parisc-linux] " Richard Hirst
  0 siblings, 2 replies; 7+ messages in thread
From: Joël Soete @ 2001-07-18 16:33 UTC (permalink / raw)
  To: marteaut; +Cc: parisc-linux

Hi Thomas,

With your tips
(http://lists.parisc-linux.org/pipermail/parisc-linux/2001-July/013081.html)

the cvs 20010717 seems to works fine.
(for b180 still have to unplug re-plug kdb)

I also try to recompile it with the .config file supply with palinux-0.9.2.
It also seems to works well but modules are not install naturally.
Can you explain me how to compile it and install it?

Thanks in advance for help,
     Joel

PS: How is it possible to cvs co a previous kernel release now (f.e.
2.4.0-pa30)?



**********************************************************************
This e-mail and any attachments to it may contain confidential information which is strictly intended for the use of the authorised recipient.  If you have received this e-mail in error, please delete it and notify the sender by replying to this e-mail.
Thank you for your co-operation.
**********************************************************************

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [parisc-linux] Re: 2.4.6-pa20 question about modules
  2001-07-18 16:33 [parisc-linux] 2.4.6-pa20 question about modules Joël Soete
@ 2001-07-18 22:29 ` Thomas Marteau
  2001-07-18 23:24 ` [parisc-linux] " Richard Hirst
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas Marteau @ 2001-07-18 22:29 UTC (permalink / raw)
  To: Joël Soete, parisc-linux

Hi Joël and all,
> 
> With your tips
> (http://lists.parisc-linux.org/pipermail/parisc-linux/2001-July/013081.html)
> 
> the cvs 20010717 seems to works fine.
> (for b180 still have to unplug re-plug kdb)
Nice to know that. But, I think I will deliver a big patch for the
keyboard story. Then, I will need some testers. Thanks to be one of them
:)
> 
> I also try to recompile it with the .config file supply with palinux-0.9.2.
> It also seems to works well but modules are not install naturally.
> Can you explain me how to compile it and install it?
> 
First, you must know that some of the drivers are not modularized yet. I
think that it looks like pc modules. But since I am not a guru in this
stuff, I think someone else will tell you
> Thanks in advance for help,
>      Joel
> 
> PS: How is it possible to cvs co a previous kernel release now (f.e.
> 2.4.0-pa30)?
I would like to know. I think, if you read at Paul Bame litterature, he
said that it is broken for 2.4.0.
I can grab old versions with cvs co -r 1.83 linux, for example.
To know the release you want, use this:
http://puffin.external.hp.com/cgi-bin/cvsview/

Thanks again for reporting, Thomas.
ESIEE Team

PS: I also hope an explanation of modules on hppa. I will have to write
all the cleanup stuff for the mouse.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [parisc-linux] 2.4.6-pa20 question about modules
  2001-07-18 16:33 [parisc-linux] 2.4.6-pa20 question about modules Joël Soete
  2001-07-18 22:29 ` [parisc-linux] " Thomas Marteau
@ 2001-07-18 23:24 ` Richard Hirst
  1 sibling, 0 replies; 7+ messages in thread
From: Richard Hirst @ 2001-07-18 23:24 UTC (permalink / raw)
  To: Joël Soete; +Cc: marteaut, parisc-linux

On Wed, Jul 18, 2001 at 06:33:21PM +0200, Joël Soete wrote:
> Hi Thomas,
> 
> With your tips
> (http://lists.parisc-linux.org/pipermail/parisc-linux/2001-July/013081.html)
> 
> the cvs 20010717 seems to works fine.
> (for b180 still have to unplug re-plug kdb)
> 
> I also try to recompile it with the .config file supply with palinux-0.9.2.
> It also seems to works well but modules are not install naturally.
> Can you explain me how to compile it and install it?

If I understand correctly, you are rebuilding the kernel, and want
kernel modules installed correctly under /lib/modules?


cd /usr/src/linux   (or wherever your source tree is)
# save your .config file, if you want it
make distclean
cp <config file> .config
make oldconfig
make dep
make
make modules
make modules_install
cp vmlinux /boot/vmlinux   (or whereever you want it to go)


Richard

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [parisc-linux] 2.4.6-pa20 question about modules
@ 2001-07-19  8:48 Joël Soete
  0 siblings, 0 replies; 7+ messages in thread
From: Joël Soete @ 2001-07-19  8:48 UTC (permalink / raw)
  To: Richard Hirst <rhirst; +Cc: marteaut, parisc-linux

Hi Richard,

Just to clarify:
does it means that I have to (or I can) recompile my kernel from my
palinux-box?

Is it not possible from i386 linux box and the cross compiler?

Thanks again for support,
     Joel



                                                                           =
                                       =20
                    Richard Hirst                                          =
                                       =20
                    <rhirst@linux        To:     Jo=EBl Soete/BRU/MASTERCAR=
D@MASTERCARD                             =20
                    care.com>            cc:     marteaut@esiee.fr@SMTP@EUR=
OPAY,                                  =20
                                         parisc-linux@lists.parisc-linux.or=
g@SMTP@EUROPAY                         =20
                    19-07-01             Subject:     Re: [parisc-linux] 2.=
4.6-pa20 question about modules        =20
                    01:24 AM                                               =
                                       =20
                                                                           =
                                       =20
                                                                           =
                                       =20



On Wed, Jul 18, 2001 at 06:33:21PM +0200, Jo=EBl Soete wrote:
> Hi Thomas,
>
> With your tips
> (
http://lists.parisc-linux.org/pipermail/parisc-linux/2001-July/013081.html)
>
> the cvs 20010717 seems to works fine.
> (for b180 still have to unplug re-plug kdb)
>
> I also try to recompile it with the .config file supply with
palinux-0.9.2.
> It also seems to works well but modules are not install naturally.
> Can you explain me how to compile it and install it?

If I understand correctly, you are rebuilding the kernel, and want
kernel modules installed correctly under /lib/modules?


cd /usr/src/linux   (or wherever your source tree is)
# save your .config file, if you want it
make distclean
cp <config file> .config
make oldconfig
make dep
make
make modules
make modules_install
cp vmlinux /boot/vmlinux   (or whereever you want it to go)


Richard





**********************************************************************
This e-mail and any attachments to it may contain confidential information =
which is strictly intended for the use of the authorised recipient.  If you=
 have received this e-mail in error, please delete it and notify the sender=
 by replying to this e-mail.
Thank you for your co-operation.
**********************************************************************

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [parisc-linux] 2.4.6-pa20 question about modules
@ 2001-07-19 17:46 Joël Soete
  2001-07-19 18:14 ` Matthew Wilcox
  2001-07-20  5:56 ` Andrew Shugg
  0 siblings, 2 replies; 7+ messages in thread
From: Joël Soete @ 2001-07-19 17:46 UTC (permalink / raw)
  To: Richard Hirst <rhirst; +Cc: marteaut, parisc-linux

Richard,

Just a small tips I use on my i386 linux-box: I launch the make in one line
and tacke a log which I can so analyze later like:

make dep clean bzImage modules modules_install 2>&1 | tee
/var/tmp/kl-200107.log

(presently replace bzImage by vmlinux for parisc on a parisc-box seems to
work)

May be, it should be helpfull :))

Joel

ps: but with parisc-box I met a problem which I do not met with the
xcompiler on i386 linux-box:

dmfe.c: In function `dmfe_timer':
dmfe.c:1193: Unable to find a register to spill in class `FP_REGS'.
dmfe.c:1193: This is the insn:
(insn 255 254 894 (set (reg:DF 22 %r22 [157])
        (float:DF (reg:DI 4 %r4 [158]))) 149 {floatdidf2} (insn_list 254
(nil))
    (expr_list:REG_DEAD (reg:DI 4 %r4 [158])
        (expr_list:REG_EQUAL (unsigned_float:DF (reg:SI 156))
            (nil))))
dmfe.c:1193: confused by earlier errors, bailing out
make[2]: *** [dmfe.o] Error 1
make[2]: Leaving directory
`/usr/src/kernel-source-2.4.6-20010717/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.6-20010717/drivers'
make: *** [_mod_drivers] Error 2

any idea?




                                                                           =
                                       =20
                    Richard Hirst                                          =
                                       =20
                    <rhirst@linux        To:     Jo=EBl Soete/BRU/MASTERCAR=
D@MASTERCARD                             =20
                    care.com>            cc:     marteaut@esiee.fr@SMTP@EUR=
OPAY,                                  =20
                                         parisc-linux@lists.parisc-linux.or=
g@SMTP@EUROPAY                         =20
                    19-07-01             Subject:     Re: [parisc-linux] 2.=
4.6-pa20 question about modules        =20
                    01:24 AM                                               =
                                       =20
                                                                           =
                                       =20
                                                                           =
                                       =20



On Wed, Jul 18, 2001 at 06:33:21PM +0200, Jo=EBl Soete wrote:
> Hi Thomas,
>
> With your tips
> (
http://lists.parisc-linux.org/pipermail/parisc-linux/2001-July/013081.html)
>
> the cvs 20010717 seems to works fine.
> (for b180 still have to unplug re-plug kdb)
>
> I also try to recompile it with the .config file supply with
palinux-0.9.2.
> It also seems to works well but modules are not install naturally.
> Can you explain me how to compile it and install it?

If I understand correctly, you are rebuilding the kernel, and want
kernel modules installed correctly under /lib/modules?


cd /usr/src/linux   (or wherever your source tree is)
# save your .config file, if you want it
make distclean
cp <config file> .config
make oldconfig
make dep
make
make modules
make modules_install
cp vmlinux /boot/vmlinux   (or whereever you want it to go)


Richard





**********************************************************************
This e-mail and any attachments to it may contain confidential information =
which is strictly intended for the use of the authorised recipient.  If you=
 have received this e-mail in error, please delete it and notify the sender=
 by replying to this e-mail.
Thank you for your co-operation.
**********************************************************************

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [parisc-linux] 2.4.6-pa20 question about modules
  2001-07-19 17:46 Joël Soete
@ 2001-07-19 18:14 ` Matthew Wilcox
  2001-07-20  5:56 ` Andrew Shugg
  1 sibling, 0 replies; 7+ messages in thread
From: Matthew Wilcox @ 2001-07-19 18:14 UTC (permalink / raw)
  To: Joël Soete; +Cc: Richard Hirst <rhirst, marteaut, parisc-linux

On Thu, Jul 19, 2001 at 07:46:09PM +0200, Joël Soete wrote:
> make dep clean bzImage modules modules_install 2>&1 | tee
> /var/tmp/kl-200107.log

don't do this.  make dep creates dependencies which then need to be taken
into account for later steps.  you might rely on make getting this right,
but i don't.

> ps: but with parisc-box I met a problem which I do not met with the
> xcompiler on i386 linux-box:
> 
> dmfe.c: In function `dmfe_timer':
> dmfe.c:1193: Unable to find a register to spill in class `FP_REGS'.

bug in that driver (it has x * 1.5, which uses fp).  fixed in alan's tree,
though i don't believe it's made its way into linus' tree yet.

consider youself lucky you get compile-time errors instead of random
inexplicable fp corruption.

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [parisc-linux] 2.4.6-pa20 question about modules
  2001-07-19 17:46 Joël Soete
  2001-07-19 18:14 ` Matthew Wilcox
@ 2001-07-20  5:56 ` Andrew Shugg
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew Shugg @ 2001-07-20  5:56 UTC (permalink / raw)
  To: parisc-linux

Quoth Joël Soete:
> Just a small tips I use on my i386 linux-box: I launch the make in one line
> and tacke a log which I can so analyze later like:
> 
> make dep clean bzImage modules modules_install 2>&1 | tee /var/tmp/kl-200107.log

Safer to run them separately.  You can still easily log them, there are
many possible ways to do this ...

$ for target in clean dep vmlinuz modules modules_install
> do make $target 2>&1 | tee -a /var/tmp/kl-200107.log
> done

$ (make clean ; make dep ; make vmlinux ; make modules ; make modules_install) 2>&1 | tee -a /var/tmp/kl-200107.log

$ script /var/tmp/kl-200107.log
Script started, output file is /var/tmp/kl-200107.log
$ make clean ; make dep ; make vmlinux ; make modules ; make modules_install ; exit
...
Script done, output file is /var/tmp/kl-200107.log
$


Andrew.

-- 
Andrew Shugg <andrew@neep.com.au>                   http://www.neep.com.au/

"Just remember, Mr Fawlty, there's always someone worse off than yourself."
"Is there?  Well I'd like to meet him.  I could do with a good laugh."

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-07-20  5:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-18 16:33 [parisc-linux] 2.4.6-pa20 question about modules Joël Soete
2001-07-18 22:29 ` [parisc-linux] " Thomas Marteau
2001-07-18 23:24 ` [parisc-linux] " Richard Hirst
  -- strict thread matches above, loose matches on Subject: below --
2001-07-19  8:48 Joël Soete
2001-07-19 17:46 Joël Soete
2001-07-19 18:14 ` Matthew Wilcox
2001-07-20  5:56 ` Andrew Shugg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.