RE: [Leaf-user] HD Booting with SCSI disk mod loading problem

2001-06-22 Thread Luis.F.Correia

Maybe your problem is as simple as having the relevant scsi module
compiled in the kernel.

This means of course you should recompile the kernel in order to have
the module as part o the kernel.

I recall a similar problem with RedHat that if the module were not in
the initrd archive (similar to our root.lrp), scsi boot was not possible.

Hope this sheds some light to your problem.

p.s. maybe someone on the list could compile a costum kernel for you...

-Original Message-
From: Tony [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 4:13 AM
To: [EMAIL PROTECTED]
Subject: [Leaf-user] HD Booting with SCSI disk mod loading problem


Evenin All,

I have a chicken/egg problem.

I am following the HD install advanced section, and have included the
code into the spot above the boot line option.  I can get the modules
loaded by running the script manually once I am booted into the env.

However, here is the problem.  That script relies on /sbin/insmod being
loaded before it is run (obviously).  Insmod is loaded in the
modules.lrp package, which can't be loaded because the HD isn't mounted
yet because it needs the SCSI modules loaded which can't be loaded
because the package they're in comes later.see the problem I am
having?

Can I move insmod into a different package that gets loaded first?  What
will that break?  Has this been discussed before and I am just dense?  I
assume moving it would include editing the modules.list and the other
package.list file to include the directory in backupsright?

Thanks a bunch,

Tony



___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user

___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] HD Booting with SCSI disk mod loading problem

2001-06-22 Thread Tony

Good Morning,

Na, I have all the modules, just was at a loss how to get /sbin/insmod
to load in root.lrp instead of modules.lrp.  I had no idea that it was
as simple as deleting the lines /sbin/insmod and /sbin/rmmod from
/var/lib/lrpkg/modules.list.  This forces the files to be backed up with
root.lrp hence, loading when I need them to.

Believe me, last night I was thinkingHow the hell did Charles get
his RAID to work? ...he would have faced the same problem I was.  A
little more investigating did the trick.

Charles, you may want to add that advice again about removing the lines
right under the code as well as later in the document.  It was mentioned
almost in passing, kinda like oh by the way, you'll need to do this of
course.  Subtlety goes right over my head, I need the clue bat upside
the head.

Later

Tony



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Luis.F.Correia
 Sent: Friday, June 22, 2001 04:20
 To: '[EMAIL PROTECTED]'
 Subject: RE: [Leaf-user] HD Booting with SCSI disk mod loading problem


 Maybe your problem is as simple as having the relevant scsi module
 compiled in the kernel.

 This means of course you should recompile the kernel in order to have
 the module as part o the kernel.

 I recall a similar problem with RedHat that if the module were not in
 the initrd archive (similar to our root.lrp), scsi boot was
 not possible.

 Hope this sheds some light to your problem.

 p.s. maybe someone on the list could compile a costum kernel
 for you...

 -Original Message-
 From: Tony [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 22, 2001 4:13 AM
 To: [EMAIL PROTECTED]
 Subject: [Leaf-user] HD Booting with SCSI disk mod loading problem


 Evenin All,

 I have a chicken/egg problem.

 I am following the HD install advanced section, and have included the
 code into the spot above the boot line option.  I can get the modules
 loaded by running the script manually once I am booted into the env.

 However, here is the problem.  That script relies on
 /sbin/insmod being
 loaded before it is run (obviously).  Insmod is loaded in the
 modules.lrp package, which can't be loaded because the HD
 isn't mounted
 yet because it needs the SCSI modules loaded which can't be loaded
 because the package they're in comes later.see the problem I am
 having?

 Can I move insmod into a different package that gets loaded
 first?  What
 will that break?  Has this been discussed before and I am
 just dense?  I
 assume moving it would include editing the modules.list and the other
 package.list file to include the directory in backupsright?

 Thanks a bunch,

 Tony



 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/leaf-user

 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/leaf-user



___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] HD Booting with SCSI disk mod loading problem

2001-06-22 Thread Luis.F.Correia

No, I have a bad english :)

What I mean was:

If you compile a NEW kernel with the scsi module as (*) instead of (M),
it is part of the kernel.

That was what I meant with my previous email...

-Original Message-
From: Tony [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 12:52 PM
To: [EMAIL PROTECTED]
Subject: RE: [Leaf-user] HD Booting with SCSI disk mod loading problem


Good Morning,

Na, I have all the modules, just was at a loss how to get /sbin/insmod
to load in root.lrp instead of modules.lrp.  I had no idea that it was
as simple as deleting the lines /sbin/insmod and /sbin/rmmod from
/var/lib/lrpkg/modules.list.  This forces the files to be backed up with
root.lrp hence, loading when I need them to.

Believe me, last night I was thinkingHow the hell did Charles get
his RAID to work? ...he would have faced the same problem I was.  A
little more investigating did the trick.

Charles, you may want to add that advice again about removing the lines
right under the code as well as later in the document.  It was mentioned
almost in passing, kinda like oh by the way, you'll need to do this of
course.  Subtlety goes right over my head, I need the clue bat upside
the head.

Later

Tony



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Luis.F.Correia
 Sent: Friday, June 22, 2001 04:20
 To: '[EMAIL PROTECTED]'
 Subject: RE: [Leaf-user] HD Booting with SCSI disk mod loading problem


 Maybe your problem is as simple as having the relevant scsi module
 compiled in the kernel.

 This means of course you should recompile the kernel in order to have
 the module as part o the kernel.

 I recall a similar problem with RedHat that if the module were not in
 the initrd archive (similar to our root.lrp), scsi boot was
 not possible.

 Hope this sheds some light to your problem.

 p.s. maybe someone on the list could compile a costum kernel
 for you...

 -Original Message-
 From: Tony [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 22, 2001 4:13 AM
 To: [EMAIL PROTECTED]
 Subject: [Leaf-user] HD Booting with SCSI disk mod loading problem


 Evenin All,

 I have a chicken/egg problem.

 I am following the HD install advanced section, and have included the
 code into the spot above the boot line option.  I can get the modules
 loaded by running the script manually once I am booted into the env.

 However, here is the problem.  That script relies on
 /sbin/insmod being
 loaded before it is run (obviously).  Insmod is loaded in the
 modules.lrp package, which can't be loaded because the HD
 isn't mounted
 yet because it needs the SCSI modules loaded which can't be loaded
 because the package they're in comes later.see the problem I am
 having?

 Can I move insmod into a different package that gets loaded
 first?  What
 will that break?  Has this been discussed before and I am
 just dense?  I
 assume moving it would include editing the modules.list and the other
 package.list file to include the directory in backupsright?

 Thanks a bunch,

 Tony



 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/leaf-user

 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/leaf-user



___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user

___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] HD Booting with SCSI disk mod loading problem

2001-06-22 Thread Tony

Ah, I see, in other words, no need to worry about loading modules,
they'd be in the kernel already


See what I mean about being subtle?  Sometimes I can be as thick as a
brick

Thanks Luis,

Tony



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Luis.F.Correia
 Sent: Friday, June 22, 2001 08:41
 To: '[EMAIL PROTECTED]'
 Subject: RE: [Leaf-user] HD Booting with SCSI disk mod loading problem


 No, I have a bad english :)

 What I mean was:

 If you compile a NEW kernel with the scsi module as (*)
 instead of (M),
 it is part of the kernel.

 That was what I meant with my previous email...

 -Original Message-
 From: Tony [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 22, 2001 12:52 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [Leaf-user] HD Booting with SCSI disk mod loading problem


 Good Morning,

 Na, I have all the modules, just was at a loss how to get /sbin/insmod
 to load in root.lrp instead of modules.lrp.  I had no idea that it was
 as simple as deleting the lines /sbin/insmod and /sbin/rmmod from
 /var/lib/lrpkg/modules.list.  This forces the files to be
 backed up with
 root.lrp hence, loading when I need them to.

 Believe me, last night I was thinkingHow the hell did Charles get
 his RAID to work? ...he would have faced the same problem I was.  A
 little more investigating did the trick.

 Charles, you may want to add that advice again about removing
 the lines
 right under the code as well as later in the document.  It
 was mentioned
 almost in passing, kinda like oh by the way, you'll need to do this of
 course.  Subtlety goes right over my head, I need the clue bat upside
 the head.

 Later

 Tony



  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
  Luis.F.Correia
  Sent: Friday, June 22, 2001 04:20
  To: '[EMAIL PROTECTED]'
  Subject: RE: [Leaf-user] HD Booting with SCSI disk mod
 loading problem
 
 
  Maybe your problem is as simple as having the relevant scsi module
  compiled in the kernel.
 
  This means of course you should recompile the kernel in
 order to have
  the module as part o the kernel.
 
  I recall a similar problem with RedHat that if the module
 were not in
  the initrd archive (similar to our root.lrp), scsi boot was
  not possible.
 
  Hope this sheds some light to your problem.
 
  p.s. maybe someone on the list could compile a costum kernel
  for you...
 
  -Original Message-
  From: Tony [mailto:[EMAIL PROTECTED]]
  Sent: Friday, June 22, 2001 4:13 AM
  To: [EMAIL PROTECTED]
  Subject: [Leaf-user] HD Booting with SCSI disk mod loading problem
 
 
  Evenin All,
 
  I have a chicken/egg problem.
 
  I am following the HD install advanced section, and have
 included the
  code into the spot above the boot line option.  I can get
 the modules
  loaded by running the script manually once I am booted into the env.
 
  However, here is the problem.  That script relies on
  /sbin/insmod being
  loaded before it is run (obviously).  Insmod is loaded in the
  modules.lrp package, which can't be loaded because the HD
  isn't mounted
  yet because it needs the SCSI modules loaded which can't be loaded
  because the package they're in comes later.see the problem I am
  having?
 
  Can I move insmod into a different package that gets loaded
  first?  What
  will that break?  Has this been discussed before and I am
  just dense?  I
  assume moving it would include editing the modules.list and
 the other
  package.list file to include the directory in backupsright?
 
  Thanks a bunch,
 
  Tony
 
 
 
  ___
  Leaf-user mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/leaf-user
 
  ___
  Leaf-user mailing list
  [EMAIL PROTECTED]
  http://lists.sourceforge.net/lists/listinfo/leaf-user
 


 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/leaf-user

 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/leaf-user



___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] HD Booting with SCSI disk mod loading problem

2001-06-22 Thread Tony


Speaking of SCSI HD's, does anyone know a way to spin down the drive
after it has served its purpose?  I have seen a couple of old programs
that say they can do this, but they are for the 2.0.x kernel.

I wrote the author of hdpram and asked if his program will spin down a
SCSI drive and he stated no, that it wouldn't work but a small C program
interfacing with the sg.o module could do the trick.

Any ideas?

Thanks

Tony


___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] HD Booting with SCSI disk mod loading problem

2001-06-22 Thread Charles Steinkuehler

 Na, I have all the modules, just was at a loss how to get /sbin/insmod
 to load in root.lrp instead of modules.lrp.  I had no idea that it was
 as simple as deleting the lines /sbin/insmod and /sbin/rmmod from
 /var/lib/lrpkg/modules.list.  This forces the files to be backed up with
 root.lrp hence, loading when I need them to.

 Believe me, last night I was thinkingHow the hell did Charles get
 his RAID to work? ...he would have faced the same problem I was.  A
 little more investigating did the trick.

 Charles, you may want to add that advice again about removing the lines
 right under the code as well as later in the document.  It was mentioned
 almost in passing, kinda like oh by the way, you'll need to do this of
 course.  Subtlety goes right over my head, I need the clue bat upside
 the head.

Thanks for the feedback, and I'll update the HOWTO making the insmod/rmmod
change more prominent.  The mentioned in passing aspect is due to the fact
that I've been running systems set to load modules at boot (and hence
including insmod/rmmod in root.lrp) for ages with my LRP-CD disto...

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] HD Booting with SCSI disk mod loading problem

2001-06-22 Thread Tony

Well Thank you for the immediate response!

Part of the confusion on my part was I never totally understood how the
packages worked.  I knew that some parts belonged to some packages, but
until I had to worry about it.I didn't.  I took it on faith, you
guys [developers] knew what to do, and I wasn't curious.  But, as is
often the case, I need to know how this stuff works inside and out if I
insist on customizing the release for my situation.  It's the best way
to learn I guess.

Thanks again,

Tony

P.S. Does anyone have the hardware tools package (hwtools_0.5-0.2.deb)
from Debian installed?  Could you send me the binaries?  I don't want to
install Debian just to extract a couple of binaries and I can't find out
how the hell you can extract them without dpkg.




 Thanks for the feedback, and I'll update the HOWTO making the
 insmod/rmmod
 change more prominent.  The mentioned in passing aspect is
 due to the fact
 that I've been running systems set to load modules at boot (and hence
 including insmod/rmmod in root.lrp) for ages with my LRP-CD disto...

 Charles Steinkuehler
 http://lrp.steinkuehler.net
 http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/leaf-user



___
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user